merge trunk
[emacs.git] / lisp / ChangeLog
blob9be6d045de33c523cedaf2aebd3d8f590b58c6cd
1 2010-11-01  Kenichi Handa  <handa@m17n.org>
3         * faces.el (glyphless-char): Inherit underline for tty.
5 2010-10-28  Kenichi Handa  <handa@m17n.org>
7         Implement various display methods for glyphless characters.
9         * international/characters.el (char-acronym-table): New variable.
10         (glyphless-char-control): New variable.
11         (update-glyphless-char-display): New funciton.
13         * faces.el (glyphless-char): New face.
15 2010-11-01  Glenn Morris  <rgm@gnu.org>
17         * emacs-lisp/smie.el (smie): New custom group.
18         (smie-blink-matching-inners, smie-indent-basic): Add :group.
20         * faces.el (xw-defined-colors, x-setup-function-keys):
21         * mouse-sel.el (x-select-text):
22         * term/w32console.el (x-setup-function-keys): Update declarations.
24         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
26         * textmodes/ispell.el (comment-add): Declare.
28         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
29         Declare.
31         * info.el (finder-keywords-hash, package-alist): Declare.
33 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
35         * finder.el (finder-compile-keywords): Don't use intern-soft,
36         since package names may not yet exist in the obarray.
38 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
40         * vc/vc-arch.el (vc-arch-checkin):
41         * vc/vc-cvs.el (vc-cvs-checkin):
42         * vc/vc-mtn.el (vc-mtn-checkin):
43         * vc/vc-rcs.el (vc-rcs-checkin):
44         * vc/vc-sccs.el (vc-sccs-checkin):
45         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
46         since 2010-04-21 commit by Stefan Monnier.
48 2010-11-01  Glenn Morris  <rgm@gnu.org>
50         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
52         * startup.el (package-enable-at-startup, package-initialize):
53         Silence compiler.
55         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
56         Silence compiler.
58 2010-10-31  Julien Danjou  <julien@danjou.info>
60         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
61         (byte-recompile-directory):
62         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
63         Use `byte-recompile-file'.
65 2010-10-31  Glenn Morris  <rgm@gnu.org>
67         * cus-start.el: Handle standard values via a keyword.
68         Only set version property if specified.
69         (cursor-in-non-selected-windows, menu-bar-mode)
70         (tool-bar-mode, show-trailing-whitespace):
71         Do not specify standard values.
72         (transient-mark-mode, temporary-file-directory): Use :standard.
74 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
76         * term/x-win.el (x-get-selection-value): New function that gets
77         PRIMARY with type as specified in x-select-request-type. (Bug#6802).
79 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
81         * net/tramp.el (tramp-handle-insert-file-contents): For root,
82         preserve owner and group when editing files.  (Bug#7289)
84 2010-10-31  Glenn Morris  <rgm@gnu.org>
86         * speedbar.el (speedbar-mode):
87         * play/fortune.el (fortune-in-buffer, fortune):
88         * play/gomoku.el (gomoku-mode):
89         * play/landmark.el (lm-mode):
90         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
91         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
93         * select.el (x-selection): Mark it as an obsolete alias.
95 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
97         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
98         major-mode (bug#7284).
100 2010-10-31  Glenn Morris  <rgm@gnu.org>
102         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
103         rather than just an unused variable that inherits from the real one.
105 2010-10-31  Alan Mackenzie  <acm@muc.de>
107         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
108         This fixes bug #7185.
110 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
112         * startup.el (command-line): Search for package directories, and
113         don't load package.el if none are found.
115         * emacs-lisp/package.el (describe-package, list-packages): Call
116         package-initialize if it has not been called yet.
118 2010-10-30  Alan Mackenzie  <acm@muc.de>
120         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
121         which fontifies the tail of an enum.
122         (c-basic-matchers-after): Insert a call to the above new function.
123         This fixes bug #7264.
125 2010-10-30  Glenn Morris  <rgm@gnu.org>
127         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
128         tool-bar-mode, transient-mark-mode.  (Bug#7306)
129         Include the :set property in the dumped Emacs.
131 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
133         SMIE: change indent rules format, improve smie-setup.
134         * emacs-lisp/smie.el (smie-precs-precedence-table)
135         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
136         Mark them pure so the tables gets built at compile time.
137         (smie-bnf-precedence-table): Store the closer-alist in the table.
138         (smie-prec2-levels): Preserve the closer-alist.
139         (smie-blink-matching-open): Be more forgiving in case of indentation.
140         (smie-hanging-p): Rename from smie-indent--hanging-p.
141         (smie-bolp): Rename from smie-indent--bolp.
142         (smie--parent, smie--after): New dynamic vars.
143         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
144         (smie-indent-rules): Remove.
145         (smie-indent--offset-rule): Remove fun.
146         (smie-rules-function): New var.
147         (smie-indent--rule): New fun.
148         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
149         (smie-indent-exps): Use it.
150         (smie-setup): Setup paren blinking; add keyword args for token
151         functions; extract closer-alist from op-levels.
152         (smie-indent-debug-log): Remove var.
153         (smie-indent-debug): Remove fun.
154         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
155         (prolog-smie-rules): New fun to replace it.
156         (prolog-mode-variables): Simplify.
157         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
158         it's setup automatically.
159         (octave-smie-indent-rules): Remove.
160         (octave-smie-rules): New fun to replace it.
161         (octave-mode): Simplify.
163 2010-10-29  Glenn Morris  <rgm@gnu.org>
165         * files.el (temporary-file-directory): Remove (already defined in C).
166         * cus-start.el: Add temporary-file-directory.
168         * abbrev.el (abbrev-mode):
169         * composite.el (auto-composition-mode):
170         * menu-bar.el (menu-bar-mode):
171         * simple.el (transient-mark-mode):
172         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
173         that they do not define the associated variables twice.
174         * simple.el (transient-mark-mode): Remove defvar.
175         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
176         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
177         Handle multiple groups, and also custom-delayed-init-variables.
178         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
180 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
182         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
183         (pcase-if): Add one minor optimization.
184         (pcase-split-equal): Rename from pcase-split-eq.
185         (pcase-split-member): Rename from pcase-split-memq.
186         (pcase-u1): Add strings to the member optimization.
187         Add `guard' variant of predicates.
188         (pcase-q1): Add string patterns.
190 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
192         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
194 2010-10-28  Glenn Morris  <rgm@gnu.org>
196         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
197         Move menu-bar related settings to ../menu-bar.el.
198         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
199         Move ns-specific settings here from term/ns-win.el.
201         * simple.el (x-selection-owner-p): Remove unused declaration.
203 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
205         * minibuffer.el (completion-cycling): New var (bug#7266).
206         (minibuffer-complete, completion--do-completion):
207         Use completion--flush-all-sorted-completions.
208         (minibuffer-complete): Only cycle if completion-cycling is set.
209         (completion--flush-all-sorted-completions): Unset completion-cycling.
210         (minibuffer-force-complete): Set completion-cycling.
211         (completion-all-sorted-completions): Move declaration before first use.
213 2010-10-28  Leo  <sdl.web@gmail.com>
215         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
216         which changes the order of matches seen by users (bug#7231).
218 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
220         * progmodes/compile.el (compilation-mode-font-lock-keywords):
221         Don't confuse -omega as "-o mega".
223 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
225         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
226         (log-edit-author): New dynamic var.
227         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
228         to return the author if different from committer.
229         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
231         * play/landmark.el: Adjust commenting convention.
232         (lm-nil-score): Rename from nil-score.
233         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
234         (OOOOscore): Move into a let in lm-score-trans-table.
235         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
237         * electric.el (electric-indent-chars): Autoload.
238         * progmodes/octave-mod.el (octave-mode):
239         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
240         (ruby-mode-abbrev-table): Merge initialization and declaration.
242 2010-10-27  Glenn Morris  <rgm@gnu.org>
244         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
245         variable.
247         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
249         * term/ns-win.el: Restore require of cl when compiling.
250         (menu-bar-final-items): Remove non-existent `windows' menu.
251         (ns-handle-nxopen): Optionally handle the temp-case.
252         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
253         (ns-insert-file, ns-find-file): Use `pop'.
255 2010-10-26  Glenn Morris  <rgm@gnu.org>
257         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
259 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
261         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
262         global map.
263         * term/common-win.el (x-setup-function-keys): Remove most of the
264         keymappings.  Comment on the remaining ones.
266 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
268         * server.el (server-port): New option.  (Bug#854)
269         (server-start): Use server-port.
271 2010-10-26  Glenn Morris  <rgm@gnu.org>
273         * term/ns-win.el (ns-version-string): Remove unused declaration.
274         (ns-invocation-args): Change to x-invocation-args.
275         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
276         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
277         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
278         Use x-invocation-args instead of ns-invocation-args.
279         (ns-initialize-window-system, handle-args-function-alist):
280         Use x-handle-args instead of ns-handle-args.
281         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
282         * startup.el (command-line-ns-option-alist): Replace
283         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
284         ns-handle-iconic with the x- equivalents.
286         * term/common-win.el (x-select-enable-clipboard):
287         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
289         * term/ns-win.el: No need to require cl when compiling.
290         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
291         (xw-defined-colors): Use the common-win definitions.
292         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
293         (ns-handle-iconic): Make it an alias for x-handle-iconic.
294         * term/common-win.el (x-select-text, x-alternatives-map)
295         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
296         * loadup.el [ns]: Load common-win.
298 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
300         * epa-mail.el (epa-mail-encrypt): Handle local-part only
301         recipients; expand mail aliases (Bug#7280).
303 2010-10-25  Glenn Morris  <rgm@gnu.org>
305         * term/common-win.el (x-handle-switch): Simplify with pop.
306         Optionally handle numeric switches.
307         (x-handle-numeric-switch): Just call x-handle-switch.
308         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
309         (x-handle-name-switch, x-handle-display, x-handle-args):
310         Simplify with pop.
312         * term/ns-win.el: Do not require easymenu.
313         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
314         <spell>: Move adjustments to menu-bar.el.
315         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
316         <separator-undo, spell>: Move ns-win's adjustments here.
317         * loadup.el [ns]: Do not load easymenu.
319 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
321         * image.el (image-checkbox-checked, image-checkbox-unchecked):
322         Delete (Bug#7222).
324         * startup.el (fancy-startup-tail): Instead of using inline images,
325         refer to image files from etc/.
327         * wid-edit.el (checkbox): Likewise.
328         (widget-image-find): Center image specs.
330 2010-10-24  Glenn Morris  <rgm@gnu.org>
332         * term/ns-win.el (x-select-text): Doc fix.
333         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
334         (x-select-text): Move to term/common-win.
335         * term/w32-win.el (xw-defined-colors): Move to common-win.
336         * term/x-win.el (xw-defined-colors, x-alternatives-map)
337         (x-setup-function-keys, x-select-text): Move to common-win.
338         * term/common-win.el (x-select-text, x-alternatives-map)
339         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
340         definitions here.
342 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
344         * net/mairix.el (mairix-searches-mode-map):
345         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
347 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
349         * verilog-mode.el (verilog-directive-re): Make this variable
350         auto-built for efficiency of execution and updating.
351         (verilog-extended-complete-re): Support 'pure' fucntion & task
352         declarations (these have no bodies).
353         (verilog-beg-of-statement): General cleanup to enable support of
354         'pure' fucntion & task declarations (these have no bodies).
355         These efforts together fix Verilog bug210 from veripool; which was also
356         noticed by Steve Pearlmutter.
357         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
358         (verilog-directive-nest-re, verilog-set-auto-endcomments):
359         Support `elsif.  Reported by Shankar Giri.
360         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
361         attribute handling for lining up declarations and assignments.
362         (verilog-beg-of-statement-1): Fix issue where continued declaration
363         is indented differently if it is after a begin..end clock.
364         (verilog-in-attribute-p, verilog-skip-backward-comments)
365         (verilog-skip-forward-comment-p): Support proper treatment of
366         attributes by indent code. Reported by Jeff Steele.
367         (verilog-in-directive-p): Fix comment to correctly describe function.
368         (verilog-backward-up-list, verilog-in-struct-region-p)
369         (verilog-backward-token, verilog-in-struct-p)
370         (verilog-in-coverage-p, verilog-do-indent)
371         (verilog-pretty-declarations): Use verilog-backward-up-list as
372         wrapper around backward-up-list inorder to properly skip comments.
373         Reported by David Rogoff.
374         (verilog-property-re, verilog-endcomment-reason-re)
375         (verilog-beg-of-statement, verilog-set-auto-endcomments)
376         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
377         of if). Reported by Max Bjurling and
378         (verilog-calc-1): Fix for clocking block in modport
379         declaration. Reported by Brian Hunter.
381 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
383         * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
384         (verilog-gate-keywords, verilog-read-sub-decls)
385         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
386         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
387         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
388         (verilog-read-decls): Fix spaces in V2K module parameters causing
389         mis-identification as interfaces, bug287.
390         (verilog-read-decls): Fix not treating "parameter string" as a
391         parameter in AUTOINSTPARAM.
392         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
393         treating `elsif similar to `endif inside AUTOSENSE.
394         (verilog-do-indent): Implement correct automatic or static task or
395         function end comment highlight. Reported by Steve Pearlmutter.
396         (verilog-font-lock-keywords-2): Fix highlighting of single
397         character pins, bug264.  Reported by Michael Laajanen.
398         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
399         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
400         (verilog-subdecls-get-interfaced, verilog-subdecls-new): Support
401         interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
402         (verilog-pretty-expr): Fix interactive arguments, bug272.
403         Reported by Mark Johnson.
404         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
405         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
406         bug269. Suggested by Gary Delp.
407         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
408         (verilog-preprocessor, verilog-set-compile-command):
409         Create verilog-preprocess and verilog-preprocessor to show
410         preprocessed output.
411         (verilog-get-beg-of-line, verilog-get-end-of-line)
412         (verilog-modi-file-or-buffer, verilog-modi-name)
413         (verilog-modi-point, verilog-within-string): Move defmacro's
414         before first use to avoid warning. Reported by Steve Pearlmutter.
415         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
416         (verilog-colorize-region, verilog-highlight-buffer)
417         (verilog-highlight-includes, verilog-highlight-modules)
418         (verilog-highlight-region, verilog-mode): Rename colorize to
419         highlight to match other packages.  Disable module highlighting,
420         as received speed complaints, reenable for experimentation only
421         using new verilog-highlight-modules.
422         (verilog-read-decls): Fix regexp stack overflow in very large
423         AUTO_TEMPLATEs, bug250.
424         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
425         (verilog-scan): Create verilog-save-buffer-state to standardize
426         making insignificant changes that shouldn't call hooks.
427         (verilog-save-no-change-functions, verilog-save-scan-cache)
428         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
429         Create verilog-save-no-change-functions to wrap verilog-scan
430         preservation, and fix to work with nested preserved calls.
431         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
432         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
433         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
434         (verilog-submit-bug-report): Update variable list to be complete.
435         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
436         breaking on-the-fly font-locking.
437         (verilog-colorize-buffer, verilog-colorize-include-files)
438         (verilog-colorize-include-files-buffer, verilog-colorize-region)
439         (verilog-load-file-at-mouse, verilog-load-file-at-point)
440         (verilog-mode, verilog-read-inst-module-matcher): With point on a
441         AUTOINST cell instance name, middle mouse button now finds-file on
442         it.  Suggested by Brad Dobbie.
443         (verilog-alw-get-temps, verilog-auto-reset)
444         (verilog-auto-sense-sigs, verilog-read-always-signals)
445         (verilog-read-always-signals-recurse): Fix loop indexes being
446         AUTORESET. AUTORESET now assumes any variables in the
447         initialization section of a for() should be ignored.  Reported by
448         Dan Dever.
449         (verilog-error-font-lock-keywords)
450         (verilog-error-regexp-emacs-alist)
451         (verilog-error-regexp-xemacs-alist): Fix error detection of
452         Cadence HAL, reported by David Asher.  Repair drift between the
453         three similar error variables.
454         (verilog-modi-lookup, verilog-modi-lookup-cache)
455         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
456         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
457         Fix slow verilog-auto expansion on very large files.
458         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
459         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
460         "{1*2{...".  Broke in last revision.
461         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
462         submodule connections with replications "{#{a},#{b}}".
464 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
466         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
467         Fix typo in docstring.
469 2010-10-24  Kenichi Handa  <handa@m17n.org>
471         * face-remap.el (text-scale-adjust): Call read-event with a proper
472         prompt.
474 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
476         * emacs-lisp/unsafep.el: Don't mark functions that display
477         messages as safe.  Suggested by Johan Bockgård.
479 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
481         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
482         Turn comments into docstrings.
484         * minibuffer.el (completion--replace): Move point where it belongs
485         when there's a common suffix (bug#7215).
487 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
489         Merge read-color and facemenu-read-color (Bug#7242).
491         * faces.el (read-color): Use the completion code from
492         facemenu-read-color.  Require match in completion.  Doc fix.
494         * facemenu.el (facemenu-read-color): Alias for read-color.
495         (facemenu-set-foreground, facemenu-set-background): Use
496         read-color.
498         * frame.el (set-background-color, set-foreground-color)
499         (set-cursor-color, set-mouse-color, set-border-color): Use
500         read-color.
502 2010-10-24  Leo  <sdl.web@gmail.com>
504         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
505         argument of delete-file and delete-directory (Bug#7011).
507 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
509         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
510         button-buffer-map.
512 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
514         * emacs-lisp/package.el (package--generate-package-list): Make the
515         *Packages* buffer read-only.
517 2010-10-24  Alan Mackenzie  <acm@muc.de>
519         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
520         result of `c-beginning-of-decl-1' between invocations of a lambda
521         function (Bug #7265).
523 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
525         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
526         executable is not available on the system (Bug#7268).
528 2010-10-24  Glenn Morris  <rgm@gnu.org>
530         * select.el (selection-coding-system, next-selection-coding-system):
531         Sync doc with C versions.
533         * w32-vars.el (x-select-enable-clipboard):
534         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
535         * term/common-win.el (x-select-enable-clipboard): Move here.
537         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
538         definition of C variable.
540         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
541         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
542         Don't redefine things that are defined in C.
543         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
544         (show-trailing-whitespace, auto-hscroll-mode)
545         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
546         Set up the appropriate custom properties.
548 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
550         Bind "C-c ]" to ...
551         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
552         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
553         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
554         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
556 2010-10-23  Glenn Morris  <rgm@gnu.org>
558         * textmodes/flyspell.el (flyspell-mode): If there was an error,
559         say what it was.
561         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
562         Sync docs with C version.
564         * term/ns-win.el (xw-defined-colors):
565         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
567         * term/pc-win.el (x-select-enable-clipboard):
568         * term/x-win.el (x-select-enable-clipboard):
569         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
571         * comint.el (comint-password-prompt-regexp): Make it less vague.
572         Bump version.
574         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
576         * help.el (finder-by-keyword): Remove unnecessary autoload.
578 2010-10-22  Glenn Morris  <rgm@gnu.org>
580         * loadup.el: Unconditionally load float-sup.
581         * paren.el (show-paren-delay):
582         * emacs-lisp/float-sup.el:
583         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
584         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
585         (lazy-lock-stealth-verbose): Assume float support.
586         * ps-print.el: Assume float support on Emacs.
587         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
588         Remove non-float branch.
590         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
591         src/Makefile no longer being pre-processed.
593 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
595         * emacs-lisp/find-func.el (find-library): Use test-completion.
597 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
599         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
601 010-10-21  Michael Albinus  <michael.albinus@gmx.de>
603         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
604         space in stat format string.
605         (tramp-send-command): Unset $PS1 when using here documents, in
606         order not to get several prompts.
607         (tramp-get-inline-coding): Return `nil' in case of errors.
609 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
611         * hexl.el (hexl-mode, hexl-mode-exit):
612         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
613         (hexl-revert-buffer-function): New function.
614         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
616 2010-10-19  Alan Mackenzie  <acm@muc.de>
618         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
619         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
620         that these keywords aren't wrongly matched as identifiers.
622         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
623         setting of c-new-BEG and c-new-END from c-before-change to
624         c-after-change.  (Bug#7181)
626 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
628         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
629         Don't mark as safe.
631         * custom.el (custom-theme-set-variables): Likewise.
632         (load-theme): Add custom-theme-set-faces and
633         custom-theme-set-variables to safe-functions while loading.
634         (custom-enabled-themes): Mark as risky.
636 2010-10-18  Julien Danjou  <julien@danjou.info>
638         * bindings.el: Remove end dashes in default mode-line-format.
640 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
642         * bindings.el (global-map): Bind C-d to delete-char and deletechar
643         to delete-forward-char.
645         * simple.el (normal-erase-is-backspace-mode): Remap delete to
646         deletechar, and hence delete-forward-char.
648 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
650         * repeat.el (repeat): Use read-key (bug#6256).
652 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
654         * emacs-lisp/unsafep.el: Don't mark functions that display
655         messages as safe.  Suggested by Johan Bockgård.
657 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
659         * minibuffer.el (completion--replace): Move point where it belongs
660         when there's a common suffix (bug#7215).
662 2010-10-19  Kenichi Handa  <handa@m17n.org>
664         * international/characters.el: Add category '|' (word breakable)
665         to fullwidth characters.
667 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
669         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
670         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
671         order to make stat results a float.  Patch by Andreas Schwab
672         <schwab@linux-m68k.org>.
674 2010-10-18  Julien Danjou  <julien@danjou.info>
676         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
677         hidden by `make-pointer-invisible'.
679 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
681         * files.el (locate-file-completion-table): Strip non-matching elements
682         before checking length of list (bug#7238).
684 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
686         * custom.el (custom-theme-set-variables): Mark as a safe function.
687         (load-theme): Check forms using unsafep.
689         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
691 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
693         * textmodes/ispell.el (ispell-aspell-find-dictionary):
694         Fix aspell data file searching (bug#7230).
696 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
698         * cus-theme.el (custom-theme--migrate-settings): New var.
699         (customize-create-theme): Allow editing the `user' theme.
700         (custom-theme-add-variable, custom-theme-add-var-1)
701         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
702         to the front of each variable or face widget.
703         (custom-theme-write): Save theme settings in the correct order.
704         Optionally, remove saved settings from user customizations.
705         (custom-theme-write-variables, custom-theme-write-faces):
706         Save only the checked widgets.
707         (customize-themes): Add a link for migrating custom settings.
709         * custom.el (custom-declare-theme, provide-theme):
710         Use custom-theme-name-valid-p.
711         (custom-theme-name-valid-p): Remove checks that are now
712         unnecessary since themes no longer obey load-path.
714         * cus-edit.el (custom-variable-value-create): For the simple
715         style, hide documentation string when hidden.
717 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
719         * cus-edit.el (custom-variable, custom-face): Combine the
720         :inhibit-magic and :display-style properties into a single
721         :custom-style property.
722         (custom-toggle-hide-variable, custom-toggle-hide-face):
723         New functions.  If hiding an edited value, save it to :shown-value.
724         (custom-variable-value-create, custom-face-value-create): Use them.
725         (custom-magic-reset): Allow magic property to be unset.
727         * custom.el: Custom themes no longer use load-path.
728         (custom-theme-load-path): New option.  Change built-in theme
729         directory to etc/.
730         (custom-enabled-themes): Add custom-theme-load-path dependency.
731         (custom-theme--load-path): New function.
732         (load-theme, custom-available-themes): Use it.
734         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
735         (customize-themes): Link to custom-theme-load-path variable.
736         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
737         :custom-style property.
739         * themes/*.el: Moved to etc/.
741 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
743         * textmodes/reftex-cite.el
744         (reftex-extract-bib-entries-from-thebibliography): Do not move
745         point when searching for \bibitem entries.  Match entries with
746         spaces or tabs in front of arguments.
748 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
750         * cus-theme.el (customize-create-theme): Delete overlays after
751         erasing.  If given a THEME arg, display only the faces of that arg
752         instead of custom-theme--listed-faces.
753         (custom-theme-variable-menu, custom-theme-variable-action)
754         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
755         (custom-theme-add-variable, custom-theme-add-face): Apply value
756         from the theme settings, instead of the current value.
757         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
758         (custom-theme-visit-theme): Allow calling outside theme buffers.
759         (custom-theme-merge-theme): Don't enable the theme when merging.
760         (custom-theme-write-variables, custom-theme-write-faces): Use the
761         :shown-value properties to save buffer values, not global ones.
762         (customize-themes): Display a warning about user customizations.
764         * cus-edit.el (custom-variable-value-create)
765         (custom-face-value-create): Obey new special properties
766         :shown-value and :inhibit-magic.
768 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
770         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
771         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
772         <dale@codefu.org>.
774 2010-10-14  Kenichi Handa  <handa@m17n.org>
776         * mail/rmail.el (rmail-show-message-1): Catch an error of
777         base64-decode-region and just show an error message (bug#7165).
779         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
780         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
781         a font-spec (bug#7197).
783 2010-10-14  Glenn Morris  <rgm@gnu.org>
785         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
787 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
789         * international/mule.el (define-coding-system):
790         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
791         * composite.el (compose-region): Fix typo in docstring.
793 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
795         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
796         only after checking the theme-face property.
798         * faces.el (face-spec-reset-face): Reset all attributes in one
799         single call to set-face-attribute.
800         (face-spec-match-p): Make it a defsubst.
801         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
802         (x-create-frame-with-faces, tty-create-frame-with-faces)
803         (tty-set-up-initial-frame-faces): Don't recompute face specs in
804         frame-set-background-mode, since they are recomputed immediately
805         afterwards in face-set-after-frame-default.
806         (face-set-after-frame-default): Minor optimization.
807         (cursor): Provide non-trivial defface spec.
809         * custom.el (custom-theme-recalc-face): Simplify.
811 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
813         * calc/calc-alg.el (math-var): Rename from `var'.
814         (math-is-polynomial, math-is-poly-rec): Replace `var'
815         with `math-var'.
817         * calc/calcalg2.el (math-var): Rename from `var'.
818         (calcFunc-table, math-scan-for-limits): Replace `var'
819         with `math-var'.
821 2010-10-13  Glenn Morris  <rgm@gnu.org>
823         * subr.el (last): Deal with dotted lists (reported in bug#7174).
825 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
827         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
829 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
831         * net/tls.el (tls-program): Remove spurious %s from openssl.
832         (tls-starttls-switches): Remove starttls hack.
833         (open-tls-stream): Ditto.
834         (tls-find-starttls-argument): Ditto.
836 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
838         * image.el (image-library-alist): Declare as obsolete alias.
839         (image-type-available-p): Use `dynamic-library-alist'.
841         * term/w32-win.el (dynamic-library-alist):
842         Use instead of `image-library-alist'.
844 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
846         * subr.el (last): Make it faster.  (Bug#7174)
848 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
850         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
852 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
854         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
855         (describe-theme-1): Extract doc from unloaded themes.
857         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
859         * themes/tango-theme.el:
860         * themes/tango-dark-theme.el:
861         * themes/wheatgrass-theme.el: New files.
863 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
865         * cus-theme.el (describe-theme, customize-themes)
866         (custom-theme-save): New commands.
867         (custom-new-theme-mode-map): Bind C-x C-s.
868         (custom-new-theme-mode): Use custom--initialize-widget-variables.
869         (customize-create-theme): New optional arg THEME.
870         (custom-theme-revert): Use it.
871         (custom-theme-visit-theme): Remove dead code.
872         (custom-theme-merge-theme): Use custom-available-themes.
873         (custom-theme-write): Make interactive.
874         (custom-theme-write): Use custom-theme-name-valid-p.
875         (describe-theme-1, custom-theme-choose-revert)
876         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
877         New funs.
878         (custom-theme-allow-multiple-selections): New option.
879         (custom-theme-choose-mode): New major mode.
881         * custom.el (custom-theme-set-variables): Remove dead code.
882         Obey custom--inhibit-theme-enable.
883         (custom--inhibit-theme-enable): New var.
884         (provide-theme): Obey it.
885         (load-theme): Replace load with manual read/eval, in order to
886         check for correctness.  Use custom-theme-name-valid-p.
887         (custom-theme-name-valid-p): New function.
888         (custom-available-themes): Use it.
890         * cus-edit.el (custom--initialize-widget-variables): New function.
891         (Custom-mode): Use it.
893         * cus-face.el (custom-theme-set-faces): Remove dead code.
894         Obey custom--inhibit-theme-enable.
896         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
898 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
900         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
902 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
904         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
905         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
906         (mac-right-option-modifier): New alias for ns-right-option-modifier.
908         * cus-start.el (all): ns-right-alternate-modifier is new.
910 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
912         * emacs-lisp/lisp.el (lisp-completion-at-point):
913         Use emacs-lisp-mode-syntax-table for the whole function.
915 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
917         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
918         instead of font-lock-mode before adding keywords.
919         Remove hi-lock-mode off code.  Remove inhibit hack.
920         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
921         non-nil; removed hook inhibit hack.
923 2010-10-12  Glenn Morris  <rgm@gnu.org>
925         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
926         (load-path-shadows-find): ... to this.
927         (list-load-path-shadows): Update for above change.
929         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
931 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
933         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
934         Fix comment for declare-function.
936 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
938         * custom.el (custom-fix-face-spec): New function; code moved from
939         custom-face-edit-fix-value.
940         (custom-push-theme): Use it when checking if a face has been
941         changed outside customize.
942         (custom-available-themes): New function.
943         (load-theme): Use it.
945         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
947         * custom.el (custom-push-theme): Cleanup (use cond).
948         (disable-theme): Recompute the saved-face property.
949         (custom-theme-recalc-face): Follow face alias before setting prop.
951         * image.el (image-checkbox-checked, image-checkbox-unchecked):
952         New variables, containing checkbox images.
954         * startup.el (fancy-startup-tail):
955         * wid-edit.el (checkbox): Use them.
957 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
959         * shell.el (shell-mode-map):
960         * progmodes/modula2.el (m2-mode-map):
961         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
962         * play/mpuz.el (mpuz-mode-map):
963         * play/landmark.el (lm-mode-map):
964         * play/decipher.el (decipher-mode-map):
965         * play/5x5.el (5x5-mode-map):
966         * net/telnet.el (telnet-mode-map):
967         * net/quickurl.el (quickurl-list-mode-map):
968         * net/mairix.el (mairix-searches-mode-map):
969         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
970         * net/dig.el (dig-mode-map):
971         * mail/mspools.el (mspools-mode-map):
972         * hexl.el (hexl-mode-map):
973         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
974         (wordstar-C-o-map, wordstar-C-q-map):
975         * emacs-lisp/edebug.el (edebug-eval-mode-map):
976         * emacs-lisp/chart.el (chart-map):
977         * edmacro.el (edmacro-mode-map):
978         * erc/erc-list.el (erc-list-menu-mode-map):
979         * array.el (array-mode-map): Declare and define in one step.
981         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
983 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
985         * epa.el (epa-passphrase-callback-function): Display filename
986         passed as the 3rd arg.
987         * epa-file.el (epa-file-passphrase-callback-function):
988         Pass filename to epa-passphrase-callback-function.
990 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
992         * cus-edit.el (custom-face-widget-to-spec)
993         (custom-face-get-current-spec, custom-face-state): New functions.
994         (custom-face-set, custom-face-mark-to-save)
995         (custom-face-value-create, custom-face-state-set): Use them.
997         * cus-theme.el (custom-theme--listed-faces): New var.
998         (customize-create-theme): Use *Custom Theme* as the buffer name.
999         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
1000         faces listed in custom-theme--listed-faces.
1001         (custom-theme-revert): New function.
1002         (custom-theme-add-variable, custom-theme-add-face): Insert at the
1003         bottom of the list.
1004         (custom-theme-write): Prompt for theme name if empty.
1005         (custom-theme-write-variables): Use dolist.
1006         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
1008 2010-10-09  Alan Mackenzie  <acm@muc.de>
1010         Enhance fontification of declarators to take account of the
1011         presence/absence of "typedef".
1013         * cc-engine.el (c-forward-type): New &optional param
1014         "brace-block-too".
1015         (c-forward-decl-or-cast-1): cdr of return value now indicates the
1016         presence of either or both of a "struct"-like keyword and "typedef".
1018         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
1019         fontification of declarators which follow a "}".
1020         (c-font-lock-declarations): Fontify declarators according to the
1021         presence/absence of "typedef".
1023         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
1024         for "typedef".
1025         (c-typedef-decl-key): New lang variable built from
1026         c-typedef-decl-kwds.
1028 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1030         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
1031         since that's too annoying.  Move the filter groups commands to
1032         TAB/backtab.
1034         * epa.el (epa-passphrase-callback-function): Say what we're
1035         querying the password for.
1037         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
1038         behaviour, don't bury the ibuffer buffer when visiting other buffers.
1040 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
1042         * cus-edit.el (custom-commands, custom-buffer-create-internal)
1043         (custom-magic-value-create): Pad button tags with spaces.
1044         (custom-face-edit): New variable.
1045         (custom-face-value-create): Determine whether to use the usual
1046         face editor here, instead of using custom-face-selected.
1047         Pass face defaults to custom-face-edit widget.
1048         (custom-face-selected, custom-display-unselected): Delete widgets.
1049         (custom-display-unselected-match): Function removed.
1050         (custom-face-set, custom-face-mark-to-save):
1051         Accept custom-face-edit widgets as the direct widget child.
1053         * wid-edit.el (widget--completing-widget): New var.
1054         (widget-default-complete): Bind it when doing completion.
1055         (widget-string-complete, widget-file-complete): Use it.
1057 2010-10-09  Glenn Morris  <rgm@gnu.org>
1059         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
1060         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
1061         (holiday-hebrew-misc): Small simplifications.
1063         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
1065         * net/browse-url.el: Don't require thingatpt, term, dired,
1066         executable, or w3-auto when compiling.
1067         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
1068         Declare.
1069         (browse-url-text-emacs): Require term.
1071 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
1073         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
1075 2010-10-08  Glenn Morris  <rgm@gnu.org>
1077         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
1079         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
1080         (shadows-compare-text-p): Make it an obsolete alias for...
1081         (load-path-shadows-compare-text): ... new name.
1082         (find-emacs-lisp-shadows): Update for above name change.
1083         (load-path-shadows-same-file-or-nonexistent): New name for the old
1084         shadow-same-file-or-nonexistent.
1086 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
1088         * minibuffer.el (completion--some, completion--do-completion)
1089         (minibuffer-complete-and-exit, minibuffer-completion-help)
1090         (completion-basic-try-completion)
1091         (completion-basic-all-completions)
1092         (completion-pcm--find-all-completions): Use lexical-let to
1093         avoid some false matches in variable completion (Bug#7056)
1095 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
1097         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
1099 2010-10-08  Leo  <sdl.web@gmail.com>
1101         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
1102         return non-nil if the file exists (Bug#7090).
1104 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1106         * minibuffer.el (completion--replace):
1107         Better preserve markers (bug#7138).
1109 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
1111         * server.el (server-process-filter): Doc fix.
1113 2010-10-08  Drew Adams  <drew.adams@oracle.com>
1115         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
1117 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
1119         * Makefile.in (ELCFILES): Update.
1121 2010-10-08  Glenn Morris  <rgm@gnu.org>
1123         * vc/ediff-wind.el (ediff-setup-control-frame):
1124         * vc/ediff-ptch.el (ediff-default-backup-extension):
1125         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
1126         (ediff-exec-process): Remove system-types emx, windows-95.
1128         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
1130 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
1132         * cus-edit.el (custom-variable, custom-face): Doc fix.
1133         (custom-face-edit): Add value-create attribute.
1134         (custom-face-edit-value-create)
1135         (custom-face-edit-value-visibility-action): New functions.
1136         Hide unused face attributes by default, and add a visibility toggle.
1137         (custom-face-edit-deactivate): Show empty values with shadow face.
1138         (custom-face-selected): Only use this for face specs with default
1139         attributes.
1140         (custom-face-value-create): Cleanup.
1142         * wid-edit.el (widget-checklist-value-create): Use dolist.
1143         (widget-checklist-match-find): Make second arg optional.
1145 2010-10-07  Glenn Morris  <rgm@gnu.org>
1147         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
1148         Prefix things.
1150         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
1151         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
1152         load-path-shadows-mode, update references.
1153         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
1154         Rename variable and button.
1155         (list-load-path-shadows): Update button caller.
1157 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1159         * emacs-lisp/smie.el (smie-bnf-classify): New function.
1160         (smie-bnf-precedence-table): Use it to remember the closers/openers.
1161         (smie-merge-prec2s): Handle those new entries.
1162         (smie-prec2-levels): Only set precedence to nil for actual
1163         openers/closers.
1164         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
1165         that is now unnecessary.
1167 2010-10-07  Miles Bader  <miles@gnu.org>
1169         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
1171 2010-10-07  Glenn Morris  <rgm@gnu.org>
1173         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
1174         (mail-position-on-field): Remove declarations.
1175         (mail-position-on-field): Autoload it.
1176         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
1177         and mail-header-end.  Don't require sendmail.
1179         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
1180         (shadow-mode): New mode.
1181         (shadow-find-file): New button.
1182         (list-load-path-shadows): Use shadow-mode and buttons.
1184         * iimage.el (iimage-version): Remove.
1185         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
1186         Turn into defcustoms.
1187         (iimage-mode-map): Give it a doc string.
1189         * calendar/appt.el (appt-activate): Give a warning rather than an error
1190         if there is no diary-file.
1192 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
1194         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1195         Use `tramp-handle-find-backup-file-name'.
1197 2010-10-06  Glenn Morris  <rgm@gnu.org>
1199         * font-core.el (font-lock-defaults-alist): Remove variable.
1200         (font-lock-mode): Doc fix.
1201         (font-lock-default-function): Do not consult font-lock-defaults-alist.
1202         * font-lock.el (font-lock-refresh-defaults): Doc fix.
1203         (font-lock-set-defaults): Doc fix.
1204         Do not consult font-lock-defaults-alist.
1206         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
1208         * emacs-lisp/cl.el: No longer provide cl-19.
1210 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
1212         * net/tramp.el (tramp-handle-directory-files-and-attributes)
1213         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
1214         New defuns, taken from tramp-smb.el.
1215         (tramp-coding-system-change-eol-conversion)
1216         (tramp-set-process-query-on-exit-flag): Remove.
1218         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
1219         (tramp-compat-coding-system-change-eol-conversion)
1220         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
1221         from tramp.el.
1223         * net/tramp-gvfs.el:
1224         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
1225         by `tramp-compat-set-process-query-on-exit-flag'.
1227         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
1228         Use `tramp-handle-directory-files-and-attributes',
1229         `tramp-handle-file-exists-p' and
1230         `tramp-handle-file-newer-than-file-p'.
1231         (tramp-imap-handle-file-exists-p)
1232         (tramp-imap-handle-file-executable-p)
1233         (tramp-imap-handle-file-readable-p)
1234         (tramp-imap-handle-directory-files-and-attributes)
1235         (tramp-imap-handle-file-newer-than-file-p): Remove.
1237         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
1238         by `tramp-compat-set-process-query-on-exit-flag' and
1239         `tramp-coding-system-change-eol-conversion' by
1240         `tramp-compat-coding-system-change-eol-conversion'.
1242         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1243         Use `tramp-handle-directory-files-and-attributes',
1244         `tramp-handle-file-exists-p' and
1245         `tramp-handle-file-newer-than-file-p'.
1246         (tramp-smb-handle-directory-files-and-attributes)
1247         (tramp-smb-handle-file-exists-p)
1248         (tramp-smb-handle-file-newer-than-file-p): Remove.
1249         (tramp-smb-maybe-open-connection):
1250         Replace `tramp-set-process-query-on-exit-flag' by
1251         `tramp-compat-set-process-query-on-exit-flag'.
1253 2010-10-05  Glenn Morris  <rgm@gnu.org>
1255         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
1257 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
1259         Continue reorganization of load dependencies.  (Bug#7156)
1261         * net/tramp.el (tramp-handle-file-local-copy-hook)
1262         (tramp-delete-temp-file-function): Move down.
1263         (tramp-exists-file-name-handler): Move up.
1264         (tramp-register-file-name-handlers): Simplify autoload.
1265         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
1266         (tramp-handle-directory-files, tramp-handle-dired-uncache)
1267         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
1268         (tramp-handle-file-name-completion)
1269         (tramp-handle-file-name-directory)
1270         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
1271         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
1272         (tramp-handle-find-backup-file-name)
1273         (tramp-handle-insert-file-contents, tramp-handle-load)
1274         (tramp-handle-substitute-in-file-name)
1275         (tramp-handle-unhandled-file-name-directory)
1276         (tramp-mode-string-to-int, tramp-local-host-p)
1277         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
1279         * net/tramp-gvfs.el (top):
1280         * net/tramp-smb.el (top): Do not require 'tramp-sh.
1282         * net/tramp-sh.el (all): Move several objects to tramp.el, see
1283         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
1285 2010-10-04  Glenn Morris  <rgm@gnu.org>
1287         * calendar/appt.el (appt-add): Ensure reminders are enabled.
1288         (appt-activate): Give status messages.
1290 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
1292         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
1293         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
1294         `gnutls-negotiate' (formerly `starttls-negotiate').
1295         Remove trivial wrapper `starttls-open-stream'.
1297 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
1299         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
1300         log-outgoing commands.
1301         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
1302         to create a buffer local revert-buffer-function variable.
1303         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
1304         revert-buffer-function lambda.
1306 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
1308         * net/gnutls.el (starttls-negotiate): Use the plist interface to
1309         `gnutls-boot'.  Make TYPE the only required parameter.
1310         Allow TRUSTFILES and KEYFILES to be lists.
1311         (open-ssl-stream): Use it.
1313 2010-10-03  Glenn Morris  <rgm@gnu.org>
1315         * subr.el (directory-sep-char): Remove obsolete variable.
1316         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
1317         it is "necessary".
1319         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
1320         * vc/vc.el (vc-static-header-alist): Doc fix.
1321         * vc/vc-cvs.el (vc-cvs-header):
1322         * vc/vc-rcs.el (vc-rcs-header):
1323         * vc/vc-sccs.el (vc-sccs-header):
1324         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
1325         * obsolete/vc-mcvs.el (vc-mcvs-header):
1326         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
1327         on XEmacs.
1329 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
1331         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
1332         Remove obsolete use of binary-overwrite-mode (Bug#7001).
1334 2010-10-03  Glenn Morris  <rgm@gnu.org>
1336         * obsolete/x-menu.el: Remove file, obsolete since 21.1
1338         * textmodes/rst.el (rst-font-lock-keywords-function):
1339         Drop Emacs 20 code.
1341         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
1343         * printing.el: Drop Emacs 20 code.
1345         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
1346         without having used appt.el already).
1348         * subr.el (make-local-hook): Remove function obsolete since 21.1.
1349         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
1350         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
1351         XEmacs.
1352         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
1353         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
1355         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
1356         (charset-width, find-charset-region, chars-in-region, forward-point)
1357         (encode-coding-string, coding-system-p, ccl-execute-on-string)
1358         (define-ccl-program, multibyte-string-p, string-make-multibyte):
1359         Remove compatibility cruft (none of these are used by ps*.el).
1361 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
1363         * subr.el (booleanp): Return t instead of a list (Bug#7086).
1365 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
1367         * server.el (server-process-filter, server-return-error):
1368         Give emacsclient time to shut down after receiving an error string.
1370 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
1372         * files.el (remote-file-name-inhibit-cache): New defcustom.
1374         * time.el (display-time-file-nonempty-p):
1375         Use `remote-file-name-inhibit-cache'.
1377         * net/tramp.el (tramp-completion-reread-directory-timeout):
1378         Fix docstring.
1380         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
1381         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
1382         `remote-file-name-inhibit-cache'.  Check also for an integer
1383         value.  Add/increase counter when `tramp-verbose' >= 10.
1384         (tramp-set-file-property): Add/increase counter when
1385         `tramp-verbose' >= 10.
1387         * net/tramp-cmds.el (tramp-cleanup-all-connections)
1388         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
1389         (tramp-bug): Set tramp-autoload cookie.  Report all interned
1390         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
1391         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
1392         characters only in strings.
1394         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
1395         to backward compatibility.
1397         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
1398         (tramp-handle-file-name-all-completions)
1399         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
1400         (tramp-open-connection-setup-interactive-shell):
1401         Call `tramp-cleanup-connection' directly.
1403 2010-10-02  Glenn Morris  <rgm@gnu.org>
1405         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
1407         * subr.el (char-bytes): Remove obsolete function.
1409         * isearch.el (isearch-return-char): Remove obsolete function.
1411         * mouse.el: No longer provide mldrag.
1412         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
1413         Remove obsolete aliases.
1415         * comint.el (comint-kill-output): Remove obsolete alias.
1417         * composite.el (decompose-composite-char): Remove obsolete function.
1418         * ps-def.el (decompose-composite-char): Remove unused function.
1420         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
1422         * outline.el (outline-visible): Remove obsolete function.
1424         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
1425         * faces.el (internal-find-face, internal-get-face)
1426         (frame-update-faces, frame-update-face-colors)
1427         (x-frob-font-weight, x-frob-font-slant)
1428         (internal-frob-font-weight, internal-frob-font-slant)
1429         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
1430         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
1431         (x-make-font-bold-italic): Remove functions and aliases, obsolete
1432         since Emacs 21.1.
1433         * emulation/viper-util.el (viper-get-face):
1434         * obsolete/lucid.el (find-face, get-face): Use facep.
1435         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
1436         Remove unused functions.
1437         * vc/ediff-util.el (ediff-submit-report): Doc fix.
1439         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
1440         delete tempfile if interrupted during compilation.
1442 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1444         * net/tls.el (tls-starttls-switches): Give up on using starttls with
1445         gnutls-cli.
1446         (tls-program): Add --insecure to be consistent with the defaults from
1447         openssl s_client.  Now all three commands are insecure.
1449 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
1451         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
1452         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
1453         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
1455 2010-10-01  Glenn Morris  <rgm@gnu.org>
1457         * obsolete/sc.el: Remove file.
1459         * files.el (temporary-file-directory): On darwin, also try
1460         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
1462 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
1464         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
1465         Let's not break compatibility gratuitously, shall we?
1467 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1469         * net/tls.el (tls-starttls-switches): New variable.
1470         (tls-find-starttls-argument): Use it.
1471         (open-tls-stream): Ditto.
1473         * net/netrc.el (netrc-credentials): Return the value of the "default"
1474         entry.
1475         (netrc-machine): Ditto.
1477 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
1479         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
1481 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
1483         * server.el (server-start): Don't write pid to the authentication file.
1484         (server-create-tty-frame): Don't send pid.
1485         (server-process-filter): Send pid at the start of every connection.
1487 2010-09-30  Glenn Morris  <rgm@gnu.org>
1489         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
1490         (show-all-diary-entries): Remove obsolete function aliases.
1492         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
1493         Remove options, obsolete since 22.1.
1494         (appt-display-format, appt-display-message): Remove
1495         backwards-compatibility code.
1496         (appt-check): No longer check appt-issue-message.
1497         (appt-make-list): No longer autoload it.  Doc fix.  No longer
1498         activate the package.
1500 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1502         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
1503         (starttls-negotiate): Just call boot, and let the handshake be
1504         triggered from the read loop.
1506 2010-09-29  Glenn Morris  <rgm@gnu.org>
1508         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
1509         not displaying the diary.
1510         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
1511         * calendar/appt.el (appt-check): No longer need to kill diary.
1513         * calendar/diary-lib.el (diary-list-entries): Move the
1514         "Preparing..." message entirely here.
1515         (diary-simple-display, diary-fancy-display): Move "Preparing..."
1516         messages to diary-list-entries.
1517         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
1518         diary-display-function.
1520         * calendar/diary-lib.el (diary-include-other-diary-files):
1521         Trap some recursive includes.
1523         * calendar/appt.el (appt-activate): Check diary file.
1525 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
1527         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
1528         construction.
1530         * calendar/time-date.el: No need to require cl for Emacs 21.
1532 2010-09-28  Glenn Morris  <rgm@gnu.org>
1534         * calendar/appt.el (appt-check): Minor simplification.
1536 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
1538         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
1539         citation prefix.
1541 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
1543         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1544         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
1546 2010-09-27  Kenichi Handa  <handa@m17n.org>
1548         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
1549         "ustar" format.
1551 2010-09-27  Kenichi Handa  <handa@m17n.org>
1553         * international/mule.el (define-coding-system): Docstring fixed.
1555         * international/mule-diag.el (describe-character-set): Use princ
1556         with proper print-length and print-level instead of insert.
1558 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
1560         * window.el (walk-windows): Doc fix (bug#7105).
1562 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1564         * emacs-lisp/float-sup.el (e): Remove.
1566 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
1568         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
1569         variable.
1570         (starttls-negotiate): Use it.
1572 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1574         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
1575         back.
1577 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1579         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
1581 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1583         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
1585         * net/netrc.el (netrc-store-data): New function.
1587 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
1589         * net/gnutls.el: GnuTLS glue code to set up a connection.
1591 2010-09-25  Julien Danjou  <julien@danjou.info>
1593         * notifications.el: Call dbus-register-signal only if it is bound.
1595 2010-09-25  Glenn Morris  <rgm@gnu.org>
1597         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1598         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1599         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1600         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1601         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1602         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
1603         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
1604         * eshell/esh-util.el, eshell/esh-var.el:
1605         Remove leading `*' from docs of faces and defcustoms.
1607 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
1609         * eshell/em-ls.el (eshell-ls-archive-regexp):
1610         * eshell/esh-util.el (eshell-tar-regexp):
1611         * ibuffer.el (ibuffer-compressed-file-name-regexp):
1612         * info.el (Info-suffix-list):
1613         * international/mule.el (auto-coding-alist):
1614         * woman.el (woman-file-regexp, woman-file-compression-regexp):
1615         * progmodes/etags.el (tags-compression-info-list):
1616         Support xz compression.
1618 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
1620         * files.el (get-free-disk-space): Don't assume the "df" output
1621         columns line up (Bug#6995).
1623 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
1625         * finder.el (finder-unknown-keywords):
1626         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
1627         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
1629 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
1631         * server.el (server-start): Revert part of 2010-08-08 change.  Using
1632         address 127.0.0.1 for local host is now done in Fmake_network_process.
1634 2010-09-24  Glenn Morris  <rgm@gnu.org>
1636         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
1637         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
1638         * textmodes/css-mode.el, textmodes/dns-mode.el:
1639         Move autoloaded auto-mode-alist entries to files.el.
1640         * files.el (auto-mode-alist): Move entries here.
1642 2010-09-23  Glenn Morris  <rgm@gnu.org>
1644         * isearch.el (isearch-lazy-highlight-cleanup)
1645         (isearch-lazy-highlight-initial-delay)
1646         (isearch-lazy-highlight-interval)
1647         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
1648         * net/net-utils.el (ipconfig-program-options):
1649         Move aliases to options before the associated definitions.
1651 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1653         * newcomment.el (comment-normalize-vars): Better test validity of
1654         comment-end-skip.
1656 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1658         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
1659         (float-e): New name for `e'.
1660         (degrees-to-radians, radians-to-degrees):
1661         * calendar/solar.el (solar-longitude):
1662         * calculator.el (calculator-registers, calculator-funcall):
1663         * textmodes/artist.el (artist-spray-random-points):
1664         * play/bubbles.el (bubbles--initialize-images): Use new names.
1666 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
1668         Update to CEDET 1.0's version of EIEIO.
1670         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
1671         New function.
1672         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
1673         (eieio-default-eval-maybe): Eval val instead of unquoting only.
1674         (class-precedence-list): If class is nil, return nil.
1675         (eieio-generic-call): If class of first input arg is nil, don't
1676         look up static methods, and do check for primary methods.
1677         (initialize-instance): See if the default needs to be evaluated
1678         during the constructor.
1679         (eieio-perform-slot-validation-for-default): Don't do the check
1680         for values that will eventually be evaluated.
1681         (eieio-eval-default-p): New function.
1682         (eieio-default-eval-maybe): Use it.
1684 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
1686         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
1687         method-invocation-order.
1688         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
1689         (eieio-class-precedence-dfs): Compute class precedence list using
1690         dfs algorithm.
1691         (eieio-class-precedence-bfs): Compute class precedence list using
1692         bfs algorithm.
1693         (eieio-class-precedence-c3): Compute class precedence list using
1694         c3 algorithm.
1695         (class-precedence-list): New function.
1696         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
1697         (inconsistent-class-hierarchy): New error symbol.
1698         (call-next-method): Stow the replacement argument list for future
1699         call-next-method invocations.
1701 2010-09-23  Glenn Morris  <rgm@gnu.org>
1703         * calendar/appt.el (appt-check): If not displaying the diary,
1704         use (diary 1) to only get the entries we need.
1705         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
1706         that it is in day order.  (Bug#7019)
1708         * calendar/appt.el (appt-check): Rather than showing the diary,
1709         just turn off invisible display, and only if needed.
1711         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
1713 2010-09-23  Glenn Morris  <rgm@gnu.org>
1715         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1716         (byte-compile-defvar, byte-compile-cl-warn):
1717         Start warnings with lower-case, like the majority.
1719         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
1721         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
1723         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
1724         * files.el (auto-mode-alist): Move ld-script entries here, further down
1725         the list.
1727         * vc/add-log.el: Don't require timezone when compiling.
1728         (timezone-make-date-sortable): Autoload it.
1729         (change-log-sortable-date-at): Don't require timezone.
1730         Use `ignore-errors'.
1732         * comint.el (comint-use-prompt-regexp-instead-of-fields):
1733         Move alias before definition, so it does not need autoloading.
1735         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
1736         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
1737         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
1738         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
1739         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
1740         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
1741         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
1742         * textmodes/tex-mode.el, textmodes/two-column.el:
1743         Remove leading `*' from docs of defcustoms etc.
1745 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
1747         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
1749 2010-09-22  Dan Christensen  <jdc@uwo.ca>
1751         * calendar/time-date.el (date-to-time): Try using parse-time-string
1752         first before using the slower timezone-make-date-arpa-standard.
1754 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
1756         * calendar/time-date.el (format-seconds): Comment fix.
1758 2010-09-22  Glenn Morris  <rgm@gnu.org>
1760         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
1761         is not automatically buffer-local.
1763 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1765         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
1766         (smie-indent-comment): Be more careful with comment-start-skip.
1767         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
1768         (smie-indent-functions): Use them.
1770 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
1772         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
1774 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
1776         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
1777         tool-bar-position.  Don't modify frame parameters here.
1778         (menu-bar-options-save): Add tool-bar-position.
1780         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
1782 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1784         * textmodes/reftex-parse.el (reftex-what-macro)
1785         (reftex-context-substring): Let-bind forward-sexp-function to nil
1786         since we don't need/want to treat \begin...\end as a block (bug#7053).
1788         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
1790         * simple.el (blink-matching-open): Use syntax-class.
1792         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
1793         Set invisibility spec for pascal's outline mode.
1794         (pascal-outline-change): Clean up calling convention.
1795         (pascal-show-all, pascal-hide-other-defuns): Update callers.
1797         * progmodes/prolog.el (prolog-smie-forward-token)
1798         (prolog-smie-backward-token): New functions.
1799         (prolog-mode-variables): Use them to parse "!," correctly.
1800         Set up smie-blink-matching for ".".
1802         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
1803         and `end'.
1804         (ispell-region, ispell-process-line): Update users.
1806         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
1807         point-min==1.
1809         * textmodes/ispell.el: Fix commenting convention.
1810         (ispell-parse-output): Simplify, use push.
1811         (ispell-region): Use match-string-no-properties.
1812         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
1813         (ispell-minor-mode): Use define-minor-mode.
1814         (ispell-message): Remove unused var `skip-regexp'.
1815         (ispell-add-per-file-word-list): Use dynamic let-binding.
1816         Try and use the proper comment marker.
1818         * mail/sendmail.el: Fix commenting convention.
1819         (sendmail-send-it): Use line-beginning-position.
1821         * help-fns.el (describe-variable): Add original value, if applicable.
1823 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
1825         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
1827         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
1829 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1831         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
1832         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
1833         (smie-prec2-levels): Use them to better diagnose precedence cycles.
1834         (smie-blink-matching-check): Don't signal a mismatch if car is t.
1835         (smie-blink-matching-open): Rewrite to remove assumptions, so that
1836         something like "." can also be a closer.
1837         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
1838         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
1839         Rename internal functions to use "--".  Update callers.
1841         * frame.el (make-frame-names-alist): Don't list frames on other displays.
1843         * fringe.el (fringe-styles): New var.
1844         (fringe-mode, fringe-query-style): Use it.
1846 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
1848         * progmodes/sql.el: Version 2.8
1849         (sql-login-params): Update widget structure; changes still needed.
1850         (sql-product-alist): Add :list-all and :list-table features for
1851         SQLite, Postgres and MySQL products.
1852         (sql-redirect): Handle default value.
1853         (sql-execute, sql-execute-feature): New functions.
1854         (sql-read-table-name): New function.
1855         (sql-list-all, sql-list-table): New functions.  User API.
1856         (sql-mode-map, sql-interactive-mode-map): Add key definitions
1857         for above functions.
1858         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
1859         for above functions.
1860         (sql-postgres-login-params): Add user and database defaults.
1861         (sql-buffer-live-p): Bug fix.
1862         (sql-product-history): New variable.
1863         (sql-read-product): New function. Use it.
1864         (sql-set-product, sql-product-interactive): Use it.
1865         (sql-connection-history): New variable.
1866         (sql-read-connection): New function.  Use it.
1867         (sql-connect): New function.
1868         (sql-for-each-login): Redesign function interface.
1869         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
1870         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
1871         (sql-comint): Check for program.  Existing live buffer.
1872         (sql-comint-postgres): Add port parameter.
1874 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1876         * emacs-lisp/warnings.el: Fix commenting convention.
1877         (display-warning): Use special mode and make the buffer read-only.
1879 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
1881         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
1882         empty string when it follows a repeated or optional pattern.
1884 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1886         * indent.el (indent-according-to-mode): Apply syntax-propertize.
1887         (indent-region): Use indent-according-to-mode.
1889 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
1891         * fringe.el (fringe-mode): Doc fix.
1893 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
1895         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
1896         refreshing the preview buffer.
1898 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1900         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
1901         (latex-syntax-propertize-rules): New consts; replace
1902         tex-font-lock-syntactic-keywords.
1903         (tex-env-mark, latex-env-before-change): New functions.
1904         (latex-electric-env-pair-mode): New minor mode.
1905         (tex-font-lock-verb): Change arguments; do move point.
1906         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
1907         representation as a form of comment.
1908         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
1909         (doctex-syntax-propertize-rules): New const; replaces
1910         doctex-font-lock-syntactic-keywords.
1911         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
1913         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
1914         (fortran-make-syntax-propertize-function): New function; replaces
1915         fortran-font-lock-syntactic-keywords.
1916         (fortran-mode): Use it.
1917         (fortran-line-length): Use it.  Improve interactive spec.
1919         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
1920         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
1921         when adding surrounding \(..\).
1923         * progmodes/js.el (js-mode): Fix last change (bug#7054).
1925 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1927         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
1928         Use with-current-buffer.
1930         * isearch.el (isearch-face): Rename from `isearch'.
1931         (isearch-highlight): Use new name.
1933 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
1935         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
1936         5, for `half' width fringes.  (Bug#6933)
1938 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1940         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
1941         (byte-compile-defvar): "foo/bar" does not lack a prefix.
1943         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
1945 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
1947         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
1948         in calculating new frame position.  Add more space between new and
1949         parent on the left (Bug#7048).
1951 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
1953         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
1954         defmacro.
1956 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
1958         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
1960         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
1961         obsolete alias for x-selection-value.
1963         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
1965 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
1967         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
1968         cookie.
1970 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
1972         * net/tramp-compat.el (tramp-compat-with-temp-message)
1973         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
1974         (tramp-compat-process-put): New defuns.
1976         * net/tramp.el (top):
1977         * net/tramp-gvfs.el (top):
1978         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
1980         * net/tramp.el (tramp-progress-reporter-update):
1981         Use `tramp-compat-funcall'.
1983         * net/tramp.el (tramp-process-actions):
1984         * net/tramp-gvfs.el (tramp-handle-vc-registered):
1985         * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
1986         (tramp-get-remote-stat, tramp-get-remote-readlink):
1987         Use `tramp-compat-with-temp-message'.
1989         * net/tramp-sh.el (top): Require 'cl.
1990         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
1991         (tramp-open-connection-setup-interactive-shell):
1992         Use `tramp-compat-process-put'.
1994 2010-09-15  Alan Mackenzie  <acm@muc.de>
1996         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
1997         indentation.
1998         (c-forward-<>-arglist-recur): Fix an infinite recursion.
2000 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2002         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
2003         `lexical' for warnings related to lexical scoping.
2004         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
2005         global vars which don't have a prefix and could hence affect lexical
2006         scoping in unrelated files.
2008 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2010         * net/imap.el: Revert back to version
2011         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
2012         seem problematic.
2014 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
2016         * obsolete/old-whitespace.el (whitespace-unload-function):
2017         Explicitly pass `obarray' to `unintern' to avoid a warning.
2019 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2021         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
2022         Add `when' argument.  Update callers.
2024         * subr.el (unintern): Declare the obarray arg mandatory.
2026 2010-09-14  Glenn Morris  <rgm@gnu.org>
2028         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
2029         Doc fixes.
2031         * calendar/diary-lib.el (diary-included-files): New variable.
2032         (diary-list-entries): Maybe initialize diary-included-files.
2033         (diary-include-other-diary-files): Append to diary-included-files.
2034         * calendar/appt.el (appt-update-list): Also check the members of
2035         diary-included-files.  (Bug#6999)
2036         (appt-check): Doc fix.
2038 2010-09-14  David Reitter  <david.reitter@gmail.com>
2040         * simple.el (line-move-visual): Do not truncate goal column to
2041         integer size.  (Bug#7020)
2043 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2045         * repeat.el (repeat): Allow repeating when the last event is a click.
2046         Suggested by Drew Adams (bug#6256).
2048 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
2050         * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
2051         Replace setting HGRCPATH to "" by some less invasive --config options.
2053 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2055         * font-lock.el (font-lock-beginning-of-syntax-function):
2056         Mark as obsolete.
2058 2010-09-14  Glenn Morris  <rgm@gnu.org>
2060         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
2061         and tool-bar modes.  (Bug#6211)
2062         (menu-bar-mode): Move setting of standard-value after the
2063         minor-mode definition, otherwise it seems to have no effect.
2065 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
2067         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
2068         Fix typo.  (Bug#6976)
2070 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2072         * whitespace.el: Allow cleaning up blanks without blank
2073         visualization (Bug#6651).  Adjust help window for
2074         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
2075         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
2076         (whitespace-style): Add new value 'face.  Adjust docstring.
2077         (whitespace-space, whitespace-hspace, whitespace-tab):
2078         Adjust foreground property face.
2079         (whitespace-line-column): Adjust docstring and type declaration.
2080         (whitespace-style-value-list, whitespace-toggle-option-alist)
2081         (whitespace-help-text): Adjust const initialization.
2082         (whitespace-toggle-options, global-whitespace-toggle-options):
2083         Adjust docstring.
2084         (whitespace-display-window, whitespace-interactive-char)
2085         (whitespace-style-face-p, whitespace-color-on): Adjust code.
2086         (whitespace-help-scroll): New fun.
2088 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
2090         * calendar/time-date.el (format-seconds): Comment fix.
2092 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
2094         * progmodes/sql.el: Version 2.7.
2095         (sql-buffer-live-p): Improve detection.
2096         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
2097         (sql-set-sqli-buffer): Use it.
2098         (sql-product-interactive): Run `sql-set-sqli-hook'.
2099         (sql-rename-buffer): Code cleanup.
2100         (sql-redirect, sql-redirect-value): New functions.  More to come.
2102 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
2104         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.
2105         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
2106         (TRAMP_SRC): New macro.
2107         ($(lisp)/net/tramp-loaddefs.el): New target.
2109 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
2111         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
2113         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
2115         * net/tramp.el (top): Don't show loading message.  Require just
2116         'tramp-compat, everything else is required there.
2117         Use `ignore-errors' where appropriate.
2118         (tramp-inline-compress-start-size, tramp-copy-size-limit)
2119         (tramp-terminal-type, tramp-end-of-output)
2120         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
2121         (tramp-completion-function-alist-ssh)
2122         (tramp-completion-function-alist-telnet)
2123         (tramp-completion-function-alist-su)
2124         (tramp-completion-function-alist-putty, tramp-remote-path)
2125         (tramp-remote-process-environment, tramp-sh-extra-args)
2126         (tramp-actions-before-shell, tramp-uudecode)
2127         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
2128         (tramp-perl-file-attributes)
2129         (tramp-perl-directory-files-and-attributes)
2130         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
2131         (tramp-perl-encode, tramp-perl-decode)
2132         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
2133         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
2134         (tramp-handle-make-symbolic-link, tramp-handle-load)
2135         (tramp-handle-file-name-as-directory)
2136         (tramp-handle-file-name-directory)
2137         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
2138         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
2139         (tramp-do-file-attributes-with-ls)
2140         (tramp-do-file-attributes-with-perl)
2141         (tramp-do-file-attributes-with-stat)
2142         (tramp-handle-set-visited-file-modtime)
2143         (tramp-handle-verify-visited-file-modtime)
2144         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
2145         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
2146         (tramp-handle-file-selinux-context)
2147         (tramp-handle-set-file-selinux-context)
2148         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
2149         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
2150         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
2151         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
2152         (tramp-handle-file-ownership-preserved-p)
2153         (tramp-handle-directory-file-name, tramp-handle-directory-files)
2154         (tramp-handle-directory-files-and-attributes)
2155         (tramp-do-directory-files-and-attributes-with-perl)
2156         (tramp-do-directory-files-and-attributes-with-stat)
2157         (tramp-handle-file-name-all-completions)
2158         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
2159         (tramp-handle-copy-file, tramp-handle-copy-directory)
2160         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
2161         (tramp-do-copy-or-rename-file-via-buffer)
2162         (tramp-do-copy-or-rename-file-directly)
2163         (tramp-do-copy-or-rename-file-out-of-band)
2164         (tramp-handle-make-directory, tramp-handle-delete-directory)
2165         (tramp-handle-delete-file)
2166         (tramp-handle-dired-recursive-delete-directory)
2167         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
2168         (tramp-handle-insert-directory)
2169         (tramp-handle-unhandled-file-name-directory)
2170         (tramp-handle-expand-file-name)
2171         (tramp-handle-substitute-in-file-name)
2172         (tramp-handle-executable-find, tramp-process-sentinel)
2173         (tramp-handle-start-file-process, tramp-handle-process-file)
2174         (tramp-handle-call-process-region, tramp-handle-shell-command)
2175         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
2176         (tramp-handle-insert-file-contents)
2177         (tramp-handle-insert-file-contents-literally)
2178         (tramp-handle-find-backup-file-name)
2179         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
2180         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
2181         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
2182         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
2183         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
2184         (tramp-find-file-exists-command, tramp-open-shell)
2185         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
2186         (tramp-open-connection-setup-interactive-shell)
2187         (tramp-local-coding-commands, tramp-remote-coding-commands)
2188         (tramp-find-inline-encoding, tramp-call-local-coding-command)
2189         (tramp-inline-compress-commands, tramp-find-inline-compress)
2190         (tramp-compute-multi-hops, tramp-maybe-open-connection)
2191         (tramp-send-command, tramp-wait-for-output)
2192         (tramp-send-command-and-check, tramp-barf-unless-okay)
2193         (tramp-send-command-and-read, tramp-mode-string-to-int)
2194         (tramp-convert-file-attributes, tramp-check-cached-permissions)
2195         (tramp-file-mode-from-int, tramp-file-mode-permissions)
2196         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
2197         (tramp-method-out-of-band-p, tramp-local-host-p)
2198         (tramp-get-remote-path, tramp-get-remote-tmpdir)
2199         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
2200         (tramp-get-test-command, tramp-get-test-nt-command)
2201         (tramp-get-file-exists-command, tramp-get-remote-ln)
2202         (tramp-get-remote-perl, tramp-get-remote-stat)
2203         (tramp-get-remote-readlink, tramp-get-remote-trash)
2204         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
2205         (tramp-get-local-uid, tramp-get-local-gid)
2206         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
2207         tramp-sh.el.
2208         (tramp-methods, tramp-default-method-alist)
2209         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
2210         Move initialization to tramp-sh.el.
2211         (tramp-temp-name-prefix): Make it a defconst.
2212         (tramp-dissect-file-name): Don't check anymore for multi-hop
2213         methods.
2214         (tramp-debug-outline-regexp): Add a docstring.
2215         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
2216         (tramp-get-debug-buffer): Use it.
2218         * net/tramp-cache.el (top): Set tramp-autoload cookie for
2219         initialization forms.
2220         (tramp-set-connection-property): Don't protect `tramp-message'
2221         call, it isn't necessary any longer.
2222         (tramp-dump-connection-properties): Use `ignore-errors'.
2224         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
2225         'password-cache and 'auth-source.
2227         * net/tramp-gvfs.el (top):
2228         * net/tramp-smb.el (top): Require 'tramp-sh.
2230         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
2232         * net/tramp-sh.el: New file, derived from tramp.el.
2233         (top): Initialize `tramp-methods', `tramp-default-method-alist',
2234         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
2235         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
2236         Use `ignore-errors' where appropriate.
2237         (tramp-sh-file-name-handler-alist): Rename from
2238         `tramp-file-name-handler-alist'.
2239         (tramp-send-command-and-check): Return t or nil.  Remove all
2240         `zerop' checks, where called.
2241         (tramp-handle-set-file-modes)
2242         (tramp-do-copy-or-rename-file-directly)
2243         (tramp-handle-delete-directory, tramp-handle-delete-file)
2244         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
2245         (tramp-sh-file-name-handler, tramp-send-command-and-check)
2246         (tramp-get-remote-ln): Set tramp-autoload cookie.
2248         * net/tramp-fish.el: Remove file.
2250 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
2252         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
2253         buffer-file-name to avoid file-locking.  (Bug#7026)
2255 2010-09-13  Julien Danjou  <julien@danjou.info>
2257         * notifications.el (notifications-notify): Add support for
2258         image-path and sound-name.
2259         (notifications-specification-version): Add this variable.
2261 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2263         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
2265 2010-09-12  Leo  <sdl.web@gmail.com>
2267         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
2268         (rcirc-completion-start): New variables.
2269         (rcirc-nick-completions): Rename to rcirc-completions.
2270         (rcirc-nick-completion-start-offset): Delete.
2271         (rcirc-completion-at-point): New function for constructing
2272         completion data for both nicks and irc commands.  Add to
2273         completion-at-point-functions in rcirc mode.
2274         (rcirc-complete): Rename from rcirc-nick-complete; use
2275         rcirc-completion-at-point.
2276         (defun-rcirc-command): Update rcirc-client-commands.
2278 2010-09-11  Glenn Morris  <rgm@gnu.org>
2280         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
2281         atomically, to avoid parallel build errors.  (Bug#4196)
2283 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
2285         * progmodes/sql.el: Version 2.6
2286         (sql-dialect): Synonym for "sql-product".
2287         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
2288         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
2289         Set "sql-buffer" to buffer name not buffer object so multiple sql
2290         interactive buffers work properly.  Reverts misguided changes in
2291         earlier work.
2292         (sql-comint): Make sure different buffer name is used if "*SQL*"
2293         buffer is for a different product.
2294         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
2295         login param.
2296         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
2297         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
2298         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
2299         Accept new buffer name or prompt for one.
2300         (sql-port): Default to zero.
2301         (sql-comint-mysql): Handle "sql-port" as a numeric.
2302         (sql-port-history): Delete unused variable.
2303         (sql-get-login): Default "sql-port" to a number.
2304         (sql-product-alist): Correct Postgres prompt and terminator regexp.
2305         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
2306         "sqlite3" executables.
2307         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
2308         (sql-buffer-live-p): New function.
2309         (sql-mode-menu, sql-send-string): Use it.
2310         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
2311         syntax pattern.
2312         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
2313         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
2315 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2317         * net/netrc.el (netrc-credentials): New convenience function.
2319 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2321         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
2322         to replace texinfo-font-lock-syntactic-keywords.
2323         (texinfo-mode): Use it.
2325         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
2326         Use syntax-propertize-function.
2328         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
2329         replace sgml-font-lock-syntactic-keywords.
2330         (sgml-mode): Use it.
2332         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
2333         since we don't use it.
2335         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
2337         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
2338         if available.
2339         (vhdl-fontify-buffer): Adjust.
2341         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
2342         replace tcl-font-lock-syntactic-keywords.
2343         (tcl-mode): Use it.
2345         * progmodes/simula.el (simula-syntax-propertize-function): New var to
2346         replace simula-font-lock-syntactic-keywords.
2347         (simula-mode): Use it.
2349         * progmodes/sh-script.el (sh-st-symbol): Remove.
2350         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
2351         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
2352         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
2353         (sh-font-lock-paren): Set syntax-multiline.
2354         (sh-font-lock-syntactic-keywords): Remove.
2355         (sh-syntax-propertize-function): New function to replace it.
2356         (sh-mode): Use it.
2358         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
2359         Define while compiling.
2360         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2361         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
2362         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
2363         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2364         (ruby-here-doc-end-syntax): Only define when
2365         syntax-propertize is not available.
2366         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
2367         New functions.
2368         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
2369         (electric-indent-chars): Silence bytecompiler.
2370         (ruby-mode): Use prog-mode, syntax-propertize-function, and
2371         electric-indent-chars.
2373         * progmodes/python.el (python-syntax-propertize-function): New var to
2374         replace python-font-lock-syntactic-keywords.
2375         (python-mode): Use it.
2376         (python-quote-syntax): Simplify and adjust to new use.
2378         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
2379         replace perl-font-lock-syntactic-keywords.
2380         (perl-syntax-propertize-special-constructs): New fun to replace
2381         perl-font-lock-special-syntactic-constructs.
2382         (perl-font-lock-syntactic-face-function): New fun.
2383         (perl-mode): Use it.
2385         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
2386         to replace octave-font-lock-close-quotes.
2387         (octave-syntax-propertize-function): New function to replace
2388         octave-font-lock-syntactic-keywords.
2389         (octave-mode): Use it.
2391         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
2392         replaces mixal-font-lock-syntactic-keywords.
2393         (mixal-mode): Use it.
2395         * progmodes/make-mode.el (makefile-syntax-propertize-function):
2396         New var; replaces makefile-font-lock-syntactic-keywords.
2397         (makefile-mode): Use it.
2398         (makefile-imake-mode): Adjust.
2400         * progmodes/js.el (js--regexp-literal): Define while compiling.
2401         (js-syntax-propertize-function): New var; replaces
2402         js-font-lock-syntactic-keywords.
2403         (js-mode): Use it.
2405         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
2406         replaces gdb-script-font-lock-syntactic-keywords.
2407         (gdb-script-mode): Use it.
2409         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
2410         (fortran--font-lock-syntactic-keywords): New var.
2411         (fortran-line-length): Update syntax-propertize-function and
2412         fortran--font-lock-syntactic-keywords.
2414         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
2416         * progmodes/cfengine.el (cfengine-mode):
2417         Use syntax-propertize-function.
2418         (cfengine-font-lock-syntactic-keywords): Remove.
2420         * progmodes/autoconf.el (autoconf-mode):
2421         Use syntax-propertize-function.
2422         (autoconf-font-lock-syntactic-keywords): Remove.
2424         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
2425         (ada-after-change-function, ada-initialize-syntax-table-properties)
2426         (ada-handle-syntax-table-properties): Only define when
2427         syntax-propertize is not available.
2428         (ada-mode): Use syntax-propertize-function.
2430         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
2431         (font-lock-fontify-syntactic-keywords-region): Move handling of
2432         font-lock-syntactically-fontified to...
2433         (font-lock-default-fontify-region): ...here.
2434         Let syntax-propertize-function take precedence.
2435         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
2437         * emacs-lisp/syntax.el (syntax-propertize-function)
2438         (syntax-propertize-chunk-size, syntax-propertize--done)
2439         (syntax-propertize-extend-region-functions): New vars.
2440         (syntax-propertize-wholelines, syntax-propertize-multiline)
2441         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
2442         (syntax-propertize): New functions.
2443         (syntax-propertize-rules): New macro.
2444         (syntax-ppss-flush-cache): Set syntax-propertize--done.
2445         (syntax-ppss): Call syntax-propertize.
2447         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
2449 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
2451         * textmodes/ispell.el (ispell-init-process): Improve comments.
2452         XEmacs compatibility changes regarding (add-hook) 'local option
2453         and (set-process-query-on-exit-flag).
2455 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
2457         * net/tramp-cache.el (tramp-parse-connection-properties):
2458         Set tramp-autoload cookie.
2460 2010-09-09  Glenn Morris  <rgm@gnu.org>
2462         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
2463         (imagemagick-register-types): Doc fix.
2465 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2467         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
2469         * progmodes/js.el (require): Require is already "eval-and-compile".
2470         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
2471         (js--re-search-backward): Use js--re-search-forward.
2473         * progmodes/fortran.el (fortran-line-length): Don't recompute
2474         syntactic keywords redundantly a second time.
2476         * progmodes/ada-mode.el: Replace "(set '" with setq.
2477         (ada-mode): Simplify.
2478         (ada-create-case-exception, ada-adjust-case-interactive)
2479         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
2480         (ada-search-ignore-string-comment, ada-move-to-start)
2481         (ada-move-to-end): Use with-syntax-table.
2483         * font-lock.el (save-buffer-state): Remove `varlist' arg.
2484         (font-lock-unfontify-region, font-lock-default-fontify-region):
2485         Update usage correspondingly.
2486         (font-lock-fontify-syntactic-keywords-region):
2487         Set parse-sexp-lookup-properties buffer-locally here.
2488         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
2490         * simple.el (blink-matching-open): Don't burp if we can't find a match.
2492 2010-09-08  Glenn Morris  <rgm@gnu.org>
2494         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
2495         Error if not compiled with -DBYTE_CODE_METER.
2497         * emacs-lisp/bytecomp.el (byte-recompile-directory):
2498         Ignore dir-locals-file.
2500 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2502         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2503         Not a const.
2504         (compilation-error-regexp-alist-alist): Rule out ": " in file names
2505         for the `gnu' messages.
2506         (compilation-set-skip-threshold): New command.
2507         (compilation-start): Use \' rather than $.
2508         (compilation-forget-errors): Use clrhash.
2510 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
2512         * textmodes/ispell.el (ispell-valid-dictionary-list):
2513         Simplify logic.
2515 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
2517         Migrate to Tramp 2.2.  Rearrange load dependencies.
2518         (Bug#1529, Bug#5448, Bug#5705)
2520         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
2521         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
2522         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
2524         * net/tramp.el (top): Remove all other tramp-* loads except
2525         tramp-compat.el.  Remove all changes to tramp-unload-hook for
2526         other tramp-* packages.  Rearrange defun order.  Change calls of
2527         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
2528         `tramp-compat-octal-to-decimal' to new function names.
2529         (tramp-terminal-type, tramp-initial-end-of-output)
2530         (tramp-methods, tramp-foreign-file-name-handler-alist)
2531         (tramp-tramp-file-p, tramp-completion-mode-p)
2532         (tramp-send-command-and-check, tramp-get-remote-path)
2533         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
2534         (tramp-shell-quote-argument): Set tramp-autoload cookie.
2535         (with-file-property, with-connection-property): Move to
2536         tramp-cache.el.
2537         (tramp-local-call-process, tramp-decimal-to-octal)
2538         (tramp-octal-to-decimal): Move to tramp-compat.el.
2539         (tramp-handle-shell-command): Do not require 'shell.
2540         (tramp-compute-multi-hops): No special handling for tramp-gw-*
2541         symbols.
2542         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
2544         * net/tramp-cache.el (top): Require 'tramp.  Add to
2545         `tramp-unload-hook'.
2546         (tramp-cache-data, tramp-get-file-property)
2547         (tramp-set-file-property, tramp-flush-file-property)
2548         (tramp-flush-directory-property, tramp-get-connection-property)
2549         (tramp-set-connection-property, tramp-flush-connection-property)
2550         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
2551         cookie.
2552         (with-file-property, with-connection-property): New defuns, moved
2553         from tramp.el.
2554         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
2555         macro.
2557         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
2558         (tramp-version): Set tramp-autoload cookie.
2560         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
2561         changes to tramp-unload-hook for other tramp-* packages.  Add to
2562         `tramp-unload-hook'.
2563         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
2564         (tramp-compat-call-process): New defuns, moved from tramp.el.
2566         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
2567         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
2568         to `tramp-unload-hook'.  Change call of
2569         `tramp-compat-decimal-to-octal' to new function name.
2570         (tramp-fish-method): Make it a defconst.
2571         (tramp-fish-file-name-p): Make it a defsubst.
2572         (tramp-fish-method, tramp-fish-file-name-handler)
2573         (tramp-fish-file-name-p): Set tramp-autoload cookie.
2575         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
2576         `tramp-foreign-file-name-handler-alist'.  Add to
2577         `tramp-unload-hook'.
2578         (tramp-ftp-method): Make it a defconst.
2579         (tramp-ftp-file-name-p): Make it a defsubst.
2580         (tramp-ftp-method, tramp-ftp-file-name-handler)
2581         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
2583         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
2584         `tramp-foreign-file-name-handler-alist'.  Add to
2585         `tramp-unload-hook'.  Change checks, whether package can be
2586         loaded.
2587         (tramp-gvfs-file-name-p): Make it a defsubst.
2588         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
2589         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
2590         (tramp-gvfs-handle-file-directory-p): New defun.
2591         (tramp-gvfs-file-name-handler-alist): Use it.
2593         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
2594         `tramp-foreign-file-name-handler-alist'.  Add to
2595         `tramp-unload-hook'.
2596         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
2597         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
2598         defconst.
2599         (tramp-gw-tunnel-method, tramp-gw-socks-method)
2600         (tramp-gw-open-connection): Set tramp-autoload cookie.
2602         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
2603         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
2604         to `tramp-unload-hook'.  Change checks, whether package can be
2605         loaded.
2606         (tramp-imap-file-name-p): Make it a defsubst.
2607         (tramp-imap-method, tramp-imaps-method)
2608         (tramp-imap-file-name-handler)
2609         (tramp-imap-file-name-p): Set tramp-autoload cookie.
2611         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
2612         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
2613         to `tramp-unload-hook'.  Change checks, whether package can be
2614         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
2615         function name.
2616         (tramp-smb-tunnel-method): Make it a defconst.
2617         (tramp-smb-file-name-p): Make it a defsubst.
2618         (tramp-smb-method, tramp-smb-file-name-handler)
2619         (tramp-smb-file-name-p): Set tramp-autoload cookie.
2621         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
2622         (tramp-uuencode-region): Set tramp-autoload cookie.
2624         * net/trampver.el (top) Add to `tramp-unload-hook'.
2625         (tramp-version, tramp-bug-report-address): Set tramp-autoload
2626         cookie.  Update release number.
2628 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
2630         * textmodes/ispell.el (ispell-start-process): Make sure original
2631         arg list is properly initialized (Bug#6993, Bug#6994).
2633 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
2635         * files.el (directory-abbrev-alist): Use \` as default regexp.
2637         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
2638         chars like - or ] (bug#6984).
2639         (rx-any-condense-range): Explode 2-char ranges.
2641 2010-09-06  Glenn Morris  <rgm@gnu.org>
2643         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
2645 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2647         * textmodes/bibtex.el:
2648         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
2650 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2652         * net/imap.el (imap-message-map): Remove optional buffer parameter,
2653         since no callers use it.
2654         (imap-message-get): Ditto.
2655         (imap-message-put): Ditto.
2656         (imap-mailbox-map): Ditto.
2657         (imap-mailbox-put): Ditto.
2658         (imap-mailbox-get): Ditto.
2659         (imap-mailbox-get): Revert last change for this function.
2661 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2663         * net/imap.el (imap-fetch-safe): Remove function, and alter all
2664         callers to use `imap-fetch' instead.  According to the comments, this
2665         should be safe, since all other IMAP clients use the 1:* syntax.
2666         (imap-enable-exchange-bug-workaround): Remove.
2667         (imap-debug): Remove -- doesn't seem very useful.
2669 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2671         * net/imap.el (imap-log): New convenience function used throughout
2672         instead of repeating the same code all over the place.
2674 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
2676         * mouse.el (mouse-save-then-kill): Save region to kill-ring
2677         when mouse-drag-copy-region is non-nil (Bug#6956).
2679 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
2681         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
2682         Improve regexps (Bug#6987).
2683         (dired-sort-toggle): Search more robustly for -t flag.
2685         * files.el (get-free-disk-space): Search more robustly for
2686         "available" column.  Suggested by Ehud Karni
2687         <ehud@unix.mvs.co.il>.
2689 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
2691         * international/uni-bidi.el:
2692         * international/uni-category.el:
2693         * international/uni-combining.el:
2694         * international/uni-decimal.el:
2695         * international/uni-mirrored.el:
2696         * international/uni-name.el: Regenerate.
2698 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2700         * electric.el (electric-indent-post-self-insert-function):
2701         Don't reindent with a sloppy indentation function.
2703         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
2704         border case in change-log-mode.
2706 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
2708         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2709         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
2710         Recognize leading tab in gcc-include regexp.  Ignore names with
2711         leading "from" or "in" in gnu regexp (Bug#6937).
2713 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2715         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
2716         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
2717         (ispell-start-process): Avoid setq and simplify logic.
2718         (ispell-init-process): Setup kill-buffer-hook locally when needed.
2719         (kill-buffer-hook): Don't use it globally with code that uses
2720         expand-file-name since that may call kill-buffer via
2721         code_conversion_restore.
2723 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
2725         * emacs-lisp/package.el (package-directory-list): Only call
2726         file-name-nondirectory on a string.
2728 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
2730         * emacs-lisp/package.el (package--download-one-archive):
2731         Ensure that archive-contents is valid before saving it.
2732         (package-activate-1, package-mark-obsolete, define-package)
2733         (package-compute-transaction, package-list-maybe-add): Use push.
2735 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2737         Use SMIE's blink-paren for octave-mode.
2738         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
2739         Backslashes do not escape single-quotes, single-quotes do.
2740         (octave-block-else-regexp, octave-block-end-regexp)
2741         (octave-block-match-alist): Remove.
2742         (octave-smie-bnf-table): New var, with old content.
2743         (octave-smie-op-levels): Use it.
2744         (octave-smie-closer-alist): New var.
2745         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
2746         (octave-blink-matching-block-open): Remove.
2747         (octave-reindent-then-newline-and-indent, octave-electric-semi)
2748         (octave-electric-space): Let self-insert-command run expand-abbrev and
2749         blink parens.
2751         * electric.el (electricity): New group.
2752         (electric-indent-chars): New var.
2753         (electric-indent-post-self-insert-function): New fun.
2754         (electric-indent-mode): New minor mode.
2755         (electric-pair-skip-self): New custom.
2756         (electric-pair-post-self-insert-function): New function.
2757         (electric-pair-mode): New minor mode.
2759         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
2760         calcAlg-blink-matching-open.
2761         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
2762         (calc-do-alg-entry): Only touch the part of the keymap that varies.
2763         Use the new blink-matching-check-function.
2765         Provide blink-matching support to SMIE.
2766         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
2767         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
2768         (smie-blink-matching-check, smie-blink-matching-open): New functions.
2770         * simple.el (newline): Fix last change to properly remove itself from
2771         the hook.
2773 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2775         * simple.el (newline): Eliminate optimization.
2776         Use post-self-insert-hook to set hard-newline and things before
2777         running post-self-insert-hook.
2778         (blink-matching-check-mismatch): New function.
2779         (blink-matching-check-function): New variable.
2780         (blink-matching-open): Use them.
2781         Skip back forward over prefix chars skipped by forward-sexp.
2782         Don't check if the parens are backslash escaped.
2783         (blink-paren-post-self-insert-function): Check backslash escaping here.
2785 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
2787         * emacs-lisp/package.el (package-menu-mode-map):
2788         Change package-menu-revert bindings to revert-buffer.
2789         (package-menu-mode): Set revert-buffer-function.
2790         (package-menu-revert): Doc fix.
2792 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
2794         * textmodes/ispell.el (ispell-init-process): Use "~/" as
2795         `default-directory' unless using Ispell per-directory personal
2796         dictionaries and not in a mini-buffer under XEmacs.
2797         (kill-buffer-hook): Do not kill ispell process on exit when
2798         `ispell-process-directory' is "~/".  (Bug#6143)
2800 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
2802         * simple.el (kill-new): Call interprogram-cut-function with only
2803         one argument.
2805         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
2806         Remove cut buffer from error message.
2808         * term/x-win.el (x-select-text):
2809         * term/pc-win.el (x-selection-value):
2810         * term/ns-win.el (x-selection-value):
2811         * eshell/em-term.el:
2812         * w32-fns.el (x-get-selection-value):
2813         * mouse-sel.el (mouse-sel-set-selection-function):
2814         * frame.el (display-selections-p): Remove cut-buffer in documentation.
2816         * term/x-win.el: Update documentation for x-last-selected-text-*.
2817         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
2818         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
2819         (x-select-text): Remove argument PUSH, update documentation.  Remove
2820         cut-buffer code.
2821         (x-selection-value-internal): Was previously x-selection-value.
2822         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
2823         Update documentation, remove cut-buffer code.  Call
2824         x-selection-value-internal.
2825         (x-clipboard-yank): Call x-selection-value-internal.
2826         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
2828         * term/pc-win.el (x-last-selected-text):
2829         x-cut-buffer-or-selection-value renamed to x-selection-value
2830         (x-select-text): Remove argument PUSH, update documentation.
2832         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
2833         x-cut-buffer-or-selection-value renamed to x-selection-value
2834         (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
2835         (x-select-text): Remove argument PUSH, update documentation.
2837         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
2839         * w32-fns.el (x-last-selected-text):
2840         x-cut-buffer-or-selection-value renamed to x-selection-value.
2841         (x-cut-buffer-max): Remove.
2842         (x-select-text): Remove argument PUSH, update documentation.
2844         * simple.el (interprogram-cut-function): Remove mention of PUSH.
2846         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
2848         * mouse-sel.el (mouse-sel-get-selection-function):
2849         x-cut-buffer-or-selection-value renamed to x-selection-value.
2850         (x-select-text): Remove optional push.
2852 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2854         * simple.el (blink-paren-function): Move from C to here.
2855         (blink-paren-post-self-insert-function): New function.
2856         (post-self-insert-hook): Use it.
2858         * emacs-lisp/pcase.el (pcase-split-memq):
2859         Fix overenthusiastic optimisation.
2860         (pcase-u1): Handle the case of a lambda pred.
2862 2010-08-31  Kenichi Handa  <handa@m17n.org>
2864         * international/mule-cmds.el (standard-display-european-internal):
2865         Setup standard-display-table for 8-bit characters by storing 8-bit
2866         characters in the element vector.
2868         * disp-table.el (standard-display-8bit):
2869         Setup standard-display-table for 8-bit characters by storing 8-bit
2870         characters in the element vector.
2871         (standard-display-european): Likewise.
2873 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
2875         * textmodes/nroff-mode.el (nroff-view): New command.
2876         (nroff-mode-map): Bind it to C-c C-c.
2878 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2880         * emacs-lisp/smie.el (smie-down-list): New command.
2882         Remove old indentation and navigation code on octave-mode.
2883         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
2884         smie-down-list rather than add a binding for octave-down-block.
2885         (octave-mark-block, octave-blink-matching-block-open):
2886         Rely on forward-sexp-function.
2887         (octave-fill-paragraph): Don't narrow, so you can use
2888         indent-according-to-mode.
2889         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
2890         (octave-in-block-p, octave-re-search-forward-kw)
2891         (octave-re-search-backward-kw, octave-indent-calculate)
2892         (octave-end-as-array-index-p, octave-block-end-offset)
2893         (octave-scan-blocks, octave-forward-block, octave-backward-block)
2894         (octave-down-block, octave-backward-up-block, octave-up-block)
2895         (octave-before-magic-comment-p, octave-indent-line): Remove.
2897 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
2899         * emacs-lisp/package.el (package--read-archive-file): Just use
2900         `read', to avoid copying an additional string.
2901         (package-menu-mode): Set header-line-format here.
2902         (package-menu-refresh, package-menu-revert): Signal an error if
2903         not in the Package Menu.
2904         (package-menu-package-list): New var.
2905         (package--generate-package-list): Operate on the current buffer;
2906         don't assume that it is *Packages*, since the user may rename it.
2907         Allow persistent package listings and sort keys using
2908         package-menu-package-list and package-menu-package-sort-key.
2909         (package-menu--version-predicate): Fix version calculation.
2910         (package-menu-sort-by-column): Don't select the window.
2911         (package--list-packages): Create the *Packages* buffer.
2912         Set package-menu-package-list-key.
2913         (list-packages): Sorting by status is now the default.
2914         (package-buffer-info): Use match-string-no-properties.
2915         (define-package): Add a &rest argument for future proofing, but
2916         don't use it yet.
2917         (package-install-from-buffer, package-install-buffer-internal):
2918         Merge into a single function, package-install-from-buffer.
2919         (package-install-file): Change caller.
2921         * finder.el: Load finder-inf using `require'.
2922         (finder-list-matches): Sorting by status is now the default.
2923         (finder-compile-keywords): Simpify printing.
2925 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2927         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
2928         (octave-mode-map): Remove special bindings for forward/backward-block
2929         and octave-backward-up-block.  Use smie-close-block.
2930         (octave-continuation-marker-regexp): New var.
2931         (octave-continuation-regexp): Use it.
2932         (octave-operator-table, octave-smie-op-levels)
2933         (octave-operator-regexp, octave-smie-indent-rules): New vars.
2934         (octave-smie-backward-token, octave-smie-forward-token): New funs.
2935         (octave-mode): Use SMIE.
2936         (octave-close-block): Delete.
2938 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
2940         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
2941         CLIPBOARD, not in PRIMARY.  (Bug#6944)
2943 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2945         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
2946         a list of parents.
2947         (smie-indent-column): Allow indirection through variables.
2949         * composite.el (save-buffer-state): Delete, unused.
2950         * font-lock.el (save-buffer-state): Use with-silent-modifications.
2951         (font-lock-default-fontify-region): Use with-syntax-table.
2952         * jit-lock.el (with-buffer-unmodified): Remove.
2953         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
2955         Use `declare' in defmacros.
2956         * window.el (save-selected-window):
2957         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
2958         * progmodes/python.el (def-python-skeleton):
2959         * net/dbus.el (dbus-ignore-errors):
2960         * jka-cmpr-hook.el (with-auto-compression-mode):
2961         * international/mule.el (with-category-table):
2962         * emacs-lisp/timer.el (with-timeout):
2963         * emacs-lisp/lisp-mnt.el (lm-with-file):
2964         * emacs-lisp/eieio.el (with-slots):
2965         * emacs-lisp/easymenu.el (easy-menu-define):
2966         * emacs-lisp/debug.el (debugger-env-macro):
2967         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
2968         (Multiple-value-call, Multiple-value-prog1):
2969         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
2970         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
2971         edebug rule to definition.
2972         * emacs-lisp/lisp-mode.el (save-selected-window)
2973         (with-current-buffer, combine-after-change-calls)
2974         (with-output-to-string, with-temp-file, with-temp-buffer)
2975         (with-temp-message, with-syntax-table, read-if, eval-after-load)
2976         (dolist, dotimes, when, unless):
2977         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
2979 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
2981         * finder.el: Require `package'.
2982         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
2983         (finder-package-info): Var deleted.
2984         (finder-keywords-hash, finder--builtins-alist): New vars.
2985         (finder-compile-keywords): Compute package--builtins and
2986         finder-keywords-hash instead of finder-keywords-hash, respecting
2987         the "Package" header.
2988         (finder-unknown-keywords, finder-list-matches):
2989         Use finder-keywords-hash and package--list-packages.
2990         (finder-mode): Don't set font-lock-defaults.
2991         (finder-exit): We don't use "*Finder-package*" and "*Finder
2992         Category*" buffers anymore.
2994         * emacs-lisp/package.el (package--builtins-base): Var deleted.
2995         (package--builtins): Set default value to nil.
2996         (package-initialize): Load precomputed value of package--builtins
2997         from finder-inf.el.
2998         (package-alist, package-compute-transaction)
2999         (package-download-transaction): Improve docstring.
3000         (package-read-all-archive-contents): Do not change
3001         package--builtins here.
3002         (list-packages): Make package-list-packages an alias for this.
3003         Sort by status by default.
3004         (package--list-packages): Add optional PACKAGES arg.
3005         (describe-package-1): Use font-lock-face property.  For built-in
3006         packages, insert file commentary.
3007         (package--generate-package-list): Rename from
3008         package-list-packages-internal; all callers changed.  Add optional
3009         PACKAGES arg.  Add alphabetical sort fallbacks.
3010         (package-menu--version-predicate, package-menu--status-predicate)
3011         (package-menu--description-predicate)
3012         (package-menu--name-predicate): New functions.
3014         * info.el (Info-finder-find-node): Search package-alist instead of
3015         finder-package-info.
3017 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
3019         * subr.el (version-regexp-alist): Don't use "a" and "b" for
3020         "alpha" and "beta".
3021         (version-to-list): Handle versions like "10.3d".
3023 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3025         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
3026         (macroexp-accumulate): Use `declare'.
3028 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3030         * whitespace.el (whitespace-style): Adjust type declaration.
3032 2010-08-26  Magnus Henoch  <magnus.henoch@gmail.com>
3034         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
3035         empty argument to gvfs-copy.
3037 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
3039         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
3040         handle new TRASH arg of `delete-file'.
3042 2010-08-26  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
3044         * net/tramp.el (tramp-handle-insert-directory): Don't use
3045         `forward-word', its default syntax could be changed.
3047 2010-08-26  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
3048             Michael Albinus  <michael.albinus@gmx.de>
3050         Implement compression for inline methods.
3052         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
3053         (tramp-copy-size-limit): Allow also nil.
3054         (tramp-inline-compress-commands): New defconst.
3055         (tramp-find-inline-compress, tramp-get-inline-compress)
3056         (tramp-get-inline-coding): New defuns.
3057         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
3058         replaced by `tramp-get-inline-coding'.
3059         (tramp-handle-file-local-copy, tramp-handle-write-region)
3060         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
3062 2010-08-26  Noah Lavine  <noah549@gmail.com>  (tiny change)
3064         Detect ssh 'ControlMaster' argument automatically in some cases.
3066         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
3067         (tramp-default-method): Use it.
3069 2010-08-26  Karel Klíč  <kklic@redhat.com>
3071         * net/tramp.el (tramp-file-name-for-operation):
3072         Add file-selinux-context.
3074 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
3076         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
3078 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
3080         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
3081         (Bug#6907).
3083 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
3085         * progmodes/js.el: Make indentation more customizable (Bug#6914).
3086         (js-paren-indent-offset, js-square-indent-offset)
3087         (js-curly-indent-offset): New options.
3088         (js--proper-indentation): Use them.
3090 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
3092         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
3093         instead of inspecting font-lock properties (Bug#6916).
3095 2010-08-26  David Reitter  <david.reitter@gmail.com>
3097         * server.el (server-visit-files): Run pre-command-hook and
3098         post-command-hook for each buffer while it is current (Bug#6910).
3099         (server-execute): Do not run hooks here.
3101 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
3103         Sync with Tramp 2.1.19.
3105         * net/tramp-cmds.el (tramp-cleanup-all-connections)
3106         (tramp-reporter-dump-variable, tramp-load-report-modules)
3107         (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
3108         (tramp-bug): Recommend setting of `tramp-verbose' to 9.
3110         * net/tramp-compat.el (top): Do not autoload
3111         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
3112         only when `start-file-process' is not bound.
3113         (byte-compile-not-obsolete-vars): Define if not bound.
3114         (tramp-compat-funcall): New defmacro.
3115         (tramp-compat-line-beginning-position)
3116         (tramp-compat-line-end-position)
3117         (tramp-compat-temporary-file-directory)
3118         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
3119         (tramp-compat-copy-file, tramp-compat-copy-directory)
3120         (tramp-compat-delete-file, tramp-compat-delete-directory)
3121         (tramp-compat-number-sequence, tramp-compat-process-running-p):
3122         Use it.
3123         (tramp-advice-file-expand-wildcards): Do not use
3124         `tramp-handle-file-remote-p'.
3125         (tramp-compat-make-temp-file): Simplify fallback implementation.
3126         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
3127         (tramp-compat-copy-tree): Remove function.
3128         (tramp-compat-delete-file): New defun.
3129         (tramp-compat-delete-directory): Provide implementation for older
3130         Emacsen.
3131         (tramp-compat-file-attributes): Handle only
3132         `wrong-number-of-arguments' error.
3134         * net/tramp-fish.el (tramp-fish-handle-copy-file):
3135         Add PRESERVE_SELINUX_CONTEXT.
3136         (tramp-fish-handle-delete-file): Add TRASH arg.
3137         (tramp-fish-handle-directory-files-and-attributes):
3138         Do not use `tramp-fish-handle-file-attributes.
3139         (tramp-fish-handle-file-local-copy)
3140         (tramp-fish-handle-insert-file-contents)
3141         (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
3143         * net/tramp-gvfs.el (top): Require url-util.
3144         (tramp-gvfs-mount-point): Remove.
3145         (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
3146         and `set-file-selinux-context'.
3147         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
3148         (tramp-gvfs-handle-file-selinux-context)
3149         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
3150         (with-tramp-dbus-call-method): Format trace message.
3151         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
3152         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
3153         Implement backup call, when operation on local files fails.
3154         Use progress reporter.  Flush properties of changed files.
3155         (tramp-gvfs-handle-delete-file): Add TRASH arg.  Use
3156         `tramp-compat-delete-file'.
3157         (tramp-gvfs-handle-expand-file-name): Expand "~/".
3158         (tramp-gvfs-handle-make-directory): Make more traces.
3159         (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
3160         (tramp-gvfs-url-file-name): Hexify file name in url.
3161         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
3162         into account for the resulting file name.
3163         (tramp-gvfs-handler-askquestion): Preserve current message, in
3164         order to let progress reporter continue afterwards.  (Bug#6257)
3165         Return dummy mountpoint, when the answer is "no".
3166         See `tramp-gvfs-maybe-open-connection'.
3167         (tramp-gvfs-handler-mounted-unmounted)
3168         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
3169         attribute "default_location".  Set "prefix" property.
3170         Handle default-location.
3171         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
3172         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
3173         exists.  Raise an error, if not (due to a corresponding answer
3174         "no" in interactive questions, for example).
3175         Use `tramp-compat-funcall'.
3177         * net/tramp-imap.el (top): Autoload `epg-make-context'.
3178         (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
3179         (tramp-imap-do-copy-or-rename-file)
3180         (tramp-imap-handle-insert-file-contents)
3181         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
3182         (tramp-imap-handle-delete-file): Add TRASH arg.
3184         * net/tramp-smb.el (tramp-smb-handle-copy-file):
3185         Add PRESERVE-SELINUX-CONTEXT.
3186         (tramp-smb-handle-copy-file)
3187         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
3188         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
3189         Use `with-progress-reporter'.
3190         (tramp-smb-handle-delete-file): Add TRASH arg.
3192         * net/tramp.el (tramp-methods): Move hostname to the end in all
3193         ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
3194         appropriate.
3195         (tramp-verbose): Describe verbose level 9.
3196         (tramp-completion-function-alist)
3197         (tramp-file-name-regexp, tramp-chunksize)
3198         (tramp-local-coding-commands, tramp-remote-coding-commands)
3199         (with-connection-property, tramp-completion-mode-p)
3200         (tramp-action-process-alive, tramp-action-out-of-band)
3201         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
3202         (tramp-exists-file-name-handler): Fix docstring.
3203         (tramp-remote-process-environment): Use `format' instead of
3204         `concat'.  Protect version string by apostroph.
3205         (tramp-shell-prompt-pattern): Do not use a shy group in case of
3206         XEmacs.
3207         (tramp-file-name-regexp-unified)
3208         (tramp-completion-file-name-regexp-unified): On W32 systems, do
3209         not regard the volume letter as remote filename.  (Bug#5447)
3210         (tramp-perl-file-attributes)
3211         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
3212         (tramp-vc-registered-read-file-names): Read input as
3213         here-document, otherwise the command could exceed maximum length
3214         of command line.
3215         (tramp-file-name-handler-alist): Add `file-selinux-context' and
3216         `set-file-selinux-context'.
3217         (tramp-debug-message): Add `tramp-compat-funcall' to ignored
3218         backtrace functions.
3219         (tramp-error-with-buffer): Don't show the connection buffer when
3220         we are in completion mode.
3221         (tramp-progress-reporter-update, tramp-remote-selinux-p)
3222         (tramp-handle-file-selinux-context)
3223         (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
3224         (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
3225         New defuns.
3226         (with-progress-reporter): New defmacro.
3227         (tramp-debug-outline-regexp): New defconst.
3228         (top, tramp-rfn-eshadow-setup-minibuffer)
3229         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
3230         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
3231         (tramp-completion-mode-p, tramp-check-for-regexp)
3232         (tramp-open-connection-setup-interactive-shell)
3233         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
3234         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
3235         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
3236         Use `tramp-compat-funcall'.
3237         (tramp-handle-make-symbolic-link): Flush file properties.
3238         (tramp-handle-load, tramp-handle-file-local-copy)
3239         (tramp-handle-insert-file-contents, tramp-handle-write-region)
3240         (tramp-handle-vc-registered, tramp-maybe-send-script)
3241         (tramp-find-shell): Use `with-progress-reporter'.
3242         (tramp-do-file-attributes-with-stat): Add space in format string,
3243         in order to work around a bug in pdksh.  Reported by Gilles Pion
3244         <gpion@lfdj.com>.
3245         (tramp-handle-verify-visited-file-modtime): Do not send a command
3246         when the connection is not established.
3247         (tramp-handle-set-file-times): Simplify the check for utc.
3248         (tramp-handle-directory-files-and-attributes)
3249         (tramp-get-remote-path): Use `copy-tree'.
3250         (tramp-completion-handle-file-name-all-completions): Ensure, that
3251         non remote files are still checked.  Oops.
3252         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
3253         Handle PRESERVE-SELINUX-CONTEXT.
3254         (tramp-do-copy-or-rename-file): Add progress reporter.
3255         (tramp-do-copy-or-rename-file-directly): Do not use
3256         `tramp-handle-file-remote-p'.
3257         (tramp-do-copy-or-rename-file-out-of-band):
3258         Use `tramp-compat-delete-directory'.
3259         (tramp-do-copy-or-rename-file-out-of-band)
3260         (tramp-compute-multi-hops, tramp-maybe-open-connection):
3261         Use `format-spec-make'.
3262         (tramp-handle-delete-file): Add TRASH arg.
3263         (tramp-handle-dired-uncache): Flush directory cache, not only file
3264         cache.
3265         (tramp-handle-expand-file-name)
3266         (tramp-completion-handle-file-name-all-completions)
3267         (tramp-completion-handle-file-name-completion):
3268         Use `tramp-connectable-p'.
3269         (tramp-handle-start-file-process): Set connection property "vec".
3270         Use it, in order to invalidate file caches.  Check only for
3271         `remote-tty' process property.
3272         Implement tty setting.  (Bug#4604, Bug#6360)
3273         (tramp-file-name-for-operation): Add `call-process-region' and
3274         `set-file-selinux-context'.
3275         (tramp-find-foreign-file-name-handler)
3276         (tramp-advice-make-auto-save-file-name)
3277         (tramp-set-auto-save-file-modes): Remove superfluous check for
3278         `stringp'.  This is done inside `tramp-tramp-file-p'.
3279         (tramp-file-name-handler): Trace 'quit.  Catch the error for some
3280         operations when we are in completion mode.  This gives the user
3281         the chance to correct the file name in the minibuffer.
3282         (tramp-completion-mode-p): Use `non-essential'.
3283         (tramp-handle-file-name-all-completions): Backward/ XEmacs
3284         compatibility: Use `completion-ignore-case' if
3285         `read-file-name-completion-ignore-case' does not exist.
3286         (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
3287         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3288         `tramp-open-shell'.
3289         (tramp-action-password): Hide password prompt before next run.
3290         (tramp-process-actions): Widen connection buffer for the trace.
3291         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
3292         process property.  Trace stty settings if `tramp-verbose' >= 9.
3293         Apply workaround for IRIX64 bug.  Move argument of last
3294         `tramp-send-command' where it belongs to.
3295         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
3296         front of `login-args'.
3297         (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
3298         on "/dev/null" instead of "/".
3299         (tramp-get-ls-command-with-dired): Make test for "--dired"
3300         stronger.
3301         (tramp-set-auto-save-file-modes): Adapt version check.
3302         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
3303         (tramp-handle-process-file): Call the program in a subshell, in
3304         order to preserve working directory.
3305         (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
3306         `tramp-remote-sh' from `tramp-methods'.
3307         (tramp-get-ls-command): Make test for "--color=never" stronger.
3308         (tramp-check-for-regexp): Use (forward-line 1).
3310         * net/trampver.el: Update release number.
3312 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
3314         * help.el (help-map): Bind `C-h P' to describe-package.
3316         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
3318         * emacs-lisp/package.el (package-refresh-contents): Catch errors
3319         when downloading archives.
3320         (describe-package-1): Add package commentary.
3321         (package-install-button-action): New function.
3322         (package-menu-mode-map): Bind ? to package-menu-describe-package.
3323         (package-menu-view-commentary): Function removed.
3324         (package-list-packages-internal): Hide the `package' package too.
3326 2010-08-25  Kenichi Handa  <handa@m17n.org>
3328         * language/misc-lang.el ("Arabic"): New language environment.
3329         Setup composition-function-table for Arabic characters.
3331         * international/fontset.el (setup-default-fontset): Fix typo for
3332         arabic OTF spec (fini->fina).
3334 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
3336         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
3337         on all frames.
3339 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3341         * whitespace.el: Allow cleaning up blanks without blank
3342         visualization (Bug#6651).  Adjust help window for
3343         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
3344         instead of whitespace-line-column (from EmacsWiki).  New version
3345         13.1.
3346         (whitespace-style): Added new value 'face.  Adjust docstring.
3347         (whitespace-space, whitespace-hspace, whitespace-tab): Adjust
3348         foreground property face.
3349         (whitespace-line-column): Adjust docstring and type declaration.
3350         (whitespace-style-value-list, whitespace-toggle-option-alist)
3351         (whitespace-help-text): Adjust const initialization.
3352         (whitespace-toggle-options, global-whitespace-toggle-options):
3353         Adjust docstring.
3354         (whitespace-display-window, whitespace-interactive-char)
3355         (whitespace-style-face-p, whitespace-color-on): Adjust code.
3356         (whitespace-help-scroll): New fun.
3358 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
3360         * emacs-lisp/package.el (list-packages): Alias for
3361         package-list-packages.
3363 2010-08-24  Kevin Ryde  <user42@zip.com.au>
3365         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
3366         (Bug#5651).
3368         * progmodes/ruby-mode.el (ruby): Add defgroup.
3370 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
3372         * progmodes/python.el: Add Ipython support (Bug#5390).
3373         (python-shell-prompt-alist)
3374         (python-shell-continuation-prompt-alist): New options.
3375         (python--set-prompt-regexp): New function.
3376         (inferior-python-mode, run-python, python-shell): Require
3377         ansi-color.  Use python--set-prompt-regexp to set the comint
3378         prompt based on the Python interpreter.
3379         (python--prompt-regexp): New var.
3380         (python-check-comint-prompt)
3381         (python-comint-output-filter-function): Use it.
3382         (run-python): Use a pipe (Bug#5694).
3384 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
3386         * progmodes/python.el (python-send-region): Send a different
3387         Python command if Ipython is in use.
3388         (python-check-version): Use a Python command to find the version.
3390 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
3392         * mouse.el (mouse-yank-primary): Avoid setting primary when
3393         deactivating the mark (Bug#6872).
3395 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
3397         * progmodes/python.el (python-block-pairs): Allow use of "finally"
3398         with "else" (Bug#3991).
3400 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
3402         * net/dbus.el: Accept UNIX domain sockets as bus address.
3403         (top): Don't initialize `dbus-registered-objects-table' anymore,
3404         this is done in dbusbind,c.
3405         (dbus-check-event): Adapt test for bus.
3406         (dbus-return-values-table, dbus-unregister-service)
3407         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
3408         Adapt doc string.
3410 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
3412         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
3414 2010-08-22  Juri Linkov  <juri@jurta.org>
3416         * simple.el (read-extended-command): New function with the logic
3417         for `completing-read' moved to Elisp from `execute-extended-command'.
3418         Use `function-called-at-point' in `minibuffer-default-add-function'
3419         to get a command name for M-n (bug#5364, bug#5214).
3421 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
3423         * startup.el (command-line-1): Issue warning for ignored arguments
3424         --unibyte, etc (Bug#6886).
3426 2010-08-22  Leo  <sdl.web@gmail.com>
3428         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
3429         (ignore, bright, dim, keyword): Split list of nicknames before
3430         passing to rcirc-add-or-remove (Bug#6894).
3432 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
3434         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
3436 2010-08-22  Leo  <sdl.web@gmail.com>
3438         Fix buffer-list rename&refresh after killing a buffer in ido.
3439         * ido.el: Revert Óscar's.
3440         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
3441         Remember the buffers at head, rather than their name.
3442         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
3444 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
3445             Stefan Monnier  <monnier@iro.umontreal.ca>
3447         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
3448         extra backslash added to each line (bug#6890).
3450 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3452         * subr.el (read-key): Don't echo keystrokes (bug#6883).
3454 2010-08-22  Glenn Morris  <rgm@gnu.org>
3456         * menu-bar.el (menu-bar-games-menu): Add landmark.
3458 2010-08-22  Glenn Morris  <rgm@gnu.org>
3460         * align.el (align-regexp): Make group and spacing arguments
3461         use the interactive defaults when non-interactive.  (Bug#6698)
3463         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
3464         expansion, so as not to need sendmail.
3465         (mail-text-start): Remove declaration.
3466         (rmail-retry-failure): Require sendmail.
3468 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
3470         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
3472 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
3474         * progmodes/flymake.el (flymake-start-syntax-check-process):
3475         Use `start-file-process' in order to let it run also on remote hosts.
3477 2010-08-22  Kenichi Handa  <handa@m17n.org>
3479         * files.el: Add `word-wrap' as safe local variable.
3481 2010-08-22  Glenn Morris  <rgm@gnu.org>
3483         * woman.el (woman-translate): Case matters.  (Bug#6849)
3485 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
3487         * simple.el (kill-region): Doc fix (Bug#6787).
3489 2010-08-22  Glenn Morris  <rgm@gnu.org>
3491         * calendar/diary-lib.el (diary-header-line-format):
3492         Fit it to the window, not the frame.
3494 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
3496         * subr.el (ignore-errors): Add debug declaration.
3498 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
3500         * whitespace.el (whitespace-color-off): Remove post-command-hook
3501         locally.
3503 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3505         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
3507 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
3509         * cus-edit.el (custom-group-value-create): Add extra newline
3510         before end line (Bug#6876).
3512 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
3514         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
3515         when extending it.  Before killing on the second click, check if
3516         the buffer is the correct one.  Doc fix.
3517         (mouse-secondary-save-then-kill): Allow usage without first
3518         calling mouse-start-secondary, by defaulting to point.  Don't save
3519         an empty secondary selection.  Doc fix.
3521 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3523         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
3524         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
3525         New version 13.0.
3526         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
3527         Adjust initialization.
3528         (whitespace-bob-marker, whitespace-eob-marker)
3529         (whitespace-buffer-changed): New vars.
3530         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
3531         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
3532         (whitespace-post-command-hook, whitespace-display-char-on):
3533         Adjust code.
3534         (whitespace-looking-back, whitespace-buffer-changed): New funs.
3535         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
3537 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3539         * files.el (locate-file-completion-table): Only list the .el and .elc
3540         extensions if there's no other choice (bug#5955).
3542         * facemenu.el (facemenu-self-insert-data): New var.
3543         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
3544         New functions.
3545         (facemenu-add-face): Use them.
3547         * simple.el (blink-matching-open): Obey forward-sexp-function.
3549 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3551         * simple.el (prog-mode-map): New var.
3552         (prog-indent-sexp): New command.
3554         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
3556         * progmodes/prolog.el (smie): Require.
3558         * emacs-lisp/smie.el (smie-default-backward-token)
3559         (smie-default-forward-token): Strip properties.
3560         (smie-next-sexp): Be more careful with associative operators.
3561         (smie-forward-sexp-command): Generalize.
3562         (smie-backward-sexp-command): Simplify.
3563         (smie-closer-alist): New var.
3564         (smie-close-block): New command.
3565         (smie-indent-debug-log): New var.
3566         (smie-indent-offset-rule): Add a few more cases.
3567         (smie-indent-column): New function.
3568         (smie-indent-after-keyword): Use it.
3569         (smie-indent-keyword): Use it.
3570         Fix up the opener code's point position.
3571         (smie-indent-comment): Only applies at BOL.
3572         (smie-indent-debug): New command.
3574         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
3575         declarations that are useful before running the macro.
3577 2010-08-18  Joakim Verona  <joakim@verona.se>
3579         * image.el (imagemagick-types-inhibit): New variable.
3580         (imagemagick-register-types): New function.
3581         * image-mode.el (image-transform-properties): New function.
3582         (image-transform-set-scale, image-transform-fit-to-height)
3583         (image-transform-set-rotation, image-transform-set-resize)
3584         (image-transform-fit-to-width, image-transform-fit-to-height):
3585         New functions.
3586         (image-toggle-display-image): Support image transforms.
3588 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
3590         * image.el (create-animated-image): Don't add heuristic mask to image
3591         (Bug#6839).
3593 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
3595         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
3596         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
3598 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3600         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
3602         Font-lock '...' strings, plus various simplifications and fixes.
3603         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
3604         (octave-font-lock-close-quotes): New function.
3605         (octave-font-lock-syntactic-keywords): New var.
3606         (octave-mode): Use it.  Set beginning-of-defun-function.
3607         (octave-mode-map): Don't override the <foo>-defun commands.
3608         (octave-mode-menu): Pass it directly to easy-menu-define;
3609         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
3610         (octave-block-match-alist): Fix up last change so that
3611         octave-close-block uses the more specific keyword.
3612         (info-lookup-mode): Silence byte-compiler.
3613         (octave-beginning-of-defun): Not interactive any more.
3614         Optimize slightly.
3615         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
3616         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
3617         (octave-completion-at-point-function): Make sure point is within
3618         beg..end.
3619         (octave-reindent-then-newline-and-indent):
3620         Use reindent-then-newline-and-indent.
3621         (octave-add-octave-menu): Remove.
3623 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
3625         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
3626         (report-emacs-bug-can-use-xdg-email): New functions.
3627         (report-emacs-bug): Set can-xdg-email to result of
3628         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
3629         \C-cm to report-emacs-bug-insert-to-mailer and add help text
3630         about it.
3632         * net/browse-url.el (browse-url-default-browser): Add cond
3633         for browse-url-xdg-open.
3634         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
3636 2010-08-17  Glenn Morris  <rgm@gnu.org>
3638         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
3639         (c-fontify-recorded-types-and-refs): Define for compiler.
3640         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
3641         before use.
3643         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
3644         Fix format call.
3646 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
3648         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
3649         properties.
3650         (tramp-handle-process-file): Call the program in a subshell, in
3651         order to preserve working directory.
3652         (tramp-action-password): Hide password prompt before next run.
3653         (tramp-process-actions): Widen connection buffer for the trace.
3655 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3657         * net/rcirc.el (rcirc-log-process-buffers): New option.
3658         (rcirc-print): Use it.
3659         (rcirc-generate-log-filename): New function.
3660         (rcirc-log-filename-function): Change default to
3661         rcirc-generate-log-filename (Bug#6828).
3663 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
3665         * simple.el (deactivate-mark): If select-active-regions is `only',
3666         only set selection for temporarily active regions.
3668         * cus-start.el: Change defcustom for select-active-regions.
3670 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
3672         * mouse.el (mouse--drag-set-mark-and-point): New function.
3673         (mouse-drag-track): Use LOCATION arg to push-mark.
3674         Use mouse--drag-set-mark-and-point to take click-count into
3675         consideration when updating point and mark (Bug#6840).
3677 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
3679         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3680         Give the Ruby rule a lower priority than Gnu (Bug#6778).
3682 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
3684         * font-lock.el (lisp-font-lock-keywords-2):
3685         Add combine-after-change-calls, condition-case-no-debug,
3686         with-demoted-errors, and with-silent-modifications (Bug#6025).
3688 2010-08-14  Kevin Ryde  <user42@zip.com.au>
3690         * emacs-lisp/copyright.el (copyright-update-year)
3691         (copyright-update): Temporary switch-to-buffer to ensure the
3692         buffer change being queried is visible (Bug#5394).
3694 2010-08-14  Tom Tromey  <tromey@redhat.com>
3696         * progmodes/etags.el (tags-file-name): Mark safe if stringp
3697         (Bug#6733).
3699 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
3701         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
3702         MS-DOS.  (Bug#6689)
3704 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
3706         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
3707         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
3708         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
3709         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
3710         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
3711         Call menu-bar-set-tool-bar-position.
3713 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3715         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
3716         comment style (bug#6834).
3717         * progmodes/scheme.el (scheme-mode-syntax-table):
3718         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
3719         "b" flag in "' 14b" syntax.
3721         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
3722         for (un)commenting the region and performing completion.
3723         (octave-mode-menu): Use standard commands for help and completion.
3724         (octave-mode-syntax-table): Support %{..%} comments (sort of).
3725         (octave-mode): Use define-derived-mode.
3726         Set completion-at-point-functions and don't set columns.
3727         Don't disable adaptive-fill-regexp.
3728         (octave-describe-major-mode, octave-comment-region)
3729         (octave-uncomment-region, octave-comment-indent)
3730         (octave-indent-for-comment): Remove.
3731         (octave-indent-calculate): Rename from calculate-octave-indent.
3732         (octave-indent-line, octave-fill-paragraph): Update caller.
3733         (octave-initialize-completions): No need to make an alist.
3734         (octave-completion-at-point-function): New function.
3735         (octave-complete-symbol): Use it.
3736         (octave-insert-defun): Use define-skeleton.
3738         * progmodes/octave-mod.el (octave-mode): Set comment-add.
3739         (octave-mode-map): Use comment-dwim (bug#6829).
3741 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
3743         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
3744         indentation of inserted comment.
3746 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
3748         * faces.el (region): Add type gtk that uses gtk colors.
3750         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
3751         Handle theme-name change.
3753 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
3755         * progmodes/sql.el: Version 2.5
3756         (sql-product-alist): Add :prompt-cont-regexp property for several
3757         database products.
3758         (sql-prompt-cont-regexp): New variable.
3759         (sql-output-newline-count, sql-output-by-send):
3760         New variables.  Record number of newlines in input text.
3761         (sql-send-string): Handle multiple filters and count newlines.
3762         (sql-send-magic-terminator): Count terminator newline.
3763         (sql-interactive-remove-continuation-prompt): Filters output to
3764         remove continuation prompts; one for each newline.
3765         (sql-interactive-mode): Set up new variables, prompt regexp and
3766         output filter.
3767         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
3768         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
3770 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3772         * emacs-lisp/pcase.el: New file.
3774 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
3776         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
3777         as here-document, otherwise the command could exceed maximum
3778         length of command line.
3779         (tramp-handle-vc-registered): Call script accordingly.
3780         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
3782 2010-08-10  Kenichi Handa  <handa@m17n.org>
3784         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
3785         composable pattern.
3787 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
3789         * emacs-lisp/package.el (package-version-split)
3790         (package--version-first-nonzero, package-version-compare):
3791         Functions removed.
3792         (package-directory-list, package-load-all-descriptors)
3793         (package--built-in, package-activate, define-package)
3794         (package-installed-p, package-compute-transaction)
3795         (package-read-all-archive-contents)
3796         (package--add-to-archive-contents, package-buffer-info)
3797         (package-tar-file-info, package-list-packages-internal):
3798         Use version-to-list and version-list-*.
3800         * emacs-lisp/package-x.el (package-upload-buffer-internal):
3801         Use version-to-list.
3802         (package-upload-buffer-internal): Use version-list-<=.
3804 2010-08-09  Kenichi Handa  <handa@m17n.org>
3806         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
3807         composable pattern.
3809 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
3811         * tutorial.el (tutorial--default-keys): C-d is now bound to
3812         delete-forward-char (Bug#6826).
3814         * mouse.el (mouse-drag-track): Remove accidentally-removed check
3815         for `double' value of mouse-1-click-follows-link (Bug#6807).
3817 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
3819         * replace.el (replace-highlight): Bind isearch-forward and
3820         isearch-error, ensuring that highlighting is updated if the user
3821         switches the search direction (Bug#6808).
3823         * isearch.el (isearch-lazy-highlight-forward): New var.
3824         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
3825         (isearch-lazy-highlight-update): Use it.
3827 2010-08-08  Kenichi Handa  <handa@m17n.org>
3829         * international/mule.el (define-charset): Store NAME as :base property.
3830         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
3831         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
3832         current priority.  Force using the designation of the specific
3833         charset by adding `charset' text property.  Improve the whole algorithm.
3835 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
3837         * emulation/pc-select.el (pc-selection-mode-hook)
3838         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
3839         (pc-selection-mode): Fix typos in docstrings.
3841 2010-08-08  Kenichi Handa  <handa@m17n.org>
3843         * language/cyrillic.el: Don't add "microsoft-cp1251" to
3844         ctext-non-standard-encodings-alist here.
3846         * international/mule.el (ctext-non-standard-encodings-alist):
3847         Add "koi8-r" and "microsoft-cp1251".
3848         (ctext-standard-encodings): New variable.
3849         (ctext-non-standard-encodings-table): List only elements for
3850         non-standard encodings.
3851         (ctext-pre-write-conversion): Adjust for the above change.
3852         Check ctext-standard-encodings.
3854         * international/mule-conf.el (compound-text): Doc fix.
3855         (ctext-no-compositions): Doc fix.
3856         (compound-text-with-extensions): Doc fix.
3858 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3860         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
3862 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
3864         * progmodes/which-func.el (which-func-format): Split help-echo text
3865         into lines, like other mode-line tooltips.
3867         * server.el (server-start): When using TCP sockets, force IPv4
3868         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
3870 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3872         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
3874 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
3876         * term.el (term-delimiter-argument-list): Reflow docstring.
3877         (term-read-input-ring, term-write-input-ring, term-send-input)
3878         (term-bol, term-erase-in-display, serial-supported-or-barf):
3879         Fix typos in docstrings.
3881 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3883         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
3885 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
3887         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
3889 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
3891         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
3892         Fix typo in docstring (bug#6747).
3894 2010-08-08  Leo  <sdl.web@gmail.com>
3896         * eshell/esh-io.el (eshell-get-target): Better detection of
3897         read-only file (Bug#6762).
3899 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
3901         * align.el (align-default-spacing): Doc fix.
3902         (align-region-heuristic, align-regexp): Fix typos in docstrings.
3904 2010-08-08  Stephen Peters  <speters@itasoftware.com>
3906         * calendar/icalendar.el
3907         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
3908         (icalendar--get-weekday-numbers): New.
3909         (icalendar--convert-recurring-to-diary): Handle multiple byday
3910         values in weekly rules.  (Bug#6766)
3912 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
3914         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
3915         (icalendar--create-uid, icalendar-export-region)
3916         (icalendar--parse-summary-and-rest): Code formatting.
3918 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
3920         * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
3921         to italicize headers.
3922         (calc-highlight-selections-with-faces): New variable.
3923         (calc-selected-face, calc-nonselected-face): New faces.
3925         * calc/calccomp.el (math-comp-highlight-string): Use
3926         `calc-highlight-selections-with-faces' to determine how to highlight
3927         sub-formulas.
3929         * calc/calc-sel.el (calc-show-selections): Change message to when
3930         using faces to highlight selections.
3932 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
3934         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
3935         Add SQLite 3 keywords, functions and datatypes.
3936         (sql-interactive-mode): Remove `comint-process-echoes' set to t
3937         (Bug#6686).
3939 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
3941         * simple.el (select-active-regions): Move to keyboard.c.
3942         (deactivate-mark): Used saved-region-selection.
3943         (select-active-region): Function removed.
3944         (activate-mark, set-mark, push-mark-command)
3945         (handle-shift-selection): Don't call it.
3946         (keyboard-quit): Avoid adding the region to the window selection.
3948         * mouse.el (mouse-drag-track): Remove hacks to deal with old
3949         select-active-regions implementation.
3950         (mouse-yank-at-click): Doc fix.
3952         * cus-start.el: Add custom declaration for select-active-regions.
3954 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
3956         * simple.el (delete-forward-char): Doc fix.
3958         * tutorial.el (help-with-tutorial): Hack safe file-local variables
3959         after reading the tutorial.
3961 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
3963         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
3964         for the case that a C style comment has its delimiters alone on
3965         their respective lines.
3967 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
3969         * net/tramp.el (tramp-handle-start-file-process): Set connection
3970         property "vec".
3971         (tramp-process-sentinel): Use it for flushing the cache.  We
3972         cannot do it via the process buffer, the buffer could be deleted
3973         already when running the sentinel.
3975 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
3977         * comint.el (comint-mode): Make directory tracking functions
3978         functional on remote files.  (Bug#6764)
3980 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
3982         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
3984 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
3986         * emacs-lisp/find-gc.el (find-gc-source-files): Rename
3987         unexec.c => unexcoff.c.
3989         * emacs-lisp/authors.el (authors-fixed-entries): Rename
3990         unexec.c => unexcoff.c.
3992 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
3994         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
3995         cache, not only file cache.
3996         (tramp-process-sentinel): New defun.
3997         (tramp-handle-start-file-process): Use it, in order to invalidate
3998         file caches.
4000 2010-08-03  Leo  <sdl.web@gmail.com>
4002         * server.el (server-start): Simplify loop.
4004 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4006         * frame.el (screen-height, screen-width, set-screen-width)
4007         (set-screen-height): Remove ancient compatibility aliases.
4009         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
4010         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
4012         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
4013         that change current buffer.
4015 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
4017         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
4018         beginning of the string.  Use `string-match-p'.  (Bug#6765)
4020 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
4022         * cus-start.el (x-gtk-use-system-tooltips): New variable.
4024 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
4026         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
4027         (package--builtins): Tweak descriptions.
4028         (package-print-package): Upcase descriptions if necessary.
4029         Show all built-in packages in font-lock-builtin-face.
4030         (package-list-packages-internal): Omit "emacs" package.
4031         Show status of built-in packages as "built-in".
4033 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
4035         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
4036         before killing to preserve the primary selection (Bug#6701).
4038         * term/x-win.el (x-select-text): Doc fix.
4040 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
4042         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
4043         The following functions were modified or created:
4045         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
4046         (objc-font-lock-extra-types):
4047         * progmodes/cc-mode.el (c-basic-common-init):
4048         * progmodes/cc-langs.el (c-make-mode-syntax-table)
4049         (c++-make-template-syntax-table)
4050         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
4051         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
4052         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
4053         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
4054         * progmodes/cc-fonts.el (c-make-inverse-face)
4055         (c-basic-matchers-after):
4056         * progmodes/cc-engine.el (c-forward-keyword-clause)
4057         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
4058         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
4059         (c-guess-continued-construct, c-guess-basic-syntax):
4061 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
4063         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
4065 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
4067         * files.el (bidi-paragraph-direction): Define safe local values.
4069         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
4070         language-info-alist.  Remove outdated FIXME in a comment.
4072 2010-07-31  Alan Mackenzie  <acm@muc.de>
4074         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
4075         Auto-fill broken in C/C++ modes.
4077 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
4079         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
4080         (menu-bar-showhide-tool-bar-menu-customize-disable)
4081         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
4082         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
4083         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
4084         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
4085         make a menu for Options => toolbar that can move it.
4087 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
4089         * emacs-lisp/package-x.el (package--make-rss-entry):
4090         (package-maint-add-news-item, package--update-news)
4091         (package-upload-buffer-internal): New arg ARCHIVE-URL.
4093         * emacs-lisp/package.el (package-archive-url): Rename from
4094         package-archive-id.
4095         (package-install): Doc fix.
4096         (package-download-single, package-download-tar, package-install)
4097         (package-menu-view-commentary): Callers changed.
4099 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
4101         * net/tramp.el (tramp-handle-start-file-process): Check only for
4102         `remote-tty' process property.
4103         (tramp-open-shell): Don't check for tty.
4104         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
4105         process property.
4107         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
4108         host.
4110 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
4112         * emacs-lisp/package.el (package-load-list, package-archives)
4113         (package-archive-contents, package-user-dir)
4114         (package-directory-list, package--builtins, package-alist)
4115         (package-activated-list, package-obsolete-alist): Mark as risky.
4117 2010-07-28  Phil Hagelberg  <phil@evri.com>
4119         Add support for non-default package repositories.
4120         * emacs-lisp/package.el (package-archive-base): Var deleted.
4121         (package-archives): New variable.
4122         (package-archive-contents): Doc fix.
4123         (package-load-descriptor): Do nothing if descriptor file is missing.
4124         (package--write-file-no-coding): New function.
4125         (package-unpack-single): Use it.
4126         (package-archive-id): New function.
4127         (package-download-single, package-download-tar)
4128         (package-menu-view-commentary): Use it.
4129         (package-installed-p): Make second argument optional.
4130         (package-read-all-archive-contents): New function.
4131         (package-initialize): Use it.
4132         (package-read-archive-contents): Add ARCHIVE argument.
4133         (package--add-to-archive-contents): New function.
4134         (package-install): Don't call package-read-archive-contents.
4135         (package--download-one-archive): Store archive file in a
4136         subdirectory of package-user-dir.
4137         (package-menu-execute): Remove spurious line movement.
4139 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
4141         * cus-start.el (tool-bar-style): Add text-image-horiz.
4143 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
4145         * progmodes/gud.el (gud-common-init): Check for remoteness of
4146         `file', and not of `default-directory'.
4148 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
4150         * net/tramp.el (tramp-methods): Move hostname to the end in all
4151         ssh `tramp-login-args'.
4152         (tramp-verbose): Describe verbose level 9.
4153         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
4154         (tramp-open-connection-setup-interactive-shell): Trace stty
4155         settings if `tramp-verbose' >= 9.
4156         (tramp-handle-start-file-process): Implement tty setting.
4157         (Bug#4604, Bug#6360)
4159         * net/tramp-cmds.el (tramp-bug): Recommend setting of
4160         `tramp-verbose' to 9.
4162 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
4164         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
4165         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
4166         Remove references to package `lisp-re' (bug#4369).
4168 2010-07-27  Tom Tromey  <tromey@redhat.com>
4170         * progmodes/js.el (js-mode):
4171         * progmodes/make-mode.el (makefile-mode):
4172         * progmodes/simula.el (simula-mode):
4173         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
4175 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
4177         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
4179         * time.el (display-time-day-and-date): Remove spurious * in docstring.
4180         (display-time-world-buffer-name, display-time-world-mode-map):
4181         Fix typos in docstrings.
4183 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
4185         * image-mode.el (image-display-size): New function.
4186         (image-forward-hscroll, image-next-line, image-eol, image-eob)
4187         (image-mode-fit-frame): Use it (Bug#6639).
4189 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
4191         * dired.el (dired-buffers-for-dir): Handle list values of
4192         dired-directory (Bug#6636).
4194 2010-07-26  Sam Steingold  <sds@gnu.org>
4196         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
4197         Do not call `x-get-selection' the second time, reuse the value.
4199 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
4201         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
4202         which consist of control chars only.  Suggested by Richard Stallman.
4204 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
4206         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
4207         exists before passing an error to find-file-not-found-functions
4208         (bug#6723).
4210 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
4212         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
4213         Remove leading nil element, adjust values.
4214         (tetris-shapes, tetris-shape-scores):
4215         Change representation of shapes and remove some redundancy.
4216         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
4217         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
4218         Adjust for working with new representation of shapes.
4219         (tetris-shape-rotations): New function.
4220         (tetris-move-bottom, tetris-move-left, tetris-move-right)
4221         (tetris-rotate-prev, tetris-rotate-next):
4222         Adjust for working with the new version of tetris-test-shape.
4224 2010-07-23  Markus Triska  <markus.triska@gmx.at>
4226         * progmodes/ps-mode.el: Use comint (bug#5954).
4227         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
4228         (ps-mode-other-newline): Simplify.
4229         (ps-run-mode): Derive from comint-mode instead of
4230         fundamental-mode, yielding input history etc.
4231         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
4232         (ps-run-send-string): Adapt for comint-mode.
4233         (ps-run-newline): Remove now unneeded function.
4235 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
4237         * net/tramp.el (tramp-methods): Move hostname to the end in all
4238         plink `tramp-login-args'.
4240 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
4242         * net/tramp.el (tramp-open-shell): New defun.
4243         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4244         Use it.
4246 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
4248         * net/tramp.el (tramp-file-name-regexp-unified)
4249         (tramp-completion-file-name-regexp-unified): On W32 systems, do
4250         not regard the volume letter as remote filename.  (Bug#5447)
4252 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
4254         * custom.el (custom-declare-variable): Give a clearer error message
4255         when the docstring is missing (bug#6476).
4257 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
4259         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
4260         (sql-login-params): New widget definition.
4261         (sql-oracle-login-params, sql-mysql-login-params)
4262         (sql-solid-login-params, sql-sybase-login-params)
4263         (sql-informix-login-params, sql-ingres-login-params)
4264         (sql-ms-login-params, sql-postgres-login-params)
4265         (sql-interbase-login-params, sql-db2-login-params)
4266         (sql-linter-login-params): Use it.
4267         (sql-sqlite-login-params): Use it; Define "database" parameter as
4268         a file name.
4269         (sql-sqlite-program): Change to "sqlite3".
4270         (sql-comint-sqlite): Make sure database name is complete.
4271         (sql-for-each-login): New function.
4272         (sql-connect, sql-save-connection): Use it.
4273         (sql-get-login-ext): New function.
4274         (sql-get-login): Use it.
4275         (sql-make-alternate-buffer-name): Handle :file parameters.
4277 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
4279         * dired.el (dired-no-confirm): Document value t and fix defcustom to
4280         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
4282 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
4284         * dired.el (dired-mode-map): Use command remapping (bug#6632).
4286 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
4288         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
4290 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
4292         * net/tramp.el (tramp-get-ls-command)
4293         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
4294         instead of "/".
4296 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
4298         * progmodes/sql.el: Version 2.3.
4299         (sql-connection-alist): Changed keys from symbols to strings;
4300         enhanced the widget definition.
4301         (sql-mode-menu): Added submenu to select connections.
4302         (sql-interactive-mode-menu): Added "Save Connection" item.
4303         (sql-add-product): Fixed menu item.
4304         (sql-get-product-feature): Improved error handling.
4305         (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
4306         (sql-make-alternate-buffer-name): Simplified.
4307         (sql-product-interactive): Handle missing product.
4308         (sql-connect): Support string keys, minor improvements.
4309         (sql-save-connection): New function.
4310         (sql-connection-menu-filter): New function.
4312 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
4314         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
4315         (tramp-open-connection-setup-interactive-shell): Apply
4316         workaround for IRIX64 bug.  Move argument of last
4317         `tramp-send-command' where it belongs to.
4319 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
4321         * net/tramp.el (tramp-perl-file-attributes)
4322         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
4323         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
4324         front of `login-args'.
4326 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
4328         * time.el (display-time-world-mode): Define with `define-derived-mode'.
4329         Set `show-trailing-whitespace' to nil.
4330         (display-time-world-display): Simplify.
4332 2010-07-18  Alan Mackenzie  <acm@muc.de>
4334         Enhance `c-file-style' in file/directory local variables.
4335         * progmodes/cc-mode.el (c-count-cfss): New function.
4336         (c-before-hack-hook): Call `c-set-style' differently according to
4337         whether c-file-style was set in file or directory local
4338         variables.
4340 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
4342         * progmodes/sql.el: Version 2.2.
4343         (sql-product, sql-user, sql-database, sql-server, sql-port): Use
4344         defcustom :safe keyword rather than putting safe-local-variable
4345         property.
4346         (sql-password): Use defcustom :risky keyword rather than putting
4347         risky-local-variable property.
4348         (sql-oracle-login-params, sql-sqlite-login-params)
4349         (sql-solid-login-params, sql-sybase-login-params)
4350         (sql-informix-login-params, sql-ingres-login-params)
4351         (sql-ms-login-params, sql-postgres-login-params)
4352         (sql-interbase-login-params, sql-db2-login-params)
4353         (sql-linter-login-params): Add `port' option.
4354         (sql-get-product-feature): Added NO-INDIRECT parameter.
4355         (sql-comint-oracle, sql-comint-sybase)
4356         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
4357         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
4358         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
4359         (sql-comint-linter): Renamed sql-connect-* functions to
4360         sql-comint-*.
4361         (sql-product-alist, sql-mode-menu): Renamed as above and
4362         :sqli-connect-func to :sqli-comint-func.
4363         (sql-connection): New variable.
4364         (sql-interactive-mode): Set it.
4365         (sql-connection-alist): New variable.
4366         (sql-connect): New function.
4367         (sql--alt-buffer-part, sql--alt-if-not-empty)
4368         (sql-make-alternate-buffer-name): Improved alternative buffer name.
4370 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4372         * image-mode.el (image-bookmark-make-record): Do not set context
4373         in an image (Bug#6650).
4375 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
4377         * simple.el (select-active-region): New function.
4378         (push-mark-command, set-mark, activate-mark)
4379         (handle-shift-selection): Use it.
4380         (deactivate-mark): Don't check for size of region.
4382         * mouse.el (mouse-drag-track): Use select-active-region.
4384 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
4386         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
4387         "--dired" stronger.
4389 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
4391         * term/x-win.el (x-select-enable-primary): Change default to nil.
4392         (x-select-enable-clipboard): Add :version keyword.
4394         * mouse.el (mouse-drag-copy-region):
4395         * simple.el (select-active-regions): Likewise.
4397 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
4399         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
4400         (vc-coding-system-for-diff): Use it to decide whether to inherit
4401         from the file the EOL format for reading the diffs of that file.
4402         (Bug#4451)
4404 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
4406         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
4407         unibyte, so compressed attachments are not compressed again.
4409 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
4411         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
4412         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
4413         (tramp-find-shell): Simplify setting connection property.
4414         (tramp-get-ls-command): Make test for "--color=never" stronger.
4416 2010-07-15  Simon South  <ssouth@member.fsf.org>
4418         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
4419         blocks within record declarations (i.e. variant parts) correctly.
4421 2010-07-15  Simon South  <ssouth@member.fsf.org>
4423         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
4424         over literal tokens when parsing so newlines aren't "absorbed" by
4425         single-line comments.  Corrects the indentation of case blocks
4426         that have a comment on the first line.
4428 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
4430         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
4431         by Drew Adams (Bug#5504).
4433 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
4435         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
4436         now that Unicode is used (Bug#6594).
4438 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
4440         * term/x-win.el (x-select-enable-clipboard): Default to t.
4441         (x-initialize-window-system): Don't overwrite Paste menu item.
4443         * simple.el (select-active-regions): Default to t.
4444         (push-mark-command): Don't overwrite primary with empty string.
4446         * mouse.el: Bind mouse-2 to mouse-yank-primary.
4447         (mouse-drag-copy-region): Default to nil.
4449         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
4450         Cut/Copy/Paste menu bar items.
4452 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4454         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
4455         Patch applied by Karl Fogel.
4457         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
4458         and `bookmark-current-buffer' if they have been already set in
4459         another buffer (e.g gnus-art).
4461 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
4462             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4464         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
4466         * bookmark.el (bookmark-make-record-default): Allow unneeded
4467         information to be omitted from the record.
4469         Adjust declarations and calls:
4471         * info.el (bookmark-make-record-default): Adjust declaration.
4472         (Info-bookmark-make-record): Adjust call.
4474         * woman.el (bookmark-make-record-default): Adjust declaration.
4475         (woman-bookmark-make-record): Adjust call.
4477         * man.el (bookmark-make-record-default): Adjust declaration.
4478         (Man-bookmark-make-record): Adjust call.
4480         * image-mode.el (bookmark-make-record-default): Adjust declaration.
4482         * doc-view.el (bookmark-make-record-default): Adjust declaration.
4484 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
4486         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
4487         This is also from Thierry Volpiatto's patch in bug #6444.  However,
4488         because it was extraneous to the functional change in that patch,
4489         and causes a re-indendation, I am committing it separately.
4491 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4493         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
4494         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
4495         Patch applied by Karl Fogel (Bug#6444).
4497 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
4499         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
4501 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
4503         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
4504         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
4505         (ns-alternatives-map): Change S-tab binding to backtab
4506         (bug#6616).
4508         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
4509         under ns.
4511 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
4513         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
4514         (Bug#5806)
4516         * language/tv-util.el (tai-viet-re): Remove format.
4518 2010-07-12  Kenichi Handa  <handa@m17n.org>
4520         * language/hebrew.el: Remove no-byte-compile declaration.
4521         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
4522         composition-function-table for 3-character looking back.
4523         (hebrew-font-get-precomposed): New function.
4524         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
4526 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
4528         * mouse.el (mouse-drag-track): Handle select-active-regions
4529         (Bug#6612).
4531 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
4533         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
4534         empty argument to gvfs-copy.
4536 2010-07-10  Glenn Morris  <rgm@gnu.org>
4538         * calendar/calendar.el (calendar-week-end-day): New function.
4539         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
4540         Respect calendar-week-start-day.  (Bug#6606)
4541         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
4542         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
4543         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
4544         respect calendar-week-start-day.
4546 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
4548         * simple.el (use-region-p): Doc fix (Bug#6607).
4550 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
4552         * progmodes/compile.el (compilation-error-regexp-alist-alist): Add
4553         regexps for cucumber and ruby.
4555 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
4557         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
4558         (epa-file-insert-file-contents): Hack to prevent
4559         find-file from opening empty buffer when decryption failed
4560         (bug#6568).
4562 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
4564         * textmodes/ispell.el (ispell-alternate-dictionary):
4565         Use file-readable-p.
4566         Return nil if no word-list is found at default locations.
4567         (ispell-complete-word-dict): Default to nil.
4568         (ispell-command-loop): Use 'word-list' when using lookup-words.
4569         (lookup-words): Use ispell-complete-word-dict or
4570         ispell-alternate-dictionary.  Check for word-list availability
4571         and handle errors if needed with better messages (Bug#6539).
4572         (ispell-complete-word): Use ispell-complete-word-dict or
4573         ispell-alternate-dictionary.
4575 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
4577         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
4578         builtins (BufferError, BytesWarning, WindowsError; callables
4579         bin, bytearray, bytes, format, memoryview, next, print; __package__).
4581 2010-07-07  Glenn Morris  <rgm@gnu.org>
4583         * play/zone.el (top-level): Do not require timer, tabify, or cl.
4584         (zone-shift-left): Ignore intangibility, and any errors from
4585         forward-char.
4586         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
4587         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
4588         deleting, and copying text properties.
4589         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
4590         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
4591         to point-max is hard.
4592         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
4593         (zone-fill-out-screen): Ignore intangibility.
4595 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
4597         * menu-bar.el (menu-bar-mode):
4598         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
4599         if it has been set.
4601         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
4602         word/line selection (Bug#6565).
4604 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
4606         * net/dbus.el (dbus-send-signal): Declare function.
4608 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
4610         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
4611         (dbus-register-property): New optional argument EMITS-SIGNAL.
4612         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
4614 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
4616         * mouse.el (mouse-drag-overlay): Variable deleted.
4617         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
4618         (mouse--remap-link-click-p): New function.
4619         (mouse-drag-track): Handle dragging by using temporary Transient
4620         Mark mode, instead of a special overlay.
4621         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
4622         mouse-show-mark.
4624         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
4625         deleted.
4627 2010-07-02  Juri Linkov  <juri@jurta.org>
4629         * autoinsert.el (auto-insert-alist): Fix readability
4630         by using dotted pair notation for lambda.
4632 2010-07-02  Juri Linkov  <juri@jurta.org>
4634         * faces.el (read-face-name): Rename arg `string-describing-default'
4635         to `default'.  Doc fix.  Display the default value in quotes
4636         in the prompt.  With empty input, return the `default' arg,
4637         unless the default value is a string (in which case return nil).
4638         (describe-face): Replace the string `default' arg of `read-face-name'
4639         with the symbol `default'.
4641 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
4643         * emulation/viper-cmd.el (viper-delete-backward-char)
4644         (viper-del-backward-char-in-insert)
4645         (viper-del-backward-char-in-replace, viper-change)
4646         (viper-backward-indent): Replace delete-backward-char with
4647         delete-char (Bug#6552).
4649 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
4651         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
4653 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
4655         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
4656         argument passed to frame-creation-function (Bug#5378).
4658         * faces.el (x-handle-named-frame-geometry)
4659         (x-handle-reverse-video, x-create-frame-with-faces)
4660         (face-set-after-frame-default, tty-create-frame-with-faces): Don't
4661         separately consult default-frame-alist.  It is now passed as the
4662         PARAMETER argument.
4664 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
4666         * startup.el (command-line): Don't call tool-bar-setup in a
4667         tty-only build.
4669 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
4671         * ruler-mode.el (ruler--save-header-line-format): New fun.
4672         (ruler-mode): Use it as a setter function, so as not to overwrite
4673         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
4675 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
4677         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
4678         (vc-root-diff, vc-print-root-log, vc-log-incoming)
4679         (vc-log-outgoing): Use it.
4680         (vc-diff-internal): Set diff-vc-backend.
4682         * vc/diff-mode.el (diff-vc-backend): New var.
4684 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
4686         * dynamic-setting.el (font-setting-change-default-font): Remove
4687         call to message.
4689 2010-06-28  Kenichi Handa  <handa@m17n.org>
4691         * international/quail.el (quail-insert-kbd-layout): Fix the
4692         showing of untranslated characters.
4694 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
4696         * simple.el (delete-active-region): New option.
4697         (delete-backward-char): Implement in Lisp.
4698         (delete-forward-char): New command.
4700         * mouse.el (mouse-region-delete-keys): Deleted.
4701         (mouse-show-mark): Simplify.
4703         * bindings.el (global-map): Bind delete and DEL, the former to
4704         delete-forward-char.
4706 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
4708         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
4709         (ruby-mode): Bind indent-line-function (Bug#5119).
4711 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
4713         * startup.el (command-line): Recognize "0" X resource value.
4715 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
4717         * startup.el (command-line): Use X resources to set the value of
4718         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
4720         * menu-bar.el (menu-bar-mode):
4721         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
4722         Set init-value to t.
4724         * frame.el (frame-notice-user-settings): Don't change
4725         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
4726         vice versa (Bug#2249).
4728 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
4730         * w32-fns.el (w32-convert-standard-filename): Doc fix.
4732 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
4734         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
4735         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
4737         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
4738         default directories are expanded (Bug#6143).
4740 2010-06-24  Juri Linkov  <juri@jurta.org>
4742         * minibuffer.el (completions-format): Change default from nil to
4743         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
4745 2010-06-24  Juri Linkov  <juri@jurta.org>
4747         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
4748         buffer-locally to lambda that re-runs the vc diff command.
4749         (Bug#6447)
4751 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
4753         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
4754         echo area is in use (Bug#3412).
4756 2010-06-22  Glenn Morris  <rgm@gnu.org>
4758         * textmodes/texinfmt.el (texinfo-format-region)
4759         (texinfo-raise-lower-sections, texinfo-format-separate-node)
4760         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
4761         (texinfo-format-option, texinfo-noindent):
4762         Use line-beginning-position and line-end-position.
4764         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
4765         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
4766         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
4767         utf-8 characters.
4769 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
4771         * play/zone.el (zone-fall-through-ws): Fix next-line ->
4772         forward-line fallout.
4774 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
4776         * mouse.el (mouse-appearance-menu): Add docstring.
4778         * help.el (describe-key): Print up-event using key-description.
4780 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
4782         * net/zeroconf.el (zeroconf-resolve-service)
4783         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
4784         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
4786 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
4788         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
4790 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
4792         Avoid displaying files with a nil state in vc-dir.
4793         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
4794         cases that cause insertion.
4795         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
4796         with a nil state.
4798 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
4800         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
4802 2010-06-29  Leo  <sdl.web@gmail.com>
4804         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
4806 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
4808         * generic-x.el (bat-generic-mode): Fix regexp for command line
4809         switches (Bug#5719).
4811 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
4813         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
4814         of nconc to avoid pure storage error (Bug#6239).
4816 2010-06-27  Christoph  <cschol2112@googlemail.com>  (tiny change)
4818         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
4819         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
4820         bindings of bookmark-automatically-show-annotations (Bug#6515).
4822 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
4824         * arc-mode.el (archive-zip-extract): Don't quote the file name on
4825         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
4827 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
4829         * comint.el (make-comint, make-comint-in-buffer): Mention return
4830         value in the docstrings.  (Bug#6498)
4832 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
4834         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
4835         since it is not present when using some non-default switches.
4837 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
4839         * simple.el (compose-mail): Fix doc string to refer to
4840         `compose-mail-user-agent-warnings', instead of to the
4841         nonexistent `compose-mail-check-user-agent'.
4843 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
4845         Fix an indentation bug:
4847         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
4848         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
4849         of existing values.
4851         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
4852         (c-clear->-pair-props-if-match-before): now return t when they've
4853         cleared properties, nil otherwise.
4854         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
4855         by taking account of the existing value.
4857         * progmodes/cc-defs.el
4858         (c-clear-char-property-with-value-function): Fix this to clear the
4859         property rather than overwriting it with nil.
4861 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
4863         * emacs-lisp/package.el (package-print-package): Add link to
4864         package description via describe-package.
4865         (describe-package-1): List package requirements.  Add button to
4866         perform installation.
4867         (package-menu-describe-package): New command.
4869         * help-mode.el (help-package): New button type.
4871 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
4873         * emacs-lisp/package.el: Move package-list-packages binding to
4874         menu-bar.el.
4875         (describe-package, describe-package-1, package--dir): New funs.
4876         (package-activate-1): Use package--dir.
4878         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
4880         * help-mode.el (help-package-def): New button type.
4882         * menu-bar.el: Move package-list-packages binding here from
4883         package.el.
4885 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
4887         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
4889 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4891         * emacs-lisp/edebug.el (edebug-read-list):
4892         Phase out old-style backquotes.
4894 2010-06-17  Juri Linkov  <juri@jurta.org>
4896         * help-mode.el (help-mode): Set buffer-local variable
4897         revert-buffer-function to help-mode-revert-buffer.
4898         (help-mode-revert-buffer): New function.
4900         * info.el (Info-revert-find-node): Check for major-mode Info-mode
4901         before popping to "*info*" (like in other Info functions).
4902         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
4903         old-history-forward.  Pop to old-buffer-name or "*info*" to
4904         recreate the killed buffer.  Set Info-history-forward from
4905         old-history-forward.
4906         (Info-breadcrumbs-depth): Add :group and :version.
4908 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
4910         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
4912 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
4914         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
4915         for languages like Portuguese with pt_{BR,PT} and no plain pt.
4917 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
4919         * emacs-lisp/package.el (package-menu-mode-map):
4920         Move initialization into declaration.
4922         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
4924 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
4926         * emacs-lisp/package.el (package-archive-base): Point to
4927         elpa.gnu.org.
4928         (package-enable, package-load-list): New defcustoms.
4929         (package-user-dir, package-directory-list): Turn into defcustoms.
4930         Don't include package-user-dir in package-directory-list.
4931         (package--builtins-base): Don't include Emacs as a "package".
4932         (package-subdirectory-regexp): New var.
4933         (package-load-all-descriptors, package-compute-transaction)
4934         (package-download-transaction): Obey package-load-list.
4935         (package-activate-1): Rename from package-do-activate.
4936         (package-list-packages-internal): Check package-load-list.
4937         (package-load-descriptor, package-generate-autoloads)
4938         (package-unpack, package-unpack-single)
4939         (package--read-archive-file, package-delete): Use
4940         expand-file-name.
4942         * emacs-lisp/package-x.el: New file.  Package uploading
4943         functionality split out from package.el.
4945         * startup.el (command-line): Load packages after reading init file.
4947 2010-06-17  Tom Tromey  <tromey@redhat.com>
4949         * emacs-lisp/package.el: New file.
4951 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
4953         Fix vc-annotate for renamed files when using Git.
4954         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
4955         ls-files.  Doe not pass the object as a file name to cat-file, it
4956         is not a file name.
4957         (vc-git-annotate-command): Pass the file name using -- to avoid
4958         ambiguity with the revision.
4959         (vc-git-previous-revision): Pass a relative file name.
4961 2010-06-22  Glenn Morris  <rgm@gnu.org>
4963         * progmodes/js.el (js-mode-map): Use standard capitalization and
4964         ellipses for menu entries.
4966         * wid-edit.el (widget-complete): Doc fix.
4968 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
4970         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
4972 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
4974         Fix annotating other revisions for renamed files in vc-annotate.
4975         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
4976         VC backend.  Use it when non-nil.
4977         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
4978         (Bug#6487)
4980         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
4981         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4982         Do not pass the file name to the 'previous-revision call when we
4983         don't want a file diff.  (Bug#6489)
4985 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
4987         Fix finding revisions for renamed files in vc-annotate.
4988         * vc/vc.el (vc-find-revision): Add an optional argument for
4989         the VC backend.  Use it when non-nil.
4990         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
4991         backend to vc-find-revision.  (Bug#6487)
4993 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
4995         Fix reading file names in Git annotate buffers.
4996         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
4997         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
4999 2010-06-20  Alan Mackenzie  <acm@muc.de>
5001         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
5002         in file local variables, set it first.
5004 2010-06-19  Glenn Morris  <rgm@gnu.org>
5006         * descr-text.el (describe-char-unicode-data): Insert separating
5007         space when needed.  (Bug#6422)
5009         * progmodes/idlwave.el (idlwave-action-and-binding):
5010         Fix typo in 2009-12-03 change.  (Bug#6450)
5012 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5014         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
5015         handling for `lambda' (misunderstanding).
5017 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
5019         * calc/calc-poly.el (math-accum-factors): Make sure that
5020         constants aren't distributed after they are factored out.
5022 2010-06-16  Juri Linkov  <juri@jurta.org>
5024         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
5025         `list-colors-print'.  (Bug#6332)
5027         * subr.el (read-quoted-char): Fix up last change (bug#6290).
5029 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5031         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
5032         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
5034         * font-lock.el (font-lock-major-mode): Rename from
5035         font-lock-mode-major-mode to distinguish it from
5036         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
5037         (font-lock-set-defaults):
5038         * font-core.el (font-lock-default-function): Adjust users.
5039         (font-lock-mode): Don't set it at all.
5041 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5043         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
5045 2010-06-16  Glenn Morris  <rgm@gnu.org>
5047         * calendar/appt.el (appt-time-msg-list): Doc fix.
5048         (appt-check): Let-bind appt-warn-time.
5049         (appt-add): Make the 3rd argument optional.
5050         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
5051         Only add WARNTIME to the output list if non-nil.
5053 2010-06-16  Ivan Kanis  <apple@kanis.eu>
5055         * calendar/appt.el (appt-check): Let the 3rd element of
5056         appt-time-msg-list specify the warning time.
5057         (appt-add): Add new argument with the warning time.  (Bug#5176)
5059 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>  (tiny change)
5061         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
5062         older than version 1.6.  (Bug#6361)
5064 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
5066         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
5067         used by cl-do-arglist.  (Bug#6408)
5069 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
5071         * textmodes/ispell.el (ispell-dictionary-base-alist): Fix
5072         portuguese casechars/not-casechars for missing 'çÇ'.
5073         Suggested by Rolando Pereira (bug#6434).
5075 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
5077         * facemenu.el (list-colors-sort): Doc fix.
5079 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>  (tiny change)
5081         * progmodes/sql.el (sql-connect-mysql): Fix typo.
5083 2010-06-14  Juri Linkov  <juri@jurta.org>
5085         Add sort option `list-colors-sort'.  (Bug#6332)
5086         * facemenu.el (color-rgb-to-hsv): New function.
5087         (list-colors-sort): New defcustom.
5088         (list-colors-sort-key): New function.
5089         (list-colors-display): Doc fix.  Sort list according to the option
5090         `list-colors-sort'.
5091         (list-colors-print): Add HSV values to `help-echo' property of
5092         RGB strings.
5094 2010-06-14  Juri Linkov  <juri@jurta.org>
5096         * compare-w.el: Move to the "vc" subdirectory.
5098 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5100         * image-mode.el (image-mode-map): Remap left-char and right-char.
5102         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
5104 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
5106         * term/common-win.el (x-colors): Add all the color names defined
5107         in rgb.txt (Bug#6332).
5109         * facemenu.el (list-colors-print): Don't print extra names if it
5110         will overflow the window width.
5112         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
5113         change (Bug#6343).
5115 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
5117         * files.el (make-directory): Doc fix (bug#6396).
5119 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
5121         * net/tramp.el (tramp-remote-process-environment): Protect version
5122         string by apostroph.
5123         (tramp-shell-prompt-pattern): Do not use a shy group in case of
5124         XEmacs.
5125         (tramp-file-name-for-operation): Add `call-process-region'.
5126         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
5128         * net/tramp-compat.el (top): Do not autoload
5129         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
5130         only when `start-file-process' is not bound.
5131         (tramp-advice-file-expand-wildcards): Do not use
5132         `tramp-handle-file-remote-p'.
5133         (tramp-compat-make-temp-file): Handle the case, that
5134         `make-temp-file' has no third argument EXTENSION.
5136 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
5138         * makefile.w32-in (WINS_BASIC): Include new directory vc.
5140         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
5142 2010-06-11  Juri Linkov  <juri@jurta.org>
5144         * finder.el (finder-known-keywords): Add keyword "vc"
5145         for version control.
5147         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
5148         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
5149         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
5150         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
5152 2010-06-11  Juri Linkov  <juri@jurta.org>
5154         Move version control related files to the "vc" subdirectory.
5155         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
5156         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
5157         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
5158         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
5159         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
5160         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
5161         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
5162         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
5163         Move files to the "vc" subdirectory.
5165 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
5167         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
5168         (Bug#6367).
5170 2010-06-11  Stephen Eglen  <stephen@gnu.org>
5172         * shell.el: Bind `shell-resync-dirs' to M-RET.
5174 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
5176         * notifications.el: Move file from lisp/net, because it is
5177         supposed to talk locally to the user.
5179 2010-06-10  Julien Danjou  <julien@danjou.info>
5181         * net/notifications.el (notifications-on-action-signal)
5182         (notifications-on-closed-signal): Pass notification id as first
5183         argument to the callback functions.  Add docstrings.
5184         (notifications-notify): Fix docstring.
5186 2010-06-10  Glenn Morris  <rgm@gnu.org>
5188         * emacs-lisp/authors.el (authors-ignored-files)
5189         (authors-valid-file-names): Add some files.
5191 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5193         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
5194         merge conflict, giving preference to the emacs-23 version of the code.
5196 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5198         * emacs-lisp/advice.el (ad-compile-function):
5199         Define warning-suppress-types before we let-bind it (bug#6275).
5201         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
5202         declare it, make it buffer-local and permanent-local (bug#6324).
5203         (vc-resynch-window): Adjust name.
5204         * vc-hooks.el (vc-find-file-hook): Adjust name.
5206 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
5208         * net/notifications.el (notifications-notify): Fix docstring.
5210 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
5212         Update to Unicode 6.0.0 beta.
5213         * international/charprop.el: Update copyright.
5214         * international/mule-cmds.el (ucs-names): Update character ranges.
5215         * international/uni-bidi.el:
5216         * international/uni-category.el:
5217         * international/uni-combining.el:
5218         * international/uni-comment.el:
5219         * international/uni-decimal.el:
5220         * international/uni-decomposition.el:
5221         * international/uni-digit.el:
5222         * international/uni-lowercase.el:
5223         * international/uni-mirrored.el:
5224         * international/uni-name.el:
5225         * international/uni-numeric.el:
5226         * international/uni-old-name.el:
5227         * international/uni-titlecase.el:
5228         * international/uni-uppercase.el: Regenerate.
5230 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
5232         * emacs-lisp/smie.el (comment-string-strip): Declare function.
5233         (smie-precs-precedence-table): Fix typo in docstring.
5235         * vc-mtn.el (log-edit-extract-headers): Declare function.
5237         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
5239         * net/notifications.el (dbus-register-signal): Declare function.
5240         (notifications-notify): Fix typos and reflow docstring.
5242 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
5244         Improve VC create/retrieve tag/branch.
5245         * vc.el (vc-create-tag): Do not read the directory name for VCs
5246         with repository revision granularity.  Adjust the tag/branch
5247         prompt.  Reset VC properties.
5248         (vc-retrieve-tag): Do not read the directory name for VCs
5249         with repository revision granularity.  Reset VC properties.
5251 2010-06-09  Julien Danjou  <julien@danjou.info>
5253         * net/notifications.el: New file.
5255 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
5257         Add optional support for resetting VC properties.
5258         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
5259         call vc-file-clearprops when true.
5260         (vc-resynch-buffer): Add new optional argument, pass it down.
5261         (vc-resynch-buffers-in-directory): Likewise.
5263         Improve support for special markup in the VC commit message.
5264         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
5265         * vc-hg.el (vc-hg-checkin): Add support for Date:.
5266         * vc-git.el (vc-git-checkin):
5267         * vc-bzr.el (vc-bzr-checkin): Likewise.
5269 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5271         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
5272         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
5274 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
5276         * iimage.el: Remove images as soon as the underlying text is modified.
5277         (iimage-modification-hook): New function.
5278         (iimage-mode-buffer): Use it.
5280 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5282         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
5283         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
5284         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
5285         (smie-indent-keyword): Add handling of open-paren keywords.
5286         (smie-indent-comment-continue): Don't assume comment-continue.
5288 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
5290         * window.el (pop-to-buffer): Remove the conditional that
5291         compares new-window and old-window, so it will reselect
5292         the selected window unconditionally.
5293         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
5295 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5297         * emacs-lisp/smie.el (smie-indent-offset-after)
5298         (smie-indent-forward-token, smie-indent-backward-token): New functions.
5299         (smie-indent-after-keyword): Use them.
5300         (smie-indent-fixindent): Only applies to the indentation of the BOL.
5301         (smie-indent-keyword): Tweak the black magic.
5302         (smie-indent-comment-continue): Strip comment-continue before use.
5303         (smie-indent-functions): Indent comments before keywords.
5305 2010-06-06  Juri Linkov  <juri@jurta.org>
5307         * isearch.el (isearch-lazy-highlight-search): Fix looping
5308         by checking for empty match.  This syncs this loop with the
5309         similar loop in `isearch-search'.  (Bug#6362)
5311 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
5313         * net/dbus.el (dbus-register-method): Declare function.
5314         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
5315         (dbus-introspect): Doc fix.
5316         (dbus-event-bus-name, dbus-introspect-get-interface)
5317         (dbus-introspect-get-argument): Reflow docstrings.
5319 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
5321         vc-log-incoming/vc-log-outgoing fixes for Git.
5322         * vc-git.el (vc-git-log-view-mode): Fix font lock for
5323         incoming/outgoing logs.
5324         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
5325         instead of vc-git-compute-remote.
5326         (vc-git-compute-remote): Remove.
5328 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
5330         * term/common-win.el (x-colors): Add "dark green" and "dark
5331         turquoise" (Bug#6332).
5333 2010-06-04  Juri Linkov  <juri@jurta.org>
5335         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
5336         Instead of setting `replace' to t and replacing the same string
5337         with itself, don't do certain actions when
5338         kill-do-not-save-duplicates is non-nil and string is equal to car
5339         of kill-ring: don't call menu-bar-update-yank-menu, don't push
5340         interprogram-paste strings to kill-ring, and don't push the input
5341         argument `string' to kill-ring.
5342         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
5344 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
5346         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
5348 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
5350         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
5351         (tramp-gvfs-handler-mounted-unmounted)
5352         (tramp-gvfs-connection-mounted-p): Handle default-location.
5354         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
5355         move files to trash.
5357 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
5359         * international/mule-cmds.el (nonascii-insert-offset)
5360         (nonascii-translation-table): Add obsolescence information.
5362         * international/mule.el (make-translation-table-from-vector): Doc fix.
5364 2010-06-03  Glenn Morris  <rgm@gnu.org>
5366         * desktop.el (desktop-clear-preserve-buffers):
5367         Add "*Warnings*" buffer.  (Bug#6336)
5369 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
5371         vc-log-incoming/vc-log-outgoing improvements for Git.
5372         * vc-git.el (vc-git-log-outgoing): Use the same format as the
5373         short log.
5374         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
5376         Add bindings for vc-log-incoming and vc-log-outgoing.
5377         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
5378         and vc-log-outgoing.
5379         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
5380         and vc-log-outgoing.
5382 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
5384         * net/rcirc.el (rcirc-sort-nicknames): Remove.
5385         (rcirc-handler-366): Always sort nicknames.
5387 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
5389         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
5391 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
5393         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
5395 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5397         * net/rcirc.el (rcirc-sort-nicknames): Change default.
5398         (rcirc-sort-nicknames-join): Avoid setq.
5400 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
5402         * net/rcirc.el (rcirc-sort-nicknames): New custom.
5403         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
5404         (rcirc-handler-366): Use them.
5406 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5408         Split smie-indent-calculate into more manageable chunks.
5409         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
5410         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
5411         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
5412         (smie-indent-exps): Extract from smie-indent-calculate.
5413         (smie-indent-functions): New var.
5414         (smie-indent-functions): Use them.
5416 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5418         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
5419         (smie-indent-calculate): Simplify and cleanup.
5421 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
5423         * net/tramp-gvfs.el (top): Require url-util.
5424         (tramp-gvfs-mount-point): Remove.
5425         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
5426         New defuns.
5427         (with-tramp-dbus-call-method): Format trace message.
5428         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
5429         Implement backup call, when operation on local files fails.
5430         Use progress reporter.  Flush properties of changed files.
5431         (tramp-gvfs-handle-make-directory): Make more traces.
5432         (tramp-gvfs-url-file-name): Hexify file name in url.
5433         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
5434         into account for the resulting file name.
5435         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
5436         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
5437         (tramp-gvfs-handler-mounted-unmounted)
5438         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
5439         attribute "default_location".  Set "prefix" property.
5440         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
5441         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5442         exists.  Raise an error, if not (due to a corresponding answer
5443         "no" in interactive questions, for example).
5445 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
5447         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
5449 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
5451         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
5452         right-*.  (Bug#6265)
5454 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
5456         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
5457         * vc-git.el (vc-git-compute-remote): New function.
5458         (vc-git-log-outgoing): Use it instead of hard coding a value.
5459         (vc-git-log-incoming): New function.
5461         Improve state updating for VC tag commands.
5462         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
5463         to update the state of all buffers in the directory.
5465         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
5467 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5469         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
5470         `file-directory-p' to the filename part rather than to the whole text.
5472 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
5474         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
5476 2010-05-31  Drew Adams  <drew.adams@oracle.com>
5478         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
5480 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
5482         * subr.el (momentary-string-display): Just use read-event to read
5483         the exit event (Bug#6238).
5485 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
5487         * international/mule.el (define-coding-system): Doc fix (bug#6313).
5489 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
5491         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
5492         Suggested by Eli Zaretskii <eliz@gnu.org>.
5494 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5496         * minibuffer.el (completion-file-name-table): Don't return a boundary
5497         past the end of `string' (bug#6299).
5498         (completion--file-name-table): Delegate to completion-file-name-table
5499         for the `boundaries' case.
5501 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
5503         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
5504         movement commands.
5506         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
5507         `path-separator', but maintain compatibility with Emacs 20.2.
5509 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
5511         * server.el (server-process-filter): Receive parent-id argument
5512         from emacsclient.
5513         (server-create-window-system-frame): New arg.  Pass parent-id as
5514         frame parameter.
5516 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
5518         Bidi-sensitive word movement with arrow keys.
5519         * subr.el (right-arrow-command, left-arrow-command): Move to
5520         bindings.el.
5522         * bindings.el (right-char, left-char): Move from subr.el and
5523         rename from right-arrow-command and left-arrow-command.
5524         (right-word, left-word): New functions.
5525         (global-map) <right>: Bind to right-char.
5526         (global-map) <left>: Bind to left-char.
5527         (global-map) <C-right>: Bind to right-word.
5528         (global-map) <C-left>: Bind to left-word.
5530         * ls-lisp.el (ls-lisp-classify-file): New function.
5531         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
5532         (ls-lisp-classify): Call ls-lisp-classify-file.
5533         (insert-directory): Remove blanks from switches.
5535 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
5537         * ansi-color.el: Delete unused escape sequences (Bug#6085).
5538         (ansi-color-drop-regexp): New constant.
5539         (ansi-color-apply, ansi-color-filter-region)
5540         (ansi-color-apply-on-region): Delete unrecognized control sequences.
5541         (ansi-color-apply): Build string list before calling concat.
5543 2010-05-28  Juri Linkov  <juri@jurta.org>
5545         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5546         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
5547         (Bug#5270)
5549 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
5551         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
5552         to ignored backtrace functions.
5553         (with-progress-reporter): Expand docstring.
5554         (tramp-handle-delete-file): Implement TRASH argument.
5555         (tramp-get-remote-trash): New defun.
5557 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
5559         * net/tramp-compat.el (tramp-compat-delete-file): Use
5560         `symbol-value' for backward compatibility.
5562         * net/tramp.el (tramp-handle-make-symbolic-link)
5563         (tramp-handle-load)
5564         (tramp-do-copy-or-rename-file-via-buffer)
5565         (tramp-do-copy-or-rename-file-directly)
5566         (tramp-do-copy-or-rename-file-out-of-band)
5567         (tramp-handle-process-file, tramp-handle-call-process-region)
5568         (tramp-handle-shell-command, tramp-handle-file-local-copy)
5569         (tramp-handle-insert-file-contents, tramp-handle-write-region)
5570         (tramp-delete-temp-file-function): Use `delete-file' instead
5571         of `tramp-compat-delete-file'.
5573         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
5574         (tramp-fish-handle-make-symbolic-link)
5575         (tramp-fish-handle-process-file): Use `delete-file' instead
5576         of `tramp-compat-delete-file'.
5578         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
5579         `delete-file' instead of `tramp-compat-delete-file'.
5581         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
5582         (tramp-gvfs-handle-write-region): Use `delete-file' instead of
5583         `tramp-compat-delete-file'.
5585         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
5586         `delete-file' instead of `tramp-compat-delete-file'.
5588         * net/tramp-smb.el (tramp-smb-handle-copy-file)
5589         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5590         (tramp-smb-handle-write-region): Use `delete-file' instead of
5591         `tramp-compat-delete-file'.
5592         (tramp-smb-handle-delete-directory): Use 'trash as arg.
5594 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
5596         * dired.el (dired-delete-file): New arg TRASH.
5597         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
5598         (dired-do-flagged-delete, dired-do-delete): Use trash.
5600         * speedbar.el (speedbar-item-delete): Allow trashing.
5602         * files.el (delete-directory): New arg TRASH.
5604         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
5605         (ange-ftp-rename-remote-to-remote)
5606         (ange-ftp-rename-local-to-remote)
5607         (ange-ftp-rename-remote-to-local, ange-ftp-load)
5608         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
5609         `delete-file'.
5610         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
5611         allow trashing.
5613         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
5614         handle new TRASH arg of `delete-file'.
5616         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
5617         (tramp-handle-make-symbolic-link, tramp-handle-load)
5618         (tramp-do-copy-or-rename-file-via-buffer)
5619         (tramp-do-copy-or-rename-file-directly)
5620         (tramp-do-copy-or-rename-file-out-of-band)
5621         (tramp-handle-process-file, tramp-handle-call-process-region)
5622         (tramp-handle-shell-command, tramp-handle-file-local-copy)
5623         (tramp-handle-insert-file-contents, tramp-handle-write-region)
5624         (tramp-delete-temp-file-function): Use null TRASH arg in
5625         tramp-compat-delete-file call.
5627         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
5628         (tramp-fish-handle-delete-file)
5629         (tramp-fish-handle-make-symbolic-link)
5630         (tramp-fish-handle-process-file): Use null TRASH arg in
5631         `tramp-compat-delete-file' call.
5633         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
5634         arg in `tramp-compat-delete-file' call.
5636         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
5637         (tramp-gvfs-handle-write-region): Use null TRASH arg in
5638         `tramp-compat-delete-file' call.
5640         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
5641         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
5642         `tramp-compat-delete-file' call.
5644         * net/tramp-smb.el (tramp-smb-handle-copy-file)
5645         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5646         (tramp-smb-handle-write-region): Use null TRASH arg in
5647         tramp-compat-delete-file call.
5648         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
5649         (tramp-smb-handle-delete-file): Rename arg.
5651         * diff.el (diff-sentinel):
5652         * epg.el (epg--make-temp-file, epg-decrypt-string)
5653         (epg-verify-string, epg-sign-string, epg-encrypt-string):
5654         * jka-compr.el (jka-compr-partial-uncompress)
5655         (jka-compr-call-process, jka-compr-write-region):
5656         * server.el (server-sentinel): Remove optional arg from
5657         delete-file, reverting 2010-05-03 change.
5659 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
5661         * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
5662         font-lock-constant-face, not obsolete font-lock-reference-face.
5664 2010-05-27  Kenichi Handa  <handa@m17n.org>
5666         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
5667         element of GSTRING is nil.
5669 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5671         * emacs-lisp/smie.el (smie-forward-token-function)
5672         (smie-backward-token-function): New vars.
5673         (smie-backward-sexp, smie-forward-sexp)
5674         (smie-indent-hanging-p, smie-indent-calculate): Use them.
5675         (smie-default-backward-token): Rename from smie-backward-token and
5676         skip comments.
5677         (smie-default-forward-token): Rename from smie-forward-token and
5678         skip comments.
5679         (smie-next-sexp): Handle nil results from next-token.
5680         (smie-indent-calculate): Add a new case for special `fixindent' comments.
5682 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
5684         * progmodes/verilog-mode.el (verilog-type-font-keywords):
5685         Use font-lock-constant-face, not obsolete font-lock-reference-face.
5687 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
5689         * htmlfontify.el (hfy-face-resolve-face): New function.
5690         (hfy-face-to-style): Use it (Bug#6279).
5692 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5694         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
5695         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
5697 2010-05-26  Glenn Morris  <rgm@gnu.org>
5699         * emulation/edt.el (edt-load-keys): Use locate-library.
5701 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
5703         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
5704         (log-edit-changelog-entries): Doc fix.
5705         (log-edit-changelog-insert-entries): Args changed.
5706         Rename relative filenames in ChangeLog entries.  Delete tabs.
5707         (log-edit-insert-changelog-entries): Reorganize return value of
5708         `log-edit-changelog-entries' to pass filenames to
5709         log-edit-changelog-insert-entries.
5711 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5713         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
5714         `image-dired-dired-insert-marked-thumbs' to
5715         `image-dired-dired-toggle-marked-thumbs'.
5717         * image-dired.el: Require cl when compiling.
5718         (image-dired-dired-toggle-marked-thumbs): Rename from
5719         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
5720         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
5721         to 'no-dir.  Skip files whose names don't match
5722         `image-file-name-regexp'.  When file has a thumbnail overlay,
5723         delete it.  (Bug#5270)
5725 2010-05-25  Juri Linkov  <juri@jurta.org>
5727         * image-mode.el (image-mode): Add image-after-revert-hook to
5728         after-revert-hook.
5729         (image-after-revert-hook): New function.  (Bug#5669)
5731 2010-05-25  Juri Linkov  <juri@jurta.org>
5733         * image.el (image-animated-p): When delay between animated images
5734         is 0, set it to 10 (0.1 sec).  (Bug#6258)
5736 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
5738         * net/tramp.el (tramp-handle-insert-directory): Don't use
5739         `forward-word', its default syntax could be changed.
5741 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
5743         * net/tramp.el (tramp-progress-reporter-update): New defun.
5744         (with-progress-reporter): Use it.
5745         (tramp-process-actions):
5746         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
5747         current message, in order to let progress reporter continue
5748         afterwards.  (Bug#6257)
5750 2010-05-25  Glenn Morris  <rgm@gnu.org>
5752         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
5753         Add :version.
5755 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
5757         * net/rcirc.el (rcirc-default-user-name): Change to "user".
5758         (rcirc-default-full-name): Change to "unknown".
5759         (rcirc-user-name-history): Add variable.
5761 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
5762             Jonathan Rockway  <jon@jrock.us>
5764         * net/rcirc.el (rcirc-server-alist): Add :pass.
5765         (rcirc): When prompting for connection parameters, also prompt for
5766         username and password.
5767         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
5768         value to server when connecting.
5770 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5772         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
5773         (smie-merge-prec2s): Pass the tables as separate args.
5774         (smie-bnf-precedence-table): Adjust call accordingly.
5775         (smie-prec2-levels): Set levels at the end.
5777         Replace Lisp calls to delete-backward-char by delete-char.
5778         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
5779         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
5780         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
5781         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
5782         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
5783         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
5784         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
5785         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
5786         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
5787         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
5788         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
5789         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
5790         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
5791         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
5792         delete-backward-char by calls to delete-char.
5794 2010-05-25  Kenichi Handa  <handa@m17n.org>
5796         * language/hebrew.el (hebrew-shape-gstring): New function.
5797         Register it in composition-function-table for all Hebrew combining
5798         characters.
5800 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5802         * epa.el (epa--select-keys): Don't explicitly delete the window since
5803         that can fail (e.g. sole window in frame).  Use dedication instead.
5805 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
5807         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
5809 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
5811         * image.el (image-refresh): Define as an alias for image-flush.
5813         * image-mode.el (image-toggle-display-image): Caller changed.
5815 2010-05-21  Juri Linkov  <juri@jurta.org>
5817         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
5818         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
5819         whitespace, call wildcard-to-regexp on substrings and concat them
5820         with "\\|".  (Bug#6114)
5822 2010-05-21  Alan Mackenzie  <acm@muc.de>
5824         * progmodes/cc-engine.el (c-parse-state-get-strategy):
5825         Replace parameter `here' with `here-' and `here-plus', which sandwich
5826         any pertinent CPP construct.
5827         (c-remove-stale-state-cache-backwards): Fix a bug which happens
5828         when doing (c-parse-state) in a CPP construct: Exclude any "new"
5829         CPP construct from taking part in the scanning.
5831 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
5833         * net/tramp.el (tramp-do-copy-or-rename-file)
5834         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
5835         Tune `with-progress-reporter' messages.
5836         (tramp-handle-vc-registered):
5837         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
5838         (tramp-fish-handle-insert-file-contents)
5839         (tramp-fish-maybe-open-connection):
5840         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5841         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
5842         (tramp-imap-handle-insert-file-contents)
5843         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
5845 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
5847         * add-log.el (change-log-font-lock-keywords):
5848         Highlight all authors in multi-author entries.
5850         * smerge-mode.el (smerge-refine-ignore-whitespace)
5851         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
5852         Fix typos in docstrings.
5853         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
5855 2010-05-21  Glenn Morris  <rgm@gnu.org>
5857         * progmodes/fortran.el (fortran-mode):
5858         * progmodes/f90.el (f90-mode): Derive from prog-mode.
5860         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
5861         having a relative path in src/Makefile.in.
5863 2010-05-20  Kevin Ryde  <user42@zip.com.au>
5865         * help-mode.el (help-make-xrefs): For Info node links turn
5866         newlines into spaces.  Link node names with newlines are matched
5867         by help-xref-info-regexp and buttonized, this change ensures they
5868         can be followed successfully with RET.  (Bug#6206)
5870 2010-05-20  Juri Linkov  <juri@jurta.org>
5872         * locate.el (locate): Use pop-to-buffer instead of
5873         switch-to-buffer-other-window.  (Bug#6204)
5875 2010-05-20  Juri Linkov  <juri@jurta.org>
5877         * replace.el (replace-highlight): Fix lazy-highlighting
5878         for `M-s w str M-% str RET'.
5880 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
5882         * isearch.el (isearch-yank-word-or-char): Pull next subword
5883         when `subword-mode' is activated.  (Bug#6220)
5885 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
5887         * isearch.el (isearch-update-post-hook): New hook.
5888         (isearch-update): Use the new hook.  (Bug#6225)
5890 2010-05-20  Juri Linkov  <juri@jurta.org>
5892         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
5893         [f1], [help], and (char-to-string help-char) instead of "\C-h".
5894         (Bug#6222)
5896 2010-05-20  Juri Linkov  <juri@jurta.org>
5898         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
5899         (Bug#6223)
5901 2010-05-20  Juri Linkov  <juri@jurta.org>
5903         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
5904         FILE-NAME to read from the minibuffer when called interactively
5905         with prefix argument instead of using buffer-file-name.
5906         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
5908         * dired.el: Update autoloads.
5910 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
5912         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
5913         nxml-finish-element, for consistency with SGML mode.
5915         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
5916         octave-close-block.
5918 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
5920         * composite.el: Require cl when compiling.
5921         (reference-point-alist, compose-gstring-for-graphic)
5922         (compose-gstring-for-terminal): Fix typos in docstrings.
5924 2010-05-19  Juri Linkov  <juri@jurta.org>
5926         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
5927         set-window-parameter.
5929 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
5931         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
5932         where appropriate.
5933         (tramp-maybe-open-connection): Use it.
5935 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
5937         * simple.el (move-end-of-line): Make sure we are at line beginning
5938         before backing up to end of previous line.
5940 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
5942         * password-cache.el (password-cache-remove): Fix docstring.
5944         * net/secrets.el: Autoload the widget functions.
5945         (secrets-search-items, secrets-create-item)
5946         (secrets-get-attributes, secrets-expand-item): Attributes will be
5947         stored on the password database without leading ":", as all other
5948         clients do as well.
5949         (secrets-mode): Fix docstring.
5950         (secrets-show-secrets): Provide it as autoloaded command only when
5951         D-Bus support is available.  Check existence of Secret Service API.
5953 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5955         * indent.el (indent-region): Deactivate region (bug#6200).
5957 2010-05-19  Glenn Morris  <rgm@gnu.org>
5959         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
5961 2010-05-19  Kenichi Handa  <handa@m17n.org>
5963         * composite.el: Register compose-gstring-for-graphic in
5964         composition-function-table only for combining characters (Mn, Mc, Me).
5966 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
5968         * calc/calc-trail.el (calc-trail-isearch-forward)
5969         (calc-trail-isearch-backward): Ensure that the new window
5970         point is set correctly.
5972 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5974         * subr.el (read-quoted-char): Resolve modifiers after key
5975         remapping (bug#6212).
5977 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
5979         Add visualization code for secrets.
5980         * net/secrets.el (secrets-mode): New major mode.
5981         (secrets-show-secrets, secrets-show-collections)
5982         (secrets-expand-collection, secrets-expand-item)
5983         (secrets-tree-widget-after-toggle-function)
5984         (secrets-tree-widget-show-password): New defuns.
5986 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5988         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
5989         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
5990         handled in smie-next-sexp.
5991         (smie-indent-calculate): Provide a starting indentation (so the
5992         recursion is well-founded ;-).
5994         Fix handling of non-associative equal levels.
5995         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
5996         when it's not needed.
5997         (smie-op-left, smie-op-right): New functions.
5998         (smie-next-sexp): New function, extracted from smie-backward-sexp.
5999         Better handle equal levels to distinguish the associative case from
6000         the "multi-keyword construct" case.
6001         (smie-backward-sexp, smie-forward-sexp): Use it.
6003 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
6005         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
6007         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
6008         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
6010 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6012         Provide a simple generic indentation engine and use it for Prolog.
6013         * emacs-lisp/smie.el: New file.
6014         * progmodes/prolog.el (prolog-smie-op-levels)
6015         (prolog-smie-indent-rules): New var.
6016         (prolog-mode-variables): Use them to configure SMIE.
6017         (prolog-indent-line, prolog-indent-level): Remove.
6019 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
6021         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
6022         order before computing the averages.
6024 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
6026         * calc/calc-vec.el (calc-histogram):
6027         (calcFunc-histogram): Allow vectors as inputs.
6028         (math-vector-avg): New function.
6030         * calc/calc-ext.el (math-group-float): Have the number of digits
6031         being grouped depend on the radix (Bug#6189).
6033 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
6035         * version.el (emacs-copyright, emacs-version): Don't define here,
6036         now that emacs.c defines it.
6038 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
6040         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
6041         "Describe Language Environment" menu item.
6043         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
6045         Bidi-sensitive movement with arrow keys.
6046         * subr.el (right-arrow-command, left-arrow-command): New functions.
6048         * bindings.el (global-map): Bind them to right and left arrow keys.
6050         Don't override standard definition of convert-standard-filename.
6051         * files.el (convert-standard-filename): Call
6052         w32-convert-standard-filename and dos-convert-standard-filename on
6053         the corresponding systems.
6055         * w32-fns.el (w32-convert-standard-filename): Rename from
6056         convert-standard-filename.  Doc fix.
6058         * dos-fns.el (dos-convert-standard-filename): Doc fix.
6059         (convert-standard-filename): Don't defalias.
6060         (register-name-alist, make-register, register-value)
6061         (set-register-value, intdos): Obsolete aliases for the
6062         corresponding dos-* functions and variables.
6063         (dos-intdos): Add a doc string.
6065 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
6067         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
6068         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
6069         (math-compose-tex-func):
6070         * calc/calccomp.el (math-compose-expr):
6071         * calc/calc-ext.el (math-format-flat-expr-fancy):
6072         * calc/calc-store.el (calc-read-var-name):
6073         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
6075         * calc/calc.el (var-π, var-φ, var-γ): New variables.
6076         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
6077         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
6078         (math-standard-units): Add units.
6080 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6082         * progmodes/asm-mode.el (asm-mode):
6083         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
6085         * pcomplete.el (pcomplete-completions-at-point): New function,
6086         extracted from pcomplete-std-complete.
6087         (pcomplete-std-complete): Use it.
6089 2010-05-15  Glenn Morris  <rgm@gnu.org>
6091         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6092         Remove references to CVS, RCS and Old directories.
6094 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
6096         * calc/calc-bin.el (math-format-twos-complement): Group digits when
6097         appropriate.
6099 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6101         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
6102         (sh-mode-syntax-table): Give it a default value instead.
6103         (sh-header-marker): Make buffer-local.
6104         (sh-mode): Move make-local-variable to the corresponding setq.
6105         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
6106         Use complete-with-action.
6108         * simple.el (prog-mode): New (abstract) major mode.
6109         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
6110         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
6112 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
6114         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
6115         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
6116         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
6117         (sql-make-alternate-buffer-name, sql-placeholders-filter)
6118         (sql-escape-newlines-filter, sql-input-sender)
6119         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
6121 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
6123         Add TeX open-block and close-block keybindings to SGML, and vice versa.
6125         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
6126         latex-open-block and C-c / to latex-close-block.
6128         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
6129         and C-c C-e to sgml-close-tag.
6131 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
6133         * net/tramp.el (with-progress-reporter): Create reporter object
6134         only when the message would be displayed.  Handle nested calls.
6135         (tramp-handle-load, tramp-handle-file-local-copy)
6136         (tramp-handle-insert-file-contents, tramp-handle-write-region)
6137         (tramp-maybe-send-script, tramp-find-shell):
6138         Use `with-progress-reporter'.
6139         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
6140         Fix message text.
6142         * net/tramp-smb.el (tramp-smb-handle-copy-file)
6143         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6144         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6145         Use `with-progress-reporter'.
6147 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
6149         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
6150         process everytime when spellchecking from the minibuffer (bug#6143).
6152 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6154         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
6156         * dos-fns.el: Add "dos-" prefix for namespace control.
6157         (convert-standard-filename): Define as alias for
6158         dos-convert-standard-filename but only if applicable.
6160 2010-05-12  Alan Mackenzie  <acm@muc.de>
6162         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
6163         Push the mark at the start of these functions when appropriate.
6165 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6167         * minibuffer.el (completion-cycle-threshold): New custom var.
6168         (completion--do-completion): Use it.
6169         (minibuffer-complete): Use cycling if appropriate.
6171 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
6173         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
6174         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
6176 2010-05-11  Juri Linkov  <juri@jurta.org>
6178         * scroll-all.el (scroll-all-check-to-scroll):
6179         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
6181 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6183         * iimage.el (iimage-mode-map): Move initialization into declaration.
6184         (iimage-mode-buffer): Use with-silent-modifications.
6185         Simplify calling convention.  Adjust callers.
6186         (iimage-mode): Don't run hook redundantly.
6188         * minibuffer.el (completion-pcm--pattern->regex):
6189         Fix last change (bug#6160).
6191 2010-05-10  Juri Linkov  <juri@jurta.org>
6193         Remove nodes visited during Isearch from the Info history.
6194         * info.el (Info-isearch-initial-history)
6195         (Info-isearch-initial-history-list): New variables.
6196         (Info-isearch-start): Record initial values of
6197         Info-isearch-initial-history and Info-isearch-initial-history-list.
6198         Add Info-isearch-end to isearch-mode-end-hook.
6199         (Info-isearch-end): New function.
6201 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
6203         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
6204         format string, in order to work around a bug in pdksh.
6205         Reported by Gilles Pion <gpion@lfdj.com>.
6206         (tramp-handle-verify-visited-file-modtime): Do not send a command
6207         when the connection is not established.
6208         (tramp-handle-set-file-times): Simplify the check for utc.
6210 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
6212         Fix use of `filter-buffer-substring' (rework previous change).
6213         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
6214         (cua-repeat-replace-region):
6215         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
6216         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
6217         (cua-cut-region-to-global-mark): Use it.
6219 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
6221         * progmodes/sql.el: Version 2.1.
6222         (sql-product-alist): Redesign structure of product info.
6223         (sql-product, sql-user, sql-server, sql-database): Safe variables.
6224         (sql-port, sql-port-history): New variables.
6225         (sql-interactive-product): New variable.
6226         (sql-send-terminator): New variable.
6227         (sql-imenu-generic-expression): Add "Types" imenu entry.
6228         (sql-oracle-login-params, sql-sqlite-login-params)
6229         (sql-mysql-login-params, sql-solid-login-params)
6230         (sql-sybase-login-params, sql-informix-login-params)
6231         (sql-ingres-login-params, sql-ms-login-params)
6232         (sql-postgres-login-params, sql-interbase-login-params)
6233         (sql-db2-login-params, sql-linter-login-params)
6234         (sql-oracle-scan-on): New variables.
6235         (sql-mode-map): Add C-c C-i to start interactive mode.
6236         (sql-mode-menu): Update existing menu entries.
6237         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
6238         (sql-mode-oracle-font-lock-keywords)
6239         (sql-mode-postgres-font-lock-keywords)
6240         (sql-mode-ms-font-lock-keywords)
6241         (sql-mode-sybase-font-lock-keywords)
6242         (sql-mode-informix-font-lock-keywords)
6243         (sql-mode-interbase-font-lock-keywords)
6244         (sql-mode-ingres-font-lock-keywords)
6245         (sql-mode-solid-font-lock-keywords)
6246         (sql-mode-mysql-font-lock-keywords)
6247         (sql-mode-sqlite-font-lock-keywords)
6248         (sql-mode-db2-font-lock-keywords)
6249         (sql-mode-linter-font-lock-keywords): Update initialization to
6250         reduce run-time complexity.
6251         (sql-add-product, sql-del-product): New functions.
6252         (sql-set-product-feature, sql-get-product-feature): New functions.
6253         (sql-product-font-lock): Update product API.
6254         (sql-add-product-keywords): New function.
6255         (sql-highlight-product): Update product API.
6256         (sql-help-list-products): New function.
6257         (sql-help): Dynamically lists free and non-free products.
6258         (sql-get-login): Correct bug in handling history and added
6259         prompt for port.
6260         (sql-copy-column): Copy without properties.
6261         (sqli-input-sender): Apply filters to SQLi input.
6262         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
6263         Implement as a filter.
6264         (sql-escape-newlines-filter): Implement as a filter.
6265         (sql-remove-tabs-filter): New function.
6266         (sql-send-magic-terminator): New function.
6267         (sql-send-string): Implement magic terminator.
6268         (sql-send-region): Use `sql-send-string'.
6269         (sql-interactive-mode): Use product API.
6270         (sql-product-interactive): Use product API.
6271         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
6272         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
6273         (sql-db2, sql-linter): Use `sql-product-interactive'.
6274         (sql-connect): New function.
6275         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
6276         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
6277         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
6278         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
6279         Use `sql-connect'.
6281 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6283         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
6284         New custom variable.
6285         (completion-pcm--string->pattern): Use it.
6286         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
6287         Make it handle any symbol as `any'.
6288         (completion-pcm--merge-completions): Extract common suffix for the new
6289         `prefix' symbol as well.
6290         (completion-substring--all-completions): Use the new `prefix' symbol.
6292 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
6294         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
6295         not bound.
6296         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6297         (tramp-compat-funcall): New defmacro.
6298         (tramp-compat-line-beginning-position)
6299         (tramp-compat-line-end-position)
6300         (tramp-compat-temporary-file-directory)
6301         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6302         (tramp-compat-copy-file, tramp-compat-copy-directory)
6303         (tramp-compat-delete-file, tramp-compat-delete-directory)
6304         (tramp-compat-number-sequence, tramp-compat-process-running-p)
6305         * net/tramp.el (top, with-progress-reporter)
6306         (tramp-rfn-eshadow-setup-minibuffer)
6307         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6308         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6309         (tramp-completion-mode-p, tramp-check-for-regexp)
6310         (tramp-open-connection-setup-interactive-shell)
6311         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6312         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6313         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
6314         * net/tramp-cmds.el (tramp-cleanup-all-connections)
6315         (tramp-reporter-dump-variable, tramp-load-report-modules)
6316         (tramp-append-tramp-buffers)
6317         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
6319         * net/tramp-imap.el (top): Autoload `epg-make-context'.
6321 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6323         * progmodes/compile.el (compilation-buffer-modtime): Rename from
6324         buffer-modtime.  Adjust users.
6326 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
6328         * international/mule.el (auto-coding-alist): Only purecopy
6329         car of each item, not the whole list (Bug#6083).
6331 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
6333         * progmodes/js.el (js-mode): Make paragraph variables local before
6334         calling c-setup-paragraph-variables (Bug#6071).
6336 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
6338         * composite.el (compose-region, reference-point-alist): Fix typos
6339         in the doc strings.
6341 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
6343         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
6344         gnuplot's "set" command.
6346 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
6348         * abbrev.el (last-abbrev-text): Doc fix.
6349         (abbrev-prefix-mark): Don't escape parenthesis.
6351 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
6353         * composite.el (find-composition): Doc fix.
6355 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
6357         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
6358         (sql-oracle-program, sql-sqlite-options)
6359         (sql-query-placeholders-and-send): Doc fixes.
6360         (sql-set-product, sql-interactive-mode): Reflow docstrings.
6361         (sql-imenu-generic-expression, sql-buffer)
6362         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
6363         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
6364         (sql-mode-sybase-font-lock-keywords)
6365         (sql-mode-informix-font-lock-keywords)
6366         (sql-mode-interbase-font-lock-keywords)
6367         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
6368         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
6369         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
6370         (sql-product-feature, sql-highlight-product)
6371         (comint-line-beginning-position, sql-rename-buffer)
6372         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
6373         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
6374         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
6375         Fix typos in docstrings.
6377 2010-05-08  Juri Linkov  <juri@jurta.org>
6379         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
6380         property instead of `invisible' and `after-string' (bug#5998).
6382 2010-05-08  Juri Linkov  <juri@jurta.org>
6384         * image-mode.el (image-mode-as-text): Fix typo in docstring.
6386 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
6388         * filecache.el (file-cache-add-directory-list)
6389         (file-cache-add-directory-recursively): Fix typos in docstrings.
6391 2010-05-08  Kenichi Handa  <handa@m17n.org>
6393         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
6394         (gujarati-composable-pattern): Fix typo.
6396 2010-05-08  Kenichi Handa  <handa@m17n.org>
6398         * language/indian.el (oriya-composable-pattern)
6399         (tamil-composable-pattern, malayalam-composable-pattern):
6400         Add two-part vowels to "v" (vowel sign).
6402 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
6404         * files.el (copy-directory): Handle symlinks (Bug#5982).
6406 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
6408         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
6409         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
6410         (Bug#5846).
6412 2010-05-08  Glenn Morris  <rgm@gnu.org>
6414         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
6416         * minibuffer.el (completion-at-point): Doc fix.
6418 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6420         * electric.el (Electric-command-loop): Minor tweak.
6422         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
6423         better with dedicated windows.
6425 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
6427         * Version 23.2 released.
6429 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
6430             Stefan Monnier  <monnier@iro.umontreal.ca>
6432         Highlight vendor specific properties.
6433         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
6434         (css-proprietary-property): New face.
6435         (css-font-lock-keywords): Use them.
6437 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
6439         * cus-start.el (all): Add native condition for tool-bar-* symbols.
6441 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6443         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
6444         * files.el (auto-mode-alist): Remove redundant entries.
6446         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
6447         * simple.el (auto-save-mode): Move from files.el.
6448         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
6450 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
6452         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
6454 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
6456         * mail/binhex.el (binhex-decode-region-internal)
6457         * mail/uudecode.el (uudecode-decode-region-internal)
6458         * net/dns.el (dns-read-string-name, dns-write, dns-read)
6459         (dns-read-type, dns-query)
6460         * pgg-parse.el (pgg-parse-armor)
6461         * pgg.el (pgg-verify-region)
6462         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
6463         XEmacs.
6465         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
6467 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
6469         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
6471         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
6472         * emulation/cua-base.el (cua-repeat-replace-region):
6473         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
6474         (cua-cut-region-to-global-mark):
6475         Remove text properties with `set-text-properties'.
6477 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
6479         * net/tramp.el (top, with-progress-reporter):
6480         Use `symbol-function' inside `funcall'.
6482         * net/tramp-compat.el (tramp-compat-file-attributes)
6483         (tramp-compat-delete-file, tramp-compat-delete-directory):
6484         Handle only `wrong-number-of-arguments' error.
6486         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
6487         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
6488         inside `funcall'.
6490 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6492         * minibuffer.el (completion--sreverse, completion--common-suffix):
6493         New functions.
6494         (completion-pcm--merge-completions): Extract common suffix when safe.
6496         * emacs-lisp/easy-mmode.el (define-minor-mode):
6497         Make :variable more flexible.
6498         * files.el (auto-save-mode): Use it to define using define-minor-mode.
6500 2010-05-05  Juri Linkov  <juri@jurta.org>
6502         Add `slow' and `history' tags to the desktop data.
6504         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
6505         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
6506         (Info-finder-find-node): Require `finder.el' to be able
6507         to restore node from the desktop.
6508         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
6509         data `Info-history' and `slow' tag in the assoc list.
6510         (Info-restore-desktop-buffer): Don't restore nodes with the
6511         `slow' tag.  Restore `Info-history'.
6513 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
6515         Add FORCE argument to `delete-file'.
6517         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
6518         forcing to delete the temporary file.
6519         (ange-ftp-delete-file): Add FORCE arg.
6520         (ange-ftp-rename-remote-to-remote)
6521         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
6522         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
6523         Force file deletion.
6525         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
6527         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
6528         (tramp-handle-make-symbolic-link, tramp-handle-load)
6529         (tramp-do-copy-or-rename-file-via-buffer)
6530         (tramp-do-copy-or-rename-file-directly)
6531         (tramp-do-copy-or-rename-file-out-of-band)
6532         (tramp-handle-process-file, tramp-handle-call-process-region)
6533         (tramp-handle-shell-command, tramp-handle-file-local-copy)
6534         (tramp-handle-insert-file-contents, tramp-handle-write-region)
6535         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
6537         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
6538         (tramp-fish-handle-make-symbolic-link)
6539         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
6541         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
6542         Use `tramp-compat-delete-file'.
6544         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
6545         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
6547         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
6548         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
6550         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
6551         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
6552         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
6553         `tramp-compat-delete-file'.
6555 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6557         Minor cleanups.
6558         * subr.el (add-minor-mode): Use push.
6559         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
6560         * emulation/edt.el (edt-select-mode): Simplify.
6562         Use define-minor-mode in more cases.
6563         * term/tvi970.el (tvi970-set-keypad-mode):
6564         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6565         (normal-erase-is-backspace-mode):
6566         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
6567         (set-scroll-bar-mode-1): (Re)move to its sole caller.
6568         (get-scroll-bar-mode): New function.
6569         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
6571         Use define-minor-mode for less obvious cases.
6572         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
6573         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
6574         * international/iso-ascii.el (iso-ascii-mode):
6575         * frame.el (auto-raise-mode, auto-lower-mode):
6576         * composite.el (global-auto-composition-mode): Use define-minor-mode.
6578 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
6580         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
6581         in order to see error messages for failed logins.
6583 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
6585         * diff.el (diff-sentinel):
6587         * epg.el (epg--make-temp-file, epg-decrypt-string)
6588         (epg-verify-string, epg-sign-string, epg-encrypt-string):
6590         * jka-compr.el (jka-compr-partial-uncompress)
6591         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
6593         * server.el (server-sentinel): Use delete-file's new FORCE arg
6594         (Bug#6070).
6596 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6598         Use define-minor-mode where applicable.
6599         * view.el (view-mode):
6600         * type-break.el (type-break-query-mode)
6601         (type-break-mode-line-message-mode):
6602         * textmodes/reftex.el (reftex-mode):
6603         * term/vt100.el (vt100-wide-mode):
6604         * tar-mode.el (tar-subfile-mode):
6605         * savehist.el (savehist-mode):
6606         * ibuf-ext.el (ibuffer-auto-mode):
6607         * composite.el (auto-composition-mode):
6608         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6609         Use define-minor-mode.
6610         (vhdl-mode): Use static mode-line format.
6611         (vhdl-mode-line-update): Delete.
6612         (vhdl-create-mode-menu, vhdl-activate-customizations)
6613         (vhdl-hs-minor-mode): Don't bother calling it.
6615 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6617         * simple.el (with-wrapper-hook): Move.
6618         (buffer-substring-filters): Mark obsolete.
6619         (filter-buffer-substring-functions): New variable.
6620         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
6622 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
6623             Michael Albinus  <michael.albinus@gmx.de>
6625         Implement compression for inline methods.
6627         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6628         (tramp-copy-size-limit): Allow also nil.
6629         (tramp-inline-compress-commands): New defconst.
6630         (tramp-find-inline-compress, tramp-get-inline-compress)
6631         (tramp-get-inline-coding): New defuns.
6632         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6633         replaced by `tramp-get-inline-coding'.
6634         (tramp-handle-file-local-copy, tramp-handle-write-region)
6635         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6637 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6639         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
6640         Remove unused functions.
6642         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
6643         Set find-tag-default-function as a variable rather than a property.
6645         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
6646         * progmodes/etags.el (tags-completion-at-point-function):
6647         Remove left over interactive spec.  Add autoloading stub.
6648         (complete-tag): Use tags-completion-at-point-function.
6650 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
6652         * minibuffer.el (tags-completion-at-point-function): Fix return value.
6654 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
6656         * ido.el (ido-init-completion-maps): Remove C-v binding.
6657         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
6659 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
6661         * minibuffer.el (tags-completion-at-point-function): New function.
6662         (completion-at-point-functions): Use it.
6664         * progmodes/etags.el (complete-tag): Revert last change.
6666 2010-04-29  Alan Mackenzie  <acm@muc.de>
6668         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
6669         off-by-one error (in end of macro position).
6671 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6673         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
6674         firefox is absent.  Don't autoload.
6675         (browse-url-galeon-program): Don't autoload.
6677 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
6679         * bindings.el (complete-symbol): Move into minibuffer.el.
6681         * minibuffer.el (complete-tag): Move from etags.el.  If tags
6682         completion cannot be performed, return nil instead of signalling
6683         an error.
6684         (completion-at-point): Make it an alias for complete-symbol.
6685         (complete-symbol): Move from bindings.el, and replace with the
6686         body of completion-at-point.
6688         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
6690 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
6692         * net/tramp.el (tramp-remote-selinux-p): New defun.
6693         (tramp-handle-file-selinux-context)
6694         (tramp-handle-set-file-selinux-context): Use it.
6696 2010-04-28  Sam Steingold  <sds@gnu.org>
6698         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
6699         `safe-local-variable' if the value is a string or a symbol with
6700         the property `bug-reference-url-format'.
6702 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
6704         * progmodes/bug-reference.el (bug-reference-url-format):
6705         Revert 2010-04-27 change due to security risk.
6707 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6709         Make it possible to locally disable a globally enabled mode.
6710         * simple.el (fundamental-mode): Run fundamental-mode-hook.
6711         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
6712         rather than kill-all-local-variables so it runs fundamental-mode-hook.
6713         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6714         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
6715         that subsequent hooks get a chance to disable it.
6717 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6719         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6720         Avoid re-enabling a minor mode after the user turned the minor mode
6721         off if MODE-enable-in-buffers is run twice (typically once from
6722         fundamental-mode's after-change-major-mode-hook and a second time from
6723         run-mode-hook's own after-change-major-mode-hook).
6725         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
6727 2010-04-27  Sam Steingold  <sds@gnu.org>
6729         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
6730         `safe-local-variable' if the value is a string or a function, as
6731         documented and implemented on 2010-04-02.
6733 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
6735         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
6736         when method is 'kill.
6738 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
6740         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
6741         condition in default directory check.
6742         (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
6743         Kill ispell process when killing its associated buffer.
6745 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
6747         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
6748         but we aren't using it.
6750 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
6752         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
6753         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
6755 2010-04-24  Glenn Morris  <rgm@gnu.org>
6757         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
6758         Ignore VCS-ignore files, and deleted nextstep preferences files.
6759         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
6760         (authors-ambiguous-files): New list.
6761         (authors-valid-file-names): Add some deleted files.
6762         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
6763         (authors-disambiguate-file-name): New function.  (Bug#5501)
6764         (authors-canonical-file-name): Doc fix.
6765         Don't warn about obsolete files.
6766         (authors-canonical-file-name, authors-scan-el):
6767         Use authors-disambiguate-file-name.
6769         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
6770         Add autoload cookies.
6771         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
6772         (generated-autoload-file): Set file-local value to "htmlfontify.el".
6773         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
6774         They have definitions / compiler macros in cl.el.
6775         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
6776         Replace manual autoloads with generated ones.
6777         (htmlfontify-unload-rgb-file): Remove autoload.
6778         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
6780 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6782         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
6783         (byte-compile-setq-default): Optimize for the
6784         single-var case and don't call byte-compile-form in this case to avoid
6785         inf-loop with byte-compile-set-default.
6787         * progmodes/compile.el (compilation-start): Abbreviate default directory.
6789 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
6791         Implement SELINUX backends.
6793         * net/tramp.el (tramp-file-name-handler-alist):
6794         Add `file-selinux-context' and `set-file-selinux-context'.
6795         (tramp-handle-file-selinux-context)
6796         (tramp-handle-set-file-selinux-context): New defuns.
6797         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6798         Handle PRESERVE-SELINUX-CONTEXT.
6800         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6801         Add `file-selinux-context' and `set-file-selinux-context'.
6802         (tramp-gvfs-handle-file-selinux-context)
6803         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6804         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6806         * net/ange-ftp.el (ange-ftp-copy-file):
6807         * net/tramp-fish.el (tramp-fish-handle-copy-file):
6808         * net/tramp-imap.el (tramp-imap-handle-copy-file):
6809         * net/tramp-smb.el (tramp-smb-handle-copy-file):
6810         Add PRESERVE-SELINUX-CONTEXT.
6812 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
6814         Synchronize with Tramp repository.
6816         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
6817         (tramp-action-process-alive, tramp-action-out-of-band)
6818         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6819         (tramp-exists-file-name-handler): Fix docstring.
6820         (with-progress-reporter): New defmacro.
6821         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
6822         (tramp-maybe-open-connection): Use it.
6824 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
6826         Detect ssh 'ControlMaster' argument automatically in some cases.
6828         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6829         (tramp-default-method): Use it.
6831 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
6833         * net/tramp.el (tramp-handle-copy-file): Add new optional
6834         parameter `preserve-selinux-context'.
6835         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
6837 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
6839         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
6840         Ensure, that non remote files are still checked.  Oops.
6842 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
6844         Fix Bug#5840.
6846         * icomplete.el (icomplete-completions): Use `non-essential'.
6848         * net/tramp.el (tramp-connectable-p): New defun.
6849         (tramp-handle-expand-file-name)
6850         (tramp-completion-handle-file-name-all-completions)
6851         (tramp-completion-handle-file-name-completion): Use it.
6853 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6855         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
6857 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
6859         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
6861         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
6863         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
6864         is present.
6866         * info.el (info-tool-bar-map): Add labels.
6868         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
6870         * cus-edit.el (custom-commands): Add labels for tool bar.
6871         (custom-buffer-create-internal, Custom-mode): Adjust for
6872         labels in custom-commands.
6874         * dynamic-setting.el: Renamed from font-setting.el.
6876 2010-04-21  John Wiegley  <jwiegley@gmail.com>
6878         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
6879         toggles the use of virtual buffers.
6880         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
6881         (ido-toggle-virtual-buffers): New function.
6883 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
6885         Use `define-derived-mode'; fix window selection; doc fixes.
6886         * play/tetris.el (tetris, tetris-update-speed-function)
6887         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
6888         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
6889         (tetris-rotate-next, tetris-end-game, tetris-start-game)
6890         (tetris-pause-game): Fix typos in docstrings.
6891         (tetris-mode-map, tetris-null-map):
6892         Move initialization into declaration.
6893         (tetris-mode): Define with `define-derived-mode';
6894         set show-trailing-whitespace to nil.
6895         (tetris): Prefer window already displaying the "*Tetris*" buffer.
6897 2010-04-21  Karel Klíč  <kklic@redhat.com>
6899         * files.el (backup-buffer): Handle SELinux context, and return it
6900         if a backup was made by renaming.
6901         (backup-buffer-copy): Set SELinux context to the target file.
6902         (basic-save-buffer): Set SELinux context of the newly written file.
6903         (basic-save-buffer-1): Now it also returns any SELinux context.
6904         (basic-save-buffer-2): Set SELinux context of the newly created file,
6905         and return it.
6906         * net/tramp.el (tramp-file-name-for-operation):
6907         Add file-selinux-context.
6909 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6911         Make the log-edit comments use RFC822 format throughout.
6913         * vc.el (vc-checkin, vc-modify-change-comment):
6914         Adjust to new vc-start/finish-logentry.
6915         (vc-find-conflicted-file): New command.
6916         (vc-transfer-file): Adjust to new vc-checkin.
6917         (vc-next-action): Improve scoping.
6919         * vc-hg.el (vc-hg-log-edit-mode): Remove.
6920         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
6922         * vc-git.el (vc-git-log-edit-mode): Remove.
6923         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
6924         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
6926         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
6927         (vc-start-logentry): Remove argument `extra'.
6928         (vc-finish-logentry): Remove extra args.
6930         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
6931         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
6932         (vc-bzr-conflicted-files): New function.
6934         * log-edit.el (log-edit-extra-flags)
6935         (log-edit-before-checkin-process): Remove.
6936         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
6937         (log-edit-headers-alist): New var.
6938         (log-edit-header-contents-regexp): New const.
6939         (log-edit-match-to-eoh): New function.
6940         (log-edit-font-lock-keywords): Use them.
6941         (log-edit): Insert a "Summary:" header as default.
6942         (log-edit-mode): Mark font-lock rules as case-insensitive.
6943         (log-edit-done): Cleanup headers.
6944         (log-view-process-buffer): Remove.
6945         (log-edit-extract-headers): New function to replace it.
6947 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
6949         * subr.el (default-direction-reversed): Remove obsolescence info.
6951 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6953         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
6954         windows/frames.
6956         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
6957         I.e. include text after point in the completion region.
6958         Also, return nil when we're not after/in a symbol.
6960         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
6961         default enable-multibyte-characters.
6963 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6965         * international/mule.el: Help the user choose a valid coding-system.
6966         (read-buffer-file-coding-system): New function.
6967         (set-buffer-file-coding-system): Use it.  Prompt the user if the
6968         coding-system cannot encode all the chars.
6970         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
6971         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
6972         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
6973         Don't use *vc-bzr-shelve*.
6975 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
6977         Fix the version number for added files.
6978         * vc-hg.el (vc-hg-working-revision): Check if the file is
6979         registered after hg parent fails (Bug#5961).
6981 2010-04-19  Glenn Morris  <rgm@gnu.org>
6983         * htmlfontify.el (htmlfontify-buffer)
6984         (htmlfontify-copy-and-link-dir): Autoload entry points.
6986 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
6988         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
6989         name relative to the project root (Bug#5960).
6991 2010-04-19  Glenn Morris  <rgm@gnu.org>
6993         * vc-git.el (vc-git-print-log): Doc fix.
6995 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
6997         * ido.el (ido-file-internal): Fix 2009-12-02 change.
6999 2010-04-19  Christoph  <cschol2112@googlemail.com>  (tiny change)
7001         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
7002         default settings (Bug#5928).
7004 2010-04-19  Glenn Morris  <rgm@gnu.org>
7006         * progmodes/fortran.el (fortran-match-and-skip-declaration):
7007         New function.
7008         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
7010 2010-04-19  Kenichi Handa  <handa@m17n.org>
7012         * language/indian.el (malayalam-composable-pattern): Fix previous
7013         change (add U+0D4D "SIGN VIRAMA").
7014         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
7015         (tamil-composable-pattern): Fix typo in the regexp.
7016         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
7017         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
7018         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
7020 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
7022         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
7023         paragraph-separate (Bug#5821).
7025 2010-04-19  Juri Linkov  <juri@jurta.org>
7027         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
7029         * info.el (Info-find-node-2): Comment out code that skips
7030         breadcrumbs line.
7031         (Info-mouse-follow-link): New command.
7032         (Info-link-keymap): New keymap.
7033         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
7034         Return a string with links instead of inserting breadcrumbs
7035         to the Info buffer.
7036         (Info-fontify-node): Comment out code that inserts breadcrumbs.
7037         Instead of putting the `invisible' text property over the Info
7038         header, make an overlay over the Info header with the `invisible'
7039         property and `after-string' set to the string returned by
7040         `Info-breadcrumbs'.
7042 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
7044         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
7045         Reported by monkey@sandpframing.com.
7047 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7049         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
7050         (tmm-get-keymap): Add key-binding shortcuts now that they're not
7051         available in the "keyseq cache" any more.
7053         * custom.el (defcustom): Add edebug spec.
7055 2010-04-18  Juri Linkov  <juri@jurta.org>
7057         Test for special mode-class in view-buffer instead of view-file (bug#5513).
7059         * view.el (view-file, view-buffer): Move test for special mode-class
7060         from view-file to view-buffer.
7062         * tar-mode.el (tar-extract): Turn if's into one cond
7063         like in arc-mode.el.
7065 2010-04-18  Juri Linkov  <juri@jurta.org>
7067         Add 7z archive format support (bug#5475).
7069         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
7070         (archive-7z-extract): New defcustom.
7071         (archive-find-type): Add magic string for 7z.
7072         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
7073         If `stderr-file' is non-nil, use `(t stderr-file)' for the
7074         `buffer' arg of `call-process'.
7075         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
7076         call the function `archive-7z-extract' with the variable
7077         `archive-7z-extract' let-bound to `archive-zip-extract'.
7078         (archive-7z-summarize, archive-7z-extract): New functions.
7080         * international/mule.el (auto-coding-alist):
7081         * files.el (auto-mode-alist): Add 7z file extension.
7083 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7085         * loadup.el: Setup hash-cons for pure data.
7087         Fix duplicate entries in cedet's loaddefs.el files.
7088         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
7089         Should make most file-local generated-autoload-file unnecessary.
7090         (print-readably): Silence warnings.
7091         (autoload-find-destination): Take load-name as an arg to make sure
7092         it's the same as the one that will be in the file.
7093         (autoload-generate-file-autoloads): Adjust to above changes.
7094         Try to make the dataflow a bit simpler.
7096         * cvs-status.el (cvs-refontify): Remove unused.
7098 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
7100         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
7102         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
7103         twos-complement mode.
7105 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
7107         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
7108         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
7109         (calc-inverse): Add "Option" to message, as appropriate.
7110         (calc-hyperbolic): Add "Option" to message, as appropriate.
7111         (calc-option, calc-is-option): New functions.
7113         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
7114         (calc-option-prefix-help): New function.
7116         * calc/calc-misc.el (calc-help): Add "Option" entry.
7118         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
7119         (calc-option-flag): New variable.
7120         (calc-do): Set `calc-option-flag to nil.
7121         (calc-set-mode-line): Add "Opt " as appropriate.
7123 2010-04-16  Juri Linkov  <juri@jurta.org>
7125         Move scrolling commands from simple.el to window.el
7126         because their primitives are implemented in window.c.
7128         * simple.el (scroll-error-top-bottom)
7129         (scroll-up-command, scroll-down-command, scroll-up-line)
7130         (scroll-down-line, scroll-other-window-down)
7131         (beginning-of-buffer-other-window, end-of-buffer-other-window):
7132         * window.el (scroll-error-top-bottom)
7133         (scroll-up-command, scroll-down-command, scroll-up-line)
7134         (scroll-down-line, scroll-other-window-down)
7135         (beginning-of-buffer-other-window, end-of-buffer-other-window):
7136         Move from simple.el to window.el because their primitives are
7137         implemented in window.c.
7139 2010-04-16  Juri Linkov  <juri@jurta.org>
7141         * isearch.el (isearch-lookup-scroll-key): Check both
7142         `isearch-scroll' and `scroll-command' properties.
7143         (scroll-up, scroll-down): Remove `isearch-scroll' property.
7145         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
7147         * simple.el (scroll-up-command, scroll-down-command)
7148         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
7150 2010-04-15  Juri Linkov  <juri@jurta.org>
7152         * simple.el (scroll-up-command, scroll-down-command)
7153         (scroll-up-line, scroll-down-line): Put `scroll-command'
7154         property on the these symbols.  Remove them from
7155         `scroll-preserve-screen-position-commands'.
7157         * mwheel.el (mwheel-scroll): Put `scroll-command' and
7158         `isearch-scroll' properties on the `mwheel-scroll' symbol.
7159         Remove it from `scroll-preserve-screen-position-commands'.
7161         * isearch.el (isearch-allow-scroll): Doc fix.
7163 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
7165         * net/tramp.el (tramp-error-with-buffer): Don't show the
7166         connection buffer when we are in completion mode.
7167         (tramp-file-name-handler): Catch the error for some operations
7168         when we are in completion mode.  This gives the user the chance to
7169         correct the file name in the minibuffer.
7171 2010-04-15  Glenn Morris  <rgm@gnu.org>
7173         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
7175 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
7177         Simplify by using `define-derived-mode'.
7178         * info.el (Info-mode):
7179         * calendar/todo-mode.el (todo-mode):
7180         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
7181         (gomoku-mode-map): Move initialization into declaration.
7183 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
7185         Fix Bug#5840.
7186         * ido.el (ido-file-name-all-completions-1):
7187         * minibuffer.el (minibuffer-completion-help):
7188         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
7190 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7192         * simple.el (non-essential): New var.
7194         Add a new field `location' to bookmarks for non-file bookmarks.
7195         * bookmark.el (bookmark-location): Use the new field, if present.
7196         (bookmark-insert-location): Undo last change, not needed any more.
7197         * man.el (Man-bookmark-make-record):
7198         * woman.el (woman-bookmark-make-record): Add `location' field.
7200 2010-04-14  Juri Linkov  <juri@jurta.org>
7202         * simple.el (scroll-error-top-bottom): New defcustom.
7203         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
7205         * emulation/pc-select.el (pc-select-override-scroll-error):
7206         Obsolete in favor of `scroll-error-top-bottom'.
7208 2010-04-14  Juri Linkov  <juri@jurta.org>
7210         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
7211         `scroll-up-command' and `M-v' to `scroll-down-command'.
7213         * emulation/cua-rect.el (cua--init-rectangles):
7214         * forms.el (forms--change-commands):
7215         * image-mode.el (image-mode-map):
7216         Remap scroll-down-command and scroll-up-command
7217         in addition to scroll-down and scroll-up.
7219 2010-04-14  Juri Linkov  <juri@jurta.org>
7221         * mwheel.el (scroll-preserve-screen-position-commands):
7222         Add mwheel-scroll to this list of commands.
7224         * simple.el (scroll-preserve-screen-position-commands):
7225         Add scroll-up-command, scroll-down-command, scroll-up-line,
7226         scroll-down-line to this list of commands.
7228 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7230         * obsolete/complete.el: Move from lisp/complete.el.
7232         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
7234         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
7235         to the minor mode function now turns the mode ON unconditionally.
7237 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7239         * vc-dir.el (vc-dir-kill-line): New command.
7240         (vc-dir-mode-map): Bind it to C-k.
7242         * bookmark.el (bookmark-insert-location): Handle a nil filename.
7244         * woman.el: Add bookmark declarations to silence the compiler.
7245         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
7246         step to compatibility between man and woman bookmarks.
7247         Adjust for Man-default-bookmark-title renaming.
7248         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
7250         * man.el: Add bookmark declarations to silence the compiler.
7251         (Man-name-local-regexp): Make it match NAME as well.
7252         (Man-getpage-in-background): Return the buffer.
7253         (Man-notify-when-ready): Use `case'.
7254         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
7255         Don't hardcode "NAME".  Simplify.
7256         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
7257         Rename from Man-bookmark-make-record.
7258         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
7259         we have the actual man-args.  Use Man-getpage-in-background rather
7260         than `man' since the arg is already processed.  Let bookmark.el do the
7261         window handling.  Only wait for the relevant process.
7262         Don't forget to autoload.
7264         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
7266 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7268         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
7269         New functions.
7270         (woman-mode): Setup bookmark support.
7272         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
7273         (man-bookmark-jump): New functions.
7274         (Man-mode): Setup bookmark support.
7276 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
7278         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
7279         recognize ssh-keygen prompt (Bug#2817).
7281 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
7283         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
7285 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
7287         Synchronize with Tramp repository.
7289         * net/tramp.el (tramp-completion-function-alist)
7290         (tramp-file-name-regexp, tramp-chunksize)
7291         (tramp-local-coding-commands, tramp-remote-coding-commands):
7292         Fix docstring.
7293         (tramp-remote-process-environment): Use `format' instead of `concat'.
7294         (tramp-handle-directory-files-and-attributes)
7295         (tramp-get-remote-path): Use `copy-tree'.
7296         (tramp-handle-file-name-all-completions): Backward/ XEmacs
7297         compatibility: Use `completion-ignore-case' if
7298         `read-file-name-completion-ignore-case' does not exist.
7299         (tramp-do-copy-or-rename-file-directly): Do not use
7300         `tramp-handle-file-remote-p'.
7301         (tramp-do-copy-or-rename-file-out-of-band):
7302         Use `tramp-compat-delete-directory'.
7303         (tramp-do-copy-or-rename-file-out-of-band)
7304         (tramp-compute-multi-hops, tramp-maybe-open-connection):
7305         Use `format-spec-make'.
7306         (tramp-find-foreign-file-name-handler)
7307         (tramp-advice-make-auto-save-file-name)
7308         (tramp-set-auto-save-file-modes): Remove superfluous check for
7309         `stringp'.  This is done inside `tramp-tramp-file-p'.
7310         (tramp-debug-outline-regexp): New defconst.
7311         (tramp-get-debug-buffer): Use it.
7312         (tramp-check-for-regexp): Use (forward-line 1).
7313         (tramp-set-auto-save-file-modes): Adapt version check.
7315         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
7316         Wrap call of `featurep' for 2nd argument.
7317         (tramp-compat-make-temp-file): Simplify fallback implementation.
7318         (tramp-compat-copy-tree): Remove function.
7319         (tramp-compat-delete-directory): Provide implementation for older
7320         Emacsen.
7322         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
7323         Do not use `tramp-fish-handle-file-attributes.
7325         * net/trampver.el: Update release number.
7327 2010-04-10  Glenn Morris  <rgm@gnu.org>
7329         * progmodes/compile.el (compilation-save-buffers-predicate):
7330         Add missing :version tag.
7332 2010-04-09  Sam Steingold  <sds@gnu.org>
7334         * progmodes/compile.el (compilation-save-buffers-predicate):
7335         Remove the "autoload" cookie.
7337         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
7338         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
7339         and `bug-reference-prog-mode' can be used in hooks directly.
7341 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
7343         Add --author support to git commit.
7344         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
7345         (vc-git-log-edit-mode): New minor mode.
7346         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
7347         New declarations.
7349 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
7351         * vc-hooks.el, vc-git.el: Improve documentation comments.
7353 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7355         Fix some of the problems in defsubst* (bug#5728).
7356         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
7357         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
7359 2010-04-07  Sam Steingold  <sds@gnu.org>
7361         * progmodes/compile.el (compilation-save-buffers-predicate):
7362         New custom variable.
7363         (compile, recompile): Pass it to `save-some-buffers'.
7365 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
7367         * wid-edit.el (widget-choose): Move cursor to the second line of
7368         the buffer (Bug#5695).
7370 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
7372         Add new VC methods: vc-log-incoming and vc-log-outgoing.
7373         * vc.el (vc-print-log-setup-buttons): New function split out from
7374         vc-print-log-internal.
7375         (vc-log-internal-common): New function, a parametrized version of
7376         vc-print-log-internal.
7377         (vc-print-log-internal): Just call vc-log-internal-common with the
7378         right arguments.
7379         (vc-incoming-outgoing-internal):
7380         (vc-log-incoming, vc-log-outgoing): New functions.
7381         (vc-log-view-type): New permanent local variable.
7383         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
7385         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
7386         of the dynamic bound vc-short-log.
7387         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
7389         * vc-git.el (vc-git-log-outgoing): New function.
7390         (vc-git-log-view-mode): Use vc-log-view-type instead
7391         of the dynamic bound vc-short-log.
7393         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
7394         of the dynamic bound vc-short-log.  Highlight the tag.
7395         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
7396         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
7397         (vc-hg-incoming-mode): Remove.
7398         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
7400 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
7402         Fix default-directory for vc-root-diff.
7403         * vc.el (vc-root-diff): Bind default-directory to the root
7404         directory for the diff command.
7406 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
7408         * progmodes/verilog-mode.el (verilog-forward-sexp):
7409         (verilog-calc-1): Support "disable fork" and "fork wait" multi
7410         word keywords, suggested by Steve Pearlmutter.
7411         (verilog-pretty-declarations): Support lineup of declarations in
7412         port lists.
7413         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
7414         fix bug for /* / comments.
7415         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
7416         Speed up and simplfy as this is never called with a bound.
7417         (verilog-pretty-declarations): Enhance to line up declarations
7418         inside a parameter list, suggested by Alan Morgan.
7419         (verilog-pretty-expr): Tune assignment regular expression match
7420         string for corner cases; also use markers instead of character
7421         number as indent changes the later.
7423 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
7425         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
7426         as missing keyword.
7427         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
7428         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
7429         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
7430         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
7431         Tennant.
7432         (verilog-keywords):
7433         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
7434         1800-2009 keywords, including "global.".
7436 2010-04-06  John Wiegley  <jwiegley@gmail.com>
7438         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
7439         appearing in buffer list (if a live buffer name matched a recentf
7440         file basename).  Should use uniquify to offer a real solution.
7442 2010-04-06  John Wiegley  <jwiegley@gmail.com>
7444         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
7445         comment to code, and add a :version tag.
7446         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
7448 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
7450         Enable recentf-mode if using virtual buffers.
7451         * ido.el (recentf-list): Declare for byte-compiler.
7452         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
7453         (ido-make-buffer-list): Simplify.
7454         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
7456 2010-04-05  Juri Linkov  <juri@jurta.org>
7458         Scrolling commands which scroll a line instead of full screen.
7459         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
7461         * simple.el (scroll-up-line, scroll-down-line): New commands.
7462         Put property isearch-scroll=t on them.
7464         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
7465         Remove commands.
7467 2010-04-05  Juri Linkov  <juri@jurta.org>
7469         Scrolling commands which do not signal errors at top/bottom.
7470         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
7472         * simple.el (scroll-up-command, scroll-down-command): New commands.
7473         Put property isearch-scroll=t on them.
7475         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
7476         `scroll-down-command' and [next] from `scroll-up' to
7477         `scroll-up-command'.
7479         * emulation/cua-base.el: Put property CUA=move on
7480         `scroll-up-command' and `scroll-down-command'.
7481         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
7482         and `scroll-down-command' to `cua-scroll-down'.
7484 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
7486         * help.el (describe-mode): Return nil.
7488 2010-04-04  John Wiegley  <jwiegley@gmail.com>
7490         * ido.el (ido-use-virtual-buffers): New variable to indicate
7491         whether "virtual buffer" support is enabled for IDO.
7492         (ido-virtual): Face used to indicate virtual buffers in the list.
7493         (ido-buffer-internal): If a buffer is chosen, and no such buffer
7494         exists, but a virtual buffer of that name does (which would be why
7495         it was in the list), recreate the buffer by reopening the file.
7496         (ido-make-buffer-list): If virtual buffers are being used, call
7497         `ido-add-virtual-buffers-to-list' before the make list hook.
7498         (ido-virtual-buffers): New variable which contains a copy of the
7499         current contents of the `recentf-list', albeit pared down for the
7500         sake of speed, and with proper faces applied.
7501         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
7502         create a list of "virtual buffers" to present to the user in
7503         addition to the currently open set.  Note that this logic could
7504         get rather slow if that list is too large.  With the default
7505         `recentf-max-saved-items' of 200, there is little speed penalty.
7507 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7509         * font-lock.el: Require CL when compiling.
7510         (font-lock-turn-on-thing-lock): Use `case'.
7512 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
7514         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
7515         Zaretskii.
7517 2010-04-02  Juri Linkov  <juri@jurta.org>
7519         * ehelp.el (electric-help-orig-major-mode):
7520         New buffer-local variable.
7521         (electric-help-mode): Set it to original major-mode.  Doc fix.
7522         (with-electric-help): Use `electric-help-orig-major-mode' instead
7523         of (default-value 'major-mode).  Doc fix.
7524         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
7526 2010-04-02  Sam Steingold  <sds@gnu.org>
7528         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
7529         `vc-hg-command' with a list of flags.
7531         * progmodes/bug-reference.el (bug-reference-bug-regexp):
7532         Also accept "patch" and "RFE".
7533         (bug-reference-fontify): `bug-reference-url-format' can also be a
7534         function to be able to handle the bug kind.
7535         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
7537 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
7539         * tmm.el (tmm-get-keymap): Check with symbolp before passing
7540         value to fboundp, it may not be a symbol.
7542 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
7544         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
7546 2010-03-31  Juri Linkov  <juri@jurta.org>
7548         * simple.el (next-line, previous-line): Re-throw a signal
7549         with `signal' instead of using `ding'.
7550         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
7552 2010-03-31  Juri Linkov  <juri@jurta.org>
7554         * simple.el (keyboard-escape-quit): Raise deselecting the active
7555         region higher than exiting the minibuffer.
7556         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
7558 2010-03-31  Juri Linkov  <juri@jurta.org>
7560         * image.el (image-animated-p): Use `image-metadata' instead of
7561         `image-extension-data'.  Get GIF extenstion data from metadata
7562         property `extension-data'.
7564 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7566         * simple.el (append-to-buffer): Simplify.
7568 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
7570         * textmodes/artist.el (artist-mode): Fix typo in docstring.
7571         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
7573 2010-03-31  Kenichi Handa  <handa@m17n.org>
7575         * language/sinhala.el (composition-function-table): Fix regexp for
7576         the new Unicode specification.
7578         * language/indian.el (devanagari-composable-pattern)
7579         (tamil-composable-pattern, kannada-composable-pattern)
7580         (malayalam-composable-pattern): Adjust for the new Unicode
7581         specification.
7582         (bengali-composable-pattern, gurmukhi-composable-pattern)
7583         (gujarati-composable-pattern, oriya-composable-pattern)
7584         (telugu-composable-pattern): New variables to cope with the new
7585         Unicode specification.  Use them in composition-function-table.
7587 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7589         Make tmm-menubar work for the Buffers menu again (bug#5726).
7590         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
7591         vectors rather than cons cells, as used in menu-bar-update-buffers.
7593 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
7595         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
7596         (js-insert-and-indent): Revert 2009-08-15 change, restoring
7597         electric punctuation for "{}();,:" (Bug#5586).
7599         * mail/sendmail.el (mail-default-directory): Doc fix.
7601 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
7603         * mail/sendmail.el (mail-default-directory): Doc fix.
7605 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
7607         * subr.el (version-regexp-alist, version-to-list)
7608         (version-list-<, version-list-=, version-list-<=)
7609         (version-list-not-zero, version<, version<=, version=): Doc fix.
7610         (Bug#5744).
7612 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
7614         * vc.el (vc-root-diff): Doc fix.
7616 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
7618         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
7620         * simple.el (append-to-buffer): Fix last change.
7622 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
7624         * simple.el (append-to-buffer): Ensure that point is preserved if
7625         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
7626         (Bug#5749)
7628 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7630         * files.el (auto-mode-case-fold): Change default to t.
7632 2010-03-30  Juri Linkov  <juri@jurta.org>
7634         * dired-x.el (dired-omit-mode): Doc fix.
7636 2010-03-30  Juri Linkov  <juri@jurta.org>
7638         * replace.el (occur-accumulate-lines): Move occur-engine related
7639         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
7640         to be located after `occur-engine'.
7642 2010-03-30  Juri Linkov  <juri@jurta.org>
7644         Make occur handle multi-line matches cleanly with context.
7645         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
7647         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
7648         (occur-engine): Add local variables `ret', `prev-after-lines',
7649         `prev-lines'.  Use more arguments for `occur-context-lines'.
7650         Set first elem of its returned list to `data', and the second elem
7651         to `prev-after-lines'.  Don't print the separator line.
7652         In the end, print remaining context after-lines.
7653         (occur-context-lines): Add new arguments `begpt', `endpt',
7654         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
7655         after-lines of the previous match with before-lines of the
7656         current match and not overlap them.  Return a list with two
7657         values: the output line and the list of context after-lines.
7659 2010-03-30  Juri Linkov  <juri@jurta.org>
7661         * replace.el (occur-accumulate-lines): Fix a bug where the first
7662         context line at the beginning of the buffer was missing.
7664 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
7666         * files.el: Make bidi-display-reordering safe variable for boolean
7667         values.
7669 2010-03-29  Phil Hagelberg  <phil@evri.com>
7670             Chong Yidong  <cyd@stupidchicken.com>
7672         * subr.el: Extend progress reporters to perform "spinning".
7673         (progress-reporter-update, progress-reporter-do-update):
7674         Handle non-numeric value arguments.
7675         (progress-reporter--pulse-characters): New var.
7677 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
7679         * progmodes/compile.el (compilation-start): Fix regexp detection
7680         of initial cd command (Bug#5771).
7682 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
7684         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
7686 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
7688         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
7689         * progmodes/gdb-mi.el: Restore.
7690         * progmodes/gdb-ui.el: Remove.
7691         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
7693 2010-03-25  Glenn Morris  <rgm@gnu.org>
7695         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
7696         all dired buffers, even tramp ones.  (Bug#5755)
7698 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7700         Add "union tags" in mpc.el.
7701         * mpc.el: Remove backward compatibility code.
7702         (mpc-browser-tags): Change default.
7703         (mpc--find-memoize-union-tags): New var.
7704         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
7705         (mpc-cmd-find): Handle the case where the playlist does not exist.
7706         Handle union-tags.
7707         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
7708         (mpc-cmd-add): Use mpc-cmd-flush.
7709         (mpc-tagbrowser-tag-name): New fun.
7710         (mpc-tagbrowser-buf): Use it.
7711         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
7713 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7715         Misc cleanup.
7716         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
7717         Use replace-regexp-in-string.
7718         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
7719         (makefile-imake-mode-syntax-table): Move init into defvar.
7720         (makefile-mode): Use define-derived-mode.
7722         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
7723         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
7724         not be present any more.
7726 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
7728         * faces.el (set-face-attribute): Fix typo in docstring.
7729         (face-valid-attribute-values): Reflow docstring.
7731 2010-03-24  Glenn Morris  <rgm@gnu.org>
7733         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
7735 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
7737         * indent.el (indent-for-tab-command): Doc fix.
7739 2010-03-24  Alan Mackenzie  <acm@muc.de>
7741         * progmodes/cc-engine.el (c-remove-stale-state-cache):
7742         Fix off-by-one error.  Fixes bug #5747.
7744 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
7746         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
7747         (image-dired-read-comment): Doc fix.
7749         * json.el (json-object-type, json-array-type, json-key-type)
7750         (json-false, json-null, json-read-number):
7751         * minibuffer.el (completion-in-region-functions):
7752         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
7753         (cal-tex-cursor-week):
7754         * emacs-lisp/trace.el (trace-function):
7755         * eshell/em-basic.el (eshell/printnl):
7756         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
7757         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
7758         * obsolete/levents.el (allocate-event, event-key, event-object)
7759         (event-point, event-process, event-timestamp, event-to-character)
7760         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
7761         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
7762         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
7763         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
7764         (reftex-highlight-selection): Fix typos in docstrings.
7766 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
7768         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
7770 2010-03-24  Glenn Morris  <rgm@gnu.org>
7772         * mail/rmail.el (rmail-highlight-face): Restore option deleted
7773         2008-02-13 without comment; mark it obsolete.
7774         (rmail-highlight-headers): Use rmail-highlight-face once more.
7776 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
7778         * woman.el (woman2-process-escapes): Only consume the newline if
7779         the filler character is on a line by itself (Bug#5729).
7781 2010-03-24  Kenichi Handa  <handa@m17n.org>
7783         * language/indian.el (devanagari-composable-pattern): Add more
7784         consonants.
7786 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
7788         * net/trampver.el: Update release number.
7790 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
7792         * net/tramp.el (tramp-find-executable):
7793         Use `tramp-get-connection-buffer'.  Make the regexp for checking
7794         output of "wc -l" more robust.
7795         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
7796         (tramp-open-connection-setup-interactive-shell): Remove workaround
7797         for OpenSolaris bug, it is not needed anymore.
7799 2010-03-24  Glenn Morris  <rgm@gnu.org>
7801         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
7803 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
7805         * files.el (auto-mode-alist): Accept more verilog file patterns.
7807 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7809         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
7811 2010-03-24  Glenn Morris  <rgm@gnu.org>
7813         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
7814         log-edit-before-checkin-process.
7816         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
7818         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
7820         * vc-dispatcher.el (vc-start-logentry): Doc fix.
7821         (log-view-process-buffer, log-edit-extra-flags): Declare.
7823         * log-edit.el (log-edit-before-checkin-process): Doc fix.
7825 2010-03-23  Sam Steingold  <sds@gnu.org>
7827         Fix bug#5620: recalculate all markers on compilation buffer
7828         modifications, not on file modifications.
7829         * progmodes/compile.el (buffer-modtime): New buffer-local variable:
7830         the buffer modification time, for buffers not associated with files.
7831         (compilation-mode): Create it.
7832         (compilation-filter): Update it.
7833         (compilation-next-error-function): Use it instead of
7834         `visited-file-modtime' for timestamp.
7836 2010-03-23  Juri Linkov  <juri@jurta.org>
7838         Implement Occur multi-line matches.
7839         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
7841         * replace.el (occur): Doc fix.
7842         (occur-engine): Set `begpt' to the beginning of the first line.
7843         Set `endpt' to the end of the last match line.  At first, count
7844         line numbers between `origpt' and `begpt'.  Split out code from
7845         `out-line' variable to new let-bindings `match-prefix' and
7846         `match-str'.  In `out-line' add non-numeric prefix to all
7847         non-first lines of multi-line matches.  Finally, count lines
7848         between `begpt' and `endpt' and add to `lines'.
7850 2010-03-23  Juri Linkov  <juri@jurta.org>
7852         * replace.el (occur-accumulate-lines, occur-engine):
7853         Use `occur-engine-line' instead of duplicate code.
7854         (occur-engine-line): New function created from duplicate code
7855         in `occur-accumulate-lines' and `occur-engine'.
7857         * replace.el (occur-engine-line): Add optional arg `keep-props'.
7858         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
7860 2010-03-23  Juri Linkov  <juri@jurta.org>
7862         * finder.el: Remove TODO tasks.
7864         * info.el (Info-finder-find-node): Add node "all"
7865         with all package info.  Handle a list of multiple keywords
7866         separated by comma.
7867         (info-finder): In interactive use with a prefix argument,
7868         use `completing-read-multiple' to read a list of keywords
7869         separated by comma.
7871 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7873         Add a new completion style `substring'.
7874         * minibuffer.el (completion-basic--pattern): New function.
7875         (completion-basic-try-completion, completion-basic-all-completions):
7876         Use it.
7877         (completion-substring--all-completions)
7878         (completion-substring-try-completion)
7879         (completion-substring-all-completions): New functions.
7880         (completion-styles-alist): New style `substring'.
7882 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7884         Get rid of .elc files after removal of the corresponding .el.
7885         * Makefile.in (compile-clean): New target.
7886         (compile-main): Use it.
7888 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
7890         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
7891         don't do make there.  When compiling with separate object dir, there
7892         is no Makefile there.
7894 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7896         Get rid of the ELCFILES abomination, again.
7897         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
7898         (all, compile): Don't call compile-last.
7899         (compile-main): Build the "elcfiles" list dynamically.
7900         (compile-targets): New (internal) target.
7902 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
7904         * Makefile.in (top_srcdir): Define.
7905         (abs_top_builddir): Define.
7906         (srcdir): Don't append `/..'.
7907         (EMACS): Use ${abs_top_builddir}.
7908         (all, compile, compile-always, compile-last): Don't set emacswd.
7909         (update-subdirs, update-authors): Use $(top_srcdir) instead of
7910         $(srcdir).
7911         (lisp): Use $(srcdir) instead of @srcdir@.
7913 2010-03-21  Juri Linkov  <juri@jurta.org>
7915         Fix message of multi-line occur regexps and multi-buffer header lines.
7916         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
7918         * replace.el (occur-1): Don't display regexp if it is longer
7919         than window-width.  Use `query-replace-descr' to display regexp.
7920         (occur-engine): Don't display regexp in the buffer header for
7921         multi-buffer occur.  Display a separate header line with total
7922         match count and regexp for multi-buffer occur.
7923         Use `query-replace-descr' to display regexp.
7925 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
7927         * net/secrets.el: Fix parenthesis.
7928         (secrets-enabled): Fix parenthesis.
7930 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7932         Use more relative file and directory names.
7933         * Makefile.in (EMACS): Arrange for it to work when we chdir.
7934         (setwins, setwins_almost, setwins_for_subdirs):
7935         Don't `cd'; output relative names.
7936         (all, compile, compile-always, compile-last): Set emacswd.
7937         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
7938         Just cd to the lisp source dir so we can use relative file names.
7940         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
7942 2010-03-20  Glenn Morris  <rgm@gnu.org>
7944         * textmodes/rst.el: Use faces for font-lock customization, and make the
7945         old -face variables obsolete.
7946         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
7947         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
7948         (rst-block-face, rst-external-face, rst-definition-face)
7949         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
7950         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
7951         Make obsolete.
7952         (rst-font-lock-keywords-function): Update for above changes.
7954 2010-03-20  Juri Linkov  <juri@jurta.org>
7956         * s-region.el:
7957         * obsolete/s-region.el: Move to obsolete.
7959 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
7961         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
7963 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
7965         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
7967 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
7969         Add special markup processing for commit logs.
7970         * log-edit.el (log-edit-extra-flags): New variable.
7971         (log-edit): Add new argument MODE.  Use that mode when non-nil
7972         instead of the log-view-mode.
7973         (log-view-process-buffer): New function.
7975         * vc.el: Document that the checkin method takes optional
7976         arguments.  Document new backend specific method: log-view-mode.
7977         (vc-default-log-edit-mode): New function.
7978         (vc-checkin): Use a backend specific log-view-mode.
7979         Pass extra arguments to the checkin method.
7980         (vc-modify-change-comment): Pass a dummy extra argument.
7982         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
7983         log-edit.
7984         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
7985         (vc-finish-logentry): Process the log buffer before passing it
7986         down.  Pass log-edit-extra-flags.
7988         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
7989         command.
7990         (log-edit-extra-flags, log-edit-before-checkin-process):
7991         New declarations.
7993         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
7994         command.
7995         (log-edit-extra-flags, log-edit-before-checkin-process):
7996         New declarations.
7997         (vc-hg-log-edit-mode): New derived mode.
7999         * vc-arch.el (vc-arch-checkin):
8000         * vc-cvs.el (vc-cvs-checkin):
8001         * vc-git.el (vc-git-checkin):
8002         * vc-mtn.el (vc-mtn-checkin):
8003         * vc-rcs.el (vc-rcs-checkin):
8004         * vc-sccs.el (vc-sccs-checkin):
8005         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
8007 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8009         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
8010         parent typo).
8012 2010-03-19  Glenn Morris  <rgm@gnu.org>
8014         * password-cache.el (password-cache, password-cache-expiry): Autoload.
8016 2010-03-18  Glenn Morris  <rgm@gnu.org>
8018         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
8020         * replace.el (query-replace-history): Give it a doc string.
8021         (map-query-replace-regexp): Use query-replace-from-history-variable
8022         and query-replace-to-history-variable.
8024         * mail/hashcash.el (declare-function): Remove duplicate definition.
8026         * mail/emacsbug.el (report-emacs-bug-pretest-address):
8027         Make it an obsolete alias for report-emacs-bug-address.
8028         (message-strip-special-text-properties): Declare.
8029         (report-emacs-bug): Remove test for a pretest bug address.
8030         Combine message-mode-specific code.
8032         * mail/supercite.el: Don't require sendmail.
8033         (mh-in-header-p): Declare rather than using with-no-warnings.
8034         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
8035         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
8037         * calendar/cal-french.el: Convert to utf-8.
8039         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
8040         Emacs scripts.
8042 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
8044         * net/secrets.el (secrets-enabled): New variable.  Use it instead
8045         of a subfeature.
8047 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
8049         * net/secrets.el (top): Register the D-Bus signals only when the
8050         service "org.freedesktop.secrets" can be pinged.
8051         Provide subfeature `enabled'.
8053 2010-03-14  Juri Linkov  <juri@jurta.org>
8055         Add finder unknown keywords.
8057         * finder.el (finder-unknown-keywords): New function.
8059         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
8060         to create a Finder node with unknown keywords.
8062 2010-03-14  Juri Linkov  <juri@jurta.org>
8064         * finder.el (finder-compile-keywords): Replace `princ' with
8065         `prin1' on a list of symbols interned from keyword strings.
8067         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
8068         a comma, then split keywords using a comma and optional whitespace.
8069         Otherwise, split by whitespace.
8071         * complete.el:
8072         * face-remap.el:
8073         * log-view.el:
8074         * net/hmac-def.el:
8075         * net/hmac-md5.el:
8076         * net/netrc.el:
8077         * progmodes/mixal-mode.el: Fix keywords.
8079 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
8081         * Makefile.in (ELCFILES): Add net/secrets.elc.
8083         * net/secrets.el: New file.
8085 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
8087         * facemenu.el (list-colors-display, list-colors-print): New arg
8088         callback.  Use it to allow selecting colors.
8090         * wid-edit.el (widget-image-insert): Insert image prop even if the
8091         current display is non-graphic.
8092         (widget-field-value-set): New fun.
8093         (editable-field): Use it.
8094         (widget-field-value-get): Clean up unused var.
8095         (widget-color-value-create, widget-color--choose-action):
8096         New funs.  Allow using list-colors-display to choose color.
8098 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
8100         * cus-edit.el: Resort topmost custom groups.
8101         (custom-buffer-sort-alphabetically): Default to t.
8102         (customize-apropos): Use apropos-parse-pattern.
8103         (custom-search-field): New var.
8104         (custom-buffer-create-internal): Add custom-apropos search field.
8105         (custom-add-parent-links): Don't display parent doc.
8106         (custom-group-value-create): Don't sort top-level custom group.
8107         (custom-magic-value-create): Show visibility button before option name.
8109         (custom-variable-state): New fun, from custom-variable-state-set.
8110         (custom-variable-state-set): Use it.
8111         (custom-group-value-create): Hide options with standard values
8112         using the :hidden-states property.  Use progress reporter.
8114         (custom-show): Simplify.
8115         (custom-visibility): Disable images by default.
8116         (custom-variable): New property :hidden-states.
8117         (custom-variable-value-create): Enable images for
8118         custom-visibility widgets.  Use :hidden-states property to
8119         determine initial visibility.
8121         * wid-edit.el (widget-image-find): Give images center ascent.
8122         (visibility): Add :on-image and :off-image properties.
8123         (widget-visibility-value-create): Use them.
8125 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
8127         * cus-edit.el (processes): Remove from development group.
8128         (oop, hypermedia): Delete group.
8129         (comm): Promote to top-level group.
8131         * net/browse-url.el (browse-url):
8132         * net/xesam.el (xesam):
8133         * net/tramp.el (tramp):
8134         * net/goto-addr.el (goto-address):
8135         * net/ange-ftp.el (ange-ftp): Put in comm group.
8137         * view.el (view): Remove from editing group.
8139         * uniquify.el (uniquify): Put in files group.
8141         * net/browse-url.el (browse-url):
8142         * ps-print.el (postscript): Put in external group.
8144         * cus-edit.el (outlines):
8145         * textmodes/text-mode.el (text-mode-hook):
8146         * textmodes/table.el (table):
8147         * textmodes/picture.el (picture):
8148         * outline.el (outlines): Put in wp group.
8150         * nxml/nxml-mode.el (nxml): Remove from wp group.
8152         * net/tramp-imap.el (tramp-imap): Put in tramp group.
8154         * mail/metamail.el (metamail): Remove from hypermedia group.
8156         * cus-edit.el (abbrev):
8157         * whitespace.el (whitespace):
8158         * vcursor.el (vcursor):
8159         * reveal.el (reveal):
8160         * hl-line.el (hl-line): Put in convenience group.
8162         * epg-config.el (epg): Put in data group.
8164         * emulation/pc-select.el (pc-select): Put in emulations group.
8166         * calculator.el (calculator): Put in applications group.
8168 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
8170         Add .dir-locals.el support for file-less buffers.
8171         * files.el (hack-local-variables): Split out code to apply local
8172         variable settings ...
8173         (hack-local-variables-apply): ... here.  New function.
8174         (hack-dir-local-variables): Use the default directory for when the
8175         buffer does not have an associated file.
8176         (hack-dir-local-variables-non-file-buffer): New function.
8177         * diff-mode.el (diff-mode):
8178         * vc-annotate.el (vc-annotate-mode):
8179         * vc-dir.el (vc-dir-mode):
8180         * log-edit.el (log-edit-mode):
8181         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
8183 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
8185         Add support for shelving snapshots and for showing shelves.
8186         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
8187         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
8188         New functions.
8189         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
8190         (vc-bzr-extra-menu-map): Map them.
8192 2010-03-11  Glenn Morris  <rgm@gnu.org>
8194         * cus-edit.el (customize-changed-options-previous-release):
8195         Bump to 23.1.
8197         * image.el (image-animate-max-time): Fix :version tag.
8199 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
8201         * Branch for 23.2.
8203 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8205         * vc-git.el (vc-git-revision-table): Include remote branches.
8207 2010-03-10  Kim F. Storm  <storm@cua.dk>
8209         Animated image API.
8210         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
8212         * image.el (image-animate-max-time): New defcustom.
8213         (image-animated-types): New defconst.
8214         (create-animated-image, image-animate-timer)
8215         (image-animate-start, image-animate-stop, image-animate-timeout)
8216         (image-animated-p): New functions.
8218         * image-mode.el (image-toggle-display-image):
8219         Replace `create-image' with `create-animated-image'.
8221 2010-03-09  Miles Bader  <miles@gnu.org>
8223         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
8224         instead of "format:"; this ensures that the output is
8225         newline-terminated.
8227 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
8229         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
8230         that all errors are caught, and that the return value is always a
8231         list (Bug#5692).
8233 2010-03-08  Kenichi Handa  <handa@m17n.org>
8235         * language/misc-lang.el (windows-1256): New coding system.
8236         (cp1256): New alias of windows-1256 (bug#5690).
8238 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
8240         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
8241         call to rfc822-bad-address.  (Bug#5692)
8243 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
8245         * vc-git.el (vc-git-annotate-extract-revision-at-line):
8246         Use vc-git-root as default directory for revision path (Bug#5657).
8248 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
8250         * calculator.el (calculator): Don't bind split-window-keep-point
8251         (Bug#5674).
8253 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8255         * vc-git.el: Re-flow to fit into 80 columns.
8256         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
8257         Remove spurious `quote' element in each case alternative.
8258         (vc-git-show-log-entry): Use prog1.
8259         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
8261 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8263         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
8265 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
8267         * macros.el (insert-kbd-macro): Look up keyboard macro using the
8268         definition, not the name (Bug#5481).
8270 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
8272         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
8273         argument with a local variable.  (Bug#5670)
8275 2010-03-02  Juri Linkov  <juri@jurta.org>
8277         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
8279 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
8281         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
8282         error when FILENAME and NEWNAME are existing remote directories.
8284         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
8285         parameter DIR-FLAG.
8287 2010-03-02  Glenn Morris  <rgm@gnu.org>
8289         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
8290         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
8292 2010-03-01  Kenichi Handa  <handa@m17n.org>
8294         * language/burmese.el (burmese-composable-pattern): Rename from
8295         myanmar-composable-pattern.
8297         * international/characters.el (script-list):
8298         * international/fontset.el (script-representative-chars):
8299         Change myanmar to burmese.
8300         (otf-script-alist): Likewise.
8301         (setup-default-fontset): Likewise.  Re-fix :otf spec.
8303 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
8305         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
8307 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
8309         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
8311 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
8313         * net/tramp.el (tramp-handle-write-region): START can be a string.
8314         Take care in the checks.  Reported by Dan Davison
8315         <davison@stats.ox.ac.uk>.
8317 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
8319         * net/dbus.el (dbus-introspect, dbus-get-property)
8320         (dbus-set-property, dbus-get-all-properties):
8321         Use `dbus-call-method' when noninteractive.  (Bug#5645)
8323 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
8325         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
8326         * emacs-lisp/elint.el (elint-add-required-env):
8327         * calendar/icalendar.el (icalendar--add-diary-entry):
8328         * calc/calcalg2.el (math-tracing-integral):
8329         * files.el (recover-session-finish): Use with-current-buffer
8330         instead of save-excursion.
8332 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8334         Fix in-buffer completion when after-change-functions modify the buffer.
8335         * minibuffer.el (completion--replace): New function.
8336         (completion--do-completion): Use it and use relative movement.
8338 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
8340         * international/fontset.el (setup-default-fontset): Fix :otf spec.
8342 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
8344         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
8345         Allow the characters _<> in the stack entry (Bug#5653).
8347 2010-02-26  Kenichi Handa  <handa@m17n.org>
8349         * language/burmese.el: Fix entries in composition-function-table.
8350         (myanmar-composable-pattern): New variable.
8352         * international/fontset.el (setup-default-fontset): Add an entry
8353         for myanmar.
8355         * international/characters.el (script-list): Add Myanmar
8356         Extended-A.
8358 2010-02-26  Glenn Morris  <rgm@gnu.org>
8360         * custom.el (custom-initialize-delay): Doc fix.
8362         * mail/sendmail.el (send-mail-function): Autoload the call
8363         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
8365 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
8367         * files.el (hack-local-variables-filter): For eval forms, also
8368         check safe-local-variable-p (Bug#5636).
8370 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
8372         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
8373         setting the modes by `ignore-errors'.  It might fail, for example
8374         if the file is not owned by the user but the group.
8375         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
8377 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
8379         * files.el (directory-listing-before-filename-regexp): Use
8380         stricter matching for iso-style dates, to avoid false matches with
8381         date-like filenames (Bug#5597).
8383         * htmlfontify.el (htmlfontify): Doc fix.
8385         * eshell/eshell.el (eshell): Doc fix.
8387         * startup.el (fancy-about-screen): In mode-line, apply
8388         mode-line-buffer-id face only to the buffer name (Bug#5613).
8390 2010-02-20  Kevin Ryde  <user42@zip.com.au>
8392         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8393         In `watcom' anchor regexp to start of line, to avoid slowness
8394         (Bug#5599).
8396 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
8398         * subr.el (remove-yank-excluded-properties): Explain in a comment
8399         why `category' property is removed.
8401 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
8403         * isearch.el (isearch-update-post-hook, isearch-update): Revert
8404         2010-02-17 change.
8406 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
8408         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
8409         (icalendar--convert-weekly-to-ical)
8410         (icalendar--convert-yearly-to-ical)
8411         (icalendar--convert-block-to-ical)
8412         (icalendar--convert-cyclic-to-ical)
8413         (icalendar--convert-anniversary-to-ical): Take care of time
8414         specifications where hour has 1-digit only (Bug#5549).
8416 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
8418         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
8419         of disassemble output in GDB 7.1.
8421 2010-02-19  Glenn Morris  <rgm@gnu.org>
8423         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
8424         property.  (Bug#5593)
8426 2010-02-18  Sam Steingold  <sds@gnu.org>
8428         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
8430 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8432         Use abbreviated file names in bookmarks (bug#5591).
8433         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
8434         calls to expand-file-name.
8435         (bookmark-relocate): Use abbreviated file names in bookmarks.
8436         (bookmark-load): Use abbreviated file names in messages.
8438 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
8440         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
8441         expand "." and "..".  Reported by Thierry Volpiatto
8442         <thierry.volpiatto@gmail.com>.
8444 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
8446         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
8447         permissions of the temporary file to "0600".  In case the remote
8448         file has no read permissions for the owner, there might be
8449         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
8451 22010-02-18  Glenn Morris  <rgm@gnu.org>
8453         * emacs-lisp/authors.el (authors-renamed-files-alist):
8454         Add entries for INSTALL.CVS.
8456 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
8458         * vc-bzr.el: Fix typo in Known Bugs section.
8460         * isearch.el (isearch-update-post-hook): New hook.
8461         (isearch-update): Use the new hook.
8463 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
8465         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
8466         Fix errors in copying directories.
8467         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
8468         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
8469         (tramp-handle-delete-file)
8470         (tramp-handle-dired-recursive-delete-directory)
8471         (tramp-handle-write-region): Flush also the cache for the upper
8472         directory.
8474 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
8476         * simple.el (save-interprogram-paste-before-kill): Doc fix.
8478         * cus-edit.el (hardware): Doc fix.
8480         * man.el (man): Add to external custom group.
8482         * delim-col.el (columns): Move to wp custom group.
8484         * doc-view.el (doc-view): Add to data custom group.
8486         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
8488         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
8489         by ispell-parse-output (Bug#5575).
8491 2010-02-16  Kenichi Handa  <handa@m17n.org>
8493         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
8494         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
8495         (skkdic-convert): Use `euc-japan' coding system for writing.
8497 2010-02-16  Glenn Morris  <rgm@gnu.org>
8499         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
8500         tex-main-file before using it.  (Bug#5562)
8502 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8504         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
8505         warnings, since it is annoying for the user to see them each time he
8506         runs the code.
8508 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
8510         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
8511         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
8512         instead of PROC for caching "first-password-request".  Otherwise,
8513         new processes would not profit from passwords already entered.
8515         * net/tramp-cache.el (tramp-dump-connection-properties):
8516         Don't save "first-password-request" property.
8518 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
8520         * outline.el (outline-head-from-level):
8521         * simple.el (with-wrapper-hook):
8522         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
8523         (elint-defun, elint-buffer-env, elint-top-form-logged)
8524         (elint-unbound-variable):
8525         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
8526         Fix typos in docstrings.
8528 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
8530         * files.el (insert-directory): When WILDCARD-REGEXP and
8531         FULL-DIRECTORY-P are nil, insert the file entry instead of the
8532         whole directory.  (Bug#5551)
8534         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
8535         dired's alignment sanity.  (Bug#5516)
8537 2010-02-14  Juri Linkov  <juri@jurta.org>
8539         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
8540         Remove remaining ^H with their preceding chars.  (Bug#5566)
8542 2010-02-13  Glenn Morris  <rgm@gnu.org>
8544         * simple.el (transpose-subr): Give it a doc-string.
8546         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
8547         Doc fixes.
8549 2010-02-12  Juri Linkov  <juri@jurta.org>
8551         * arc-mode.el (archive-unique-fname): Make directories for nested
8552         archives.  (Bug#5540)
8554 2010-02-12  Juri Linkov  <juri@jurta.org>
8556         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
8558 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8560         * subr.el (copy-overlay): Handle deleted overlays.
8562         * man.el (Man-completion-table): Don't signal an error if we can't run
8563         manual-program (bug#4056).
8565 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
8567         * textmodes/artist.el (artist-mt): Fix typos in docstring.
8569 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8571         * info.el (Info-bookmark-jump): Simplify.
8573         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
8574         (bookmark-default-handler): Accept new bookmark field `buffer'.
8576 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
8578         * iswitchb.el (iswitchb-completions): Revert last change.
8580 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
8582         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
8583         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
8584         This prevents file names like "~/" being listed literally.
8586 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
8588         * term/xterm.el (xterm-maybe-set-dark-background-mode):
8589         Remove dead code.  (Bug#5546)
8591 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
8593         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
8594         correctly (Bug#5548).
8596 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
8598         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
8599         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
8601 2010-02-08  Kenichi Handa  <handa@m17n.org>
8603         * international/mule-util.el (with-coding-priority): Add autoload
8604         cookie for putting `lisp-indent-function'.
8606 2010-02-07  Glenn Morris  <rgm@gnu.org>
8608         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
8609         Move F2003 named interfaces from keywords-2 to keywords-1, and
8610         use function-name-face rather than constant-face.
8611         Simplify "abstract interface" regexp.
8613 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
8615         * eshell/esh-util.el (eshell-file-attributes): New optional arg
8616         ID-FORMAT.  Pass it to `file-attributes'.
8618         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
8620 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
8622         * faces.el (set-face-attribute): Allow calling
8623         internal-set-lisp-face-attribute with 'unspecified family and
8624         foundry argument (Bug#5536).
8626 2010-02-07  Glenn Morris  <rgm@gnu.org>
8628         * progmodes/f90.el (f90-font-lock-keywords-2)
8629         (f90-looking-at-type-like, f90-looking-at-program-block-end):
8630         Handle F2003 named interfaces.
8632 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
8634         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
8635         beg and end before calling c-get-state-before-change-functions.
8637 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
8639         * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
8641 2010-02-05  Juri Linkov  <juri@jurta.org>
8643         * doc-view.el (doc-view-mode):
8644         * image-mode.el (image-mode): Put property mode-class=special.
8645         (Bug#4896)
8647 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
8649         * vc-svn.el (vc-svn-revision-table): New function.
8651 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
8653         * net/ange-ftp.el (ange-ftp-insert-directory):
8654         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
8655         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
8656         Handle also directories.  (Bug#5478)
8658 2010-02-05  Glenn Morris  <rgm@gnu.org>
8660         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
8662 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
8664         * startup.el (command-line-1): Convert options beginning with a
8665         single dash as well (Bug#5519).
8667 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8669         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
8670         * minibuffer.el (completion-initials-expand): Only check the presence
8671         of delims *within* the boundaries, since otherwise the / delim is
8672         always found for files.
8674         Fix up various corner case problems.
8675         * doc-view.el (doc-view-last-page-number): New function.
8676         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
8677         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
8678         (doc-view-kill-proc): Avoid inf-loop in freak cases.
8679         (doc-view-reconvert-doc): Use the new recursive delete-directory.
8680         (doc-view-convert-current-doc): Don't create the resolution.el file
8681         here any more.
8682         (doc-view-pdf/ps->png): Do it here instead.
8683         (doc-view-already-converted-p): Check that resolution.el is present.
8684         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
8685         windows that are not yet showing images.
8687 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
8689         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
8690         `dired-uncache' for every elemnt which is an absolute file name.
8692         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
8693         directory, handle its directory component.
8694         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
8695         function is called permanently and creates noise, otherwise.
8697         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
8698         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
8699         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
8701 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
8703         * macros.el (apply-macro-to-region-lines):
8704         Minor simplification.  (Bug#5485)
8706 2010-02-04  Glenn Morris  <rgm@gnu.org>
8708         * mail/rmail.el (rmail-show-message-1): Handle malformed
8709         quoted-printable text.  (Bug#5441)
8711         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
8713         * simple.el (visual-line-mode): Capitalize lighter.
8715 2010-02-03  John Wiegley  <jwiegley@gmail.com>
8717         * iswitchb.el (iswitchb-completions): Add bookmark files to the
8718         list of files considered for "virtual buffer" completions.
8720 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
8722         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
8723         also in case of (and (not full) (not wildcard)).  This is needed
8724         when dired is called with a list of files, which are not in
8725         `default-directory'.  (Bug#5478)
8727 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8729         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
8731 2010-02-02  Juri Linkov  <juri@jurta.org>
8733         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
8734         from unidiff to allow function-line after @@.
8736 2010-02-02  Juri Linkov  <juri@jurta.org>
8738         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
8739         '(RCS SCCS) with inverted condition.
8741 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
8743         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
8744         messages.
8746 2010-02-01  Juri Linkov  <juri@jurta.org>
8748         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
8749         compare with "pkunzip" and "pkzip" instead of only "pkzip".
8750         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
8751         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
8753 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8755         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
8756         (doc-view-revert-buffer): New command.
8757         (doc-view-mode-map): Use it.
8759 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
8761         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
8762         pending merge is detected.
8764 2010-01-31  Juri Linkov  <juri@jurta.org>
8766         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
8767         beginning of interactive spec like all other grep commands do.
8768         Put "all" in front of "gz".  (Bug#5260)
8770 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
8772         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
8774 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
8776         * dirtrack.el (dirtrack): Warn instead of signalling error if the
8777         regexp is incorrect (Bug#5476).
8779 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
8781         * net/tramp.el (tramp-handle-insert-directory): Handle also
8782         symlinks, when FILENAME is not in `default-directory'.
8784 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
8786         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
8787         FILE is not in `default-directory'.  (Bug#5478)
8789         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
8790         of SWITCHES.  Handle the case, FILENAME is not in
8791         `default-directory'.  (Bug#5478)
8792         (tramp-register-file-name-handlers): Add safe-magic property.
8794 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
8796         * arc-mode.el (archive-zip-extract): Quote the argument passed to
8797         unzip (Bug#5475).
8799 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
8801         * progmodes/flymake.el (flymake-allowed-file-name-masks)
8802         (flymake-master-make-header-init): Add other C++ filename masks.
8803         (flymake-find-possible-master-files)
8804         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
8806 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
8808         Fix some busybox annoyances.
8810         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
8811         not responding." string.
8812         (tramp-open-connection-setup-interactive-shell): Dump stty
8813         settings.  Enable "neveropen" arg for all `tramp-send-command'
8814         calls.  Handle "=" in variable values properly.
8815         (tramp-find-inline-encoding): Raise an error, when no encoding is
8816         found.
8817         (tramp-wait-for-output): Check, whether PROC buffer is available.
8818         Remove spurious " ^H" sequences, sent by busybox.
8819         (tramp-get-ls-command): Suppress coloring, if possible.
8821 2010-01-28  Glenn Morris  <rgm@gnu.org>
8823         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
8825         * log-edit.el (log-edit-strip-single-file-name): Add missing
8826         :safe, :group, and :version tags.
8828 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
8830         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
8831         buffers.  (Bug#5477)
8833 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
8835         * files.el (delete-directory): Handle moving to trash without
8836         first doing recursion (Bug#5436).
8838 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
8840         * vc-hooks.el (vc-path): Mark as obsolete.
8842 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
8844         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
8845         names too.
8847         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
8848         for the short log.
8849         (vc-bzr-log-view-mode): Adjust regexp for the above change.
8851 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
8853         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
8855         * vc-bzr.el (vc-bzr-revision-table): New function.
8857 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>  (tiny change)
8859         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
8860         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
8862 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
8864         Remove support for adding --signoff on commit.
8865         Future support will use an incompatible generic mechanism.
8866         * vc-git.el (vc-git-add-signoff): Remove variable.
8867         (vc-git-toggle-signoff): Remove function.
8868         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
8870         * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
8871         from xterm-set-background-mode.  Return t if the background mode
8872         was set.
8873         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
8874         earlier, call it again in case the background mode has changed.
8876 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
8878         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
8879         (Bug#3541).
8881 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
8883         * emacs-lisp/assoc.el (aelement): Doc fix.
8884         (aput, adelete, amake): Use lexical-let (Bug#5450).
8886 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
8888         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
8889         is the same as subprogram call, not declaration.  (Bug#5435).
8891 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
8893         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
8894         (tramp-smb-maybe-open-connection): Use it.
8896 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
8898         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
8900 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8902         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
8903         just because we see "encoding: 8bit".
8904         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
8906 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
8908         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
8910 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
8912         * jka-compr.el (jka-compr-load): If load-file is not in
8913         load-history, try its file-truename version.  (bug#5447)
8915 2010-01-21  Alan Mackenzie  <acm@muc.de>
8917         Fix a situation where deletion of a cpp construct throws an error.
8918         * progmodes/cc-engine.el (c-invalidate-state-cache):
8919         Before invoking c-with-all-but-one-cpps-commented-out, check that the
8920         special cpp construct is still in the buffer.
8921         (c-parse-state): Record the special cpp with markers, not numbers.
8923 2010-01-21  Kenichi Handa  <handa@m17n.org>
8925         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
8926         process last-command-event, as it is now decoded first (Bug#5380).
8928 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
8930         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
8932 2010-01-20  Glenn Morris  <rgm@gnu.org>
8934         * indent.el (tab-always-indent): Fix custom-type.
8936 2010-01-19  Alan Mackenzie  <acm@muc.de>
8938         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
8939         buffer throws "args out of range".
8940         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
8941         playing the role of delimiter.
8943 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
8945         * progmodes/ada-mode.el: Fix bug#5400.
8946         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
8947         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
8948         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
8949         Improve comments in "is" portion.  Handle null procedure declaration.
8950         (ada-move-to-end): Improve doc string.
8952 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
8954         * ido.el (ido-cur-list): Initialize to nil.
8955         Remove obsolete information from commentary.
8956         (ido-choice-list): Initialize to nil.
8957         (ido-get-bufname): Reject minibuffers.
8958         (ido-make-buffer-list): If "default" is a nonexistent
8959         buffer, ignore it, as per the function's comment.
8960         (ido-kill-buffer-internal): New function.
8961         (ido-kill-buffer-at-head): Use it.
8962         (ido-visit-buffer): Likewise.
8964 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
8966         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
8968 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
8970         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
8971         Fix typos in chart titles.
8973         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
8974         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
8975         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
8976         (describe-class, eieio-describe-generic, describe-generic):
8977         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
8978         (eieio-speedbar-expand):
8979         * emulation/viper-cmd.el (viper-exec-form-in-vi)
8980         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
8981         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
8982         (viper-del-backward-char-in-replace, viper-backward-indent)
8983         (viper-brac-function, viper-register-to-point, viper-submit-report):
8984         * net/tramp.el (tramp-remote-coding-commands):
8985         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
8986         Fix typos in docstrings.
8988 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
8990         * mail/sendmail.el (mail-yank-original): Set the mark if the
8991         specified function for yanking does not do it.
8993 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
8995         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
8997         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
8998         resyncing a directory.
9000 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
9002         * progmodes/ada-mode.el: Fix bug#1920.
9003         (ada-ident-re): Delete ., allow multibyte characters.
9004         (ada-goto-label-re): New; matches goto labels.
9005         (ada-block-label-re): New; matches block labels.
9006         (ada-label-re): New; matches both.
9007         (ada-named-block-re): Deleted; callers changed to use
9008         `ada-block-label-re' instead.
9009         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
9010         Use `ada-block-label-re'.
9011         (ada-indent-on-previous-lines): Improve handling of goto labels.
9012         (ada-get-indent-block-start): Special-case block label.
9013         (ada-get-indent-label): Split into `ada-indent-block-label' and
9014         `ada-indent-goto-label'.
9015         (ada-goto-stmt-start, ada-goto-next-non-ws):
9016         Optionally ignore goto labels.
9017         (ada-goto-next-word): Simplify.
9018         (ada-indent-newline-indent-conditional): Insert newline before
9019         trying to fix indentation; doc fix.
9021 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
9023         * calc/calc.el (calc-command-flags): Give it an initial value.
9025 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
9027         * files.el (minibuffer-with-setup-hook):
9028         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
9029         (artist-key-draw-continously, artist-key-do-continously-continously)
9030         (artist-key-set-point-continously, artist-mouse-draw-continously):
9031         Fix typos in docstrings.
9033 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
9035         * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
9036         return t (Bug#3898).
9038 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
9040         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
9041         can parse the output of the external commands (Bug#5279).
9043 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
9045         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
9047 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
9049         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
9051         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
9053         * startup.el (command-line): Remove unused --icon-type arg.
9054         Handle --display arg, passing it to command-line-1 (Bug#5392).
9056 2010-01-16  Mario Lang  <mlang@delysid.org>
9058         * emacs-lisp/chart.el (chart-translate-namezone):
9059         * textmodes/artist.el (artist-compute-popup-menu-table):
9060         Remove duplicated words in doc-strings.
9062 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
9064         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
9065         to mairix-search to suppress threading (Bug#5342).
9067 2010-01-15  Kenichi Handa  <handa@m17n.org>
9069         * international/mule-cmds.el (canonicalize-coding-system-name):
9070         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
9072 2010-01-15  Glenn Morris  <rgm@gnu.org>
9074         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
9076         * wid-edit.el (widget-keymap): Doc fix.
9078         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
9079         former seems to be more widely accepted by various svn versions.
9081 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
9083         * find-cmd.el (find-constituents):
9084         * vc-arch.el (vc-arch-root):
9085         * window.el (window-body-height, pop-up-frames):
9086         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
9087         * progmodes/ada-stmt.el (ada-if):
9088         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
9089         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
9090         (ispell-encoding8-command, ispell-aspell-supports-utf8)
9091         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
9093         * progmodes/flymake.el (flymake-post-syntax-check):
9094         Fix typo in error message.
9096 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
9098         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
9099         which is always a string.  (Bug#5313)
9101 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
9103         * progmodes/ada-xref.el (ada-default-prj-properties):
9104         Simplify previous change.
9106 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
9108         * progmodes/ada-xref.el (ada-default-prj-properties):
9109         Default ada_project_path to $ADA_PROJECT_PATH.
9111 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
9113         * progmodes/ada-mode.el (ada-create-keymap):
9114         Override `narrow-to-defun' with `ada-narrow-to-defun'.
9116 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
9118         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
9119         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
9120         (ada-get-current-indent, ada-imenu-generic-expression)
9121         (ada-which-function): Check for it.
9123 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
9125         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
9126         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
9128 2010-01-14  Glenn Morris  <rgm@gnu.org>
9130         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
9132 2010-01-14  Kenichi Handa  <handa@m17n.org>
9134         * composite.el (auto-composition-mode): Make it a buffer local
9135         variable (permanent-local).
9136         (auto-composition-function): Set the default value to
9137         auto-compose-chars.
9138         (auto-composition-mode): Make it a simple function, not a minor mode.
9139         (global-auto-composition-mode): Likewise.
9140         (turn-on-auto-composition-if-enabled): Delete it.
9142 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
9144         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
9146 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
9148         * files.el (copy-directory): Compute target for recursive
9149         directories with identical names.  (Bug#5343)
9151 2010-01-12  Glenn Morris  <rgm@gnu.org>
9153         * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
9154         it to bug-gnu-emacs rather than emacs-pretest-bug.
9156 2010-01-11  Sam Steingold  <sds@gnu.org>
9158         * imenu.el (imenu-default-create-index-function): Detect infinite
9159         loops caused by imenu-prev-index-position-function.
9161 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
9163         * htmlfontify.el (htmlfontify-load-rgb-file)
9164         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
9165         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
9166         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
9167         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
9168         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
9169         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
9170         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
9171         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
9172         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
9173         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
9174         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
9175         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
9176         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
9177         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
9178         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
9179         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
9180         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
9181         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
9182         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
9183         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
9184         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
9185         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
9186         backslash-quoting from parentheses, etc.
9188 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
9190         * progmodes/js.el: Autoload javascript-mode alias.
9192 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
9194         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
9195         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
9196         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
9197         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
9198         Fix typos in docstrings.
9199         (ffap-url-regexp): Doc fix.
9200         (ffap-at-mouse): Fix typo in message.
9202 2010-01-11  Glenn Morris  <rgm@gnu.org>
9204         * version.el (emacs-copyright): Set copyright year to 2010.
9206 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9208         * format.el (format-annotate-function): Only set
9209         write-region-post-annotation-function after running to-fn so as not to
9210         affect nested write-region calls (bug#5273).
9212 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
9214         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
9215         wisent/python.el.
9217 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
9219         * man.el (Man-goto-section): Signal error if the section is not
9220         found (Bug#5317).
9222 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
9224         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
9225         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
9227 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
9229         * progmodes/compile.el: Don't treat compile-command as safe if
9230         compilation-read-command might be nil (Bug#4218).
9232 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
9234         * startup.el (command-line-1): Use orig-argi to check for ignored X and
9235         NS options.
9237 2010-01-08  Kenichi Handa  <handa@m17n.org>
9239         * international/fontset.el (build-default-fontset-data):
9240         Exclude characters in scripts kana, hangul, han, or cjk-misc.
9242 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
9244         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
9245         to `create-file-buffer' as it expects, not just a buffer name.
9246         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
9247         to help uniquify.  (Bug#3224)
9249 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
9251         * font-setting.el (font-setting-change-default-font): Use user-spec
9252         instead of name.
9254 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
9256         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
9258 2010-01-05  Tom Tromey  <tromey@redhat.com>
9260         * progmodes/python.el (python-font-lock-keywords):
9261         Handle qualified decorators (Bug#881).
9263 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
9265         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
9266         in a lightweight checkout.
9268 2010-01-05  Kenichi Handa  <handa@m17n.org>
9270         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
9272 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
9274         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
9276 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
9278         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
9279         checkouts.  (Bug#618)
9280         (vc-bzr-log-view-mode): Also highlight the author.
9281         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
9282         (vc-bzr-shelve-menu-map):
9283         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
9284         (vc-bzr-shelve-apply): Make prompt more explicit.
9286 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
9288         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
9289         They are valid characters in URL paths (rfc3986), and at least
9290         Firefox does not understand the encoded version (Bug#3166).
9292 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
9294         * progmodes/octave-mod.el (octave-end-keywords)
9295         (octave-block-begin-or-end-regexp, octave-block-match-alist):
9296         Add "end" keyword (Bug#3061).
9297         (octave-end-as-array-index-p): New function.
9298         (calculate-octave-indent): Use it.
9300 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9302         * bookmark.el: Consistently put the text property on the bookmark name.
9303         (bookmark-bmenu-marks-width): Bump back to 2, to include
9304         annotation marks.
9305         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
9306         property on the bookmark name, instead of not putting it at all.
9307         (bookmark-bmenu-list): Fix where we put the text property.
9309 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9311         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
9312         for showing buffer modified state (as added in the previous change).
9314 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9316         * bookmark.el: Show modified state of bookmark buffer more accurately.
9317         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
9318         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
9319         (with-buffer-modified-unmodified): New macro.
9320         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
9321         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
9322         Use new macro to preserve the buffer modified state.
9324 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9326         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
9327         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
9328         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
9329         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
9330         (bookmark-bmenu-rename, bookmark-bmenu-locate)
9331         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
9332         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
9334 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
9336         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9337         Make the lines in the generated doc string shorter.  (Bug#4668)
9339 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
9341         * net/rcirc.el: Add follow-link binding (Bug#4738).
9343 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
9345         * Makefile.in (bzr-update): Rename from cvs-update.
9346         (cvs-update): New target for backward compatibility.
9348         * makefile.w32-in (bzr-update): Rename from cvs-update.
9349         (cvs-update): New target for backward compatibility.
9351 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9353         * bookmark.el: Remove gratuitous gratitude.
9355 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9357         * bookmark.el (bookmark-bmenu-any-marks): New function.
9358         (bookmark-bmenu-save): Clear buffer modification if no marks.
9360 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9362         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
9363         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
9364         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
9365         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
9367         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
9368         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
9369         To: emacs-devel {_AT_} gnu.org
9370         Subject: bookmark.el bug report
9371         Date: Mon, 28 Dec 2009 14:19:16 +0800
9372         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
9374 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9376         * bookmark.el: Improvements suggested by Drew Adams:
9377         (bookmark-bmenu-ensure-position): New name for
9378         `bookmark-bmenu-check-position'.  Just ensure the position,
9379         don't return any meaningful value.
9380         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
9381         New constants.
9383 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
9385         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
9386         (bookmark-yank-point, bookmark-bmenu-check-position):
9387         Fix typos in docstrings.
9388         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
9389         (bookmark-name-from-full-record, bookmark-get-position)
9390         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
9391         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
9392         Remove useless quoting of parenthesis, etc. in docstrings.
9394         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
9395         (ediff-append-custom-diff): Fix typo in error message.
9396         (ediff-meta-mark-equal-files): Fix typos in messages.
9398         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
9400         * net/imap-hash.el (imap-hash-make): Doc fix.
9401         (imap-hash-test): Fix typo in error message; reflow docstring.
9402         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
9403         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
9404         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
9405         Fix typos in docstrings.
9406         (imap-hash-open-connection): Fix typo in error message.
9408         * play/gomoku.el (gomoku): Fix typos in docstring.
9410         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
9411         (gdb-jsonify-buffer): Fix typos in docstring.
9412         (gdb-goto-breakpoint): Fix typo in error message.
9413         ("Display Other Windows"): Fix typo in help message.
9414         (gdb-speedbar-expand-node): Fix typo in question.
9416         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
9417         (idlwave-html-system-help-location, idlwave-html-help-location)
9418         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
9419         (idlwave-help-browser-generic-args, idlwave-help-directory)
9420         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
9421         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
9422         (idlwave-online-help, idlwave-help-html-link)
9423         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
9424         Fix typos in docstrings.
9425         (idlwave-help-with-source, idlwave-help-find-routine-definition):
9426         Reflow docstrings.
9427         (idlwave-help-assistant-start): Fix typo in error message.
9429         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
9430         (octave-electric-space): Fix typos in docstrings.
9432 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
9434         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
9436 2010-01-01  Juri Linkov  <juri@jurta.org>
9438         * comint.el (comint-input-ring-size): Make it a defcustom and
9439         increase the default to 500 (Bug#5148).
9441 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
9443         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
9444         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
9445         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
9447 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
9449         Show working revision correctly for mercurial.
9450         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
9451         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
9453 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
9455         Declare some functions for the byte-compiler.
9456         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
9457         (speedbar-timer-fn, speedbar-change-expand-button-char)
9458         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
9460 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
9462         This changeset reverts GDB Graphical Interface to use annotations.
9463         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
9465 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
9467         Make vc-dir work on subdirectories of the bzr root.
9468         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.  Return
9469         file names relative to it.
9470         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
9471         relative directory to vc-bzr-after-dir-status.
9473 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
9475         * font-lock.el (font-lock-refresh-defaults): New function, which
9476         can be used to let font-lock react to external changes in
9477         variables like font-lock-defaults and keywords.
9478         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
9480 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
9482         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
9484         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
9486 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
9488         Supersede color.diff settings in git log (bug#5211).
9490         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
9491         escape chars in its output when the user has color.diff set to `always'.
9492         This fix works on git 1.4.2 and newer (released on 2006-08-13).
9494 2009-12-26  Kevin Ryde  <user42@zip.com.au>
9496         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
9497         node.  Keep previous "Index" name to work with past coreutils too.
9499         * man.el (man): Revise docstring a bit to show -a and -l as
9500         examples.  Add -k description since support for it has otherwise
9501         been a secret.  (Further to bug#3717.)
9502         (Man-bgproc-sentinel): When "-k foo" produces no output show error
9503         "no matches" rather than "Can't find manpage", as the latter reads
9504         like -k was interpreted as a page name, which is not so.  (Bug#5431)
9506 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
9508         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
9509         switches.  Check also for //SUBDIRED// line.
9511 2009-12-25  Kenichi Handa  <handa@m17n.org>
9513         * language/indian.el (devanagari-composable-pattern): Fixed to
9514         handle ZWNJ and ZWJ.  Use it in composition-function-table for
9515         Devanagari.
9516         (malayalam-composable-pattern): Fix previous change.
9518 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
9520         * ps-print.el (ps-face-attributes): It was not returning the
9521         attribute face for faces specified as string.  Reported by harven
9522         <harven@free.fr>.  (Bug#5254)
9523         (ps-print-version): New version 7.3.5.
9525 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
9527         * calendar/icalendar.el (icalendar--convert-tz-offset):
9528         Fix timezone names.
9529         (icalendar--convert-tz-offset): Fix the "last-day-problem".
9530         (icalendar--add-diary-entry): Remove the trailing blank that
9531         diary-make-entry inserts.
9533 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
9535         Make `file-expand-wildcards' work for remote files.
9537         * files.el (file-expand-wildcards): In case of remote files, check
9538         only local file name part for wildcards.  Provide feature 'files
9539         and subfeature 'remote-wildcards.  (Bug#5198)
9541         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
9542         if there is already an established connection.
9543         (tramp-advice-file-expand-wildcards): Remove it.
9545         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
9546         (tramp-advice-file-expand-wildcards): Move from tramp.el.
9547         Activate advice for older GNU Emacs versions.  (Bug#5237)
9549 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
9551         Some doc fixes (more needed).
9553         * find-cmd.el (find-constituents): Reflow docstring.
9554         (find-cmd, find-prune, find-command): Fix typos in docstrings.
9555         (find-generic): Doc fix.
9557 2009-12-17  Juri Linkov  <juri@jurta.org>
9559         Fix regression from 23.1 to allow multiple modes in Local Variables.
9561         * files.el (hack-local-variables-filter): While ignoring duplicates,
9562         don't take `mode' into account.
9563         (hack-local-variables-filter, hack-dir-local-variables):
9564         Don't remove duplicate `mode' from local-variables-alist (like `eval').
9566 2009-12-17  Juri Linkov  <juri@jurta.org>
9568         Make `dired-diff' safer.  (Bug#5225)
9570         * dired-aux.el (dired-diff): Signal an error when `file' equals to
9571         `current' or when `file' is a directory of the `current' file.
9573 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
9575         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
9576         unconditionally preloaded files.
9578 2009-12-16  Juri Linkov  <juri@jurta.org>
9580         Revert to old 23.1 logic of using the file at the mark as default.
9581         * dired-aux.el (dired-diff): Use the file at the mark as default
9582         if it's not the same as the current file, and the target dir is
9583         the current dir or the mark is active.  Add the current file
9584         as the arg of `dired-dwim-target-defaults'.  Use the default file
9585         in the prompt.  (Bug#5225)
9587 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
9589         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
9590         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
9591         (tramp-check-for-regexp): Check also, when an echoing shell stops
9592         to echo sent commands.
9594 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
9596         * Makefile.in: Revert last change (Bug#5191).
9598 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
9600         * vc-hg.el (vc-hg-print-log): Fix argument order.
9601         (vc-hg-working-revision): Make sure the command is executed in a
9602         known environment so that we can parse the output.  (Bug#4417)
9604 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
9606         * progmodes/python.el (python-symbol-completions): Remove text
9607         properties from symbol string before calling python-send-receive.
9609 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
9611         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
9612         when there are values for both file and line.  (Bug#5060)
9614 2009-12-14  Juri Linkov  <juri@jurta.org>
9616         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
9617         whitespace after the file name of the first line of unified format,
9618         because git-diff doesn't output whitespace and file modification time
9619         after the file name.
9621 2009-12-14  David Kastrup  <dak@gnu.org>
9623         * info.el (Info-hide-cookies-node): Before hiding a cookie,
9624         check if it already has the `display' property added by
9625         `Info-display-images-node', and not put the `invisible' property
9626         in this case.
9628 2009-12-13  Glenn Morris  <rgm@gnu.org>
9630         * mail/emacsbug.el (message-sort-headers): Define for compiler.
9631         (report-emacs-bug): In message-mode, sort manually before storing
9632         original report text.  (Bug#5178)
9633         Remove superfluous save-excursion.
9635 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
9637         * net/dbus.el (dbus-property-handler): Filter lambda forms out
9638         when responding to "GetAll" properties.
9640 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
9642         * simple.el (compose-mail): Remove mail-setup-with-from from
9643         customization checks.
9645 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
9647         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
9648         RAR archives created on Unix systems.
9650 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9652         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
9653         the varalias that was accidentally removed by the 2009-11-19 change
9654         (bug#5186).
9656 2009-12-12  Kenichi Handa  <handa@m17n.org>
9658         * language/indian.el (indian-compose-regexp): New function.
9659         (malayalam-composable-pattern): Fix the pattern.
9660         (composition-function-table): Set malayalam-composable-pattern for
9661         Malayalam characters.
9663 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
9665         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
9666         rather than down-mouse-1, based on follow-link conventions.
9668         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
9669         are compiled.
9671 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
9673         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
9674         (verilog-vmm-statement-re, verilog-ovm-statement-re)
9675         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
9676         (verilog-leap-to-head, verilog-backward-token):
9677         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
9679 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
9681         * progmodes/verilog-mode.el (verilog-auto-lineup)
9682         (verilog-nameable-item-re): Cleanup user-visible spelling and
9683         documentation errors.  One reported by Gary Delp.
9684         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
9685         (verilog-read-decls): Fix AUTOWIRE with types declared in a
9686         package, bug195.  Reported by Pierre-David Pfister.
9688 2009-12-11  Glenn Morris  <rgm@gnu.org>
9690         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
9692         * mail/emacsbug.el: No longer require sendmail.
9693         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
9694         (report-emacs-bug-orig-text): Doc fix.
9695         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
9696         New local variables, to adapt to different mail-user-agents.
9697         (report-emacs-bug): Fix test for a gnu.org address.
9698         Use overlays for emphasis, since font-lock defeats 'face property.
9699         Pretest bugs also end up at the newsgroup these days.
9700         Stop message-mode stripping text properties.
9701         Set and use the new buffer-local variables.
9702         (report-emacs-bug-hook): Add doc-string.
9703         Remove some unnecessary save-excursions and simplify.
9704         Use the appropriate hook and send-command.
9706         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
9707         capitalization of some menu entries.
9709 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
9711         * whitespace.el (whitespace-display-char-on):
9712         Ensure `buffer-display-table' is unique when two or more windows are
9713         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
9714         New version 12.1.
9716 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
9718         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
9719         characters in the Attribute field.
9721 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
9723         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
9725 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9727         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
9728         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9729         Disregard autoload-excludes.
9730         (update-directory-autoloads): Obey autoload-excludes here instead.
9731         But don't store its contents in no-autoloads and remove entries that
9732         refer to excludes files.
9734 2009-12-10  Glenn Morris  <rgm@gnu.org>
9736         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
9737         (expand-mail-aliases): Define for compiler.
9739         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
9740         Define for compiler.
9742         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
9743         appropriate for the mail-user-agent in use.
9745 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
9747         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
9749 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
9751         Fix short log parsing and fontification.
9752         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
9753         Fix fontification for the [merge] label.
9755 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
9757         Drop some properties to avoid surprises (bug#5002).
9758         * htmlfontify.el (hfy-ignored-properties): New defcustom.
9759         (hfy-fontify-buffer): Use it.
9761 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9763         Minor cleanup.
9764         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
9765         Adjust all callers.
9766         (ffap-locate-file): Remove unused arg `dir-ok' and make other
9767         args compulsory.  Adjust callers.
9768         (ffap-gopher-at-point): Remove unused var `name'.
9770         Get rid of the ELCFILES abomination.
9771         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
9772         (compile-elcfiles): New phony target.
9773         (compile-main): Compute ELCFILES dynamically.
9774         (compile-clean): New target to remove left-over elc files.
9775         (compile, all): Use it.
9777 2009-12-09  Kenichi Handa  <handa@etlken>
9779         * international/mule-diag.el: Require help-mode instead of help-fns.
9781 2009-12-09  Kenichi Handa  <handa@m17n.org>
9783         * international/mule-cmds.el (ucs-names): Supply sufficiently
9784         fine ranges instead of pre-calculating accurate ranges.
9785         Iterate with bigger gc-cons-threshold.
9787 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
9789         Add support for stashing a snapshot of the current tree.
9790         * vc-git.el (vc-git-stash-snapshot): New function.
9791         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
9793 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
9795         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
9796         instead of `(beginning|end)-of-line'.
9798 2009-12-08  Glenn Morris  <rgm@gnu.org>
9800         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
9802         * Makefile.in (ELCFILES): Regenerate.
9804 2009-12-07  Juri Linkov  <juri@jurta.org>
9806         Don't lazy-highlight the comint output in history Isearch mode.
9808         * comint.el (comint-history-isearch-search): Instead of
9809         `comint-line-beginning-position', use `comint-after-pmark-p'
9810         to check if point if before the process mark, and go to
9811         `process-mark' in this case.
9813 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9815         * textmodes/tex-mode.el (latex-complete)
9816         (latex-indent-or-complete): Remove.
9817         (latex-mode): Set completion-at-point-functions instead.
9819         Provide a standard completion command and hook it into TAB.
9820         * minibuffer.el (completion-at-point-functions): New var.
9821         (completion-at-point): New command.
9822         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
9823         * progmodes/python.el (python-mode-map): Use completion-at-point.
9824         (python-completion-at-point): Rename from python-partial-symbol and
9825         adjust for use in completion-at-point-functions.
9826         (python-mode): Setup completion-at-point for Python completion.
9827         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
9828         extracted from lisp-complete-symbol.
9829         (lisp-complete-symbol): Use it.
9830         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
9831         setup completion-at-point for Elisp completion.
9832         (emacs-lisp-mode-map, lisp-interaction-mode-map):
9833         Use completion-at-point.
9834         * ielm.el (ielm-map): Use completion-at-point.
9835         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
9836         * progmodes/sym-comp.el: Move to...
9837         * obsolete/sym-comp.el: Move from progmodes.
9839 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
9841         Prevent save-buffer in Rmail buffers from using the coding-system
9842         of the current message, and from clobbering the encoding mnemonics
9843         in the mode line (Bug#4623).
9845         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
9846         flag, too.
9847         (rmail-message-encoding): New variable.
9848         (rmail-write-region-annotate): Record the encoding of the current
9849         message in rmail-message-encoding.
9850         (rmail-after-save-hook): New function, restores the encoding of
9851         the current message after the message collection is saved.
9853 2009-12-07  Juri Linkov  <juri@jurta.org>
9855         * progmodes/grep.el (grep-read-files): Use `completing-read'
9856         instead of `read-string'.  Set its `collection' arg to
9857         `read-file-name-internal'.  (Bug#4301)
9859 2009-12-07  Juri Linkov  <juri@jurta.org>
9861         Correctly restore original Isearch point.  (Bug#4994)
9863         * isearch.el (isearch-mode): Move `isearch-push-state' after
9864         `(run-hooks 'isearch-mode-hook)'.
9865         (isearch-cancel): When `isearch-push-state-function' is defined,
9866         let-bind `isearch-cmds' to the first state (the last element of
9867         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
9868         function and restores the original point).  Otherwise, move point
9869         to `isearch-opoint'.
9871 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9873         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
9874         chars that don't have names, so the table can be built much faster at
9875         run-time.
9877 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
9879         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
9880         change.  Suggested by David Kastrup.
9882         * simple.el (compose-mail): Check for incompatibilities and warn.
9883         (compose-mail-user-agent-warnings): New option.
9885 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
9887         Support showing a single log entry from vc-annotate.
9888         * vc.el (print-log): Add a new argument: START-REVISION.
9889         (vc-print-log-internal): Add a new optional argument and
9890         pass it to the backend.
9891         (vc-print-log, vc-print-root-log): Adjust callers.
9892         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
9893         buffer already displays the requested log entry, use it.
9894         Otherwise display only the log entry in question.
9895         * vc-svn.el (vc-svn-print-log):
9896         * vc-mtn.el (vc-mtn-print-log):
9897         * vc-hg.el (vc-hg-state):
9898         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
9899         (vc-git-show-log-entry): Return t on success.
9900         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
9901         (vc-bzr-show-log-entry): Return t on success.
9902         * vc-rcs.el (vc-rcs-print-log):
9903         * vc-sccs.el (vc-sccs-print-log):
9904         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
9906 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
9908         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
9909         Add menus to the meta mode.  (Bug#5043)
9911 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
9913         * ediff-init.el (ediff-event-key): Use event-to-character instead of
9914         event-key.
9916         * ediff.el (ediff-buffers-internal): Add unwind-protect.
9918 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
9920         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
9921         Berbain <raphael.berbain@gmail.com>.
9923         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
9924         characters.
9925         (tramp-initial-end-of-output): New defconst.
9926         (tramp-methods, tramp-find-shell)
9927         (tramp-open-connection-setup-interactive-shell)
9928         (tramp-maybe-open-connection): Use it.
9929         (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
9930         existence of `#' and `$'.
9932         * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
9933         `tramp-initial-end-of-output'.
9935 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
9937         Get the background mode from the terminal for xterm, and set
9938         faces accordingly.
9939         * term/xterm.el (xterm-set-background-mode): New function.
9940         (terminal-init-xterm): Use it in case xterm supports background
9941         color queries.  Recompute faces after getting the background
9942         color.
9944 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
9946         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
9947         number comment back on its own line, for easier parsing.
9949 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9951         Make it work for non-file buffers (bug#5102).
9952         * doc-view.el (doc-view-current-cache-dir):
9953         Use doc-view-buffer-file-name rather than buffer-file-name.
9954         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
9956 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
9958         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
9959         author field is too short.
9961 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
9963         * vc-git.el (vc-git-print-log): Handle a limit argument.
9964         Display the short log in graph form and with labels.
9965         (vc-git-log-view-mode): Handle labels.
9967         Make vc-revert change VC state from 'added to 'unregistered.
9968         * vc-git.el (vc-git-revert): Call git reset first.
9970 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
9972         * net/newst-backend.el, net/newst-plainview.el:
9973         * net/newst-reader.el, net/newst-ticker.el:
9974         * net/newst-treeview.el, net/newsticker.el:
9975         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
9977 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
9979         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
9981         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
9982         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
9983         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
9984         Update annotation regexp.
9986         * simple.el (beginning-of-visual-line): Constrain to field
9987         boundaries (Bug#5106).
9989 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
9991         * xml.el (xml-substitute-numeric-entities): Move
9992         newsticker--decode-numeric-entities in newst-backend.el to
9993         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
9994         * net/newst-backend.el (newsticker--parse-generic-feed)
9995         (newsticker--parse-generic-items)
9996         (newsticker--decode-numeric-entities): Move
9997         newsticker--decode-numeric-entities in newst-backend.el to
9998         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
10000 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
10002         * progmodes/js.el (js--js-not): Add null to the list of values.
10004 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
10006         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
10008 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
10010         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
10011         delimiter if it is at the end of the current line.
10012         (bibtex-generate-url-list): Fix docstring.
10014 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10016         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
10017         minibuffer's content with itself.
10018         Fold the confirm-after-completion case into the `confirm' case.
10019         (completion-pcm-word-delimiters): Add : and / to the delimiters.
10021 2009-12-06  Kevin Ryde  <user42@zip.com.au>
10023         * ffap.el (ffap-rfc-path): Make this a defcustom since
10024         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
10026         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
10027         manuals, similar to existing setup for help-mode.  (Bug#3913.)
10029 2009-12-05  Juri Linkov  <juri@jurta.org>
10031         Save and restore dired buffer's point positions too.  (Bug#4880)
10033         * dired.el (dired-save-positions): Return in the first element
10034         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
10035         Doc fix.
10036         (dired-restore-positions): First restore buffer's position.
10037         While restoring window's positions, check if window still displays
10038         the original buffer.
10040 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
10042         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
10043         if possible.
10045         * shell.el (shell): Require ansi-color (Bug#5113).
10047         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
10049         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
10051 2009-12-05  Alan Mackenzie  <acm@muc.de>
10053         * progmodes/cc-mode.el (c-before-hack-hook)
10054         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
10055         `c-file-style' to work again.  This reversion restores the current
10056         software to its state in Emacs 23.1.  (Bug#4146)
10058 2009-12-05  Kevin Ryde  <user42@zip.com.au>
10060         * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
10061         comment-start-skip to comment-end-skip as comment (Bug#4781).
10063 2009-12-05  Juri Linkov  <juri@jurta.org>
10065         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
10066         for virtual nodes.  (Bug#4147)
10067         (Info-find-node-2): Set `Info-current-node-virtual' to nil
10068         when moving from a virtual node.
10069         (Info-mode-menu): Add `Info-virtual-index' to the menu.
10070         (Info-mode): Add `Info-virtual-index' to the docstring.
10072 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
10074         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
10075         track of the buffer position of the end of a BibTeX entry as this
10076         position may change during reformatting.
10077         (bibtex-format-entry): Remove whitespace before processing
10078         numerical fields so that we recognize the latter properly.
10079         (bibtex-reformat): Do not use push which changes the global value
10080         of bibtex-entry-format.
10081         (bibtex-field-braces-alist, bibtex-field-strings-alist)
10082         (bibtex-field-re-init): Replace only space characters by regexp
10083         for whitespace.
10084         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
10085         (bibtex-initialize): Also update bibtex-strings.
10086         (bibtex-kill-field): Preserve white space at end of entry.
10087         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
10088         Update bibtex-reference-keys.
10090 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10092         * minibuffer.el (completion-pcm--merge-try): Also consider placing
10093         point after a star, if that's the only place where modifications can
10094         make progress.
10096 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
10098         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
10099         in docstrings.
10101 2009-12-04  Juri Linkov  <juri@jurta.org>
10103         * proced.el (proced): Call `(proced-update t)' to update process
10104         information instead of only running proced-post-display-hook.
10105         (proced-send-signal): Add a leading space to the buffer name
10106         " *Marked Processes*" to make this buffer ephemeral.
10108 2009-12-04  Juri Linkov  <juri@jurta.org>
10110         * dired.el (dired-auto-revert-buffer): New defcustom.
10111         (dired-internal-noselect): Use it.
10113 2009-12-04  Juri Linkov  <juri@jurta.org>
10115         Change roles of modes and functions in image-mode.el (Bug#5062).
10117         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
10118         in `auto-mode-alist'.
10119         (image-mode-previous-major-mode): New variable.
10120         (image-minor-mode-map): Rename from `image-mode-text-map'.
10121         (image-mode): Move graceful error-handling code from
10122         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
10123         (image-minor-mode): Remove all image-handling code.
10124         Replace `image-mode-text-map' with `image-minor-mode-map'.
10125         Check for `image-type' in mode-line format string.
10126         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
10127         (image-mode-as-text): New function with most code from
10128         `image-mode-maybe'.
10129         (image-toggle-display-text): Move code that removes image
10130         properties from `image-toggle-display' to here.
10131         (image-toggle-display-image): New function with code that adds
10132         image properties copied from `image-toggle-display'.
10133         (image-toggle-display): Remove most code with leaving only code
10134         that toggles between `image-mode-as-text' and `image-mode'.
10136 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
10138         * net/newst-treeview.el
10139         (newsticker--treeview-list-highlight-start): Restored call to
10140         save-excursion: Selected item was stuck.
10141         (newsticker--treeview-list-select): New.
10142         (newsticker--treeview-item-show-text)
10143         (newsticker--treeview-item-show)
10144         (newsticker--treeview-item-update): Use new
10145         newsticker-treeview-item-mode.
10146         (newsticker-treeview-update): Keep current item.
10147         (newsticker-treeview-next-new-or-immortal-item): Doc change.
10148         (newsticker--treeview-first-feed): Doc change.
10149         (newsticker-treeview-list-menu)
10150         (newsticker-treeview-item-menu): Added menu entries.
10151         (newsticker-treeview-item-mode): New.
10153         * net/newst-backend.el (newsticker-customize): Delete other
10154         windows.
10156 2009-12-04  Sam Steingold  <sds@gnu.org>
10158         * log-view.el (log-view-mode-map): "q" calls quit-window,
10159         like in all the other non-self-insert buffers.
10161 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10163         Minor cleanup.
10164         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
10165         key decoding rather than do it manually via last-input-event +
10166         ascii-character.
10167         (term-exec): Use delete-and-extract-region.
10168         (term-handle-ansi-terminal-messages): Remove unused var `end'.
10169         (term-process-pager): Remove unused var `i'.
10170         (term-dynamic-simple-complete): Make obsolete.
10171         (serial-update-config-menu): Remove unused vars `y' and `str'.
10172         (term-update-mode-line): Remove unused var `temp'.
10174 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
10176         Limit the number of log entries displayed by default.
10177         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
10178         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
10179         using a prefix argument.
10181 2009-12-03  Glenn Morris  <rgm@gnu.org>
10183         * progmodes/idlwave.el (class): Restore still useful declaration.
10185 2009-12-03  Alan Mackenzie  <acm@muc.de>
10187         Enhance `c-parse-state' to run efficiently in "brace deserts".
10189         * progmodes/cc-mode.el (c-basic-common-init):
10190         Call c-state-cache-init.
10191         (c-neutralize-syntax-in-and-mark-CPP): Rename from
10192         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
10193         placing `category' properties value 'c-cpp-delimiter at its boundaries.
10195         * progmodes/cc-langs.el (c-before-font-lock-function):
10196         c-extend-and-neutralize-syntax-in-CPP has been renamed
10197         c-neutralize-syntax-in-and-mark-CPP.
10199         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
10200         with `category' properties now, not `syntax-table' ones.
10202         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
10203         enhanced (but slower) version of c-end-of-macro that won't land
10204         inside a literal or on another awkward character.
10205         (c-state-cache-too-far, c-state-cache-start)
10206         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
10207         (c-state-nonlit-pos-cache-limit, c-state-point-min)
10208         (c-state-point-min-lit-type, c-state-point-min-lit-start)
10209         (c-state-min-scan-pos, c-state-brace-pair-desert)
10210         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
10211         buffer local variables.
10212         (c-state-literal-at, c-state-lit-beg)
10213         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
10214         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
10215         (c-state-cache-top-paren, c-state-cache-after-top-paren)
10216         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
10217         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
10218         (c-renarrow-state-cache)
10219         (c-append-lower-brace-pair-to-state-cache)
10220         (c-state-push-any-brace-pair, c-append-to-state-cache)
10221         (c-remove-stale-state-cache)
10222         (c-remove-stale-state-cache-backwards, c-state-cache-init)
10223         (c-invalidate-state-cache-1, c-parse-state-1)
10224         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
10225         (c-parse-state): Enhance and refactor.
10226         (c-debug-parse-state): Amend to deal with all the new variables.
10228         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
10229         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
10230         modify to use category text properties rather than syntax-table ones.
10231         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
10232         to switch off/on the syntactic paren property of C++ template
10233         delimiters using the category property.
10234         (c-with-<->-as-parens-suppressed): Macro to invoke code with
10235         template delims suppressed.
10236         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
10237         New constant/macros which apply category properties to the start
10238         and end of preprocessor constructs.
10239         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
10240         "comment out" the syntactic value of characters in preprocessor
10241         constructs.
10242         (c-with-cpps-commented-out)
10243         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
10244         with characters in all or all but one preprocessor constructs
10245         "commented out".
10247 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
10249         * proced.el (proced-filter-alist): Use regexp-quote.
10251 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
10253         Cleanup.
10254         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
10255         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
10256         arguments.  Expand `default-directory'.
10258         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
10259         the benefit of returning an expanded localname.
10260         (tramp-tramp-file-p): Handle the case NAME is not a string.
10262 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
10264         Add support for bzr shelve/unshelve.
10265         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10266         (vc-bzr-extra-menu-map): New variables.
10267         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
10268         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
10269         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
10270         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
10271         (vc-bzr-dir-extra-headers): Display shelves.
10273         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
10275 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10277         * textmodes/bibtex.el (bibtex-complete-internal):
10278         Use completion-in-region.
10279         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
10281 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
10283         Support applying stashes.  Improve UI.
10284         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
10285         (vc-git-stash-apply, vc-git-stash-pop)
10286         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
10287         (vc-git-stash-menu): New functions.
10288         (vc-git-stash-menu-map): New variable.
10289         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
10291 2009-12-03  Glenn Morris  <rgm@gnu.org>
10293         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
10294         (vc-print-log-internal): Fix previous change.
10295         (vc-revert): Correct pluralization.
10297 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10299         * progmodes/make-mode.el (makefile-special-targets-list): No need for
10300         it to be an alist any more.
10301         (makefile-complete): Use completion-in-region.
10303         * progmodes/octave-mod.el (octave-complete-symbol):
10304         Use completion-in-region.
10306         Misc cleanup.
10307         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
10308         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
10309         (idlwave-complete-class): Don't quote lambda.
10310         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
10311         (idlwave-mode-map): Move initialization into declaration.
10312         (idlwave-action-and-binding): Use backquotes.
10313         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
10314         Simplify.
10315         (idlwave-is-pointer-dereference): Remove unused var `pos'.
10316         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
10317         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
10318         `parts', and `all-parts'.
10319         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
10320         (idlwave-convert-xml-system-routine-info): Remove unused string
10321         `version-string'.
10322         (idlwave-display-user-catalog-widget): Use dolist.
10323         (idlwave-scanning-lib): Declare dynamically-scoped var.
10324         (idlwave-scan-library-catalogs): Remove unused var `flags'.
10325         (completion-highlight-first-word-only): Declare to silence bytecomp.
10326         (idlwave-popup-select): Tighten scope of `resp'.
10327         (idlwave-find-struct-tag): Remove unused var `beg'.
10328         (idlwave-after-load-rinfo-hook): Declare.
10329         (idlwave-sintern-class-info): Remove unused var `taglist'.
10330         (idlwave-find-class-definition): Remove unused var `list'.
10331         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
10332         (idlwave-what-module-find-class): Remove unused var `classes'.
10334 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
10336         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
10338 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10340         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
10341         buffers visited.  Remove redundant current-buffer-saving.
10343 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10345         Use completion-in-buffer and remove uses of dynamic scoping.
10346         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
10347         (pascal-buffer-to-use, pascal-flag): Don't declare.
10348         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
10349         (pascal-get-completion-decl, pascal-keyword-completion):
10350         Add `pascal-str' argument, save-excursion,
10351         return the found completions, and don't filter with pascal-pred.
10352         (pascal-completion-cache): New var.
10353         (pascal-completion): Don't switch buffer any more (it was never
10354         necessary).  Don't save-excursion any more (it's done by the called
10355         subroutines).  Use a cache to avoid redundant computations.
10356         Use complete-with-action rather than pascal-completion-response and
10357         let it apply the predicate as well.
10358         (pascal-complete-word): Use completion-in-buffer when
10359         pascal-toggle-completions is nil.
10360         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
10361         not used any more.
10362         (pascal-comp-defun): Don't change buffer any more.
10363         Use complete-with-action rather than pascal-completion-response and
10364         let it apply the predicate as well.
10365         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
10366         when neded.
10368 2009-12-02  Kenichi Handa  <handa@m17n.org>
10370         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
10371         shape for all Indic scripts.
10373 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10375         Use completion-in-buffer.
10376         * wid-edit.el (widget-field-text-end): New function.
10377         (widget-field-value-get): Use it.
10378         (widget-string-complete, widget-file-complete)
10379         (widget-color-complete): Use it and completion-in-region.
10380         (widget-complete): Don't narrow the buffer.
10382 2009-12-02  Glenn Morris  <rgm@gnu.org>
10384         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
10385         (rmail-select-summary): Use rmail-pop-to-buffer.
10386         * mail/rmailsum.el: Replace all pop-to-buffer calls with
10387         rmail-pop-to-buffer, to prevent horizontal splits.
10389         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
10390         save-excursion with save-current-buffer.
10391         Widen before searching.  (Bug#5093)
10392         (diary-list-sexp-entries): Remove superfluous save-excursion.
10394 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
10396         * woman.el (woman-make-bufname): Handle man-pages with "." in the
10397         name.  (Bug#5038)
10399 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
10401         * ido.el (ido-file-internal): Handle filenames at point that do
10402         not have a directory part.  (Bug#5049)
10404 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
10406         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
10407         (mpc-songs-jump-to, mpc-resume): Doc fixes.
10409 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
10411         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
10412         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
10413         any more.
10415 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10417         * comint.el (comint-insert-input): Ignore clicks to the right of
10418         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
10420         * vc.el (vc-print-log-internal): Don't wait for the process to
10421         terminate before setting up the major mode.
10423         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
10424         in case.
10426         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
10427         the last element.
10429         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
10431 2009-12-01  Glenn Morris  <rgm@gnu.org>
10433         * window.el (window--display-buffer-2): Fix previous changes.
10435 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
10437         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
10439 2009-12-01  Glenn Morris  <rgm@gnu.org>
10441         * Makefile.in (ELCFILES): Add mpc.elc.
10443 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10445         * mpc.el: New file.
10447 2009-12-01  Glenn Morris  <rgm@gnu.org>
10449         * window.el (window-to-use): Define for compiler.
10451         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
10452         consistent with others (no final period).
10454         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
10455         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
10457 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
10459         Make vc-print-log buttons work.
10460         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
10462 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
10464         * savehist.el (savehist-autosave-interval): Allow setting to nil
10465         through customize.  (Bug#5056)
10467 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
10469         Fix references to jit-lock properties.
10470         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
10471         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
10472         (perl-font-lock-special-syntactic-constructs):
10473         Quote jit-lock-defer-multiline property.
10475 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
10477         * vc-git.el (vc-git-registered): Call vc-git-root only once.
10479 2009-11-30  Juri Linkov  <juri@jurta.org>
10481         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
10482         value `buffer' of `multi-isearch-next-buffer-current-function'.
10483         Use `(current-buffer)' when `buffer' is nil.
10484         (multi-isearch-next-buffer-from-list): Don't fallback to
10485         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
10487 2009-11-30  Juri Linkov  <juri@jurta.org>
10489         * misearch.el (multi-isearch-read-buffers): Move canonicalization
10490         of buffers with `get-buffer' to `multi-isearch-buffers'.
10491         (multi-isearch-buffers, multi-isearch-buffers-regexp):
10492         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
10493         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
10494         FILES with `expand-file-name' converting relative file names
10495         to absolute.  Doc fix.  (Bug#4727)
10497 2009-11-30  Juri Linkov  <juri@jurta.org>
10499         * misearch.el (multi-isearch-read-buffers)
10500         (multi-isearch-read-matching-buffers): New functions.
10501         (multi-isearch-buffers, multi-isearch-buffers-regexp):
10502         Use them in the `interactive' spec.  Doc fix.
10503         (multi-isearch-read-files, multi-isearch-read-matching-files):
10504         New functions.
10505         (multi-isearch-files, multi-isearch-files-regexp):
10506         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
10508 2009-11-30  Juri Linkov  <juri@jurta.org>
10510         * doc-view.el (doc-view-continuous):
10511         Rename from `doc-view-continuous-mode'.
10512         (doc-view-menu): Move "Toggle display" to the top.
10513         Add submenu "Continuous" with radio buttons "Off"/"On"
10514         and "Save as Default".
10515         (doc-view-scroll-up-or-next-page)
10516         (doc-view-scroll-down-or-previous-page)
10517         (doc-view-next-line-or-next-page)
10518         (doc-view-previous-line-or-previous-page): Rename
10519         `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
10521 2009-11-30  Juri Linkov  <juri@jurta.org>
10523         * comint.el (comint-mode-map): Rebind `M-r' from
10524         `comint-previous-matching-input' to
10525         `comint-history-isearch-backward-regexp'.
10526         Unbind `M-s' to allow global key binding `M-s'.
10527         Add menu items for `comint-history-isearch-backward' and
10528         `comint-history-isearch-backward-regexp'.  (Bug#3746)
10530 2009-11-30  Juri Linkov  <juri@jurta.org>
10532         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
10533         For def=recenter, replace `recenter' with `recenter-top-bottom'
10534         that is called with `this-command' and `last-command' let-bound
10535         to `recenter-top-bottom'.  When the last `def' was not `recenter',
10536         set `recenter-last-op' to nil.  (Bug#4981)
10538 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10540         Minor cleanup and simplification.
10541         * filecache.el (file-cache-add-directory)
10542         (file-cache-add-directory-recursively)
10543         (file-cache-add-from-file-cache-buffer)
10544         (file-cache-delete-file-regexp, file-cache-delete-directory)
10545         (file-cache-files-matching-internal, file-cache-display): Use dolist.
10546         (file-cache-temp-minibuffer-message): Delete function.
10547         (file-cache-minibuffer-complete): Use minibuffer-message instead.
10549         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
10550         Don't signal an error when bumping into EOB in tr, s, or y.
10552 2009-11-29  Juri Linkov  <juri@jurta.org>
10554         * startup.el (fancy-about-text): Fix wording of Guided Tour.
10555         (Bug#4960)
10557         * descr-text.el (describe-char-unidata-list): Use lowercase name
10558         for "Unicode name" like in other tags.
10560 2009-11-29  Juri Linkov  <juri@jurta.org>
10562         * ediff-util.el (ediff-minibuffer-with-setup-hook):
10563         New compatibility macro.
10564         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
10566 2009-11-29  Juri Linkov  <juri@jurta.org>
10568         Add defcustom to define the cycling order of `recenter-top-bottom'.
10569         (Bug#4981)
10571         * window.el (recenter-last-op): Doc fix.
10572         (recenter-positions): New defcustom.
10573         (recenter-top-bottom): Rewrite to use `recenter-positions'.
10574         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
10576 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
10578         Improve integration of Tramp and ange-ftp in eshell.
10580         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
10581         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
10582         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
10584         * eshell/esh-util.el (top): Require also Tramp when compiling.
10585         (eshell-directory-files-and-attributes): Check for FTP remote
10586         connection.
10587         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
10588         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
10589         (eshell-file-attributes): Handle ".".  Return `entry'.
10591         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
10592         (ange-ftp-directory-files-and-attributes)
10593         (ange-ftp-real-directory-files-and-attributes): New defuns.
10595         * net/tramp.el (tramp-maybe-open-connection): Open the remote
10596         shell with "exec" when possible.  This prevents trailing prompts
10597         in `start-file-process'.
10599 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10601         Try and remove assumptions about point-min==1.
10602         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
10603         (rng-compute-mode-line-string): Show the validation percentage in
10604         terms of the narrowed text, not the widened text.
10605         (rng-do-some-validation): Don't catch internal errors when debugging.
10606         (rng-first-error): Simplify.
10607         (rng-after-change-function): Remove work around.  AFAIK the bug has
10608         been fixed a while ago.
10610         * image-mode.el (image-minor-mode): Exit more gracefully when the image
10611         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
10613         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
10615         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
10616         `cd' doesn't always do it for us (bug#5067).
10618         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
10619         on 2009-10-25 as part of some other change (bug#5067).
10621 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10623         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
10624         `suspicious'.
10625         (byte-compile-warnings): Use byte-compile-warning-types.
10626         (byte-compile-save-excursion): Warn about use of set-buffer right
10627         after save-excursion.
10629         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
10630         the excursion as well.
10632 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
10634         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
10635         providing a Tramp related implementation of "su" and "sudo".
10636         (eshell-unix-initialize): Add "su" and "sudo".
10638 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
10640         * net/socks.el (socks-send-command): Convert binary request to
10641         unibyte before sending.  This fixes mishandling of some port
10642         numbers such as 129.
10644 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10646         * help.el (describe-bindings-internal): Remove `interactive'.
10648         * man.el (Man-completion-table): Trim a terminating "(".
10649         Remove the space between name page a section.
10650         Add the command's description on the `help-echo' property.
10651         Remove `process-connection-type' binding since it's unused by
10652         call-process.
10653         Provide completion for the "<section> <name>" format as well.
10654         (Man-default-man-entry): Remove spurious var shadowing the argument.
10656 2009-11-26  Kevin Ryde  <user42@zip.com.au>
10658         * log-view.el: Add "Keywords: tools", since its other keywords
10659         aren't in finder-known-keywords, and following vc.el.
10661         * sha1.el (sha1-string-external): default-directory "/" in case
10662         otherwise non-existent.  process-connection-type pipe for touch of
10663         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
10665 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10667         Misc coding convention cleanups.
10668         * htmlfontify.el (hfy-init-kludge-hook): Rename from
10669         hfy-init-kludge-hooks.
10670         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
10671         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
10672         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
10673         and push.
10674         (hfy-slant, hfy-weight): Use tables rather than code.
10675         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
10676         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
10677         (hfy-face-attr-for-class): Initialize `face-spec' directly.
10678         (hfy-face-to-css): Remove `nconc' with single arg.
10679         (hfy-p-to-face-lennart): Use `or'.
10680         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
10681         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
10682         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
10683         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
10684         (hfy-force-fontification): Use run-hooks.
10686 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
10688         Various minor fixes.
10689         * htmlfontify.el (hfy-default-header): Add toggle_invis since
10690         Javascript belongs in the header, not the body.
10691         (hfy-javascript): Remove.
10692         (hfy-fontify-buffer): Don't insert it any more.
10693         (hfy-face-at): Handle (face0 face1 face2) style face properties.
10694         Fix bug in invis handling when there were no invis props in a chunk.
10696 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10698         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
10700 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
10702         * finder.el (finder-mode-map): Add a menu.
10704 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
10706         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
10707         "unsigned" structs.
10709         (verilog-leap-to-head, verilog-backward-token): Handle "disable
10710         fork" statement better.
10712 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
10714         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
10715         (verilog-delete-auto, verilog-delete-empty-auto-pair)
10716         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
10717         Reported by Clay Douglass.
10719         (verilog-auto-inst, verilog-auto-star-safe)
10720         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
10721         Fix removing "// Interfaces" when saving .* expansions.  Reported by
10722         Pierre-David Pfister.
10724 2009-11-26  Glenn Morris  <rgm@gnu.org>
10726         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
10727         the scope.
10729 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
10731         * vc-annotate.el (vc-annotate-revision-previous-to-line):
10732         Really use previous revision.
10734 2009-11-25  Kevin Ryde  <user42@zip.com.au>
10736         * man.el (Man-completion-table): default-directory "/" in case
10737         doesn't otherwise exist.  process-environment COLUMNS=999 so as
10738         not to truncate long names.  process-connection-type pipe to avoid
10739         any chance of hitting the pseudo-tty TIOCGWINSZ.
10740         (man): completion-ignore-case t for friendliness and since man
10741         itself is case-insensitive on the command line.
10742         Further to Bug#3717.
10744         * arc-mode.el: Add "Keywords: files", so the details in its
10745         commentary can be reached from finder-by-keyword.
10746         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
10747         editing mode, but it's comms related and sgml-mode.el has "comm"
10748         on that basis too.
10749         * textmodes/bibtex-style.el: Add "Keywords: tex".
10750         * international/isearch-x.el, international/ja-dic-cnv.el:
10751         * international/ja-dic-utl.el, international/kkc.el:
10752         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
10754 2009-11-25  Juri Linkov  <juri@jurta.org>
10756         * man.el (Man-completion-table): Modify regexp to include
10757         section names to completion strings.  (Bug#3717)
10759 2009-11-25  Juri Linkov  <juri@jurta.org>
10761         Search recursively in gzipped files.  (Bug#4982)
10763         * progmodes/grep.el (grep-highlight-matches): Add new options
10764         `always' and `auto'.  Doc fix.
10765         (grep-process-setup): Check `grep-highlight-matches' for
10766         `auto-detect' to determine the need to compute grep defaults.
10767         Move Windows/DOS specific --colors settings handling
10768         to `grep-compute-defaults'.  Check `grep-highlight-matches'
10769         to get the value of "--color=".
10770         (grep-compute-defaults): Compute `grep-highlight-matches' when it
10771         has the value `auto-detect'.  Move Windows/DOS specific settings
10772         from `grep-process-setup'.
10773         (zrgrep): New command with alias `rzgrep'.
10775 2009-11-25  Juri Linkov  <juri@jurta.org>
10777         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
10778         to nil instead of switching off view-mode.  (Bug#4896)
10780 2009-11-25  Juri Linkov  <juri@jurta.org>
10782         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
10784         * mwheel.el (mwheel-scroll-up-function)
10785         (mwheel-scroll-down-function): New defvars.
10786         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
10787         `scroll-up', and `mwheel-scroll-down-function' instead of
10788         `scroll-down'.
10790         * doc-view.el (doc-view-scroll-up-or-next-page)
10791         (doc-view-scroll-down-or-previous-page): Add optional ARG.
10792         Use this ARG in the call to image-scroll-up/image-scroll-down.
10793         Change `interactive' spec to "P".  Goto next/previous page only
10794         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
10795         SPC/DEL case).  Doc fix.
10796         (doc-view-next-line-or-next-page)
10797         (doc-view-previous-line-or-previous-page): Rename arg to ARG
10798         for consistency.
10799         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
10800         `doc-view-scroll-up-or-next-page', and buffer-local
10801         `mwheel-scroll-down-function' to
10802         `doc-view-scroll-down-or-previous-page'.
10804 2009-11-25  Juri Linkov  <juri@jurta.org>
10806         Provide additional default values (directories at other Dired
10807         windows) via M-n in the minibuffer of some Dired commands.
10809         * dired-aux.el (dired-diff, dired-compare-directories)
10810         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
10811         `minibuffer-default' in `minibuffer-with-setup-hook'.
10812         (dired-dwim-target-directory): Find a window that displays Dired
10813         buffer instead of failing when the next window is not Dired.
10814         Use `get-window-with-predicate' to find for the next Dired window.
10815         (dired-dwim-target-defaults): New function.
10817         * ediff-util.el (ediff-read-file-name):
10818         Use `dired-dwim-target-defaults' to set `minibuffer-default'
10819         in `minibuffer-with-setup-hook'.
10821 2009-11-25  Juri Linkov  <juri@jurta.org>
10823         Provide additional default values (file name at point or at the
10824         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
10826         * minibuffer.el (read-file-name-defaults): New function.
10827         (read-file-name): Reset `minibuffer-default' to nil when
10828         it duplicates initial input `insdef'.
10829         Bind `minibuffer-default-add-function' to lambda that
10830         calls `read-file-name-defaults' in `minibuffer-selected-window'.
10831         (minibuffer-insert-file-name-at-point): New command.
10833         * files.el (file-name-at-point-functions): New defcustom.
10834         (find-file-default): Remove defvar.
10835         (find-file-read-args): Don't use `find-file-default'.
10836         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
10837         to `read-file-name'.
10838         (find-file-literally): Use `read-file-name' with
10839         `confirm-nonexistent-file-or-buffer'.
10841         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
10843         * dired.el (dired-read-dir-and-switches):
10844         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
10845         to `read-file-name'.
10846         (dired-file-name-at-point): New function.
10847         (dired-mode): Add hook `dired-file-name-at-point' to
10848         `file-name-at-point-functions'.
10850 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10852         Really make the *Completions* window soft-dedicated (bug#5030).
10853         * window.el (window--display-buffer-2): Add `dedicated' argument.
10854         (display-buffer): Pass it when needed so the dedicated flag is set
10855         after calling set-window-buffer, which would otherwise reset it.
10857 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10859         * progmodes/meta-mode.el (meta-complete-symbol):
10860         * progmodes/etags.el (complete-tag):
10861         * mail/mailabbrev.el (mail-abbrev-complete-alias):
10862         Use completion-in-region.
10864         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
10865         (dabbrev-completion): Use completion-in-region.
10866         (dabbrev--abbrev-at-point): Simplify regexp.
10868         * abbrev.el (abbrev--before-point): Use word-motion functions
10869         if :regexp is not specified (bug#5031).
10871         * subr.el (string-prefix-p): New function.
10873         * man.el (Man-completion-cache): New var.
10874         (Man-completion-table): Use it.
10876         * vc.el (vc-print-log-internal): Make `limit' optional for better
10877         compatibility (e.g. with vc-annotate.el).
10879 2009-11-24  Kevin Ryde  <user42@zip.com.au>
10881         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
10882         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
10884         * emacs-lisp/elint.el (elint-add-required-env): Better error message
10885         when .el source file not found or other error.
10887 2009-11-24  Markus Triska  <markus.triska@gmx.at>
10889         * linum.el (linum-update-window): Ignore intangible (bug#4996).
10891 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10893         Handle the [back] button properly (bug#4979).
10894         * descr-text.el (describe-text-properties): Add a `buffer' argument.
10895         Use help-setup-xref, help-buffer, and with-help-window.
10896         (describe-char): Add `buffer' argument.
10897         Pass proper command to help-setup-xref.  Don't meddle with
10898         help-xref-stack-item directly.
10899         (describe-text-category): Use with-help-window and help-buffer.
10901         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
10902         for the displayed buffer (bug#4887).
10904         * man.el (Man-completion-table): New function.
10905         (man): Use it.
10907 2009-11-24  David Reitter  <david.reitter@gmail.com>
10909         * vc-git.el (vc-git-registered): Use checkout directory (where
10910         .git is) rather than the file's directory and a relative path spec
10911         to work around a bug in git.
10913 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
10915         Improve handling of processes on remote hosts.
10917         * eshell/esh-util.el (eshell-path-env): New defvar.
10918         (eshell-parse-colon-path): New defun.
10919         (eshell-file-attributes): Use `eshell-parse-colon-path'.
10921         * eshell/esh-ext.el (eshell-search-path):
10922         Use `eshell-parse-colon-path'.
10923         (eshell-remote-command): Remove argument HANDLER.
10924         (eshell-external-command): Check for FTP remote connection.
10926         * eshell/esh-proc.el (eshell-gather-process-output):
10927         Use `file-truename', in order to start also symlinked files.
10928         Apply `start-file-process' instead of `start-process'.
10929         Shorten `command' to the local file name part.
10931         * eshell/em-cmpl.el (eshell-complete-commands-list):
10932         Use `eshell-parse-colon-path'.
10934         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
10936         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
10937         to `eshell-directory-change-hook'.
10939 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
10941         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
10942         because it could be enabled automatically if view-read-only is non-nil.
10944 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
10946         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
10947         made on 2009-11-22.
10949 2009-11-24  Glenn Morris  <rgm@gnu.org>
10951         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
10952         deleted variable bookmark-bmenu-bookmark-column.
10954 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10956         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
10958 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
10960         * net/browse-url.el (browse-url-filename-alist): On Windows, add
10961         two slashes to the "file:" prefix.
10962         (browse-url-file-url): De-munge Cygwin filenames before passing
10963         them to Windows browser.
10964         (browse-url-default-windows-browser): Use call-process.
10966 2009-11-23  Juri Linkov  <juri@jurta.org>
10968         Implement DocView Continuous mode.  (Bug#4896)
10969         * doc-view.el (doc-view-continuous-mode): New defcustom.
10970         (doc-view-mode-map): Bind C-n/<down> to
10971         `doc-view-next-line-or-next-page', C-p/<up> to
10972         `doc-view-previous-line-or-previous-page'.
10973         (doc-view-next-line-or-next-page)
10974         (doc-view-previous-line-or-previous-page): New commands.
10976 2009-11-23  Juri Linkov  <juri@jurta.org>
10978         Implement Isearch in comint input history.  (Bug#3746)
10979         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
10980         `isearch-mode-hook'.
10981         (comint-history-isearch): New defcustom.
10982         (comint-history-isearch-backward)
10983         (comint-history-isearch-backward-regexp): New commands.
10984         (comint-history-isearch-message-overlay): New buffer-local variable.
10985         (comint-history-isearch-setup, comint-history-isearch-end)
10986         (comint-goto-input, comint-history-isearch-search)
10987         (comint-history-isearch-message, comint-history-isearch-wrap)
10988         (comint-history-isearch-push-state)
10989         (comint-history-isearch-pop-state): New functions.
10991 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
10993         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
10994         return.
10995         (tramp-handle-make-symbolic-link)
10996         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
10997         Quote file names.
10998         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
10999         (tramp-handle-process-file): Use it.
11001 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11003         * window.el (move-to-window-line-last-op): Remove.
11004         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
11006 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
11008         Make M-r mirror the new cycling behavior of C-l.
11009         * window.el (move-to-window-line-last-op): New var.
11010         (move-to-window-line-top-bottom): New command.
11011         (global-map): Bind M-r move-to-window-line-top-bottom.
11013 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
11015         * dired-x.el (dired-guess-shell-alist-default):
11016         Support xz format.  (Bug#4953)
11018 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
11020         * emulation/viper-cmd.el: Use viper-last-command-char instead of
11021         last-command-char/last-command-event.
11022         (viper-prefix-arg-value): Do correct conversion of event-char for
11023         XEmacs.
11025         * emulation/viper-util.el, emulation/viper.el:
11026         Use viper-last-command-char instead of
11027         last-command-char/last-command-event.
11029         * ediff-init.el, ediff-mult.el, ediff-util.el:
11030         Replace last-command-char and last-command-event
11031         with (ediff-last-command-char) everywhere.
11033         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
11034         created in fundamental mode.
11036         * ediff.el (ediff-version): Revert the change of interactive-p to
11037         called-interactively-p.
11039 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
11041         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
11042         generation from word-movement command names.
11044 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
11046         * cus-start.el (all): Add native condition for font-use-system-font.
11048 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
11050         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
11051         Correct the patch from 2009-11-18.  (Bug#3910)
11053 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
11055         * progmodes/subword.el: Rename from lisp/subword.el.
11057         * subword.el: Rename to progmodes/subword.el.
11059         * Makefile.in (ELCFILES): Adapt to subword.el move.
11061 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11062             Stefan Monnier  <monnier@iro.umontreal.ca>
11064         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
11065         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
11066         (bookmark-bmenu-show-filenames): Use push.
11067         (bookmark-bmenu-hide-filenames): Use local var instead of
11068         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
11069         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
11070         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
11071         filenames now that the bookmark names are always available.
11073 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11075         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
11076         (bookmark-search-pattern): Move and leave unbound.
11077         (bookmark-bmenu-mode-map): Change binding.
11078         (bookmark-read-search-input): Simplify.
11079         Don't use text-char-description.  Don't error on non-char events.
11080         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
11081         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
11082         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
11083         Use a local var for the timer.
11084         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
11085         (i.e. bookmark-bmenu-search).
11087 2009-11-21  Glenn Morris  <rgm@gnu.org>
11089         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
11091 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
11093         * net/browse-url.el (browse-url-default-windows-browser):
11094         Use cygstart for cygwin.
11096 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
11098         * bookmark.el: Formatting and doc fixes only:
11099         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
11100         (bookmark-bmenu-search): Wrap to fit within 80 columns.
11101         Minor grammar and punctuation fixes in doc string.
11102         (bookmark-read-search-input): Adjust to fit within 80 columns.
11104 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
11106         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
11107         (c-backward-into-nomenclature): Adapt to subword renaming.
11109         * subword.el (subword-forward, subword-backward, subword-mark)
11110         (subword-kill, subword-backward-kill, subword-transpose)
11111         (subword-downcase, subword-upcase, subword-capitalize)
11112         (subword-forward-internal, subword-backward-internal):
11113         Rename from forward-subword, backward-subword, mark-subword,
11114         kill-subword, backward-kill-subword, transpose-subwords,
11115         downcase-subword, upcase-subword, capitalize-subword,
11116         forward-subword-internal, backward-subword-internal.
11118 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11120         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
11121         New options.
11122         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
11123         New vars.
11124         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
11125         (bookmark-bmenu-filter-alist-by-regexp)
11126         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
11127         (bookmark-bmenu-search): New command.
11128         (bookmark-bmenu-mode-map): Bind it.
11130 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
11132         * progmodes/cc-cmds.el: declare-functioned forward-subword and
11133         backward-subword to quit the byte-compiler.
11135         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
11137         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
11139         * progmodes/cc-cmds.el (c-update-modeline)
11140         (c-forward-into-nomenclature, c-backward-into-nomenclature):
11141         Refer to subword.el functions instead of cc-subword.el.
11143         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
11144         subword.el functions instead of cc-subword.el.
11146         * progmodes/cc-subword.el: Rename to subword.el.
11147         * subword.el: Rename from progmodes/cc-subword.el.
11148         (subword-mode-map): Rename from c-subword-mode-map.
11149         (subword-mode): Rename from c-subword-mode.
11150         (global-subword-mode): New global minor mode.
11151         (forward-subword): Rename from c-forward-subword.
11152         (backward-subword): Rename from c-backward-subword.
11153         (mark-subword): Rename from c-mark-subword.
11154         (kill-subword): Rename from c-kill-subword.
11155         (backward-kill-subword): Rename from c-backward-kill-subword.
11156         (transpose-subwords): Rename from c-tranpose-subword.
11157         (downcase-subword): Rename from c-downcase-subword.
11158         (capitalize-subword): Rename from c-capitalize-subword.
11159         (forward-subword-internal): Rename from c-forward-subword-internal.
11160         (backward-subword-internal): Rename from c-backward-subword-internal.
11162 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
11164         * vc.el (vc-deduce-fileset): Allow non-state changing operations
11165         from a dired buffer.
11166         (vc-dired-deduce-fileset): New function.
11167         (vc-root-diff, vc-print-root-log): Use it.
11169         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
11170         nil LIMIT argument to vc-print-log-internal.
11172 2009-11-20  Glenn Morris  <rgm@gnu.org>
11174         * Makefile.in (ELCFILES): Regenerate.
11176 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
11178         * calc/calc.el (calc-set-mode-line):
11179         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
11180         (math-format-number): Rename `math-format-complement-signed' to
11181         `math-format-twos-complement'.
11183         * calc/calc-bin.el (math-format-twos-complement): Rename from
11184         math-format-complement-signed.
11185         (calc-radix): Rename `calc-complement-signed-mode' to
11186         `calc-twos-complement-mode'.
11187         (calc-octal-radix, calc-hex-radix): Add an argument for
11188         two's complement.
11190         * calc/calc-embed.el (calc-embedded-mode-vars):
11191         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
11193         * calc/calc-ext.el (calc-init-extensions):
11194         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
11195         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
11197         * calc/calc-units.el (math-build-units-table-buffer):
11198         Let `calc-twos-complement-mode' be nil.
11200         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
11201         entries.
11203         * calc/calc-vec.el (calcFunc-vunpack):
11204         * calc/calc-aent.el (calc-do-calc-eval):
11205         * calc/calc-forms.el (math-format-date):
11206         * calc/calc-graph.el (calc-graph-plot):
11207         * calc/calc-math.el (math-use-emacs-fn):
11208         * calc/calccomp.el (math-compose-expr):
11209         Let `calc-twos-complement-mode' be nil.
11211 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11213         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
11214         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
11215         * minibuffer.el (completion-in-region-functions): New hook.
11216         (completion-in-region): New function.
11217         * emacs-lisp/lisp.el (lisp-complete-symbol):
11218         * pcomplete.el (pcomplete-std-complete): Use it.
11220 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11222         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
11223         (latex-complete-alist): New vars.
11224         (latex-string-prefix-p, latex-complete-bibtex-keys)
11225         (latex-complete-envnames, latex-complete-refkeys)
11226         (latex-complete-data): New functions.
11227         (latex-complete, latex-indent-or-complete): New commands.
11229         * window.el (display-buffer-mark-dedicated): New var.
11230         (display-buffer): Obey it.
11231         * minibuffer.el (minibuffer-completion-help): Use it.
11233         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
11235         * filecache.el (file-cache-add-file): Use push and cons.
11236         (file-cache-delete-file-regexp): Use push.
11237         (file-cache-complete): Use completion-in-region.
11239         * simple.el (with-wrapper-hook): Fix thinko.
11241         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
11242         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
11243         Use with-current-buffer and string-to-number.
11244         (hfy-fallback-colour-values): Use assoc-string.
11245         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
11246         (hfy-face-at): Remove unused var `found-face'.
11247         (hfy-compile-stylesheet): Remove unused var `css'.
11248         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
11249         and `orig-buffer'.
11250         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
11251         Use with-current-buffer.
11252         (hfy-text-p): Use expand-file-name and fewer setq.
11254 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
11256         * htmlfontify.el, hfy-cmap.el: New files.
11258 2009-11-19  Juri Linkov  <juri@jurta.org>
11260         * minibuffer.el (completions-format): New defcustom.
11261         (completion--insert-strings): Implement vertical format.
11263         * simple.el (switch-to-completions): Move point to the first
11264         completion when point was at the beginning of the buffer.
11266 2009-11-19  Juri Linkov  <juri@jurta.org>
11268         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
11270         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
11272 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
11274         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
11275         (mail-signature): Change default to t.
11276         (mail-from-style): Deprecate `system-default' value.
11277         (mail-insert-from-field): For default value of mail-from-style,
11278         default to `angles' unless `angles' needs quoting and `parens'
11279         does not.
11280         (mail-citation-prefix-regexp): Use citation regexp from
11281         message-mode.
11283 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
11285         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11286         Set variables for computing the prompt for reading password.
11288 2009-11-19  Glenn Morris  <rgm@gnu.org>
11290         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
11292         * textmodes/flyspell.el (sgml-lexical-context): Declare.
11294         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
11295         (newsticker-treeview-listwindow-height): Fix custom type.
11297 2009-11-19  Kenichi Handa  <handa@m17n.org>
11299         * descr-text.el (describe-char-padded-string): Compose with TAB
11300         only if there's a font for CH.
11301         (describe-char): Fix the condition for detecting a trivial composition.
11303 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
11305         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
11306         more accurate version of the regexp.  (Bug#3910)
11308 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
11310         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
11312 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
11314         * font-setting.el (font-use-system-font): Declare for byte-compiler.
11315         (font-setting-change-default-font): Fix typo in docstring.
11317 2009-11-18  Alan Mackenzie  <acm@muc.de>
11319         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
11321 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
11323         * font-setting.el (font-use-system-font): Move ...
11325         * cus-start.el (all): ... to here.
11327 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
11329         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
11330         Don't set `ad-return-value' if `ad-do-it' doesn't.
11332         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
11333         modification time.
11335 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
11337         * menu-bar.el: Put "Use system font" in Option-menu.
11338         (menu-bar-options-save): Add font-use-system-font.
11340         * loadup.el: If feature system-font-setting or font-render-setting is
11341         there, load font-setting.
11343         * Makefile.in (ELCFILES): Add font-settings.el.
11344         * font-setting.el: New file.
11346 2009-11-17  Glenn Morris  <rgm@gnu.org>
11348         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
11350         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
11351         Preserve point in the list buffer.  (Bug#4939)
11352         Use point-at-eol.
11353         (newsticker--treeview-list-update-highlight)
11354         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
11356 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
11358         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
11359         Remove.
11361         * calc/calc-ext.el (calc-init-extensions): Remove references to
11362         symclip.
11364         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
11366         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
11367         * calc/calc-help.el (calc-b-prefix-help): Remove references to
11368         `calc-symclip'.
11370 2009-11-16  Kevin Ryde  <user42@zip.com.au>
11372         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
11373         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
11375         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
11376         (lm-keywords-list): Allow comma-only separator like "foo,bar".
11377         Ignore trailing spaces by omit-nulls to split-string (fixing
11378         regression from Emacs 21 due to the incompatible split-string
11379         change).  (Bug #4928.)
11381 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
11383         * vc.el (vc-log-show-limit): Default to 2000.
11384         (vc-print-log-internal): Insert buttons to request more entries
11385         when limiting the output.
11387         * vc-sccs.el (vc-sccs-print-log):
11388         * vc-rcs.el (vc-rcs-print-log):
11389         * vc-cvs.el (vc-cvs-print-log):
11390         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
11391         LIMIT is non-nil.
11393 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
11395         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
11396         error when `tramp-gvfs-dbus-event-vector' is set.
11397         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
11399 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11401         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
11403 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
11405         * net/dbus.el (dbus-unregister-service): New defun.
11406         (dbus-register-property): Register the handlers of
11407         "org.freedesktop.DBus.Properties" for SERVICE.
11408         (dbus-property-handler): Fix docstring.
11410 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
11412         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
11413         Quote doc string reference in defvaralias as it is not in special form.
11414         (byte-compile-output-docform): Doc fix.
11416 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
11418         * calc/calc.el (math-2-word-size, math-half-2-word-size)
11419         (calc-complement-signed-mode): New variables.
11420         (calc-set-mode-line): Add indicator for twos-complements.
11421         (math-format-number): Format twos-complement notation.
11423         * calc/calc-bin.el (calc-word-size): Reset the variables
11424         `math-2-word-size' and `math-half-2-word-size'.
11425         (math-format-complement-signed, math-symclip, calcFunc-symclip)
11426         (calc-symclip): New functions.
11428         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
11430         * calc/calc-embed.el (calc-embedded-mode-vars):
11431         Add `calc-complement-signed-mode' to the list of modes.
11433         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
11434         (calc-b-oper-keys): Add `calc-symclip' to list.
11436         * calc/calc-ext.el (math-read-number-fancy): Read complement
11437         signed numbers.
11438         (calc-init-extensions): Add binding for `calc-symclip'.
11439         Add autoload for `calcFunc-symclip' and `calc-symclip'.
11441         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
11442         `calc-symclip'.
11443         (calc-modes-menu): Add item for twos complement mode.
11445         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
11447 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
11449         * register.el (jump-to-register, insert-register): Handle Semantic
11450         tags.  From commented-out advice in semantic/senator.el.
11452 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
11454         * vc.el (vc-log-show-limit): New variable.
11455         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
11456         when using a prefix argument.
11457         (vc-print-log-internal): Add new argument LIMIT.
11459         * vc-svn.el (vc-svn-print-log):
11460         * vc-mtn.el (vc-mtn-print-log):
11461         * vc-hg.el (vc-hg-print-log):
11462         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
11463         pass it to the log command when set.  Make the BUFFER argument
11464         non-optional.
11466         * vc-sccs.el (vc-sccs-print-log):
11467         * vc-rcs.el (vc-rcs-print-log):
11468         * vc-git.el (vc-git-print-log):
11469         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
11470         ignore it.  Make the BUFFER argument non-optional
11472         * bindings.el (mode-line-buffer-identification): Do not purecopy.
11474 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
11476         * dired.el (dired-mode-map): Move encryption items to "Operate"
11477         menu (Bug#4703).
11479         * strokes.el (strokes-update-window-configuration): Make strokes
11480         buffer current before erasing (Bug#4906).
11482 2009-11-15  Juri Linkov  <juri@jurta.org>
11484         * simple.el (set-mark-default-inactive): Add :type, :group
11485         and :version.  (Bug#4876)
11487 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
11489         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
11490         (archive-unique-fname): ... here.  (Bug#4929)
11492 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11494         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
11495         with a real fix.
11497         * novice.el (disabled-command-function): Add useful args.
11498         Setup the help buffer so that [back] works.
11499         Remove redundant call to help-mode.
11500         (disabled-command-function): Use `case'.
11501         (en/disable-command): New function extracted from enable-command.
11502         (enable-command, disable-command): Use it.
11504 2009-11-14  Glenn Morris  <rgm@gnu.org>
11506         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
11507         constants.  (Bug#4913)
11509         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
11511 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
11513         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
11514         defined in C that have no doc-strings.  (Bug#1063)
11516 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
11518         * cus-edit.el (data, files):
11519         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
11521 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
11523         * simple.el (shell-command): Doc fix (Bug#4891).
11525         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
11527 2009-11-14  Glenn Morris  <rgm@gnu.org>
11529         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
11530         statements for vc-diff, emerge-quit, and rmail-cease-edit.
11531         If they are already loaded, eval-after-load will do the right thing.
11533         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
11534         compiling.
11536         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
11538         * simple.el (x-selection-owner-p): Declare.
11539         (read-mail-command): Use custom radio type rather than choice.
11540         (completion-no-auto-exit): Doc fix.
11542         * custom.el (defgroup):
11543         * epg-config.el (epg): Doc fixes.
11545 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
11547         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
11548         * international/ccl.el (define-ccl-program): Do not purecopy the
11549         docstring, defconst does it anyway.
11551 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11553         * add-log.el (add-change-log-entry): Avoid displaying the changelog
11554         a second time.
11556         * x-dnd.el (x-dnd-maybe-call-test-function):
11557         * window.el (split-window-vertically):
11558         * whitespace.el (whitespace-help-on):
11559         * vc-rcs.el (vc-rcs-consult-headers):
11560         * userlock.el (ask-user-about-lock-help)
11561         (ask-user-about-supersession-help):
11562         * type-break.el (type-break-force-mode-line-update):
11563         * time-stamp.el (time-stamp-conv-warn):
11564         * terminal.el (te-set-output-log, te-more-break, te-filter)
11565         (te-sentinel, terminal-emulator):
11566         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
11567         (term-write-input-ring, term-check-source, term-start-output-log):
11568         (term-display-buffer-line, term-dynamic-list-completions):
11569         (term-ansi-make-term, serial-term):
11570         * subr.el (selective-display):
11571         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
11572         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
11573         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
11574         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
11575         (speedbar-remove-localized-speedbar-support)
11576         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
11577         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
11578         (speedbar-buffers-line-directory):
11579         * simple.el (shell-command-on-region, append-to-buffer)
11580         (prepend-to-buffer):
11581         * shadowfile.el (shadow-save-todo-file):
11582         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
11583         (scroll-bar-maybe-set-window-start):
11584         * sb-image.el (speedbar-image-dump):
11585         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
11586         (load-save-place-alist-from-file):
11587         * ps-samp.el (ps-print-message-from-summary):
11588         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
11589         (ps-background-image, ps-begin-job, ps-do-despool):
11590         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
11591         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
11592         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
11593         (pr-call-process, pr-file-list, pr-interface-save):
11594         * novice.el (disabled-command-function)
11595         (enable-command, disable-command):
11596         * mouse.el (mouse-buffer-menu-alist):
11597         * mouse-copy.el (mouse-kill-preserving-secondary):
11598         * macros.el (kbd-macro-query):
11599         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
11600         * informat.el (batch-info-validate):
11601         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
11602         * hippie-exp.el (try-expand-dabbrev-visible):
11603         * help-mode.el (help-make-xrefs):
11604         * help-fns.el (describe-variable):
11605         * generic-x.el (bat-generic-mode-run-as-comint):
11606         * finder.el (finder-mouse-select):
11607         * find-dired.el (find-dired-sentinel):
11608         * filesets.el (filesets-file-close):
11609         * files.el (list-directory):
11610         * faces.el (list-faces-display, describe-face):
11611         * facemenu.el (list-colors-display):
11612         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
11613         * epg.el (epg--process-filter, epg-cancel):
11614         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
11615         (epa--read-signature-type):
11616         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
11617         (emerge-file-names):
11618         * ehelp.el (electric-helpify):
11619         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
11620         * ediff-vers.el (rcs-ediff-view-revision):
11621         * ediff-util.el (ediff-setup):
11622         * ediff-mult.el (ediff-append-custom-diff):
11623         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
11624         (ediff-wordify):
11625         * echistory.el (Electric-command-history-redo-expression):
11626         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
11627         * disp-table.el (describe-display-table):
11628         * dired.el (dired-find-buffer-nocreate):
11629         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
11630         * dabbrev.el (dabbrev--same-major-mode-p):
11631         * chistory.el (list-command-history):
11632         * apropos.el (apropos-documentation):
11633         * allout.el (allout-obtain-passphrase):
11634         (allout-copy-exposed-to-buffer):
11635         (allout-verify-passphrase): Use with-current-buffer.
11637 2009-11-13  Glenn Morris  <rgm@gnu.org>
11639         * Makefile.in (ELCFILES): Regenerate.
11641 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
11643         * net/dbus.el (dbus-registered-objects-table): Rename from
11644         `dbus-registered-functions-table', because it contains also properties.
11645         (dbus-unregister-object): Unregister also properties.
11646         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
11647         Use a timeout of 500 msec, in order to not block.
11648         (dbus-register-property, dbus-property-handler): New defuns.
11650 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11652         * simple.el (minibuffer-default-add-completions): Drop deprecated
11653         4th arg.
11655 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
11657         * textmodes/artist.el (artist-mouse-choose-operation):
11658         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
11659         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
11660         (artist-compute-up-event-key): New function.
11661         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
11663 2009-11-13  Kenichi Handa  <handa@m17n.org>
11665         * language/japan-util.el: Make sure that the value of jisx0208
11666         property is jisx0208 character.
11668 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
11670         * international/mule.el (auto-coding-regexp-alist): Only purecopy
11671         car or each item, not the whole list.
11673 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11675         * minibuffer.el (minibuffer-completion-help):
11676         Use minibuffer-hide-completions.
11678 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
11680         * dired.el (dired-save-positions, dired-restore-positions): New funs.
11681         (dired-revert): Use them (bug#4880).
11683 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
11685         * tooltip.el (tooltip-frame-parameters): Undo previous change.
11687 2009-11-12  Juri Linkov  <juri@jurta.org>
11689         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
11690         New functions.
11691         (find-file-literally-at-point): Alias of `ffap-literally'.
11693 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
11695         * textmodes/ispell.el (ispell-skip-region-alist):
11696         * textmodes/css-mode.el (auto-mode-alist):
11697         * progmodes/compile.el (auto-mode-alist):
11698         * international/mule.el (ctext-non-standard-encodings-alist)
11699         (ctext-non-standard-encodings-regexp):
11700         * simple.el (shell-command-switch, text-read-only):
11701         * replace.el (occur-mode-map):
11702         * paths.el (rmail-file-name):
11703         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
11704         * find-file.el (ff-special-constructs):
11705         * files.el (file-name-handler-alist):
11706         * composite.el: Purecopy strings.
11708         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
11710 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
11712         * widget.el (define-widget): Purecopy the docstring.
11713         * international/mule-cmds.el (charset): Do not purecopy the
11714         docstring here, define-widget does it.
11716         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
11717         * textmodes/bibtex-style.el (auto-mode-alist):
11718         * progmodes/inf-lisp.el (inferior-lisp-prompt):
11719         * progmodes/compile.el (compile-command):
11720         * language/korea-util.el (default-korean-keyboard):
11721         * international/mule-conf.el (file-coding-system-alist):
11722         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
11723         * tooltip.el (tooltip-frame-parameters):
11724         * newcomment.el (comment-end, comment-padding):
11725         * dired.el (dired-trivial-filenames):
11726         * comint.el (comint-file-name-prefix): Purecopy initial values.
11728 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
11730         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
11731         (tramp-advice-minibuffer-electric-tilde): Unload advices via
11732         `tramp-unload'.
11733         (tramp-advice-make-auto-save-file-name)
11734         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
11735         after removing the advice.
11737 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
11739         * progmodes/grep.el (grep-regexp-alist):
11740         * international/mule-cmds.el (iso-2022-control-alist):
11741         * emacs-lisp/timer.el (timer-duration-words):
11742         * subr.el (version-separator, version-regexp-alist):
11743         * minibuffer.el (completion-styles-alist):
11744         * faces.el (face-attribute-name-alist, list-faces-sample-text):
11745         Change defvars to defconsts.
11747         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
11748         * loadup.el ("international/mule-conf"): Load the byte compiled version.
11749         * international/mule-conf.el: Allow to be byte compiled.
11751         * international/mule.el (define-charset): Purecopy props.
11752         (load-with-code-conversion): Purecopy doc string and file name.
11753         (put-charset-property): Purecopy strings.
11754         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
11756         * international/mule-cmds.el (register-input-method): Purecopy arguments.
11757         (define-char-code-property): Correctly purecopy the table.
11759         * international/ccl.el (define-ccl-program): Purecopy the docstring.
11761         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
11763         * subr.el (add-hook): Purecopy strings.
11764         (eval-after-load): Purecopy load-history-regexp and the form.
11766         * custom.el (custom-declare-group): Purecopy load-file-name.
11768         * subr.el (menu-bar-separator): New defconst.
11769         * net/eudc.el (eudc-tools-menu):
11770         * international/mule-cmds.el (set-coding-system-map)
11771         (mule-menu-keymap):
11772         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
11773         * vc-hooks.el (vc-menu-map):
11774         * replace.el (occur-mode-map):
11775         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
11776         (menu-bar-edit-menu, menu-bar-goto-menu)
11777         (menu-bar-custom-menu, menu-bar-showhide-menu)
11778         (menu-bar-options-menu, menu-bar-tools-menu)
11779         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
11780         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
11781         (menu-bar-help-menu):
11782         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
11783         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
11785         * term/x-win.el (x-gtk-stock-map):
11786         * progmodes/vera-mode.el (auto-mode-alist):
11787         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
11788         (inferior-lisp-program, inferior-lisp-load-command):
11789         * progmodes/hideshow.el (hs-special-modes-alist):
11790         * progmodes/gud.el (same-window-regexps):
11791         * progmodes/grep.el (grep-program, find-program, xargs-program):
11792         * net/telnet.el (same-window-regexps):
11793         * net/rlogin.el (same-window-regexps):
11794         * language/ethiopic.el (font-ccl-encoder-alist):
11795         * vc-sccs.el (vc-sccs-master-templates):
11796         * vc-rcs.el (vc-rcs-master-templates):
11797         * subr.el (cl-assertion-failed):
11798         * simple.el (next-error-overlay-arrow-position):
11799         * lpr.el (lpr-command):
11800         * locate.el (locate-ls-subdir-switches):
11801         * info.el (same-window-regexps, info)
11802         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
11803         * image-mode.el (image-mode, auto-mode-alist):
11804         * hippie-exp.el (hippie-expand-ignore-buffers):
11805         * format.el (format-alist):
11806         * find-dired.el (find-ls-subdir-switches, find-grep-options)
11807         (find-name-arg):
11808         * facemenu.el (facemenu-keybindings):
11809         * dired.el (dired-listing-switches, dired-chown-program):
11810         * diff.el (diff-switches, diff-command):
11811         * cus-edit.el (same-window-regexps):
11812         * bindings.el (mode-line-mule-info)
11813         (mode-line-buffer-identification): Purecopy strings.
11815 2009-11-11  Juri Linkov  <juri@jurta.org>
11817         * simple.el (dired-get-filename) <declare-function>:
11818         Tell the byte-compiler about dired-get-filename.
11819         (shell-command): In Dired mode, get filename from the current line
11820         as the default value.
11822 2009-11-10  Glenn Morris  <rgm@gnu.org>
11824         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
11825         * calendar/holidays.el, progmodes/cperl-mode.el:
11826         Update x-popup-menu declarations.
11828         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
11829         (list-load-path-shadows): Use dolist.
11830         (list-load-path-shadows): Use with-current-buffer.
11832 2009-11-10  Juri Linkov  <juri@jurta.org>
11834         * minibuffer.el (read-file-name): Support a list of default values
11835         in `default-filename'.  Use the first file name where only one
11836         element is required.  Doc fix.
11838 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
11840         * net/dbus.el (dbus-unregister-object): Release service, if no
11841         other method is registered for it.
11843 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
11845         * bookmark.el (bookmark-completing-read): Sort bookmark names if
11846         bookmark-sort-flag is non-nil (Bug#4653).
11848 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
11850         * emulation/cua-base.el: Add CUA property to some CC mode commands
11851         (Bug#4100).
11853 2009-11-08  Kevin Ryde  <user42@zip.com.au>
11855         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
11856         at end of sentence (Bug#4818).
11858 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
11860         * progmodes/compile.el (compilation-error-regexp-alist-alist):
11861         Handle "see declaration of" MSFT statements (Bug#4100).
11863 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
11865         * net/tramp.el (tramp-advice-make-auto-save-file-name)
11866         (tramp-advice-file-expand-wildcards): Unload via
11867         `ad-remove-advice'.
11869         * net/trampver.el: Update release number.
11871 2009-11-08  Kevin Ryde  <user42@zip.com.au>
11873         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
11874         `ad-do-it'.
11876 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
11878         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
11879         in order to keep context in SELinux.
11881 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
11883         * dired-aux.el (dired-query): Place cursor in echo area and allow
11884         C-g.
11886         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
11887         menu item if not on a directory (Bug#4701).
11889 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
11891         Sync with Tramp 2.1.17.
11893         * net/tramp.el (tramp-handle-copy-directory): Don't use
11894         `file-remote-p' (due to compatibility).
11896         * net/tramp-compat.el (tramp-compat-copy-directory)
11897         (tramp-compat-delete-directory): New defuns.
11899         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
11900         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
11901         `tramp-compat-delete-directory'.
11903         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
11904         (tramp-smb-handle-delete-directory): Use
11905         `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
11907         * net/trampver.el: Update release number.
11909 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
11911         * tar-mode.el (tar-copy): Call write-region on the right buffer
11912         (Bug#4857).
11914         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
11915         by hand, if necessary (Bug#4878).
11917 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
11919         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
11920         align size column (Bug#4839).
11922         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
11923         statement.
11925 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
11927         * progmodes/ld-script.el (auto-mode-alist):
11928         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
11930         * cus-face.el (custom-declare-face): Purecopy face spec.
11932 2009-11-06  Kenichi Handa  <handa@m17n.org>
11934         * international/uni-bidi.el: Re-generated.
11935         * international/uni-category.el: Re-generated.
11936         * international/uni-combining.el: Re-generated.
11937         * international/uni-mirrored.el: Re-generated.
11939 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
11941         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
11942         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
11943         (tex-start-options, slitex-run-command, latex-run-command)
11944         (tex-run-command, tex-directory):
11945         * textmodes/ispell.el (ispell-html-skip-alists)
11946         (ispell-tex-skip-alists, ispell-tex-skip-alists):
11947         * textmodes/fill.el (adaptive-fill-first-line-regexp):
11948         (adaptive-fill-regexp):
11949         * textmodes/dns-mode.el (auto-mode-alist):
11950         * progmodes/python.el (interpreter-mode-alist):
11951         * progmodes/etags.el (tags-compression-info-list):
11952         * progmodes/etags.el (tags-file-name):
11953         * net/browse-url.el (browse-url-galeon-program)
11954         (browse-url-firefox-program):
11955         * mail/sendmail.el (mail-signature-file)
11956         (mail-citation-prefix-regexp):
11957         * international/mule-conf.el (eight-bit):
11958         * international/latexenc.el (latex-inputenc-coding-alist):
11959         * international/fontset.el (x-pixel-size-width-font-regexp):
11960         * emacs-lisp/warnings.el (warning-type-format):
11961         * emacs-lisp/trace.el (trace-buffer):
11962         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
11963         (emacs-lisp-mode-map):
11964         * calendar/holidays.el (holiday-solar-holidays)
11965         (holiday-bahai-holidays, holiday-islamic-holidays)
11966         (holiday-christian-holidays, holiday-hebrew-holidays)
11967         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
11968         (hebrew-holidays-1, holiday-oriental-holidays)
11969         (holiday-general-holidays):
11970         * x-dnd.el (x-dnd-known-types):
11971         * tool-bar.el (tool-bar):
11972         * startup.el (site-run-file):
11973         * shell.el (shell-dumb-shell-regexp):
11974         * rfn-eshadow.el (file-name-shadow-tty-properties)
11975         (file-name-shadow-properties):
11976         * paths.el (remote-shell-program, news-directory):
11977         * mouse.el ([C-down-mouse-3]):
11978         * menu-bar.el (menu-bar-tools-menu):
11979         * jka-cmpr-hook.el (jka-compr-load-suffixes)
11980         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
11981         (jka-compr-compression-info-list):
11982         * isearch.el (search-whitespace-regexp):
11983         * image-file.el (image-file-name-extensions):
11984         * find-dired.el (find-ls-option):
11985         * files.el (directory-listing-before-filename-regexp)
11986         (directory-free-space-args, insert-directory-program)
11987         (list-directory-brief-switches, magic-fallback-mode-alist)
11988         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
11989         (automount-dir-prefix):
11990         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
11991         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
11992         (face-font-registry-alternatives, face-font-registry-alternatives)
11993         (face-font-family-alternatives):
11994         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
11995         (facemenu-foreground-menu, facemenu-face-menu):
11996         * epa-hook.el (epa-file-name-regexp):
11997         * dnd.el (dnd-protocol-alist):
11998         * textmodes/rst.el (auto-mode-alist):
11999         * button.el (default-button): Purecopy strings.
12001 2009-11-06  Glenn Morris  <rgm@gnu.org>
12003         * Makefile.in (ELCFILES): Update.
12005 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12007         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
12008         * emacs-lisp/levents.el: Move to obsolete/levents.el.
12010         * nxml/xsd-regexp.el (xsdre-gen-categories):
12011         * nxml/xmltok.el (xmltok-parse-entity):
12012         * nxml/rng-parse.el (rng-parse-validate-file):
12013         * nxml/rng-maint.el (rng-format-manual)
12014         (rng-manual-output-force-new-line):
12015         * nxml/rng-loc.el (rng-save-schema-location-1):
12016         * nxml/rng-cmpct.el (rng-c-parse-file):
12017         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
12018         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
12020 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
12022         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
12023         Remove extra save-excursions and make-variable-buffer-local's.
12024         Suggested by Stefan Monnier.
12026         (verilog-getopt-file, verilog-module-inside-filename-p)
12027         (verilog-set-define): Merge GNU 1.35 and repair changes from
12028         switching to using with-current-buffer.
12030         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
12031         being treated as a number and confusing AUTORESET.
12032         Reported by Dan Dever.
12034         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
12035         Add verilog-auto-ignore-concat to fix backward compatibility with
12036         older verilog-modes.  Reported by Dan Katz.
12038         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
12039         containing closing anchors "...$".
12041         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
12042         Reported by Wade Smith.
12044         (verilog-batch-execute-func): Comment on function usage.
12046 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
12048         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
12049         for labels.
12051         (verilog-label-re, verilog-calc-1): Support proper indent of named
12052         asserts.
12054         (verilog-backward-token, verilog-basic-complete-re)
12055         (verilog-beg-of-statement, verilog-indent-re): Support proper
12056         indent of the assert statement at the beginning of a block of text.
12058         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
12059         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
12060         tokens as begins.
12062 2009-11-05  Glenn Morris  <rgm@gnu.org>
12064         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
12065         Emacs 19.  (Bug#1531)
12066         (byte-compile-fix-header): Update for the above change.
12067         Drop test for epoch::version.
12069         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
12070         * cus-dep.el (custom-make-dependencies):
12071         * finder.el (finder-compile-keywords):
12072         Use autoload-rubric's feature argument.
12074         * calendar/diary-lib.el (top-level): Make load behave more like require.
12076         * vc-git.el (vc-git-stash-map): Move definition before use.
12078 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
12080         * custom.el (custom-declare-group): Purecopy standard-value.
12081         (custom-declare-group): Purecopy custom-prefix.
12083         * international/mule.el (load-with-code-conversion):
12084         Call do-after-load-evaluation unconditionally.
12086         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
12088 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12090         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
12092 2009-11-04  Glenn Morris  <rgm@gnu.org>
12094         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
12095         (byte-compile-compatibility): Remove option.
12096         (byte-compile-close-variables, byte-compile-fix-header)
12097         (byte-compile-insert-header, byte-compile-output-docform)
12098         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
12099         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
12100         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
12101         (byte-compile-insert, byte-compile-defun):
12102         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
12103         (byte-defop-compiler19): Remove.
12104         Without byte-compile-compatibility, the 'emacs19-opcode property is not
12105         used by anything.  Replace all calls with byte-defop-compiler.
12107 2009-11-04  Juri Linkov  <juri@jurta.org>
12109         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
12110         (menu-bar-options-menu): Don't quote the `prop' arg of
12111         `menu-bar-make-mm-toggle'.
12113 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
12115         * calendar/calendar.el (cal-loaddefs):
12116         * calendar/diary-lib.el (diary-loaddefs):
12117         * calendar/holidays.el (hol-loaddefs):
12118         * eshell/esh-module.el (esh-groups): Load rather than require.
12120 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12122         * calendar/todo-mode.el (todo-add-category): Don't hardcode
12123         point-min==1.
12124         (todo-top-priorities): Only display-buffer when called interactively.
12125         (todo-item-start): Don't save excursion point.
12126         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
12127         (todo-insert-item-here, todo-file-item, todo-remove-item):
12128         Adjust uses of todo-item-start and todo-item-end.
12130         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
12131         (autoload-rubric): Don't use any more.
12133         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
12134         and only put a prop if it is non-nil.
12136 2009-11-03  Juri Linkov  <juri@jurta.org>
12138         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
12139         (menu-bar-options-menu): Fix list quoting (Bug#4429).
12141         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
12142         and "Menu" to make top-level menu item visually one unit (like
12143         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
12144         multi-word menu items).  Fix :help string for quit-window.
12146 2009-11-03  Glenn Morris  <rgm@gnu.org>
12148         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
12149         (byte-compile-file-form-define-abbrev-table)
12150         (byte-compile-file-form-custom-declare-variable)
12151         (byte-compile-variable-ref, byte-compile-defvar):
12152         Whether or not a warning is enabled should only affect whether we issue
12153         the warning, not whether or not we collect the relevant data.
12154         Eg warnings can be turned on and off throughout the course of a file.
12156         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
12157         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
12159 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12161         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
12162         * play/mpuz.el (mpuz-create-buffer):
12163         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
12164         (lm-print-y,s,noise, lm-print-w0, lm-init):
12165         * play/gomoku.el (gomoku-prompt-for-move):
12166         * play/fortune.el (fortune-in-buffer):
12167         * play/dissociate.el (dissociated-press):
12168         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
12169         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
12170         * mail/supercite.el (sc-eref-show):
12171         * mail/smtpmail.el (smtpmail-send-it):
12172         * mail/rmailsum.el (rmail-summary-next-labeled-message)
12173         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
12174         (rmail-summary-undelete-many, rmail-summary-rmail-update)
12175         (rmail-summary-goto-msg, rmail-summary-expunge)
12176         (rmail-summary-get-new-mail, rmail-summary-search-backward)
12177         (rmail-summary-add-label, rmail-summary-output-menu)
12178         (rmail-summary-output-body):
12179         * mail/rfc822.el (rfc822-addresses):
12180         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
12181         * mail/mailpost.el (post-mail-send-it):
12182         * mail/hashcash.el (hashcash-generate-payment):
12183         * mail/feedmail.el (feedmail-run-the-queue)
12184         (feedmail-queue-send-edit-prompt-help-first)
12185         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
12186         (feedmail-deduce-address-list):
12187         * eshell/esh-ext.el (eshell-remote-command):
12188         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
12189         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
12190         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
12191         (viper-save-string-in-file, viper-valid-marker):
12192         * emulation/viper-keym.el (viper-toggle-key):
12193         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
12194         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
12195         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
12196         * emulation/viper-cmd.el (viper-exec-form-in-vi)
12197         (viper-exec-form-in-emacs, viper-brac-function):
12198         * emulation/viper.el (viper-delocalize-var):
12199         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
12200         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
12201         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
12202         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
12203         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
12204         * emulation/edt.el (edt-electric-helpify):
12205         * emulation/cua-rect.el (cua--rectangle-aux-replace):
12206         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
12207         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
12208         (cua-indent-to-global-mark-column):
12209         * calendar/diary-lib.el (calendar-mark-1):
12210         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
12211         Use with-current-buffer.
12212         * emulation/viper.el (viper-delocalize-var): Use dolist.
12214 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
12216         * comint.el (comint-replace-by-expanded-history-before-point):
12217         Replace !! with the previous input string literally (Bug#1795).
12219 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
12221         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
12222         to be made up of whitespace.
12224 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
12226         * minibuffer.el (read-file-name): Don't use file dialogs for
12227         remote directories (Bug#99).
12229 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
12231         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
12233 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
12235         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
12236         instead of deleting the window or frame.
12238 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
12240         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
12241         Support face colors.
12243         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
12244         New function.  Support face colors (Bug#1168).
12245         (tex-common-initialization): Use it.
12247         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
12248         mode allows it (Bug#1168).
12250 2009-10-31  Juri Linkov  <juri@jurta.org>
12252         * facemenu.el (list-colors-display): Don't mark buffer as
12253         modified (Bug#3948).
12255 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
12257         * international/mule-diag.el (list-character-sets-1): Minor
12258         message fix (Bug#3526).
12260         * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
12261         face property (Bug#4834).
12262         (etags-list-tags, etags-tags-apropos-additional)
12263         (etags-tags-apropos, tags-select-tags-table): Add follow-link
12264         property.
12266         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
12267         items.
12269 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12271         * textmodes/two-column.el (2C-split):
12272         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
12273         * textmodes/tex-mode.el (tex-set-buffer-directory):
12274         * textmodes/spell.el (spell-region, spell-string):
12275         * textmodes/reftex.el (reftex-erase-buffer):
12276         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
12277         * textmodes/reftex-toc.el (reftex-toc-promote-action):
12278         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
12279         (reftex-select-item):
12280         * textmodes/reftex-ref.el (reftex-label-info-update)
12281         (reftex-offer-label-menu):
12282         * textmodes/reftex-index.el (reftex-index-change-entry)
12283         (reftex-index-phrases-info):
12284         * textmodes/reftex-global.el (reftex-create-tags-file)
12285         (reftex-save-all-document-buffers, reftex-ensure-write-access):
12286         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
12287         (reftex-view-crossref-from-bibtex):
12288         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
12289         (reftex-extract-bib-entries-from-thebibliography)
12290         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
12291         * textmodes/refbib.el (r2b-capitalize-title):
12292         (r2b-convert-buffer, r2b-help):
12293         * textmodes/page-ext.el (pages-directory)
12294         (pages-directory-goto-with-mouse):
12295         * textmodes/bibtex.el (bibtex-validate-globally):
12296         * textmodes/bib-mode.el (bib-capitalize-title):
12297         * textmodes/artist.el (artist-clear-buffer, artist-system):
12298         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
12299         (local-set-scheme-interaction-buffer, xscheme-process-filter)
12300         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
12301         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
12302         (xscheme-send-control-g-interrupt, xscheme-start-process)
12303         (xscheme-process-sentinel, xscheme-cd):
12304         * progmodes/verilog-mode.el (verilog-read-always-signals)
12305         (verilog-set-define, verilog-getopt-file)
12306         (verilog-module-inside-filename-p):
12307         * progmodes/sh-script.el:
12308         * progmodes/python.el (python-pdbtrack-get-source-buffer)
12309         (python-pdbtrack-grub-for-buffer, python-execute-file):
12310         * progmodes/octave-inf.el (inferior-octave):
12311         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
12312         (idlwave-shell-compile-helper-routines, idlwave-set-local)
12313         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
12314         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
12315         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
12316         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
12317         (idlwave-shell-filter, idlwave-shell-examine-highlight)
12318         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
12319         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
12320         (idlwave-shell-examine-display, idlwave-shell-run-region)
12321         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
12322         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
12323         * progmodes/idlw-help.el (idlwave-help-get-special-help)
12324         (idlwave-help-get-help-buffer):
12325         * progmodes/gud.el (gud-basic-call, gud-find-class)
12326         (gud-tooltip-activate-mouse-motions-if-enabled):
12327         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
12328         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
12329         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
12330         (ebrowse-tags-next-file):
12331         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
12332         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
12333         (ebnf-eps-finish-and-write):
12334         * progmodes/cpp.el (cpp-edit-save):
12335         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
12336         * progmodes/cc-defs.el (c-emacs-features):
12337         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
12338         (antlr-directory-dependencies):
12339         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
12340         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
12341         (ada-find-any-references, ada-make-filename-from-adaname)
12342         (ada-make-body-gnatstub):
12343         * obsolete/rnews.el (news-list-news-groups):
12344         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
12345         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
12346         * net/rcirc.el (rcirc-debug):
12347         * net/newst-treeview.el (newsticker--treeview-list-add-item)
12348         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
12349         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
12350         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
12351         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
12352         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
12353         (newsticker--treeview-list-clear-highlight)
12354         (newsticker--treeview-list-update-highlight)
12355         (newsticker--treeview-list-highlight-start)
12356         (newsticker--treeview-tree-update-highlight)
12357         (newsticker--treeview-get-selected-item)
12358         (newsticker-treeview-mark-list-items-old)
12359         (newsticker--treeview-set-current-node):
12360         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
12361         * net/newst-backend.el (newsticker--get-news-by-funcall)
12362         (newsticker--get-news-by-wget, newsticker--image-get)
12363         (newsticker--image-sentinel):
12364         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
12365         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
12366         (eudc-ph-close-session):
12367         * net/eudc.el (eudc-save-options):
12368         * language/thai-word.el (thai-update-word-table):
12369         * language/japan-util.el (japanese-string-conversion):
12370         * international/titdic-cnv.el (tsang-quick-converter)
12371         (ziranma-converter, ctlau-converter):
12372         * international/mule-cmds.el (describe-language-environment):
12373         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
12374         (skkdic-convert-postfix, skkdic-convert-prefix):
12375         (skkdic-convert-okuri-nasi, skkdic-convert):
12376         * emacs-lisp/re-builder.el (reb-update-overlays):
12377         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
12378         * emacs-lisp/gulp.el (gulp-send-requests):
12379         * emacs-lisp/find-gc.el (trace-call-tree):
12380         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
12381         (eieio-describe-generic):
12382         * emacs-lisp/eieio-base.el (eieio-persistent-read):
12383         * emacs-lisp/edebug.el (edebug-outside-excursion):
12384         * emacs-lisp/debug.el (debugger-make-xrefs):
12385         * emacs-lisp/cust-print.el (custom-prin1-to-string):
12386         * emacs-lisp/chart.el (chart-new-buffer):
12387         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
12388         Use with-current-buffer.
12389         * textmodes/artist.el (artist-system): Don't call
12390         copy-sequence on a fresh string.
12391         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
12393 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
12395         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
12396         is no item to edit.  (Bug#4820)
12397         (todo-top-priorities): Restore point and restore narrowing in Todo
12398         buffer.  (Bug#4820)
12400 2009-10-31  Glenn Morris  <rgm@gnu.org>
12402         * net/ange-ftp.el (top-level): Don't require dired when compiling.
12403         (comint-last-output-start, comint-last-input-start)
12404         (comint-last-input-end): Don't defvar when compiling.
12405         (ange-ftp-process-file): Use bound-and-true-p.
12407         * pcmpl-rpm.el (top-level): Move provide statement to end.
12408         (pcmpl-rpm): Remove unused custom group.
12410         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
12412         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
12414         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
12415         (byte-compile-warnings): Add `constants' as an option.
12416         (byte-compile-callargs-warn, byte-compile-arglist-warn)
12417         (display-call-tree): Update for byte-compile-fdefinition possibly
12418         returning `(macro lambda ...)'.  (Bug#4778)
12419         (byte-compile-variable-ref, byte-compile-setq-default):
12420         Respect `constants' member of byte-compile-warnings.
12422 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
12424         * vc-bzr.el (vc-bzr-revision-keywords): New var.
12425         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
12426         to "submit:".
12428 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
12430         * textmodes/ispell.el (ispell-skip-region-alist):
12431         * international/mule-conf.el (eight-bit):
12432         * international/fontset.el (font-encoding-alist):
12433         * startup.el (pure-space-overflow-message):
12434         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
12435         * paths.el (gnus-nntp-service, rmail-spool-directory)
12436         (term-file-prefix):
12437         * files.el (save-some-buffers-action-alist):
12438         * cmuscheme.el (same-window-buffer-names):
12439         * ielm.el (same-window-buffer-names):
12440         * shell.el (same-window-buffer-names):
12441         * mail/sendmail.el (same-window-buffer-names):
12442         * progmodes/inf-lisp.el (same-window-buffer-names):
12443         * bindings.el (mode-line-client)
12444         (mode-line-column-line-number-mode-map):
12445         * language/tibetan.el (tibetan-precomposition-rule-regexp)
12446         (tibetan-precomposed-regexp): Purecopy string arguments.
12448 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12450         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
12451         (calcDigit-nondigit):
12452         * calc/calc-yank.el (calc-copy-to-buffer):
12453         * calc/calc-units.el (calc-invalidate-units-table):
12454         * calc/calc-trail.el (calc-trail-yank):
12455         * calc/calc-store.el (calc-insert-variables):
12456         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
12457         * calc/calc-prog.el (calc-read-parse-table):
12458         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
12459         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
12460         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
12461         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
12462         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
12463         (calc-graph-name, calc-graph-find-command, calc-graph-view)
12464         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
12465         * calc/calc-ext.el (calc-realign):
12466         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
12467         (calc-embedded-finish-edit, calc-embedded-make-info)
12468         (calc-embedded-finish-command, calc-embedded-stack-change):
12469         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
12471         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
12472         shell-dynamic-complete-filename in preference to
12473         comint-dynamic-complete-filename.
12475         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
12476         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
12477         Don't consider whether the display supports colors.
12478         (bookmark-import-new-list): Use dolist.
12479         (bookmark-bmenu-mode-map): Move initialization into declaration.
12480         (bookmark-bmenu-list): Use dolist, simplify.
12481         (bookmark-show-all-annotations): Use save-selected-window and dolist.
12482         (menu-bar-final-items): Use push.
12484 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
12486         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
12487         it works on remote files.
12488         (vc-hg-diff): Don't pass any `--cwd' argument.
12490 2009-10-27  Kevin Ryde  <user42@zip.com.au>
12492         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
12493         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
12494         (Further to Bug#3921).
12496 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
12498         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
12499         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
12500         calling `tramp-imap-put-file'.  Add file size to the call.
12501         (tramp-imap-get-file-entries): Compute also user name, file size,
12502         and date.
12503         (tramp-imap-handle-insert-directory): Insert uid and gid.
12504         (tramp-imap-handle-file-attributes): Transform uid and gid
12505         according to `id-format'.
12506         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
12507         size in header X-Size.
12509 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
12511         * simple.el (transpose-subr): Give clearer error when the mark
12512         is not set.  (Bug#4807)
12514 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
12516         * net/tramp.el (tramp-perl-file-truename): New defconst.
12517         Perl code contributed by yary <not.com@gmail.com> (tiny change).
12518         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
12519         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
12520         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
12522         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
12523         Ignore `dired-call-process'.
12524         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
12526 2009-10-26  Julian Scheid  <julians37@gmail.com>
12528         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
12529         (tramp-get-remote-readlink): New defun.
12530         (tramp-handle-file-truename): Use it.
12531         (tramp-handle-file-exists-p): Check file-attributes cache, assume
12532         file exists if cache value present.
12533         (tramp-check-cached-permissions): New defun.
12534         (tramp-handle-file-readable-p): Use it.
12535         (tramp-handle-file-writable-p): Likewise.
12536         (tramp-handle-file-executable-p): Likewise.
12537         (tramp-handle-file-name-all-completions): Try using Perl to get
12538         partial completions.  When perl not available, combine `cd' and
12539         `ls' into single remote operation and use shell expansion to get
12540         partial remote directory contents.  Set `file-exists-p' cache for
12541         directory and any files returned by ls.  Change cache handling to
12542         support partial directory contents.  Use error message emitted by
12543         remote `cd' or Perl code for local tramp-error.
12544         (tramp-do-copy-or-rename-file-directly): Avoid separate
12545         tramp-send-command-and-check call.
12546         (tramp-handle-process-file): Merge three remote ops into one.
12547         Do not flush all caches when `process-file-side-effects' is set.
12548         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
12549         file-attributes shows uid/gid to be set already.
12551 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
12553         * textmodes/tex-mode.el (tex-dvi-view-command)
12554         (tex-show-queue-command, tex-open-quote):
12555         * progmodes/ruby-mode.el (auto-mode-alist)
12556         (interpreter-mode-alist): Purecopy strings.
12558         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
12560         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
12561         string for the hook, keymap and abbrev table.
12563         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
12565         * x-dnd.el (x-dnd-xdnd-to-action):
12566         * startup.el (fancy-startup-text, fancy-about-text): Change to
12567         defconst from defvar.
12569         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
12571         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
12572         Purecopy initialization strings.
12574         * mail/sendmail.el (mail-header-separator)
12575         (mail-personal-alias-file):
12576         * mail/rmail.el (rmail-default-dont-reply-to-names)
12577         (rmail-ignored-headers, rmail-retry-ignored-headers)
12578         (rmail-highlighted-headers, rmail-secondary-file-directory)
12579         (rmail-secondary-file-regexp):
12580         * files.el (null-device, file-name-invalid-regexp)
12581         (locate-dominating-stop-dir-regexp)
12582         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
12583         (interpreter-mode-alist): Use mapcar instead of mapc.
12585         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
12587         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
12588         (completion-ignored-extensions):
12589         (debug-ignored-errors): Purecopy strings.
12591 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12593         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
12594         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
12595         (pcomplete--here): Use push.
12597         * subr.el (all-completions): Declare the 4th arg obsolete.
12599 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12601         * pcomplete.el (pcomplete-unquote-argument-function): New var.
12602         (pcomplete-unquote-argument): New function.
12603         (pcomplete--common-suffix): Always pay attention to case.
12604         (pcomplete--table-subvert): Quote and unquote the text.
12605         (pcomplete--common-quoted-suffix): New function.
12606         (pcomplete-std-complete): Use it and pcomplete-begin.
12608         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
12609         we're inside a dedicated or minibuffer window.
12611 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
12613         * bookmark.el: Update documentation, especially documentation
12614         of `bookmark-alist' and of the bookmark file format.
12615         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
12617 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
12619         * mail/emacsbug.el (report-emacs-bug): Clarify that the
12620         keybindings apply to the mail buffer (Bug#4003).  Shrink help
12621         window to buffer.
12623         * whitespace.el (whitespace-mode, whitespace-newline-mode)
12624         (global-whitespace-mode, global-whitespace-newline-mode)
12625         (whitespace-toggle-options, global-whitespace-toggle-options):
12626         Doc fix (Bug#3660).
12628         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
12629         of xmltok-start before the end tag was inserted (Bug#2840).
12631         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
12632         patterns that are preceded by an open-paren (Bug#1320).
12634 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
12636         * files.el (delete-directory): Delete symlinks to directories with
12637         delete-file (Bug#4739).
12639 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
12641         * vc.el (vc-backend-for-registration): Rename from
12642         vc-get-backend-for-registration.  Update callers.
12644         * international/mule-cmds.el (set-language-info-alist):
12645         Purecopy lang-env.
12646         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
12647         (charset): Purecopy the name.
12648         (define-char-code-property): Purecopy string arguments.
12650         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12651         Purecopy string arguments.
12653         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
12654         * ediff-hook.el (menu-bar-ediff-menu):
12655         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
12656         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
12658 2009-10-24  Glenn Morris  <rgm@gnu.org>
12660         * comint.el (comint-dynamic-list-completions):
12661         * term.el (term-dynamic-list-completions): Use choose-completion rather
12662         than obsolete alias mouse-choose-completion.
12664         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
12665         file-cache-choose-completion.
12666         (file-cache-choose-completion): Handle an optional event argument.
12667         (file-cache-mouse-choose-completion): Make it an obsolete alias.
12669         * progmodes/octave-mod.el (octave-complete-symbol):
12670         Use choose-completion if mouse-choose-completion is ever removed.
12672         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
12673         use.
12675         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
12676         compiler.
12678         * vc-hooks.el (vc-responsible-backend): Fix declaration.
12680 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12682         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
12683         Ignore `pred' now that we receive one.
12684         Handle test-completion specially.
12686 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
12688         * vc.el (vc-responsible-backend): Throw an error if not backend is
12689         found.  Remove the REGISTER argument.  Move the code dealing with
12690         REGISTER ...
12691         (vc-get-backend-for-registration): ... here.  New function.
12692         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
12693         of vc-responsible-backend, pass the file name instead of the
12694         directory name.
12696 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12698         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
12699         New funs.
12700         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
12701         (pcomplete-comint-setup): Don't modify a global var via
12702         accidental side-effects.
12703         (pcomplete-shell-setup): Adjust call accordingly.
12704         (pcomplete-parse-comint-arguments): Use push.
12706 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
12708         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
12709         Allow uncapitalized info node names (Bug#3921).
12711         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
12712         to the DEBUG file (Bug#3781).
12714 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
12716         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
12717         dictionary entry (Bug#4579).
12719 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
12721         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
12722         from `rfn-eshadow-update-overlay-hook' when unloading.
12723         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
12724         "rsyncc".  Adjust doc string.
12725         (tramp-temp-buffer-file-name): New buffer-local defvar.
12726         (tramp-handle-insert-file-contents, tramp-handle-write-region):
12727         Keep temporary file when indicated by method ("rsync" and
12728         "rsyncc").
12729         (tramp-handle-write-region): Handle APPEND.
12730         (tramp-delete-temp-file-function): New defun.  Added to
12731         `kill-buffer-hook'.
12733 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
12735         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
12737 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
12739         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
12740         (color-name-rgb-alist, tty-standard-colors)
12741         (tty-color-mode-alist): Change to defconst.
12743         * simple.el (mark-inactive): Purecopy message.
12745         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
12746         (global-map, yank-menu):
12747         * textmodes/ispell.el (ispell-menu-map):
12748         * net/eudc.el (eudc-tools-menu):
12749         * international/mule-cmds.el (describe-language-environment-map)
12750         (setup-language-environment-map, set-coding-system-map)
12751         (mule-menu-keymap):
12752         * vc-hooks.el (vc-menu-entry, vc-menu-map):
12753         * replace.el (occur-mode-map):
12754         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
12756 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
12758         * calc/calc.el (math-read-number, math-read-number-simple): Use
12759         `save-match-data'.
12761 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12763         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
12764         rather than fiddling with global-map bindings, since it should only
12765         affect per-terminal settings.
12766         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
12768         * minibuffer.el (completion-table-with-terminator): Allow to specify
12769         the terminator-regexp.
12771         * simple.el (switch-to-completions): Look for *Completions* in other
12772         frames as well.
12774         * pcomplete.el: Allow the use of completion-tables.
12775         (pcomplete-std-complete): New command.
12776         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
12777         (pcomplete--here): Use a function for `form' rather than an expression,
12778         so it can be byte-compiled.
12779         (pcomplete-here, pcomplete-here*): Adjust accordingly.
12780         Add edebug declaration.
12781         (pcomplete-show-completions): Remove unused var `curbuf'.
12782         (pcomplete-do-complete, pcomplete-stub):
12783         Don't assume `completions' is a list of strings any more.
12785 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
12787         * find-dired.el (find-name-arg): Fix typo in docstring.
12789 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12791         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
12792         (pcmpl-linux-fs-types): Same, and update to new modules layout.
12794         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
12795         pcomplete-entries.
12797         * comint.el (comint-read-input-ring, comint-write-input-ring)
12798         (comint-substitute-in-file-name)
12799         (comint-dynamic-complete-as-filename)
12800         (comint-dynamic-simple-complete)
12801         (comint-dynamic-list-filename-completions)
12802         (comint-dynamic-list-completions)
12803         (comint-redirect-results-list-from-process): Minor simplifications.
12805 2009-10-21  Kevin Ryde  <user42@zip.com.au>
12807         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
12808         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
12809         the first form.  And insert a blank line after ";;; Code" since
12810         that's usual style.  (Bug#4612)
12812         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
12814 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12816         * minibuffer.el (completion-table-with-terminator): Properly implement
12817         boundaries, in case `terminator' appears in the suffix.
12818         (completion--embedded-envvar-table): Don't return boundaries if
12819         there's no valid completion.  Simplify.
12820         (completion-file-name-table): New completion table extracted from
12821         completion--file-name-table.
12822         (completion--file-name-table): Use it.
12823         (read-file-name-predicate): Declare obsolete.
12824         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
12825         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
12826         completion-file-name-table, and use the `pred' argument.
12827         * files.el (locate-file-completion-table): Use the `pred' arg rather
12828         than read-file-name-predicate.
12829         (abbreviate-file-name): Use \` rather than ^ for BOS.
12831 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
12833         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
12834         vc-responsible-backend to register, it causes problems.
12836 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12838         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
12840 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
12842         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
12843         (tramp-smb-handle-file-attributes): Use it.
12844         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
12845         (tramp-smb-handle-insert-directory): Use `mapc' rather than
12846         `mapcar'.  Use `tramp-smb-get-stat-capability'.
12847         Add `dired-filename' text properties.
12848         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
12849         (tramp-smb-maybe-open-connection): Simplify check for smbclient
12850         version.
12852 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12854         * subr.el (read-key-delay): Reduce to 0.01.
12855         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
12856         (bug#4751).
12858 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12860         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
12862         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
12863         (Info-menu): Remove unused vars `last' and `completions'.
12864         (Info-index-nodes): Remove unused var `node'.
12866         * info.el (Info-complete-menu-item): Use complete-with-action.
12868 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
12870         Make vc-annotate work through copies and renames.
12871         * vc-annotate.el (vc-annotate-extract-revision-at-line):
12872         Return the file name too.
12873         (vc-annotate-revision-at-line)
12874         (vc-annotate-find-revision-at-line)
12875         (vc-annotate-revision-previous-to-line)
12876         (vc-annotate-show-log-revision-at-line): Update to get the file
12877         name from vc-annotate-extract-revision-at-line.
12878         (vc-annotate-show-diff-revision-at-line-internal): Change the
12879         argument to mean whether to show a file diff or not.  Get the file
12880         name from vc-annotate-extract-revision-at-line.
12881         (vc-annotate-show-diff-revision-at-line):
12882         Update vc-annotate-show-diff-revision-at-line call.
12883         (vc-annotate-warp-revision): Add an optional file argument.
12885         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
12886         (vc-git-annotate-extract-revision-at-line): Also return the file
12887         name if found.
12889         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
12890         command.  Remove unused code.
12891         (vc-hg-annotate-re): Update to match --follow output.
12892         (vc-hg-annotate-extract-revision-at-line): Also return the file
12893         name if found.
12895         * vc.el: Update annotate-extract-revision-at-line documentation.
12897 2009-10-18  Kevin Ryde  <user42@zip.com.au>
12899         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
12900         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
12902         * net/browse-url.el (browse-url): Identify alist with "consp and
12903         not functionp" and let all other things go down the `apply' leg,
12904         as suggested by Stefan.  (Further to bug#4531.)
12906 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
12908         * minibuffer.el (read-file-name): Check for repeat before putting
12909         a default argument in file-name-history (Bug#4657).
12911         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
12912         read syntax (Bug#4737).
12914         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
12916 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
12918         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
12919         (html-tag-alist, html-tag-help): Add descriptions for undocumented
12920         entries and make note of obsolete tags.
12922 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12924         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
12926 2009-10-18  Glenn Morris  <rgm@gnu.org>
12928         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
12929         grep, so that binary files (eg international/uni-bidi.el) can match.
12930         Remove test for "UnicodeData" files, since it is hopefully unnecessary
12931         now, and in any case the file header format has changed.
12933 2009-10-17  Glenn Morris  <rgm@gnu.org>
12935         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
12936         (flyspell-get-word, flyspell-large-region)
12937         (flyspell-auto-correct-previous-word): Doc/error message fixes.
12939 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
12941         * Makefile.in (ELCFILES): Add ede/shell.
12943 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
12945         * term/common-win.el (x-colors): Purecopy it.
12947 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12949         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
12950         permissive for when the buffer is empty.
12951         (tar-header-block-tokenize): Decode the username and groupname.
12952         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
12954 2009-10-17  Eric Ludlam  <zappo@gnu.org>
12956         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
12957         contains multibyte characters, choose first applicable coding
12958         system automatically.
12960 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12962         * international/mule-cmds.el (select-safe-coding-system): If the file
12963         has a coding cookie, use it regardless of any other setting (bug#4712).
12965 2009-10-17  Glenn Morris  <rgm@gnu.org>
12967         * foldout.el (foldout-mouse-swallow-events):
12968         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
12970         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
12971         (dired-keep-marker-copy, dired-keep-marker-hardlink)
12972         (dired-keep-marker-symlink, dired-dwim-target)
12973         (dired-copy-preserve-time): Do not autoload these defcustoms.
12975         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
12976         messages from messing up the file coding.  (Bug#4623)
12978 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
12980         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
12981         if no match is found for the current dictionary.  (Bug#4578)
12983         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
12984         optional, since that is how it is documented, and this is often called
12985         with a nil argument.  (Bug#4577)
12986         (flyspell-external-point-words, flyspell-auto-correct-word)
12987         (flyspell-correct-word-before-point, flyspell-word-search-forward)
12988         (flyspell-word-search-backward): Remove nil argument in calls to
12989         flyspell-get-word, since it is not needed now.
12991 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
12993         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
12995 2009-10-16  Glenn Morris  <rgm@gnu.org>
12997         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
12999 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
13001         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
13002         (ange-ftp-file-size): New function.
13003         (ange-ftp-file-attributes): Use it.
13005 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
13007         * net/tramp-smb.el (tramp-smb-version): New defvar.
13008         (tramp-smb-maybe-open-connection): Use it, in order to avoid
13009         repeated checks.
13011 2009-10-16  Glenn Morris  <rgm@gnu.org>
13013         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
13014         Maybe copy some custom properties from old to new name.  (Bug#4706)
13016 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
13018         * subr.el (error, sit-for, start-process-shell-command)
13019         (start-file-process-shell-command): Set the calling convention
13020         after the function definition.
13022 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13024         * subr.el (error, sit-for, start-process-shell-command)
13025         (start-file-process-shell-command): Use the new
13026         set-advertised-calling-convention feature.
13028 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
13030         * international/ucs-normalize.el (ucs-normalize-version):
13031         Change to 1.2.
13032         (check-range): Adjust for Unicode 5.2.
13034 2009-10-15  Juri Linkov  <juri@jurta.org>
13036         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
13037         to the `menu-item' format.
13039 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
13041         * net/tramp.el (tramp-replace-environment-variables): Do not fail
13042         if the environment variable does not exist.
13044         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13045         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
13046         parameter.
13047         (tramp-smb-handle-add-name-to-file)
13048         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
13049         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
13050         (tramp-smb-handle-file-attributes)
13051         (tramp-smb-do-file-attributes-with-stat)
13052         (tramp-smb-handle-file-local-copy)
13053         (tramp-smb-handle-insert-directory)
13054         (tramp-smb-handle-make-directory)
13055         (tramp-smb-handle-make-directory-internal)
13056         (tramp-smb-handle-make-symbolic-link)
13057         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
13058         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
13059         (tramp-smb-maybe-open-connection): Apply the changed parameters.
13060         (tramp-smb-read-file-entry): Read Disk names in compressed format.
13061         Handle long file names.
13062         (tramp-smb-get-cifs-capabilities): Check, whether the connection
13063         process is running.
13064         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
13065         Read share names with "-g" option.
13067 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
13069         * net/rcirc.el (rcirc-view-log-file): New command.
13070         (rcirc-track-minor-mode-map): Remove C-c ` binding.
13071         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
13072         specified.
13074 2009-10-15  Glenn Morris  <rgm@gnu.org>
13076         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
13077         from the second command-line argument.
13078         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
13079         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
13080         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
13081         w32-batch-update-autoloads.
13082         * emacs-lisp/autoload.el (autoload-make-program): New variable.
13083         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
13085         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
13086         the headers cannot be located.  Simplify, subtracting superflous
13087         save-excursions.
13089 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13091         Replace completion-base-size by completion-base-position to fix bugs
13092         such as (bug#4699).
13093         * simple.el (completion-base-position): New var.
13094         (completion-base-size): Mark as obsolete.
13095         (choose-completion): Make it work for mouse events as well.
13096         Pass the new base-position to choose-completion-string.
13097         (choose-completion-guess-base-position): New function, extracted from
13098         choose-completion-delete-max-match.
13099         (choose-completion-delete-max-match): Use it.  Make obsolete.
13100         (choose-completion-string): Use the new base-position info.
13101         (completion-root-regexp): Delete.
13102         (completion-setup-function): Preserve completion-base-position.
13103         Eliminate obsolete base-size manipulation.
13104         * minibuffer.el (display-completion-list): Don't mess with base-size.
13105         (minibuffer-completion-help): Set completion-base-position instead.
13106         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
13107         choose-completion.
13108         * textmodes/bibtex.el (bibtex-complete):
13109         * emacs-lisp/crm.el (crm--choose-completion-string):
13110         Adjust to new calling convention.
13111         * complete.el (partial-completion-mode): Use minibufferp to avoid
13112         bumping into incompatible change to choose-completion-string-functions.
13113         * ido.el (ido-choose-completion-string): Make its calling convention
13114         more permissive.
13115         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
13116         base-size manipulation.
13117         (comint-dynamic-list-input-ring): Use dotimes and push.
13118         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
13119         fundamental-mode.  Use `or'.
13121 2009-10-14  Juri Linkov  <juri@jurta.org>
13123         * misearch.el (multi-isearch-next-buffer-from-list)
13124         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
13126 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13128         * Makefile.in (compile-onefile): Load `bytecomp' rather than
13129         `bytecomp.el'.
13131         * minibuffer.el (completion-pcm--merge-completions): Make sure the
13132         string we return is all made up of text from the completions rather
13133         than part from the completions and part from the input (bug#4219).
13135         * ido.el (ido-everywhere): Use define-minor-mode.
13137         * buff-menu.el (list-buffers, ctl-x-map):
13138         Mark the entry points with ;;;###autoload cookies.
13140 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
13142         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
13143         correctly in the detached head case.
13144         (vc-git-print-log): Remove unused binding.
13146         * vc.el (vc-responsible-backend): When a directory is passed for
13147         for registration create a VC repository if no backend is
13148         responsible for the directory argument.
13149         (vc-deduce-fileset): Tell vc-responsible-backend to register.
13151         * vc.el: Move comments about RCS and SCCS ...
13152         * vc-rcs.el:
13153         * vc-sccs.el: ... here, respectively.
13155 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13157         * minibuffer.el (completion--file-name-table): Return nil if there's
13158         no file completion, even if substitute-in-file-name changed
13159         the string (bug#4708).
13161 2009-10-13  Juri Linkov  <juri@jurta.org>
13163         * files-x.el (read-file-local-variable-value): Don't filter out
13164         minor modes from mode name completion (bug#4664).
13166 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
13168         * international/mule-cmds.el (ucs-names): Remove exclusion of
13169         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
13171 2009-10-13  Kenichi Handa  <handa@m17n.org>
13173         * international/uni-name.el: Regenerated.
13175 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
13177         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
13178         should be automatically buffer-local, but isn't.)
13180 2009-10-12  Sam Steingold  <sds@gnu.org>
13182         * progmodes/compile.el (compilation-next-error-function): Fix the
13183         timestamps if the buffer has been visited before.
13184         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
13185         non-anchored patterns, like the perl one (bug#3928).
13187 2009-10-12  Glenn Morris  <rgm@gnu.org>
13189         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
13190         Let-bind `size'.
13192 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
13194         * proced.el (proced-unload-function): New function.
13196         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
13197         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
13198         Doc fix.
13200         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
13202 2009-10-11  Juri Linkov  <juri@jurta.org>
13204         * files-x.el (read-file-local-variable-value):
13205         Provide default value only for bound variables (bug#4664).
13207 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
13209         * net/tramp.el (tramp-local-host-p): Function shall return nil for
13210         connection methods like smb.
13212         * net/tramp-cache.el (tramp-flush-connection-property): The hash
13213         can be empty.
13215         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13216         (tramp-smb-file-name-handler-alist): Add handlers for
13217         `add-name-to-file', `make-symbolic-link'.
13218         (tramp-smb-handle-add-name-to-file)
13219         (tramp-smb-do-file-attributes-with-stat)
13220         (tramp-smb-handle-make-symbolic-link)
13221         (tramp-smb-get-cifs-capabilities): New defuns.
13222         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
13223         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
13224         (tramp-smb-handle-file-local-copy)
13225         (tramp-smb-handle-make-directory-internal)
13226         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
13227         The file name syntax depends on cifs capabilities.
13228         (tramp-smb-handle-file-attributes):
13229         Call `tramp-smb-do-file-attributes-with-stat' if possible.
13230         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
13231         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
13233 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
13235         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
13236         (eieio-defclass): Apply deftype handler and setf-method properties
13237         directly.
13238         (eieio-add-new-slot): Avoid union function from cl library.
13239         (eieio--typep): New function.
13240         (eieio-perform-slot-validation): Use it.
13242 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
13244         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
13245         Update documentation to refer to the variables documented in r1.135.
13246         (Bug#4188)
13248 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
13250         * bookmark.el (Info-suffix-list): Remove this unused variable.
13251         (bookmark-current-point): Remove this obsolete variable.
13252         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
13253         Adjust for removal of bookmark-current-point.
13255         (bookmarks-already-loaded, bookmark-current-buffer)
13256         (bookmark-yank-point): Document.  (Bug#4188)
13258 2009-10-10  Glenn Morris  <rgm@gnu.org>
13260         * frame.el (frame-height): Doc fix.
13262         * calendar/calendar.el (calendar-split-width-threshold): New option.
13263         (calendar-basic-setup): Use calendar-split-width-threshold.
13265 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
13267         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
13268         Ideographic Supplement" range (U+1F200..U+1F2FF).
13270 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
13272         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
13273         since the list will have been rebuilt anyway.  (Bug#4349)
13275 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
13277         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
13278         (bookmark-bmenu-execute-deletions): Don't save here, as
13279         bookmark-delete will now do so if necessary.
13280         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
13281         (Bug#4348)
13283 2009-10-09  Glenn Morris  <rgm@gnu.org>
13285         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
13287 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
13289         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
13290         (bookmark-jump-other-window): Just invoke bookmark-jump with new
13291         argument now, so the two function's behaviors will match.  (Bug#3645)
13293 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
13295         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
13296         (tramp-file-name-real-host, tramp-file-name-port):
13297         Apply `save-match-data'.
13299         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
13300         case both directories are remote.
13301         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
13302         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
13304 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
13306         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
13308 2009-10-07  Glenn Morris  <rgm@gnu.org>
13310         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
13311         of concat.
13313 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13315         * files-x.el (read-file-local-variable): Include some
13316         non-user-variables in the completion table (bug#4664).
13318 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
13320         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
13321         message.
13323         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13324         (tramp-smb-file-name-handler-alist): Add handler for
13325         `copy-directory', `expand-file-name', `set-file-modes'.
13326         (tramp-smb-handle-copy-directory)
13327         (tramp-smb-handle-expand-file-name)
13328         (tramp-smb-handle-set-file-modes): New defuns.
13329         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
13330         (tramp-smb-handle-file-attributes): Simplify check for retrieving
13331         entry.
13332         (tramp-smb-handle-insert-directory): Don't flush the cache.
13333         (tramp-smb-maybe-open-connection): Check for samba client and
13334         server versions.
13336 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
13338         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
13339         to not error out of search for "^lisp=" fails.
13341 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
13343         * makefile.w32-in (WINS_UPDATES): New macro.
13344         (custom-deps, finder-data, autoloads): Use it.
13346 2009-10-07  Glenn Morris  <rgm@gnu.org>
13348         * Makefile.in (autoloads): Revert previous change.
13349         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
13350         the list of preloaded files passed on the command-line, get
13351         it from src/Makefile.
13353         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
13354         show the original buffer rather than a random one.
13356 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
13358         * help.el (describe-no-warranty): Place point in a slightly better
13359         position in the GPLv3 text.
13361 2009-10-06  Sam Steingold  <sds@gnu.org>
13363         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
13364         the comm attribute is present before calling regexp-quote.
13366 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
13368         * play/animate.el (animate-string): For good effect, make sure
13369         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
13371         * play/animate.el (animate-sequence, animate-birthday-present):
13372         * misc.el (butterfly): Don't set `indent-tabs-mode'.
13374 2009-10-06  Glenn Morris  <rgm@gnu.org>
13376         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
13378         * emacs-lisp/autoload.el (autoload-excludes): New variable.
13379         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
13380         (batch-update-autoloads): Process a string value of autoload-excludes,
13381         set during the build process.
13382         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
13384         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
13385         inside with-parsed...  macro so that `v' is defined.
13387         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
13388         * progmodes/fortran.el (fortran-end-of-block)
13389         (fortran-beginning-of-block):
13390         Also push mark in the macro case.
13392         * emerge.el (emerge-show-file-name):
13393         * calc/calc.el (calc-quit):
13394         * calc/calc-misc.el (calc-big-or-small):
13395         * calc/calc-graph.el (calc-graph-view):
13396         * calc/calc-ext.el (calc-reset):
13397         * calendar/calendar.el (calendar-basic-setup):
13398         Use window-full-height-p.
13400         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
13401         header we don't understand, don't insert another.  (Bug#4624)
13402         If changing mime charset, insert the new one in the right place.
13404 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
13406         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
13407         (cal-tex-cursor-month): Correctly increment the end date for diary and
13408         holiday listing.  (Bug#4626)
13410 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13412         * help-fns.el (describe-function-1): Don't burp if the function is not
13413         a symbol.
13415 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
13417         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
13418         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
13419         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
13420         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
13422         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
13423         (eieio-default-superclass): Reflow docstrings.
13424         (this, class-option-assoc, defclass, eieio-class-un-autoload)
13425         (eieio-unbind-method-implementations, defmethod)
13426         (eieio-validate-slot-value, eieio-validate-class-slot-value)
13427         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
13428         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
13429         (eieio-slot-originating-class-p, eieio-slot-name-index)
13430         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
13431         (constructor, initialize-instance, no-next-method, object-print)
13432         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
13433         Fix typos in docstrings.
13434         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
13435         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
13436         (next-method-p): Doc fixes.
13437         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
13438         Fix typos in error messages.
13439         (eieio-defmethod): Fix typo in description of generic method.
13441         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
13442         (eieio-persistent-save-interactive, slot-missing):
13443         Fix typos in docstrings.
13444         (eieio-instance-inheritor-slot-boundp): Doc fix.
13446         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
13447         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
13449         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
13450         (eieio-custom-object-apply-reset):
13451         Fix typos in docstrings and error messages.
13453         * emacs-lisp/eieio-datadebug.el (data-debug-show):
13454         Fix typo in docstring.
13456         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
13457         (eieio-browse-tree): Doc fix.
13458         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
13459         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
13460         Fix typos in docstrings.
13462         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
13463         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
13464         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
13465         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
13466         Reflow docstrings.
13468 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
13470         * vc-hg.el (log-view-vc-backend): Declare for compiler.
13471         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
13472         Set log-view-vc-backend so that diff can work.
13474         * log-view.el (log-view-diff): Use vc-diff-internal instead of
13475         vc-version-diff.
13476         (vc-diff-internal): Autoload this instead of vc-version-diff.
13478 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
13480         * simple.el (eval-expression): Doc fix.
13482         * progmodes/cwarn.el (cwarn-mode): Doc fix.
13484 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
13486         * files.el (directory-files-no-dot-files-regexp): New defconst.
13487         (delete-directory): Use it.
13488         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
13490         * net/tramp.el (tramp-verbose): Fix docstring.
13491         (tramp-methods): Add recursive option to `tramp-copy-args'.
13492         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
13493         "scp1_old", "scp2_old", "rsync", "rsyncc".
13494         (tramp-default-method): Check also for `auth-source-user-or-password'.
13495         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
13496         Add handler for `copy-directory'.
13497         (tramp-handle-copy-directory): New defun.
13498         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
13499         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
13500         Optimize sent command.
13502 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13504         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
13505         window if necessary.
13507         * calendar/calendar.el (calendar-basic-setup): Don't call
13508         switch-to-buffer in a dedicated window.
13510 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
13512         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
13513         don't do anything related to relocating, just return nil.
13514         (bookmark-error-no-filename): New error.
13515         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
13516         bookmark has no file.  Don't even attempt to handle things that
13517         are not files; the whole point of custom handlers is to keep that
13518         knowledge elsewhere anyway.  Tighten some comments.
13519         (bookmark-file-or-variation-thereof): Remove now-unused function.
13520         (bookmark-location): Doc string fix.
13521         (Bug#4250)
13523 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
13525         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
13526         don't use a file dialog, because they usually don't know how to read
13527         a directory target from the user.  (Bug#4230)
13528         Also, make sure the prompt can display directories as well as files.
13530 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
13532         * bookmark.el (bookmark-set, bookmark-buffer-name):
13533         Improve doc strings.  (Bug#1193)
13535 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
13537         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
13538         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
13539         (bookmark-get-annotation, bookmark-set-annotation)
13540         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
13541         (bookmark-set-position, bookmark-get-front-context-string)
13542         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
13543         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
13544         (bookmark-jump-other-window, bookmark-handle-bookmark)
13545         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
13546         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
13547         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
13548         Improve doc strings to say whether bookmark can be a string or
13549         a record or both, and make other consistency and clarity fixes.
13550         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
13551         (bookmark-default-annotation-text, bookmark-yank-word)
13552         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
13553         (bookmark-import-new-list, bookmark-maybe-rename)
13554         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13555         (bookmark-bmenu-bookmark): Give these doc strings.
13556         (bookmark-bmenu-check-position): Give this a doc string, but also
13557         add a FIXME comment about how the function may be pointless.
13558         (bookmark-default-handler): Rework doc string and change a
13559         parameter name, to clarify that this takes a bookmark record
13560         not a bookmark name.
13561         (bookmark-set): Change a parameter name to indicate its meaning,
13562         and improve the doc string a bit.
13563         (Bug#4188)
13565 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
13567         * bookmark.el (bookmark-alist): Document the new `handler' element
13568         in the param alist.
13569         (bookmark-make-record-function): Adjust documentation for above.
13570         (Bug#4193)
13572 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
13574         * info.el (Info-bookmark-make-record): Document this function.
13575         (Info-bookmark-jump): Document with a doc string, not just a comment.
13576         (Bug#4203)
13578 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
13580         * files.el (copy-directory): New defun.
13582         * dired-aux.el (dired-copy-file-recursive): Use it.
13584 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
13586         * files-x.el (modify-dir-local-variable)
13587         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
13588         docstrings.
13590         * recentf.el (recentf-unload-function): New function.
13592 2009-10-04  Glenn Morris  <rgm@gnu.org>
13594         * window.el (window-full-height-p): Add doc string.
13596 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
13598         * window.el (window-full-height-p): New function.  (Bug#4543)
13600 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
13602         * vc.el: Remove commented out code.
13603         (vc-derived-from-dir-mode): Remove, unused.
13604         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
13606 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
13608         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
13609         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
13610         there could be recursive loading when `default-directory' is a
13611         remote file name.  (Bug#4614)
13613 2009-10-03  Glenn Morris  <rgm@gnu.org>
13615         * calendar/calendar.el (calendar-basic-setup): Handle the case where
13616         the frame is wide.
13617         (calendar-generate-window): Test for shrinkability rather than width.
13619         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
13620         reusing existing buffers, in case we happen to visit two files with the
13621         same basename.  (Bug#4593)
13623 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
13625         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
13626         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
13627         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
13628         subdirs of cedet as well.
13629         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
13631 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13633         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
13634         Obey advertised-signature-table.
13636         * help-fns.el (help-function-arglist): Don't check
13637         advertised-signature-table.
13638         (describe-function-1): Do it here instead so it also applies to subrs.
13640 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
13642         * simple.el (start-file-process): Say in the doc-string, that file
13643         handlers might not support pty association, if PROGRAM is nil.
13645         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
13646         HOST and USER are strings.  They are nil, when there are
13647         incomplete entries in ~/.netrc, for example.
13648         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
13649         root directory ("device busy" error otherwise).
13651         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
13652         Flush file properties of created directory.
13654 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
13656         * makefile.w32-in (WINS_BASIC): Remove cedet.
13657         (WINS_CEDET): Add cedet.
13658         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
13660 2009-10-02  Kevin Ryde  <user42@zip.com.au>
13662         * net/browse-url.el (browse-url): Pass any symbol in
13663         browse-url-browser-function to `apply', since if you've mistakenly put
13664         an unbound symbol then the error is clearer.  (Bug#4531)
13666 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
13668         * allout.el (allout-init, allout-back-to-current-heading)
13669         (allout-beginning-of-current-entry, allout-ascend-to-depth)
13670         (allout-ascend, allout-up-current-level, allout-end-of-level)
13671         (allout-previous-visible-heading, allout-forward-current-level)
13672         (allout-backward-current-level, allout-show-children):
13673         * apropos.el (apropos-describe-plist):
13674         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
13675         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
13676         * completion.el (add-completion, add-permanent-completion):
13677         * descr-text.el (describe-text-category, describe-char):
13678         * desktop.el (desktop-lazy-abort):
13679         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
13680         * dired.el (dired-build-subdir-alist):
13681         * ediff.el (ediff-version):
13682         * elide-head.el (elide-head, elide-head-show):
13683         * emerge.el (emerge-version):
13684         * env.el (getenv):
13685         * face-remap.el (variable-pitch-mode):
13686         * faces.el (describe-face):
13687         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
13688         (dired-at-point):
13689         * files.el (find-file-existing, auto-save-mode):
13690         * font-lock.el (font-lock-fontify-buffer):
13691         * help-fns.el (describe-function, describe-variable)
13692         (describe-syntax, describe-categories):
13693         * help.el (view-lossage, describe-bindings, describe-key)
13694         (describe-mode):
13695         * hexl.el (hexl-current-address):
13696         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
13697         * info.el (Info-goto-emacs-key-command-node):
13698         * log-edit.el (log-edit-insert-cvs-template)
13699         (log-edit-insert-cvs-rcstemplate):
13700         * menu-bar.el (menu-bar-mode):
13701         * mouse.el (mouse-appearance-menu):
13702         * newcomment.el (comment-indent-new-line):
13703         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
13704         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
13705         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
13706         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
13707         * recentf.el (recentf-mode):
13708         * savehist.el (savehist-mode, savehist-save):
13709         * shadowfile.el (shadow-copy-files):
13710         * simple.el (kill-ring-save, next-line, previous-line)
13711         (normal-erase-is-backspace-mode):
13712         * strokes.el (strokes-update-window-configuration)
13713         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
13714         (strokes-xpm-for-stroke):
13715         * time.el (emacs-uptime, emacs-init-time):
13716         * tutorial.el (tutorial--describe-nonstandard-key)
13717         (tutorial--detailed-help):
13718         * type-break.el (type-break-mode)
13719         (type-break-mode-line-message-mode, type-break-query-mode)
13720         (type-break-guesstimate-keystroke-threshold):
13721         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
13722         * version.el (emacs-version):
13723         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
13724         * winner.el (winner-mode):
13725         * calendar/timeclock.el (timeclock-in, timeclock-out)
13726         (timeclock-status-string, timeclock-change)
13727         (timeclock-workday-remaining-string)
13728         (timeclock-workday-elapsed-string)
13729         (timeclock-when-to-leave-string):
13730         * calendar/todo-mode.el (todo-add-category):
13731         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
13732         * emacs-lisp/autoload.el (update-file-autoloads):
13733         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
13734         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
13735         (checkdoc-message-text, checkdoc-defun):
13736         * emacs-lisp/debug.el (debugger-list-functions):
13737         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
13738         * emacs-lisp/eieio-opt.el (eieio-describe-class)
13739         (eieio-describe-generic):
13740         * emacs-lisp/lisp-mnt.el (lm-synopsis):
13741         * emacs-lisp/shadow.el (list-load-path-shadows):
13742         * emulation/cua-base.el (cua-mode):
13743         * emulation/edt.el (edt-set-scroll-margins):
13744         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
13745         (tpu-toggle-regexp, tpu-toggle-search-direction)
13746         (tpu-toggle-rectangle, tpu-toggle-control-keys):
13747         * emulation/tpu-extras.el (tpu-set-scroll-margins):
13748         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13749         (viper-set-parsing-style-toggling-macro)
13750         (viper-set-emacs-state-searchstyle-macros):
13751         * emulation/viper.el (viper-set-hooks):
13752         * eshell/esh-mode.el (eshell-truncate-buffer):
13753         * international/mule-cmds.el (prefer-coding-system)
13754         (describe-input-method, describe-language-environment):
13755         * international/mule-diag.el (list-character-sets)
13756         (describe-character-set, describe-coding-system)
13757         (describe-fontset, list-fontsets, list-input-methods):
13758         * mail/sendmail.el (mail-signature):
13759         * net/ange-ftp.el (ange-ftp-copy-file):
13760         * net/browse-url.el (browse-url):
13761         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
13762         * net/quickurl.el (quickurl-add-url):
13763         * net/rcirc.el (names, topic):
13764         * net/xesam.el (xesam-mode):
13765         * play/5x5.el (5x5-new-game):
13766         * play/yow.el (apropos-zippy):
13767         * progmodes/ada-mode.el (ada-mode-version):
13768         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
13769         (f90-end-of-block)
13770         (f90-beginning-of-block):
13771         * progmodes/fortran.el (fortran-end-of-block)
13772         (fortran-beginning-of-block):
13773         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
13774         * progmodes/python.el (python-describe-symbol, python-shell):
13775         * term/ns-win.el (ns-print-buffer):
13776         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
13777         * textmodes/flyspell.el (flyspell-mode-on):
13778         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
13779         (pages-directory-for-addresses):
13780         * textmodes/table.el (table-recognize-cell)
13781         (table-query-dimension, table-generate-source)
13782         (table-insert-sequence, table--warn-incompatibility):
13783         * textmodes/tex-mode.el (tex-validate-buffer):
13784         * textmodes/texinfmt.el (texinfmt-version)
13785         (texinfo-format-buffer):
13786         Use `called-interactively-p' instead of `interactive-p'.
13788 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
13790         * image-mode.el (image-toggle-display):
13791         * emacs-lisp/elp.el (elp-instrument-function):
13792         * emacs-lisp/advice.el (ad-make-advised-definition):
13793         * emacs-lisp/easy-mmode.el (define-minor-mode):
13794         * net/browse-url.el (browse-url-maybe-new-window):
13795         * progmodes/sh-script.el (sh-learn-buffer-indent):
13796         Pass new argument 'any to `called-interactively-p'.
13798 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
13800         * international/uni-bidi.el:
13801         * international/uni-category.el:
13802         * international/uni-combining.el:
13803         * international/uni-comment.el:
13804         * international/uni-decimal.el:
13805         * international/uni-decomposition.el:
13806         * international/uni-digit.el:
13807         * international/uni-lowercase.el:
13808         * international/uni-mirrored.el:
13809         * international/uni-name.el:
13810         * international/uni-numeric.el:
13811         * international/uni-old-name.el:
13812         * international/uni-titlecase.el:
13813         * international/uni-uppercase.el:
13814         Regenerate from Unicode 5.2.0 data.
13816 2009-10-01  Glenn Morris  <rgm@gnu.org>
13818         * Makefile.in (ELCFILES): Regenerate.
13820 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13822         * subr.el (interactive-p): Mark obsolete.
13823         (called-interactively-p): Make the optional-ness of `kind' obsolete.
13824         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
13825         advertised-signature-table for subroutines as well.
13827         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
13828         (set-advertised-calling-convention): New function.
13829         (make-obsolete, define-obsolete-function-alias)
13830         (make-obsolete-variable, define-obsolete-variable-alias):
13831         Make the optional-ness of `when' obsolete.
13832         (define-obsolete-face-alias): Make `when' non-optional.
13833         * help-fns.el (help-function-arglist):
13834         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
13835         Use advertised-signature-table.
13837 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
13839         * files.el (delete-directory): New defun.  The original function
13840         in fileio.c has been renamed to `delete-directory-internal'.
13842         * dired.el (dired-delete-file): Call `delete-directory' with
13843         RECURSIVE parameter.
13845         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
13846         parameter RECURSIVE.  Implementation is missing.
13848         * net/tramp.el (tramp-handle-make-directory): Flush upper
13849         directory's file properties.
13850         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
13851         (tramp-handle-dired-recursive-delete-directory): Flush directory
13852         properties after the remove command only.
13854         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
13855         Handle optional parameter RECURSIVE.
13857         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
13858         Handle optional parameter RECURSIVE.
13860         * net/tramp-smb.el (tramp-smb-errors): Add error message for
13861         connection timeout.
13862         (tramp-smb-handle-delete-directory): Handle optional parameter
13863         RECURSIVE.
13865 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13867         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
13868         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
13869         (byte-compile-defmacro): Use backquotes.
13871         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
13873         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
13874         has no associated file.
13875         (vc-resynch-buffer): Use vc-dir-buffers.
13877 2009-10-01  Glenn Morris  <rgm@gnu.org>
13879         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
13880         (chart-file-count):
13881         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
13882         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
13883         * emacs-lisp/eieio-opt.el (eieio-describe-class):
13884         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
13885         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
13886         (eieio-copy-parents-into-subclass, make-instance, class-children)
13887         (eieio-generic-form):
13889         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
13890         match-data.  (Bug#4555).
13892         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
13893         rather than parsing it as a regexp.  This relaxes the layout
13894         requirements and makes errors easier to detect.
13895         (check-declare-verify): Check file is regular.
13896         (check-declare-directory): Doc fix.
13897         * subr.el (declare-function): Doc fix.
13899         * ibuffer.el (ibuffer-format-qualifier):
13900         * isearch.el (hi-lock-regexp-okay):
13901         * calc/calc.el (math-zerop):
13902         * mail/uce.el (rmail-msgbeg, rmail-msgend):
13903         * term/w32-win.el (setup-default-fontset, set-fontset-font):
13904         Remove unused declarations.
13906 2009-09-30  Eric Ludlam  <zappo@gnu.org>
13908         * emacs-lisp/eieio.el (boolean-p): Delete.
13910 2009-09-30  Glenn Morris  <rgm@gnu.org>
13912         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
13914         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
13915         filename is not a string.
13917 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
13919         * files.el (safe-local-eval-forms): Fix typo.
13921 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
13923         * vc-hooks.el (vc-dir-buffers): New var.
13924         (vc-state-refresh): New function.
13925         (vc-state): Use it.
13926         (vc-after-save): Always ask the backend to recompute the new state.
13927         Always call vc-dir if necessary, using vc-dir-buffers.
13928         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
13929         Use vc-dir-buffers.
13930         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
13931         (vc-dir-prepare-status-buffer, vc-dir-update)
13932         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
13933         Don't call expand-file-name on default-directory.
13935 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
13937         * speedbar.el (speedbar-item-delete):
13938         * calc/calc-prog.el (calc-kbd-if):
13939         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
13941         * epa.el (epa-key-list-mode-map):
13942         * hi-lock.el (hi-lock-menu): Fix typos in menus.
13944         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
13945         (hs-show-hook): Fix typo in docstring.
13947 2009-09-29  Glenn Morris  <rgm@gnu.org>
13949         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
13950         file-name-nondirectory call preventing location of cedet files.
13951         (check-declare-verify): Use literal search rather than re-search.
13952         Add basic defmethod and defclass, and define-overloadable-function.
13954         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
13955         Use tramp-compat-file-attributes rather than nonexistent
13956         tramp-compat-handle-file-attributes.
13958         * Makefile.in (lisptagsfiles4): New.
13959         (AUTOGENEL): Add cedet loaddefs files.
13960         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
13961         (update-elclist, compile-always, backup-compiled-files)
13962         (bootstrap-clean): Add yet another directory level.
13963         (update-elclist): Use LC_COLLATE rather than COLLATE.
13964         (ELCFILES): Update, via `make update-elclist'.
13966 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
13968         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
13969         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
13970         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
13972 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
13974         * Makefile.in (lisptagsfiles3): Define.
13975         (TAGS, TAGS-LISP): Use it.
13976         (update-elclist): Add third directory level to look for elc files.
13977         (compile-always): Likewise.
13978         (backup-compiled-files): Likewise.
13979         (bootstrap-clean): Likewise.
13980         (ELCFILES): Update.
13982 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
13984         * Makefile.in (ELCFILES): Add CEDET files.
13986 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
13988         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
13990         * net/tramp.el (top): Require tramp-imap.
13992         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
13993         Use `tramp-compat-handle-file-attributes'.
13995 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
13997         * net/tramp-imap.el: New package.
13999 2009-09-28  Eric Ludlam  <zappo@gnu.org>
14001         * emacs-lisp/chart.el:
14002         * emacs-lisp/eieio-base.el:
14003         * emacs-lisp/eieio-comp.el:
14004         * emacs-lisp/eieio-custom.el:
14005         * emacs-lisp/eieio-datadebug.el:
14006         * emacs-lisp/eieio-opt.el:
14007         * emacs-lisp/eieio-speedbar.el:
14008         * emacs-lisp/eieio.el: New files.
14010 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14012         * whitespace.el (whitespace-trailing-regexp)
14013         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
14014         Fix doc string.
14016 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
14018         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
14019         menu.
14021         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
14022         menu-bar-ediff-menu.
14024         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
14025         define-overloadable-function.
14027         * progmodes/autoconf.el: Provide autoconf as well, so that this
14028         file can be `require'd.
14030         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
14032         * emacs-lisp/autoload.el (generated-autoload-feature)
14033         (generated-autoload-load-name): New vars.
14034         (autoload-rubric, autoload-generate-file-autoloads): Use them.
14035         (make-autoload): Recognize define-overloadable-function and
14036         defclass forms (for EIEIO).
14038         * Makefile.in (update-subdirs): Exclude cedet directory.
14040 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
14042         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
14044         * faces.el: Default light-background background for region face to
14045         ns_selection_color under NS.
14047 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
14049         * net/imap-hash.el: New library, see NEWS.
14051         * Makefile.in (ELCFILES): Add imap-hash.el.
14053 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14055         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
14056         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
14057         * help-macro.el (make-help-screen): Avoid using an ambiguous function
14058         definition where the docstring could be taken for the return value.
14060 2009-09-26  Glenn Morris  <rgm@gnu.org>
14062         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
14063         Add option to only show images below a certain size.
14064         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
14065         save-excursion calls.
14067 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
14069         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
14070         subdirectories) and eieio.
14072 2009-09-26  Alan Mackenzie  <acm@muc.de>
14074         * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
14075         buggy bracketing.  (Bug#4289)
14077         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
14078         character constants (as case labels).  (Bug#4289)
14080 2009-09-25  Juri Linkov  <juri@jurta.org>
14082         * files.el (safe-local-eval-forms): Allow time-stamp in
14083         before-save-hook (Bug#4554).
14085 2009-09-25  Drew Adams  <drew.adams@oracle.com>
14087         * menu-bar.el (list-buffers-directory): Doc fix.
14089 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14091         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
14092         Try and avoid copying twice the same paragraph.
14093         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
14094         Remove save-excursion.
14095         (log-edit-changelog-entry): Do it here instead.
14097 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
14099         * bs.el (bs--get-file-name): Use `list-buffers-directory'
14100         when available, instead of hardcoding mode names.  Doc fix.
14102         * menu-bar.el (list-buffers-directory): Add docstring.
14103         Make automatically buffer-local.
14105         * dired.el (dired-mode):
14106         * files.el (cd-absolute):
14107         * pcvs.el (cvs-temp-buffer):
14108         * pcvs-util.el (cvs-get-buffer-create):
14109         * shell.el (shell-mode):
14110         * vc-dir.el (vc-dir-mode):
14111         Don't make `list-buffers-directory' buffer local.
14113 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
14115         * comint.el (comint-exec, comint-run, make-comint):
14116         Doc fixes (Bug#4542).
14118 2009-09-25  Glenn Morris  <rgm@gnu.org>
14120         * mail/rmailmm.el (rmail-mime): New custom group.
14121         Move all defcustoms in this file into this group.
14122         (rmail-mime-media-type-handlers-alist): Revert previous change.
14123         (rmail-mime-show-images): New option.
14124         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
14125         references to it, since it wasn't actually used for anything.
14126         (rmail-mime-insert-image): New function.
14127         (rmail-mime-image): Use rmail-mime-insert-image.
14128         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
14129         obey the value of `rmail-mime-show-images' option.  Print the size of
14130         attachments.
14132 2009-09-25  David Engster  <deng@randomsample.de>
14134         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
14136 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14138         * whitespace.el: Does not highlight trailing spaces While point is
14139         at end of line.  Does not highligt spaces at beginning of buffer
14140         while point is at beginning of buffer.  Does not highlight spaces
14141         at end of buffer while point is at end of buffer.  (Bug#4177)
14142         New version 12.0.
14143         (whitespace-display-mappings): Adjust initialization.
14144         (whitespace-point, whitespace-font-lock-refontify): New vars.
14145         (whitespace-color-on, whitespace-color-off): Adjust code.
14146         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
14147         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
14148         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
14150 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
14152         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
14154         * textmodes/sgml-mode.el: Remove xml-mode alias.
14156         * files.el (auto-mode-alist, conf-mode-maybe)
14157         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
14159 2009-09-24  Alan Mackenzie  <acm@muc.de>
14161         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
14162         c-forward-conditionals, but it doesn't move point and doesn't set
14163         the mark.
14164         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
14165         (c-down-conditional-with-else, c-backward-conditional)
14166         (c-forward-conditional): Refactor to use c-scan-conditionals.
14168 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
14170         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
14171         (help-default-arg-highlight): Remove.
14172         (help-highlight-arg): New function.
14173         (help-do-arg-highlight): Use it.
14174         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
14176 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14178         * term.el (term-set-scroll-region, term-handle-ansi-escape):
14179         Undo last change, which didn't fix the problem and introduced others.
14181 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
14183         * progmodes/gdb-mi.el: Don't require speedbar.
14184         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
14186 2009-09-24  Glenn Morris  <rgm@gnu.org>
14188         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
14190         * term/ns-win.el (ns-reg-to-script): Define for compiler.
14192         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
14193         there is no newline after the final mime boundary.  (Bug#4539)
14194         Move markers on insertion so that any buttons inserted don't end up in
14195         the next part of a multipart message.
14196         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
14197         (rmail-mime-bulk-handler): Optionally handle images.
14198         (rmail-mime-image): New button action.
14199         (rmail-mime-image-handler): New function.
14200         (rmail-mime-mode): New mode.
14201         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
14203 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14205         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
14206         than just dropping elements from it (bug#4504).
14208         * term.el (term-set-scroll-region): Don't move cursor any more.
14209         (term-handle-ansi-escape): Call term-goto here instead.
14210         Suggested by Ivan Kanis <apple@kanis.eu>.
14212         * term.el: Require CL.
14213         (term-ansi-reset): New function.
14214         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
14215         (term-handle-colors-array): Simplify.
14217 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
14219         * allout.el (allout-overlay-interior-modification-handler)
14220         (allout-obtain-passphrase):
14221         * epa-file.el (epa-file-write-region):
14222         * ps-print.el (ps-begin-job):
14223         * vc-hooks.el (vc-toggle-read-only):
14224         * vc-rcs.el (vc-rcs-rollback):
14225         * vc-sccs.el (vc-sccs-rollback):
14226         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
14227         (vc-version-diff, vc-revert, vc-rollback):
14228         * wdired.el (wdired-check-kill-buffer):
14229         * emacs-lisp/authors.el (authors):
14230         * net/socks.el (socks-open-connection):
14231         * net/zeroconf.el (zeroconf-service-add-hook):
14232         * obsolete/vc-mcvs.el (vc-mcvs-register):
14233         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
14234         (gdb-select-frame):
14235         * progmodes/grep.el (lgrep, rgrep):
14236         * progmodes/idlw-help.el (idlwave-help-check-locations)
14237         (idlwave-help-html-link, idlwave-help-assistant-open-link):
14238         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
14239         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
14240         (reftex-toc-rename-label): Fix typos in error messages.
14242         * dired-aux.el (dired-do-shell-command): Reflow docstring.
14243         (dired-copy-how-to-fn): Doc fix.
14244         (dired-files-attributes, dired-read-shell-command):
14245         Fix typos in docstrings.
14247         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
14248         (dired-x-find-file-other-window): Reflow docstrings.
14249         (dired-omit-marker-char, dired-read-shell-command)
14250         (dired-x-submit-report): Fix typos in docstrings.
14252         * shell.el (shell-mode-hook):
14253         * view.el (View-scroll-line-forward):
14254         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
14255         Fix typos in docstrings.
14257         * net/dig.el (dig-invoke): Fix typo in docstring.
14258         (query-dig): Reflow docstring.
14260         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
14261         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
14262         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
14263         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
14264         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
14265         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
14266         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
14267         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
14268         (idlwave-completion-map, idlwave-current-indent)
14269         (idlwave-custom-ampersand-surround, idlwave-customize)
14270         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
14271         (idlwave-define-abbrev, idlwave-determine-class-special)
14272         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
14273         (idlwave-end-block-reg, idlwave-end-of-statement)
14274         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
14275         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
14276         (idlwave-explicit-class-listed, idlwave-file-header)
14277         (idlwave-fill-paragraph, idlwave-find-class-definition)
14278         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
14279         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
14280         (idlwave-in-quote, idlwave-indent-action-table)
14281         (idlwave-indent-expand-table, idlwave-indent-line)
14282         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
14283         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
14284         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
14285         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
14286         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
14287         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
14288         (idlwave-outlawed-buffers, idlwave-popup-select)
14289         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
14290         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
14291         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
14292         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
14293         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
14294         (idlwave-statement-type, idlwave-struct-skip)
14295         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
14296         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
14297         (idlwave-what-module-find-class): Fix typos in docstrings.
14298         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
14299         (idlwave-calculate-cont-indent, idlwave-expand-equal)
14300         (idlwave-find-module, idlwave-find-structure-definition)
14301         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
14302         (idlwave-list-load-path-shadows, idlwave-next-statement)
14303         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
14304         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
14305         (idlwave-template): Reflow docstrings.
14307         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
14308         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
14309         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
14310         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
14311         (idlwave-shell-display-line, idlwave-shell-display-wframe)
14312         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
14313         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
14314         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
14315         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
14316         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
14317         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
14318         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
14319         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
14320         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
14321         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
14322         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
14323         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
14324         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
14325         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
14326         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
14327         Fix typos in docstrings.
14328         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
14329         (idlwave-shell-hide-output, idlwave-shell-mode)
14330         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
14331         Reflow docstrings.
14333         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
14335 2009-09-24  Ivan Kanis  <apple@kanis.eu>
14337         * term.el (term-bold-attribute): New var.
14338         (term-handle-colors-array): Use it.
14340 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
14342         * progmodes/gdb-mi.el (gdb-version): New variable.
14343         (gdb-non-stop-handler): Set gdb-version.
14344         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
14345         Condition "--thread" option on gdb-version.
14346         (gdb-invalidate-threads): Remove unused argument.
14348 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14350         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
14351         to looking-back to avoid ridiculous slow down in large files (bug#4511).
14353 2009-09-23  Glenn Morris  <rgm@gnu.org>
14355         * mail/rmail.el (rmail-reply): Don't try to add a References header when
14356         replying to mail without References or Message-Id.  (Bug#4525)
14358 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
14360         * term/ns-win.el (ns-reg-to-script): New variable.
14362 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
14364         * epg.el (epg-wait-for-status): Preserve existing 'error results.
14366 2009-09-22  Sam Steingold  <sds@gnu.org>
14368         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
14369         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
14370         to 1 because hg returns status 1 when nothing is found.
14371         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
14373 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
14375         * textmodes/fill.el: Convert to utf-8 encoding.
14376         (fill-french-nobreak-p): Remove redundant » and « inherited from our
14377         pre-Unicode days.
14379         * add-log.el (change-log-fill-forward-paragraph): New function.
14380         (change-log-mode): Use it so fill-region DTRT.
14381         Set fill-indent-according-to-mode here rather than in
14382         change-log-fill-paragraph.
14383         (change-log-fill-paragraph): Remove.
14385 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
14387         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
14388         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
14390 2009-09-22  Glenn Morris  <rgm@gnu.org>
14392         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
14393         the scroll-bar scroll the calendar window rather than the buffer.
14395         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
14396         commands that move point (as opposed to scrolling).
14398         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
14400         * emacs-lisp/elint.el (elint): New custom group.
14401         (elint-log-buffer): Make it a defcustom.
14402         (elint-scan-preloaded, elint-ignored-warnings)
14403         (elint-directory-skip-re): New options.
14404         (elint-builtin-variables): Doc fix.
14405         (elint-preloaded-env): New variable.
14406         (elint-unknown-builtin-args): Add an entry for encode-time.
14407         (elint-extra-errors): Make it a variable rather than a constant.
14408         (elint-preloaded-skip-re): New constant.
14409         (elint-directory): Skip files matching elint-directory-skip-re.
14410         (elint-features): New variable, local to linted buffers.
14411         (elint-update-env): Initialize elint-features.  Possibly add
14412         elint-preloaded-env to the buffer's environment.
14413         (elint-get-top-forms): Bind elint-current-pos, for log messages.
14414         Skip quoted forms.
14415         (elint-init-form): New function, extracted from elint-init-env.
14416         Make non-list forms a warning rather than an error.
14417         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
14418         easy-menu-define, put that adds an error-condition, and provide.
14419         When requiring cl, also require cl-macs.  Really require cl, to handle
14420         some cl macros.  Store required libraries in the list elint-features,
14421         so as not to re-load them.  Treat cc-require like require.
14422         (elint-init-env): Call elint-init-form to do the work.
14423         Handle eval-and-compile and such like.
14424         (elint-add-required-env): Do not clear messages.
14425         (elint-special-forms): Add handlers for function, defalias, if, when,
14426         unless, and, or.
14427         (elint-form): Add optional argument to ignore elint-special-forms,
14428         useful to prevent recursive calls from handlers.  Doc fix.
14429         Respect elint-ignored-warnings.
14430         (elint-form): Respect elint-ignored-warnings.
14431         (elint-bound-variable, elint-bound-function): New variables.
14432         (elint-unbound-variable): Respect elint-bound-variable.
14433         (elint-get-args): Respect elint-bound-function.
14434         (elint-check-cond-form): Add some simple handling for (f)boundp and
14435         featurep tests.
14436         (elint-check-defalias-form): New handler.
14437         (elint-check-let-form): Make an empty let a warning rather than an
14438         error.
14439         (elint-check-setq-form): Make an empty setq a warning rather than an
14440         error.  Respect elint-ignored-warnings.
14441         (elint-check-defvar-form): Accept null doc-strings.
14442         (elint-check-conditional-form): New handler.  Does some simple-minded
14443         checking of featurep and (f)boundp tests.
14444         (elint-put-function-args): New function.
14445         (elint-initialize): Use elint-scan-doc-file rather than
14446         elint-find-builtin-variables.  Use elint-put-function-args.
14447         Possibly scan preloaded-file-list.
14448         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
14449         extend to handle functions as well.
14451 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
14453         * linum.el (linum-delete-overlays, linum-update-window):
14454         Do not modify the right margin.  (Bug#3971)
14456 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
14458         * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
14459         nxml-mode instead of xml-mode.
14461 2009-09-21  Kevin Ryde  <user42@zip.com.au>
14463         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
14465 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14467         * net/dig.el (dig-mode): Use define-derived-mode.
14469 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
14471         * vc-dispatcher.el (vc-do-command): Return the process object in
14472         the asynchronous case.  Use when instead of if.  Do not run
14473         vc-exec-after to display a message if not enabled.  (Bug#4463)
14475         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
14476         properties to the stash strings.
14477         (vc-git-stash-list): Return a list of strings.
14478         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
14479         (vc-git-stash-show-at-point): New functions.
14480         (vc-git-stash-map): New keymap.
14482         * register.el (ctl-x-r-map): Define the keys here instead of
14483         using autoload.
14485 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
14487         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
14488         list, to workaround performance problem (bug#4485).
14490 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
14492         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
14494 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
14496         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
14497         Document that this option is not recommended to use.
14499 2009-09-19  Glenn Morris  <rgm@gnu.org>
14501         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
14502         variable `var'.
14504         * calc/calc-alg.el (var):
14505         * calc/calcalg2.el (var): Define for compiler.
14507 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
14509         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
14510         Doc fix (Bug#3932).
14512         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
14514         * time-stamp.el (time-stamp-month-dd-yyyy)
14515         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
14516         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
14517         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
14518         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
14519         Remove functions that have been obsolete since 1995 (Bug#4436).
14521         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
14522         indent buffer only if called interactively (Bug#4452).
14524 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
14525             Eli Zaretskii  <eliz@gnu.org>
14527         This fixes bug#4197 (merged to bug#865, though not identical).
14528         * server.el (server-auth-dir): Add docstring note about FAT32.
14529         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
14530         but warn against using them.
14532 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
14534         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
14535         older GDB where there is no has_more field.
14537 2009-09-19  Glenn Morris  <rgm@gnu.org>
14539         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
14541 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
14543         * files.el (auto-mode-alist): Change default for XML files to nXML
14544         mode (Bug#4169).
14546 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
14548         * server.el (server-ensure-safe-dir): Pass 'integer
14549         to `file-attributes', as suggested.
14551 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14553         * dired-aux.el (dired-query-alist): Remove spurious backslash.
14554         (dired-query): Use read-key.
14556 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
14558         * cus-start.el (ns-use-qd-smoothing): Remove.
14560 2009-09-18  Glenn Morris  <rgm@gnu.org>
14562         * allout.el (top-level): Remove unnecessary progn.
14564         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
14566         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
14567         definition of abbrev table.
14569         * speedbar.el (speedbar-track-mouse):
14570         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
14571         * net/eudc.el (eudc-expand-inline):
14572         * net/newst-backend.el (newsticker--cache-read-feed):
14573         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
14574         condition-case handlers.
14576 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
14578         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
14579         (gdb-var-list): Add an element for has_more field.
14580         (gdb-non-stop-handler): Enable pretty printing for STL containers.
14581         (gdb-var-create-handler, gdb-var-list-children-handler-1)
14582         (gdb-var-update-handler-1): Parse output of dynamic variable
14583         objects (STL containers).
14584         (gdb-var-delete-1): Pass var1 as an explicit second argument.
14585         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
14587         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
14588         gdb-var-list.
14589         (gud-speedbar-buttons): Make node expandable if expression "has more"
14590         children.
14592 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
14594         * startup.el (emacs-quick-startup): Remove variable and all uses.
14595         (command-line): Set `inhibit-x-resources' instead.
14596         (command-line-1): Use `inhibit-x-resources' instead.
14598 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
14600         * subr.el: Fix last change to avoid using the `unless' macro,
14601         which breaks bootstrapping.
14603 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14605         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
14606         extended definitions, in case we reload subr.el after having
14607         loaded CL.
14608         (eval-next-after-load): Mark as obsolete.
14610 2009-09-17  Juri Linkov  <juri@jurta.org>
14612         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
14613         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
14614         (menu-bar-showhide-menu, menu-bar-tools-menu)
14615         (menu-bar-describe-menu, menu-bar-help-menu)
14616         (minibuffer-local-completion-map, minibuffer-local-map):
14617         Fix list quoting.
14619 2009-09-17  Glenn Morris  <rgm@gnu.org>
14621         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
14622         arguments, whether or not it has a handler.
14624         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
14626         * simple.el (hard-newline): Give it a doc-string.
14628         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
14629         (lisp-mode-syntax-table): Give them doc-strings.
14631 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
14633         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
14634         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
14635         (menu-bar-options-menu, menu-bar-showhide-menu)
14636         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
14637         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
14638         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
14639         (menu-bar-options-menu, menu-bar-tools-menu)
14640         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
14641         (menu-bar-help-menu):
14642         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
14643         string arguments.
14645         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
14646         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
14647         calls for the menu names and :help.
14649 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14651         * mouse.el (minor-mode-menu-from-indicator): Pay attention
14652         to :minor-mode-function (bug#4455).
14654 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
14656         * startup.el (command-line): Initialize the window-system after
14657         processing the command-line.
14659         * textmodes/page.el (what-page): Make sure we don't inf-loop if
14660         page-delimiter matches the empty string.
14662 2009-09-16  Glenn Morris  <rgm@gnu.org>
14664         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
14665         byte-compile-not-obsolete-var.  It's a list now.
14666         (byte-compile-not-obsolete-funcs): New variable.
14667         (byte-compile-warn-obsolete): Don't warn about functions if they are in
14668         byte-compile-not-obsolete-funcs.
14669         (byte-compile-variable-ref, byte-compile-defvar): Update for
14670         byte-compile-not-obsolete-vars name-change and list nature.
14671         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
14672         and variables behind (f)boundp tests.
14673         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
14675 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
14677         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
14679 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14681         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
14682         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
14683         Don't autoload.
14685 2009-09-15  Stephen Eglen  <stephen@gnu.org>
14687         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
14688         the virtual-buffers, use the name of the buffer specified by
14689         find-file-noselect, as the match may be a symlink.  (This was a
14690         problem if the target and the symlink had different names.)
14692 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14694         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
14696         * desktop.el (desktop-path): Check user-emacs-directory.
14698         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
14700         * loadup.el: Use after-load-functions to GC after loading each file.
14701         Remove the explicit GC calls that used to be sprinkled around.
14703         * subr.el (after-load-functions): New hook.
14704         (do-after-load-evaluation): Run it.  Use string-match-p to detect
14705         `obsolete' packages, rather than painfully extracting the relevant
14706         directory name.
14708 2009-09-15  Glenn Morris  <rgm@gnu.org>
14710         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
14711         free variable `doc'.
14713         * dired.el (dired-mode-map): Add menu entry for async shell command.
14715         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
14716         variables, also consider the .elc files, since the .el files are
14717         normally gzipped (subsequent code locates the .el.gz from the .elc).
14719         * calc/calc-prog.el (arglist): Define for compiler.
14721         * calendar/diary-lib.el (diary-display-function): Change the default to
14722         fancy display.
14723         (body): Define for compiler.
14725         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
14726         (byte-compile-file-form, byte-compile-lambda)
14727         (byte-compile-top-level-body, byte-compile-form)
14728         (byte-compile-variable-ref, byte-compile-setq)
14729         (byte-compile-setq-default, byte-compile-body)
14730         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
14731         (batch-byte-compile): Give some more local variables with common names
14732         a "bytecomp-" prefix to avoid masking warnings about free variables.
14734         * startup.el (command-line-1): Give local variables with common names a
14735         distinguishing prefix, so as not to hide free variable warnings during
14736         bootstrap.
14738         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
14739         clever and add a suffix to make a unique name, just let the user decide
14740         whether or not to overwrite it.  If the input is a directory, write the
14741         default filename to that directory.  (Bug#4388)
14742         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
14743         is a filename-as-a-directory.
14745 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14747         * textmodes/page.el (what-page): Don't move to beginning of line.
14748         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
14750 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
14752         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
14754 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
14756         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
14757         * help.el (help-for-help-internal): Add purecopy calls for text.
14759         * vc.el (top): print-log method now takes an optional SHORTLOG
14760         argument.  Add a new method: root.
14761         (vc-root-diff, vc-print-root-log): New functions.
14762         (vc-log-short-style): New variable.
14763         (vc-print-log-internal): Add support for showing short logs.
14765         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
14766         vc-print-root-log and vc-print-root-diff.
14768         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
14769         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
14770         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
14771         short logs.
14773         * vc-cvs.el (vc-cvs-print-log):
14774         * vc-mtn.el (vc-mtn-print-log):
14775         * vc-rcs.el (vc-rcs-print-log):
14776         * vc-sccs.el (vc-sccs-print-log):
14777         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
14778         that is ignored for now.
14780         * vc-mtn.el (vc-mtn-annotate-command):
14781         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
14783 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14785         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
14786         to function-key-map, and give them ascii-character property.
14787         * term/x-win.el (x-alternatives-map):
14788         * term/ns-win.el (ns-alternatives-map):
14789         * term/internal.el (msdos-key-remapping-map):
14790         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
14792 2009-09-14  Glenn Morris  <rgm@gnu.org>
14794         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
14795         temp-buffers (2009-09-12).
14797 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14799         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
14800         the new read-key function.
14802 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
14804         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
14805         is defined (Bug#4405).
14807 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
14809         * recentf.el (recentf-cleanup): Use a hash table to find
14810         duplicates (Bug#4407).
14812 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
14814         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
14815         kp-0 to ascii equivalents (Bug#4325).
14817 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
14819         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
14821         * eshell/em-hist.el:
14822         * eshell/em-dirs.el (eshell-complete-user-reference):
14823         Declare pcomplete functions and variables to avoid compiler warnings.
14825 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
14827         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
14828         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
14829         * eshell/em-alias.el (eshell-aliases-file):
14830         * eshell/em-hist.el (eshell-history-file-name):
14831         Use expand-file-name instead of concat to make file names (Bug#4308).
14833 2009-09-13  Glenn Morris  <rgm@gnu.org>
14835         * ediff-merg.el (ediff-do-merge):
14836         * filesets.el (filesets-run-cmd):
14837         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
14838         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
14839         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
14840         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
14841         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
14842         Replace empty `let's with `progn'.
14844 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14846         * mail/sendmail.el (send-mail-function):
14847         * tooltip.el (tooltip-mode):
14848         * simple.el (transient-mark-mode):
14849         * rfn-eshadow.el (file-name-shadow-mode):
14850         * frame.el (blink-cursor-mode):
14851         * font-core.el (global-font-lock-mode):
14852         * files.el (temporary-file-directory)
14853         (small-temporary-file-directory, auto-save-file-name-transforms):
14854         * epa-hook.el (auto-encryption-mode):
14855         * composite.el (global-auto-composition-mode):
14856         Use custom-initialize-delay.
14857         * startup.el (command-line): Don't explicitly call
14858         custom-reevaluate-setting for all the above vars.
14859         * custom.el (custom-initialize-safe-set)
14860         (custom-initialize-safe-default): Delete.
14862 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14864         * term/x-win.el (x-initialize-window-system):
14865         * term/w32-win.el (w32-initialize-window-system):
14866         * term/ns-win.el (ns-initialize-window-system): Don't call
14867         mouse-wheel-mode since it's enabled globally by default already.
14869         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
14870         actually define the variable, but only silences the byte-compiler.
14871         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
14872         before looking it up.
14873         (mouse-wheel-scroll-amount): Also reset the bindings if this value
14874         is changed.
14876 2009-09-12  Glenn Morris  <rgm@gnu.org>
14878         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
14879         1000.
14880         (elint-add-required-env): Don't beep on error.
14881         (elint-forms): In case of error, return ENV unchanged.
14882         (elint-init-env): Skip non-list forms.
14883         (elint-log): Handle unknown file positions.
14885 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
14887         * epg.el (epg-make-context): Add autoload cookie.
14888         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
14889         (epg-decrypt-string, epg-start-verify, epg-verify-file)
14890         (epg-verify-string, epg-start-sign, epg-sign-file)
14891         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
14892         (epg-encrypt-string, epg-start-export-keys)
14893         (epg-export-keys-to-file, epg-export-keys-to-string)
14894         (epg-start-import-keys, epg-import-keys-from-file)
14895         (epg-import-keys-from-string, epg-start-receive-keys)
14896         (epg-receive-keys, epg-import-keys-from-server)
14897         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
14898         (epg-sign-keys, epg-start-generate-key)
14899         (epg-generate-key-from-file, epg-generate-key-from-string):
14900         Remove autoload cookie.
14902 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
14904         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
14905         reevaluation of trash-directory.
14907         * mwheel.el: Fix last change.
14908         (mouse-wheel-mode): New defvar.
14909         (mouse-wheel-mode): Remove autoload cookie.
14911 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14913         * mwheel.el (mwheel-installed-bindings): New var.
14914         (mouse-wheel-mode): Use it, so as to make sure we really remove all
14915         the bindings we set last time.  Use custom-initialize-delay.
14916         * loadup.el: Load mwheel after term/*-win.el.
14917         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
14918         and mouse-wheel-up-event now that their first evaluation is done
14919         sufficiently late to be correct.
14921         * startup.el (tutorial-directory): Make it a defcustom.
14922         Use custom-initialize-delay rather than eval-at-startup to set it.
14923         * image.el (image-load-path): Make it a defcustom.
14924         Use custom-initialize-delay rather than eval-at-startup to set it.
14925         * subr.el (eval-at-startup): Remove.
14926         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
14928         * subr.el (do-after-load-evaluation): Warn the user after loading an
14929         obsolete package.
14931 2009-09-12  Glenn Morris  <rgm@gnu.org>
14933         * proced.el (proced-mark-alt): Remove alias.
14934         (proced-mode-map): Remove proced-mark-alt.
14936         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
14937         Elint file and directory.  Remove initialization entry.
14939         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
14940         commands.
14941         (elint-current-buffer): Set mode-line-process.
14942         (elint-init-env): Handle define-derived-mode.
14943         Fix declare-function with unspecified arglist.  Guard against odd
14944         defalias statements (eg iso-insert's 8859-1-map).
14945         (elint-add-required-env): Use a temp buffer.
14946         (elint-form): Just print the function/macro name, not the whole form.
14947         Return env unchanged if we fail to parse a macro.
14948         (elint-forms): Guard against parse errors.
14949         (elint-output): New function, to handle batch mode.
14950         (elint-log-message): Add optional argument.  Use elint-output.
14951         (elint-set-mode-line): New function.
14953 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
14955         * emacs-lisp/elp.el (elp-not-profilable): Add more
14956         functions (Bug#4233).
14958 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
14960         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
14961         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
14963 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
14965         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
14966         (gdb-var-list-children): Use json parsing.
14968 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
14970         * progmodes/js.el (js--proper-indentation): Handle the case where
14971         char-before is null.  Reported by Deniz Dogan.
14973 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
14975         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
14977 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
14979         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
14980         (epg-digest-algorithm-alist): Add SHA224.
14981         (epg-context-set-passphrase-callback)
14982         (epg-context-set-progress-callback): Add description about
14983         callback function.
14985 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
14987         * custom.el (custom-delayed-init-variables): New var.
14988         (custom-initialize-delay): New function.
14989         * startup.el (command-line): "Re"evaluate all vars in
14990         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
14991         explicitly any more.
14992         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
14993         to avoid creating a ~/.emacs.d at build-time (bug#4347).
14995         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
14997 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
14999         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
15000         (gdb-var-update-handler): Use json parsing.
15002 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
15004         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
15005         decode annotated text, regardless of language environment.  (Bug#2741)
15007 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15009         * Makefile.in (autoloads): Make rmail.el writable as well.
15011 2009-09-11  Glenn Morris  <rgm@gnu.org>
15013         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
15014         loaddefs.el.
15015         * dired.el: Regenerate with extracted autoloads.
15016         * Makefile.in (autoloads): Make dired.el writable.
15018         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
15019         * ibuffer.el: Regenerate with extracted autoloads.
15020         * Makefile.in (autoloads): Make ibuffer.el writable.
15022         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
15023         * version.el (emacs-copyright, emacs-major-version)
15024         (emacs-minor-version): Reformat doc-strings for make-docfile.
15026         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
15027         functions and variables, since they must be stuff specific to some other
15028         platform.
15029         (apropos-print): Make mouse-click message less specific about button.
15031         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
15032         that records where a macro was defined.
15033         * help-fns.el (describe-function-1): Mention if a function has a
15034         compiler-macro.
15035         * help-mode.el (help-function-cmacro): New button.
15037         * locate.el (top-level): Always require dired.
15038         (locate-mode-map): Initialize inside the defvar.
15040         * net/ange-ftp.el (dired-compress-file): Declare.
15041         (ange-ftp-dired-compress-file): Add doc string.
15043         * term/ns-win.el (x-display-name, x-setup-function-keys):
15044         Unify doc-strings with X versions.
15046 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15048         * emulation/crisp.el (crisp-mode-map): Move initialization
15049         into declaration.
15050         (crisp-mode): Use define-minor-mode.
15052         * progmodes/xscheme.el (xscheme-evaluation-commands):
15053         Put a :advertised-binding property rather than using
15054         advertised-xscheme-send-previous-expression.
15055         (advertised-xscheme-send-previous-expression): Declare obsolete.
15056         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
15057         `advertised-undo'.
15058         (crisp-mode): Add corresponding bindings to
15059         undo's :advertised-binding instead.
15060         * dired.el (dired-mode-map): Put a :advertised-binding property rather
15061         than using dired-advertised-find-file.
15062         (dired-advertised-find-file):
15063         * simple.el (advertised-undo):
15064         * wid-edit.el (advertised-widget-backward): Declare obsolete.
15065         (widget-keymap): Put a :advertised-binding property rather
15066         than using advertised-widget-backward.
15067         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
15068         than using advertised-undo.
15069         * tutorial.el (tutorial--default-keys): Adjust accordingly.
15071 2009-09-10  Simon South  <ssouth@slowcomputing.org>
15073         * progmodes/delphi.el (delphi-tab): Indent region when Transient
15074         Mark mode is enabled and region is active; otherwise indent or
15075         insert TAB as usual.
15076         (delphi-mode): Update description of TAB-key binding.
15078 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
15080         * subr.el (define-key-rebound-commands): Mark obsolete.
15081         * startup.el (precompute-menubar-bindings): Remove.
15082         (normal-top-level): Remove obsolete code that tried to precompute
15083         menubar bindings.
15084         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
15085         define-key-rebound-commands and precompute-menubar-bindings.
15087 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
15089         * net/imap.el (imap-interactive-login): Better messages.
15090         (imap-open): Fix bug with renamed buffer on reconnect.
15091         (imap-authenticate): Add buffer-local imap-last-authenticator variable
15092         for easier debugging and cleaner code.  On successful (guessed based on
15093         server capabilities) secondary authentication, set imap-state
15094         correctly.
15095         (imap-last-authenticator): Define imap-last-authenticator as a variable
15096         to avoid warnings.
15098 2009-09-10  Glenn Morris  <rgm@gnu.org>
15100         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
15102         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
15103         (byte-compile-file-form-autoload): Don't warn about unknown functions
15104         where the autoload statement comes after the use.
15105         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
15106         that any handlers inside the body (eg require) are in turn respected.
15108         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
15109         effects.
15111         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
15112         and syntax and abbrev tables basic docs, if they don't have any.
15114         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
15116         * international/mule-cmds.el (top-level): Require cl when compiling.
15117         (view-hello-file): Use default-value rather than
15118         default-enable-multibyte-characters.
15120         * progmodes/fortran.el: Move all safe and risky properties into the
15121         defcustoms.
15123         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
15124         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
15125         * mail/undigest.el:
15126         Put autoloads in rmail.el rather than loaddefs.el.
15127         * mail/rmail.el: Regenerate with extracted autoloads.
15129         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
15130         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
15132 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
15134         Reported in thread for Bug#4375.
15135         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
15136         "-data-evaluate-expression" instead of print.
15137         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
15138         (gdb-tooltip-print): Parse output from above MI command.
15139         (gdb): Revert 2009-08-11 change.  User should detach inferior
15140         manually.
15142         Remove the word "separate" from IO functions as inferior
15143         output is now never displayed in the GUD buffer.
15145 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
15147         * startup.el (command-line-normalize-file-name): On Windows and
15148         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
15150 2009-09-10  Juri Linkov  <juri@jurta.org>
15152         * isearch.el (isearch-text-char-description): Propertize escape
15153         character sequences with the `escape-glyph' face.  (Bug#4344)
15155         * simple.el (shell-command): Set asynchronous process filter to
15156         `comint-output-filter'.  (Bug#4343)
15158         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
15159         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
15160         the list.  Move "asm" to the bottom.
15161         (grep-find-ignored-directories): Add `choice' with nil value
15162         to empty the list easily.
15163         (grep-find-ignored-files): New option.
15164         (grep-files-history): Set to nil by default instead of '("ch" "el").
15165         (grep-compute-defaults): Add "<X>" to `grep-template'.
15166         (grep-read-files): Bind new local variables `default-alias' and
15167         `default-extension'.  Use a list of default values for the file prompt.
15168         (lgrep): Add `--exclude=' command line options composed from
15169         `grep-find-ignored-files'.
15170         (rgrep): Add `-name' command line options composed from
15171         `grep-find-ignored-files'.  (Bug#4301)
15173 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
15175         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
15176         (bug#4368).
15178 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
15180         * calendar/time-date.el (autoload):
15181         Expand define-obsolete-function-alias into defalias and make-obsolete
15182         for old Emacsen that Gnus supports.
15183         (with-no-warnings): Define it for old Emacsen.
15184         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
15185         is available.
15186         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
15187         float-time is available; suppress compile warning for time-to-seconds.
15189 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
15191         * net/imap.el (imap-message-map): Docstring fix.
15193 2009-09-09  Glenn Morris  <rgm@gnu.org>
15195         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
15196         line numbers too.  (Bug#4374)
15198 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15200         * smerge-mode.el (smerge-remove-props, smerge-refine):
15201         Use with-silent-modifications (bug#4342).
15203         * subr.el (with-silent-modifications): New macro.
15205 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
15207         * files.el (top-level): Require `cl' when compiling.
15209 2009-09-07  Glenn Morris  <rgm@gnu.org>
15211         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
15213         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
15214         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
15216 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
15218         * vc-git.el (vc-git-annotate-command): Use separator to parse
15219         arguments correctly.
15221 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
15223         * proced.el (proced-mode): Doc fix.
15225 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
15227         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
15228         lstat fails.
15229         (tramp-do-file-attributes-with-ls): Check for file existence at
15230         remote end.
15231         (tramp-do-file-attributes-with-stat): Likewise.
15232         (tramp-convert-file-attributes): Return nil when attr is nil.
15234 2009-09-05  Glenn Morris  <rgm@gnu.org>
15236         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
15237         properties to this button.
15238         (diary-fancy-display): Don't extend the button to the final newline.
15239         (diary-fancy-display-mode): Continue to define "q" as a local key.
15241         * calendar/cal-china.el (holiday-chinese): Make it slightly more
15242         efficient.
15244         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
15246         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
15247         (byte-compile-dest-file-function): New option.
15248         (byte-compile-dest-file): Doc fix.
15249         Obey byte-compile-dest-file-function.
15250         (byte-compile-cl-file-p): New function.
15251         (byte-compile-eval): Only suppress noruntime warnings about cl functions
15252         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
15253         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
15254         than for file being previously loaded.
15255         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
15256         (byte-compile-file-form-require): Handle the case where requiring a file
15257         indirectly causes CL to be loaded.
15259 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
15261         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
15262         before killing the old buffer, since by the time `kill-buffer' is
15263         run so many buffer variables have been set to nil that it may not
15264         behave as expected.  (Bug#4061)
15266 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
15268         * files.el (find-alternate-file): If the old buffer is modified
15269         and visiting a file, behave similarly to `kill-buffer' when
15270         killing it, thus reverting to the pre-1.878 behavior; see
15271         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
15272         for discussion.  Also, consult `buffer-file-name' as a variable
15273         not as a function, for consistency with the rest of the code.
15275 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
15277         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
15278         also when adding a new directory.
15280         * net/tramp-compat.el (tramp-compat-line-beginning-position): New
15281         defun.
15283 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15285         * files.el (locate-file-completion-table): Make it provide boundary
15286         information, so partial-completion works better.
15288 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
15290         * mail/footnote.el (Footnote-text-under-cursor):
15291         Check footnote-text-marker-alist before using it (bug#4324).
15293 2009-09-04  Glenn Morris  <rgm@gnu.org>
15295         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
15296         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
15297         * play/solitaire.el, play/tetris.el:
15298         Remove leading * from defcustom and defface docs.
15300         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
15301         necessary.
15302         (diary-fancy-overriding-map): New variable.
15303         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
15304         Use view-mode.
15306         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
15307         goto-line.
15309 2009-09-03  Glenn Morris  <rgm@gnu.org>
15311         * arc-mode.el (archive-mode):
15312         * dos-fns.el (set-default-process-coding-system):
15313         * man.el (Man-getpage-in-background):
15314         * menu-bar.el (menu-bar-describe-menu):
15315         * server.el (server-process-filter):
15316         * startup.el (command-line):
15317         * tar-mode.el (tar-header-block-tokenize, tar-extract):
15318         * w32-fns.el (set-default-process-coding-system):
15319         * x-dnd.el (x-dnd-handle-file-name):
15320         * international/mule-cmds.el (mule-menu-keymap)
15321         (set-default-coding-systems, language-info-alist, set-language-info)
15322         (set-language-environment, standard-display-european-internal)
15323         (set-locale-environment):
15324         * international/mule-diag.el (mule-diag):
15325         * mail/emacsbug.el (report-emacs-bug):
15326         * mail/rmail.el (rmail-mode):
15327         * mail/sendmail.el (mail-setup):
15328         Use default-value rather than default-enable-multibyte-characters.
15330         * progmodes/f90.el: Move all safe properties into the defcustoms.
15331         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
15333         * calendar/appt.el (appt-check):
15334         * calendar/diary-lib.el (diary-set-header, diary-live-p)
15335         (diary-check-diary-file, diary-list-entries)
15336         (diary-include-other-diary-files, diary-simple-display)
15337         (diary-fancy-display, diary-print-entries)
15338         (diary-mark-included-diary-files, diary-make-entry):
15339         Don't call substitute-in-file-name on diary-file.
15341 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
15342             Stefan Monnier  <monnier@iro.umontreal.ca>
15344         * mail/footnote.el (footnote-prefix): Make it a defcustom.
15345         (footnote-mode-map): Move initialization into the declaration.
15346         (footnote-minor-mode-map): Define it rather than changing global-map.
15347         (footnote-mode): Use define-minor-mode.
15349 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
15351         * net/tramp.el (tramp-handle-file-attributes-with-ls)
15352         (tramp-do-file-attributes-with-perl)
15353         (tramp-do-file-attributes-with-stat): Rename from
15354         `tramp-handle-file-attributes-with-*'.
15355         (tramp-handle-file-attributes): Use them.
15356         (tramp-do-directory-files-and-attributes-with-perl)
15357         (tramp-do-directory-files-and-attributes-with-stat): Rename from
15358         `tramp-handle-directory-files-and-attributes-with-*'.
15359         (tramp-handle-directory-files-and-attributes): Use them.
15360         (tramp-method-out-of-band-p): Additional parameter SIZE.
15361         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
15362         (tramp-handle-write-region): Use it.
15363         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
15364         (tramp-handle-vc-registered): Check, whether the first run did
15365         return files to be tested.
15366         (tramp-advice-make-auto-save-file-name): Do not call directly
15367         `tramp-handle-make-auto-save-file-name', because this would bypass
15368         the locking mechanism.
15370         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
15371         (file-remote-p, process-file, start-file-process, set-file-times)
15372         (tramp-compat-file-attributes): Compatibility functions shall not
15373         call directly `tramp-handle-*', because this would bypass the
15374         locking mechanism.
15375         (tramp-compat-number-sequence): New defun.
15377 2009-09-02  Glenn Morris  <rgm@gnu.org>
15379         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
15380         alias for float-time.
15381         (time-to-number-of-days): In Emacs, use float-time.
15382         * net/newst-backend.el (time-add): Suppress warnings from compat
15383         function.
15384         * time.el (emacs-uptime, emacs-init-time):
15385         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
15386         Use float-time rather than time-to-seconds.
15388         * minibuffer.el (completion-initials-expand): Fix typo.
15390         * faces.el (modeline, modeline-inactive, modeline-highlight)
15391         (modeline-buffer-id):
15392         * info.el (info-menu-5): Mark these face aliases as obsolete.
15394 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
15396         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
15397         space ...
15398         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
15399         no "--thread" option.
15400         (gdb-stopped): Don't print "Switched to thread" message when it is
15401         unchanged.
15403 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15405         * minibuffer.el (completion-try-completion)
15406         (completion-all-completions): Remove ill-defined (and
15407         mistakenly installed and luckily never used nor documented)
15408         `completion-styles' property.
15409         (completion-initials-expand, completion-initials-all-completions)
15410         (completion-initials-try-completion): New functions.
15411         (completion-styles-alist): Add doc to each entry.
15412         Add new `initials' entry.
15414 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
15416         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
15417         MI command -var-evaluate-expression.
15418         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
15419         and tweak for case of string child.
15420         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
15422 2009-09-01  Glenn Morris  <rgm@gnu.org>
15424         * add-log.el (change-log-date-face, change-log-name-face)
15425         (change-log-email-face, change-log-file-face, change-log-list-face)
15426         (change-log-conditionals-face, change-log-function-face)
15427         (change-log-acknowledgement-face):
15428         * cus-edit.el (custom-invalid-face, custom-rogue-face)
15429         (custom-modified-face, custom-set-face, custom-changed-face)
15430         (custom-saved-face, custom-button-face, custom-button-pressed-face)
15431         (custom-documentation-face, custom-state-face, custom-comment-face)
15432         (custom-comment-tag-face, custom-variable-tag-face)
15433         (custom-variable-button-face, custom-face-tag-face)
15434         (custom-group-tag-face-1, custom-group-tag-face):
15435         * diff-mode.el (diff-header-face, diff-file-header-face)
15436         (diff-index-face, diff-hunk-header-face, diff-removed-face)
15437         (diff-added-face, diff-changed-face, diff-function-face)
15438         (diff-context-face, diff-nonexistent-face):
15439         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
15440         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
15441         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
15442         (Info-title-4-face):
15443         * isearch.el (isearch-lazy-highlight-face):
15444         * log-view.el (log-view-file-face, log-view-message-face):
15445         * paren.el (show-paren-match-face, show-paren-mismatch-face):
15446         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
15447         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
15448         (cvs-msg-face):
15449         * smerge-mode.el (smerge-mine-face, smerge-other-face)
15450         (smerge-base-face, smerge-markers-face):
15451         * wid-edit.el (widget-documentation-face, widget-button-face)
15452         (widget-field-face, widget-single-line-field-face)
15453         (widget-inactive-face, widget-button-pressed-face):
15454         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
15455         (woman-addition-face):
15456         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
15457         (eshell-ls-executable-face, eshell-ls-readonly-face)
15458         (eshell-ls-unreadable-face, eshell-ls-special-face)
15459         (eshell-ls-missing-face, eshell-ls-archive-face)
15460         (eshell-ls-backup-face, eshell-ls-product-face)
15461         (eshell-ls-clutter-face):
15462         * eshell/em-prompt.el (eshell-prompt-face):
15463         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
15464         * obsolete/old-whitespace.el (whitespace-highlight-face):
15465         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
15466         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
15467         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
15468         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
15469         (antlr-font-lock-literal-face):
15470         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
15471         (ebrowse-root-class-face, ebrowse-file-name-face)
15472         (ebrowse-default-face, ebrowse-member-attribute-face)
15473         (ebrowse-member-class-face, ebrowse-progress-face):
15474         * progmodes/make-mode.el (makefile-space-face):
15475         * progmodes/sh-script.el (sh-heredoc-face):
15476         * textmodes/flyspell.el (flyspell-incorrect-face)
15477         (flyspell-duplicate-face):
15478         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
15479         * textmodes/texinfo.el (texinfo-heading-face):
15480         Mark face aliases with "-face" suffix as obsolete.
15482         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
15483         compiler.
15485         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
15486         (eudc-bob-sound-menu): Use defvar rather than defconst, since
15487         easy-menu-define wants to modify these.
15489         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
15491         * net/browse-url.el (browse-url-file-url):
15492         * term/internal.el (dos-codepage-setup):
15493         Use default-value rather than default-enable-multibyte-characters.
15495         * progmodes/etags.el (etags-goto-tag-location):
15496         * progmodes/flymake.el (flymake-highlight-line)
15497         (flymake-goto-file-and-line, flymake-goto-line):
15498         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
15499         (gdb-goto-breakpoint):
15500         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
15501         * progmodes/python.el (python-find-function)
15502         (python-pdbtrack-track-stack-file):
15503         * progmodes/verilog-mode.el (verilog-surelint-off):
15504         * term/ns-win.el (ns-open-file-select-line):
15505         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
15506         Use forward-line rather than goto-line.
15508         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
15509         * textmodes/reftex-index.el (reftex-display-index):
15510         * textmodes/reftex-ref.el (reftex-offer-label-menu):
15511         * textmodes/reftex-toc.el (reftex-toc):
15512         Remove unnecessary bindings of default-major-mode (all are followed by
15513         major-mode check and possible mode switch).
15515 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
15517         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
15518         Handle watchpoints (bug#4282).
15519         (def-gdb-thread-buffer-command): Enable thread to be selected by
15520         clicking without selecting threads buffer first.
15521         (gdb-current-context-command): Use selected frame so that "up",
15522         "down" etc work in the GUD buffer.
15523         (gdb-update): Find selected frame before rendering stack buffer.
15524         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
15526 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
15528         * progmodes/sym-comp.el (displayed-completions): Remove.
15529         (symbol-complete): Use minibuffer-complete.
15531 2009-08-31  Glenn Morris  <rgm@gnu.org>
15533         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
15535         * apropos.el (apropos-symbols-internal):
15536         Handle (obsolete) face aliases.
15538         * faces.el (describe-face): Adjust the output format to be more like
15539         describe-variable, and to mention (obsolete) face aliases.
15540         Adjust the whitespace so that help-setup-xref works.
15542         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
15543         * calendar/diary-lib.el (diary-button-face):
15544         Mark these face aliases as obsolete.
15546         * calendar/calendar.el (calendar-today): Doc fix.
15548 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
15550         * progmodes/gdb-mi.el (gdb-control-all-threads)
15551         (gdb-control-current-thread): Force tool bar update.
15552         (gdb-non-stop-handler): New function.
15553         (gdb-init-1): Use it to test if non-stop mode is supported.
15554         Remove unused gdbmi buffer type.
15556 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
15558         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
15559         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
15561 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
15563         * comint.el (comint-exec-1): Check command is non-null first.
15564         Part of gdb-mi.el change (2009-08-28).
15566 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15568         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
15570 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
15572         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
15573         instead of `dolist' to avoid a recursive require when bootstrapping.
15575 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15577         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
15579         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
15581         * net/imap.el (imap-send-command): Simplify.
15582         (imap-wait-for-tag): point-max -> buffer-size.
15584         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
15586         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
15587         with constant argument.
15589         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
15591         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
15593         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
15594         Change default, since most of our files don't have a history.
15595         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
15596         the user.
15598         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15599         Add comint-run.
15601         * calc/calc.el: Improve commenting convention.
15602         (calc-digit-map, toplevel): Simplify.
15604         * comint.el (comint-insert-input): Be careful to only set point if we
15605         don't delegate to some other command.
15607         * proced.el (proced-signal-list): Make it an alist.
15608         (proced-grammar-alist): Capitalize names.
15609         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
15610         Disable undo manually and make it read-only.
15611         Use completion-annotate-function.
15613         * minibuffer.el (minibuffer-message): If the current buffer is not
15614         a minibuffer, insert the message in the echo area rather than at the
15615         end of the buffer.
15616         (completion-annotate-function): New variable.
15617         (minibuffer-completion-help): Use it.
15618         (completion--embedded-envvar-table): Environment vars are
15619         always case-sensitive.
15621 2009-08-30  Glenn Morris  <rgm@gnu.org>
15623         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
15624         from fortran-current-defun.
15625         (fortran-beginning-of-subprogram): Be more precise about finding the
15626         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
15627         (fortran-end-of-subprogram): Simplify.
15628         (fortran-current-defun): Use fortran-start-prog-re.
15630 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
15632         * subr.el (do-after-load-evaluation): Simplify.
15634 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
15636         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
15638         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
15639         (vc-rcs-print-log): Use it.
15641         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
15643 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
15645         * paths.el (abbrev-file-name): Move to abbrev.el.
15646         * abbrev.el (abbrev-file-name): Move from paths.el.
15647         Obey user-emacs-directory.
15648         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
15649         user-emacs-directory.
15650         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
15651         abbrev-file-name and calc-settings-file any more.
15652         * startup.el (command-line): Recompute abbrev-file-name and
15653         abbreviated-home-dir.
15654         (normal-no-mouse-startup-screen): Improve the generic code and get rid
15655         of the special code for when C-h bindings haven't been changed.
15656         (display-startup-echo-area-message): Use with-current-buffer.
15657         (command-line-1): Use a list of strings, rather than a list of lists
15658         of strings for longopts.
15660         * files.el (get-free-disk-space): Use / for default-directory.
15662         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
15663         Use with-current-buffer.
15665         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
15666         Recognize immutable variables like most-positive-fixnum.
15667         (byte-compile-setq-default): Check and warn if trying to assign
15668         to an immutable variable, or a non-variable.
15670         * progmodes/cc-vars.el (c-comment-continuation-stars):
15671         * progmodes/cc-engine.el (c-looking-at-bos):
15672         * progmodes/cc-cmds.el (c-toggle-auto-state)
15673         (c-forward-into-nomenclature, c-backward-into-nomenclature)
15674         (c-comment-line-break-function): Add version of obsolescence.
15676 2009-08-28  Juri Linkov  <juri@jurta.org>
15678         * files.el (magic-fallback-mode-alist): Add ZIP magic number
15679         associated with `archive-mode'.
15681         * image.el (image-type-header-regexps): Use only JPEG magic number
15682         to determine JPEG images, and don't use `image-jpeg-p' because
15683         Emacs can display non-JFIF non-Exif JPEG images.
15685 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
15687         * arc-mode.el (archive-mode):
15688         * emacs-lisp/re-builder.el (re-builder-unload-function):
15689         Protect against the default value of `major-mode' being nil.
15691 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
15693         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
15694         Fix typos in docstrings.
15696         * progmodes/js.el (js--macro-decl-re): Doc fix.
15697         (js--plain-method-re, js--split-name): Refloc docstring.
15698         (js--class-styles, js--make-merged-item, js--splice-into-items):
15699         Fix typos in docstrings; reflow docstrings.
15700         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
15701         (js--variable-decl-matcher, js--inside-pitem-p)
15702         (js--parse-state-at-point, js--get-all-known-symbols)
15703         (js--symbol-history, js-find-symbol, js--js-references)
15704         (js--moz-interactor, js--js-encode-value, js--read-tab):
15705         Fix typos in docstrings.
15707 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15709         * textmodes/reftex.el (reftex-get-file-buffer-force):
15710         * progmodes/verilog-mode.el (verilog-batch-execute-func):
15711         * emulation/viper.el (viper-go-away, viper-set-hooks):
15712         * emacs-lisp/re-builder.el (re-builder-unload-function):
15713         * emacs-lisp/bytecomp.el (byte-compile-file):
15714         * ses.el (ses-unload-function):
15715         * hexl.el (hexl-find-file):
15716         * files.el (normal-mode):
15717         * ehelp.el (with-electric-help):
15718         * autoinsert.el (auto-insert-alist):
15719         * arc-mode.el (archive-mode):
15720         Use (default-value 'major-mode) instead of default-major-mode.
15722         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
15723         * international/mule.el (load-with-code-conversion):
15724         * emacs-lisp/debug.el (debug):
15725         * ediff-vers.el (ediff-rcs-get-output-buffer):
15726         * dired.el (dired-internal-noselect): Don't let-bind
15727         default-major-mode around code that doesn't use it.
15728         E.g. buffer creation via get-buffer-create doesn't use it.
15730 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
15732         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
15733         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
15734         when writing the temp file.  Otherwise, epa-file gets confused.
15735         (tramp-register-file-name-handlers): Make it a defun.  Move also
15736         `epa-file-handler' to the front of `file-name-handler-alist'.
15738 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15740         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
15741         start right after a ^M.
15742         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
15743         (tramp-completion-file-name-regexp-separate)
15744         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
15745         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
15746         Don't modify last-coding-system-used by accident.
15747         (tramp-completion-file-name-handler): Apply the checks here,
15748         instead during registration.
15749         (tramp-register-file-name-handlers): Renamed from
15750         `tramp-register-file-name-handler'.  Register both
15751         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
15752         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
15754 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
15756         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
15757         Remove variable ...
15758         (gdb-init-1, gdb-display-separate-io-buffer)
15759         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
15760         references to it.
15761         (gdb-inferior-io-mode): Use make-comint-in-buffer.
15762         (gdb-inferior-filter): Use comint-output-filter to stop
15763         echoing and remove ^M characters.
15765 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15767         * emulation/viper-init.el (viper-restore-cursor-type):
15768         * emulation/cua-base.el (cua--update-indications):
15769         Replace default-cursor-type with (default-value 'cursor-type).
15771         * mail/sendmail.el (mail-recover-1):
15772         * international/mule-diag.el (describe-current-coding-system-briefly)
15773         (describe-current-coding-system):
15774         * international/mule-cmds.el (select-safe-coding-system)
15775         (select-message-coding-system)
15776         (set-language-environment-coding-systems, set-locale-environment):
15777         * hexl.el (hexl-insert-multibyte-char):
15778         * dos-w32.el (find-buffer-file-type-coding-system):
15779         * simple.el (what-cursor-position):
15780         Replace uses of default-buffer-file-coding-system
15781         with (default-value 'buffer-file-coding-system).
15783         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
15784         Replace uses of default-cursor-in-non-selected-windows
15785         with (default-value 'cursor-in-non-selected-windows).
15786         Use with-current-buffer.
15788         * mail/feedmail.el: Use CL macros.
15789         (feedmail-run-the-queue, feedmail-send-it-immediately):
15790         * dos-w32.el (find-buffer-file-type): Replace uses of
15791         default-buffer-file-type with (default-value 'buffer-file-type).
15793 2009-08-28  Glenn Morris  <rgm@gnu.org>
15795         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
15796         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
15797         Use default-value of major-mode rather than default-major-mode.
15799 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15801         * Makefile.in (update-elcfiles): Report left over elc files.
15803         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
15804         expand-file-name and with-current-buffer.
15805         (mail-get-names, mail-directory): Use with-current-buffer.
15807         * vc.el (vc-read-revision): New function.
15808         (vc-version-diff, vc-merge): Use it.
15810 2009-08-27  Sam Steingold  <sds@gnu.org>
15812         * simple.el (kill-do-not-save-duplicates): New user option.
15813         (kill-new): When it is non-nil, and the new string is the same as
15814         the latest kill, set replace to t to avoid duplicates in kill-ring.
15816 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
15818         * net/tramp.el (tramp-handle-process-file): Do not flush all
15819         caches when `process-file-side-effects' is set.
15820         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
15821         instead of `tramp-find-file-exists-command'.
15822         Unset `process-file-side-effects'.
15824 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
15826         * net/tramp.el (tramp-methods): New method "rsyncc".
15827         (top): Add completion function for "rsyncc".
15828         (tramp-message-show-message): New defvar.
15829         (tramp-message, tramp-error): Use it.
15830         (tramp-do-copy-or-rename-file-directly): Extend check for direct
15831         remote copying.
15832         (tramp-do-copy-or-rename-file-out-of-band): Handle new
15833         `tramp-methods' entry `copy-env' of "rsyncc".
15834         (tramp-vc-registered-read-file-names): New defconst.
15835         (tramp-vc-registered-file-names): New defvar.
15836         (tramp-handle-vc-registered): Implement optimization strategy.
15837         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
15838         (tramp-vc-file-name-handler): New defun.
15839         (tramp-get-ls-command, tramp-get-test-command)
15840         (tramp-get-file-exists-command, tramp-get-remote-ln)
15841         (tramp-get-remote-perl, tramp-get-remote-stat)
15842         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
15844         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
15845         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
15846         timestamps.
15847         (tramp-get-file-property): Check for timestamps in
15848         `tramp-cache-inhibit-cache'.
15849         (tramp-set-file-property): Write timestamp.
15851 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
15853         * language/japan-util.el (japanese-symbol-table): Add entries for
15854         cp932-2-byte.
15856         * international/characters.el: Add category `j' to cp932-2-byte.
15858 2009-08-27  Kenichi Handa  <handa@m17n.org>
15860         * international/fontset.el (build-default-fontset-data): New macro.
15861         (setup-default-fontset): Use build-default-fontset-data for CJK,
15862         tibetan, ethiopic, and ipa.
15864 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15866         * cus-start.el (default-major-mode): Customize `major-mode' instead.
15867         (enable-multibyte-characters): Not customizable any more.
15869         * subr.el (default-mode-line-format, default-header-line-format)
15870         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
15871         (default-direction-reversed, default-truncate-lines)
15872         (default-left-margin, default-tab-width, default-case-fold-search)
15873         (default-left-margin-width, default-right-margin-width)
15874         (default-left-fringe-width, default-right-fringe-width)
15875         (default-fringes-outside-margins, default-scroll-bar-width)
15876         (default-vertical-scroll-bar, default-indicate-empty-lines)
15877         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
15878         (default-fringe-cursor-alist, default-scroll-up-aggressively)
15879         (default-scroll-down-aggressively, default-fill-column)
15880         (default-cursor-type, default-buffer-file-type)
15881         (default-cursor-in-non-selected-windows)
15882         (default-buffer-file-coding-system, default-major-mode)
15883         (default-enable-multibyte-characters): Mark as obsolete.
15885 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
15887         * vc-dir.el (vc-dir-update): Remove debug helper.
15889         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
15891 2009-08-26  Sam Steingold  <sds@gnu.org>
15893         * simple.el (save-interprogram-paste-before-kill): New user option.
15894         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
15895         save the interprogram-paste into kill-ring before overriding it
15896         with the Emacs kill.
15898 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
15900         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
15901         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
15902         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
15903         and move to vc-rcs.el.
15904         (vc-default-next-revision): Rename to vc-rcs-next-revision and
15905         move to vc-rcs.el.
15906         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
15907         (vc-rcs-update-changelog): Remove.
15908         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
15909         and move to vc-rcs.el.
15911         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
15912         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
15913         renaming.
15914         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
15915         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
15916         vc.el, renamed to be RCS specific.
15918         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
15919         New functions.
15920         (vc-cvs-update-changelog): Move here from vc.el.
15922         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
15923         New functions.
15925 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15927         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
15929 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
15931         * vc-git.el (vc-git-register): Use "git add" for directories.
15932         (vc-git-stash, vc-git-stash-show): New functions.
15933         (vc-git-extra-menu-map): Bind them.
15935         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
15936         directory correctly in case the item is a directory itself.
15938         * vc.el: Document the desired behavior for reverted files in the
15939         `added' state.
15940         (vc-default-prettify-state-info): Remove function, unused.
15942         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
15944 2009-08-26  Glenn Morris  <rgm@gnu.org>
15946         * bindings.el (standard-mode-line-format): Reposition dashes in
15947         which-func entry.  (Bug#4217)
15949         * files.el (enable-local-variables, enable-local-eval)
15950         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
15951         the defcustoms.
15952         (auto-mode-alist, ignored-local-variables)
15953         (save-some-buffers-action-alist): Move risky declarations to the
15954         definitions.
15955         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
15956         (font-lock-defaults, format-alist, imenu--index-alist)
15957         (imenu-generic-expression, input-method-alist, minor-mode-alist)
15958         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
15959         (mode-line-modified, mode-line-mule-info, mode-line-position)
15960         (mode-line-process, mode-line-remote, outline-level)
15961         (parse-time-rules, rmail-output-file-alist)
15962         (special-display-buffer-names, vc-mode):
15963         Move risky declarations to the relevant files.
15964         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
15965         (mode-line-modified, mode-line-process, mode-line-position)
15966         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
15967         * font-core.el (font-lock-defaults):
15968         * format.el (format-alist):
15969         * vc-hooks.el (vc-mode):
15970         * window.el (special-display-buffer-names):
15971         * international/mule-cmds.el (input-method-alist):
15972         Define riskiness here (dumped file) rather than in files.el.
15973         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
15974         * imenu.el (imenu-generic-expression, imenu--index-alist):
15975         * outline.el (outline-level):
15976         * time.el (display-time-string):
15977         * calendar/parse-time.el (parse-time-rules):
15978         * mail/rmailout.el (rmail-output-file-alist):
15979         Autoload riskiness here, rather than placing in files.el.
15981 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
15983         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
15985 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
15987         * simple.el (process-file-side-effects): New defvar.
15989         * dired-aux.el (dired-show-file-type):
15990         * vc.el (vc-diff-internal):
15991         * vc-arch.el (vc-arch-diff):
15992         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
15993         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
15994         * vc-git.el (vc-git-registered, vc-git-working-revision)
15995         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
15996         (vc-git--empty-db-p):
15997         * vc-hooks.el (vc-user-login-name):
15998         * vc-svn.el (vc-svn-registered, vc-svn-state)
15999         (vc-svn-dir-extra-headers, vc-svn-find-revision):
16000         * progmodes/grep.el (grep-probe): Let-bind
16001         `process-file-side-effects' with nil.
16003         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
16005         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
16006         daemon.  Replace ping by checking for running service for bluez
16007         and zeroconf.  (Bug#4239)
16009 2009-08-25  Kevin Ryde  <user42@zip.com.au>
16011         * net/dig.el (dig): Add autoload cookie.
16013 2009-08-25  Glenn Morris  <rgm@gnu.org>
16015         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
16016         load-history for absolute file-names.
16017         (byte-compile-file-form-require): Warn about use of the cl package.
16019         * format.el (format-alist): Doc fix.
16021         * play/bubbles.el (top-level): Don't require cl at run-time.
16023         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
16024         run-time cl).
16026 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
16028         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
16029         from cl package.
16030         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
16032 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
16034         * calc/calc-alg.el (math-trig-rewrite)
16035         (math-hyperbolic-trig-rewrite): New functions.
16036         (calc-simplify): Simplify trig functions when asked.
16038 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16040         * diff-mode.el (diff-find-source-location): Avoid goto-line.
16042 2009-08-24  Kenichi Handa  <handa@m17n.org>
16044         * language/ind-util.el (mapthread): Delete it.
16045         (combinatorial): New function.
16046         (indian--puthash-cv): Use combinatorial instead of mapthread.
16048 2009-08-22  Kevin Ryde  <user42@zip.com.au>
16050         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
16051         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
16052         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
16053         Clarify docstring that the value is strings not symbols.
16054         (checkdoc-list-of-strings-p): New function.
16056 2009-08-22  Glenn Morris  <rgm@gnu.org>
16058         * files.el (auto-mode-alist):
16059         * hippie-exp.el (he-concat-directory-file-name):
16060         * lpr.el (lpr-windows-system, printer-name):
16061         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
16062         * ps-print.el (ps-windows-system):
16063         * startup.el (command-line):
16064         * emulation/viper-ex.el (viper-glob-function):
16065         * international/mule-cmds.el (set-language-environment-coding-systems):
16066         * net/ange-ftp.el (ange-ftp-write-region):
16067         * obsolete/fast-lock.el (fast-lock-cache-name):
16068         Remove code for defunct system-types emx, macos, mswindows, next-mach,
16069         unisoft-unix, vax-vms, win32, w32.
16071         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
16072         given name if the pattern is not more specific.
16074         * calendar/lunar.el (lunar-phase-names): New option.
16075         (lunar-phase): Doc fix.
16076         (lunar-cycles-per-year): New constant.
16077         (lunar-index): New function.
16078         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
16079         (lunar-phase-name): Use lunar-phase-names.
16080         (calendar-lunar-phases): Use format.
16081         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
16083         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
16084         Copy imenu-example--name-and-position function here for own use.
16085         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
16087         * bs.el (bs--redisplay):
16088         * cus-edit.el (custom-redraw):
16089         * ibuffer.el (ibuffer-bury-buffer):
16090         * server.el (server-goto-line-column):
16091         * startup.el (command-line-1):
16092         * strokes.el (strokes-xpm-for-stroke):
16093         * term.el (term-display-buffer-line):
16094         * view.el (View-goto-line):
16095         * calc/calc.el (calc-do, calc-trail-buffer):
16096         * play/gamegrid.el (gamegrid-add-score-insecure):
16097         * progmodes/ada-mode.el (ada-compile-goto-error):
16098         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
16099         (ebrowse-select-1st-to-9nth):
16100         * progmodes/cperl-mode.el (cperl-time-fontification):
16101         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
16102         * progmodes/gud.el (gud-display-line):
16103         (idlwave-shell-display-line):
16104         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
16105         * progmodes/make-mode.el (makefile-browser-toggle):
16106         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
16107         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
16108         * textmodes/picture.el (picture-draw-rectangle):
16109         * textmodes/reftex-index.el (reftex-index-goto-letter):
16110         (reftex-select-jump-to-previous):
16111         * textmodes/reftex-sel.el (reftex-find-start-point)
16112         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
16113         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
16114         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
16115         * textmodes/tex-mode.el (tex-compilation-parse-errors):
16116         * textmodes/two-column.el (2C-associated-buffer):
16117         Use forward-line rather than goto-line.
16119         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
16120         goto-line.
16122         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
16123         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
16124         (quick-check-list-to-regexp): Declare.
16126         * progmodes/make-mode.el (makefile-browser-insert-selection):
16127         Use goto-char rather than goto-line.
16129         * progmodes/prolog.el (compilation-error-regexp-alist)
16130         (compilation-forget-errors): Declare.
16132 2009-08-22  Juri Linkov  <juri@jurta.org>
16134         * progmodes/grep.el (lgrep, rgrep): At the beginning
16135         set `dir' to `default-directory' unless `dir' is a non-nil
16136         readable directory.  (Bug#4052)
16137         (lgrep, rgrep): Change a weird way to report an error
16138         from using `read-string' to using `error'.
16139         Instead of using interactive arguments in the function body,
16140         add new argument `confirm'.
16142 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16144         * textmodes/remember.el (remember-buffer):
16145         * progmodes/cperl-mode.el (cperl-vc-header-alist):
16146         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
16147         (icalendar-extract-ical-from-buffer):
16148         * net/newst-treeview.el (newsticker-groups-filename):
16149         * net/newst-backend.el (newsticker-cache-filename):
16150         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
16151         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
16152         (speedbar-add-ignored-path-regexp, speedbar-line-path)
16153         (speedbar-buffers-line-path, speedbar-path-line)
16154         (speedbar-buffers-line-path):
16155         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
16156         (epg-sign-keys):
16157         * epa.el (epa-display-verify-result):
16158         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
16160 2009-08-21  Glenn Morris  <rgm@gnu.org>
16162         * progmodes/js.el (inferior-moz-process): Fix declaration.
16164         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
16166         * obsolete/rnewspost.el (news-mail-reply):
16167         Use goto-char rather than goto-line.
16169         * term/ns-win.el (ns-open-file-select-line):
16170         Use line-beginning-position rather than goto-line.
16172         * apropos.el (apropos-command):
16173         * ehelp.el (electric-helpify):
16174         * printing.el (pr-show-setup):
16175         * strokes.el (strokes-help):
16176         * tutorial.el (tutorial--describe-nonstandard-key)
16177         (tutorial--detailed-help):
16178         * woman.el (woman-mini-help, woman-display-extended-fonts):
16179         * calc/calc-help.el (calc-describe-key):
16180         * emulation/edt.el (edt-electric-helpify):
16181         * international/mule-diag.el (mule-diag):
16182         * play/yow.el (apropos-zippy):
16183         * progmodes/python.el (python-describe-symbol):
16184         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
16185         * textmodes/table.el (*table--cell-describe-mode)
16186         (*table--cell-describe-bindings):
16187         Use help-print-return-message rather than the now obsolete alias.
16189         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
16190         (calendar-cursor-to-visible-date):
16191         * play/5x5.el (5x5-position-cursor):
16192         * play/decipher.el (decipher):
16193         * play/gomoku.el (gomoku-goto-xy):
16194         * play/landmark.el (lm-goto-xy):
16195         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
16196         (mpuz-paint-digit):
16197         Use forward-line, not goto-line.
16199         * mail/rmail.el (rmail-obsolete): Delete custom group.
16200         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
16201         (rmail-remote-password, rmail-remote-password-required):
16202         Remove unneeded :set-after and :set properties.
16204 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
16206         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
16208 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
16210         * loadup.el: Remove leftover macos code.
16212         * vc-git.el (vc-git-annotate-command): Run asynchronously.
16213         Explicitly pass the date format to git blame so that user local
16214         so that the output format can be parsed.
16216 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
16218         * net/dbus.el (top): Don't check for (getenv
16219         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
16221 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
16223         * log-edit.el (log-edit-strip-single-file-name): New var.
16224         (log-edit-insert-changelog): Use it.  Bug#3571
16226 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16228         * subr.el (read-passwd): Use read-key so keypad keys work as well.
16229         Bug#3287
16231         * help.el (help-print-return-message): Rename from
16232         print-help-return-message.
16234         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
16235         cvs-mode-map parent hack.
16236         (log-view-mode): Derive from special-mode.
16238         * linum.el (linum-mode): window-size-change-functions is redundant.
16239         Adapt to new window-configuration-change-hook behavior.
16240         (linum-after-size, linum-after-config): Remove.
16242         * imenu.el (imenu-example--name-and-position)
16243         (imenu-example--lisp-extract-index-name)
16244         (imenu-example--create-lisp-index, imenu-example--create-c-index):
16245         Mark as obsolete.
16247         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
16248         (inferior-prolog-mode): Use it.
16249         (inferior-prolog-load-file): Reset list of errors.
16251 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
16253         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
16255         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
16257 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
16259         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
16260         is running already.
16262 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16264         * subr.el (listify-key-sequence-1): Use normal syntax since those
16265         integers are nowadays always represented by the same (positive) number
16266         on all platforms.
16267         (read-key-empty-map): New const.
16268         (read-key-delay): New var.
16269         (read-key): New function.
16270         (force-mode-line-update): Use with-current-buffer.
16271         (locate-user-emacs-file): Don't forget to abbreviate the file name.
16272         (start-process-shell-command, start-file-process-shell-command):
16273         Discourage the use of command-args.
16275 2009-08-19  Glenn Morris  <rgm@gnu.org>
16277         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
16279 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16281         * simple.el (choose-completion-string): Don't rely on
16282         minibuffer-completing-file-name and ad-hoc checks to decide whether
16283         to continue completion or not.
16285         * minibuffer.el (minibuffer-hide-completions): New function.
16286         (completion--do-completion): Use it.
16287         (completions-annotations): New face.
16288         (completion--insert-strings): Use it.
16289         (completion-pcm--delim-wild-regex): Add docstring.
16290         (completion-pcm--string->pattern): Add support for 0-width delimiters
16291         in completion-pcm--delim-wild-regex.
16293 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16295         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
16296         Remove unused var `buffer-modified-p'.
16298         * minibuffer.el (completion--do-completion): Move point for the #b001
16299         case as well (bug#4176).
16300         (minibuffer-complete, minibuffer-complete-word): Don't move point.
16302 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
16304         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
16305         and :session buses.
16307 2009-08-18  Kenichi Handa  <handa@m17n.org>
16309         * international/ucs-normalize.el (ucs-normalize-version):
16310         Change to 1.1.
16311         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
16312         (utf-8-hfs): Make it perform normalization on encoding too.
16314         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
16315         (sentence-end-without-space): Delete duplicated chars.
16316         (sentence-end-base): Likewise.
16318         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
16319         (html-mode): Delete duplicated chars from sentence-end-base.
16321         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
16322         (texinfo-mode): Delete duplicated chars from sentence-end-base.
16324 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
16326         * files.el (hack-one-local-variable): If the mode function is for
16327         a minor mode, pass it an argument (Bug#4148).
16329 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
16331         * net/tramp.el (tramp-register-completion-file-name-handler):
16332         Check also for (member 'partial-completion completion-styles).
16334 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
16336         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
16337         abbrev (Bug#3943).
16339 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
16341         * progmodes/cperl-mode.el: Merge upstream 6.2.
16342         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
16343         (cperl-forward-re): Check cperl-brace-recursing.
16344         (cperl-highlight-charclass): New function.
16345         (cperl-find-pods-heres): Use it.
16346         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
16347         (cperl-beautify-regexp-piece): Fix column calculation.
16348         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
16349         (cperl-beautify-level): Don't process entire regexp.
16350         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
16351         calling man.
16352         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
16353         (cperl-init-faces): Build a list in the normal way.
16355 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
16357         * calendar/parse-time.el (parse-time-string-chars): Save match
16358         data.
16360 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16362         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
16363         (sql-product): Use it.
16364         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
16365         (sql-set-product): Add completion.
16366         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
16367         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
16368         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
16369         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
16370         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
16371         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
16372         (sql-highlight-db2-keywords): Remove.
16373         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
16374         (sql-highlight-product): Use derived-mode-p.
16375         (sql-set-sqli-buffer): Use with-current-buffer.
16376         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
16377         Simplify.
16379         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
16381         * term.el: Fix commenting convention, turn comments into docstrings.
16383 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
16385         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
16387 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
16389         * calendar/parse-time.el (parse-time-string-chars): Compute using
16390         character classes, to handle non-ascii characters (Bug#3190).
16392 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
16394         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
16395         another heredoc if the user adds another < (Bug#3226).
16397         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
16398         Don't initialize based on window-system (Bug#4124).
16400         * facemenu.el (facemenu-read-color): Use a completion function
16401         that accepts any defined color, such as RGB triplets (Bug#3677).
16403         * files.el (get-free-disk-space): Change fallback default
16404         directory to /.  Expand DIR argument before switching to fallback.
16405         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
16407 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
16409         * files.el (load-library): Doc fix.
16411 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
16413         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
16414         (viper-if-string): Redefine C-s in the minibuffer to insert the last
16415         incremental search string.
16417         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
16418         XEmacs.
16420         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
16421         (ediff-merge-region-is-non-clash)
16422         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
16423         Also check if the job is really a merge job.
16425         * ediff.el (ediff-current-file): New function.
16427 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
16429         * progmodes/js.el: Edit docstrings throughout to follow Emacs
16430         conventions.
16431         (js-insert-and-indent): Delete function.
16432         (js-mode-map): Don't bind keys to js-insert-and-indent.
16433         (js-beginning-of-defun): Rename from js--beginning-of-defun.
16434         (js-end-of-defun): Rename from js--end-of-defun.
16435         (js-auto-indent-flag): Delete variable.
16437 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
16439         * progmodes/js.el: Remove proclaim statement.
16440         Defvar which-func-imenu-joiner-function to silence compiler.
16442         * files.el (auto-mode-alist): Use js-mode for .js files.
16444         * progmodes/js2-mode.el: Remove file.
16446         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
16448         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
16450         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
16452 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
16453             Karl Landstrom  <karl.landstrom@brgeight.se>
16455         * progmodes/js.el: New file.
16457 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
16459         * timezone.el (timezone-parse-date): Add ability to understand ISO
16460         basic format (minimal separators) dates in addition to the
16461         already-supported extended format dates.
16463 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
16465         * international/ucs-normalize.el: Add a `coding' file variable.
16467         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
16469 2009-08-14  Sam Steingold  <sds@gnu.org>
16471         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
16473 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
16475         * faces.el (help-argument-name): Define it here instead of
16476         help-fns.el, because in daemon mode help-fns.el may be loaded when
16477         faces are still uninitialized (Bug#1078).
16479         * help-fns.el (help-argument-name): Move defface to faces.el.
16481 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
16483         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
16484         create buffer with a pty but no process so that GDB can make the
16485         inferior the controlling process.
16487 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
16489         * international/ucs-normalize.el: New file.
16491 2009-08-13  Richard Stallman  <rms@gnu.org>
16493         * mail/rmail.el (rmail-get-attr-names):
16494         Accept an attribute header that is too short.
16496         * mail/rmail.el (rmail-forget-messages):
16497         Ignore nil elt in rmail-message-vector.  Use dotimes.
16499         * progmodes/compile.el (compilation-goto-locus):
16500         Use next-error-move-function.
16502         * simple.el (next-error-move-function): New variable.
16504 2009-08-12  Juri Linkov  <juri@jurta.org>
16506         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
16507         always non-nil.  (Bug#4052)
16509         * replace.el (read-regexp): Return empty string when
16510         `default-value' is nil.
16511         (keep-lines-read-args): Don't use empty string as the
16512         default value for `read-regexp'.  (Bug#2495)
16514 2009-08-12  Juri Linkov  <juri@jurta.org>
16516         * international/mule-cmds.el (ucs-insert): Change arguments
16517         from `arg' to `character', `count', `inherit' to be the same
16518         as in `insert-char'.  Doc fix.  (Bug#4039)
16520         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
16522 2009-08-12  Juri Linkov  <juri@jurta.org>
16524         * files-x.el: New file.
16526         * files.el: Move code that deals with adding/deleting
16527         file/directory-local variables to files-x.el.
16529         * Makefile.in (ELCFILES): Add files-x.elc.
16531 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
16533         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
16534         to use `goto-line'.
16535         (gdb-place-breakpoints, gdb-get-location): Rewritten without
16536         `goto-line'.
16537         (gdb-invalidate-disassembly): Do not refresh upon receiving
16538         'update signal.  Instead, update all disassembly buffers only after
16539         threads list.
16540         (gdb): Send -target-detach when buffer is killed (Bug#3794).
16541         (gdb-starting): Moved -data-list-register-names...
16542         (gdb-stopped): ...here so it's sent when first thread stops.
16543         (gdb-registers-handler-custom): Do nothing if register names are
16544         unknown yet.
16546         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
16547         from `gdb-mi.el' to avoid extra tangling.
16549         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
16550         change which breaks `gud-def' definitions used in `gdb'.
16551         (gdb-update-gud-running): No extra fuss for updating frame number.
16553 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
16555         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
16556         (describe-language-environment-map, setup-language-environment-map)
16557         (set-coding-system-map): Move initialization into declaration.
16558         (set-language-info-alist): Last arg to define-key-after can be skipped.
16560         * international/quail.el (quail-completion-1): Simplify.
16561         (quail-define-rules): Use slightly more compact code.
16562         (quail-insert-decode-map): Propertize keys, compact columns.
16564         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16565         Add goto-line.
16567 2009-08-10  Miles Bader  <miles@gnu.org>
16569         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
16570         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
16571         (js2-instance-member, js2-private-member, js2-private-function-call)
16572         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
16573         (js2-magic-paren, js2-external-variable):
16574         Remove "-face" suffix from face names.
16575         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
16576         (js2-highlight-undeclared-vars, js2-peek-token)
16577         (js2-parse-function-params, js2-mode-show-errors)
16578         (js2-mode-show-warnings, js2-make-magic-delimiter)
16579         (js2-mode-highlight-magic-parens): Update to use new face names.
16581 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
16583         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
16584         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
16586 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
16588         * subr.el: Provide hashtable-print-readable.
16590         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
16591         hs-c-like-adjust-block-beginning.
16592         (hs-hide-block-at-point): Stop hiding at the beginning of
16593         hs-block-end-regexp (Bug#700).
16595 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
16597         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
16598         a macro.
16599         (gdb-registers-handler-custom): Do not fail when register names
16600         are unavailable.
16602 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
16604         * progmodes/gdb-mi.el (gdb-control-all-threads)
16605         (gdb-control-current-thread): Interactive setters for
16606         `gdb-gud-control-all-threads' to use in menu.
16607         (gdb-show-run-p): Show «Go» when process is not active.
16608         (gud-tool-bar-map): Add non-stop/A,T indicator.  Uses
16609         gud/thread.xpm and gud/all.xpm.
16611 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
16613         * net/net-utils.el (net-utils-font-lock-keywords): New var.
16614         (nslookup-font-lock-keywords): Make it a variable.
16615         (net-utils-mode): New mode for viewing diagnostic network output.
16616         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
16617         (net-utils-run-simple): New function.
16618         (ifconfig, iwconfig, netstat, arp, route): Use it.
16620 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
16622         * progmodes/gdb-mi.el (gdb-read-memory-custom)
16623         (gdb-memory-set-address, def-gdb-set-positive-number)
16624         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
16625         after changing settings.
16626         (gdb-invalidate-disassembly): Update when first shown.
16627         (gdb-edit-locals-value): Fixed.
16628         (gdb-registers-handler-custom): Print registers in right order and
16629         allow changing register values (only for current thread yet).
16630         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
16631         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
16632         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
16633         (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
16634         info in mode name.
16635         (gdb-registers-mode-map): TAB to switch to locals.
16637 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
16639         * mail/rmail.el (rmail-add-mbox-headers)
16640         (rmail-set-message-counters-counter): Search for
16641         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
16643 2009-08-08  Glenn Morris  <rgm@gnu.org>
16645         * Makefile.in (ELCFILES): Update.
16647 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
16649         * mail/sendmail.el (mail-yank-original): Set
16650         buffer-file-coding-system from the one used by the message whose
16651         text is yanked.
16653         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
16654         to "windows" when "pgnuplot" is used.
16655         (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
16656         call accept-process-output if "pgnuplot" is used.
16657         (calc-graph-init): Don't send -display and -geometry to
16658         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
16659         running "pgnuplot -V" with shell-command-to-string.
16661         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
16662         the default.
16664 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
16666         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
16667         org/org-latex.elc.
16669 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
16671         * vc-dispatcher.el (vc-resynch-window): Update comment.
16673         * term.el (term-handle-ansi-escape): Add comments with the
16674         terminfo capabilities implemented.
16676 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
16678         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
16679         (gdb-var-create-handler): Rewritten using JSON parser.
16680         (gdb-propertize-header): Moved earlier.
16681         (gdb-set-header): Removed to avoid duplication.
16682         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
16683         Refresh disassembly buffers only after threads list have been
16684         update.
16685         (gdb-threads-header, gdb-registers-header): Per-buffer header line
16686         variables.
16688 2009-08-04  Juri Linkov  <juri@jurta.org>
16690         * files.el: Commands to add/delete file/directory-local variables.
16691         (read-file-local-variable, read-file-local-variable-value)
16692         (read-file-local-variable-mode, modify-file-local-variable)
16693         (modify-file-local-variable-prop-line)
16694         (modify-dir-local-variable): New functions.
16695         (add-file-local-variable, delete-file-local-variable)
16696         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
16697         (add-dir-local-variable, delete-dir-local-variable)
16698         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
16699         (copy-dir-locals-to-file-locals-prop-line): New commands.
16701 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
16703         * abbrev.el (insert-abbrev-table-description): Prettify output.
16704         Suggested by Karl Chen.
16706 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
16708         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
16709         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
16710         (gdb-overlay-arrow-position, gdb-thread-position)
16711         (gdb-disassembly-position): Declare variables.
16712         (gdb-wait-for-pending): Function now.
16713         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
16714         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
16715         compilation goes smoothly.
16716         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
16717         (gdb-non-stop-setting): New customization setting which replaces
16718         `gdb-non-stop' so changing it doesn't break active GDB session.
16719         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
16720         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
16721         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
16722         (gdb-show-threads-by-default): New customization options.
16723         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
16724         routines.
16725         (gdb-get-buffer-create): Send buffers update signal when they are
16726         created.
16727         (gdb-invalidate-locals, gdb-invalidate-registers)
16728         (gdb-invalidate-breakpoints)
16729         (gdb-invalidate-threads, gdb-invalidate-disassembly)
16730         (gdb-invalidate-memory): Accept update signal.
16731         (gdb-current-context-command): Use --frame option.
16732         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
16733         Implement `gdb-frame-number' selection logic.
16734         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
16735         whether to show GUD toolbar buttons.
16736         (gdb-thread-exited): Unselect current thread when it exits.
16737         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
16738         (gdb-mark-line): Routine which sets overlay arrow or inverses
16739         video on fringeless displays.
16740         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
16741         to build aligned columns of data in GDB buffers and set text
16742         properties line-by-line.
16743         (gdb-invalidate-breakpoints)
16744         (gdb-breakpoints-list-handler-custom)
16745         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
16746         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
16747         (gdb-registers-handler-custom): Align data columns.
16748         (gdb-locals-handler-custom): Now prints data like in variable
16749         declarations.
16750         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
16751         Removed confusing buttons.
16752         (gdb-invalidate-threads): Append --frame.
16753         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
16754         between breakpoints/threads buffers.
16755         (gdb-set-window-buffer): Now can ignore dedicated windows.
16756         (gdb-propertize-header): Use `gdb-set-window-buffer'.
16757         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
16758         (def-gdb-thread-buffer-gud-command): Replaces
16759         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
16760         for fine thread control.
16761         (gdb-preempt-existing-or-display-buffer): New function used to
16762         display bound buffers without breaking window layout.
16763         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
16764         (gdb-select-frame): New version of `gdb-frames-select' which now
16765         sets `gdb-frame-number' so commands may use --frame option instead
16766         of inner debugger state.
16767         (gdb-frame-handler): Do not set `gdb-frame-number'.
16768         (gdb-threads-mode-map): Select threads with mouse.
16770         * progmodes/gud.el (gdb-gud-context-call): Declare function to
16771         avoid compilation warning.
16772         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
16773         `gdb-show-stop-p`.
16775         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
16776         Argument `key' renamed to `buffer-type'.
16777         (gdb-current-context-buffer-name): Do not add thread info to
16778         buffer name when no thread is selected.
16779         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
16780         command (bug 3794).
16781         (gdb-thread-selected): Handle `=thread-selected' notification.
16782         (gdb-wait-for-pending): New macro to deal with congestion problems.
16783         (gdb-breakpoints-list-handler-custom): Don't fail on pending
16784         breakpoints.
16785         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
16786         This fixes problem similar to one described in bug 3947.
16787         (gud-menu-map): More menu items.
16788         (gdb-init-1): Reset `gdb-thread-number' to nil.
16790         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
16791         non-stop settings.
16793         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
16794         (gdb-current-context-command): Do not append --thread if
16795         `gdb-thread-number' is nil.
16796         (gdb-running-threads-count, gdb-stopped-threads-count): New
16797         variables.
16798         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
16799         (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
16800         customization options.
16801         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
16802         GUD commands.
16803         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
16804         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
16805         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
16806         set `gdb-thread-number' and update `gud-running' properly.
16807         (gdb-running): Update threads list when new threads appear.
16808         (gdb-stopped): Support non-stop operation and new thread switching
16809         logic.
16810         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
16811         (gdb-json-partial-output): New set of JSON routines.
16812         (def-gdb-auto-update-trigger): New `signal-list' optional
16813         argument.
16814         (gdb-thread-list-handler-custom): Update `gud-running',
16815         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
16816         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
16817         (gdb-continue-thread, gdb-step-thread): New commands for fine
16818         thread execution control.
16819         (gud-menu-map): New menu items to switch non-stop options.
16820         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
16821         (gdb-send): Mimic RET properly (bug 3794).
16823         * progmodes/gdb-mi.el (gdb-rules-name-maker)
16824         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
16825         gdb-buffer-rules.
16826         (def-gdb-auto-update-handler): New nopreserve optional argument.
16827         (gdb-stack-list-frames-custom): Print stack from top to bottom.
16829         * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
16830         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
16831         (gdb-parent-mode): New mode to derive other GDB modes from.
16832         (gdb-display-disassembly-for-thread)
16833         (gdb-frame-disassembly-for-thread): New commands for threads
16834         buffer.
16836         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
16837         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
16838         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
16839         (gdb-update): We now store all GDB buffers in a list so that they
16840         can be updated by traversing a list instead of calling invalidate
16841         triggers explicitly.
16842         (def-gdb-trigger-and-handler): New macro to define trigger-handler
16843         pair for GDB buffer.
16844         (gdb-stack-buffer-name): Add thread information.
16845         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
16846         handle pending triggers.
16847         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
16848         (def-gdb-thread-buffer-simple-command)
16849         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
16850         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
16851         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
16852         New commands which show buffers bound to thread.
16853         (gdb-stack-list-locals-regexp): Removed unused regexp.
16855         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
16856         (gdb-locals-buffer-name, gdb-registers-buffer-name)
16857         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
16858         to (gud-comint-buffer) in *-buffer-name functions
16859         because (gdb-get-target-string) already does that.
16860         (gdb-locals-handler-custom, gdb-registers-handler-custom)
16861         (gdb-changed-registers-handler): Rewritten without regexps.
16863         * progmodes/gdb-mi.el: Basic thread selection support.
16864         (gdb-thread-number): New variable.
16865         (gdb-current-context-command): New macro which adds --thread
16866         option to command.
16867         (gdb-threads-mode-map): Select thread with SPC.
16868         (gdb-thread-list-handler-custom): Mark current thread with overlay
16869         arrow.  Synchronize GDB thread and Emacs thread.
16870         (gdb-select-thread): New command which selects current thread.
16871         (gdb-invalidate-frames, gdb-invalidate-locals)
16872         (gdb-invalidate-registers): Use --thread option.
16874 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
16876         * net/tramp.el (top): Make check for tramp-gvfs loading more
16877         robust.  (Bug#3977)
16878         (tramp-handle-insert-file-contents): `unwind-protect' must be
16879         inside `with-parsed-tramp-file-name'.
16881         * net/tramp-gvfs.el (top): Remove superfluous message when loading
16882         fails.
16884 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
16886         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
16887         directory if CLASSPATH is not set.
16889 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
16891         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
16892         New defconst.
16893         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
16895 2009-08-02  Kevin Ryde  <user42@zip.com.au>
16897         * net/newst-backend.el (newsticker--raw-url-list-defaults):
16898         Update freshmeat link.  Delete newsforge.com as it seems gone.
16900 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
16902         * select.el (x-set-selection): Doc fix (Bug#4021).
16904         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
16906         * help-fns.el (describe-variable): Treat list return values from
16907         dir-locals-find-file properly (Bug#4005).
16909 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
16911         * net/tramp.el (tramp-debug-message): Print also microseconds.
16913 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
16915         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
16916         or END is non-nil.
16917         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
16918         (tramp-get-debug-buffer): Change `outline-regexp' according to new
16919         format.
16921         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
16922         (tramp-get-file-property): Use it.
16924         * autorevert.el (auto-revert-handler): Allow
16925         `auto-revert-tail-mode' for remote files.
16927 2009-08-02  Jason Rumney  <jasonr@gnu.org>
16929         * minibuffer.el (read-file-name): Treat confirm options to
16930         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
16932 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
16934         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
16935         (font-lock-variable-name-face, font-lock-constant-face): Darken
16936         the colors for light backgrounds.
16938 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
16940         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
16941         month names.  (Bug#3987)
16943 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
16945         * simple.el (line-move-finish): Pass whole number to
16946         line-move-to-column.
16947         (line-move-visual): Perform hscroll to the recorded position.
16949 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
16951         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
16953 2009-07-29  Alan Mackenzie  <acm@muc.de>
16955         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
16957 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
16959         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
16960         (gdb-place-breakpoints): Use full path when setting breakpoints.
16962 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
16964         * calc/calc.el (calc-mode-map): Add keybinding for
16965         `calc-transpose-lines'.
16967 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
16969         * calc/calc-misc.el (calc-transpose-lines): New function.
16971 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
16973         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
16974         Simplify check for out-of-band methods.
16975         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
16976         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
16978 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
16980         * vc-git.el (vc-git-checkin): Fix typo.
16982 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
16984         * progmodes/js2-mode.el: New file.
16986 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
16988         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
16989         (gud-menu-map): Adjust tooltip accordingly.
16991 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
16993         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
16994         (vc-bzr-log-view-mode): Adjust log-view-file-re.
16996         * add-log.el (change-log-mode-map): Add a menu.
16998 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
17000         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
17001         function returns nil.
17002         (dbus-handle-event): Handle special return value :ignore.
17003         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
17005 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
17007         * view.el (view-mode-enable): Don't define Helper-return-blurb if
17008         it's not needed.
17010 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
17012         Fix Bug#3888:
17014         * w32-vars.el (x-select-enable-clipboard): Doc fix.
17016         * term/pc-win.el (x-display-name, x-colors)
17017         (x-select-enable-clipboard, x-select-text): Doc fix.
17019         * term/common-win.el (x-display-name, x-colors): Doc fix.
17021         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
17022         (xw-defined-colors): Doc fix.
17024         * w32-fns.el (x-select-text, x-setup-function-keys)
17025         (x-get-selection, x-set-selection): Doc fix.
17027         * term/x-win.el (x-select-text, x-setup-function-keys)
17028         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
17030         * select.el (x-set-selection): Doc fix.
17032 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
17034         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
17035         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
17036         "IsNSSSupportAvailable" method is not available.  Reported by
17037         Steve Youngs <steve@sxemacs.org>.
17039 2009-07-24  Kenichi Handa  <handa@m17n.org>
17041         * international/characters.el: Fix setting of category ?C, ?|, ?K,
17042         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
17043         (build-unicode-category-table): Fix range checks.
17045 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
17047         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
17048         the buffer we try to sync is current when calling
17049         vc-resynch-buffer.
17051         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
17052         not show up to date files.
17054 2009-07-24  Glenn Morris  <rgm@gnu.org>
17056         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
17057         Add autoload cookies.  If necessary, initialize.
17058         (elint-log): Handle non-file buffers.
17059         (elint-initialize): Add optional argument to reinitialize.
17060         (elint-find-builtin-variables): Save excursion.
17062 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
17064         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
17065         for Lint.
17067 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
17069         * vc.el (vc-print-log-internal): New function, split out from ...
17070         (vc-print-log): ... here.
17071         (vc-dir-move-to-goal-column): Declare.
17073         * vc-git.el (vc-git-add-signoff): New variable.
17074         (vc-git-checkin): Use it.
17075         (vc-git-toggle-signoff): New function.
17076         (vc-git-extra-menu-map): Bind it to menu.
17077         (vc-git--run-command-string): Accept a nil FILE argument.
17078         (vc-git-stash-list): New function.
17079         (vc-git-dir-extra-headers): Use it.
17081 2009-07-23  Glenn Morris  <rgm@gnu.org>
17083         * help-fns.el (describe-variable): Describe ignored and risky local
17084         variables in a similar way to that in which we describe safe ones.
17086         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
17087         (byte-compile-output-file-form, byte-compile-output-docform)
17088         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
17089         Give some more local variables with common names a "bytecomp-" prefix,
17090         so as not to shadow things during compilation.
17091         * emacs-lisp/cl-macs.el (load-time-value)
17092         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
17093         `outbuffer' to `bytecomp-outbuffer'.
17095         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
17096         since the next two variables cover them automatically now.
17097         (elint-builtin-variables, elint-autoloaded-variables): New.
17098         (elint-unknown-builtin-args): Remove all members, since they can be
17099         parsed automatically now.
17100         (elint-extra-errors): New.
17101         (elint-env-add-env, elint-env-add-macro): Use cadr.
17102         (elint-current-buffer): Use or.  Change final message.
17103         (elint-get-top-forms): Use line-end-position.
17104         (elint-init-env): Use cadr.  Handle autoload, declare-function,
17105         and defalias.
17106         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
17107         (regexp-assoc): Remove unused function.
17108         (elint-top-form): Set elint-current-pos, to record the start of the
17109         top-level form, for compilation-mode.
17110         (elint-form): Trap errors in macro expansion.  Use dolist.
17111         (elint-unbound-variable): Use elint-builtin-variables and
17112         elint-autoloaded-variables.
17113         (elint-get-args): Use cadr, or.
17114         (elint-check-cond-form): Use dolist, cadr.
17115         (elint-check-condition-case-form): Doc fix.  Use cadr.
17116         Use elint-extra-errors.
17117         (elint-log): New function.
17118         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
17119         Distinguish errors and warnings.
17120         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
17121         Use a bytecomp-style format.
17122         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
17123         (elint-get-log-buffer): Use compilation mode.  Disable undo.
17124         Don't truncate lines.
17125         (elint-initialize): Set builtin and autoloaded variable lists.
17126         Only process elint-unknown-builtin-args if non-nil.
17127         (elint-find-builtin-variables, elint-find-autoloaded-variables):
17128         New functions.
17129         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
17131 2009-07-22  Kevin Ryde  <user42@zip.com.au>
17133         * net/newst-backend.el (newsticker--parse-atom-1.0)
17134         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
17135         (newsticker--parse-rss-1.0):
17136         * progmodes/idlwave.el (idlwave-mode):
17137         * progmodes/idlw-shell.el (idlwave-shell-mode):
17138         * progmodes/vera-mode.el (vera-mode):
17139         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
17140         * progmodes/vhdl-mode.el (vhdl-mode):
17141         * textmodes/table.el (table-generate-source)
17142         (table--warn-incompatibility):
17143         Hyperlink urls in docstrings with URL `...'.
17145 2009-07-22  Glenn Morris  <rgm@gnu.org>
17147         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
17148         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
17149         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
17150         Remove leading * from defcustom docs.
17152         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
17154         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
17155         defcustom doc.
17156         (list-load-path-shadows): Optionally, just return shadows as a string.
17158         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
17160 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
17162         * mail/rmailedit.el (rmail-edit-mode): Use
17163         auto-save-include-big-deletions.
17165         * mail/rmail.el (rmail-variables): Use
17166         auto-save-include-big-deletions.
17168         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
17169         changes.
17171 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
17173         * calc/calc.el (calc-undo-length): New variable.
17174         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
17176 2009-07-21  Richard Stallman  <rms@gnu.org>
17178         * files.el (auto-save-mode): Handle buffer-save-size = -2
17179         for toggling mode.
17181 2009-07-21  Glenn Morris  <rgm@gnu.org>
17183         * textmodes/ispell.el (ispell-looking-back): Update declaration.
17185         * calendar/todo-mode.el (calendar-current-date): Update declaration.
17187         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
17188         silence compiler.  Instead...
17189         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
17190         (ps-print-ensure-fontified): Update for above function name changes.
17192         * printing.el (pr-mh-get-msg-num, pr-mh-show)
17193         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
17194         silence compiler.  Instead...
17195         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
17196         (mh-show-buffer): Only define for compiler.
17197         (pr-mh-current-message): Update for above function name changes.
17199         * files.el (abort-if-file-too-large): Explicitly pass `filename'
17200         as an argument.
17201         (find-file-noselect, insert-file-1): Update for above change.
17203         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
17205         * mail/mailclient.el (mailclient-send-it): Fix message.
17207         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
17208         (edebug-eval): Check cl-debug-env is bound.
17209         (print-level, print-circle): Don't redefine built-in variables.
17211         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
17212         (custom-print-vectors): Remove old comments from doc.
17214         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
17215         (emerge-version): Make the variable an obsolete alias for the
17216         emacs-version variable.  Make the function obsolete.
17217         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
17218         Emerge options, rather than merging in into the main Options menu.
17219         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
17220         and auto advance modes.  Disable edit/fast items when not relevant.
17222 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
17224         * term/vt420.el (terminal-init-vt420): Fix typo.
17226 2009-07-20  Sam Steingold  <sds@gnu.org>
17228         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
17229         variable (removed from compile.el on 2004-03-11).
17231 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
17233         * files.el (hack-local-variables-filter): Fix last change.
17235 2009-07-19  Juri Linkov  <juri@jurta.org>
17237         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
17238         (dir-local-variables-alist): New buffer-local variable.
17239         (hack-local-variables-filter): If variable is not dir-local,
17240         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
17241         because file-local overrides dir-local.
17242         (c-postprocess-file-styles) <declare-function>:
17243         Remove obsolete declaration.
17244         (hack-dir-local-variables): Add dir-local variable/value pair to
17245         `dir-local-variables-alist' and remove duplicates.  Doc fix.
17247         * help-fns.el (describe-variable): Add information about
17248         file-local and dir-local variables.
17250 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
17252         * files.el (hack-local-variables-filter): Rewrite.
17254 2009-07-19  Glenn Morris  <rgm@gnu.org>
17256         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
17257         Silence compiler by only defining on XEmacs.
17259         * international/mule.el (auto-coding-regexp-alist): Only match
17260         BABYL... at the start of buffer, not of lines.  (Bug#3790)
17262         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
17263         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
17264         (cal-menu-context-mouse-menu): Doc fix.
17266         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
17268         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
17270 2009-07-18  Juri Linkov  <juri@jurta.org>
17272         * info.el: Virtual Info keyword finder.
17273         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
17274         (Info-finder-file): New variable.
17275         (Info-finder-find-file): New function.
17276         (finder-known-keywords, finder-package-info)
17277         (find-library-name, lm-commentary): Use defvar and
17278         declare-function to silence compiler warnings.
17279         (Info-finder-find-node): New function.
17280         (info-finder): New command.
17282         * subr.el (process-kill-buffer-query-function): New function.
17283         (add-hook)<kill-buffer-query-functions>: Add hook
17284         `process-kill-buffer-query-function'.
17286 2009-07-18  Alan Mackenzie  <acm@muc.de>
17288         * progmodes/cc-mode.el (c-before-hack-hook)
17289         (c-postprocess-file-styles): Give invocation of `c-set-style'
17290         DONT-OVERRIDE parameter of t.  Already set style variables will
17291         thus not be overridden by style settings given by `c-file-syle'.
17293         * files.el (hack-local-variables-filter): Remove entries with
17294         duplicate keys from `file-local-variables-alist'.
17296 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
17298         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
17299         x-set-selection if display-selections-p returns nil for the
17300         current frame.
17302 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
17304         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
17306 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
17308         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
17309         Accept nil in addition to a regexp.
17310         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
17311         Accept nil in addition to a regexp.
17312         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
17313         buffers that have an associated file.  Handle nil values of
17314         desktop-buffers-not-to-save and desktop-files-not-to-save.
17315         (Bug#3833)
17317         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17318         (x-disown-selection-internal): New functions.
17320 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
17322         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
17323         warning.
17324         (gdb-breakpoints-header): Move forward to avoid compiler warning.
17325         (gdb-make-header-line-mouse-map): Remove duplicate definition.
17327 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
17329         * simple.el (set-mark): Revert last change.
17331 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
17333         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
17334         rendering of pngs is not possible instead of messaging a long
17335         description.
17337 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
17339         * w32-fns.el (x-selection-owner-p): New function.
17341         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
17342         (mouse-yank-at-click, mouse-yank-primary): If
17343         select-active-regions is non-nil, deactivate the mark before
17344         insertion.
17346         * simple.el (deactivate-mark, set-mark): Only save selection if we
17347         own it.
17349 2009-07-17  Kenichi Handa  <handa@m17n.org>
17351         * case-table.el (describe-buffer-case-table): Fix for the case
17352         that KEY is a cons.
17354 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
17356         * vc-rcs.el (vc-rcs-find-file-hook):
17357         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
17359 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
17361         * net/tramp.el (tramp-wait-for-output): Handle the case when
17362         commands do not return a newline but a null byte before the shell
17363         prompt.  (Bug#3858)
17365 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
17367         * term/ns-win.el (ns-set-alpha): Don't declare.
17368         (ns-set-background-alpha): Remove function.
17370 2009-07-16  Kevin Ryde  <user42@zip.com.au>
17372         * emacs-lisp/copyright.el (copyright-update): Save match-data across
17373         y-or-n-p, for safety.
17375 2009-07-16  Richard Stallman  <rms@gnu.org>
17377         * files.el (auto-save-mode): If buffer-saved-size is -2,
17378         don't clobber it.
17380         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
17381         (rmail-retry-ignored-headers): Add more uninteresting fields.
17383 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
17385         * net/rcirc.el (rcirc): Use history variables.
17386         (rcirc-server-name-history, rcirc-nick-name-history)
17387         (rcirc-server-port-history): New variables.
17389 2009-07-15  Kenichi Handa  <handa@m17n.org>
17391         * international/mule-cmds.el (set-language-environment-charset):
17392         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
17393         ignore them.
17395         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
17396         Delete unibyte-display.
17398 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
17400         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
17402 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
17404         * simple.el (deactivate-mark): Optional argument FORCE.
17405         (set-mark): Use deactivate-mark.
17407         * info.el (Info-search): No need to check transient-mark-mode
17408         before calling deactivate-mark.
17410         * select.el (x-set-selection): Doc fix.
17411         (x-valid-simple-selection-p): Allow buffer values.
17412         (xselect--selection-bounds): Handle buffer values.  Suggested by
17413         David De La Harpe Golden.
17415         * mouse.el (mouse-set-region, mouse-drag-track): Call
17416         copy-region-as-kill before setting the mark, to let
17417         select-active-regions work.
17419 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
17421         * simple.el (deactivate-mark): If select-active-regions is
17422         non-nil, copy the selection data into a string.
17423         (activate-mark): If select-active-regions is non-nil, set the
17424         selection to the current buffer.
17425         (set-mark): Update selection if select-active-regions is non-nil.
17427         * select.el (x-valid-simple-selection-p): Allow buffer values.
17429 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17431         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
17432         and more featureful message-mode.
17434 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
17436         * select.el (x-set-selection): Doc fix.
17437         (x-valid-simple-selection-p): Disallow selection data consisting
17438         of a list or cons of integers, since that is not used.
17439         (xselect--selection-bounds, xselect--int-to-cons): New functions.
17440         (xselect-convert-to-string, xselect-convert-to-length)
17441         (xselect-convert-to-filename, xselect-convert-to-charpos)
17442         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
17444 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
17446         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
17447         output in -break-info command (Emacs bug #3794).
17449 2009-07-14  Glenn Morris  <rgm@gnu.org>
17451         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
17452         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
17453         (edebug-print-length, edebug-print-level, edebug-print-circle)
17454         (edebug-sit-for-seconds, edebug-view-outside)
17455         (edebug-bounce-point, edebug-set-global-break-condition)
17456         (edebug-Go-nonstop-mode, edebug-trace-mode)
17457         (edebug-Trace-fast-mode, edebug-continue-mode)
17458         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
17459         (edebug-visit-eval-list): Doc fixes.
17461         * subr.el (def-edebug-spec): Doc fix.
17463 2009-07-14  Kenichi Handa  <handa@m17n.org>
17465         * international/characters.el: Fix setting of category ?C.
17467 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
17469         * term/ns-win.el (x-select-font): defalias x-select-font to
17470         ns-popup-font-panel instead of generate-fontset-menu.
17472 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
17474         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
17476 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
17478         * arc-mode.el (archive-find-type): Allow for a PK00 string before
17479         the PK\003\004 header (Bug#3770).
17481 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
17483         * pcomplete.el (pcomplete-comint-setup): Check for
17484         shell-dynamic-complete-filename too.
17486 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
17488         * simple.el (temporary-goal-column): Change the value for
17489         line-move-visual to a cons cell.
17490         (line-move-visual): Record or set the window hscroll, if
17491         necessary (Bug#3494).
17492         (line-move-1): Handle cons value of temporary-goal-column.
17494 2009-07-11  Kenichi Handa  <handa@m17n.org>
17496         * international/mule-diag.el (describe-character-set): Don't show
17497         width.
17499 2009-07-10  Sam Steingold  <sds@gnu.org>
17501         * progmodes/compile.el (compilation-mode-font-lock-keywords):
17502         Omake sometimes indents the errors it prints, so allow all
17503         regexps to start with spaces.
17505 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
17507         * cus-edit.el (customize-changed-options-previous-release):
17508         Bump value to 22.1.  (Bug#3804)
17510 2009-07-08  Sam Steingold  <sds@gnu.org>
17512         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
17513         to be a cons cell (test . ignored-directory) to selectively ignore
17514         some directories depending on the location of the search.
17516 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
17518         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
17519         remote user is root, on the local host.
17520         (tramp-local-host-p): Either the local user or the remote user
17521         must be root.  (Bug#3771)
17523 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
17525         * progmodes/gdb-mi.el (gdb): Remove description of
17526         gdb-use-separate-io-buffer.
17527         (menu): Don't allow toggling of or enable
17528         gdb-use-separate-io-buffer from menubar.
17530 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
17532         * mail/unrmail.el (unrmail): Make sure the message ends with two
17533         newlines (Bug#3769).
17535 2009-07-08  Glenn Morris  <rgm@gnu.org>
17537         * calendar/calendar.el (calendar-current-date): Rework previous change.
17539 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
17541         * calendar/calendar.el (calendar-current-date):
17542         Add an optional argument giving an offset from today.
17544 2009-07-08  Glenn Morris  <rgm@gnu.org>
17546         * tutorial.el (tutorial--describe-nonstandard-key):
17547         Adjust the message for when a key has been unbound.
17548         (help-with-tutorial): Hide the arch-tag.
17550 2009-07-08  Kenichi Handa  <handa@m17n.org>
17552         * international/fontset.el (setup-default-fontset): For each
17553         script, append (not set) font-specs.
17555         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
17556         docstring.
17558 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
17560         * progmodes/gdb-mi.el (gdb-init-1): Move sending
17561         -data-list-register-names to ...
17562         (gdb-starting): ... here because GDB 7.0 requires execution to
17563         have started when using this MI command.
17564         (gdb-set-header): New function to distinguish select and
17565         unselected tabs in gdb buffers.
17566         (gdb-propertize-header): New macro that uses gdb-set-header.
17567         (gdb-breakpoints-header, gdb-locals-header): Use it.
17568         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
17570 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
17572         * Makefile.in (ELCFILES): Remove fadr.elc.
17574 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
17576         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
17577         may contain frame information, so `string-match' should be used.
17578         (gdb-update): Disassembly is invalidated through
17579         `gdb-get-selected-frame'.
17580         (gdb-pad-string): New function to pad string with spaces.
17581         (gdb-invalidate-disassembly): Invalidate only if the buffer
17582         exists.
17583         (gdb-disassembly-handler-custom): Column alignment.
17584         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
17585         placing new ones.
17586         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
17587         end of line, too.
17588         (gdb-frame-handler): Match convention to for disassembly buffer
17589         mode name.
17590         (gdb-stack-list-frames-handler): Rewritten without regexps.
17591         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
17592         not highlight breakpoints without line information.
17593         (gdb-input): Add trailing newline to command.
17595         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
17596         buffer properly.
17597         (gdb-breakpoints-list-handler-custom): Replacement for
17598         `gdb-break-list-handler'.  Using real parser instead of regexps
17599         now.
17600         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
17601         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
17602         to place breakpoints.
17603         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
17604         functions.
17605         (gdb-disassembly-handler-custom): Show overlay arrow.
17606         (gdb-disassembly-place-breakpoints): Show breakpoints in
17607         disassembly buffer.
17608         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
17609         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
17610         instead of parsing breakpoints buffer.  Fixed old menu references
17611         in `gud-menu-map'.
17613         * fadr.el: Remove.
17615         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
17616         (gdb-memory-address): New variable which holds top address of
17617         memory page shown in memory buffer.
17618         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
17619         customization variables.
17620         New functions:
17621         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
17622         display the memory buffer.
17623         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
17624         buffer display parameters.
17625         (def-gdb-memory-format, gdb-memory-format-binary)
17626         (gdb-memory-format-octal, gdb-memory-format-unsigned)
17627         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
17628         Functions for setting memory buffer format.
17629         (gdb-memory-unit-word, gdb-memory-unit-halfword)
17630         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
17631         unit size used in memory buffer.
17632         (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
17633         to next/previous page of memory buffer.
17634         Now using (bindat-get-field) instead of fadr functions.
17636 2009-07-07  Sam Steingold  <sds@gnu.org>
17638         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
17639         non-top-level files.
17641 2009-07-07  Kenichi Handa  <handa@m17n.org>
17643         * international/mule-cmds.el (reset-language-environment): Put
17644         the highset priority to the charset iso-8859-1.
17646 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
17648         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
17649         to the end of the line when locating the block (Bug#700).
17651 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
17653         * net/tramp.el (tramp-handle-write-region): Flush file properties
17654         in case of short track.
17656 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
17658         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
17659         Coded custom representation of verilog error regular expressions
17660         to work with Emacs-22's new format.
17661         (verilog-error-regexp-xemacs-alist): Coded custom representation
17662         of verilog error regular expressions to work with XEmacs format.
17663         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
17664         error recognition into XEmacs.
17665         (verilog-error-regexp-add-emacs): Hook routine to install verilog
17666         error recognition into Emacs-22.
17668 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
17670         * woman.el: Remove stand-alone closing parentheses.
17671         (woman-file-name, woman2-format-paragraphs)
17672         (woman-leave-blank-lines): Code cleanup.
17673         (woman-use-own-frame): Change default to nil.
17674         (woman-italic, woman-bold, woman-unknown, woman-addition): Change
17675         defaults to inherit from default faces.
17676         (woman2-process-escapes): Consume the newline after a stand-alone
17677         filler character (Bug#3651).
17679 2009-07-06  Glenn Morris  <rgm@gnu.org>
17681         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
17682         (top-level): Move provide to the end.
17683         (ffap): Remove defunct URL from custom group.
17685         * subr.el (eval-after-load): Doc fix.
17687 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
17689         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
17690         `calc-embedded-word' is called twice.
17692 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17694         * files.el (find-alternate-file-other-window, find-alternate-file):
17695         Obey confirm-nonexistent-file-or-buffer.
17697 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
17699         * dired-aux.el (dired-show-file-type): Handle remote files.
17701 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
17703         * desktop.el (desktop-globals-to-save):
17704         Add file-name-history (Bug#2750).
17706 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
17708         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
17710 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
17712         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
17713         property on entire argument since this is what eshell-lisp-command
17714         expects.
17716 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
17718         * net/tramp-gvfs.el (tramp-gvfs-methods)
17719         (tramp-gvfs-zeroconf-domain)
17720         (tramp-bluez-discover-devices-timeout): Add version flag.
17721         (tramp-gvfs-handler-mounted-unmounted)
17722         (tramp-gvfs-connection-mounted-p): Polish handling of
17723         incompatibilities between GVFS 0.2 and 1.0.
17725 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
17727         * cus-start.el (all): Add make-pointer-invisible.
17729 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
17731         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
17732         formatted correctly.
17734 2009-07-02  Juri Linkov  <juri@jurta.org>
17736         * info.el: Virtual Info files and nodes.
17737         (Info-virtual-files, Info-virtual-nodes): New variables.
17738         (Info-current-node-virtual): New variable.
17739         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
17740         New functions.
17741         (Info-file-supports-index-cookies): Use Info-virtual-file-p
17742         to check for a virtual file instead of checking a fixed list
17743         of node names.
17744         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
17745         instead of ad-hoc processing of "dir" and (apropos history toc).
17746         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
17747         instead of ad-hoc processing of "dir" and (apropos history toc).
17748         Reread a file when moving from a virtual node.
17749         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
17750         (Info-directory-toc-nodes, Info-directory-find-file)
17751         (Info-directory-find-node): New functions.
17752         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
17753         (Info-history): Move part of code to
17754         `Info-history-find-node'.
17755         (Info-history-toc-nodes, Info-history-find-file)
17756         (Info-history-find-node): New functions.
17757         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
17758         (Info-toc): Move part of code to `Info-toc-find-node'.
17759         (Info-toc-find-node): New function.
17760         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
17761         the current Info file name to references because now the node
17762         "*TOC*" belongs to the same Info manual.
17763         (Info-toc-build): Rename from `Info-build-toc'.
17764         (Info-toc-nodes): Rename input argument `file' to `filename'.
17765         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
17766         instead of ad-hoc processing of ("dir" apropos history toc).
17767         (Info-index-nodes): Use Info-virtual-file-p
17768         to check for a virtual file instead of checking a fixed list
17769         of node names.
17770         (Info-index-node): Add check for `Info-current-node-virtual'.
17771         Raise `save-match-data' higher up the tree to contain
17772         `search-forward' too (bug fix).
17773         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
17774         (Info-virtual-index-nodes): New variable.
17775         (Info-virtual-index-find-node, Info-virtual-index): New functions.
17776         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
17777         (Info-apropos-file, Info-apropos-nodes): New variables.
17778         (Info-apropos-toc-nodes, Info-apropos-find-file)
17779         (Info-apropos-find-node, Info-apropos-matches): New functions.
17780         (info-apropos): Move part of code to `Info-apropos-find-node' and
17781         `Info-apropos-matches'.
17782         (Info-mode-map): Bind "I" to `Info-virtual-index'.
17783         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
17784         for a virtual file instead of checking a fixed list of node names.
17786         * simple.el (async-shell-command): New command.
17788         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
17790         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
17791         instead of `mount-info'.
17793 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
17795         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
17796         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
17798 2009-07-02  Kenichi Handa  <handa@m17n.org>
17800         * international/mule.el (set-keyboard-coding-system): Force *-unix
17801         coding-system to avoid eol conversion.
17803 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
17805         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17806         Add handler for `process-file', `shell-command' and
17807         `start-file-process'.
17808         (tramp-gvfs-handle-shell-command)
17809         (tramp-gvfs-handle-start-file-process)
17810         (tramp-gvfs-handle-process-file): New defuns.
17811         (tramp-synce-list-devices): Simplify check for existence of property.
17813 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
17815         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
17817 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
17819         * language/korean.el (set-language-info-alist): Add korean-cp949,
17820         cp949 to spec.
17822 2009-07-01  Kenichi Handa  <handa@m17n.org>
17824         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
17826         * international/encoded-kb.el: Deleted.
17828         * international/mule.el (set-keyboard-coding-system): Perform the
17829         necessary setup here instead of calling encoded-kbd-setup-display.
17831 2009-07-01  Glenn Morris  <rgm@gnu.org>
17833         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
17835 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
17837         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
17839 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
17841         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
17842         Handle also the 'rename case, when setting file modes.  (Bug#3712)
17843         (tramp-default-file-modes): Remove execute permissions.
17845         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
17846         (top): Add a default for "synce" in `tramp-default-user-alist'.
17847         Add completion function for "synce" method.
17848         (tramp-hal-service, tramp-hal-path-manager)
17849         (tramp-hal-interface-manager, tramp-hal-interface-device):
17850         New defconst.
17851         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
17852         (tramp-synce-list-devices, tramp-synce-parse-device-names):
17853         New defuns.
17855         * net/trampver.el: Update release number.
17857 2009-06-30  Kenichi Handa  <handa@m17n.org>
17859         * international/fontset.el (setup-default-fontset): Add CJK fonts
17860         for symbols and the other miscellaneous characters.
17862         * language/korea-util.el (setup-korean-environment-internal):
17863         Make char-width-table suitable for Korean environments.
17864         (exit-korean-environment): Cancel above.
17866         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
17867         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
17868         setup-function to make char-width-table suitable for respective
17869         environments, and an exit-function to cancel that.
17871         * language/japan-util.el (setup-japanese-environment-internal):
17872         Call use-cjk-char-width-table with arg `ja_JP'.
17874         * international/characters.el (cjk-char-width-table): Delete it.
17875         (cjk-char-width-table-list): New variable.
17876         (use-cjk-char-width-table): New arg local-name.
17877         (use-default-char-width-table): Fix for the case that Emacs is
17878         already using the default char-width-table.
17880 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
17882         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
17883         modes mandatory.  (Bug#3712)
17885 2009-06-29  Alan Mackenzie  <acm@muc.de>
17887         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
17888         correction between the visible width of TABs and their number of bytes.
17890 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
17892         * server.el (server-buffer-done): Prevent kill-buffer from
17893         prompting by clearing the buffer modification flag (Bug#3696).
17895 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
17897         * progmodes/verilog-mode.el (verilog-beg-of-statement)
17898         (verilog-endcomment-reason-re): Support unique case and priority case.
17899         (verilog-basic-complete-re): Support localparam lineup.
17900         (verilog-beg-of-statement-1): Fix for robustness, unique case.
17901         (verilog-set-auto-endcomments): Fix for unique case, always_comb
17902         commenting.
17903         (verilog-leap-to-case-head): Now support *nested* unique &
17904         priority case statements.
17905         (verilog-auto-lineup): Make just declarations the default (as it
17906         had been).
17907         (verilog-leap-to-case-head): Support priority/unique case statements.
17908         (verilog-auto-lineup): Rework to give users radio buttons to
17909         select the various styles of automatic lineup.
17910         (verilog-error-regexp-alist): Rework to support the XEmacs style
17911         of error regular expressions from compilers, lint tools &
17912         simulators.  Note that GNU Emacs has made it impossible for a mode
17913         to load such things.
17914         (electric-verilog-terminate-line, verilog-indent-declaration)
17915         (verilog-auto-wiure): Rework for radio button selection of
17916         auto-lineup selection of specification of auto lineup.
17917         (verilog-beg-of-statement-1): Redesign to support proper operation
17918         in additional code, based on testing with auto-lineup.
17919         (verilog-calculate-indent, assignments & declarations)
17920         (verilog-backward-token): Enhance to support auto-lineup of
17921         assignments & declarations.
17922         (verilog-in-directive-p, verilog-at-struct-p): New function for
17923         easy test of whether we are.
17924         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
17925         to support safe execution at almost anyline.
17926         (verilog-calc-1): Properly support indenting deep inside generate
17927         blocks.
17928         (verilog-init-font): Remove definition & use of verilog-init-font,
17929         as it is redundant with font-lock-defaults.
17930         (verilog-mode): Alter the definition of verilog-font-lock-defaults
17931         to avoid circular calls if syntax-ppss is a function (as is the
17932         case now in 22.x GNU Emacs) as that function would sometimes call
17933         itself, leading to (nearly) infinite recursion.
17934         (verilog-ovm-begin-re, verilog-ovm-end-re)
17935         (verilog-ovm-statement-re, verilog-leap-to-head)
17936         (verilog-backward-token): Add support for OVM macros.  Some are
17937         complete statements, and others open and close scopes like begin
17938         and end.
17939         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
17940         (verilog-defun-level-generate-only-re): Really fix the defun-list
17941         compilation issue.
17942         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
17943         coverpoint, constraint and cross statements.
17944         (verilog-defun-level-list, verilog-generate-defun-level-list)
17945         (verilog-all-defun-level-list): Redo these specifications - it is
17946         too hard to support eval-when compile aggregation of lists also
17947         built at when-compile time.
17948         (verilog-defun-level-list): Place defconsts of variables used in
17949         building regular expressions which are built in eval-when-compile
17950         bodies in the same eval-when-compile body to facilitate compile
17951         without load.
17952         (verilog-beg-block-re-ordered): Support indenting
17953         virtual/protected tasks and functions.
17954         (verilog-defun-level-list, verilog-in-generate-region-p)
17955         (verilog-backward-ws&directives, verilog-calc-1): Speed up
17956         indentation of some module items (generate items).
17957         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
17958         across virtual/protected tasks and functions.
17960 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
17962         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
17963         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
17964         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
17965         in concatenations.  Reported by Yishay Belkind.
17966         (verilog-auto-ascii-enum): Support one-hot state machines in
17967         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
17968         (verilog-auto-inst, verilog-auto-inst-port): Include interface
17969         modport in AUTOINST and add vl-modport for users.  Reported by
17970         David Rogoff.
17971         (verilog-auto-inout-module, verilog-auto-inst)
17972         (verilog-decls-get-interfaces, verilog-insert-definition)
17973         (verilog-insert-one-definition, verilog-read-decls)
17974         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
17975         (verilog-sig-modport, verilog-signals-combine-bus)
17976         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
17977         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
17978         Suggested by David Rogoff.
17979         (verilog-repair-open-comma): Fix non-insertion of comma when
17980         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
17981         (verilog-make-width-expression): Simplify [A-1:0] expression
17982         widths to just {A{1'b0}}.
17983         (verilog-mode): Cleanup checkdoc warnings.
17984         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
17985         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
17986         inputs/outputs or data type.  Suggested by Vasu Kandadi.
17987         (next-error-last-buffer): Fix byte-compiler warning.
17988         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
17989         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
17990         or shell command text during AUTO expansion.  Suggested by Tad Truex.
17991         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
17992         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
17993         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
17994         in AUTOINOUT.  Reported by Matthew Lovell.
17995         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
17996         causing use of <= assignments.  Reported by Alex Reed.
17997         (verilog-read-decls): Fix triand, trior, wand, wor to be
17998         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
17999         (verilog-extended-complete-re): Support import "DPI-C" functions.
18000         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
18001         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
18002         (verilog-insert-date, verilog-insert-year)
18003         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
18004         Windows systems.  Reported by Michael Potts.
18005         (verilog-read-module-name): Fix AUTOINST when the child module
18006         declaration's name is a tick define.  Reported by Elliot Mednick.
18007         (verilog-read-decls): Fix V2K parameter bit subscripts getting
18008         passed to next parameter's definition.  Reported by Bruce T.
18009         (verilog-read-decls): Fix detecting "parameter int" when using
18010         AUTOINSTPARAM.  Reported by Bruce T.
18011         (verilog-goto-defun): Fix goto not finding modules unless first
18012         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
18013         (verilog-mode): Expand -f flag arguments on entry to mode so
18014         verilog-goto-defun will work.  Reported by Lawrence Butcher.
18015         (verilog-getopt): Expand environment variables in -f file
18016         arguments.  Suggested by Lawrence Butcher.
18017         (verilog-set-define): Fix "Symbol's value as variable is void"
18018         when reading enumerations.
18019         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
18020         Suggested by Stephen Peltan.
18021         (verilog-read-defines): Fix reading of enumerations in include
18022         files.  Reported by Steve Peltan.
18024 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
18026         * files.el (trash-directory): Fix defcustom type.
18028 2009-06-28  Juri Linkov  <juri@jurta.org>
18030         * help-fns.el (describe-function-1): Correctly locate adviced
18031         functions in hyperlink (Bug#2438).
18033 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
18035         * files.el (trash-directory): Change default to nil.
18036         (move-file-to-trash): If trash-directory is nil and
18037         system-move-file-to-trash is unbound, perform freedesktop-style
18038         trashing.
18040 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
18042         * files.el (move-file-to-trash): Add freedesktop trash
18043         support (Bug#973).
18045 2009-06-28  Glenn Morris  <rgm@gnu.org>
18047         * autorevert.el (global-auto-revert-non-file-buffers)
18048         (global-auto-revert-mode): Doc fixes.
18050 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
18052         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
18054 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
18056         * faces.el (x-handle-named-frame-geometry): Ensure that we have
18057         opened an X connection before calling x-get-resource (Bug#3194).
18059         * play/doctor.el: Remove reference to obsolete website.
18060         (make-doctor-variables): Correct grammar mistake (Bug#2633).
18062 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
18064         Remove find-file-not-found-hook VC method.  (Bug#2757)
18065         * vc-hooks.el (vc-file-not-found-hook)
18066         (vc-default-find-file-not-found-hook): Remove functions.
18067         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
18068         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
18069         * vc.el:
18070         * vc-hg.el:
18071         * vc-git.el: Do not mention find-file-not-found-hook VC method.
18073 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
18075         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
18076         compatibility function for `looking-back'.
18078         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
18079         Use `ispell-looking-back'.
18081 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
18083         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
18084         rather than `filename'.
18086 2009-06-23  Miles Bader  <miles@gnu.org>
18088         * face-remap.el (text-scale-set): New function.
18090 2009-06-23  Glenn Morris  <rgm@gnu.org>
18092         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
18094         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
18096         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
18098         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
18100         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
18101         Simplify Persian conditionals.
18103         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
18104         variable `filename'.
18106         * comint.el (comint-insert-input): Doc fix.
18108         * Makefile.in (ELCFILES): Fix typo in previous change.
18110 2009-06-23  Miles Bader  <miles@gnu.org>
18112         * cus-start.el: Add entry for `recenter-redisplay'.
18114 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
18116         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
18117         Add an optional argument for the backend, use it instead of
18118         calling vc-backend.
18119         (vc-mode-line): Add an optional argument for the backend.
18120         Pass the backend to vc-state and vc-working-revision.  Move code for
18121         special handling for vc-state being a buffer to ...
18123         * vc-rcs.el (vc-rcs-find-file-hook):
18124         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
18126         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
18127         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
18128         vc-stay-local-p and vc-mode-line calls.
18130         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
18131         (vc-cvs-diff, vc-cvs-annotate-command)
18132         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
18133         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
18134         vc-mode-line calls.
18136         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
18137         direct comparison.
18138         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
18139         backend when calling vc-mode-line.
18140         (vc-register): Do not create a closure for calling the vc register
18141         function, call it directly.
18143 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
18145         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
18146         to make it obvious item can be clicked.
18148         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
18150 2009-06-23  Kenichi Handa  <handa@m17n.org>
18152         * language/korea-util.el (korean-key-bindings): Change the binding
18153         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
18154         same command.
18156 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
18158         Sync with Tramp 2.1.16.
18160         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
18162         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
18163         when a loading of a package fails.  Completion function for rsync
18164         is `tramp-completion-function-alist-ssh'.
18165         (all): Replace all calls of `split-string' and
18166         `tramp-split-string' by `tramp-compat-split-string'.
18167         (tramp-default-method): Use `tramp-compat-process-running-p'.
18168         (tramp-default-proxies-alist): Allow also Lisp forms.
18169         (tramp-remote-path): Add choice "Private Directories".
18170         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
18171         (tramp-domain-regexp): Allow also "-", "_" and ".".
18172         (tramp-end-of-output): Remove newlines, and add "$" at the end.
18173         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
18174         (tramp-debug-message): Insert header line in debug buffer.
18175         (tramp-handle-directory-files-and-attributes-with-stat):
18176         Care about filenames with spaces, or starting with "-".
18177         (tramp-handle-dired-uncache): New defun.
18178         (tramp-handle-insert-directory): Don't flush the directory from
18179         cache, this is handled by `dired-uncache' now.
18180         (tramp-handle-insert-file-contents): Improve error handling.
18181         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18182         Quote `tramp-end-of-output'.
18183         (tramp-action-password): Improve trace message.
18184         (tramp-check-for-regexp): Both echoes must be present, before removing.
18185         (tramp-open-connection-setup-interactive-shell): Trace coding system.
18186         (tramp-compute-multi-hops): Eval cons cells of
18187         `tramp-default-proxies-alist'.
18188         (tramp-maybe-open-connection): Use the same command pattern for
18189         first hop and further hops.
18190         (tramp-wait-for-output): Remove handling of newlines.
18191         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
18192         (tramp-split-string): Remove function.  It is handled in
18193         tramp-compat now.
18195         * net/tramp-cmds.el (tramp-bug):
18196         Recommend `tramp-cleanup-all-connections' in the bug mail.
18198         * net/tramp-compat.el (tramp-compat-split-string)
18199         (tramp-compat-process-running-p): New defuns.
18201         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
18202         for `dired-uncache'.
18204         * net/tramp-gvfs.el: New package.
18206         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
18207         Add handler for `dired-uncache'.
18208         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
18210         * net/trampver.el: Update release number.  Make version check fit
18211         for SXEmacs 22.
18213 2009-06-22  Jim Meyering  <meyering@redhat.com>
18215         Automatically handle .xz suffix (XZ-compressed files), too.
18216         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
18217         XZ is the successor to LZMA: <http://tukaani.org/xz/>
18219 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
18220             Nick Roberts  <nickrob@snap.net.nz>
18222         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
18223         repository (http://sphinx.net.ru/hg/gdb-mi/).
18225 2009-06-22  Glenn Morris  <rgm@gnu.org>
18227         * files.el (dir-locals-collect-mode-variables): Allow for any number of
18228         `mode' and `eval' entries.  (Bug#3430)
18230         * Makefile.in (ELCFILES): Add fadr.elc.
18232         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
18233         differing behavior of \n and ^ in strings.  (Bug#3385)
18235         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
18237         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
18238         property.
18239         (lisp-indent-function): Make it a defcustom.
18241 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
18243         * progmodes/gdb-ui.el: Replace with ...
18244         * progmodes/gdb-mi.el: ... this file.
18245         * progmodes/gud.el: Modify for gdb-mi.el.
18247 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
18249         * fadr.el: New file.
18251 See ChangeLog.14 for earlier changes.
18253 ;; Local Variables:
18254 ;; coding: utf-8
18255 ;; End:
18257   Copyright (C) 2009, 2010  Free Software Foundation, Inc.
18259   This file is part of GNU Emacs.
18261   GNU Emacs is free software: you can redistribute it and/or modify
18262   it under the terms of the GNU General Public License as published by
18263   the Free Software Foundation, either version 3 of the License, or
18264   (at your option) any later version.
18266   GNU Emacs is distributed in the hope that it will be useful,
18267   but WITHOUT ANY WARRANTY; without even the implied warranty of
18268   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18269   GNU General Public License for more details.
18271   You should have received a copy of the GNU General Public License
18272   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.