More conversions to buffer display specifiers
[emacs.git] / lisp / ChangeLog
blobcc6aa6d10ab43be64232ed49c5d1b097d8ef3935
1 2010-11-04  Martin Rudalics  <rudalics@gmx.at>
3         * window.el (display-buffer-names, display-buffer-regexps): Make
4         even-window-sizes a seperate specifier.  Allow numbers and
5         functions in the cdr of the adjust-height specifier and remove
6         even-window-heights and the special handling of
7         fit-window-to-buffer and shrink-window-if-larger-than-buffer.
8         Add new specifier adjust-width similar to adjust-height.
9         (display-buffer-normalize-specifiers-1): Fix typo.
10         (display-buffer-even-sizes, display-buffer-adjust-height)
11         (display-buffer-adjust-width): New functions to handle size
12         adjustment of new window.
13         (display-buffer-adjust-heights): Remove.
14         (display-buffer-in-window): Don't call
15         display-buffer-adjust-heights any more.
16         (display-buffer-in-lru-buffer-window)
17         (display-buffer-in-lru-window): Call display-buffer-even-sizes.
18         (display-buffer-in-new-window): Use functionp instead of
19         fboundp.  Call display-buffer-adjust-height and
20         display-buffer-adjust-width.
21         (display-buffer): Use functionp instead of fboundp.
22         (fit-window-to-buffer): Rename argument IGNORE to OVERRIDE.
24         * progmodes/compile.el (compilation-start)
25         (compilation-goto-locus): Use adjust-height specifier in
26         display-buffer calls.
28         * buff-menu.el (Buffer-menu-switch-other-window)
29         (Buffer-menu-2-window): Use buffer display specifiers.
31         * cus-edit.el (top-level): Remove autoloaded add-hook for
32         same-window-regexps.
33         (customize-group, customize-face): New optional argument
34         OTHER-WINDOW.  Use buffer display specifiers.  Call
35         custom-buffer-create with OTHER-WINDOW argument t.
36         (customize-group-other-window): Call customize-group with
37         OTHER-WINDOW argument t.
38         (customize-face-other-window): Call customize-face with
39         OTHER-WINDOW argument t.
40         (custom-buffer-create): New optional argument OTHER-WINDOW.
41         (custom-buffer-create-other-window): Call
42         pop-to-buffer-other-window.
43         (customize-browse): Call pop-to-buffer-same-window.
45         * play/decipher.el (decipher-display-range): Use
46         pop-to-buffer-other-window.
47         (decipher-display-stats-buffer): Use
48         display-buffer-other-window.
50         * vc/ediff-util.el (ediff-clone-buffer-for-region-comparison):
51         Use pop-to-buffer-other-window.
53         * ehelp.el (with-electric-help): Use pop-to-buffer-other-window.
55 2010-11-02  Martin Rudalics  <rudalics@gmx.at>
57         * window.el (display-buffer-names): Describe `not-this-window' and
58         `not-this-frame' specifiers in doc-string.
59         (display-buffer-in-lru-buffer-window)
60         (display-buffer-in-lru-window, display-buffer-in-new-window):
61         Handle `not-this-window' and `not-this-frame' specifiers when
62         their cdr specifies a window or a frame.
63         (display-buffer): Explain in doc-string that the cdr of the
64         `not-this-window' and `not-this-frame' specifiers argument can
65         name a window.
67         * progmodes/compile.el (compilation-start): When displaying outbuf
68         directly pass height parameters.
69         (compilation-goto-locus): Use specifiers in display-buffer and
70         pop-to-buffer calls.  Simplify.
71         (compilation-find-file): Use specifiers in display-buffer calls.
73 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
75         * emacs-lisp/package.el (package-initialize): Ensure that
76         obsoleted built-in packages are not in package-activated-list
77         during activation.
78         (describe-package-1): Make the "installed" status override
79         "built-in".
81 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
83         * subr.el (version-separator, version-regexp-alist): Remove '*'
84         from docstring.
85         (version-list-<=, version<=, version=): Doc fix.
87 2010-11-01  Kenichi Handa  <handa@m17n.org>
89         * faces.el (glyphless-char): Inherit underline for tty.
91 2010-11-01  Kenichi Handa  <handa@m17n.org>
93         Implement various display methods for glyphless characters.
95         * international/characters.el (char-acronym-table): New variable.
96         (glyphless-char-control): New variable.
97         (update-glyphless-char-display): New funciton.
99         * faces.el (glyphless-char): New face.
101 2010-11-01  Glenn Morris  <rgm@gnu.org>
103         * calendar/holidays.el (general-holidays, oriental-holidays)
104         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
105         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
106         the definitions of their targets.
108         * emacs-lisp/smie.el (smie): New custom group.
109         (smie-blink-matching-inners, smie-indent-basic): Add :group.
111         * faces.el (xw-defined-colors, x-setup-function-keys):
112         * mouse-sel.el (x-select-text):
113         * term/w32console.el (x-setup-function-keys): Update declarations.
115         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
117         * textmodes/ispell.el (comment-add): Declare.
119         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
120         Declare.
122         * info.el (finder-keywords-hash, package-alist): Declare.
124 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
126         * finder.el (finder-compile-keywords): Don't use intern-soft,
127         since package names may not yet exist in the obarray.
129 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
131         * vc/vc-arch.el (vc-arch-checkin):
132         * vc/vc-cvs.el (vc-cvs-checkin):
133         * vc/vc-mtn.el (vc-mtn-checkin):
134         * vc/vc-rcs.el (vc-rcs-checkin):
135         * vc/vc-sccs.el (vc-sccs-checkin):
136         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
137         since 2010-04-21 commit by Stefan Monnier.
139 2010-11-01  Glenn Morris  <rgm@gnu.org>
141         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
143         * startup.el (package-enable-at-startup, package-initialize):
144         Silence compiler.
146         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
147         Silence compiler.
149 2010-10-31  Julien Danjou  <julien@danjou.info>
151         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
152         (byte-recompile-directory):
153         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
154         Use `byte-recompile-file'.
156 2010-10-31  Glenn Morris  <rgm@gnu.org>
158         * cus-start.el: Handle standard values via a keyword.
159         Only set version property if specified.
160         (cursor-in-non-selected-windows, menu-bar-mode)
161         (tool-bar-mode, show-trailing-whitespace):
162         Do not specify standard values.
163         (transient-mark-mode, temporary-file-directory): Use :standard.
165 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
167         * term/x-win.el (x-get-selection-value): New function that gets
168         PRIMARY with type as specified in x-select-request-type. (Bug#6802).
170 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
172         * net/tramp.el (tramp-handle-insert-file-contents): For root,
173         preserve owner and group when editing files.  (Bug#7289)
175 2010-10-31  Glenn Morris  <rgm@gnu.org>
177         * speedbar.el (speedbar-mode):
178         * play/fortune.el (fortune-in-buffer, fortune):
179         * play/gomoku.el (gomoku-mode):
180         * play/landmark.el (lm-mode):
181         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
182         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
184         * select.el (x-selection): Mark it as an obsolete alias.
186 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
188         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
189         major-mode (bug#7284).
191 2010-10-31  Glenn Morris  <rgm@gnu.org>
193         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
194         rather than just an unused variable that inherits from the real one.
196 2010-10-31  Alan Mackenzie  <acm@muc.de>
198         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
199         This fixes bug #7185.
201 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
203         * startup.el (command-line): Search for package directories, and
204         don't load package.el if none are found.
206         * emacs-lisp/package.el (describe-package, list-packages): Call
207         package-initialize if it has not been called yet.
209 2010-10-30  Alan Mackenzie  <acm@muc.de>
211         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
212         which fontifies the tail of an enum.
213         (c-basic-matchers-after): Insert a call to the above new function.
214         This fixes bug #7264.
216 2010-10-30  Glenn Morris  <rgm@gnu.org>
218         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
219         tool-bar-mode, transient-mark-mode.  (Bug#7306)
220         Include the :set property in the dumped Emacs.
222 2010-10-30  Martin Rudalics  <rudalics@gmx.at>
224         * window.el (window-deletable-p, quit-restore-window): Adapt to
225         new quit-restore semantics.
226         (split-window-quit-restore): Remove.
227         (split-window-vertically, split-window-horizontally):
228         Unconditionally copy quit-restore parameter to new window.
229         (display-buffer-names): Mention quit-restore window parameter.
230         (display-buffer-window-and-buffer): Rename to
231         display-buffer-window and rewrite doc-string.
232         (display-buffer-in-window, display-buffer-in-lru-buffer-window)
233         (display-buffer-in-lru-window, display-buffer-in-new-window)
234         (display-buffer-in-new-frame, display-buffer): Move quit-restore
235         parameter handling from display-buffer-in-window to the callers.
236         Set display-buffer-window.
238         * help.el (help-window-setup, with-help-window): Use
239         display-buffer-window insted of display-buffer-window-and-buffer
240         and adapt to new semantics of the former.
242 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
244         SMIE: change indent rules format, improve smie-setup.
245         * emacs-lisp/smie.el (smie-precs-precedence-table)
246         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
247         Mark them pure so the tables gets built at compile time.
248         (smie-bnf-precedence-table): Store the closer-alist in the table.
249         (smie-prec2-levels): Preserve the closer-alist.
250         (smie-blink-matching-open): Be more forgiving in case of indentation.
251         (smie-hanging-p): Rename from smie-indent--hanging-p.
252         (smie-bolp): Rename from smie-indent--bolp.
253         (smie--parent, smie--after): New dynamic vars.
254         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
255         (smie-indent-rules): Remove.
256         (smie-indent--offset-rule): Remove fun.
257         (smie-rules-function): New var.
258         (smie-indent--rule): New fun.
259         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
260         (smie-indent-exps): Use it.
261         (smie-setup): Setup paren blinking; add keyword args for token
262         functions; extract closer-alist from op-levels.
263         (smie-indent-debug-log): Remove var.
264         (smie-indent-debug): Remove fun.
265         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
266         (prolog-smie-rules): New fun to replace it.
267         (prolog-mode-variables): Simplify.
268         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
269         it's setup automatically.
270         (octave-smie-indent-rules): Remove.
271         (octave-smie-rules): New fun to replace it.
272         (octave-mode): Simplify.
274 2010-10-29  Glenn Morris  <rgm@gnu.org>
276         * files.el (temporary-file-directory): Remove (already defined in C).
277         * cus-start.el: Add temporary-file-directory.
279         * abbrev.el (abbrev-mode):
280         * composite.el (auto-composition-mode):
281         * menu-bar.el (menu-bar-mode):
282         * simple.el (transient-mark-mode):
283         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
284         that they do not define the associated variables twice.
285         * simple.el (transient-mark-mode): Remove defvar.
286         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
287         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
288         Handle multiple groups, and also custom-delayed-init-variables.
289         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
291 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
293         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
294         (pcase-if): Add one minor optimization.
295         (pcase-split-equal): Rename from pcase-split-eq.
296         (pcase-split-member): Rename from pcase-split-memq.
297         (pcase-u1): Add strings to the member optimization.
298         Add `guard' variant of predicates.
299         (pcase-q1): Add string patterns.
301 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
303         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
305 2010-10-28  Glenn Morris  <rgm@gnu.org>
307         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
308         Move menu-bar related settings to ../menu-bar.el.
309         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
310         Move ns-specific settings here from term/ns-win.el.
312         * simple.el (x-selection-owner-p): Remove unused declaration.
314 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
316         * minibuffer.el (completion-cycling): New var (bug#7266).
317         (minibuffer-complete, completion--do-completion):
318         Use completion--flush-all-sorted-completions.
319         (minibuffer-complete): Only cycle if completion-cycling is set.
320         (completion--flush-all-sorted-completions): Unset completion-cycling.
321         (minibuffer-force-complete): Set completion-cycling.
322         (completion-all-sorted-completions): Move declaration before first use.
324 2010-10-28  Leo  <sdl.web@gmail.com>
326         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
327         which changes the order of matches seen by users (bug#7231).
329 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
331         * progmodes/compile.el (compilation-mode-font-lock-keywords):
332         Don't confuse -omega as "-o mega".
334 2010-10-27  Martin Rudalics  <rudalics@gmx.at>
336         * frame.el (pop-up-frame-alist, pop-up-frame-function)
337         (special-display-frame-alist): Make obsolete.
339         * window.el (display-buffer-window-and-buffer)
340         (window--display-buffer-in-window, window--reuse-window)
341         (window--pop-up-window, window--pop-up-frame)
342         (split-window-sensibly, window-sensibly-splittable-p)
343         (window--raise-window-frame, window--usable-frame): Remove.
344         (display-buffer-mark-dedicated, display-buffer-function)
345         (special-display-buffer-names)
346         (special-display-regexps, special-display-p)
347         (special-display-function, same-window-buffer-names)
348         (same-window-regexps, same-window-p, pop-up-frames)
349         (display-buffer-reuse-frames, pop-up-windows)
350         (split-height-threshold, split-width-threshold)
351         (even-window-heights): Make obsolete.
352         (display-buffer-names, display-buffer-regexps): New options.
353         (display-buffer-frame, display-buffer-normalize-specifiers-1)
354         (display-buffer-normalize-specifiers)
355         (display-buffer-adjust-heights, display-buffer-select-window)
356         (display-buffer-in-window, display-buffer-in-lru-buffer-window)
357         (display-buffer-in-lru-window, display-buffer-split-window-1)
358         (display-buffer-split-window, display-buffer-in-new-window)
359         (display-buffer-in-new-frame, normalize-buffer-to-display)
360         (display-buffer-same-window, display-buffer-other-window)
361         (pop-to-buffer-same-window, pop-to-buffer-other-window)
362         (pop-to-buffer-other-frame, normalize-buffer-to-switch-to): New
363         functions.
364         (display-buffer-locations, display-buffer-default-specifiers)
365         (display-buffer-other-window-specifiers)
366         (display-buffer-other-frame-specifiers)
367         (display-buffer-split-specifiers)
368         (display-buffer-side-specifiers): New variables/constants.
369         (display-buffer): Major rewrite.
370         (pop-to-buffer): Rewrite.  Default buffer-or-name argument to
371         the current buffer.
372         (switch-to-buffer, switch-to-buffer-other-window)
373         (switch-to-buffer-other-frame): Rewrite.
375         * calendar/calendar.el (calendar-basic-setup): Do not call
376         split-window-horizontally before popping to buffer.  Eventually
377         the second argument of pop-to-buffer must be set accordingly.
379         * dired.el (dired-pop-to-buffer): Adapt to new buffer display
380         code.
382         * info.el (Info-revert-find-node, info, info-other-window)
383         (Info-find-node, Info-next, Info-prev, Info-up)
384         (Info-goto-emacs-command-node, Info-speedbar-goto-node): Adapt
385         to new buffer display code.
387 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
389         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
390         (log-edit-author): New dynamic var.
391         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
392         to return the author if different from committer.
393         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
395         * play/landmark.el: Adjust commenting convention.
396         (lm-nil-score): Rename from nil-score.
397         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
398         (OOOOscore): Move into a let in lm-score-trans-table.
399         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
401         * electric.el (electric-indent-chars): Autoload.
402         * progmodes/octave-mod.el (octave-mode):
403         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
404         (ruby-mode-abbrev-table): Merge initialization and declaration.
406 2010-10-27  Glenn Morris  <rgm@gnu.org>
408         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
409         variable.
411         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
413         * term/ns-win.el: Restore require of cl when compiling.
414         (menu-bar-final-items): Remove non-existent `windows' menu.
415         (ns-handle-nxopen): Optionally handle the temp-case.
416         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
417         (ns-insert-file, ns-find-file): Use `pop'.
419 2010-10-26  Glenn Morris  <rgm@gnu.org>
421         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
423 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
425         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
426         global map.
427         * term/common-win.el (x-setup-function-keys): Remove most of the
428         keymappings.  Comment on the remaining ones.
430 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
432         * server.el (server-port): New option.  (Bug#854)
433         (server-start): Use server-port.
435 2010-10-26  Glenn Morris  <rgm@gnu.org>
437         * term/ns-win.el (ns-version-string): Remove unused declaration.
438         (ns-invocation-args): Change to x-invocation-args.
439         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
440         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
441         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
442         Use x-invocation-args instead of ns-invocation-args.
443         (ns-initialize-window-system, handle-args-function-alist):
444         Use x-handle-args instead of ns-handle-args.
445         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
446         * startup.el (command-line-ns-option-alist): Replace
447         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
448         ns-handle-iconic with the x- equivalents.
450         * term/common-win.el (x-select-enable-clipboard):
451         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
453         * term/ns-win.el: No need to require cl when compiling.
454         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
455         (xw-defined-colors): Use the common-win definitions.
456         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
457         (ns-handle-iconic): Make it an alias for x-handle-iconic.
458         * term/common-win.el (x-select-text, x-alternatives-map)
459         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
460         * loadup.el [ns]: Load common-win.
462 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
464         * epa-mail.el (epa-mail-encrypt): Handle local-part only
465         recipients; expand mail aliases (Bug#7280).
467 2010-10-25  Martin Rudalics  <rudalics@gmx.at>
469         * window.el (window-iso-combination-p, window-iso-combinations):
470         New functions.
471         (walk-windows, get-window-with-predicate)
472         (get-buffer-window-list, one-window-p): Fix doc-string.
473         (window-in-direction): The column / row value of `posn-at-point'
474         can be nil for the mini-window, guard against that.
475         (resize-mini-window): Make this usable.  It's needed, for
476         example, by ispell.el.
477         (resize-window): Handle case where window argument denotes a
478         minibuffer window.
479         (window-children-count): Remove.
480         (split-window): Fix some broken size calculations.
482 2010-10-25  Glenn Morris  <rgm@gnu.org>
484         * term/common-win.el (x-handle-switch): Simplify with pop.
485         Optionally handle numeric switches.
486         (x-handle-numeric-switch): Just call x-handle-switch.
487         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
488         (x-handle-name-switch, x-handle-display, x-handle-args):
489         Simplify with pop.
491         * term/ns-win.el: Do not require easymenu.
492         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
493         <spell>: Move adjustments to menu-bar.el.
494         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
495         <separator-undo, spell>: Move ns-win's adjustments here.
496         * loadup.el [ns]: Do not load easymenu.
498 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
500         * image.el (image-checkbox-checked, image-checkbox-unchecked):
501         Delete (Bug#7222).
503         * startup.el (fancy-startup-tail): Instead of using inline images,
504         refer to image files from etc/.
506         * wid-edit.el (checkbox): Likewise.
507         (widget-image-find): Center image specs.
509 2010-10-24  Glenn Morris  <rgm@gnu.org>
511         * term/ns-win.el (x-select-text): Doc fix.
512         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
513         (x-select-text): Move to term/common-win.
514         * term/w32-win.el (xw-defined-colors): Move to common-win.
515         * term/x-win.el (xw-defined-colors, x-alternatives-map)
516         (x-setup-function-keys, x-select-text): Move to common-win.
517         * term/common-win.el (x-select-text, x-alternatives-map)
518         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
519         definitions here.
521 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
523         * net/mairix.el (mairix-searches-mode-map):
524         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
526 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
528         * verilog-mode.el (verilog-directive-re): Make this variable
529         auto-built for efficiency of execution and updating.
530         (verilog-extended-complete-re): Support 'pure' fucntion & task
531         declarations (these have no bodies).
532         (verilog-beg-of-statement): General cleanup to enable support of
533         'pure' fucntion & task declarations (these have no bodies).
534         These efforts together fix Verilog bug210 from veripool; which was also
535         noticed by Steve Pearlmutter.
536         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
537         (verilog-directive-nest-re, verilog-set-auto-endcomments):
538         Support `elsif.  Reported by Shankar Giri.
539         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
540         attribute handling for lining up declarations and assignments.
541         (verilog-beg-of-statement-1): Fix issue where continued declaration
542         is indented differently if it is after a begin..end clock.
543         (verilog-in-attribute-p, verilog-skip-backward-comments)
544         (verilog-skip-forward-comment-p): Support proper treatment of
545         attributes by indent code. Reported by Jeff Steele.
546         (verilog-in-directive-p): Fix comment to correctly describe function.
547         (verilog-backward-up-list, verilog-in-struct-region-p)
548         (verilog-backward-token, verilog-in-struct-p)
549         (verilog-in-coverage-p, verilog-do-indent)
550         (verilog-pretty-declarations): Use verilog-backward-up-list as
551         wrapper around backward-up-list inorder to properly skip comments.
552         Reported by David Rogoff.
553         (verilog-property-re, verilog-endcomment-reason-re)
554         (verilog-beg-of-statement, verilog-set-auto-endcomments)
555         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
556         of if). Reported by Max Bjurling and
557         (verilog-calc-1): Fix for clocking block in modport
558         declaration. Reported by Brian Hunter.
560 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
562         * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
563         (verilog-gate-keywords, verilog-read-sub-decls)
564         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
565         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
566         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
567         (verilog-read-decls): Fix spaces in V2K module parameters causing
568         mis-identification as interfaces, bug287.
569         (verilog-read-decls): Fix not treating "parameter string" as a
570         parameter in AUTOINSTPARAM.
571         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
572         treating `elsif similar to `endif inside AUTOSENSE.
573         (verilog-do-indent): Implement correct automatic or static task or
574         function end comment highlight. Reported by Steve Pearlmutter.
575         (verilog-font-lock-keywords-2): Fix highlighting of single
576         character pins, bug264.  Reported by Michael Laajanen.
577         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
578         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
579         (verilog-subdecls-get-interfaced, verilog-subdecls-new): Support
580         interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
581         (verilog-pretty-expr): Fix interactive arguments, bug272.
582         Reported by Mark Johnson.
583         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
584         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
585         bug269. Suggested by Gary Delp.
586         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
587         (verilog-preprocessor, verilog-set-compile-command):
588         Create verilog-preprocess and verilog-preprocessor to show
589         preprocessed output.
590         (verilog-get-beg-of-line, verilog-get-end-of-line)
591         (verilog-modi-file-or-buffer, verilog-modi-name)
592         (verilog-modi-point, verilog-within-string): Move defmacro's
593         before first use to avoid warning. Reported by Steve Pearlmutter.
594         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
595         (verilog-colorize-region, verilog-highlight-buffer)
596         (verilog-highlight-includes, verilog-highlight-modules)
597         (verilog-highlight-region, verilog-mode): Rename colorize to
598         highlight to match other packages.  Disable module highlighting,
599         as received speed complaints, reenable for experimentation only
600         using new verilog-highlight-modules.
601         (verilog-read-decls): Fix regexp stack overflow in very large
602         AUTO_TEMPLATEs, bug250.
603         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
604         (verilog-scan): Create verilog-save-buffer-state to standardize
605         making insignificant changes that shouldn't call hooks.
606         (verilog-save-no-change-functions, verilog-save-scan-cache)
607         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
608         Create verilog-save-no-change-functions to wrap verilog-scan
609         preservation, and fix to work with nested preserved calls.
610         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
611         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
612         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
613         (verilog-submit-bug-report): Update variable list to be complete.
614         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
615         breaking on-the-fly font-locking.
616         (verilog-colorize-buffer, verilog-colorize-include-files)
617         (verilog-colorize-include-files-buffer, verilog-colorize-region)
618         (verilog-load-file-at-mouse, verilog-load-file-at-point)
619         (verilog-mode, verilog-read-inst-module-matcher): With point on a
620         AUTOINST cell instance name, middle mouse button now finds-file on
621         it.  Suggested by Brad Dobbie.
622         (verilog-alw-get-temps, verilog-auto-reset)
623         (verilog-auto-sense-sigs, verilog-read-always-signals)
624         (verilog-read-always-signals-recurse): Fix loop indexes being
625         AUTORESET. AUTORESET now assumes any variables in the
626         initialization section of a for() should be ignored.  Reported by
627         Dan Dever.
628         (verilog-error-font-lock-keywords)
629         (verilog-error-regexp-emacs-alist)
630         (verilog-error-regexp-xemacs-alist): Fix error detection of
631         Cadence HAL, reported by David Asher.  Repair drift between the
632         three similar error variables.
633         (verilog-modi-lookup, verilog-modi-lookup-cache)
634         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
635         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
636         Fix slow verilog-auto expansion on very large files.
637         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
638         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
639         "{1*2{...".  Broke in last revision.
640         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
641         submodule connections with replications "{#{a},#{b}}".
643 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
645         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
646         Fix typo in docstring.
648 2010-10-24  Kenichi Handa  <handa@m17n.org>
650         * face-remap.el (text-scale-adjust): Call read-event with a proper
651         prompt.
653 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
655         * emacs-lisp/unsafep.el: Don't mark functions that display
656         messages as safe.  Suggested by Johan Bockgård.
658 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
660         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
661         Turn comments into docstrings.
663         * minibuffer.el (completion--replace): Move point where it belongs
664         when there's a common suffix (bug#7215).
666 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
668         Merge read-color and facemenu-read-color (Bug#7242).
670         * faces.el (read-color): Use the completion code from
671         facemenu-read-color.  Require match in completion.  Doc fix.
673         * facemenu.el (facemenu-read-color): Alias for read-color.
674         (facemenu-set-foreground, facemenu-set-background): Use
675         read-color.
677         * frame.el (set-background-color, set-foreground-color)
678         (set-cursor-color, set-mouse-color, set-border-color): Use
679         read-color.
681 2010-10-24  Leo  <sdl.web@gmail.com>
683         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
684         argument of delete-file and delete-directory (Bug#7011).
686 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
688         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
689         button-buffer-map.
691 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
693         * emacs-lisp/package.el (package--generate-package-list): Make the
694         *Packages* buffer read-only.
696 2010-10-24  Alan Mackenzie  <acm@muc.de>
698         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
699         result of `c-beginning-of-decl-1' between invocations of a lambda
700         function (Bug #7265).
702 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
704         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
705         executable is not available on the system (Bug#7268).
707 2010-10-24  Glenn Morris  <rgm@gnu.org>
709         * select.el (selection-coding-system, next-selection-coding-system):
710         Sync doc with C versions.
712         * w32-vars.el (x-select-enable-clipboard):
713         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
714         * term/common-win.el (x-select-enable-clipboard): Move here.
716         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
717         definition of C variable.
719         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
720         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
721         Don't redefine things that are defined in C.
722         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
723         (show-trailing-whitespace, auto-hscroll-mode)
724         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
725         Set up the appropriate custom properties.
727 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
729         Bind "C-c ]" to ...
730         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
731         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
732         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
733         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
735 2010-10-23  Glenn Morris  <rgm@gnu.org>
737         * textmodes/flyspell.el (flyspell-mode): If there was an error,
738         say what it was.
740         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
741         Sync docs with C version.
743         * term/ns-win.el (xw-defined-colors):
744         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
746         * term/pc-win.el (x-select-enable-clipboard):
747         * term/x-win.el (x-select-enable-clipboard):
748         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
750         * comint.el (comint-password-prompt-regexp): Make it less vague.
751         Bump version.
753         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
755         * help.el (finder-by-keyword): Remove unnecessary autoload.
757 2010-10-22  Glenn Morris  <rgm@gnu.org>
759         * loadup.el: Unconditionally load float-sup.
760         * paren.el (show-paren-delay):
761         * emacs-lisp/float-sup.el:
762         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
763         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
764         (lazy-lock-stealth-verbose): Assume float support.
765         * ps-print.el: Assume float support on Emacs.
766         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
767         Remove non-float branch.
769         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
770         src/Makefile no longer being pre-processed.
772 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
774         * emacs-lisp/find-func.el (find-library): Use test-completion.
776 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
778         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
780 010-10-21  Michael Albinus  <michael.albinus@gmx.de>
782         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
783         space in stat format string.
784         (tramp-send-command): Unset $PS1 when using here documents, in
785         order not to get several prompts.
786         (tramp-get-inline-coding): Return `nil' in case of errors.
788 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
790         * hexl.el (hexl-mode, hexl-mode-exit):
791         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
792         (hexl-revert-buffer-function): New function.
793         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
795 2010-10-19  Alan Mackenzie  <acm@muc.de>
797         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
798         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
799         that these keywords aren't wrongly matched as identifiers.
801         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
802         setting of c-new-BEG and c-new-END from c-before-change to
803         c-after-change.  (Bug#7181)
805 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
807         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
808         Don't mark as safe.
810         * custom.el (custom-theme-set-variables): Likewise.
811         (load-theme): Add custom-theme-set-faces and
812         custom-theme-set-variables to safe-functions while loading.
813         (custom-enabled-themes): Mark as risky.
815 2010-10-18  Julien Danjou  <julien@danjou.info>
817         * bindings.el: Remove end dashes in default mode-line-format.
819 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
821         * bindings.el (global-map): Bind C-d to delete-char and deletechar
822         to delete-forward-char.
824         * simple.el (normal-erase-is-backspace-mode): Remap delete to
825         deletechar, and hence delete-forward-char.
827 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
829         * repeat.el (repeat): Use read-key (bug#6256).
831 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
833         * emacs-lisp/unsafep.el: Don't mark functions that display
834         messages as safe.  Suggested by Johan Bockgård.
836 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
838         * minibuffer.el (completion--replace): Move point where it belongs
839         when there's a common suffix (bug#7215).
841 2010-10-19  Kenichi Handa  <handa@m17n.org>
843         * international/characters.el: Add category '|' (word breakable)
844         to fullwidth characters.
846 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
848         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
849         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
850         order to make stat results a float.  Patch by Andreas Schwab
851         <schwab@linux-m68k.org>.
853 2010-10-18  Julien Danjou  <julien@danjou.info>
855         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
856         hidden by `make-pointer-invisible'.
858 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
860         * files.el (locate-file-completion-table): Strip non-matching elements
861         before checking length of list (bug#7238).
863 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
865         * custom.el (custom-theme-set-variables): Mark as a safe function.
866         (load-theme): Check forms using unsafep.
868         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
870 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
872         * textmodes/ispell.el (ispell-aspell-find-dictionary):
873         Fix aspell data file searching (bug#7230).
875 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
877         * cus-theme.el (custom-theme--migrate-settings): New var.
878         (customize-create-theme): Allow editing the `user' theme.
879         (custom-theme-add-variable, custom-theme-add-var-1)
880         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
881         to the front of each variable or face widget.
882         (custom-theme-write): Save theme settings in the correct order.
883         Optionally, remove saved settings from user customizations.
884         (custom-theme-write-variables, custom-theme-write-faces):
885         Save only the checked widgets.
886         (customize-themes): Add a link for migrating custom settings.
888         * custom.el (custom-declare-theme, provide-theme):
889         Use custom-theme-name-valid-p.
890         (custom-theme-name-valid-p): Remove checks that are now
891         unnecessary since themes no longer obey load-path.
893         * cus-edit.el (custom-variable-value-create): For the simple
894         style, hide documentation string when hidden.
896 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
898         * cus-edit.el (custom-variable, custom-face): Combine the
899         :inhibit-magic and :display-style properties into a single
900         :custom-style property.
901         (custom-toggle-hide-variable, custom-toggle-hide-face):
902         New functions.  If hiding an edited value, save it to :shown-value.
903         (custom-variable-value-create, custom-face-value-create): Use them.
904         (custom-magic-reset): Allow magic property to be unset.
906         * custom.el: Custom themes no longer use load-path.
907         (custom-theme-load-path): New option.  Change built-in theme
908         directory to etc/.
909         (custom-enabled-themes): Add custom-theme-load-path dependency.
910         (custom-theme--load-path): New function.
911         (load-theme, custom-available-themes): Use it.
913         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
914         (customize-themes): Link to custom-theme-load-path variable.
915         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
916         :custom-style property.
918         * themes/*.el: Moved to etc/.
920 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
922         * textmodes/reftex-cite.el
923         (reftex-extract-bib-entries-from-thebibliography): Do not move
924         point when searching for \bibitem entries.  Match entries with
925         spaces or tabs in front of arguments.
927 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
929         * cus-theme.el (customize-create-theme): Delete overlays after
930         erasing.  If given a THEME arg, display only the faces of that arg
931         instead of custom-theme--listed-faces.
932         (custom-theme-variable-menu, custom-theme-variable-action)
933         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
934         (custom-theme-add-variable, custom-theme-add-face): Apply value
935         from the theme settings, instead of the current value.
936         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
937         (custom-theme-visit-theme): Allow calling outside theme buffers.
938         (custom-theme-merge-theme): Don't enable the theme when merging.
939         (custom-theme-write-variables, custom-theme-write-faces): Use the
940         :shown-value properties to save buffer values, not global ones.
941         (customize-themes): Display a warning about user customizations.
943         * cus-edit.el (custom-variable-value-create)
944         (custom-face-value-create): Obey new special properties
945         :shown-value and :inhibit-magic.
947 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
949         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
950         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
951         <dale@codefu.org>.
953 2010-10-14  Kenichi Handa  <handa@m17n.org>
955         * mail/rmail.el (rmail-show-message-1): Catch an error of
956         base64-decode-region and just show an error message (bug#7165).
958         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
959         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
960         a font-spec (bug#7197).
962 2010-10-14  Glenn Morris  <rgm@gnu.org>
964         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
966 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
968         * international/mule.el (define-coding-system):
969         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
970         * composite.el (compose-region): Fix typo in docstring.
972 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
974         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
975         only after checking the theme-face property.
977         * faces.el (face-spec-reset-face): Reset all attributes in one
978         single call to set-face-attribute.
979         (face-spec-match-p): Make it a defsubst.
980         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
981         (x-create-frame-with-faces, tty-create-frame-with-faces)
982         (tty-set-up-initial-frame-faces): Don't recompute face specs in
983         frame-set-background-mode, since they are recomputed immediately
984         afterwards in face-set-after-frame-default.
985         (face-set-after-frame-default): Minor optimization.
986         (cursor): Provide non-trivial defface spec.
988         * custom.el (custom-theme-recalc-face): Simplify.
990 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
992         * calc/calc-alg.el (math-var): Rename from `var'.
993         (math-is-polynomial, math-is-poly-rec): Replace `var'
994         with `math-var'.
996         * calc/calcalg2.el (math-var): Rename from `var'.
997         (calcFunc-table, math-scan-for-limits): Replace `var'
998         with `math-var'.
1000 2010-10-13  Glenn Morris  <rgm@gnu.org>
1002         * subr.el (last): Deal with dotted lists (reported in bug#7174).
1004 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
1006         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
1008 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1010         * net/tls.el (tls-program): Remove spurious %s from openssl.
1011         (tls-starttls-switches): Remove starttls hack.
1012         (open-tls-stream): Ditto.
1013         (tls-find-starttls-argument): Ditto.
1015 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
1017         * image.el (image-library-alist): Declare as obsolete alias.
1018         (image-type-available-p): Use `dynamic-library-alist'.
1020         * term/w32-win.el (dynamic-library-alist):
1021         Use instead of `image-library-alist'.
1023 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
1025         * subr.el (last): Make it faster.  (Bug#7174)
1027 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
1029         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
1031 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
1033         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
1034         (describe-theme-1): Extract doc from unloaded themes.
1036         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
1038         * themes/tango-theme.el:
1039         * themes/tango-dark-theme.el:
1040         * themes/wheatgrass-theme.el: New files.
1042 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
1044         * cus-theme.el (describe-theme, customize-themes)
1045         (custom-theme-save): New commands.
1046         (custom-new-theme-mode-map): Bind C-x C-s.
1047         (custom-new-theme-mode): Use custom--initialize-widget-variables.
1048         (customize-create-theme): New optional arg THEME.
1049         (custom-theme-revert): Use it.
1050         (custom-theme-visit-theme): Remove dead code.
1051         (custom-theme-merge-theme): Use custom-available-themes.
1052         (custom-theme-write): Make interactive.
1053         (custom-theme-write): Use custom-theme-name-valid-p.
1054         (describe-theme-1, custom-theme-choose-revert)
1055         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
1056         New funs.
1057         (custom-theme-allow-multiple-selections): New option.
1058         (custom-theme-choose-mode): New major mode.
1060         * custom.el (custom-theme-set-variables): Remove dead code.
1061         Obey custom--inhibit-theme-enable.
1062         (custom--inhibit-theme-enable): New var.
1063         (provide-theme): Obey it.
1064         (load-theme): Replace load with manual read/eval, in order to
1065         check for correctness.  Use custom-theme-name-valid-p.
1066         (custom-theme-name-valid-p): New function.
1067         (custom-available-themes): Use it.
1069         * cus-edit.el (custom--initialize-widget-variables): New function.
1070         (Custom-mode): Use it.
1072         * cus-face.el (custom-theme-set-faces): Remove dead code.
1073         Obey custom--inhibit-theme-enable.
1075         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
1077 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
1079         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
1081 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
1083         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
1084         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
1085         (mac-right-option-modifier): New alias for ns-right-option-modifier.
1087         * cus-start.el (all): ns-right-alternate-modifier is new.
1089 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1091         * emacs-lisp/lisp.el (lisp-completion-at-point):
1092         Use emacs-lisp-mode-syntax-table for the whole function.
1094 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
1096         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
1097         instead of font-lock-mode before adding keywords.
1098         Remove hi-lock-mode off code.  Remove inhibit hack.
1099         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
1100         non-nil; removed hook inhibit hack.
1102 2010-10-12  Glenn Morris  <rgm@gnu.org>
1104         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
1105         (load-path-shadows-find): ... to this.
1106         (list-load-path-shadows): Update for above change.
1108         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
1110 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
1112         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
1113         Fix comment for declare-function.
1115 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
1117         * custom.el (custom-fix-face-spec): New function; code moved from
1118         custom-face-edit-fix-value.
1119         (custom-push-theme): Use it when checking if a face has been
1120         changed outside customize.
1121         (custom-available-themes): New function.
1122         (load-theme): Use it.
1124         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
1126         * custom.el (custom-push-theme): Cleanup (use cond).
1127         (disable-theme): Recompute the saved-face property.
1128         (custom-theme-recalc-face): Follow face alias before setting prop.
1130         * image.el (image-checkbox-checked, image-checkbox-unchecked):
1131         New variables, containing checkbox images.
1133         * startup.el (fancy-startup-tail):
1134         * wid-edit.el (checkbox): Use them.
1136 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
1138         * shell.el (shell-mode-map):
1139         * progmodes/modula2.el (m2-mode-map):
1140         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
1141         * play/mpuz.el (mpuz-mode-map):
1142         * play/landmark.el (lm-mode-map):
1143         * play/decipher.el (decipher-mode-map):
1144         * play/5x5.el (5x5-mode-map):
1145         * net/telnet.el (telnet-mode-map):
1146         * net/quickurl.el (quickurl-list-mode-map):
1147         * net/mairix.el (mairix-searches-mode-map):
1148         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
1149         * net/dig.el (dig-mode-map):
1150         * mail/mspools.el (mspools-mode-map):
1151         * hexl.el (hexl-mode-map):
1152         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
1153         (wordstar-C-o-map, wordstar-C-q-map):
1154         * emacs-lisp/edebug.el (edebug-eval-mode-map):
1155         * emacs-lisp/chart.el (chart-map):
1156         * edmacro.el (edmacro-mode-map):
1157         * erc/erc-list.el (erc-list-menu-mode-map):
1158         * array.el (array-mode-map): Declare and define in one step.
1160         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
1162 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
1164         * epa.el (epa-passphrase-callback-function): Display filename
1165         passed as the 3rd arg.
1166         * epa-file.el (epa-file-passphrase-callback-function):
1167         Pass filename to epa-passphrase-callback-function.
1169 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
1171         * cus-edit.el (custom-face-widget-to-spec)
1172         (custom-face-get-current-spec, custom-face-state): New functions.
1173         (custom-face-set, custom-face-mark-to-save)
1174         (custom-face-value-create, custom-face-state-set): Use them.
1176         * cus-theme.el (custom-theme--listed-faces): New var.
1177         (customize-create-theme): Use *Custom Theme* as the buffer name.
1178         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
1179         faces listed in custom-theme--listed-faces.
1180         (custom-theme-revert): New function.
1181         (custom-theme-add-variable, custom-theme-add-face): Insert at the
1182         bottom of the list.
1183         (custom-theme-write): Prompt for theme name if empty.
1184         (custom-theme-write-variables): Use dolist.
1185         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
1187 2010-10-09  Alan Mackenzie  <acm@muc.de>
1189         Enhance fontification of declarators to take account of the
1190         presence/absence of "typedef".
1192         * cc-engine.el (c-forward-type): New &optional param
1193         "brace-block-too".
1194         (c-forward-decl-or-cast-1): cdr of return value now indicates the
1195         presence of either or both of a "struct"-like keyword and "typedef".
1197         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
1198         fontification of declarators which follow a "}".
1199         (c-font-lock-declarations): Fontify declarators according to the
1200         presence/absence of "typedef".
1202         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
1203         for "typedef".
1204         (c-typedef-decl-key): New lang variable built from
1205         c-typedef-decl-kwds.
1207 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1209         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
1210         since that's too annoying.  Move the filter groups commands to
1211         TAB/backtab.
1213         * epa.el (epa-passphrase-callback-function): Say what we're
1214         querying the password for.
1216         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
1217         behaviour, don't bury the ibuffer buffer when visiting other buffers.
1219 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
1221         * cus-edit.el (custom-commands, custom-buffer-create-internal)
1222         (custom-magic-value-create): Pad button tags with spaces.
1223         (custom-face-edit): New variable.
1224         (custom-face-value-create): Determine whether to use the usual
1225         face editor here, instead of using custom-face-selected.
1226         Pass face defaults to custom-face-edit widget.
1227         (custom-face-selected, custom-display-unselected): Delete widgets.
1228         (custom-display-unselected-match): Function removed.
1229         (custom-face-set, custom-face-mark-to-save):
1230         Accept custom-face-edit widgets as the direct widget child.
1232         * wid-edit.el (widget--completing-widget): New var.
1233         (widget-default-complete): Bind it when doing completion.
1234         (widget-string-complete, widget-file-complete): Use it.
1236 2010-10-09  Glenn Morris  <rgm@gnu.org>
1238         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
1239         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
1240         (holiday-hebrew-misc): Small simplifications.
1242         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
1244         * net/browse-url.el: Don't require thingatpt, term, dired,
1245         executable, or w3-auto when compiling.
1246         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
1247         Declare.
1248         (browse-url-text-emacs): Require term.
1250 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
1252         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
1254 2010-10-08  Glenn Morris  <rgm@gnu.org>
1256         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
1258         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
1259         (shadows-compare-text-p): Make it an obsolete alias for...
1260         (load-path-shadows-compare-text): ... new name.
1261         (find-emacs-lisp-shadows): Update for above name change.
1262         (load-path-shadows-same-file-or-nonexistent): New name for the old
1263         shadow-same-file-or-nonexistent.
1265 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
1267         * minibuffer.el (completion--some, completion--do-completion)
1268         (minibuffer-complete-and-exit, minibuffer-completion-help)
1269         (completion-basic-try-completion)
1270         (completion-basic-all-completions)
1271         (completion-pcm--find-all-completions): Use lexical-let to
1272         avoid some false matches in variable completion (Bug#7056)
1274 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
1276         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
1278 2010-10-08  Leo  <sdl.web@gmail.com>
1280         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
1281         return non-nil if the file exists (Bug#7090).
1283 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1285         * minibuffer.el (completion--replace):
1286         Better preserve markers (bug#7138).
1288 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
1290         * server.el (server-process-filter): Doc fix.
1292 2010-10-08  Drew Adams  <drew.adams@oracle.com>
1294         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
1296 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
1298         * Makefile.in (ELCFILES): Update.
1300 2010-10-08  Glenn Morris  <rgm@gnu.org>
1302         * vc/ediff-wind.el (ediff-setup-control-frame):
1303         * vc/ediff-ptch.el (ediff-default-backup-extension):
1304         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
1305         (ediff-exec-process): Remove system-types emx, windows-95.
1307         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
1309 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
1311         * cus-edit.el (custom-variable, custom-face): Doc fix.
1312         (custom-face-edit): Add value-create attribute.
1313         (custom-face-edit-value-create)
1314         (custom-face-edit-value-visibility-action): New functions.
1315         Hide unused face attributes by default, and add a visibility toggle.
1316         (custom-face-edit-deactivate): Show empty values with shadow face.
1317         (custom-face-selected): Only use this for face specs with default
1318         attributes.
1319         (custom-face-value-create): Cleanup.
1321         * wid-edit.el (widget-checklist-value-create): Use dolist.
1322         (widget-checklist-match-find): Make second arg optional.
1324 2010-10-07  Glenn Morris  <rgm@gnu.org>
1326         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
1327         Prefix things.
1329         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
1330         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
1331         load-path-shadows-mode, update references.
1332         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
1333         Rename variable and button.
1334         (list-load-path-shadows): Update button caller.
1336 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1338         * emacs-lisp/smie.el (smie-bnf-classify): New function.
1339         (smie-bnf-precedence-table): Use it to remember the closers/openers.
1340         (smie-merge-prec2s): Handle those new entries.
1341         (smie-prec2-levels): Only set precedence to nil for actual
1342         openers/closers.
1343         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
1344         that is now unnecessary.
1346 2010-10-07  Miles Bader  <miles@gnu.org>
1348         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
1350 2010-10-07  Glenn Morris  <rgm@gnu.org>
1352         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
1353         (mail-position-on-field): Remove declarations.
1354         (mail-position-on-field): Autoload it.
1355         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
1356         and mail-header-end.  Don't require sendmail.
1358         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
1359         (shadow-mode): New mode.
1360         (shadow-find-file): New button.
1361         (list-load-path-shadows): Use shadow-mode and buttons.
1363         * iimage.el (iimage-version): Remove.
1364         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
1365         Turn into defcustoms.
1366         (iimage-mode-map): Give it a doc string.
1368         * calendar/appt.el (appt-activate): Give a warning rather than an error
1369         if there is no diary-file.
1371 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
1373         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1374         Use `tramp-handle-find-backup-file-name'.
1376 2010-10-06  Glenn Morris  <rgm@gnu.org>
1378         * font-core.el (font-lock-defaults-alist): Remove variable.
1379         (font-lock-mode): Doc fix.
1380         (font-lock-default-function): Do not consult font-lock-defaults-alist.
1381         * font-lock.el (font-lock-refresh-defaults): Doc fix.
1382         (font-lock-set-defaults): Doc fix.
1383         Do not consult font-lock-defaults-alist.
1385         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
1387         * emacs-lisp/cl.el: No longer provide cl-19.
1389 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
1391         * net/tramp.el (tramp-handle-directory-files-and-attributes)
1392         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
1393         New defuns, taken from tramp-smb.el.
1394         (tramp-coding-system-change-eol-conversion)
1395         (tramp-set-process-query-on-exit-flag): Remove.
1397         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
1398         (tramp-compat-coding-system-change-eol-conversion)
1399         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
1400         from tramp.el.
1402         * net/tramp-gvfs.el:
1403         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
1404         by `tramp-compat-set-process-query-on-exit-flag'.
1406         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
1407         Use `tramp-handle-directory-files-and-attributes',
1408         `tramp-handle-file-exists-p' and
1409         `tramp-handle-file-newer-than-file-p'.
1410         (tramp-imap-handle-file-exists-p)
1411         (tramp-imap-handle-file-executable-p)
1412         (tramp-imap-handle-file-readable-p)
1413         (tramp-imap-handle-directory-files-and-attributes)
1414         (tramp-imap-handle-file-newer-than-file-p): Remove.
1416         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
1417         by `tramp-compat-set-process-query-on-exit-flag' and
1418         `tramp-coding-system-change-eol-conversion' by
1419         `tramp-compat-coding-system-change-eol-conversion'.
1421         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1422         Use `tramp-handle-directory-files-and-attributes',
1423         `tramp-handle-file-exists-p' and
1424         `tramp-handle-file-newer-than-file-p'.
1425         (tramp-smb-handle-directory-files-and-attributes)
1426         (tramp-smb-handle-file-exists-p)
1427         (tramp-smb-handle-file-newer-than-file-p): Remove.
1428         (tramp-smb-maybe-open-connection):
1429         Replace `tramp-set-process-query-on-exit-flag' by
1430         `tramp-compat-set-process-query-on-exit-flag'.
1432 2010-10-05  Glenn Morris  <rgm@gnu.org>
1434         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
1436 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
1438         Continue reorganization of load dependencies.  (Bug#7156)
1440         * net/tramp.el (tramp-handle-file-local-copy-hook)
1441         (tramp-delete-temp-file-function): Move down.
1442         (tramp-exists-file-name-handler): Move up.
1443         (tramp-register-file-name-handlers): Simplify autoload.
1444         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
1445         (tramp-handle-directory-files, tramp-handle-dired-uncache)
1446         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
1447         (tramp-handle-file-name-completion)
1448         (tramp-handle-file-name-directory)
1449         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
1450         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
1451         (tramp-handle-find-backup-file-name)
1452         (tramp-handle-insert-file-contents, tramp-handle-load)
1453         (tramp-handle-substitute-in-file-name)
1454         (tramp-handle-unhandled-file-name-directory)
1455         (tramp-mode-string-to-int, tramp-local-host-p)
1456         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
1458         * net/tramp-gvfs.el (top):
1459         * net/tramp-smb.el (top): Do not require 'tramp-sh.
1461         * net/tramp-sh.el (all): Move several objects to tramp.el, see
1462         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
1464 2010-10-04  Glenn Morris  <rgm@gnu.org>
1466         * calendar/appt.el (appt-add): Ensure reminders are enabled.
1467         (appt-activate): Give status messages.
1469 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
1471         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
1472         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
1473         `gnutls-negotiate' (formerly `starttls-negotiate').
1474         Remove trivial wrapper `starttls-open-stream'.
1476 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
1478         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
1479         log-outgoing commands.
1480         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
1481         to create a buffer local revert-buffer-function variable.
1482         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
1483         revert-buffer-function lambda.
1485 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
1487         * net/gnutls.el (starttls-negotiate): Use the plist interface to
1488         `gnutls-boot'.  Make TYPE the only required parameter.
1489         Allow TRUSTFILES and KEYFILES to be lists.
1490         (open-ssl-stream): Use it.
1492 2010-10-03  Glenn Morris  <rgm@gnu.org>
1494         * subr.el (directory-sep-char): Remove obsolete variable.
1495         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
1496         it is "necessary".
1498         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
1499         * vc/vc.el (vc-static-header-alist): Doc fix.
1500         * vc/vc-cvs.el (vc-cvs-header):
1501         * vc/vc-rcs.el (vc-rcs-header):
1502         * vc/vc-sccs.el (vc-sccs-header):
1503         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
1504         * obsolete/vc-mcvs.el (vc-mcvs-header):
1505         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
1506         on XEmacs.
1508 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
1510         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
1511         Remove obsolete use of binary-overwrite-mode (Bug#7001).
1513 2010-10-03  Glenn Morris  <rgm@gnu.org>
1515         * obsolete/x-menu.el: Remove file, obsolete since 21.1
1517         * textmodes/rst.el (rst-font-lock-keywords-function):
1518         Drop Emacs 20 code.
1520         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
1522         * printing.el: Drop Emacs 20 code.
1524         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
1525         without having used appt.el already).
1527         * subr.el (make-local-hook): Remove function obsolete since 21.1.
1528         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
1529         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
1530         XEmacs.
1531         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
1532         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
1534         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
1535         (charset-width, find-charset-region, chars-in-region, forward-point)
1536         (encode-coding-string, coding-system-p, ccl-execute-on-string)
1537         (define-ccl-program, multibyte-string-p, string-make-multibyte):
1538         Remove compatibility cruft (none of these are used by ps*.el).
1540 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
1542         * subr.el (booleanp): Return t instead of a list (Bug#7086).
1544 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
1546         * server.el (server-process-filter, server-return-error):
1547         Give emacsclient time to shut down after receiving an error string.
1549 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
1551         * files.el (remote-file-name-inhibit-cache): New defcustom.
1553         * time.el (display-time-file-nonempty-p):
1554         Use `remote-file-name-inhibit-cache'.
1556         * net/tramp.el (tramp-completion-reread-directory-timeout):
1557         Fix docstring.
1559         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
1560         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
1561         `remote-file-name-inhibit-cache'.  Check also for an integer
1562         value.  Add/increase counter when `tramp-verbose' >= 10.
1563         (tramp-set-file-property): Add/increase counter when
1564         `tramp-verbose' >= 10.
1566         * net/tramp-cmds.el (tramp-cleanup-all-connections)
1567         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
1568         (tramp-bug): Set tramp-autoload cookie.  Report all interned
1569         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
1570         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
1571         characters only in strings.
1573         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
1574         to backward compatibility.
1576         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
1577         (tramp-handle-file-name-all-completions)
1578         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
1579         (tramp-open-connection-setup-interactive-shell):
1580         Call `tramp-cleanup-connection' directly.
1582 2010-10-02  Glenn Morris  <rgm@gnu.org>
1584         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
1586         * subr.el (char-bytes): Remove obsolete function.
1588         * isearch.el (isearch-return-char): Remove obsolete function.
1590         * mouse.el: No longer provide mldrag.
1591         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
1592         Remove obsolete aliases.
1594         * comint.el (comint-kill-output): Remove obsolete alias.
1596         * composite.el (decompose-composite-char): Remove obsolete function.
1597         * ps-def.el (decompose-composite-char): Remove unused function.
1599         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
1601         * outline.el (outline-visible): Remove obsolete function.
1603         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
1604         * faces.el (internal-find-face, internal-get-face)
1605         (frame-update-faces, frame-update-face-colors)
1606         (x-frob-font-weight, x-frob-font-slant)
1607         (internal-frob-font-weight, internal-frob-font-slant)
1608         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
1609         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
1610         (x-make-font-bold-italic): Remove functions and aliases, obsolete
1611         since Emacs 21.1.
1612         * emulation/viper-util.el (viper-get-face):
1613         * obsolete/lucid.el (find-face, get-face): Use facep.
1614         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
1615         Remove unused functions.
1616         * vc/ediff-util.el (ediff-submit-report): Doc fix.
1618         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
1619         delete tempfile if interrupted during compilation.
1621 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1623         * net/tls.el (tls-starttls-switches): Give up on using starttls with
1624         gnutls-cli.
1625         (tls-program): Add --insecure to be consistent with the defaults from
1626         openssl s_client.  Now all three commands are insecure.
1628 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
1630         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
1631         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
1632         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
1634 2010-10-01  Glenn Morris  <rgm@gnu.org>
1636         * obsolete/sc.el: Remove file.
1638         * files.el (temporary-file-directory): On darwin, also try
1639         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
1641 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
1643         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
1644         Let's not break compatibility gratuitously, shall we?
1646 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1648         * net/tls.el (tls-starttls-switches): New variable.
1649         (tls-find-starttls-argument): Use it.
1650         (open-tls-stream): Ditto.
1652         * net/netrc.el (netrc-credentials): Return the value of the "default"
1653         entry.
1654         (netrc-machine): Ditto.
1656 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
1658         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
1660 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
1662         * server.el (server-start): Don't write pid to the authentication file.
1663         (server-create-tty-frame): Don't send pid.
1664         (server-process-filter): Send pid at the start of every connection.
1666 2010-09-30  Glenn Morris  <rgm@gnu.org>
1668         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
1669         (show-all-diary-entries): Remove obsolete function aliases.
1671         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
1672         Remove options, obsolete since 22.1.
1673         (appt-display-format, appt-display-message): Remove
1674         backwards-compatibility code.
1675         (appt-check): No longer check appt-issue-message.
1676         (appt-make-list): No longer autoload it.  Doc fix.  No longer
1677         activate the package.
1679 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1681         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
1682         (starttls-negotiate): Just call boot, and let the handshake be
1683         triggered from the read loop.
1685 2010-09-29  Glenn Morris  <rgm@gnu.org>
1687         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
1688         not displaying the diary.
1689         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
1690         * calendar/appt.el (appt-check): No longer need to kill diary.
1692         * calendar/diary-lib.el (diary-list-entries): Move the
1693         "Preparing..." message entirely here.
1694         (diary-simple-display, diary-fancy-display): Move "Preparing..."
1695         messages to diary-list-entries.
1696         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
1697         diary-display-function.
1699         * calendar/diary-lib.el (diary-include-other-diary-files):
1700         Trap some recursive includes.
1702         * calendar/appt.el (appt-activate): Check diary file.
1704 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
1706         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
1707         construction.
1709         * calendar/time-date.el: No need to require cl for Emacs 21.
1711 2010-09-28  Glenn Morris  <rgm@gnu.org>
1713         * calendar/appt.el (appt-check): Minor simplification.
1715 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
1717         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
1718         citation prefix.
1720 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
1722         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1723         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
1725 2010-09-27  Kenichi Handa  <handa@m17n.org>
1727         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
1728         "ustar" format.
1730 2010-09-27  Kenichi Handa  <handa@m17n.org>
1732         * international/mule.el (define-coding-system): Docstring fixed.
1734         * international/mule-diag.el (describe-character-set): Use princ
1735         with proper print-length and print-level instead of insert.
1737 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
1739         * window.el (walk-windows): Doc fix (bug#7105).
1741 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1743         * emacs-lisp/float-sup.el (e): Remove.
1745 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
1747         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
1748         variable.
1749         (starttls-negotiate): Use it.
1751 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1753         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
1754         back.
1756 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1758         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
1760 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1762         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
1764         * net/netrc.el (netrc-store-data): New function.
1766 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
1768         * net/gnutls.el: GnuTLS glue code to set up a connection.
1770 2010-09-25  Julien Danjou  <julien@danjou.info>
1772         * notifications.el: Call dbus-register-signal only if it is bound.
1774 2010-09-25  Glenn Morris  <rgm@gnu.org>
1776         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1777         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1778         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1779         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1780         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1781         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
1782         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
1783         * eshell/esh-util.el, eshell/esh-var.el:
1784         Remove leading `*' from docs of faces and defcustoms.
1786 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
1788         * eshell/em-ls.el (eshell-ls-archive-regexp):
1789         * eshell/esh-util.el (eshell-tar-regexp):
1790         * ibuffer.el (ibuffer-compressed-file-name-regexp):
1791         * info.el (Info-suffix-list):
1792         * international/mule.el (auto-coding-alist):
1793         * woman.el (woman-file-regexp, woman-file-compression-regexp):
1794         * progmodes/etags.el (tags-compression-info-list):
1795         Support xz compression.
1797 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
1799         * files.el (get-free-disk-space): Don't assume the "df" output
1800         columns line up (Bug#6995).
1802 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
1804         * finder.el (finder-unknown-keywords):
1805         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
1806         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
1808 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
1810         * server.el (server-start): Revert part of 2010-08-08 change.  Using
1811         address 127.0.0.1 for local host is now done in Fmake_network_process.
1813 2010-09-24  Glenn Morris  <rgm@gnu.org>
1815         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
1816         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
1817         * textmodes/css-mode.el, textmodes/dns-mode.el:
1818         Move autoloaded auto-mode-alist entries to files.el.
1819         * files.el (auto-mode-alist): Move entries here.
1821 2010-09-23  Glenn Morris  <rgm@gnu.org>
1823         * isearch.el (isearch-lazy-highlight-cleanup)
1824         (isearch-lazy-highlight-initial-delay)
1825         (isearch-lazy-highlight-interval)
1826         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
1827         * net/net-utils.el (ipconfig-program-options):
1828         Move aliases to options before the associated definitions.
1830 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1832         * newcomment.el (comment-normalize-vars): Better test validity of
1833         comment-end-skip.
1835 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1837         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
1838         (float-e): New name for `e'.
1839         (degrees-to-radians, radians-to-degrees):
1840         * calendar/solar.el (solar-longitude):
1841         * calculator.el (calculator-registers, calculator-funcall):
1842         * textmodes/artist.el (artist-spray-random-points):
1843         * play/bubbles.el (bubbles--initialize-images): Use new names.
1845 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
1847         Update to CEDET 1.0's version of EIEIO.
1849         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
1850         New function.
1851         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
1852         (eieio-default-eval-maybe): Eval val instead of unquoting only.
1853         (class-precedence-list): If class is nil, return nil.
1854         (eieio-generic-call): If class of first input arg is nil, don't
1855         look up static methods, and do check for primary methods.
1856         (initialize-instance): See if the default needs to be evaluated
1857         during the constructor.
1858         (eieio-perform-slot-validation-for-default): Don't do the check
1859         for values that will eventually be evaluated.
1860         (eieio-eval-default-p): New function.
1861         (eieio-default-eval-maybe): Use it.
1863 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
1865         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
1866         method-invocation-order.
1867         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
1868         (eieio-class-precedence-dfs): Compute class precedence list using
1869         dfs algorithm.
1870         (eieio-class-precedence-bfs): Compute class precedence list using
1871         bfs algorithm.
1872         (eieio-class-precedence-c3): Compute class precedence list using
1873         c3 algorithm.
1874         (class-precedence-list): New function.
1875         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
1876         (inconsistent-class-hierarchy): New error symbol.
1877         (call-next-method): Stow the replacement argument list for future
1878         call-next-method invocations.
1880 2010-09-23  Glenn Morris  <rgm@gnu.org>
1882         * calendar/appt.el (appt-check): If not displaying the diary,
1883         use (diary 1) to only get the entries we need.
1884         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
1885         that it is in day order.  (Bug#7019)
1887         * calendar/appt.el (appt-check): Rather than showing the diary,
1888         just turn off invisible display, and only if needed.
1890         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
1892 2010-09-23  Glenn Morris  <rgm@gnu.org>
1894         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1895         (byte-compile-defvar, byte-compile-cl-warn):
1896         Start warnings with lower-case, like the majority.
1898         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
1900         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
1902         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
1903         * files.el (auto-mode-alist): Move ld-script entries here, further down
1904         the list.
1906         * vc/add-log.el: Don't require timezone when compiling.
1907         (timezone-make-date-sortable): Autoload it.
1908         (change-log-sortable-date-at): Don't require timezone.
1909         Use `ignore-errors'.
1911         * comint.el (comint-use-prompt-regexp-instead-of-fields):
1912         Move alias before definition, so it does not need autoloading.
1914         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
1915         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
1916         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
1917         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
1918         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
1919         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
1920         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
1921         * textmodes/tex-mode.el, textmodes/two-column.el:
1922         Remove leading `*' from docs of defcustoms etc.
1924 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
1926         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
1928 2010-09-22  Dan Christensen  <jdc@uwo.ca>
1930         * calendar/time-date.el (date-to-time): Try using parse-time-string
1931         first before using the slower timezone-make-date-arpa-standard.
1933 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
1935         * calendar/time-date.el (format-seconds): Comment fix.
1937 2010-09-22  Glenn Morris  <rgm@gnu.org>
1939         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
1940         is not automatically buffer-local.
1942 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1944         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
1945         (smie-indent-comment): Be more careful with comment-start-skip.
1946         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
1947         (smie-indent-functions): Use them.
1949 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
1951         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
1953 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
1955         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
1956         tool-bar-position.  Don't modify frame parameters here.
1957         (menu-bar-options-save): Add tool-bar-position.
1959         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
1961 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1963         * textmodes/reftex-parse.el (reftex-what-macro)
1964         (reftex-context-substring): Let-bind forward-sexp-function to nil
1965         since we don't need/want to treat \begin...\end as a block (bug#7053).
1967         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
1969         * simple.el (blink-matching-open): Use syntax-class.
1971         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
1972         Set invisibility spec for pascal's outline mode.
1973         (pascal-outline-change): Clean up calling convention.
1974         (pascal-show-all, pascal-hide-other-defuns): Update callers.
1976         * progmodes/prolog.el (prolog-smie-forward-token)
1977         (prolog-smie-backward-token): New functions.
1978         (prolog-mode-variables): Use them to parse "!," correctly.
1979         Set up smie-blink-matching for ".".
1981         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
1982         and `end'.
1983         (ispell-region, ispell-process-line): Update users.
1985         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
1986         point-min==1.
1988         * textmodes/ispell.el: Fix commenting convention.
1989         (ispell-parse-output): Simplify, use push.
1990         (ispell-region): Use match-string-no-properties.
1991         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
1992         (ispell-minor-mode): Use define-minor-mode.
1993         (ispell-message): Remove unused var `skip-regexp'.
1994         (ispell-add-per-file-word-list): Use dynamic let-binding.
1995         Try and use the proper comment marker.
1997         * mail/sendmail.el: Fix commenting convention.
1998         (sendmail-send-it): Use line-beginning-position.
2000         * help-fns.el (describe-variable): Add original value, if applicable.
2002 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
2004         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
2006         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
2008 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2010         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
2011         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
2012         (smie-prec2-levels): Use them to better diagnose precedence cycles.
2013         (smie-blink-matching-check): Don't signal a mismatch if car is t.
2014         (smie-blink-matching-open): Rewrite to remove assumptions, so that
2015         something like "." can also be a closer.
2016         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
2017         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
2018         Rename internal functions to use "--".  Update callers.
2020         * frame.el (make-frame-names-alist): Don't list frames on other displays.
2022         * fringe.el (fringe-styles): New var.
2023         (fringe-mode, fringe-query-style): Use it.
2025 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
2027         * progmodes/sql.el: Version 2.8
2028         (sql-login-params): Update widget structure; changes still needed.
2029         (sql-product-alist): Add :list-all and :list-table features for
2030         SQLite, Postgres and MySQL products.
2031         (sql-redirect): Handle default value.
2032         (sql-execute, sql-execute-feature): New functions.
2033         (sql-read-table-name): New function.
2034         (sql-list-all, sql-list-table): New functions.  User API.
2035         (sql-mode-map, sql-interactive-mode-map): Add key definitions
2036         for above functions.
2037         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
2038         for above functions.
2039         (sql-postgres-login-params): Add user and database defaults.
2040         (sql-buffer-live-p): Bug fix.
2041         (sql-product-history): New variable.
2042         (sql-read-product): New function. Use it.
2043         (sql-set-product, sql-product-interactive): Use it.
2044         (sql-connection-history): New variable.
2045         (sql-read-connection): New function.  Use it.
2046         (sql-connect): New function.
2047         (sql-for-each-login): Redesign function interface.
2048         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
2049         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
2050         (sql-comint): Check for program.  Existing live buffer.
2051         (sql-comint-postgres): Add port parameter.
2053 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2055         * emacs-lisp/warnings.el: Fix commenting convention.
2056         (display-warning): Use special mode and make the buffer read-only.
2058 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
2060         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
2061         empty string when it follows a repeated or optional pattern.
2063 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2065         * indent.el (indent-according-to-mode): Apply syntax-propertize.
2066         (indent-region): Use indent-according-to-mode.
2068 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
2070         * fringe.el (fringe-mode): Doc fix.
2072 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
2074         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
2075         refreshing the preview buffer.
2077 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2079         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
2080         (latex-syntax-propertize-rules): New consts; replace
2081         tex-font-lock-syntactic-keywords.
2082         (tex-env-mark, latex-env-before-change): New functions.
2083         (latex-electric-env-pair-mode): New minor mode.
2084         (tex-font-lock-verb): Change arguments; do move point.
2085         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
2086         representation as a form of comment.
2087         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
2088         (doctex-syntax-propertize-rules): New const; replaces
2089         doctex-font-lock-syntactic-keywords.
2090         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
2092         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
2093         (fortran-make-syntax-propertize-function): New function; replaces
2094         fortran-font-lock-syntactic-keywords.
2095         (fortran-mode): Use it.
2096         (fortran-line-length): Use it.  Improve interactive spec.
2098         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
2099         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
2100         when adding surrounding \(..\).
2102         * progmodes/js.el (js-mode): Fix last change (bug#7054).
2104 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2106         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
2107         Use with-current-buffer.
2109         * isearch.el (isearch-face): Rename from `isearch'.
2110         (isearch-highlight): Use new name.
2112 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
2114         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
2115         5, for `half' width fringes.  (Bug#6933)
2117 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2119         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
2120         (byte-compile-defvar): "foo/bar" does not lack a prefix.
2122         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
2124 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
2126         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
2127         in calculating new frame position.  Add more space between new and
2128         parent on the left (Bug#7048).
2130 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
2132         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
2133         defmacro.
2135 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
2137         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
2139         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
2140         obsolete alias for x-selection-value.
2142         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
2144 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
2146         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
2147         cookie.
2149 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
2151         * net/tramp-compat.el (tramp-compat-with-temp-message)
2152         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
2153         (tramp-compat-process-put): New defuns.
2155         * net/tramp.el (top):
2156         * net/tramp-gvfs.el (top):
2157         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
2159         * net/tramp.el (tramp-progress-reporter-update):
2160         Use `tramp-compat-funcall'.
2162         * net/tramp.el (tramp-process-actions):
2163         * net/tramp-gvfs.el (tramp-handle-vc-registered):
2164         * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
2165         (tramp-get-remote-stat, tramp-get-remote-readlink):
2166         Use `tramp-compat-with-temp-message'.
2168         * net/tramp-sh.el (top): Require 'cl.
2169         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
2170         (tramp-open-connection-setup-interactive-shell):
2171         Use `tramp-compat-process-put'.
2173 2010-09-15  Alan Mackenzie  <acm@muc.de>
2175         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
2176         indentation.
2177         (c-forward-<>-arglist-recur): Fix an infinite recursion.
2179 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2181         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
2182         `lexical' for warnings related to lexical scoping.
2183         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
2184         global vars which don't have a prefix and could hence affect lexical
2185         scoping in unrelated files.
2187 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2189         * net/imap.el: Revert back to version
2190         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
2191         seem problematic.
2193 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
2195         * obsolete/old-whitespace.el (whitespace-unload-function):
2196         Explicitly pass `obarray' to `unintern' to avoid a warning.
2198 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2200         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
2201         Add `when' argument.  Update callers.
2203         * subr.el (unintern): Declare the obarray arg mandatory.
2205 2010-09-14  Glenn Morris  <rgm@gnu.org>
2207         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
2208         Doc fixes.
2210         * calendar/diary-lib.el (diary-included-files): New variable.
2211         (diary-list-entries): Maybe initialize diary-included-files.
2212         (diary-include-other-diary-files): Append to diary-included-files.
2213         * calendar/appt.el (appt-update-list): Also check the members of
2214         diary-included-files.  (Bug#6999)
2215         (appt-check): Doc fix.
2217 2010-09-14  David Reitter  <david.reitter@gmail.com>
2219         * simple.el (line-move-visual): Do not truncate goal column to
2220         integer size.  (Bug#7020)
2222 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2224         * repeat.el (repeat): Allow repeating when the last event is a click.
2225         Suggested by Drew Adams (bug#6256).
2227 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
2229         * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
2230         Replace setting HGRCPATH to "" by some less invasive --config options.
2232 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2234         * font-lock.el (font-lock-beginning-of-syntax-function):
2235         Mark as obsolete.
2237 2010-09-14  Glenn Morris  <rgm@gnu.org>
2239         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
2240         and tool-bar modes.  (Bug#6211)
2241         (menu-bar-mode): Move setting of standard-value after the
2242         minor-mode definition, otherwise it seems to have no effect.
2244 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
2246         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
2247         Fix typo.  (Bug#6976)
2249 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2251         * whitespace.el: Allow cleaning up blanks without blank
2252         visualization (Bug#6651).  Adjust help window for
2253         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
2254         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
2255         (whitespace-style): Add new value 'face.  Adjust docstring.
2256         (whitespace-space, whitespace-hspace, whitespace-tab):
2257         Adjust foreground property face.
2258         (whitespace-line-column): Adjust docstring and type declaration.
2259         (whitespace-style-value-list, whitespace-toggle-option-alist)
2260         (whitespace-help-text): Adjust const initialization.
2261         (whitespace-toggle-options, global-whitespace-toggle-options):
2262         Adjust docstring.
2263         (whitespace-display-window, whitespace-interactive-char)
2264         (whitespace-style-face-p, whitespace-color-on): Adjust code.
2265         (whitespace-help-scroll): New fun.
2267 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
2269         * calendar/time-date.el (format-seconds): Comment fix.
2271 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
2273         * progmodes/sql.el: Version 2.7.
2274         (sql-buffer-live-p): Improve detection.
2275         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
2276         (sql-set-sqli-buffer): Use it.
2277         (sql-product-interactive): Run `sql-set-sqli-hook'.
2278         (sql-rename-buffer): Code cleanup.
2279         (sql-redirect, sql-redirect-value): New functions.  More to come.
2281 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
2283         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.
2284         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
2285         (TRAMP_SRC): New macro.
2286         ($(lisp)/net/tramp-loaddefs.el): New target.
2288 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
2290         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
2292         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
2294         * net/tramp.el (top): Don't show loading message.  Require just
2295         'tramp-compat, everything else is required there.
2296         Use `ignore-errors' where appropriate.
2297         (tramp-inline-compress-start-size, tramp-copy-size-limit)
2298         (tramp-terminal-type, tramp-end-of-output)
2299         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
2300         (tramp-completion-function-alist-ssh)
2301         (tramp-completion-function-alist-telnet)
2302         (tramp-completion-function-alist-su)
2303         (tramp-completion-function-alist-putty, tramp-remote-path)
2304         (tramp-remote-process-environment, tramp-sh-extra-args)
2305         (tramp-actions-before-shell, tramp-uudecode)
2306         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
2307         (tramp-perl-file-attributes)
2308         (tramp-perl-directory-files-and-attributes)
2309         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
2310         (tramp-perl-encode, tramp-perl-decode)
2311         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
2312         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
2313         (tramp-handle-make-symbolic-link, tramp-handle-load)
2314         (tramp-handle-file-name-as-directory)
2315         (tramp-handle-file-name-directory)
2316         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
2317         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
2318         (tramp-do-file-attributes-with-ls)
2319         (tramp-do-file-attributes-with-perl)
2320         (tramp-do-file-attributes-with-stat)
2321         (tramp-handle-set-visited-file-modtime)
2322         (tramp-handle-verify-visited-file-modtime)
2323         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
2324         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
2325         (tramp-handle-file-selinux-context)
2326         (tramp-handle-set-file-selinux-context)
2327         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
2328         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
2329         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
2330         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
2331         (tramp-handle-file-ownership-preserved-p)
2332         (tramp-handle-directory-file-name, tramp-handle-directory-files)
2333         (tramp-handle-directory-files-and-attributes)
2334         (tramp-do-directory-files-and-attributes-with-perl)
2335         (tramp-do-directory-files-and-attributes-with-stat)
2336         (tramp-handle-file-name-all-completions)
2337         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
2338         (tramp-handle-copy-file, tramp-handle-copy-directory)
2339         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
2340         (tramp-do-copy-or-rename-file-via-buffer)
2341         (tramp-do-copy-or-rename-file-directly)
2342         (tramp-do-copy-or-rename-file-out-of-band)
2343         (tramp-handle-make-directory, tramp-handle-delete-directory)
2344         (tramp-handle-delete-file)
2345         (tramp-handle-dired-recursive-delete-directory)
2346         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
2347         (tramp-handle-insert-directory)
2348         (tramp-handle-unhandled-file-name-directory)
2349         (tramp-handle-expand-file-name)
2350         (tramp-handle-substitute-in-file-name)
2351         (tramp-handle-executable-find, tramp-process-sentinel)
2352         (tramp-handle-start-file-process, tramp-handle-process-file)
2353         (tramp-handle-call-process-region, tramp-handle-shell-command)
2354         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
2355         (tramp-handle-insert-file-contents)
2356         (tramp-handle-insert-file-contents-literally)
2357         (tramp-handle-find-backup-file-name)
2358         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
2359         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
2360         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
2361         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
2362         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
2363         (tramp-find-file-exists-command, tramp-open-shell)
2364         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
2365         (tramp-open-connection-setup-interactive-shell)
2366         (tramp-local-coding-commands, tramp-remote-coding-commands)
2367         (tramp-find-inline-encoding, tramp-call-local-coding-command)
2368         (tramp-inline-compress-commands, tramp-find-inline-compress)
2369         (tramp-compute-multi-hops, tramp-maybe-open-connection)
2370         (tramp-send-command, tramp-wait-for-output)
2371         (tramp-send-command-and-check, tramp-barf-unless-okay)
2372         (tramp-send-command-and-read, tramp-mode-string-to-int)
2373         (tramp-convert-file-attributes, tramp-check-cached-permissions)
2374         (tramp-file-mode-from-int, tramp-file-mode-permissions)
2375         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
2376         (tramp-method-out-of-band-p, tramp-local-host-p)
2377         (tramp-get-remote-path, tramp-get-remote-tmpdir)
2378         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
2379         (tramp-get-test-command, tramp-get-test-nt-command)
2380         (tramp-get-file-exists-command, tramp-get-remote-ln)
2381         (tramp-get-remote-perl, tramp-get-remote-stat)
2382         (tramp-get-remote-readlink, tramp-get-remote-trash)
2383         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
2384         (tramp-get-local-uid, tramp-get-local-gid)
2385         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
2386         tramp-sh.el.
2387         (tramp-methods, tramp-default-method-alist)
2388         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
2389         Move initialization to tramp-sh.el.
2390         (tramp-temp-name-prefix): Make it a defconst.
2391         (tramp-dissect-file-name): Don't check anymore for multi-hop
2392         methods.
2393         (tramp-debug-outline-regexp): Add a docstring.
2394         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
2395         (tramp-get-debug-buffer): Use it.
2397         * net/tramp-cache.el (top): Set tramp-autoload cookie for
2398         initialization forms.
2399         (tramp-set-connection-property): Don't protect `tramp-message'
2400         call, it isn't necessary any longer.
2401         (tramp-dump-connection-properties): Use `ignore-errors'.
2403         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
2404         'password-cache and 'auth-source.
2406         * net/tramp-gvfs.el (top):
2407         * net/tramp-smb.el (top): Require 'tramp-sh.
2409         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
2411         * net/tramp-sh.el: New file, derived from tramp.el.
2412         (top): Initialize `tramp-methods', `tramp-default-method-alist',
2413         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
2414         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
2415         Use `ignore-errors' where appropriate.
2416         (tramp-sh-file-name-handler-alist): Rename from
2417         `tramp-file-name-handler-alist'.
2418         (tramp-send-command-and-check): Return t or nil.  Remove all
2419         `zerop' checks, where called.
2420         (tramp-handle-set-file-modes)
2421         (tramp-do-copy-or-rename-file-directly)
2422         (tramp-handle-delete-directory, tramp-handle-delete-file)
2423         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
2424         (tramp-sh-file-name-handler, tramp-send-command-and-check)
2425         (tramp-get-remote-ln): Set tramp-autoload cookie.
2427         * net/tramp-fish.el: Remove file.
2429 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
2431         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
2432         buffer-file-name to avoid file-locking.  (Bug#7026)
2434 2010-09-13  Julien Danjou  <julien@danjou.info>
2436         * notifications.el (notifications-notify): Add support for
2437         image-path and sound-name.
2438         (notifications-specification-version): Add this variable.
2440 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2442         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
2444 2010-09-12  Leo  <sdl.web@gmail.com>
2446         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
2447         (rcirc-completion-start): New variables.
2448         (rcirc-nick-completions): Rename to rcirc-completions.
2449         (rcirc-nick-completion-start-offset): Delete.
2450         (rcirc-completion-at-point): New function for constructing
2451         completion data for both nicks and irc commands.  Add to
2452         completion-at-point-functions in rcirc mode.
2453         (rcirc-complete): Rename from rcirc-nick-complete; use
2454         rcirc-completion-at-point.
2455         (defun-rcirc-command): Update rcirc-client-commands.
2457 2010-09-11  Glenn Morris  <rgm@gnu.org>
2459         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
2460         atomically, to avoid parallel build errors.  (Bug#4196)
2462 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
2464         * progmodes/sql.el: Version 2.6
2465         (sql-dialect): Synonym for "sql-product".
2466         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
2467         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
2468         Set "sql-buffer" to buffer name not buffer object so multiple sql
2469         interactive buffers work properly.  Reverts misguided changes in
2470         earlier work.
2471         (sql-comint): Make sure different buffer name is used if "*SQL*"
2472         buffer is for a different product.
2473         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
2474         login param.
2475         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
2476         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
2477         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
2478         Accept new buffer name or prompt for one.
2479         (sql-port): Default to zero.
2480         (sql-comint-mysql): Handle "sql-port" as a numeric.
2481         (sql-port-history): Delete unused variable.
2482         (sql-get-login): Default "sql-port" to a number.
2483         (sql-product-alist): Correct Postgres prompt and terminator regexp.
2484         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
2485         "sqlite3" executables.
2486         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
2487         (sql-buffer-live-p): New function.
2488         (sql-mode-menu, sql-send-string): Use it.
2489         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
2490         syntax pattern.
2491         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
2492         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
2494 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2496         * net/netrc.el (netrc-credentials): New convenience function.
2498 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2500         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
2501         to replace texinfo-font-lock-syntactic-keywords.
2502         (texinfo-mode): Use it.
2504         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
2505         Use syntax-propertize-function.
2507         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
2508         replace sgml-font-lock-syntactic-keywords.
2509         (sgml-mode): Use it.
2511         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
2512         since we don't use it.
2514         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
2516         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
2517         if available.
2518         (vhdl-fontify-buffer): Adjust.
2520         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
2521         replace tcl-font-lock-syntactic-keywords.
2522         (tcl-mode): Use it.
2524         * progmodes/simula.el (simula-syntax-propertize-function): New var to
2525         replace simula-font-lock-syntactic-keywords.
2526         (simula-mode): Use it.
2528         * progmodes/sh-script.el (sh-st-symbol): Remove.
2529         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
2530         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
2531         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
2532         (sh-font-lock-paren): Set syntax-multiline.
2533         (sh-font-lock-syntactic-keywords): Remove.
2534         (sh-syntax-propertize-function): New function to replace it.
2535         (sh-mode): Use it.
2537         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
2538         Define while compiling.
2539         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2540         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
2541         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
2542         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2543         (ruby-here-doc-end-syntax): Only define when
2544         syntax-propertize is not available.
2545         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
2546         New functions.
2547         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
2548         (electric-indent-chars): Silence bytecompiler.
2549         (ruby-mode): Use prog-mode, syntax-propertize-function, and
2550         electric-indent-chars.
2552         * progmodes/python.el (python-syntax-propertize-function): New var to
2553         replace python-font-lock-syntactic-keywords.
2554         (python-mode): Use it.
2555         (python-quote-syntax): Simplify and adjust to new use.
2557         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
2558         replace perl-font-lock-syntactic-keywords.
2559         (perl-syntax-propertize-special-constructs): New fun to replace
2560         perl-font-lock-special-syntactic-constructs.
2561         (perl-font-lock-syntactic-face-function): New fun.
2562         (perl-mode): Use it.
2564         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
2565         to replace octave-font-lock-close-quotes.
2566         (octave-syntax-propertize-function): New function to replace
2567         octave-font-lock-syntactic-keywords.
2568         (octave-mode): Use it.
2570         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
2571         replaces mixal-font-lock-syntactic-keywords.
2572         (mixal-mode): Use it.
2574         * progmodes/make-mode.el (makefile-syntax-propertize-function):
2575         New var; replaces makefile-font-lock-syntactic-keywords.
2576         (makefile-mode): Use it.
2577         (makefile-imake-mode): Adjust.
2579         * progmodes/js.el (js--regexp-literal): Define while compiling.
2580         (js-syntax-propertize-function): New var; replaces
2581         js-font-lock-syntactic-keywords.
2582         (js-mode): Use it.
2584         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
2585         replaces gdb-script-font-lock-syntactic-keywords.
2586         (gdb-script-mode): Use it.
2588         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
2589         (fortran--font-lock-syntactic-keywords): New var.
2590         (fortran-line-length): Update syntax-propertize-function and
2591         fortran--font-lock-syntactic-keywords.
2593         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
2595         * progmodes/cfengine.el (cfengine-mode):
2596         Use syntax-propertize-function.
2597         (cfengine-font-lock-syntactic-keywords): Remove.
2599         * progmodes/autoconf.el (autoconf-mode):
2600         Use syntax-propertize-function.
2601         (autoconf-font-lock-syntactic-keywords): Remove.
2603         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
2604         (ada-after-change-function, ada-initialize-syntax-table-properties)
2605         (ada-handle-syntax-table-properties): Only define when
2606         syntax-propertize is not available.
2607         (ada-mode): Use syntax-propertize-function.
2609         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
2610         (font-lock-fontify-syntactic-keywords-region): Move handling of
2611         font-lock-syntactically-fontified to...
2612         (font-lock-default-fontify-region): ...here.
2613         Let syntax-propertize-function take precedence.
2614         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
2616         * emacs-lisp/syntax.el (syntax-propertize-function)
2617         (syntax-propertize-chunk-size, syntax-propertize--done)
2618         (syntax-propertize-extend-region-functions): New vars.
2619         (syntax-propertize-wholelines, syntax-propertize-multiline)
2620         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
2621         (syntax-propertize): New functions.
2622         (syntax-propertize-rules): New macro.
2623         (syntax-ppss-flush-cache): Set syntax-propertize--done.
2624         (syntax-ppss): Call syntax-propertize.
2626         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
2628 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
2630         * textmodes/ispell.el (ispell-init-process): Improve comments.
2631         XEmacs compatibility changes regarding (add-hook) 'local option
2632         and (set-process-query-on-exit-flag).
2634 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
2636         * net/tramp-cache.el (tramp-parse-connection-properties):
2637         Set tramp-autoload cookie.
2639 2010-09-09  Glenn Morris  <rgm@gnu.org>
2641         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
2642         (imagemagick-register-types): Doc fix.
2644 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2646         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
2648         * progmodes/js.el (require): Require is already "eval-and-compile".
2649         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
2650         (js--re-search-backward): Use js--re-search-forward.
2652         * progmodes/fortran.el (fortran-line-length): Don't recompute
2653         syntactic keywords redundantly a second time.
2655         * progmodes/ada-mode.el: Replace "(set '" with setq.
2656         (ada-mode): Simplify.
2657         (ada-create-case-exception, ada-adjust-case-interactive)
2658         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
2659         (ada-search-ignore-string-comment, ada-move-to-start)
2660         (ada-move-to-end): Use with-syntax-table.
2662         * font-lock.el (save-buffer-state): Remove `varlist' arg.
2663         (font-lock-unfontify-region, font-lock-default-fontify-region):
2664         Update usage correspondingly.
2665         (font-lock-fontify-syntactic-keywords-region):
2666         Set parse-sexp-lookup-properties buffer-locally here.
2667         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
2669         * simple.el (blink-matching-open): Don't burp if we can't find a match.
2671 2010-09-08  Glenn Morris  <rgm@gnu.org>
2673         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
2674         Error if not compiled with -DBYTE_CODE_METER.
2676         * emacs-lisp/bytecomp.el (byte-recompile-directory):
2677         Ignore dir-locals-file.
2679 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2681         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2682         Not a const.
2683         (compilation-error-regexp-alist-alist): Rule out ": " in file names
2684         for the `gnu' messages.
2685         (compilation-set-skip-threshold): New command.
2686         (compilation-start): Use \' rather than $.
2687         (compilation-forget-errors): Use clrhash.
2689 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
2691         * textmodes/ispell.el (ispell-valid-dictionary-list):
2692         Simplify logic.
2694 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
2696         Migrate to Tramp 2.2.  Rearrange load dependencies.
2697         (Bug#1529, Bug#5448, Bug#5705)
2699         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
2700         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
2701         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
2703         * net/tramp.el (top): Remove all other tramp-* loads except
2704         tramp-compat.el.  Remove all changes to tramp-unload-hook for
2705         other tramp-* packages.  Rearrange defun order.  Change calls of
2706         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
2707         `tramp-compat-octal-to-decimal' to new function names.
2708         (tramp-terminal-type, tramp-initial-end-of-output)
2709         (tramp-methods, tramp-foreign-file-name-handler-alist)
2710         (tramp-tramp-file-p, tramp-completion-mode-p)
2711         (tramp-send-command-and-check, tramp-get-remote-path)
2712         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
2713         (tramp-shell-quote-argument): Set tramp-autoload cookie.
2714         (with-file-property, with-connection-property): Move to
2715         tramp-cache.el.
2716         (tramp-local-call-process, tramp-decimal-to-octal)
2717         (tramp-octal-to-decimal): Move to tramp-compat.el.
2718         (tramp-handle-shell-command): Do not require 'shell.
2719         (tramp-compute-multi-hops): No special handling for tramp-gw-*
2720         symbols.
2721         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
2723         * net/tramp-cache.el (top): Require 'tramp.  Add to
2724         `tramp-unload-hook'.
2725         (tramp-cache-data, tramp-get-file-property)
2726         (tramp-set-file-property, tramp-flush-file-property)
2727         (tramp-flush-directory-property, tramp-get-connection-property)
2728         (tramp-set-connection-property, tramp-flush-connection-property)
2729         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
2730         cookie.
2731         (with-file-property, with-connection-property): New defuns, moved
2732         from tramp.el.
2733         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
2734         macro.
2736         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
2737         (tramp-version): Set tramp-autoload cookie.
2739         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
2740         changes to tramp-unload-hook for other tramp-* packages.  Add to
2741         `tramp-unload-hook'.
2742         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
2743         (tramp-compat-call-process): New defuns, moved from tramp.el.
2745         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
2746         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
2747         to `tramp-unload-hook'.  Change call of
2748         `tramp-compat-decimal-to-octal' to new function name.
2749         (tramp-fish-method): Make it a defconst.
2750         (tramp-fish-file-name-p): Make it a defsubst.
2751         (tramp-fish-method, tramp-fish-file-name-handler)
2752         (tramp-fish-file-name-p): Set tramp-autoload cookie.
2754         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
2755         `tramp-foreign-file-name-handler-alist'.  Add to
2756         `tramp-unload-hook'.
2757         (tramp-ftp-method): Make it a defconst.
2758         (tramp-ftp-file-name-p): Make it a defsubst.
2759         (tramp-ftp-method, tramp-ftp-file-name-handler)
2760         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
2762         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
2763         `tramp-foreign-file-name-handler-alist'.  Add to
2764         `tramp-unload-hook'.  Change checks, whether package can be
2765         loaded.
2766         (tramp-gvfs-file-name-p): Make it a defsubst.
2767         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
2768         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
2769         (tramp-gvfs-handle-file-directory-p): New defun.
2770         (tramp-gvfs-file-name-handler-alist): Use it.
2772         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
2773         `tramp-foreign-file-name-handler-alist'.  Add to
2774         `tramp-unload-hook'.
2775         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
2776         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
2777         defconst.
2778         (tramp-gw-tunnel-method, tramp-gw-socks-method)
2779         (tramp-gw-open-connection): Set tramp-autoload cookie.
2781         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
2782         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
2783         to `tramp-unload-hook'.  Change checks, whether package can be
2784         loaded.
2785         (tramp-imap-file-name-p): Make it a defsubst.
2786         (tramp-imap-method, tramp-imaps-method)
2787         (tramp-imap-file-name-handler)
2788         (tramp-imap-file-name-p): Set tramp-autoload cookie.
2790         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
2791         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
2792         to `tramp-unload-hook'.  Change checks, whether package can be
2793         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
2794         function name.
2795         (tramp-smb-tunnel-method): Make it a defconst.
2796         (tramp-smb-file-name-p): Make it a defsubst.
2797         (tramp-smb-method, tramp-smb-file-name-handler)
2798         (tramp-smb-file-name-p): Set tramp-autoload cookie.
2800         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
2801         (tramp-uuencode-region): Set tramp-autoload cookie.
2803         * net/trampver.el (top) Add to `tramp-unload-hook'.
2804         (tramp-version, tramp-bug-report-address): Set tramp-autoload
2805         cookie.  Update release number.
2807 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
2809         * textmodes/ispell.el (ispell-start-process): Make sure original
2810         arg list is properly initialized (Bug#6993, Bug#6994).
2812 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
2814         * files.el (directory-abbrev-alist): Use \` as default regexp.
2816         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
2817         chars like - or ] (bug#6984).
2818         (rx-any-condense-range): Explode 2-char ranges.
2820 2010-09-06  Glenn Morris  <rgm@gnu.org>
2822         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
2824 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2826         * textmodes/bibtex.el:
2827         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
2829 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2831         * net/imap.el (imap-message-map): Remove optional buffer parameter,
2832         since no callers use it.
2833         (imap-message-get): Ditto.
2834         (imap-message-put): Ditto.
2835         (imap-mailbox-map): Ditto.
2836         (imap-mailbox-put): Ditto.
2837         (imap-mailbox-get): Ditto.
2838         (imap-mailbox-get): Revert last change for this function.
2840 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2842         * net/imap.el (imap-fetch-safe): Remove function, and alter all
2843         callers to use `imap-fetch' instead.  According to the comments, this
2844         should be safe, since all other IMAP clients use the 1:* syntax.
2845         (imap-enable-exchange-bug-workaround): Remove.
2846         (imap-debug): Remove -- doesn't seem very useful.
2848 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2850         * net/imap.el (imap-log): New convenience function used throughout
2851         instead of repeating the same code all over the place.
2853 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
2855         * mouse.el (mouse-save-then-kill): Save region to kill-ring
2856         when mouse-drag-copy-region is non-nil (Bug#6956).
2858 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
2860         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
2861         Improve regexps (Bug#6987).
2862         (dired-sort-toggle): Search more robustly for -t flag.
2864         * files.el (get-free-disk-space): Search more robustly for
2865         "available" column.  Suggested by Ehud Karni
2866         <ehud@unix.mvs.co.il>.
2868 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
2870         * international/uni-bidi.el:
2871         * international/uni-category.el:
2872         * international/uni-combining.el:
2873         * international/uni-decimal.el:
2874         * international/uni-mirrored.el:
2875         * international/uni-name.el: Regenerate.
2877 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2879         * electric.el (electric-indent-post-self-insert-function):
2880         Don't reindent with a sloppy indentation function.
2882         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
2883         border case in change-log-mode.
2885 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
2887         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2888         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
2889         Recognize leading tab in gcc-include regexp.  Ignore names with
2890         leading "from" or "in" in gnu regexp (Bug#6937).
2892 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2894         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
2895         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
2896         (ispell-start-process): Avoid setq and simplify logic.
2897         (ispell-init-process): Setup kill-buffer-hook locally when needed.
2898         (kill-buffer-hook): Don't use it globally with code that uses
2899         expand-file-name since that may call kill-buffer via
2900         code_conversion_restore.
2902 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
2904         * emacs-lisp/package.el (package-directory-list): Only call
2905         file-name-nondirectory on a string.
2907 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
2909         * emacs-lisp/package.el (package--download-one-archive):
2910         Ensure that archive-contents is valid before saving it.
2911         (package-activate-1, package-mark-obsolete, define-package)
2912         (package-compute-transaction, package-list-maybe-add): Use push.
2914 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2916         Use SMIE's blink-paren for octave-mode.
2917         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
2918         Backslashes do not escape single-quotes, single-quotes do.
2919         (octave-block-else-regexp, octave-block-end-regexp)
2920         (octave-block-match-alist): Remove.
2921         (octave-smie-bnf-table): New var, with old content.
2922         (octave-smie-op-levels): Use it.
2923         (octave-smie-closer-alist): New var.
2924         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
2925         (octave-blink-matching-block-open): Remove.
2926         (octave-reindent-then-newline-and-indent, octave-electric-semi)
2927         (octave-electric-space): Let self-insert-command run expand-abbrev and
2928         blink parens.
2930         * electric.el (electricity): New group.
2931         (electric-indent-chars): New var.
2932         (electric-indent-post-self-insert-function): New fun.
2933         (electric-indent-mode): New minor mode.
2934         (electric-pair-skip-self): New custom.
2935         (electric-pair-post-self-insert-function): New function.
2936         (electric-pair-mode): New minor mode.
2938         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
2939         calcAlg-blink-matching-open.
2940         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
2941         (calc-do-alg-entry): Only touch the part of the keymap that varies.
2942         Use the new blink-matching-check-function.
2944         Provide blink-matching support to SMIE.
2945         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
2946         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
2947         (smie-blink-matching-check, smie-blink-matching-open): New functions.
2949         * simple.el (newline): Fix last change to properly remove itself from
2950         the hook.
2952 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2954         * simple.el (newline): Eliminate optimization.
2955         Use post-self-insert-hook to set hard-newline and things before
2956         running post-self-insert-hook.
2957         (blink-matching-check-mismatch): New function.
2958         (blink-matching-check-function): New variable.
2959         (blink-matching-open): Use them.
2960         Skip back forward over prefix chars skipped by forward-sexp.
2961         Don't check if the parens are backslash escaped.
2962         (blink-paren-post-self-insert-function): Check backslash escaping here.
2964 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
2966         * emacs-lisp/package.el (package-menu-mode-map):
2967         Change package-menu-revert bindings to revert-buffer.
2968         (package-menu-mode): Set revert-buffer-function.
2969         (package-menu-revert): Doc fix.
2971 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
2973         * textmodes/ispell.el (ispell-init-process): Use "~/" as
2974         `default-directory' unless using Ispell per-directory personal
2975         dictionaries and not in a mini-buffer under XEmacs.
2976         (kill-buffer-hook): Do not kill ispell process on exit when
2977         `ispell-process-directory' is "~/".  (Bug#6143)
2979 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
2981         * simple.el (kill-new): Call interprogram-cut-function with only
2982         one argument.
2984         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
2985         Remove cut buffer from error message.
2987         * term/x-win.el (x-select-text):
2988         * term/pc-win.el (x-selection-value):
2989         * term/ns-win.el (x-selection-value):
2990         * eshell/em-term.el:
2991         * w32-fns.el (x-get-selection-value):
2992         * mouse-sel.el (mouse-sel-set-selection-function):
2993         * frame.el (display-selections-p): Remove cut-buffer in documentation.
2995         * term/x-win.el: Update documentation for x-last-selected-text-*.
2996         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
2997         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
2998         (x-select-text): Remove argument PUSH, update documentation.  Remove
2999         cut-buffer code.
3000         (x-selection-value-internal): Was previously x-selection-value.
3001         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
3002         Update documentation, remove cut-buffer code.  Call
3003         x-selection-value-internal.
3004         (x-clipboard-yank): Call x-selection-value-internal.
3005         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
3007         * term/pc-win.el (x-last-selected-text):
3008         x-cut-buffer-or-selection-value renamed to x-selection-value
3009         (x-select-text): Remove argument PUSH, update documentation.
3011         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
3012         x-cut-buffer-or-selection-value renamed to x-selection-value
3013         (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
3014         (x-select-text): Remove argument PUSH, update documentation.
3016         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
3018         * w32-fns.el (x-last-selected-text):
3019         x-cut-buffer-or-selection-value renamed to x-selection-value.
3020         (x-cut-buffer-max): Remove.
3021         (x-select-text): Remove argument PUSH, update documentation.
3023         * simple.el (interprogram-cut-function): Remove mention of PUSH.
3025         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
3027         * mouse-sel.el (mouse-sel-get-selection-function):
3028         x-cut-buffer-or-selection-value renamed to x-selection-value.
3029         (x-select-text): Remove optional push.
3031 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3033         * simple.el (blink-paren-function): Move from C to here.
3034         (blink-paren-post-self-insert-function): New function.
3035         (post-self-insert-hook): Use it.
3037         * emacs-lisp/pcase.el (pcase-split-memq):
3038         Fix overenthusiastic optimisation.
3039         (pcase-u1): Handle the case of a lambda pred.
3041 2010-08-31  Kenichi Handa  <handa@m17n.org>
3043         * international/mule-cmds.el (standard-display-european-internal):
3044         Setup standard-display-table for 8-bit characters by storing 8-bit
3045         characters in the element vector.
3047         * disp-table.el (standard-display-8bit):
3048         Setup standard-display-table for 8-bit characters by storing 8-bit
3049         characters in the element vector.
3050         (standard-display-european): Likewise.
3052 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
3054         * textmodes/nroff-mode.el (nroff-view): New command.
3055         (nroff-mode-map): Bind it to C-c C-c.
3057 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
3059         * emacs-lisp/smie.el (smie-down-list): New command.
3061         Remove old indentation and navigation code on octave-mode.
3062         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
3063         smie-down-list rather than add a binding for octave-down-block.
3064         (octave-mark-block, octave-blink-matching-block-open):
3065         Rely on forward-sexp-function.
3066         (octave-fill-paragraph): Don't narrow, so you can use
3067         indent-according-to-mode.
3068         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
3069         (octave-in-block-p, octave-re-search-forward-kw)
3070         (octave-re-search-backward-kw, octave-indent-calculate)
3071         (octave-end-as-array-index-p, octave-block-end-offset)
3072         (octave-scan-blocks, octave-forward-block, octave-backward-block)
3073         (octave-down-block, octave-backward-up-block, octave-up-block)
3074         (octave-before-magic-comment-p, octave-indent-line): Remove.
3076 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
3078         * emacs-lisp/package.el (package--read-archive-file): Just use
3079         `read', to avoid copying an additional string.
3080         (package-menu-mode): Set header-line-format here.
3081         (package-menu-refresh, package-menu-revert): Signal an error if
3082         not in the Package Menu.
3083         (package-menu-package-list): New var.
3084         (package--generate-package-list): Operate on the current buffer;
3085         don't assume that it is *Packages*, since the user may rename it.
3086         Allow persistent package listings and sort keys using
3087         package-menu-package-list and package-menu-package-sort-key.
3088         (package-menu--version-predicate): Fix version calculation.
3089         (package-menu-sort-by-column): Don't select the window.
3090         (package--list-packages): Create the *Packages* buffer.
3091         Set package-menu-package-list-key.
3092         (list-packages): Sorting by status is now the default.
3093         (package-buffer-info): Use match-string-no-properties.
3094         (define-package): Add a &rest argument for future proofing, but
3095         don't use it yet.
3096         (package-install-from-buffer, package-install-buffer-internal):
3097         Merge into a single function, package-install-from-buffer.
3098         (package-install-file): Change caller.
3100         * finder.el: Load finder-inf using `require'.
3101         (finder-list-matches): Sorting by status is now the default.
3102         (finder-compile-keywords): Simpify printing.
3104 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3106         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
3107         (octave-mode-map): Remove special bindings for forward/backward-block
3108         and octave-backward-up-block.  Use smie-close-block.
3109         (octave-continuation-marker-regexp): New var.
3110         (octave-continuation-regexp): Use it.
3111         (octave-operator-table, octave-smie-op-levels)
3112         (octave-operator-regexp, octave-smie-indent-rules): New vars.
3113         (octave-smie-backward-token, octave-smie-forward-token): New funs.
3114         (octave-mode): Use SMIE.
3115         (octave-close-block): Delete.
3117 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
3119         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
3120         CLIPBOARD, not in PRIMARY.  (Bug#6944)
3122 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3124         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
3125         a list of parents.
3126         (smie-indent-column): Allow indirection through variables.
3128         * composite.el (save-buffer-state): Delete, unused.
3129         * font-lock.el (save-buffer-state): Use with-silent-modifications.
3130         (font-lock-default-fontify-region): Use with-syntax-table.
3131         * jit-lock.el (with-buffer-unmodified): Remove.
3132         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
3134         Use `declare' in defmacros.
3135         * window.el (save-selected-window):
3136         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
3137         * progmodes/python.el (def-python-skeleton):
3138         * net/dbus.el (dbus-ignore-errors):
3139         * jka-cmpr-hook.el (with-auto-compression-mode):
3140         * international/mule.el (with-category-table):
3141         * emacs-lisp/timer.el (with-timeout):
3142         * emacs-lisp/lisp-mnt.el (lm-with-file):
3143         * emacs-lisp/eieio.el (with-slots):
3144         * emacs-lisp/easymenu.el (easy-menu-define):
3145         * emacs-lisp/debug.el (debugger-env-macro):
3146         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
3147         (Multiple-value-call, Multiple-value-prog1):
3148         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
3149         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
3150         edebug rule to definition.
3151         * emacs-lisp/lisp-mode.el (save-selected-window)
3152         (with-current-buffer, combine-after-change-calls)
3153         (with-output-to-string, with-temp-file, with-temp-buffer)
3154         (with-temp-message, with-syntax-table, read-if, eval-after-load)
3155         (dolist, dotimes, when, unless):
3156         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
3158 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
3160         * finder.el: Require `package'.
3161         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
3162         (finder-package-info): Var deleted.
3163         (finder-keywords-hash, finder--builtins-alist): New vars.
3164         (finder-compile-keywords): Compute package--builtins and
3165         finder-keywords-hash instead of finder-keywords-hash, respecting
3166         the "Package" header.
3167         (finder-unknown-keywords, finder-list-matches):
3168         Use finder-keywords-hash and package--list-packages.
3169         (finder-mode): Don't set font-lock-defaults.
3170         (finder-exit): We don't use "*Finder-package*" and "*Finder
3171         Category*" buffers anymore.
3173         * emacs-lisp/package.el (package--builtins-base): Var deleted.
3174         (package--builtins): Set default value to nil.
3175         (package-initialize): Load precomputed value of package--builtins
3176         from finder-inf.el.
3177         (package-alist, package-compute-transaction)
3178         (package-download-transaction): Improve docstring.
3179         (package-read-all-archive-contents): Do not change
3180         package--builtins here.
3181         (list-packages): Make package-list-packages an alias for this.
3182         Sort by status by default.
3183         (package--list-packages): Add optional PACKAGES arg.
3184         (describe-package-1): Use font-lock-face property.  For built-in
3185         packages, insert file commentary.
3186         (package--generate-package-list): Rename from
3187         package-list-packages-internal; all callers changed.  Add optional
3188         PACKAGES arg.  Add alphabetical sort fallbacks.
3189         (package-menu--version-predicate, package-menu--status-predicate)
3190         (package-menu--description-predicate)
3191         (package-menu--name-predicate): New functions.
3193         * info.el (Info-finder-find-node): Search package-alist instead of
3194         finder-package-info.
3196 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
3198         * subr.el (version-regexp-alist): Don't use "a" and "b" for
3199         "alpha" and "beta".
3200         (version-to-list): Handle versions like "10.3d".
3202 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3204         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
3205         (macroexp-accumulate): Use `declare'.
3207 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3209         * whitespace.el (whitespace-style): Adjust type declaration.
3211 2010-08-26  Magnus Henoch  <magnus.henoch@gmail.com>
3213         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
3214         empty argument to gvfs-copy.
3216 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
3218         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
3219         handle new TRASH arg of `delete-file'.
3221 2010-08-26  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
3223         * net/tramp.el (tramp-handle-insert-directory): Don't use
3224         `forward-word', its default syntax could be changed.
3226 2010-08-26  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
3227             Michael Albinus  <michael.albinus@gmx.de>
3229         Implement compression for inline methods.
3231         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
3232         (tramp-copy-size-limit): Allow also nil.
3233         (tramp-inline-compress-commands): New defconst.
3234         (tramp-find-inline-compress, tramp-get-inline-compress)
3235         (tramp-get-inline-coding): New defuns.
3236         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
3237         replaced by `tramp-get-inline-coding'.
3238         (tramp-handle-file-local-copy, tramp-handle-write-region)
3239         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
3241 2010-08-26  Noah Lavine  <noah549@gmail.com>  (tiny change)
3243         Detect ssh 'ControlMaster' argument automatically in some cases.
3245         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
3246         (tramp-default-method): Use it.
3248 2010-08-26  Karel Klíč  <kklic@redhat.com>
3250         * net/tramp.el (tramp-file-name-for-operation):
3251         Add file-selinux-context.
3253 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
3255         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
3257 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
3259         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
3260         (Bug#6907).
3262 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
3264         * progmodes/js.el: Make indentation more customizable (Bug#6914).
3265         (js-paren-indent-offset, js-square-indent-offset)
3266         (js-curly-indent-offset): New options.
3267         (js--proper-indentation): Use them.
3269 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
3271         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
3272         instead of inspecting font-lock properties (Bug#6916).
3274 2010-08-26  David Reitter  <david.reitter@gmail.com>
3276         * server.el (server-visit-files): Run pre-command-hook and
3277         post-command-hook for each buffer while it is current (Bug#6910).
3278         (server-execute): Do not run hooks here.
3280 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
3282         Sync with Tramp 2.1.19.
3284         * net/tramp-cmds.el (tramp-cleanup-all-connections)
3285         (tramp-reporter-dump-variable, tramp-load-report-modules)
3286         (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
3287         (tramp-bug): Recommend setting of `tramp-verbose' to 9.
3289         * net/tramp-compat.el (top): Do not autoload
3290         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
3291         only when `start-file-process' is not bound.
3292         (byte-compile-not-obsolete-vars): Define if not bound.
3293         (tramp-compat-funcall): New defmacro.
3294         (tramp-compat-line-beginning-position)
3295         (tramp-compat-line-end-position)
3296         (tramp-compat-temporary-file-directory)
3297         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
3298         (tramp-compat-copy-file, tramp-compat-copy-directory)
3299         (tramp-compat-delete-file, tramp-compat-delete-directory)
3300         (tramp-compat-number-sequence, tramp-compat-process-running-p):
3301         Use it.
3302         (tramp-advice-file-expand-wildcards): Do not use
3303         `tramp-handle-file-remote-p'.
3304         (tramp-compat-make-temp-file): Simplify fallback implementation.
3305         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
3306         (tramp-compat-copy-tree): Remove function.
3307         (tramp-compat-delete-file): New defun.
3308         (tramp-compat-delete-directory): Provide implementation for older
3309         Emacsen.
3310         (tramp-compat-file-attributes): Handle only
3311         `wrong-number-of-arguments' error.
3313         * net/tramp-fish.el (tramp-fish-handle-copy-file):
3314         Add PRESERVE_SELINUX_CONTEXT.
3315         (tramp-fish-handle-delete-file): Add TRASH arg.
3316         (tramp-fish-handle-directory-files-and-attributes):
3317         Do not use `tramp-fish-handle-file-attributes.
3318         (tramp-fish-handle-file-local-copy)
3319         (tramp-fish-handle-insert-file-contents)
3320         (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
3322         * net/tramp-gvfs.el (top): Require url-util.
3323         (tramp-gvfs-mount-point): Remove.
3324         (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
3325         and `set-file-selinux-context'.
3326         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
3327         (tramp-gvfs-handle-file-selinux-context)
3328         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
3329         (with-tramp-dbus-call-method): Format trace message.
3330         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
3331         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
3332         Implement backup call, when operation on local files fails.
3333         Use progress reporter.  Flush properties of changed files.
3334         (tramp-gvfs-handle-delete-file): Add TRASH arg.  Use
3335         `tramp-compat-delete-file'.
3336         (tramp-gvfs-handle-expand-file-name): Expand "~/".
3337         (tramp-gvfs-handle-make-directory): Make more traces.
3338         (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
3339         (tramp-gvfs-url-file-name): Hexify file name in url.
3340         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
3341         into account for the resulting file name.
3342         (tramp-gvfs-handler-askquestion): Preserve current message, in
3343         order to let progress reporter continue afterwards.  (Bug#6257)
3344         Return dummy mountpoint, when the answer is "no".
3345         See `tramp-gvfs-maybe-open-connection'.
3346         (tramp-gvfs-handler-mounted-unmounted)
3347         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
3348         attribute "default_location".  Set "prefix" property.
3349         Handle default-location.
3350         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
3351         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
3352         exists.  Raise an error, if not (due to a corresponding answer
3353         "no" in interactive questions, for example).
3354         Use `tramp-compat-funcall'.
3356         * net/tramp-imap.el (top): Autoload `epg-make-context'.
3357         (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
3358         (tramp-imap-do-copy-or-rename-file)
3359         (tramp-imap-handle-insert-file-contents)
3360         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
3361         (tramp-imap-handle-delete-file): Add TRASH arg.
3363         * net/tramp-smb.el (tramp-smb-handle-copy-file):
3364         Add PRESERVE-SELINUX-CONTEXT.
3365         (tramp-smb-handle-copy-file)
3366         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
3367         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
3368         Use `with-progress-reporter'.
3369         (tramp-smb-handle-delete-file): Add TRASH arg.
3371         * net/tramp.el (tramp-methods): Move hostname to the end in all
3372         ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
3373         appropriate.
3374         (tramp-verbose): Describe verbose level 9.
3375         (tramp-completion-function-alist)
3376         (tramp-file-name-regexp, tramp-chunksize)
3377         (tramp-local-coding-commands, tramp-remote-coding-commands)
3378         (with-connection-property, tramp-completion-mode-p)
3379         (tramp-action-process-alive, tramp-action-out-of-band)
3380         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
3381         (tramp-exists-file-name-handler): Fix docstring.
3382         (tramp-remote-process-environment): Use `format' instead of
3383         `concat'.  Protect version string by apostroph.
3384         (tramp-shell-prompt-pattern): Do not use a shy group in case of
3385         XEmacs.
3386         (tramp-file-name-regexp-unified)
3387         (tramp-completion-file-name-regexp-unified): On W32 systems, do
3388         not regard the volume letter as remote filename.  (Bug#5447)
3389         (tramp-perl-file-attributes)
3390         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
3391         (tramp-vc-registered-read-file-names): Read input as
3392         here-document, otherwise the command could exceed maximum length
3393         of command line.
3394         (tramp-file-name-handler-alist): Add `file-selinux-context' and
3395         `set-file-selinux-context'.
3396         (tramp-debug-message): Add `tramp-compat-funcall' to ignored
3397         backtrace functions.
3398         (tramp-error-with-buffer): Don't show the connection buffer when
3399         we are in completion mode.
3400         (tramp-progress-reporter-update, tramp-remote-selinux-p)
3401         (tramp-handle-file-selinux-context)
3402         (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
3403         (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
3404         New defuns.
3405         (with-progress-reporter): New defmacro.
3406         (tramp-debug-outline-regexp): New defconst.
3407         (top, tramp-rfn-eshadow-setup-minibuffer)
3408         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
3409         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
3410         (tramp-completion-mode-p, tramp-check-for-regexp)
3411         (tramp-open-connection-setup-interactive-shell)
3412         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
3413         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
3414         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
3415         Use `tramp-compat-funcall'.
3416         (tramp-handle-make-symbolic-link): Flush file properties.
3417         (tramp-handle-load, tramp-handle-file-local-copy)
3418         (tramp-handle-insert-file-contents, tramp-handle-write-region)
3419         (tramp-handle-vc-registered, tramp-maybe-send-script)
3420         (tramp-find-shell): Use `with-progress-reporter'.
3421         (tramp-do-file-attributes-with-stat): Add space in format string,
3422         in order to work around a bug in pdksh.  Reported by Gilles Pion
3423         <gpion@lfdj.com>.
3424         (tramp-handle-verify-visited-file-modtime): Do not send a command
3425         when the connection is not established.
3426         (tramp-handle-set-file-times): Simplify the check for utc.
3427         (tramp-handle-directory-files-and-attributes)
3428         (tramp-get-remote-path): Use `copy-tree'.
3429         (tramp-completion-handle-file-name-all-completions): Ensure, that
3430         non remote files are still checked.  Oops.
3431         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
3432         Handle PRESERVE-SELINUX-CONTEXT.
3433         (tramp-do-copy-or-rename-file): Add progress reporter.
3434         (tramp-do-copy-or-rename-file-directly): Do not use
3435         `tramp-handle-file-remote-p'.
3436         (tramp-do-copy-or-rename-file-out-of-band):
3437         Use `tramp-compat-delete-directory'.
3438         (tramp-do-copy-or-rename-file-out-of-band)
3439         (tramp-compute-multi-hops, tramp-maybe-open-connection):
3440         Use `format-spec-make'.
3441         (tramp-handle-delete-file): Add TRASH arg.
3442         (tramp-handle-dired-uncache): Flush directory cache, not only file
3443         cache.
3444         (tramp-handle-expand-file-name)
3445         (tramp-completion-handle-file-name-all-completions)
3446         (tramp-completion-handle-file-name-completion):
3447         Use `tramp-connectable-p'.
3448         (tramp-handle-start-file-process): Set connection property "vec".
3449         Use it, in order to invalidate file caches.  Check only for
3450         `remote-tty' process property.
3451         Implement tty setting.  (Bug#4604, Bug#6360)
3452         (tramp-file-name-for-operation): Add `call-process-region' and
3453         `set-file-selinux-context'.
3454         (tramp-find-foreign-file-name-handler)
3455         (tramp-advice-make-auto-save-file-name)
3456         (tramp-set-auto-save-file-modes): Remove superfluous check for
3457         `stringp'.  This is done inside `tramp-tramp-file-p'.
3458         (tramp-file-name-handler): Trace 'quit.  Catch the error for some
3459         operations when we are in completion mode.  This gives the user
3460         the chance to correct the file name in the minibuffer.
3461         (tramp-completion-mode-p): Use `non-essential'.
3462         (tramp-handle-file-name-all-completions): Backward/ XEmacs
3463         compatibility: Use `completion-ignore-case' if
3464         `read-file-name-completion-ignore-case' does not exist.
3465         (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
3466         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3467         `tramp-open-shell'.
3468         (tramp-action-password): Hide password prompt before next run.
3469         (tramp-process-actions): Widen connection buffer for the trace.
3470         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
3471         process property.  Trace stty settings if `tramp-verbose' >= 9.
3472         Apply workaround for IRIX64 bug.  Move argument of last
3473         `tramp-send-command' where it belongs to.
3474         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
3475         front of `login-args'.
3476         (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
3477         on "/dev/null" instead of "/".
3478         (tramp-get-ls-command-with-dired): Make test for "--dired"
3479         stronger.
3480         (tramp-set-auto-save-file-modes): Adapt version check.
3481         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
3482         (tramp-handle-process-file): Call the program in a subshell, in
3483         order to preserve working directory.
3484         (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
3485         `tramp-remote-sh' from `tramp-methods'.
3486         (tramp-get-ls-command): Make test for "--color=never" stronger.
3487         (tramp-check-for-regexp): Use (forward-line 1).
3489         * net/trampver.el: Update release number.
3491 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
3493         * help.el (help-map): Bind `C-h P' to describe-package.
3495         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
3497         * emacs-lisp/package.el (package-refresh-contents): Catch errors
3498         when downloading archives.
3499         (describe-package-1): Add package commentary.
3500         (package-install-button-action): New function.
3501         (package-menu-mode-map): Bind ? to package-menu-describe-package.
3502         (package-menu-view-commentary): Function removed.
3503         (package-list-packages-internal): Hide the `package' package too.
3505 2010-08-25  Kenichi Handa  <handa@m17n.org>
3507         * language/misc-lang.el ("Arabic"): New language environment.
3508         Setup composition-function-table for Arabic characters.
3510         * international/fontset.el (setup-default-fontset): Fix typo for
3511         arabic OTF spec (fini->fina).
3513 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
3515         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
3516         on all frames.
3518 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3520         * whitespace.el: Allow cleaning up blanks without blank
3521         visualization (Bug#6651).  Adjust help window for
3522         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
3523         instead of whitespace-line-column (from EmacsWiki).  New version
3524         13.1.
3525         (whitespace-style): Added new value 'face.  Adjust docstring.
3526         (whitespace-space, whitespace-hspace, whitespace-tab): Adjust
3527         foreground property face.
3528         (whitespace-line-column): Adjust docstring and type declaration.
3529         (whitespace-style-value-list, whitespace-toggle-option-alist)
3530         (whitespace-help-text): Adjust const initialization.
3531         (whitespace-toggle-options, global-whitespace-toggle-options):
3532         Adjust docstring.
3533         (whitespace-display-window, whitespace-interactive-char)
3534         (whitespace-style-face-p, whitespace-color-on): Adjust code.
3535         (whitespace-help-scroll): New fun.
3537 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
3539         * emacs-lisp/package.el (list-packages): Alias for
3540         package-list-packages.
3542 2010-08-24  Kevin Ryde  <user42@zip.com.au>
3544         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
3545         (Bug#5651).
3547         * progmodes/ruby-mode.el (ruby): Add defgroup.
3549 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
3551         * progmodes/python.el: Add Ipython support (Bug#5390).
3552         (python-shell-prompt-alist)
3553         (python-shell-continuation-prompt-alist): New options.
3554         (python--set-prompt-regexp): New function.
3555         (inferior-python-mode, run-python, python-shell): Require
3556         ansi-color.  Use python--set-prompt-regexp to set the comint
3557         prompt based on the Python interpreter.
3558         (python--prompt-regexp): New var.
3559         (python-check-comint-prompt)
3560         (python-comint-output-filter-function): Use it.
3561         (run-python): Use a pipe (Bug#5694).
3563 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
3565         * progmodes/python.el (python-send-region): Send a different
3566         Python command if Ipython is in use.
3567         (python-check-version): Use a Python command to find the version.
3569 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
3571         * mouse.el (mouse-yank-primary): Avoid setting primary when
3572         deactivating the mark (Bug#6872).
3574 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
3576         * progmodes/python.el (python-block-pairs): Allow use of "finally"
3577         with "else" (Bug#3991).
3579 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
3581         * net/dbus.el: Accept UNIX domain sockets as bus address.
3582         (top): Don't initialize `dbus-registered-objects-table' anymore,
3583         this is done in dbusbind,c.
3584         (dbus-check-event): Adapt test for bus.
3585         (dbus-return-values-table, dbus-unregister-service)
3586         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
3587         Adapt doc string.
3589 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
3591         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
3593 2010-08-22  Juri Linkov  <juri@jurta.org>
3595         * simple.el (read-extended-command): New function with the logic
3596         for `completing-read' moved to Elisp from `execute-extended-command'.
3597         Use `function-called-at-point' in `minibuffer-default-add-function'
3598         to get a command name for M-n (bug#5364, bug#5214).
3600 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
3602         * startup.el (command-line-1): Issue warning for ignored arguments
3603         --unibyte, etc (Bug#6886).
3605 2010-08-22  Leo  <sdl.web@gmail.com>
3607         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
3608         (ignore, bright, dim, keyword): Split list of nicknames before
3609         passing to rcirc-add-or-remove (Bug#6894).
3611 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
3613         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
3615 2010-08-22  Leo  <sdl.web@gmail.com>
3617         Fix buffer-list rename&refresh after killing a buffer in ido.
3618         * ido.el: Revert Óscar's.
3619         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
3620         Remember the buffers at head, rather than their name.
3621         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
3623 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
3624             Stefan Monnier  <monnier@iro.umontreal.ca>
3626         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
3627         extra backslash added to each line (bug#6890).
3629 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3631         * subr.el (read-key): Don't echo keystrokes (bug#6883).
3633 2010-08-22  Glenn Morris  <rgm@gnu.org>
3635         * menu-bar.el (menu-bar-games-menu): Add landmark.
3637 2010-08-22  Glenn Morris  <rgm@gnu.org>
3639         * align.el (align-regexp): Make group and spacing arguments
3640         use the interactive defaults when non-interactive.  (Bug#6698)
3642         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
3643         expansion, so as not to need sendmail.
3644         (mail-text-start): Remove declaration.
3645         (rmail-retry-failure): Require sendmail.
3647 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
3649         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
3651 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
3653         * progmodes/flymake.el (flymake-start-syntax-check-process):
3654         Use `start-file-process' in order to let it run also on remote hosts.
3656 2010-08-22  Kenichi Handa  <handa@m17n.org>
3658         * files.el: Add `word-wrap' as safe local variable.
3660 2010-08-22  Glenn Morris  <rgm@gnu.org>
3662         * woman.el (woman-translate): Case matters.  (Bug#6849)
3664 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
3666         * simple.el (kill-region): Doc fix (Bug#6787).
3668 2010-08-22  Glenn Morris  <rgm@gnu.org>
3670         * calendar/diary-lib.el (diary-header-line-format):
3671         Fit it to the window, not the frame.
3673 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
3675         * subr.el (ignore-errors): Add debug declaration.
3677 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
3679         * whitespace.el (whitespace-color-off): Remove post-command-hook
3680         locally.
3682 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3684         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
3686 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
3688         * cus-edit.el (custom-group-value-create): Add extra newline
3689         before end line (Bug#6876).
3691 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
3693         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
3694         when extending it.  Before killing on the second click, check if
3695         the buffer is the correct one.  Doc fix.
3696         (mouse-secondary-save-then-kill): Allow usage without first
3697         calling mouse-start-secondary, by defaulting to point.  Don't save
3698         an empty secondary selection.  Doc fix.
3700 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3702         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
3703         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
3704         New version 13.0.
3705         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
3706         Adjust initialization.
3707         (whitespace-bob-marker, whitespace-eob-marker)
3708         (whitespace-buffer-changed): New vars.
3709         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
3710         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
3711         (whitespace-post-command-hook, whitespace-display-char-on):
3712         Adjust code.
3713         (whitespace-looking-back, whitespace-buffer-changed): New funs.
3714         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
3716 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3718         * files.el (locate-file-completion-table): Only list the .el and .elc
3719         extensions if there's no other choice (bug#5955).
3721         * facemenu.el (facemenu-self-insert-data): New var.
3722         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
3723         New functions.
3724         (facemenu-add-face): Use them.
3726         * simple.el (blink-matching-open): Obey forward-sexp-function.
3728 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3730         * simple.el (prog-mode-map): New var.
3731         (prog-indent-sexp): New command.
3733         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
3735         * progmodes/prolog.el (smie): Require.
3737         * emacs-lisp/smie.el (smie-default-backward-token)
3738         (smie-default-forward-token): Strip properties.
3739         (smie-next-sexp): Be more careful with associative operators.
3740         (smie-forward-sexp-command): Generalize.
3741         (smie-backward-sexp-command): Simplify.
3742         (smie-closer-alist): New var.
3743         (smie-close-block): New command.
3744         (smie-indent-debug-log): New var.
3745         (smie-indent-offset-rule): Add a few more cases.
3746         (smie-indent-column): New function.
3747         (smie-indent-after-keyword): Use it.
3748         (smie-indent-keyword): Use it.
3749         Fix up the opener code's point position.
3750         (smie-indent-comment): Only applies at BOL.
3751         (smie-indent-debug): New command.
3753         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
3754         declarations that are useful before running the macro.
3756 2010-08-18  Joakim Verona  <joakim@verona.se>
3758         * image.el (imagemagick-types-inhibit): New variable.
3759         (imagemagick-register-types): New function.
3760         * image-mode.el (image-transform-properties): New function.
3761         (image-transform-set-scale, image-transform-fit-to-height)
3762         (image-transform-set-rotation, image-transform-set-resize)
3763         (image-transform-fit-to-width, image-transform-fit-to-height):
3764         New functions.
3765         (image-toggle-display-image): Support image transforms.
3767 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
3769         * image.el (create-animated-image): Don't add heuristic mask to image
3770         (Bug#6839).
3772 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
3774         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
3775         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
3777 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3779         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
3781         Font-lock '...' strings, plus various simplifications and fixes.
3782         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
3783         (octave-font-lock-close-quotes): New function.
3784         (octave-font-lock-syntactic-keywords): New var.
3785         (octave-mode): Use it.  Set beginning-of-defun-function.
3786         (octave-mode-map): Don't override the <foo>-defun commands.
3787         (octave-mode-menu): Pass it directly to easy-menu-define;
3788         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
3789         (octave-block-match-alist): Fix up last change so that
3790         octave-close-block uses the more specific keyword.
3791         (info-lookup-mode): Silence byte-compiler.
3792         (octave-beginning-of-defun): Not interactive any more.
3793         Optimize slightly.
3794         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
3795         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
3796         (octave-completion-at-point-function): Make sure point is within
3797         beg..end.
3798         (octave-reindent-then-newline-and-indent):
3799         Use reindent-then-newline-and-indent.
3800         (octave-add-octave-menu): Remove.
3802 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
3804         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
3805         (report-emacs-bug-can-use-xdg-email): New functions.
3806         (report-emacs-bug): Set can-xdg-email to result of
3807         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
3808         \C-cm to report-emacs-bug-insert-to-mailer and add help text
3809         about it.
3811         * net/browse-url.el (browse-url-default-browser): Add cond
3812         for browse-url-xdg-open.
3813         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
3815 2010-08-17  Glenn Morris  <rgm@gnu.org>
3817         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
3818         (c-fontify-recorded-types-and-refs): Define for compiler.
3819         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
3820         before use.
3822         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
3823         Fix format call.
3825 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
3827         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
3828         properties.
3829         (tramp-handle-process-file): Call the program in a subshell, in
3830         order to preserve working directory.
3831         (tramp-action-password): Hide password prompt before next run.
3832         (tramp-process-actions): Widen connection buffer for the trace.
3834 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3836         * net/rcirc.el (rcirc-log-process-buffers): New option.
3837         (rcirc-print): Use it.
3838         (rcirc-generate-log-filename): New function.
3839         (rcirc-log-filename-function): Change default to
3840         rcirc-generate-log-filename (Bug#6828).
3842 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
3844         * simple.el (deactivate-mark): If select-active-regions is `only',
3845         only set selection for temporarily active regions.
3847         * cus-start.el: Change defcustom for select-active-regions.
3849 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
3851         * mouse.el (mouse--drag-set-mark-and-point): New function.
3852         (mouse-drag-track): Use LOCATION arg to push-mark.
3853         Use mouse--drag-set-mark-and-point to take click-count into
3854         consideration when updating point and mark (Bug#6840).
3856 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
3858         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3859         Give the Ruby rule a lower priority than Gnu (Bug#6778).
3861 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
3863         * font-lock.el (lisp-font-lock-keywords-2):
3864         Add combine-after-change-calls, condition-case-no-debug,
3865         with-demoted-errors, and with-silent-modifications (Bug#6025).
3867 2010-08-14  Kevin Ryde  <user42@zip.com.au>
3869         * emacs-lisp/copyright.el (copyright-update-year)
3870         (copyright-update): Temporary switch-to-buffer to ensure the
3871         buffer change being queried is visible (Bug#5394).
3873 2010-08-14  Tom Tromey  <tromey@redhat.com>
3875         * progmodes/etags.el (tags-file-name): Mark safe if stringp
3876         (Bug#6733).
3878 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
3880         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
3881         MS-DOS.  (Bug#6689)
3883 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
3885         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
3886         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
3887         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
3888         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
3889         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
3890         Call menu-bar-set-tool-bar-position.
3892 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3894         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
3895         comment style (bug#6834).
3896         * progmodes/scheme.el (scheme-mode-syntax-table):
3897         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
3898         "b" flag in "' 14b" syntax.
3900         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
3901         for (un)commenting the region and performing completion.
3902         (octave-mode-menu): Use standard commands for help and completion.
3903         (octave-mode-syntax-table): Support %{..%} comments (sort of).
3904         (octave-mode): Use define-derived-mode.
3905         Set completion-at-point-functions and don't set columns.
3906         Don't disable adaptive-fill-regexp.
3907         (octave-describe-major-mode, octave-comment-region)
3908         (octave-uncomment-region, octave-comment-indent)
3909         (octave-indent-for-comment): Remove.
3910         (octave-indent-calculate): Rename from calculate-octave-indent.
3911         (octave-indent-line, octave-fill-paragraph): Update caller.
3912         (octave-initialize-completions): No need to make an alist.
3913         (octave-completion-at-point-function): New function.
3914         (octave-complete-symbol): Use it.
3915         (octave-insert-defun): Use define-skeleton.
3917         * progmodes/octave-mod.el (octave-mode): Set comment-add.
3918         (octave-mode-map): Use comment-dwim (bug#6829).
3920 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
3922         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
3923         indentation of inserted comment.
3925 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
3927         * faces.el (region): Add type gtk that uses gtk colors.
3929         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
3930         Handle theme-name change.
3932 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
3934         * progmodes/sql.el: Version 2.5
3935         (sql-product-alist): Add :prompt-cont-regexp property for several
3936         database products.
3937         (sql-prompt-cont-regexp): New variable.
3938         (sql-output-newline-count, sql-output-by-send):
3939         New variables.  Record number of newlines in input text.
3940         (sql-send-string): Handle multiple filters and count newlines.
3941         (sql-send-magic-terminator): Count terminator newline.
3942         (sql-interactive-remove-continuation-prompt): Filters output to
3943         remove continuation prompts; one for each newline.
3944         (sql-interactive-mode): Set up new variables, prompt regexp and
3945         output filter.
3946         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
3947         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
3949 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3951         * emacs-lisp/pcase.el: New file.
3953 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
3955         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
3956         as here-document, otherwise the command could exceed maximum
3957         length of command line.
3958         (tramp-handle-vc-registered): Call script accordingly.
3959         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
3961 2010-08-10  Kenichi Handa  <handa@m17n.org>
3963         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
3964         composable pattern.
3966 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
3968         * emacs-lisp/package.el (package-version-split)
3969         (package--version-first-nonzero, package-version-compare):
3970         Functions removed.
3971         (package-directory-list, package-load-all-descriptors)
3972         (package--built-in, package-activate, define-package)
3973         (package-installed-p, package-compute-transaction)
3974         (package-read-all-archive-contents)
3975         (package--add-to-archive-contents, package-buffer-info)
3976         (package-tar-file-info, package-list-packages-internal):
3977         Use version-to-list and version-list-*.
3979         * emacs-lisp/package-x.el (package-upload-buffer-internal):
3980         Use version-to-list.
3981         (package-upload-buffer-internal): Use version-list-<=.
3983 2010-08-09  Kenichi Handa  <handa@m17n.org>
3985         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
3986         composable pattern.
3988 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
3990         * tutorial.el (tutorial--default-keys): C-d is now bound to
3991         delete-forward-char (Bug#6826).
3993         * mouse.el (mouse-drag-track): Remove accidentally-removed check
3994         for `double' value of mouse-1-click-follows-link (Bug#6807).
3996 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
3998         * replace.el (replace-highlight): Bind isearch-forward and
3999         isearch-error, ensuring that highlighting is updated if the user
4000         switches the search direction (Bug#6808).
4002         * isearch.el (isearch-lazy-highlight-forward): New var.
4003         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4004         (isearch-lazy-highlight-update): Use it.
4006 2010-08-08  Kenichi Handa  <handa@m17n.org>
4008         * international/mule.el (define-charset): Store NAME as :base property.
4009         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
4010         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
4011         current priority.  Force using the designation of the specific
4012         charset by adding `charset' text property.  Improve the whole algorithm.
4014 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
4016         * emulation/pc-select.el (pc-selection-mode-hook)
4017         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
4018         (pc-selection-mode): Fix typos in docstrings.
4020 2010-08-08  Kenichi Handa  <handa@m17n.org>
4022         * language/cyrillic.el: Don't add "microsoft-cp1251" to
4023         ctext-non-standard-encodings-alist here.
4025         * international/mule.el (ctext-non-standard-encodings-alist):
4026         Add "koi8-r" and "microsoft-cp1251".
4027         (ctext-standard-encodings): New variable.
4028         (ctext-non-standard-encodings-table): List only elements for
4029         non-standard encodings.
4030         (ctext-pre-write-conversion): Adjust for the above change.
4031         Check ctext-standard-encodings.
4033         * international/mule-conf.el (compound-text): Doc fix.
4034         (ctext-no-compositions): Doc fix.
4035         (compound-text-with-extensions): Doc fix.
4037 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4039         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
4041 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
4043         * progmodes/which-func.el (which-func-format): Split help-echo text
4044         into lines, like other mode-line tooltips.
4046         * server.el (server-start): When using TCP sockets, force IPv4
4047         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
4049 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4051         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
4053 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
4055         * term.el (term-delimiter-argument-list): Reflow docstring.
4056         (term-read-input-ring, term-write-input-ring, term-send-input)
4057         (term-bol, term-erase-in-display, serial-supported-or-barf):
4058         Fix typos in docstrings.
4060 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4062         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
4064 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
4066         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
4068 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
4070         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
4071         Fix typo in docstring (bug#6747).
4073 2010-08-08  Leo  <sdl.web@gmail.com>
4075         * eshell/esh-io.el (eshell-get-target): Better detection of
4076         read-only file (Bug#6762).
4078 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
4080         * align.el (align-default-spacing): Doc fix.
4081         (align-region-heuristic, align-regexp): Fix typos in docstrings.
4083 2010-08-08  Stephen Peters  <speters@itasoftware.com>
4085         * calendar/icalendar.el
4086         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
4087         (icalendar--get-weekday-numbers): New.
4088         (icalendar--convert-recurring-to-diary): Handle multiple byday
4089         values in weekly rules.  (Bug#6766)
4091 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
4093         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
4094         (icalendar--create-uid, icalendar-export-region)
4095         (icalendar--parse-summary-and-rest): Code formatting.
4097 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
4099         * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
4100         to italicize headers.
4101         (calc-highlight-selections-with-faces): New variable.
4102         (calc-selected-face, calc-nonselected-face): New faces.
4104         * calc/calccomp.el (math-comp-highlight-string): Use
4105         `calc-highlight-selections-with-faces' to determine how to highlight
4106         sub-formulas.
4108         * calc/calc-sel.el (calc-show-selections): Change message to when
4109         using faces to highlight selections.
4111 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
4113         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
4114         Add SQLite 3 keywords, functions and datatypes.
4115         (sql-interactive-mode): Remove `comint-process-echoes' set to t
4116         (Bug#6686).
4118 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
4120         * simple.el (select-active-regions): Move to keyboard.c.
4121         (deactivate-mark): Used saved-region-selection.
4122         (select-active-region): Function removed.
4123         (activate-mark, set-mark, push-mark-command)
4124         (handle-shift-selection): Don't call it.
4125         (keyboard-quit): Avoid adding the region to the window selection.
4127         * mouse.el (mouse-drag-track): Remove hacks to deal with old
4128         select-active-regions implementation.
4129         (mouse-yank-at-click): Doc fix.
4131         * cus-start.el: Add custom declaration for select-active-regions.
4133 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
4135         * simple.el (delete-forward-char): Doc fix.
4137         * tutorial.el (help-with-tutorial): Hack safe file-local variables
4138         after reading the tutorial.
4140 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
4142         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
4143         for the case that a C style comment has its delimiters alone on
4144         their respective lines.
4146 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
4148         * net/tramp.el (tramp-handle-start-file-process): Set connection
4149         property "vec".
4150         (tramp-process-sentinel): Use it for flushing the cache.  We
4151         cannot do it via the process buffer, the buffer could be deleted
4152         already when running the sentinel.
4154 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
4156         * comint.el (comint-mode): Make directory tracking functions
4157         functional on remote files.  (Bug#6764)
4159 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
4161         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
4163 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
4165         * emacs-lisp/find-gc.el (find-gc-source-files): Rename
4166         unexec.c => unexcoff.c.
4168         * emacs-lisp/authors.el (authors-fixed-entries): Rename
4169         unexec.c => unexcoff.c.
4171 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
4173         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
4174         cache, not only file cache.
4175         (tramp-process-sentinel): New defun.
4176         (tramp-handle-start-file-process): Use it, in order to invalidate
4177         file caches.
4179 2010-08-03  Leo  <sdl.web@gmail.com>
4181         * server.el (server-start): Simplify loop.
4183 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4185         * frame.el (screen-height, screen-width, set-screen-width)
4186         (set-screen-height): Remove ancient compatibility aliases.
4188         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
4189         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
4191         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
4192         that change current buffer.
4194 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
4196         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
4197         beginning of the string.  Use `string-match-p'.  (Bug#6765)
4199 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
4201         * cus-start.el (x-gtk-use-system-tooltips): New variable.
4203 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
4205         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
4206         (package--builtins): Tweak descriptions.
4207         (package-print-package): Upcase descriptions if necessary.
4208         Show all built-in packages in font-lock-builtin-face.
4209         (package-list-packages-internal): Omit "emacs" package.
4210         Show status of built-in packages as "built-in".
4212 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
4214         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
4215         before killing to preserve the primary selection (Bug#6701).
4217         * term/x-win.el (x-select-text): Doc fix.
4219 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
4221         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
4222         The following functions were modified or created:
4224         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
4225         (objc-font-lock-extra-types):
4226         * progmodes/cc-mode.el (c-basic-common-init):
4227         * progmodes/cc-langs.el (c-make-mode-syntax-table)
4228         (c++-make-template-syntax-table)
4229         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
4230         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
4231         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
4232         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
4233         * progmodes/cc-fonts.el (c-make-inverse-face)
4234         (c-basic-matchers-after):
4235         * progmodes/cc-engine.el (c-forward-keyword-clause)
4236         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
4237         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
4238         (c-guess-continued-construct, c-guess-basic-syntax):
4240 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
4242         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
4244 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
4246         * files.el (bidi-paragraph-direction): Define safe local values.
4248         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
4249         language-info-alist.  Remove outdated FIXME in a comment.
4251 2010-07-31  Alan Mackenzie  <acm@muc.de>
4253         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
4254         Auto-fill broken in C/C++ modes.
4256 2010-07-30  Martin Rudalics  <rudalics@gmx.at>
4258         * help.el (temp-buffer-max-height, temp-buffer-resize-mode)
4259         (resize-temp-buffer-window): Move back from window.el to avoid
4260         calling define-minor-mode in window.el and choke in bootstrap.
4262 2010-07-29  Martin Rudalics  <rudalics@gmx.at>
4264         * loadup.el (top-level): Load window before files for the sake
4265         of replace-buffer-in-windows.
4267         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
4268         (previous-buffer): Move to window.el.
4270         * bindings.el (unbury-buffer): Move to window.el.
4272         * window.el (display-buffer): Move group definition to front of
4273         display buffer section.
4274         (record-window-buffer, unrecord-window-buffer)
4275         (set-window-buffer-start-and-point, switch-to-prev-buffer)
4276         (switch-to-next-buffer): New functions.
4277         (get-next-valid-buffer, last-buffer): Move here from simple.el.
4278         (next-buffer): Move here from simple.el.  Call
4279         switch-to-next-buffer.
4280         (previous-buffer): Move here from simple.el.  Call
4281         switch-to-prev-buffer.
4282         (bury-buffer, quit-restore-window): Switch to previous buffer
4283         when window cannot be deleted.
4284         (unbury-buffer): Move here from bindings.el.
4285         (delete-windows-on): Switch to previous buffer if window cannot
4286         be deleted.  Unrecord buffer argument in all live windows.
4287         (replace-buffer-in-windows): Move here from window.c.  Switch to
4288         previous buffer if window cannot be deleted.  Unrecord argument
4289         buffer in all live windows.
4290         (switch-to-buffer): In doc-string warning suggest using
4291         with-current-buffer instead of set-buffer.
4293 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
4295         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
4296         (menu-bar-showhide-tool-bar-menu-customize-disable)
4297         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
4298         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
4299         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
4300         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
4301         make a menu for Options => toolbar that can move it.
4303 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
4305         * emacs-lisp/package-x.el (package--make-rss-entry):
4306         (package-maint-add-news-item, package--update-news)
4307         (package-upload-buffer-internal): New arg ARCHIVE-URL.
4309         * emacs-lisp/package.el (package-archive-url): Rename from
4310         package-archive-id.
4311         (package-install): Doc fix.
4312         (package-download-single, package-download-tar, package-install)
4313         (package-menu-view-commentary): Callers changed.
4315 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
4317         * net/tramp.el (tramp-handle-start-file-process): Check only for
4318         `remote-tty' process property.
4319         (tramp-open-shell): Don't check for tty.
4320         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
4321         process property.
4323         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
4324         host.
4326 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
4328         * emacs-lisp/package.el (package-load-list, package-archives)
4329         (package-archive-contents, package-user-dir)
4330         (package-directory-list, package--builtins, package-alist)
4331         (package-activated-list, package-obsolete-alist): Mark as risky.
4333 2010-07-28  Phil Hagelberg  <phil@evri.com>
4335         Add support for non-default package repositories.
4336         * emacs-lisp/package.el (package-archive-base): Var deleted.
4337         (package-archives): New variable.
4338         (package-archive-contents): Doc fix.
4339         (package-load-descriptor): Do nothing if descriptor file is missing.
4340         (package--write-file-no-coding): New function.
4341         (package-unpack-single): Use it.
4342         (package-archive-id): New function.
4343         (package-download-single, package-download-tar)
4344         (package-menu-view-commentary): Use it.
4345         (package-installed-p): Make second argument optional.
4346         (package-read-all-archive-contents): New function.
4347         (package-initialize): Use it.
4348         (package-read-archive-contents): Add ARCHIVE argument.
4349         (package--add-to-archive-contents): New function.
4350         (package-install): Don't call package-read-archive-contents.
4351         (package--download-one-archive): Store archive file in a
4352         subdirectory of package-user-dir.
4353         (package-menu-execute): Remove spurious line movement.
4355 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
4357         * cus-start.el (tool-bar-style): Add text-image-horiz.
4359 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
4361         * progmodes/gud.el (gud-common-init): Check for remoteness of
4362         `file', and not of `default-directory'.
4364 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
4366         * net/tramp.el (tramp-methods): Move hostname to the end in all
4367         ssh `tramp-login-args'.
4368         (tramp-verbose): Describe verbose level 9.
4369         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
4370         (tramp-open-connection-setup-interactive-shell): Trace stty
4371         settings if `tramp-verbose' >= 9.
4372         (tramp-handle-start-file-process): Implement tty setting.
4373         (Bug#4604, Bug#6360)
4375         * net/tramp-cmds.el (tramp-bug): Recommend setting of
4376         `tramp-verbose' to 9.
4378 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
4380         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
4381         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
4382         Remove references to package `lisp-re' (bug#4369).
4384 2010-07-27  Tom Tromey  <tromey@redhat.com>
4386         * progmodes/js.el (js-mode):
4387         * progmodes/make-mode.el (makefile-mode):
4388         * progmodes/simula.el (simula-mode):
4389         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
4391 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
4393         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
4395         * time.el (display-time-day-and-date): Remove spurious * in docstring.
4396         (display-time-world-buffer-name, display-time-world-mode-map):
4397         Fix typos in docstrings.
4399 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
4401         * image-mode.el (image-display-size): New function.
4402         (image-forward-hscroll, image-next-line, image-eol, image-eob)
4403         (image-mode-fit-frame): Use it (Bug#6639).
4405 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
4407         * dired.el (dired-buffers-for-dir): Handle list values of
4408         dired-directory (Bug#6636).
4410 2010-07-26  Sam Steingold  <sds@gnu.org>
4412         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
4413         Do not call `x-get-selection' the second time, reuse the value.
4415 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
4417         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
4418         which consist of control chars only.  Suggested by Richard Stallman.
4420 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
4422         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
4423         exists before passing an error to find-file-not-found-functions
4424         (bug#6723).
4426 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
4428         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
4429         Remove leading nil element, adjust values.
4430         (tetris-shapes, tetris-shape-scores):
4431         Change representation of shapes and remove some redundancy.
4432         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
4433         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
4434         Adjust for working with new representation of shapes.
4435         (tetris-shape-rotations): New function.
4436         (tetris-move-bottom, tetris-move-left, tetris-move-right)
4437         (tetris-rotate-prev, tetris-rotate-next):
4438         Adjust for working with the new version of tetris-test-shape.
4440 2010-07-23  Markus Triska  <markus.triska@gmx.at>
4442         * progmodes/ps-mode.el: Use comint (bug#5954).
4443         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
4444         (ps-mode-other-newline): Simplify.
4445         (ps-run-mode): Derive from comint-mode instead of
4446         fundamental-mode, yielding input history etc.
4447         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
4448         (ps-run-send-string): Adapt for comint-mode.
4449         (ps-run-newline): Remove now unneeded function.
4451 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
4453         * net/tramp.el (tramp-methods): Move hostname to the end in all
4454         plink `tramp-login-args'.
4456 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
4458         * net/tramp.el (tramp-open-shell): New defun.
4459         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4460         Use it.
4462 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
4464         * net/tramp.el (tramp-file-name-regexp-unified)
4465         (tramp-completion-file-name-regexp-unified): On W32 systems, do
4466         not regard the volume letter as remote filename.  (Bug#5447)
4468 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
4470         * custom.el (custom-declare-variable): Give a clearer error message
4471         when the docstring is missing (bug#6476).
4473 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
4475         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
4476         (sql-login-params): New widget definition.
4477         (sql-oracle-login-params, sql-mysql-login-params)
4478         (sql-solid-login-params, sql-sybase-login-params)
4479         (sql-informix-login-params, sql-ingres-login-params)
4480         (sql-ms-login-params, sql-postgres-login-params)
4481         (sql-interbase-login-params, sql-db2-login-params)
4482         (sql-linter-login-params): Use it.
4483         (sql-sqlite-login-params): Use it; Define "database" parameter as
4484         a file name.
4485         (sql-sqlite-program): Change to "sqlite3".
4486         (sql-comint-sqlite): Make sure database name is complete.
4487         (sql-for-each-login): New function.
4488         (sql-connect, sql-save-connection): Use it.
4489         (sql-get-login-ext): New function.
4490         (sql-get-login): Use it.
4491         (sql-make-alternate-buffer-name): Handle :file parameters.
4493 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
4495         * dired.el (dired-no-confirm): Document value t and fix defcustom to
4496         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
4498 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
4500         * dired.el (dired-mode-map): Use command remapping (bug#6632).
4502 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
4504         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
4506 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
4508         * net/tramp.el (tramp-get-ls-command)
4509         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
4510         instead of "/".
4512 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
4514         * progmodes/sql.el: Version 2.3.
4515         (sql-connection-alist): Changed keys from symbols to strings;
4516         enhanced the widget definition.
4517         (sql-mode-menu): Added submenu to select connections.
4518         (sql-interactive-mode-menu): Added "Save Connection" item.
4519         (sql-add-product): Fixed menu item.
4520         (sql-get-product-feature): Improved error handling.
4521         (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
4522         (sql-make-alternate-buffer-name): Simplified.
4523         (sql-product-interactive): Handle missing product.
4524         (sql-connect): Support string keys, minor improvements.
4525         (sql-save-connection): New function.
4526         (sql-connection-menu-filter): New function.
4528 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
4530         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
4531         (tramp-open-connection-setup-interactive-shell): Apply
4532         workaround for IRIX64 bug.  Move argument of last
4533         `tramp-send-command' where it belongs to.
4535 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
4537         * net/tramp.el (tramp-perl-file-attributes)
4538         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
4539         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
4540         front of `login-args'.
4542 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
4544         * time.el (display-time-world-mode): Define with `define-derived-mode'.
4545         Set `show-trailing-whitespace' to nil.
4546         (display-time-world-display): Simplify.
4548 2010-07-18  Alan Mackenzie  <acm@muc.de>
4550         Enhance `c-file-style' in file/directory local variables.
4551         * progmodes/cc-mode.el (c-count-cfss): New function.
4552         (c-before-hack-hook): Call `c-set-style' differently according to
4553         whether c-file-style was set in file or directory local
4554         variables.
4556 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
4558         * progmodes/sql.el: Version 2.2.
4559         (sql-product, sql-user, sql-database, sql-server, sql-port): Use
4560         defcustom :safe keyword rather than putting safe-local-variable
4561         property.
4562         (sql-password): Use defcustom :risky keyword rather than putting
4563         risky-local-variable property.
4564         (sql-oracle-login-params, sql-sqlite-login-params)
4565         (sql-solid-login-params, sql-sybase-login-params)
4566         (sql-informix-login-params, sql-ingres-login-params)
4567         (sql-ms-login-params, sql-postgres-login-params)
4568         (sql-interbase-login-params, sql-db2-login-params)
4569         (sql-linter-login-params): Add `port' option.
4570         (sql-get-product-feature): Added NO-INDIRECT parameter.
4571         (sql-comint-oracle, sql-comint-sybase)
4572         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
4573         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
4574         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
4575         (sql-comint-linter): Renamed sql-connect-* functions to
4576         sql-comint-*.
4577         (sql-product-alist, sql-mode-menu): Renamed as above and
4578         :sqli-connect-func to :sqli-comint-func.
4579         (sql-connection): New variable.
4580         (sql-interactive-mode): Set it.
4581         (sql-connection-alist): New variable.
4582         (sql-connect): New function.
4583         (sql--alt-buffer-part, sql--alt-if-not-empty)
4584         (sql-make-alternate-buffer-name): Improved alternative buffer name.
4586 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4588         * image-mode.el (image-bookmark-make-record): Do not set context
4589         in an image (Bug#6650).
4591 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
4593         * simple.el (select-active-region): New function.
4594         (push-mark-command, set-mark, activate-mark)
4595         (handle-shift-selection): Use it.
4596         (deactivate-mark): Don't check for size of region.
4598         * mouse.el (mouse-drag-track): Use select-active-region.
4600 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
4602         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
4603         "--dired" stronger.
4605 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
4607         * term/x-win.el (x-select-enable-primary): Change default to nil.
4608         (x-select-enable-clipboard): Add :version keyword.
4610         * mouse.el (mouse-drag-copy-region):
4611         * simple.el (select-active-regions): Likewise.
4613 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
4615         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
4616         (vc-coding-system-for-diff): Use it to decide whether to inherit
4617         from the file the EOL format for reading the diffs of that file.
4618         (Bug#4451)
4620 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
4622         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
4623         unibyte, so compressed attachments are not compressed again.
4625 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
4627         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
4628         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
4629         (tramp-find-shell): Simplify setting connection property.
4630         (tramp-get-ls-command): Make test for "--color=never" stronger.
4632 2010-07-15  Simon South  <ssouth@member.fsf.org>
4634         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
4635         blocks within record declarations (i.e. variant parts) correctly.
4637 2010-07-15  Simon South  <ssouth@member.fsf.org>
4639         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
4640         over literal tokens when parsing so newlines aren't "absorbed" by
4641         single-line comments.  Corrects the indentation of case blocks
4642         that have a comment on the first line.
4644 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
4646         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
4647         by Drew Adams (Bug#5504).
4649 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
4651         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
4652         now that Unicode is used (Bug#6594).
4654 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
4656         * term/x-win.el (x-select-enable-clipboard): Default to t.
4657         (x-initialize-window-system): Don't overwrite Paste menu item.
4659         * simple.el (select-active-regions): Default to t.
4660         (push-mark-command): Don't overwrite primary with empty string.
4662         * mouse.el: Bind mouse-2 to mouse-yank-primary.
4663         (mouse-drag-copy-region): Default to nil.
4665         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
4666         Cut/Copy/Paste menu bar items.
4668 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4670         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
4671         Patch applied by Karl Fogel.
4673         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
4674         and `bookmark-current-buffer' if they have been already set in
4675         another buffer (e.g gnus-art).
4677 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
4678             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4680         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
4682         * bookmark.el (bookmark-make-record-default): Allow unneeded
4683         information to be omitted from the record.
4685         Adjust declarations and calls:
4687         * info.el (bookmark-make-record-default): Adjust declaration.
4688         (Info-bookmark-make-record): Adjust call.
4690         * woman.el (bookmark-make-record-default): Adjust declaration.
4691         (woman-bookmark-make-record): Adjust call.
4693         * man.el (bookmark-make-record-default): Adjust declaration.
4694         (Man-bookmark-make-record): Adjust call.
4696         * image-mode.el (bookmark-make-record-default): Adjust declaration.
4698         * doc-view.el (bookmark-make-record-default): Adjust declaration.
4700 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
4702         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
4703         This is also from Thierry Volpiatto's patch in bug #6444.  However,
4704         because it was extraneous to the functional change in that patch,
4705         and causes a re-indendation, I am committing it separately.
4707 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4709         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
4710         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
4711         Patch applied by Karl Fogel (Bug#6444).
4713 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
4715         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
4717 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
4719         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
4720         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
4721         (ns-alternatives-map): Change S-tab binding to backtab
4722         (bug#6616).
4724         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
4725         under ns.
4727 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
4729         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
4730         (Bug#5806)
4732         * language/tv-util.el (tai-viet-re): Remove format.
4734 2010-07-12  Kenichi Handa  <handa@m17n.org>
4736         * language/hebrew.el: Remove no-byte-compile declaration.
4737         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
4738         composition-function-table for 3-character looking back.
4739         (hebrew-font-get-precomposed): New function.
4740         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
4742 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
4744         * mouse.el (mouse-drag-track): Handle select-active-regions
4745         (Bug#6612).
4747 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
4749         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
4750         empty argument to gvfs-copy.
4752 2010-07-10  Glenn Morris  <rgm@gnu.org>
4754         * calendar/calendar.el (calendar-week-end-day): New function.
4755         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
4756         Respect calendar-week-start-day.  (Bug#6606)
4757         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
4758         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
4759         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
4760         respect calendar-week-start-day.
4762 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
4764         * simple.el (use-region-p): Doc fix (Bug#6607).
4766 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
4768         * progmodes/compile.el (compilation-error-regexp-alist-alist): Add
4769         regexps for cucumber and ruby.
4771 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
4773         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
4774         (epa-file-insert-file-contents): Hack to prevent
4775         find-file from opening empty buffer when decryption failed
4776         (bug#6568).
4778 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
4780         * textmodes/ispell.el (ispell-alternate-dictionary):
4781         Use file-readable-p.
4782         Return nil if no word-list is found at default locations.
4783         (ispell-complete-word-dict): Default to nil.
4784         (ispell-command-loop): Use 'word-list' when using lookup-words.
4785         (lookup-words): Use ispell-complete-word-dict or
4786         ispell-alternate-dictionary.  Check for word-list availability
4787         and handle errors if needed with better messages (Bug#6539).
4788         (ispell-complete-word): Use ispell-complete-word-dict or
4789         ispell-alternate-dictionary.
4791 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
4793         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
4794         builtins (BufferError, BytesWarning, WindowsError; callables
4795         bin, bytearray, bytes, format, memoryview, next, print; __package__).
4797 2010-07-07  Glenn Morris  <rgm@gnu.org>
4799         * play/zone.el (top-level): Do not require timer, tabify, or cl.
4800         (zone-shift-left): Ignore intangibility, and any errors from
4801         forward-char.
4802         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
4803         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
4804         deleting, and copying text properties.
4805         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
4806         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
4807         to point-max is hard.
4808         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
4809         (zone-fill-out-screen): Ignore intangibility.
4811 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
4813         * menu-bar.el (menu-bar-mode):
4814         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
4815         if it has been set.
4817         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
4818         word/line selection (Bug#6565).
4820 2010-07-04  Martin Rudalics  <rudalics@gmx.at>
4822         * window.el (get-mru-window): New function.
4823 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
4825         * net/dbus.el (dbus-send-signal): Declare function.
4827 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
4829         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
4830         (dbus-register-property): New optional argument EMITS-SIGNAL.
4831         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
4833 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
4835         * mouse.el (mouse-drag-overlay): Variable deleted.
4836         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
4837         (mouse--remap-link-click-p): New function.
4838         (mouse-drag-track): Handle dragging by using temporary Transient
4839         Mark mode, instead of a special overlay.
4840         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
4841         mouse-show-mark.
4843         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
4844         deleted.
4846 2010-07-02  Juri Linkov  <juri@jurta.org>
4848         * autoinsert.el (auto-insert-alist): Fix readability
4849         by using dotted pair notation for lambda.
4851 2010-07-02  Juri Linkov  <juri@jurta.org>
4853         * faces.el (read-face-name): Rename arg `string-describing-default'
4854         to `default'.  Doc fix.  Display the default value in quotes
4855         in the prompt.  With empty input, return the `default' arg,
4856         unless the default value is a string (in which case return nil).
4857         (describe-face): Replace the string `default' arg of `read-face-name'
4858         with the symbol `default'.
4860 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
4862         * emulation/viper-cmd.el (viper-delete-backward-char)
4863         (viper-del-backward-char-in-insert)
4864         (viper-del-backward-char-in-replace, viper-change)
4865         (viper-backward-indent): Replace delete-backward-char with
4866         delete-char (Bug#6552).
4868 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
4870         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
4872 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
4874         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
4875         argument passed to frame-creation-function (Bug#5378).
4877         * faces.el (x-handle-named-frame-geometry)
4878         (x-handle-reverse-video, x-create-frame-with-faces)
4879         (face-set-after-frame-default, tty-create-frame-with-faces): Don't
4880         separately consult default-frame-alist.  It is now passed as the
4881         PARAMETER argument.
4883 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
4885         * startup.el (command-line): Don't call tool-bar-setup in a
4886         tty-only build.
4888 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
4890         * ruler-mode.el (ruler--save-header-line-format): New fun.
4891         (ruler-mode): Use it as a setter function, so as not to overwrite
4892         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
4894 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
4896         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
4897         (vc-root-diff, vc-print-root-log, vc-log-incoming)
4898         (vc-log-outgoing): Use it.
4899         (vc-diff-internal): Set diff-vc-backend.
4901         * vc/diff-mode.el (diff-vc-backend): New var.
4903 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
4905         * dynamic-setting.el (font-setting-change-default-font): Remove
4906         call to message.
4908 2010-06-28  Kenichi Handa  <handa@m17n.org>
4910         * international/quail.el (quail-insert-kbd-layout): Fix the
4911         showing of untranslated characters.
4913 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
4915         * simple.el (delete-active-region): New option.
4916         (delete-backward-char): Implement in Lisp.
4917         (delete-forward-char): New command.
4919         * mouse.el (mouse-region-delete-keys): Deleted.
4920         (mouse-show-mark): Simplify.
4922         * bindings.el (global-map): Bind delete and DEL, the former to
4923         delete-forward-char.
4925 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
4927         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
4928         (ruby-mode): Bind indent-line-function (Bug#5119).
4930 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
4932         * startup.el (command-line): Recognize "0" X resource value.
4934 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
4936         * startup.el (command-line): Use X resources to set the value of
4937         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
4939         * menu-bar.el (menu-bar-mode):
4940         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
4941         Set init-value to t.
4943         * frame.el (frame-notice-user-settings): Don't change
4944         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
4945         vice versa (Bug#2249).
4947 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
4949         * w32-fns.el (w32-convert-standard-filename): Doc fix.
4951 2010-06-25  Martin Rudalics  <rudalics@gmx.at>
4953         * files.el (read-buffer-to-switch)
4954         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
4955         Move to window.el.
4957         * window.el (display-buffer): New customization group.
4958         (special-display-buffer-names, special-display-regexps)
4959         (same-window-buffer-names, same-window-regexps, pop-up-frames)
4960         (display-buffer-reuse-frames, pop-up-windows)
4961         (split-window-preferred-function, split-height-threshold)
4962         (split-width-threshold, even-window-heights): Move or add to
4963         display-buffer customization group.
4964         (window-size-fixed): Move down in code, rewrite doc-string.
4965         (window-right, window-left, window-child, window-internal-p)
4966         (window-any-p, normalize-live-buffer, normalize-live-frame)
4967         (normalize-any-window, normalize-live-window)
4968         (window-iso-combined-p, walk-window-tree-1, walk-window-tree)
4969         (window-in-direction-2, window-in-direction, window-tree-1)
4970         (window-size-ignore, window-sizable, window-sizable-p)
4971         (window-min-size, window-min-size-1, window-size-fixed-p)
4972         (window-size-fixed-1, window-min-delta, window-min-delta-1)
4973         (window-max-delta, window-max-delta-1, window-resizable)
4974         (window-resizable-p, window-total-height, window-height)
4975         (window-full-height-p, window-total-width, window-body-height)
4976         (window-body-width, window-width, resize-window-reset)
4977         (resize-window-reset-1, resize-window, resize-subwindows-skip-p)
4978         (resize-subwindows-normal, resize-subwindows)
4979         (resize-other-windows, resize-this-window, resize-mini-window)
4980         (resize-root-window, resize-root-window-vertically)
4981         (window-deletable-p, window-or-subwindow-p)
4982         (kill-or-unrecord-buffer, quit-restore-window)
4983         (window-split-min-size, window-children-count)
4984         (split-window-quit-restore): New functions.
4985         (ignore-window-parameters, display-buffer-window-and-buffer)
4986         (resize-window-safe-window): New variables.
4987         (window-safe-min-height, window-safe-min-width): New constants.
4988         (window-min-height, window-min-width, window-full-width-p)
4989         (get-lru-window, get-largest-window)
4990         (adjust-window-trailing-edge, window-tree, other-window)
4991         (replace-buffer-in-windows, split-window): Move here from
4992         window.c.
4993         (window-current-scroll-bars): Use normalize-live-window.
4994         (get-window-with-predicate): Use window-list-1.
4995         (get-buffer-window-list): Use normalize-live-buffer and
4996         window-list-1.
4997         (count-windows): Use window-list-1.
4998         (enlarge-window, shrink-window): Use resize-window.
4999         (maximize-window, minimize-window, frame-root-window-p)
5000         (composite-window-p, composite-root-window-p)
5001         (composite-main-window-p, composite-support-window-p)
5002         (composite-root-window, composite-major-window)
5003         (composite-main-sibling, composite-lowest-child-role)
5004         (compound-window-p, compound-main-window-p)
5005         (compound-root-window, group-window-p, group-window-main-p)
5006         (group-root-window, make-compound-window, make-window-group)
5007         (make-support-window): New functions for composite windows.
5008         (one-window-p): Rewrite doc-string.
5009         (delete-window, delete-other-windows, delete-windows-on)
5010         (bury-buffer, switch-to-buffer): Move here from buffer.c.
5011         (split-window-vertically, split-window-horizontally): Call
5012         split-window-quit-restore.
5013         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
5014         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
5015         (bw-refresh-edges, bw-balance-sub): Replace by new balance
5016         windows functions.
5017         (balance-windows, balance-windows-1, balance-windows-2): New
5018         functions for balancing windows.
5019         (bw-adjust-window): Rename to balance-windows-area-adjust.
5020         (balance-windows-area): Call balance-windows-area-adjust.
5021         (pop-up-windows): New values `selected' and `root'.
5022         (window-splittable-p): Rename to window-sensibly-splittable-p.
5023         (split-window-sensibly): Call window-sensibly-splittable-p.
5024         (window--display-buffer-1, window--display-buffer-2): Remove.
5025         (display-buffer-window-and-buffer)
5026         (window--display-buffer-in-window, window--reuse-window)
5027         (window--pop-up-window, window--pop-up-frame)
5028         (window--raise-window-frame): New helper functions for
5029         display-buffer.
5030         (display-buffer): Rewrite using the new helper functions.
5031         (read-buffer-to-switch, switch-to-buffer-other-window)
5032         (switch-to-buffer-other-frame): Move here from files.el.
5033         (set-window-text-height, fit-window-to-buffer): Use
5034         normalize-live-window and resize-window.
5035         (shrink-window-if-larger-than-buffer): Use normalize-live-window
5036         and window-iso-combined-p.
5037         (temp-buffer-max-height, temp-buffer-resize-mode): Move here
5038         from help.el.
5039         (resize-temp-buffer-window): Move here from help.el and use
5040         window-iso-combined-p.
5041         (ctl-x-map): Move bindings for non-scrolling commands here from
5042         window.c.
5044         * cus-start.el (all): Remove window-min-height and
5045         window-min-width entries.  Add recenter-redisplay and
5046         window-splits entries.
5048         * calendar/calendar.el (calendar-basic-setup):  Call
5049         window-sensibly-splittable-p instead of window-splittable-p.
5051         * dired.el (dired-pop-to-buffer): Call
5052         window-sensibly-splittable-p instead of window-splittable-p.
5054         * help-mode.el (help-mode-finish): Remove help-window and
5055         view-return-to-alist handling code.
5057         * help.el (help-window): Remove variable.
5058         (help-window-point-marker): Fix doc-string.
5059         (temp-buffer-max-height, temp-buffer-resize-mode)
5060         (resize-temp-buffer-window): Move to window.el.
5061         (help-window-display-message): Fix doc-string and handling of
5062         optional argument.
5063         (help-window-setup-finish): Remove.
5064         (help-window-setup): Remove handling of list-of-frames and
5065         list-of-window-tuples.  These are handled by the quit-restore
5066         window mechanism now.
5067         (with-help-window): Remove setup of list-of-frames and
5068         list-of-window-tuples.  Reset display-buffer-window-and-buffer
5069         and call help-window-setup when the buffr display mechanism
5070         called by with-output-to-temp-buffer has set it.
5072         * view.el (view-exits-all-viewing-windows): Fix doc-string.
5073         (view-return-to-alist): Remove variable.
5074         (view-file-other-window): Remove second argument in call of
5075         view-buffer-other-window.
5076         (view-file-other-frame): Remove second argument in call of
5077         view-buffer-other-frame.
5078         (view-buffer): Remove the undo-window mechanism and fix call of
5079         view-mode-enter.
5080         (view-buffer-other-window, view-buffer-other-frame): Remove
5081         second argument and return-to mechanism and fix call of
5082         view-mode-enter.
5083         (view-return-to-alist-update): Remove function.
5084         (view-mode-enter): Rename second argument to quit-restore and
5085         replace view-return-to-alist mechanism by quit-restore
5086         parameter.  Rewrite doc-string.
5087         (view-mode-exit): Rename arguments and replace
5088         view-return-to-alist mechanism by calling quit-restore-window.
5089         (View-exit, View-exit-and-edit, View-leave, View-quit)
5090         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
5091         appropriate argument(s).
5092         (view-end-message): Instead of checking view-return-to-alist
5093         look at quit-restore window parameter.
5095         * progmodes/ebrowse.el (ebrowse-view-file-other-frame): Adjust
5096         call of view-mode-enter to the latter's new definition.
5098         * progmodes/python.el (view-return-to-alist): Remove defvar.
5099         (python-describe-symbol): Don't set view-return-to-alist any
5100         more.
5102 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
5104         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
5105         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
5107         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
5108         default directories are expanded (Bug#6143).
5110 2010-06-24  Juri Linkov  <juri@jurta.org>
5112         * minibuffer.el (completions-format): Change default from nil to
5113         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
5115 2010-06-24  Juri Linkov  <juri@jurta.org>
5117         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
5118         buffer-locally to lambda that re-runs the vc diff command.
5119         (Bug#6447)
5121 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
5123         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
5124         echo area is in use (Bug#3412).
5126 2010-06-22  Glenn Morris  <rgm@gnu.org>
5128         * textmodes/texinfmt.el (texinfo-format-region)
5129         (texinfo-raise-lower-sections, texinfo-format-separate-node)
5130         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
5131         (texinfo-format-option, texinfo-noindent):
5132         Use line-beginning-position and line-end-position.
5134         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
5135         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
5136         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
5137         utf-8 characters.
5139 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
5141         * play/zone.el (zone-fall-through-ws): Fix next-line ->
5142         forward-line fallout.
5144 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
5146         * mouse.el (mouse-appearance-menu): Add docstring.
5148         * help.el (describe-key): Print up-event using key-description.
5150 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
5152         * net/zeroconf.el (zeroconf-resolve-service)
5153         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
5154         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
5156 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
5158         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
5160 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
5162         Avoid displaying files with a nil state in vc-dir.
5163         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
5164         cases that cause insertion.
5165         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
5166         with a nil state.
5168 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
5170         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
5172 2010-06-29  Leo  <sdl.web@gmail.com>
5174         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
5176 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
5178         * generic-x.el (bat-generic-mode): Fix regexp for command line
5179         switches (Bug#5719).
5181 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
5183         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
5184         of nconc to avoid pure storage error (Bug#6239).
5186 2010-06-27  Christoph  <cschol2112@googlemail.com>  (tiny change)
5188         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
5189         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
5190         bindings of bookmark-automatically-show-annotations (Bug#6515).
5192 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
5194         * arc-mode.el (archive-zip-extract): Don't quote the file name on
5195         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
5197 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
5199         * comint.el (make-comint, make-comint-in-buffer): Mention return
5200         value in the docstrings.  (Bug#6498)
5202 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
5204         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
5205         since it is not present when using some non-default switches.
5207 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
5209         * simple.el (compose-mail): Fix doc string to refer to
5210         `compose-mail-user-agent-warnings', instead of to the
5211         nonexistent `compose-mail-check-user-agent'.
5213 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
5215         Fix an indentation bug:
5217         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
5218         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
5219         of existing values.
5221         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
5222         (c-clear->-pair-props-if-match-before): now return t when they've
5223         cleared properties, nil otherwise.
5224         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
5225         by taking account of the existing value.
5227         * progmodes/cc-defs.el
5228         (c-clear-char-property-with-value-function): Fix this to clear the
5229         property rather than overwriting it with nil.
5231 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
5233         * emacs-lisp/package.el (package-print-package): Add link to
5234         package description via describe-package.
5235         (describe-package-1): List package requirements.  Add button to
5236         perform installation.
5237         (package-menu-describe-package): New command.
5239         * help-mode.el (help-package): New button type.
5241 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
5243         * emacs-lisp/package.el: Move package-list-packages binding to
5244         menu-bar.el.
5245         (describe-package, describe-package-1, package--dir): New funs.
5246         (package-activate-1): Use package--dir.
5248         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
5250         * help-mode.el (help-package-def): New button type.
5252         * menu-bar.el: Move package-list-packages binding here from
5253         package.el.
5255 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
5257         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
5259 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5261         * emacs-lisp/edebug.el (edebug-read-list):
5262         Phase out old-style backquotes.
5264 2010-06-17  Juri Linkov  <juri@jurta.org>
5266         * help-mode.el (help-mode): Set buffer-local variable
5267         revert-buffer-function to help-mode-revert-buffer.
5268         (help-mode-revert-buffer): New function.
5270         * info.el (Info-revert-find-node): Check for major-mode Info-mode
5271         before popping to "*info*" (like in other Info functions).
5272         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
5273         old-history-forward.  Pop to old-buffer-name or "*info*" to
5274         recreate the killed buffer.  Set Info-history-forward from
5275         old-history-forward.
5276         (Info-breadcrumbs-depth): Add :group and :version.
5278 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
5280         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
5282 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
5284         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
5285         for languages like Portuguese with pt_{BR,PT} and no plain pt.
5287 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
5289         * emacs-lisp/package.el (package-menu-mode-map):
5290         Move initialization into declaration.
5292         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
5294 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
5296         * emacs-lisp/package.el (package-archive-base): Point to
5297         elpa.gnu.org.
5298         (package-enable, package-load-list): New defcustoms.
5299         (package-user-dir, package-directory-list): Turn into defcustoms.
5300         Don't include package-user-dir in package-directory-list.
5301         (package--builtins-base): Don't include Emacs as a "package".
5302         (package-subdirectory-regexp): New var.
5303         (package-load-all-descriptors, package-compute-transaction)
5304         (package-download-transaction): Obey package-load-list.
5305         (package-activate-1): Rename from package-do-activate.
5306         (package-list-packages-internal): Check package-load-list.
5307         (package-load-descriptor, package-generate-autoloads)
5308         (package-unpack, package-unpack-single)
5309         (package--read-archive-file, package-delete): Use
5310         expand-file-name.
5312         * emacs-lisp/package-x.el: New file.  Package uploading
5313         functionality split out from package.el.
5315         * startup.el (command-line): Load packages after reading init file.
5317 2010-06-17  Tom Tromey  <tromey@redhat.com>
5319         * emacs-lisp/package.el: New file.
5321 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
5323         Fix vc-annotate for renamed files when using Git.
5324         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
5325         ls-files.  Doe not pass the object as a file name to cat-file, it
5326         is not a file name.
5327         (vc-git-annotate-command): Pass the file name using -- to avoid
5328         ambiguity with the revision.
5329         (vc-git-previous-revision): Pass a relative file name.
5331 2010-06-22  Glenn Morris  <rgm@gnu.org>
5333         * progmodes/js.el (js-mode-map): Use standard capitalization and
5334         ellipses for menu entries.
5336         * wid-edit.el (widget-complete): Doc fix.
5338 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
5340         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
5342 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
5344         Fix annotating other revisions for renamed files in vc-annotate.
5345         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
5346         VC backend.  Use it when non-nil.
5347         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
5348         (Bug#6487)
5350         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
5351         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5352         Do not pass the file name to the 'previous-revision call when we
5353         don't want a file diff.  (Bug#6489)
5355 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
5357         Fix finding revisions for renamed files in vc-annotate.
5358         * vc/vc.el (vc-find-revision): Add an optional argument for
5359         the VC backend.  Use it when non-nil.
5360         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
5361         backend to vc-find-revision.  (Bug#6487)
5363 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
5365         Fix reading file names in Git annotate buffers.
5366         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
5367         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
5369 2010-06-20  Alan Mackenzie  <acm@muc.de>
5371         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
5372         in file local variables, set it first.
5374 2010-06-19  Glenn Morris  <rgm@gnu.org>
5376         * descr-text.el (describe-char-unicode-data): Insert separating
5377         space when needed.  (Bug#6422)
5379         * progmodes/idlwave.el (idlwave-action-and-binding):
5380         Fix typo in 2009-12-03 change.  (Bug#6450)
5382 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5384         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
5385         handling for `lambda' (misunderstanding).
5387 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
5389         * calc/calc-poly.el (math-accum-factors): Make sure that
5390         constants aren't distributed after they are factored out.
5392 2010-06-16  Juri Linkov  <juri@jurta.org>
5394         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
5395         `list-colors-print'.  (Bug#6332)
5397         * subr.el (read-quoted-char): Fix up last change (bug#6290).
5399 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5401         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
5402         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
5404         * font-lock.el (font-lock-major-mode): Rename from
5405         font-lock-mode-major-mode to distinguish it from
5406         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
5407         (font-lock-set-defaults):
5408         * font-core.el (font-lock-default-function): Adjust users.
5409         (font-lock-mode): Don't set it at all.
5411 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5413         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
5415 2010-06-16  Glenn Morris  <rgm@gnu.org>
5417         * calendar/appt.el (appt-time-msg-list): Doc fix.
5418         (appt-check): Let-bind appt-warn-time.
5419         (appt-add): Make the 3rd argument optional.
5420         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
5421         Only add WARNTIME to the output list if non-nil.
5423 2010-06-16  Ivan Kanis  <apple@kanis.eu>
5425         * calendar/appt.el (appt-check): Let the 3rd element of
5426         appt-time-msg-list specify the warning time.
5427         (appt-add): Add new argument with the warning time.  (Bug#5176)
5429 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>  (tiny change)
5431         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
5432         older than version 1.6.  (Bug#6361)
5434 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
5436         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
5437         used by cl-do-arglist.  (Bug#6408)
5439 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
5441         * textmodes/ispell.el (ispell-dictionary-base-alist): Fix
5442         portuguese casechars/not-casechars for missing 'çÇ'.
5443         Suggested by Rolando Pereira (bug#6434).
5445 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
5447         * facemenu.el (list-colors-sort): Doc fix.
5449 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>  (tiny change)
5451         * progmodes/sql.el (sql-connect-mysql): Fix typo.
5453 2010-06-14  Juri Linkov  <juri@jurta.org>
5455         Add sort option `list-colors-sort'.  (Bug#6332)
5456         * facemenu.el (color-rgb-to-hsv): New function.
5457         (list-colors-sort): New defcustom.
5458         (list-colors-sort-key): New function.
5459         (list-colors-display): Doc fix.  Sort list according to the option
5460         `list-colors-sort'.
5461         (list-colors-print): Add HSV values to `help-echo' property of
5462         RGB strings.
5464 2010-06-14  Juri Linkov  <juri@jurta.org>
5466         * compare-w.el: Move to the "vc" subdirectory.
5468 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5470         * image-mode.el (image-mode-map): Remap left-char and right-char.
5472         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
5474 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
5476         * term/common-win.el (x-colors): Add all the color names defined
5477         in rgb.txt (Bug#6332).
5479         * facemenu.el (list-colors-print): Don't print extra names if it
5480         will overflow the window width.
5482         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
5483         change (Bug#6343).
5485 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
5487         * files.el (make-directory): Doc fix (bug#6396).
5489 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
5491         * net/tramp.el (tramp-remote-process-environment): Protect version
5492         string by apostroph.
5493         (tramp-shell-prompt-pattern): Do not use a shy group in case of
5494         XEmacs.
5495         (tramp-file-name-for-operation): Add `call-process-region'.
5496         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
5498         * net/tramp-compat.el (top): Do not autoload
5499         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
5500         only when `start-file-process' is not bound.
5501         (tramp-advice-file-expand-wildcards): Do not use
5502         `tramp-handle-file-remote-p'.
5503         (tramp-compat-make-temp-file): Handle the case, that
5504         `make-temp-file' has no third argument EXTENSION.
5506 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
5508         * makefile.w32-in (WINS_BASIC): Include new directory vc.
5510         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
5512 2010-06-11  Juri Linkov  <juri@jurta.org>
5514         * finder.el (finder-known-keywords): Add keyword "vc"
5515         for version control.
5517         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
5518         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
5519         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
5520         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
5522 2010-06-11  Juri Linkov  <juri@jurta.org>
5524         Move version control related files to the "vc" subdirectory.
5525         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
5526         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
5527         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
5528         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
5529         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
5530         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
5531         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
5532         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
5533         Move files to the "vc" subdirectory.
5535 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
5537         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
5538         (Bug#6367).
5540 2010-06-11  Stephen Eglen  <stephen@gnu.org>
5542         * shell.el: Bind `shell-resync-dirs' to M-RET.
5544 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
5546         * notifications.el: Move file from lisp/net, because it is
5547         supposed to talk locally to the user.
5549 2010-06-10  Julien Danjou  <julien@danjou.info>
5551         * net/notifications.el (notifications-on-action-signal)
5552         (notifications-on-closed-signal): Pass notification id as first
5553         argument to the callback functions.  Add docstrings.
5554         (notifications-notify): Fix docstring.
5556 2010-06-10  Glenn Morris  <rgm@gnu.org>
5558         * emacs-lisp/authors.el (authors-ignored-files)
5559         (authors-valid-file-names): Add some files.
5561 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5563         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
5564         merge conflict, giving preference to the emacs-23 version of the code.
5566 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5568         * emacs-lisp/advice.el (ad-compile-function):
5569         Define warning-suppress-types before we let-bind it (bug#6275).
5571         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
5572         declare it, make it buffer-local and permanent-local (bug#6324).
5573         (vc-resynch-window): Adjust name.
5574         * vc-hooks.el (vc-find-file-hook): Adjust name.
5576 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
5578         * net/notifications.el (notifications-notify): Fix docstring.
5580 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
5582         Update to Unicode 6.0.0 beta.
5583         * international/charprop.el: Update copyright.
5584         * international/mule-cmds.el (ucs-names): Update character ranges.
5585         * international/uni-bidi.el:
5586         * international/uni-category.el:
5587         * international/uni-combining.el:
5588         * international/uni-comment.el:
5589         * international/uni-decimal.el:
5590         * international/uni-decomposition.el:
5591         * international/uni-digit.el:
5592         * international/uni-lowercase.el:
5593         * international/uni-mirrored.el:
5594         * international/uni-name.el:
5595         * international/uni-numeric.el:
5596         * international/uni-old-name.el:
5597         * international/uni-titlecase.el:
5598         * international/uni-uppercase.el: Regenerate.
5600 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
5602         * emacs-lisp/smie.el (comment-string-strip): Declare function.
5603         (smie-precs-precedence-table): Fix typo in docstring.
5605         * vc-mtn.el (log-edit-extract-headers): Declare function.
5607         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
5609         * net/notifications.el (dbus-register-signal): Declare function.
5610         (notifications-notify): Fix typos and reflow docstring.
5612 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
5614         Improve VC create/retrieve tag/branch.
5615         * vc.el (vc-create-tag): Do not read the directory name for VCs
5616         with repository revision granularity.  Adjust the tag/branch
5617         prompt.  Reset VC properties.
5618         (vc-retrieve-tag): Do not read the directory name for VCs
5619         with repository revision granularity.  Reset VC properties.
5621 2010-06-09  Julien Danjou  <julien@danjou.info>
5623         * net/notifications.el: New file.
5625 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
5627         Add optional support for resetting VC properties.
5628         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
5629         call vc-file-clearprops when true.
5630         (vc-resynch-buffer): Add new optional argument, pass it down.
5631         (vc-resynch-buffers-in-directory): Likewise.
5633         Improve support for special markup in the VC commit message.
5634         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
5635         * vc-hg.el (vc-hg-checkin): Add support for Date:.
5636         * vc-git.el (vc-git-checkin):
5637         * vc-bzr.el (vc-bzr-checkin): Likewise.
5639 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5641         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
5642         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
5644 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
5646         * iimage.el: Remove images as soon as the underlying text is modified.
5647         (iimage-modification-hook): New function.
5648         (iimage-mode-buffer): Use it.
5650 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5652         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
5653         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
5654         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
5655         (smie-indent-keyword): Add handling of open-paren keywords.
5656         (smie-indent-comment-continue): Don't assume comment-continue.
5658 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
5660         * window.el (pop-to-buffer): Remove the conditional that
5661         compares new-window and old-window, so it will reselect
5662         the selected window unconditionally.
5663         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
5665 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5667         * emacs-lisp/smie.el (smie-indent-offset-after)
5668         (smie-indent-forward-token, smie-indent-backward-token): New functions.
5669         (smie-indent-after-keyword): Use them.
5670         (smie-indent-fixindent): Only applies to the indentation of the BOL.
5671         (smie-indent-keyword): Tweak the black magic.
5672         (smie-indent-comment-continue): Strip comment-continue before use.
5673         (smie-indent-functions): Indent comments before keywords.
5675 2010-06-06  Juri Linkov  <juri@jurta.org>
5677         * isearch.el (isearch-lazy-highlight-search): Fix looping
5678         by checking for empty match.  This syncs this loop with the
5679         similar loop in `isearch-search'.  (Bug#6362)
5681 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
5683         * net/dbus.el (dbus-register-method): Declare function.
5684         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
5685         (dbus-introspect): Doc fix.
5686         (dbus-event-bus-name, dbus-introspect-get-interface)
5687         (dbus-introspect-get-argument): Reflow docstrings.
5689 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
5691         vc-log-incoming/vc-log-outgoing fixes for Git.
5692         * vc-git.el (vc-git-log-view-mode): Fix font lock for
5693         incoming/outgoing logs.
5694         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
5695         instead of vc-git-compute-remote.
5696         (vc-git-compute-remote): Remove.
5698 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
5700         * term/common-win.el (x-colors): Add "dark green" and "dark
5701         turquoise" (Bug#6332).
5703 2010-06-04  Juri Linkov  <juri@jurta.org>
5705         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
5706         Instead of setting `replace' to t and replacing the same string
5707         with itself, don't do certain actions when
5708         kill-do-not-save-duplicates is non-nil and string is equal to car
5709         of kill-ring: don't call menu-bar-update-yank-menu, don't push
5710         interprogram-paste strings to kill-ring, and don't push the input
5711         argument `string' to kill-ring.
5712         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
5714 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
5716         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
5718 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
5720         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
5721         (tramp-gvfs-handler-mounted-unmounted)
5722         (tramp-gvfs-connection-mounted-p): Handle default-location.
5724         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
5725         move files to trash.
5727 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
5729         * international/mule-cmds.el (nonascii-insert-offset)
5730         (nonascii-translation-table): Add obsolescence information.
5732         * international/mule.el (make-translation-table-from-vector): Doc fix.
5734 2010-06-03  Glenn Morris  <rgm@gnu.org>
5736         * desktop.el (desktop-clear-preserve-buffers):
5737         Add "*Warnings*" buffer.  (Bug#6336)
5739 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
5741         vc-log-incoming/vc-log-outgoing improvements for Git.
5742         * vc-git.el (vc-git-log-outgoing): Use the same format as the
5743         short log.
5744         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
5746         Add bindings for vc-log-incoming and vc-log-outgoing.
5747         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
5748         and vc-log-outgoing.
5749         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
5750         and vc-log-outgoing.
5752 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
5754         * net/rcirc.el (rcirc-sort-nicknames): Remove.
5755         (rcirc-handler-366): Always sort nicknames.
5757 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
5759         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
5761 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
5763         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
5765 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5767         * net/rcirc.el (rcirc-sort-nicknames): Change default.
5768         (rcirc-sort-nicknames-join): Avoid setq.
5770 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
5772         * net/rcirc.el (rcirc-sort-nicknames): New custom.
5773         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
5774         (rcirc-handler-366): Use them.
5776 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5778         Split smie-indent-calculate into more manageable chunks.
5779         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
5780         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
5781         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
5782         (smie-indent-exps): Extract from smie-indent-calculate.
5783         (smie-indent-functions): New var.
5784         (smie-indent-functions): Use them.
5786 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5788         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
5789         (smie-indent-calculate): Simplify and cleanup.
5791 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
5793         * net/tramp-gvfs.el (top): Require url-util.
5794         (tramp-gvfs-mount-point): Remove.
5795         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
5796         New defuns.
5797         (with-tramp-dbus-call-method): Format trace message.
5798         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
5799         Implement backup call, when operation on local files fails.
5800         Use progress reporter.  Flush properties of changed files.
5801         (tramp-gvfs-handle-make-directory): Make more traces.
5802         (tramp-gvfs-url-file-name): Hexify file name in url.
5803         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
5804         into account for the resulting file name.
5805         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
5806         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
5807         (tramp-gvfs-handler-mounted-unmounted)
5808         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
5809         attribute "default_location".  Set "prefix" property.
5810         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
5811         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5812         exists.  Raise an error, if not (due to a corresponding answer
5813         "no" in interactive questions, for example).
5815 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
5817         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
5819 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
5821         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
5822         right-*.  (Bug#6265)
5824 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
5826         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
5827         * vc-git.el (vc-git-compute-remote): New function.
5828         (vc-git-log-outgoing): Use it instead of hard coding a value.
5829         (vc-git-log-incoming): New function.
5831         Improve state updating for VC tag commands.
5832         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
5833         to update the state of all buffers in the directory.
5835         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
5837 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5839         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
5840         `file-directory-p' to the filename part rather than to the whole text.
5842 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
5844         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
5846 2010-05-31  Drew Adams  <drew.adams@oracle.com>
5848         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
5850 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
5852         * subr.el (momentary-string-display): Just use read-event to read
5853         the exit event (Bug#6238).
5855 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
5857         * international/mule.el (define-coding-system): Doc fix (bug#6313).
5859 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
5861         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
5862         Suggested by Eli Zaretskii <eliz@gnu.org>.
5864 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5866         * minibuffer.el (completion-file-name-table): Don't return a boundary
5867         past the end of `string' (bug#6299).
5868         (completion--file-name-table): Delegate to completion-file-name-table
5869         for the `boundaries' case.
5871 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
5873         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
5874         movement commands.
5876         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
5877         `path-separator', but maintain compatibility with Emacs 20.2.
5879 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
5881         * server.el (server-process-filter): Receive parent-id argument
5882         from emacsclient.
5883         (server-create-window-system-frame): New arg.  Pass parent-id as
5884         frame parameter.
5886 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
5888         Bidi-sensitive word movement with arrow keys.
5889         * subr.el (right-arrow-command, left-arrow-command): Move to
5890         bindings.el.
5892         * bindings.el (right-char, left-char): Move from subr.el and
5893         rename from right-arrow-command and left-arrow-command.
5894         (right-word, left-word): New functions.
5895         (global-map) <right>: Bind to right-char.
5896         (global-map) <left>: Bind to left-char.
5897         (global-map) <C-right>: Bind to right-word.
5898         (global-map) <C-left>: Bind to left-word.
5900         * ls-lisp.el (ls-lisp-classify-file): New function.
5901         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
5902         (ls-lisp-classify): Call ls-lisp-classify-file.
5903         (insert-directory): Remove blanks from switches.
5905 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
5907         * ansi-color.el: Delete unused escape sequences (Bug#6085).
5908         (ansi-color-drop-regexp): New constant.
5909         (ansi-color-apply, ansi-color-filter-region)
5910         (ansi-color-apply-on-region): Delete unrecognized control sequences.
5911         (ansi-color-apply): Build string list before calling concat.
5913 2010-05-28  Juri Linkov  <juri@jurta.org>
5915         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5916         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
5917         (Bug#5270)
5919 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
5921         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
5922         to ignored backtrace functions.
5923         (with-progress-reporter): Expand docstring.
5924         (tramp-handle-delete-file): Implement TRASH argument.
5925         (tramp-get-remote-trash): New defun.
5927 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
5929         * net/tramp-compat.el (tramp-compat-delete-file): Use
5930         `symbol-value' for backward compatibility.
5932         * net/tramp.el (tramp-handle-make-symbolic-link)
5933         (tramp-handle-load)
5934         (tramp-do-copy-or-rename-file-via-buffer)
5935         (tramp-do-copy-or-rename-file-directly)
5936         (tramp-do-copy-or-rename-file-out-of-band)
5937         (tramp-handle-process-file, tramp-handle-call-process-region)
5938         (tramp-handle-shell-command, tramp-handle-file-local-copy)
5939         (tramp-handle-insert-file-contents, tramp-handle-write-region)
5940         (tramp-delete-temp-file-function): Use `delete-file' instead
5941         of `tramp-compat-delete-file'.
5943         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
5944         (tramp-fish-handle-make-symbolic-link)
5945         (tramp-fish-handle-process-file): Use `delete-file' instead
5946         of `tramp-compat-delete-file'.
5948         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
5949         `delete-file' instead of `tramp-compat-delete-file'.
5951         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
5952         (tramp-gvfs-handle-write-region): Use `delete-file' instead of
5953         `tramp-compat-delete-file'.
5955         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
5956         `delete-file' instead of `tramp-compat-delete-file'.
5958         * net/tramp-smb.el (tramp-smb-handle-copy-file)
5959         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5960         (tramp-smb-handle-write-region): Use `delete-file' instead of
5961         `tramp-compat-delete-file'.
5962         (tramp-smb-handle-delete-directory): Use 'trash as arg.
5964 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
5966         * dired.el (dired-delete-file): New arg TRASH.
5967         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
5968         (dired-do-flagged-delete, dired-do-delete): Use trash.
5970         * speedbar.el (speedbar-item-delete): Allow trashing.
5972         * files.el (delete-directory): New arg TRASH.
5974         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
5975         (ange-ftp-rename-remote-to-remote)
5976         (ange-ftp-rename-local-to-remote)
5977         (ange-ftp-rename-remote-to-local, ange-ftp-load)
5978         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
5979         `delete-file'.
5980         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
5981         allow trashing.
5983         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
5984         handle new TRASH arg of `delete-file'.
5986         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
5987         (tramp-handle-make-symbolic-link, tramp-handle-load)
5988         (tramp-do-copy-or-rename-file-via-buffer)
5989         (tramp-do-copy-or-rename-file-directly)
5990         (tramp-do-copy-or-rename-file-out-of-band)
5991         (tramp-handle-process-file, tramp-handle-call-process-region)
5992         (tramp-handle-shell-command, tramp-handle-file-local-copy)
5993         (tramp-handle-insert-file-contents, tramp-handle-write-region)
5994         (tramp-delete-temp-file-function): Use null TRASH arg in
5995         tramp-compat-delete-file call.
5997         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
5998         (tramp-fish-handle-delete-file)
5999         (tramp-fish-handle-make-symbolic-link)
6000         (tramp-fish-handle-process-file): Use null TRASH arg in
6001         `tramp-compat-delete-file' call.
6003         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
6004         arg in `tramp-compat-delete-file' call.
6006         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
6007         (tramp-gvfs-handle-write-region): Use null TRASH arg in
6008         `tramp-compat-delete-file' call.
6010         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
6011         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
6012         `tramp-compat-delete-file' call.
6014         * net/tramp-smb.el (tramp-smb-handle-copy-file)
6015         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6016         (tramp-smb-handle-write-region): Use null TRASH arg in
6017         tramp-compat-delete-file call.
6018         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
6019         (tramp-smb-handle-delete-file): Rename arg.
6021         * diff.el (diff-sentinel):
6022         * epg.el (epg--make-temp-file, epg-decrypt-string)
6023         (epg-verify-string, epg-sign-string, epg-encrypt-string):
6024         * jka-compr.el (jka-compr-partial-uncompress)
6025         (jka-compr-call-process, jka-compr-write-region):
6026         * server.el (server-sentinel): Remove optional arg from
6027         delete-file, reverting 2010-05-03 change.
6029 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
6031         * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
6032         font-lock-constant-face, not obsolete font-lock-reference-face.
6034 2010-05-27  Kenichi Handa  <handa@m17n.org>
6036         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
6037         element of GSTRING is nil.
6039 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6041         * emacs-lisp/smie.el (smie-forward-token-function)
6042         (smie-backward-token-function): New vars.
6043         (smie-backward-sexp, smie-forward-sexp)
6044         (smie-indent-hanging-p, smie-indent-calculate): Use them.
6045         (smie-default-backward-token): Rename from smie-backward-token and
6046         skip comments.
6047         (smie-default-forward-token): Rename from smie-forward-token and
6048         skip comments.
6049         (smie-next-sexp): Handle nil results from next-token.
6050         (smie-indent-calculate): Add a new case for special `fixindent' comments.
6052 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
6054         * progmodes/verilog-mode.el (verilog-type-font-keywords):
6055         Use font-lock-constant-face, not obsolete font-lock-reference-face.
6057 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
6059         * htmlfontify.el (hfy-face-resolve-face): New function.
6060         (hfy-face-to-style): Use it (Bug#6279).
6062 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6064         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
6065         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
6067 2010-05-26  Glenn Morris  <rgm@gnu.org>
6069         * emulation/edt.el (edt-load-keys): Use locate-library.
6071 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
6073         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
6074         (log-edit-changelog-entries): Doc fix.
6075         (log-edit-changelog-insert-entries): Args changed.
6076         Rename relative filenames in ChangeLog entries.  Delete tabs.
6077         (log-edit-insert-changelog-entries): Reorganize return value of
6078         `log-edit-changelog-entries' to pass filenames to
6079         log-edit-changelog-insert-entries.
6081 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6083         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
6084         `image-dired-dired-insert-marked-thumbs' to
6085         `image-dired-dired-toggle-marked-thumbs'.
6087         * image-dired.el: Require cl when compiling.
6088         (image-dired-dired-toggle-marked-thumbs): Rename from
6089         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
6090         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
6091         to 'no-dir.  Skip files whose names don't match
6092         `image-file-name-regexp'.  When file has a thumbnail overlay,
6093         delete it.  (Bug#5270)
6095 2010-05-25  Juri Linkov  <juri@jurta.org>
6097         * image-mode.el (image-mode): Add image-after-revert-hook to
6098         after-revert-hook.
6099         (image-after-revert-hook): New function.  (Bug#5669)
6101 2010-05-25  Juri Linkov  <juri@jurta.org>
6103         * image.el (image-animated-p): When delay between animated images
6104         is 0, set it to 10 (0.1 sec).  (Bug#6258)
6106 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
6108         * net/tramp.el (tramp-handle-insert-directory): Don't use
6109         `forward-word', its default syntax could be changed.
6111 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
6113         * net/tramp.el (tramp-progress-reporter-update): New defun.
6114         (with-progress-reporter): Use it.
6115         (tramp-process-actions):
6116         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
6117         current message, in order to let progress reporter continue
6118         afterwards.  (Bug#6257)
6120 2010-05-25  Glenn Morris  <rgm@gnu.org>
6122         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
6123         Add :version.
6125 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
6127         * net/rcirc.el (rcirc-default-user-name): Change to "user".
6128         (rcirc-default-full-name): Change to "unknown".
6129         (rcirc-user-name-history): Add variable.
6131 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
6132             Jonathan Rockway  <jon@jrock.us>
6134         * net/rcirc.el (rcirc-server-alist): Add :pass.
6135         (rcirc): When prompting for connection parameters, also prompt for
6136         username and password.
6137         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
6138         value to server when connecting.
6140 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6142         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
6143         (smie-merge-prec2s): Pass the tables as separate args.
6144         (smie-bnf-precedence-table): Adjust call accordingly.
6145         (smie-prec2-levels): Set levels at the end.
6147         Replace Lisp calls to delete-backward-char by delete-char.
6148         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
6149         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
6150         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
6151         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
6152         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
6153         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
6154         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
6155         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
6156         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
6157         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
6158         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
6159         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
6160         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
6161         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
6162         delete-backward-char by calls to delete-char.
6164 2010-05-25  Kenichi Handa  <handa@m17n.org>
6166         * language/hebrew.el (hebrew-shape-gstring): New function.
6167         Register it in composition-function-table for all Hebrew combining
6168         characters.
6170 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6172         * epa.el (epa--select-keys): Don't explicitly delete the window since
6173         that can fail (e.g. sole window in frame).  Use dedication instead.
6175 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
6177         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
6179 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
6181         * image.el (image-refresh): Define as an alias for image-flush.
6183         * image-mode.el (image-toggle-display-image): Caller changed.
6185 2010-05-21  Juri Linkov  <juri@jurta.org>
6187         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
6188         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
6189         whitespace, call wildcard-to-regexp on substrings and concat them
6190         with "\\|".  (Bug#6114)
6192 2010-05-21  Alan Mackenzie  <acm@muc.de>
6194         * progmodes/cc-engine.el (c-parse-state-get-strategy):
6195         Replace parameter `here' with `here-' and `here-plus', which sandwich
6196         any pertinent CPP construct.
6197         (c-remove-stale-state-cache-backwards): Fix a bug which happens
6198         when doing (c-parse-state) in a CPP construct: Exclude any "new"
6199         CPP construct from taking part in the scanning.
6201 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
6203         * net/tramp.el (tramp-do-copy-or-rename-file)
6204         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
6205         Tune `with-progress-reporter' messages.
6206         (tramp-handle-vc-registered):
6207         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
6208         (tramp-fish-handle-insert-file-contents)
6209         (tramp-fish-maybe-open-connection):
6210         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6211         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
6212         (tramp-imap-handle-insert-file-contents)
6213         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6215 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
6217         * add-log.el (change-log-font-lock-keywords):
6218         Highlight all authors in multi-author entries.
6220         * smerge-mode.el (smerge-refine-ignore-whitespace)
6221         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
6222         Fix typos in docstrings.
6223         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
6225 2010-05-21  Glenn Morris  <rgm@gnu.org>
6227         * progmodes/fortran.el (fortran-mode):
6228         * progmodes/f90.el (f90-mode): Derive from prog-mode.
6230         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
6231         having a relative path in src/Makefile.in.
6233 2010-05-20  Kevin Ryde  <user42@zip.com.au>
6235         * help-mode.el (help-make-xrefs): For Info node links turn
6236         newlines into spaces.  Link node names with newlines are matched
6237         by help-xref-info-regexp and buttonized, this change ensures they
6238         can be followed successfully with RET.  (Bug#6206)
6240 2010-05-20  Juri Linkov  <juri@jurta.org>
6242         * locate.el (locate): Use pop-to-buffer instead of
6243         switch-to-buffer-other-window.  (Bug#6204)
6245 2010-05-20  Juri Linkov  <juri@jurta.org>
6247         * replace.el (replace-highlight): Fix lazy-highlighting
6248         for `M-s w str M-% str RET'.
6250 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
6252         * isearch.el (isearch-yank-word-or-char): Pull next subword
6253         when `subword-mode' is activated.  (Bug#6220)
6255 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
6257         * isearch.el (isearch-update-post-hook): New hook.
6258         (isearch-update): Use the new hook.  (Bug#6225)
6260 2010-05-20  Juri Linkov  <juri@jurta.org>
6262         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
6263         [f1], [help], and (char-to-string help-char) instead of "\C-h".
6264         (Bug#6222)
6266 2010-05-20  Juri Linkov  <juri@jurta.org>
6268         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
6269         (Bug#6223)
6271 2010-05-20  Juri Linkov  <juri@jurta.org>
6273         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
6274         FILE-NAME to read from the minibuffer when called interactively
6275         with prefix argument instead of using buffer-file-name.
6276         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
6278         * dired.el: Update autoloads.
6280 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
6282         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
6283         nxml-finish-element, for consistency with SGML mode.
6285         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
6286         octave-close-block.
6288 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
6290         * composite.el: Require cl when compiling.
6291         (reference-point-alist, compose-gstring-for-graphic)
6292         (compose-gstring-for-terminal): Fix typos in docstrings.
6294 2010-05-19  Juri Linkov  <juri@jurta.org>
6296         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
6297         set-window-parameter.
6299 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
6301         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
6302         where appropriate.
6303         (tramp-maybe-open-connection): Use it.
6305 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
6307         * simple.el (move-end-of-line): Make sure we are at line beginning
6308         before backing up to end of previous line.
6310 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
6312         * password-cache.el (password-cache-remove): Fix docstring.
6314         * net/secrets.el: Autoload the widget functions.
6315         (secrets-search-items, secrets-create-item)
6316         (secrets-get-attributes, secrets-expand-item): Attributes will be
6317         stored on the password database without leading ":", as all other
6318         clients do as well.
6319         (secrets-mode): Fix docstring.
6320         (secrets-show-secrets): Provide it as autoloaded command only when
6321         D-Bus support is available.  Check existence of Secret Service API.
6323 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6325         * indent.el (indent-region): Deactivate region (bug#6200).
6327 2010-05-19  Glenn Morris  <rgm@gnu.org>
6329         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
6331 2010-05-19  Kenichi Handa  <handa@m17n.org>
6333         * composite.el: Register compose-gstring-for-graphic in
6334         composition-function-table only for combining characters (Mn, Mc, Me).
6336 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
6338         * calc/calc-trail.el (calc-trail-isearch-forward)
6339         (calc-trail-isearch-backward): Ensure that the new window
6340         point is set correctly.
6342 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6344         * subr.el (read-quoted-char): Resolve modifiers after key
6345         remapping (bug#6212).
6347 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
6349         Add visualization code for secrets.
6350         * net/secrets.el (secrets-mode): New major mode.
6351         (secrets-show-secrets, secrets-show-collections)
6352         (secrets-expand-collection, secrets-expand-item)
6353         (secrets-tree-widget-after-toggle-function)
6354         (secrets-tree-widget-show-password): New defuns.
6356 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6358         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
6359         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
6360         handled in smie-next-sexp.
6361         (smie-indent-calculate): Provide a starting indentation (so the
6362         recursion is well-founded ;-).
6364         Fix handling of non-associative equal levels.
6365         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
6366         when it's not needed.
6367         (smie-op-left, smie-op-right): New functions.
6368         (smie-next-sexp): New function, extracted from smie-backward-sexp.
6369         Better handle equal levels to distinguish the associative case from
6370         the "multi-keyword construct" case.
6371         (smie-backward-sexp, smie-forward-sexp): Use it.
6373 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
6375         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
6377         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
6378         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
6380 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6382         Provide a simple generic indentation engine and use it for Prolog.
6383         * emacs-lisp/smie.el: New file.
6384         * progmodes/prolog.el (prolog-smie-op-levels)
6385         (prolog-smie-indent-rules): New var.
6386         (prolog-mode-variables): Use them to configure SMIE.
6387         (prolog-indent-line, prolog-indent-level): Remove.
6389 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
6391         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
6392         order before computing the averages.
6394 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
6396         * calc/calc-vec.el (calc-histogram):
6397         (calcFunc-histogram): Allow vectors as inputs.
6398         (math-vector-avg): New function.
6400         * calc/calc-ext.el (math-group-float): Have the number of digits
6401         being grouped depend on the radix (Bug#6189).
6403 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
6405         * version.el (emacs-copyright, emacs-version): Don't define here,
6406         now that emacs.c defines it.
6408 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
6410         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
6411         "Describe Language Environment" menu item.
6413         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
6415         Bidi-sensitive movement with arrow keys.
6416         * subr.el (right-arrow-command, left-arrow-command): New functions.
6418         * bindings.el (global-map): Bind them to right and left arrow keys.
6420         Don't override standard definition of convert-standard-filename.
6421         * files.el (convert-standard-filename): Call
6422         w32-convert-standard-filename and dos-convert-standard-filename on
6423         the corresponding systems.
6425         * w32-fns.el (w32-convert-standard-filename): Rename from
6426         convert-standard-filename.  Doc fix.
6428         * dos-fns.el (dos-convert-standard-filename): Doc fix.
6429         (convert-standard-filename): Don't defalias.
6430         (register-name-alist, make-register, register-value)
6431         (set-register-value, intdos): Obsolete aliases for the
6432         corresponding dos-* functions and variables.
6433         (dos-intdos): Add a doc string.
6435 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
6437         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
6438         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
6439         (math-compose-tex-func):
6440         * calc/calccomp.el (math-compose-expr):
6441         * calc/calc-ext.el (math-format-flat-expr-fancy):
6442         * calc/calc-store.el (calc-read-var-name):
6443         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
6445         * calc/calc.el (var-π, var-φ, var-γ): New variables.
6446         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
6447         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
6448         (math-standard-units): Add units.
6450 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6452         * progmodes/asm-mode.el (asm-mode):
6453         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
6455         * pcomplete.el (pcomplete-completions-at-point): New function,
6456         extracted from pcomplete-std-complete.
6457         (pcomplete-std-complete): Use it.
6459 2010-05-15  Glenn Morris  <rgm@gnu.org>
6461         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6462         Remove references to CVS, RCS and Old directories.
6464 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
6466         * calc/calc-bin.el (math-format-twos-complement): Group digits when
6467         appropriate.
6469 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6471         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
6472         (sh-mode-syntax-table): Give it a default value instead.
6473         (sh-header-marker): Make buffer-local.
6474         (sh-mode): Move make-local-variable to the corresponding setq.
6475         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
6476         Use complete-with-action.
6478         * simple.el (prog-mode): New (abstract) major mode.
6479         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
6480         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
6482 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
6484         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
6485         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
6486         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
6487         (sql-make-alternate-buffer-name, sql-placeholders-filter)
6488         (sql-escape-newlines-filter, sql-input-sender)
6489         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
6491 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
6493         Add TeX open-block and close-block keybindings to SGML, and vice versa.
6495         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
6496         latex-open-block and C-c / to latex-close-block.
6498         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
6499         and C-c C-e to sgml-close-tag.
6501 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
6503         * net/tramp.el (with-progress-reporter): Create reporter object
6504         only when the message would be displayed.  Handle nested calls.
6505         (tramp-handle-load, tramp-handle-file-local-copy)
6506         (tramp-handle-insert-file-contents, tramp-handle-write-region)
6507         (tramp-maybe-send-script, tramp-find-shell):
6508         Use `with-progress-reporter'.
6509         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
6510         Fix message text.
6512         * net/tramp-smb.el (tramp-smb-handle-copy-file)
6513         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6514         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6515         Use `with-progress-reporter'.
6517 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
6519         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
6520         process everytime when spellchecking from the minibuffer (bug#6143).
6522 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6524         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
6526         * dos-fns.el: Add "dos-" prefix for namespace control.
6527         (convert-standard-filename): Define as alias for
6528         dos-convert-standard-filename but only if applicable.
6530 2010-05-12  Alan Mackenzie  <acm@muc.de>
6532         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
6533         Push the mark at the start of these functions when appropriate.
6535 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6537         * minibuffer.el (completion-cycle-threshold): New custom var.
6538         (completion--do-completion): Use it.
6539         (minibuffer-complete): Use cycling if appropriate.
6541 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
6543         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
6544         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
6546 2010-05-11  Juri Linkov  <juri@jurta.org>
6548         * scroll-all.el (scroll-all-check-to-scroll):
6549         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
6551 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6553         * iimage.el (iimage-mode-map): Move initialization into declaration.
6554         (iimage-mode-buffer): Use with-silent-modifications.
6555         Simplify calling convention.  Adjust callers.
6556         (iimage-mode): Don't run hook redundantly.
6558         * minibuffer.el (completion-pcm--pattern->regex):
6559         Fix last change (bug#6160).
6561 2010-05-10  Juri Linkov  <juri@jurta.org>
6563         Remove nodes visited during Isearch from the Info history.
6564         * info.el (Info-isearch-initial-history)
6565         (Info-isearch-initial-history-list): New variables.
6566         (Info-isearch-start): Record initial values of
6567         Info-isearch-initial-history and Info-isearch-initial-history-list.
6568         Add Info-isearch-end to isearch-mode-end-hook.
6569         (Info-isearch-end): New function.
6571 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
6573         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
6574         format string, in order to work around a bug in pdksh.
6575         Reported by Gilles Pion <gpion@lfdj.com>.
6576         (tramp-handle-verify-visited-file-modtime): Do not send a command
6577         when the connection is not established.
6578         (tramp-handle-set-file-times): Simplify the check for utc.
6580 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
6582         Fix use of `filter-buffer-substring' (rework previous change).
6583         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
6584         (cua-repeat-replace-region):
6585         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
6586         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
6587         (cua-cut-region-to-global-mark): Use it.
6589 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
6591         * progmodes/sql.el: Version 2.1.
6592         (sql-product-alist): Redesign structure of product info.
6593         (sql-product, sql-user, sql-server, sql-database): Safe variables.
6594         (sql-port, sql-port-history): New variables.
6595         (sql-interactive-product): New variable.
6596         (sql-send-terminator): New variable.
6597         (sql-imenu-generic-expression): Add "Types" imenu entry.
6598         (sql-oracle-login-params, sql-sqlite-login-params)
6599         (sql-mysql-login-params, sql-solid-login-params)
6600         (sql-sybase-login-params, sql-informix-login-params)
6601         (sql-ingres-login-params, sql-ms-login-params)
6602         (sql-postgres-login-params, sql-interbase-login-params)
6603         (sql-db2-login-params, sql-linter-login-params)
6604         (sql-oracle-scan-on): New variables.
6605         (sql-mode-map): Add C-c C-i to start interactive mode.
6606         (sql-mode-menu): Update existing menu entries.
6607         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
6608         (sql-mode-oracle-font-lock-keywords)
6609         (sql-mode-postgres-font-lock-keywords)
6610         (sql-mode-ms-font-lock-keywords)
6611         (sql-mode-sybase-font-lock-keywords)
6612         (sql-mode-informix-font-lock-keywords)
6613         (sql-mode-interbase-font-lock-keywords)
6614         (sql-mode-ingres-font-lock-keywords)
6615         (sql-mode-solid-font-lock-keywords)
6616         (sql-mode-mysql-font-lock-keywords)
6617         (sql-mode-sqlite-font-lock-keywords)
6618         (sql-mode-db2-font-lock-keywords)
6619         (sql-mode-linter-font-lock-keywords): Update initialization to
6620         reduce run-time complexity.
6621         (sql-add-product, sql-del-product): New functions.
6622         (sql-set-product-feature, sql-get-product-feature): New functions.
6623         (sql-product-font-lock): Update product API.
6624         (sql-add-product-keywords): New function.
6625         (sql-highlight-product): Update product API.
6626         (sql-help-list-products): New function.
6627         (sql-help): Dynamically lists free and non-free products.
6628         (sql-get-login): Correct bug in handling history and added
6629         prompt for port.
6630         (sql-copy-column): Copy without properties.
6631         (sqli-input-sender): Apply filters to SQLi input.
6632         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
6633         Implement as a filter.
6634         (sql-escape-newlines-filter): Implement as a filter.
6635         (sql-remove-tabs-filter): New function.
6636         (sql-send-magic-terminator): New function.
6637         (sql-send-string): Implement magic terminator.
6638         (sql-send-region): Use `sql-send-string'.
6639         (sql-interactive-mode): Use product API.
6640         (sql-product-interactive): Use product API.
6641         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
6642         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
6643         (sql-db2, sql-linter): Use `sql-product-interactive'.
6644         (sql-connect): New function.
6645         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
6646         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
6647         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
6648         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
6649         Use `sql-connect'.
6651 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6653         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
6654         New custom variable.
6655         (completion-pcm--string->pattern): Use it.
6656         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
6657         Make it handle any symbol as `any'.
6658         (completion-pcm--merge-completions): Extract common suffix for the new
6659         `prefix' symbol as well.
6660         (completion-substring--all-completions): Use the new `prefix' symbol.
6662 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
6664         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
6665         not bound.
6666         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6667         (tramp-compat-funcall): New defmacro.
6668         (tramp-compat-line-beginning-position)
6669         (tramp-compat-line-end-position)
6670         (tramp-compat-temporary-file-directory)
6671         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6672         (tramp-compat-copy-file, tramp-compat-copy-directory)
6673         (tramp-compat-delete-file, tramp-compat-delete-directory)
6674         (tramp-compat-number-sequence, tramp-compat-process-running-p)
6675         * net/tramp.el (top, with-progress-reporter)
6676         (tramp-rfn-eshadow-setup-minibuffer)
6677         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6678         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6679         (tramp-completion-mode-p, tramp-check-for-regexp)
6680         (tramp-open-connection-setup-interactive-shell)
6681         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6682         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6683         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
6684         * net/tramp-cmds.el (tramp-cleanup-all-connections)
6685         (tramp-reporter-dump-variable, tramp-load-report-modules)
6686         (tramp-append-tramp-buffers)
6687         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
6689         * net/tramp-imap.el (top): Autoload `epg-make-context'.
6691 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6693         * progmodes/compile.el (compilation-buffer-modtime): Rename from
6694         buffer-modtime.  Adjust users.
6696 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
6698         * international/mule.el (auto-coding-alist): Only purecopy
6699         car of each item, not the whole list (Bug#6083).
6701 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
6703         * progmodes/js.el (js-mode): Make paragraph variables local before
6704         calling c-setup-paragraph-variables (Bug#6071).
6706 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
6708         * composite.el (compose-region, reference-point-alist): Fix typos
6709         in the doc strings.
6711 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
6713         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
6714         gnuplot's "set" command.
6716 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
6718         * abbrev.el (last-abbrev-text): Doc fix.
6719         (abbrev-prefix-mark): Don't escape parenthesis.
6721 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
6723         * composite.el (find-composition): Doc fix.
6725 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
6727         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
6728         (sql-oracle-program, sql-sqlite-options)
6729         (sql-query-placeholders-and-send): Doc fixes.
6730         (sql-set-product, sql-interactive-mode): Reflow docstrings.
6731         (sql-imenu-generic-expression, sql-buffer)
6732         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
6733         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
6734         (sql-mode-sybase-font-lock-keywords)
6735         (sql-mode-informix-font-lock-keywords)
6736         (sql-mode-interbase-font-lock-keywords)
6737         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
6738         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
6739         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
6740         (sql-product-feature, sql-highlight-product)
6741         (comint-line-beginning-position, sql-rename-buffer)
6742         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
6743         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
6744         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
6745         Fix typos in docstrings.
6747 2010-05-08  Juri Linkov  <juri@jurta.org>
6749         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
6750         property instead of `invisible' and `after-string' (bug#5998).
6752 2010-05-08  Juri Linkov  <juri@jurta.org>
6754         * image-mode.el (image-mode-as-text): Fix typo in docstring.
6756 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
6758         * filecache.el (file-cache-add-directory-list)
6759         (file-cache-add-directory-recursively): Fix typos in docstrings.
6761 2010-05-08  Kenichi Handa  <handa@m17n.org>
6763         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
6764         (gujarati-composable-pattern): Fix typo.
6766 2010-05-08  Kenichi Handa  <handa@m17n.org>
6768         * language/indian.el (oriya-composable-pattern)
6769         (tamil-composable-pattern, malayalam-composable-pattern):
6770         Add two-part vowels to "v" (vowel sign).
6772 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
6774         * files.el (copy-directory): Handle symlinks (Bug#5982).
6776 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
6778         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
6779         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
6780         (Bug#5846).
6782 2010-05-08  Glenn Morris  <rgm@gnu.org>
6784         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
6786         * minibuffer.el (completion-at-point): Doc fix.
6788 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6790         * electric.el (Electric-command-loop): Minor tweak.
6792         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
6793         better with dedicated windows.
6795 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
6797         * Version 23.2 released.
6799 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
6800             Stefan Monnier  <monnier@iro.umontreal.ca>
6802         Highlight vendor specific properties.
6803         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
6804         (css-proprietary-property): New face.
6805         (css-font-lock-keywords): Use them.
6807 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
6809         * cus-start.el (all): Add native condition for tool-bar-* symbols.
6811 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6813         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
6814         * files.el (auto-mode-alist): Remove redundant entries.
6816         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
6817         * simple.el (auto-save-mode): Move from files.el.
6818         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
6820 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
6822         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
6824 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
6826         * mail/binhex.el (binhex-decode-region-internal)
6827         * mail/uudecode.el (uudecode-decode-region-internal)
6828         * net/dns.el (dns-read-string-name, dns-write, dns-read)
6829         (dns-read-type, dns-query)
6830         * pgg-parse.el (pgg-parse-armor)
6831         * pgg.el (pgg-verify-region)
6832         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
6833         XEmacs.
6835         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
6837 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
6839         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
6841         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
6842         * emulation/cua-base.el (cua-repeat-replace-region):
6843         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
6844         (cua-cut-region-to-global-mark):
6845         Remove text properties with `set-text-properties'.
6847 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
6849         * net/tramp.el (top, with-progress-reporter):
6850         Use `symbol-function' inside `funcall'.
6852         * net/tramp-compat.el (tramp-compat-file-attributes)
6853         (tramp-compat-delete-file, tramp-compat-delete-directory):
6854         Handle only `wrong-number-of-arguments' error.
6856         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
6857         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
6858         inside `funcall'.
6860 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6862         * minibuffer.el (completion--sreverse, completion--common-suffix):
6863         New functions.
6864         (completion-pcm--merge-completions): Extract common suffix when safe.
6866         * emacs-lisp/easy-mmode.el (define-minor-mode):
6867         Make :variable more flexible.
6868         * files.el (auto-save-mode): Use it to define using define-minor-mode.
6870 2010-05-05  Juri Linkov  <juri@jurta.org>
6872         Add `slow' and `history' tags to the desktop data.
6874         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
6875         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
6876         (Info-finder-find-node): Require `finder.el' to be able
6877         to restore node from the desktop.
6878         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
6879         data `Info-history' and `slow' tag in the assoc list.
6880         (Info-restore-desktop-buffer): Don't restore nodes with the
6881         `slow' tag.  Restore `Info-history'.
6883 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
6885         Add FORCE argument to `delete-file'.
6887         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
6888         forcing to delete the temporary file.
6889         (ange-ftp-delete-file): Add FORCE arg.
6890         (ange-ftp-rename-remote-to-remote)
6891         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
6892         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
6893         Force file deletion.
6895         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
6897         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
6898         (tramp-handle-make-symbolic-link, tramp-handle-load)
6899         (tramp-do-copy-or-rename-file-via-buffer)
6900         (tramp-do-copy-or-rename-file-directly)
6901         (tramp-do-copy-or-rename-file-out-of-band)
6902         (tramp-handle-process-file, tramp-handle-call-process-region)
6903         (tramp-handle-shell-command, tramp-handle-file-local-copy)
6904         (tramp-handle-insert-file-contents, tramp-handle-write-region)
6905         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
6907         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
6908         (tramp-fish-handle-make-symbolic-link)
6909         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
6911         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
6912         Use `tramp-compat-delete-file'.
6914         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
6915         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
6917         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
6918         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
6920         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
6921         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
6922         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
6923         `tramp-compat-delete-file'.
6925 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6927         Minor cleanups.
6928         * subr.el (add-minor-mode): Use push.
6929         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
6930         * emulation/edt.el (edt-select-mode): Simplify.
6932         Use define-minor-mode in more cases.
6933         * term/tvi970.el (tvi970-set-keypad-mode):
6934         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6935         (normal-erase-is-backspace-mode):
6936         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
6937         (set-scroll-bar-mode-1): (Re)move to its sole caller.
6938         (get-scroll-bar-mode): New function.
6939         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
6941         Use define-minor-mode for less obvious cases.
6942         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
6943         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
6944         * international/iso-ascii.el (iso-ascii-mode):
6945         * frame.el (auto-raise-mode, auto-lower-mode):
6946         * composite.el (global-auto-composition-mode): Use define-minor-mode.
6948 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
6950         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
6951         in order to see error messages for failed logins.
6953 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
6955         * diff.el (diff-sentinel):
6957         * epg.el (epg--make-temp-file, epg-decrypt-string)
6958         (epg-verify-string, epg-sign-string, epg-encrypt-string):
6960         * jka-compr.el (jka-compr-partial-uncompress)
6961         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
6963         * server.el (server-sentinel): Use delete-file's new FORCE arg
6964         (Bug#6070).
6966 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6968         Use define-minor-mode where applicable.
6969         * view.el (view-mode):
6970         * type-break.el (type-break-query-mode)
6971         (type-break-mode-line-message-mode):
6972         * textmodes/reftex.el (reftex-mode):
6973         * term/vt100.el (vt100-wide-mode):
6974         * tar-mode.el (tar-subfile-mode):
6975         * savehist.el (savehist-mode):
6976         * ibuf-ext.el (ibuffer-auto-mode):
6977         * composite.el (auto-composition-mode):
6978         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6979         Use define-minor-mode.
6980         (vhdl-mode): Use static mode-line format.
6981         (vhdl-mode-line-update): Delete.
6982         (vhdl-create-mode-menu, vhdl-activate-customizations)
6983         (vhdl-hs-minor-mode): Don't bother calling it.
6985 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6987         * simple.el (with-wrapper-hook): Move.
6988         (buffer-substring-filters): Mark obsolete.
6989         (filter-buffer-substring-functions): New variable.
6990         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
6992 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
6993             Michael Albinus  <michael.albinus@gmx.de>
6995         Implement compression for inline methods.
6997         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6998         (tramp-copy-size-limit): Allow also nil.
6999         (tramp-inline-compress-commands): New defconst.
7000         (tramp-find-inline-compress, tramp-get-inline-compress)
7001         (tramp-get-inline-coding): New defuns.
7002         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
7003         replaced by `tramp-get-inline-coding'.
7004         (tramp-handle-file-local-copy, tramp-handle-write-region)
7005         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
7007 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7009         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
7010         Remove unused functions.
7012         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
7013         Set find-tag-default-function as a variable rather than a property.
7015         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
7016         * progmodes/etags.el (tags-completion-at-point-function):
7017         Remove left over interactive spec.  Add autoloading stub.
7018         (complete-tag): Use tags-completion-at-point-function.
7020 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
7022         * minibuffer.el (tags-completion-at-point-function): Fix return value.
7024 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
7026         * ido.el (ido-init-completion-maps): Remove C-v binding.
7027         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
7029 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
7031         * minibuffer.el (tags-completion-at-point-function): New function.
7032         (completion-at-point-functions): Use it.
7034         * progmodes/etags.el (complete-tag): Revert last change.
7036 2010-04-29  Alan Mackenzie  <acm@muc.de>
7038         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
7039         off-by-one error (in end of macro position).
7041 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7043         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
7044         firefox is absent.  Don't autoload.
7045         (browse-url-galeon-program): Don't autoload.
7047 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
7049         * bindings.el (complete-symbol): Move into minibuffer.el.
7051         * minibuffer.el (complete-tag): Move from etags.el.  If tags
7052         completion cannot be performed, return nil instead of signalling
7053         an error.
7054         (completion-at-point): Make it an alias for complete-symbol.
7055         (complete-symbol): Move from bindings.el, and replace with the
7056         body of completion-at-point.
7058         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
7060 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
7062         * net/tramp.el (tramp-remote-selinux-p): New defun.
7063         (tramp-handle-file-selinux-context)
7064         (tramp-handle-set-file-selinux-context): Use it.
7066 2010-04-28  Sam Steingold  <sds@gnu.org>
7068         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
7069         `safe-local-variable' if the value is a string or a symbol with
7070         the property `bug-reference-url-format'.
7072 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
7074         * progmodes/bug-reference.el (bug-reference-url-format):
7075         Revert 2010-04-27 change due to security risk.
7077 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7079         Make it possible to locally disable a globally enabled mode.
7080         * simple.el (fundamental-mode): Run fundamental-mode-hook.
7081         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
7082         rather than kill-all-local-variables so it runs fundamental-mode-hook.
7083         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7084         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
7085         that subsequent hooks get a chance to disable it.
7087 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7089         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7090         Avoid re-enabling a minor mode after the user turned the minor mode
7091         off if MODE-enable-in-buffers is run twice (typically once from
7092         fundamental-mode's after-change-major-mode-hook and a second time from
7093         run-mode-hook's own after-change-major-mode-hook).
7095         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
7097 2010-04-27  Sam Steingold  <sds@gnu.org>
7099         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
7100         `safe-local-variable' if the value is a string or a function, as
7101         documented and implemented on 2010-04-02.
7103 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
7105         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
7106         when method is 'kill.
7108 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
7110         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
7111         condition in default directory check.
7112         (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
7113         Kill ispell process when killing its associated buffer.
7115 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
7117         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
7118         but we aren't using it.
7120 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
7122         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
7123         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
7125 2010-04-24  Glenn Morris  <rgm@gnu.org>
7127         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
7128         Ignore VCS-ignore files, and deleted nextstep preferences files.
7129         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
7130         (authors-ambiguous-files): New list.
7131         (authors-valid-file-names): Add some deleted files.
7132         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
7133         (authors-disambiguate-file-name): New function.  (Bug#5501)
7134         (authors-canonical-file-name): Doc fix.
7135         Don't warn about obsolete files.
7136         (authors-canonical-file-name, authors-scan-el):
7137         Use authors-disambiguate-file-name.
7139         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
7140         Add autoload cookies.
7141         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
7142         (generated-autoload-file): Set file-local value to "htmlfontify.el".
7143         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
7144         They have definitions / compiler macros in cl.el.
7145         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
7146         Replace manual autoloads with generated ones.
7147         (htmlfontify-unload-rgb-file): Remove autoload.
7148         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
7150 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7152         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
7153         (byte-compile-setq-default): Optimize for the
7154         single-var case and don't call byte-compile-form in this case to avoid
7155         inf-loop with byte-compile-set-default.
7157         * progmodes/compile.el (compilation-start): Abbreviate default directory.
7159 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
7161         Implement SELINUX backends.
7163         * net/tramp.el (tramp-file-name-handler-alist):
7164         Add `file-selinux-context' and `set-file-selinux-context'.
7165         (tramp-handle-file-selinux-context)
7166         (tramp-handle-set-file-selinux-context): New defuns.
7167         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
7168         Handle PRESERVE-SELINUX-CONTEXT.
7170         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7171         Add `file-selinux-context' and `set-file-selinux-context'.
7172         (tramp-gvfs-handle-file-selinux-context)
7173         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
7174         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
7176         * net/ange-ftp.el (ange-ftp-copy-file):
7177         * net/tramp-fish.el (tramp-fish-handle-copy-file):
7178         * net/tramp-imap.el (tramp-imap-handle-copy-file):
7179         * net/tramp-smb.el (tramp-smb-handle-copy-file):
7180         Add PRESERVE-SELINUX-CONTEXT.
7182 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
7184         Synchronize with Tramp repository.
7186         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
7187         (tramp-action-process-alive, tramp-action-out-of-band)
7188         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
7189         (tramp-exists-file-name-handler): Fix docstring.
7190         (with-progress-reporter): New defmacro.
7191         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
7192         (tramp-maybe-open-connection): Use it.
7194 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
7196         Detect ssh 'ControlMaster' argument automatically in some cases.
7198         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
7199         (tramp-default-method): Use it.
7201 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
7203         * net/tramp.el (tramp-handle-copy-file): Add new optional
7204         parameter `preserve-selinux-context'.
7205         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
7207 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
7209         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
7210         Ensure, that non remote files are still checked.  Oops.
7212 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
7214         Fix Bug#5840.
7216         * icomplete.el (icomplete-completions): Use `non-essential'.
7218         * net/tramp.el (tramp-connectable-p): New defun.
7219         (tramp-handle-expand-file-name)
7220         (tramp-completion-handle-file-name-all-completions)
7221         (tramp-completion-handle-file-name-completion): Use it.
7223 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7225         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
7227 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
7229         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
7231         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
7233         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
7234         is present.
7236         * info.el (info-tool-bar-map): Add labels.
7238         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
7240         * cus-edit.el (custom-commands): Add labels for tool bar.
7241         (custom-buffer-create-internal, Custom-mode): Adjust for
7242         labels in custom-commands.
7244         * dynamic-setting.el: Renamed from font-setting.el.
7246 2010-04-21  John Wiegley  <jwiegley@gmail.com>
7248         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
7249         toggles the use of virtual buffers.
7250         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
7251         (ido-toggle-virtual-buffers): New function.
7253 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
7255         Use `define-derived-mode'; fix window selection; doc fixes.
7256         * play/tetris.el (tetris, tetris-update-speed-function)
7257         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
7258         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
7259         (tetris-rotate-next, tetris-end-game, tetris-start-game)
7260         (tetris-pause-game): Fix typos in docstrings.
7261         (tetris-mode-map, tetris-null-map):
7262         Move initialization into declaration.
7263         (tetris-mode): Define with `define-derived-mode';
7264         set show-trailing-whitespace to nil.
7265         (tetris): Prefer window already displaying the "*Tetris*" buffer.
7267 2010-04-21  Karel Klíč  <kklic@redhat.com>
7269         * files.el (backup-buffer): Handle SELinux context, and return it
7270         if a backup was made by renaming.
7271         (backup-buffer-copy): Set SELinux context to the target file.
7272         (basic-save-buffer): Set SELinux context of the newly written file.
7273         (basic-save-buffer-1): Now it also returns any SELinux context.
7274         (basic-save-buffer-2): Set SELinux context of the newly created file,
7275         and return it.
7276         * net/tramp.el (tramp-file-name-for-operation):
7277         Add file-selinux-context.
7279 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7281         Make the log-edit comments use RFC822 format throughout.
7283         * vc.el (vc-checkin, vc-modify-change-comment):
7284         Adjust to new vc-start/finish-logentry.
7285         (vc-find-conflicted-file): New command.
7286         (vc-transfer-file): Adjust to new vc-checkin.
7287         (vc-next-action): Improve scoping.
7289         * vc-hg.el (vc-hg-log-edit-mode): Remove.
7290         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
7292         * vc-git.el (vc-git-log-edit-mode): Remove.
7293         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
7294         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
7296         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
7297         (vc-start-logentry): Remove argument `extra'.
7298         (vc-finish-logentry): Remove extra args.
7300         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
7301         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
7302         (vc-bzr-conflicted-files): New function.
7304         * log-edit.el (log-edit-extra-flags)
7305         (log-edit-before-checkin-process): Remove.
7306         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
7307         (log-edit-headers-alist): New var.
7308         (log-edit-header-contents-regexp): New const.
7309         (log-edit-match-to-eoh): New function.
7310         (log-edit-font-lock-keywords): Use them.
7311         (log-edit): Insert a "Summary:" header as default.
7312         (log-edit-mode): Mark font-lock rules as case-insensitive.
7313         (log-edit-done): Cleanup headers.
7314         (log-view-process-buffer): Remove.
7315         (log-edit-extract-headers): New function to replace it.
7317 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
7319         * subr.el (default-direction-reversed): Remove obsolescence info.
7321 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7323         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
7324         windows/frames.
7326         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
7327         I.e. include text after point in the completion region.
7328         Also, return nil when we're not after/in a symbol.
7330         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
7331         default enable-multibyte-characters.
7333 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7335         * international/mule.el: Help the user choose a valid coding-system.
7336         (read-buffer-file-coding-system): New function.
7337         (set-buffer-file-coding-system): Use it.  Prompt the user if the
7338         coding-system cannot encode all the chars.
7340         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
7341         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
7342         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
7343         Don't use *vc-bzr-shelve*.
7345 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
7347         Fix the version number for added files.
7348         * vc-hg.el (vc-hg-working-revision): Check if the file is
7349         registered after hg parent fails (Bug#5961).
7351 2010-04-19  Glenn Morris  <rgm@gnu.org>
7353         * htmlfontify.el (htmlfontify-buffer)
7354         (htmlfontify-copy-and-link-dir): Autoload entry points.
7356 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
7358         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
7359         name relative to the project root (Bug#5960).
7361 2010-04-19  Glenn Morris  <rgm@gnu.org>
7363         * vc-git.el (vc-git-print-log): Doc fix.
7365 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
7367         * ido.el (ido-file-internal): Fix 2009-12-02 change.
7369 2010-04-19  Christoph  <cschol2112@googlemail.com>  (tiny change)
7371         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
7372         default settings (Bug#5928).
7374 2010-04-19  Glenn Morris  <rgm@gnu.org>
7376         * progmodes/fortran.el (fortran-match-and-skip-declaration):
7377         New function.
7378         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
7380 2010-04-19  Kenichi Handa  <handa@m17n.org>
7382         * language/indian.el (malayalam-composable-pattern): Fix previous
7383         change (add U+0D4D "SIGN VIRAMA").
7384         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
7385         (tamil-composable-pattern): Fix typo in the regexp.
7386         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
7387         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
7388         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
7390 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
7392         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
7393         paragraph-separate (Bug#5821).
7395 2010-04-19  Juri Linkov  <juri@jurta.org>
7397         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
7399         * info.el (Info-find-node-2): Comment out code that skips
7400         breadcrumbs line.
7401         (Info-mouse-follow-link): New command.
7402         (Info-link-keymap): New keymap.
7403         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
7404         Return a string with links instead of inserting breadcrumbs
7405         to the Info buffer.
7406         (Info-fontify-node): Comment out code that inserts breadcrumbs.
7407         Instead of putting the `invisible' text property over the Info
7408         header, make an overlay over the Info header with the `invisible'
7409         property and `after-string' set to the string returned by
7410         `Info-breadcrumbs'.
7412 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
7414         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
7415         Reported by monkey@sandpframing.com.
7417 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7419         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
7420         (tmm-get-keymap): Add key-binding shortcuts now that they're not
7421         available in the "keyseq cache" any more.
7423         * custom.el (defcustom): Add edebug spec.
7425 2010-04-18  Juri Linkov  <juri@jurta.org>
7427         Test for special mode-class in view-buffer instead of view-file (bug#5513).
7429         * view.el (view-file, view-buffer): Move test for special mode-class
7430         from view-file to view-buffer.
7432         * tar-mode.el (tar-extract): Turn if's into one cond
7433         like in arc-mode.el.
7435 2010-04-18  Juri Linkov  <juri@jurta.org>
7437         Add 7z archive format support (bug#5475).
7439         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
7440         (archive-7z-extract): New defcustom.
7441         (archive-find-type): Add magic string for 7z.
7442         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
7443         If `stderr-file' is non-nil, use `(t stderr-file)' for the
7444         `buffer' arg of `call-process'.
7445         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
7446         call the function `archive-7z-extract' with the variable
7447         `archive-7z-extract' let-bound to `archive-zip-extract'.
7448         (archive-7z-summarize, archive-7z-extract): New functions.
7450         * international/mule.el (auto-coding-alist):
7451         * files.el (auto-mode-alist): Add 7z file extension.
7453 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7455         * loadup.el: Setup hash-cons for pure data.
7457         Fix duplicate entries in cedet's loaddefs.el files.
7458         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
7459         Should make most file-local generated-autoload-file unnecessary.
7460         (print-readably): Silence warnings.
7461         (autoload-find-destination): Take load-name as an arg to make sure
7462         it's the same as the one that will be in the file.
7463         (autoload-generate-file-autoloads): Adjust to above changes.
7464         Try to make the dataflow a bit simpler.
7466         * cvs-status.el (cvs-refontify): Remove unused.
7468 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
7470         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
7472         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
7473         twos-complement mode.
7475 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
7477         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
7478         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
7479         (calc-inverse): Add "Option" to message, as appropriate.
7480         (calc-hyperbolic): Add "Option" to message, as appropriate.
7481         (calc-option, calc-is-option): New functions.
7483         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
7484         (calc-option-prefix-help): New function.
7486         * calc/calc-misc.el (calc-help): Add "Option" entry.
7488         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
7489         (calc-option-flag): New variable.
7490         (calc-do): Set `calc-option-flag to nil.
7491         (calc-set-mode-line): Add "Opt " as appropriate.
7493 2010-04-16  Juri Linkov  <juri@jurta.org>
7495         Move scrolling commands from simple.el to window.el
7496         because their primitives are implemented in window.c.
7498         * simple.el (scroll-error-top-bottom)
7499         (scroll-up-command, scroll-down-command, scroll-up-line)
7500         (scroll-down-line, scroll-other-window-down)
7501         (beginning-of-buffer-other-window, end-of-buffer-other-window):
7502         * window.el (scroll-error-top-bottom)
7503         (scroll-up-command, scroll-down-command, scroll-up-line)
7504         (scroll-down-line, scroll-other-window-down)
7505         (beginning-of-buffer-other-window, end-of-buffer-other-window):
7506         Move from simple.el to window.el because their primitives are
7507         implemented in window.c.
7509 2010-04-16  Juri Linkov  <juri@jurta.org>
7511         * isearch.el (isearch-lookup-scroll-key): Check both
7512         `isearch-scroll' and `scroll-command' properties.
7513         (scroll-up, scroll-down): Remove `isearch-scroll' property.
7515         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
7517         * simple.el (scroll-up-command, scroll-down-command)
7518         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
7520 2010-04-15  Juri Linkov  <juri@jurta.org>
7522         * simple.el (scroll-up-command, scroll-down-command)
7523         (scroll-up-line, scroll-down-line): Put `scroll-command'
7524         property on the these symbols.  Remove them from
7525         `scroll-preserve-screen-position-commands'.
7527         * mwheel.el (mwheel-scroll): Put `scroll-command' and
7528         `isearch-scroll' properties on the `mwheel-scroll' symbol.
7529         Remove it from `scroll-preserve-screen-position-commands'.
7531         * isearch.el (isearch-allow-scroll): Doc fix.
7533 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
7535         * net/tramp.el (tramp-error-with-buffer): Don't show the
7536         connection buffer when we are in completion mode.
7537         (tramp-file-name-handler): Catch the error for some operations
7538         when we are in completion mode.  This gives the user the chance to
7539         correct the file name in the minibuffer.
7541 2010-04-15  Glenn Morris  <rgm@gnu.org>
7543         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
7545 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
7547         Simplify by using `define-derived-mode'.
7548         * info.el (Info-mode):
7549         * calendar/todo-mode.el (todo-mode):
7550         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
7551         (gomoku-mode-map): Move initialization into declaration.
7553 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
7555         Fix Bug#5840.
7556         * ido.el (ido-file-name-all-completions-1):
7557         * minibuffer.el (minibuffer-completion-help):
7558         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
7560 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7562         * simple.el (non-essential): New var.
7564         Add a new field `location' to bookmarks for non-file bookmarks.
7565         * bookmark.el (bookmark-location): Use the new field, if present.
7566         (bookmark-insert-location): Undo last change, not needed any more.
7567         * man.el (Man-bookmark-make-record):
7568         * woman.el (woman-bookmark-make-record): Add `location' field.
7570 2010-04-14  Juri Linkov  <juri@jurta.org>
7572         * simple.el (scroll-error-top-bottom): New defcustom.
7573         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
7575         * emulation/pc-select.el (pc-select-override-scroll-error):
7576         Obsolete in favor of `scroll-error-top-bottom'.
7578 2010-04-14  Juri Linkov  <juri@jurta.org>
7580         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
7581         `scroll-up-command' and `M-v' to `scroll-down-command'.
7583         * emulation/cua-rect.el (cua--init-rectangles):
7584         * forms.el (forms--change-commands):
7585         * image-mode.el (image-mode-map):
7586         Remap scroll-down-command and scroll-up-command
7587         in addition to scroll-down and scroll-up.
7589 2010-04-14  Juri Linkov  <juri@jurta.org>
7591         * mwheel.el (scroll-preserve-screen-position-commands):
7592         Add mwheel-scroll to this list of commands.
7594         * simple.el (scroll-preserve-screen-position-commands):
7595         Add scroll-up-command, scroll-down-command, scroll-up-line,
7596         scroll-down-line to this list of commands.
7598 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7600         * obsolete/complete.el: Move from lisp/complete.el.
7602         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
7604         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
7605         to the minor mode function now turns the mode ON unconditionally.
7607 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7609         * vc-dir.el (vc-dir-kill-line): New command.
7610         (vc-dir-mode-map): Bind it to C-k.
7612         * bookmark.el (bookmark-insert-location): Handle a nil filename.
7614         * woman.el: Add bookmark declarations to silence the compiler.
7615         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
7616         step to compatibility between man and woman bookmarks.
7617         Adjust for Man-default-bookmark-title renaming.
7618         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
7620         * man.el: Add bookmark declarations to silence the compiler.
7621         (Man-name-local-regexp): Make it match NAME as well.
7622         (Man-getpage-in-background): Return the buffer.
7623         (Man-notify-when-ready): Use `case'.
7624         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
7625         Don't hardcode "NAME".  Simplify.
7626         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
7627         Rename from Man-bookmark-make-record.
7628         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
7629         we have the actual man-args.  Use Man-getpage-in-background rather
7630         than `man' since the arg is already processed.  Let bookmark.el do the
7631         window handling.  Only wait for the relevant process.
7632         Don't forget to autoload.
7634         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
7636 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7638         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
7639         New functions.
7640         (woman-mode): Setup bookmark support.
7642         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
7643         (man-bookmark-jump): New functions.
7644         (Man-mode): Setup bookmark support.
7646 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
7648         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
7649         recognize ssh-keygen prompt (Bug#2817).
7651 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
7653         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
7655 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
7657         Synchronize with Tramp repository.
7659         * net/tramp.el (tramp-completion-function-alist)
7660         (tramp-file-name-regexp, tramp-chunksize)
7661         (tramp-local-coding-commands, tramp-remote-coding-commands):
7662         Fix docstring.
7663         (tramp-remote-process-environment): Use `format' instead of `concat'.
7664         (tramp-handle-directory-files-and-attributes)
7665         (tramp-get-remote-path): Use `copy-tree'.
7666         (tramp-handle-file-name-all-completions): Backward/ XEmacs
7667         compatibility: Use `completion-ignore-case' if
7668         `read-file-name-completion-ignore-case' does not exist.
7669         (tramp-do-copy-or-rename-file-directly): Do not use
7670         `tramp-handle-file-remote-p'.
7671         (tramp-do-copy-or-rename-file-out-of-band):
7672         Use `tramp-compat-delete-directory'.
7673         (tramp-do-copy-or-rename-file-out-of-band)
7674         (tramp-compute-multi-hops, tramp-maybe-open-connection):
7675         Use `format-spec-make'.
7676         (tramp-find-foreign-file-name-handler)
7677         (tramp-advice-make-auto-save-file-name)
7678         (tramp-set-auto-save-file-modes): Remove superfluous check for
7679         `stringp'.  This is done inside `tramp-tramp-file-p'.
7680         (tramp-debug-outline-regexp): New defconst.
7681         (tramp-get-debug-buffer): Use it.
7682         (tramp-check-for-regexp): Use (forward-line 1).
7683         (tramp-set-auto-save-file-modes): Adapt version check.
7685         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
7686         Wrap call of `featurep' for 2nd argument.
7687         (tramp-compat-make-temp-file): Simplify fallback implementation.
7688         (tramp-compat-copy-tree): Remove function.
7689         (tramp-compat-delete-directory): Provide implementation for older
7690         Emacsen.
7692         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
7693         Do not use `tramp-fish-handle-file-attributes.
7695         * net/trampver.el: Update release number.
7697 2010-04-10  Glenn Morris  <rgm@gnu.org>
7699         * progmodes/compile.el (compilation-save-buffers-predicate):
7700         Add missing :version tag.
7702 2010-04-09  Sam Steingold  <sds@gnu.org>
7704         * progmodes/compile.el (compilation-save-buffers-predicate):
7705         Remove the "autoload" cookie.
7707         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
7708         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
7709         and `bug-reference-prog-mode' can be used in hooks directly.
7711 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
7713         Add --author support to git commit.
7714         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
7715         (vc-git-log-edit-mode): New minor mode.
7716         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
7717         New declarations.
7719 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
7721         * vc-hooks.el, vc-git.el: Improve documentation comments.
7723 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7725         Fix some of the problems in defsubst* (bug#5728).
7726         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
7727         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
7729 2010-04-07  Sam Steingold  <sds@gnu.org>
7731         * progmodes/compile.el (compilation-save-buffers-predicate):
7732         New custom variable.
7733         (compile, recompile): Pass it to `save-some-buffers'.
7735 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
7737         * wid-edit.el (widget-choose): Move cursor to the second line of
7738         the buffer (Bug#5695).
7740 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
7742         Add new VC methods: vc-log-incoming and vc-log-outgoing.
7743         * vc.el (vc-print-log-setup-buttons): New function split out from
7744         vc-print-log-internal.
7745         (vc-log-internal-common): New function, a parametrized version of
7746         vc-print-log-internal.
7747         (vc-print-log-internal): Just call vc-log-internal-common with the
7748         right arguments.
7749         (vc-incoming-outgoing-internal):
7750         (vc-log-incoming, vc-log-outgoing): New functions.
7751         (vc-log-view-type): New permanent local variable.
7753         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
7755         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
7756         of the dynamic bound vc-short-log.
7757         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
7759         * vc-git.el (vc-git-log-outgoing): New function.
7760         (vc-git-log-view-mode): Use vc-log-view-type instead
7761         of the dynamic bound vc-short-log.
7763         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
7764         of the dynamic bound vc-short-log.  Highlight the tag.
7765         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
7766         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
7767         (vc-hg-incoming-mode): Remove.
7768         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
7770 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
7772         Fix default-directory for vc-root-diff.
7773         * vc.el (vc-root-diff): Bind default-directory to the root
7774         directory for the diff command.
7776 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
7778         * progmodes/verilog-mode.el (verilog-forward-sexp):
7779         (verilog-calc-1): Support "disable fork" and "fork wait" multi
7780         word keywords, suggested by Steve Pearlmutter.
7781         (verilog-pretty-declarations): Support lineup of declarations in
7782         port lists.
7783         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
7784         fix bug for /* / comments.
7785         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
7786         Speed up and simplfy as this is never called with a bound.
7787         (verilog-pretty-declarations): Enhance to line up declarations
7788         inside a parameter list, suggested by Alan Morgan.
7789         (verilog-pretty-expr): Tune assignment regular expression match
7790         string for corner cases; also use markers instead of character
7791         number as indent changes the later.
7793 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
7795         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
7796         as missing keyword.
7797         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
7798         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
7799         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
7800         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
7801         Tennant.
7802         (verilog-keywords):
7803         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
7804         1800-2009 keywords, including "global.".
7806 2010-04-06  John Wiegley  <jwiegley@gmail.com>
7808         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
7809         appearing in buffer list (if a live buffer name matched a recentf
7810         file basename).  Should use uniquify to offer a real solution.
7812 2010-04-06  John Wiegley  <jwiegley@gmail.com>
7814         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
7815         comment to code, and add a :version tag.
7816         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
7818 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
7820         Enable recentf-mode if using virtual buffers.
7821         * ido.el (recentf-list): Declare for byte-compiler.
7822         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
7823         (ido-make-buffer-list): Simplify.
7824         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
7826 2010-04-05  Juri Linkov  <juri@jurta.org>
7828         Scrolling commands which scroll a line instead of full screen.
7829         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
7831         * simple.el (scroll-up-line, scroll-down-line): New commands.
7832         Put property isearch-scroll=t on them.
7834         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
7835         Remove commands.
7837 2010-04-05  Juri Linkov  <juri@jurta.org>
7839         Scrolling commands which do not signal errors at top/bottom.
7840         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
7842         * simple.el (scroll-up-command, scroll-down-command): New commands.
7843         Put property isearch-scroll=t on them.
7845         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
7846         `scroll-down-command' and [next] from `scroll-up' to
7847         `scroll-up-command'.
7849         * emulation/cua-base.el: Put property CUA=move on
7850         `scroll-up-command' and `scroll-down-command'.
7851         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
7852         and `scroll-down-command' to `cua-scroll-down'.
7854 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
7856         * help.el (describe-mode): Return nil.
7858 2010-04-04  John Wiegley  <jwiegley@gmail.com>
7860         * ido.el (ido-use-virtual-buffers): New variable to indicate
7861         whether "virtual buffer" support is enabled for IDO.
7862         (ido-virtual): Face used to indicate virtual buffers in the list.
7863         (ido-buffer-internal): If a buffer is chosen, and no such buffer
7864         exists, but a virtual buffer of that name does (which would be why
7865         it was in the list), recreate the buffer by reopening the file.
7866         (ido-make-buffer-list): If virtual buffers are being used, call
7867         `ido-add-virtual-buffers-to-list' before the make list hook.
7868         (ido-virtual-buffers): New variable which contains a copy of the
7869         current contents of the `recentf-list', albeit pared down for the
7870         sake of speed, and with proper faces applied.
7871         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
7872         create a list of "virtual buffers" to present to the user in
7873         addition to the currently open set.  Note that this logic could
7874         get rather slow if that list is too large.  With the default
7875         `recentf-max-saved-items' of 200, there is little speed penalty.
7877 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7879         * font-lock.el: Require CL when compiling.
7880         (font-lock-turn-on-thing-lock): Use `case'.
7882 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
7884         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
7885         Zaretskii.
7887 2010-04-02  Juri Linkov  <juri@jurta.org>
7889         * ehelp.el (electric-help-orig-major-mode):
7890         New buffer-local variable.
7891         (electric-help-mode): Set it to original major-mode.  Doc fix.
7892         (with-electric-help): Use `electric-help-orig-major-mode' instead
7893         of (default-value 'major-mode).  Doc fix.
7894         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
7896 2010-04-02  Sam Steingold  <sds@gnu.org>
7898         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
7899         `vc-hg-command' with a list of flags.
7901         * progmodes/bug-reference.el (bug-reference-bug-regexp):
7902         Also accept "patch" and "RFE".
7903         (bug-reference-fontify): `bug-reference-url-format' can also be a
7904         function to be able to handle the bug kind.
7905         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
7907 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
7909         * tmm.el (tmm-get-keymap): Check with symbolp before passing
7910         value to fboundp, it may not be a symbol.
7912 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
7914         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
7916 2010-03-31  Juri Linkov  <juri@jurta.org>
7918         * simple.el (next-line, previous-line): Re-throw a signal
7919         with `signal' instead of using `ding'.
7920         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
7922 2010-03-31  Juri Linkov  <juri@jurta.org>
7924         * simple.el (keyboard-escape-quit): Raise deselecting the active
7925         region higher than exiting the minibuffer.
7926         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
7928 2010-03-31  Juri Linkov  <juri@jurta.org>
7930         * image.el (image-animated-p): Use `image-metadata' instead of
7931         `image-extension-data'.  Get GIF extenstion data from metadata
7932         property `extension-data'.
7934 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7936         * simple.el (append-to-buffer): Simplify.
7938 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
7940         * textmodes/artist.el (artist-mode): Fix typo in docstring.
7941         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
7943 2010-03-31  Kenichi Handa  <handa@m17n.org>
7945         * language/sinhala.el (composition-function-table): Fix regexp for
7946         the new Unicode specification.
7948         * language/indian.el (devanagari-composable-pattern)
7949         (tamil-composable-pattern, kannada-composable-pattern)
7950         (malayalam-composable-pattern): Adjust for the new Unicode
7951         specification.
7952         (bengali-composable-pattern, gurmukhi-composable-pattern)
7953         (gujarati-composable-pattern, oriya-composable-pattern)
7954         (telugu-composable-pattern): New variables to cope with the new
7955         Unicode specification.  Use them in composition-function-table.
7957 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7959         Make tmm-menubar work for the Buffers menu again (bug#5726).
7960         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
7961         vectors rather than cons cells, as used in menu-bar-update-buffers.
7963 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
7965         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
7966         (js-insert-and-indent): Revert 2009-08-15 change, restoring
7967         electric punctuation for "{}();,:" (Bug#5586).
7969         * mail/sendmail.el (mail-default-directory): Doc fix.
7971 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
7973         * mail/sendmail.el (mail-default-directory): Doc fix.
7975 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
7977         * subr.el (version-regexp-alist, version-to-list)
7978         (version-list-<, version-list-=, version-list-<=)
7979         (version-list-not-zero, version<, version<=, version=): Doc fix.
7980         (Bug#5744).
7982 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
7984         * vc.el (vc-root-diff): Doc fix.
7986 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
7988         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
7990         * simple.el (append-to-buffer): Fix last change.
7992 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
7994         * simple.el (append-to-buffer): Ensure that point is preserved if
7995         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
7996         (Bug#5749)
7998 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8000         * files.el (auto-mode-case-fold): Change default to t.
8002 2010-03-30  Juri Linkov  <juri@jurta.org>
8004         * dired-x.el (dired-omit-mode): Doc fix.
8006 2010-03-30  Juri Linkov  <juri@jurta.org>
8008         * replace.el (occur-accumulate-lines): Move occur-engine related
8009         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
8010         to be located after `occur-engine'.
8012 2010-03-30  Juri Linkov  <juri@jurta.org>
8014         Make occur handle multi-line matches cleanly with context.
8015         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
8017         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
8018         (occur-engine): Add local variables `ret', `prev-after-lines',
8019         `prev-lines'.  Use more arguments for `occur-context-lines'.
8020         Set first elem of its returned list to `data', and the second elem
8021         to `prev-after-lines'.  Don't print the separator line.
8022         In the end, print remaining context after-lines.
8023         (occur-context-lines): Add new arguments `begpt', `endpt',
8024         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
8025         after-lines of the previous match with before-lines of the
8026         current match and not overlap them.  Return a list with two
8027         values: the output line and the list of context after-lines.
8029 2010-03-30  Juri Linkov  <juri@jurta.org>
8031         * replace.el (occur-accumulate-lines): Fix a bug where the first
8032         context line at the beginning of the buffer was missing.
8034 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
8036         * files.el: Make bidi-display-reordering safe variable for boolean
8037         values.
8039 2010-03-29  Phil Hagelberg  <phil@evri.com>
8040             Chong Yidong  <cyd@stupidchicken.com>
8042         * subr.el: Extend progress reporters to perform "spinning".
8043         (progress-reporter-update, progress-reporter-do-update):
8044         Handle non-numeric value arguments.
8045         (progress-reporter--pulse-characters): New var.
8047 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
8049         * progmodes/compile.el (compilation-start): Fix regexp detection
8050         of initial cd command (Bug#5771).
8052 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
8054         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
8056 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
8058         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
8059         * progmodes/gdb-mi.el: Restore.
8060         * progmodes/gdb-ui.el: Remove.
8061         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
8063 2010-03-25  Glenn Morris  <rgm@gnu.org>
8065         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
8066         all dired buffers, even tramp ones.  (Bug#5755)
8068 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8070         Add "union tags" in mpc.el.
8071         * mpc.el: Remove backward compatibility code.
8072         (mpc-browser-tags): Change default.
8073         (mpc--find-memoize-union-tags): New var.
8074         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
8075         (mpc-cmd-find): Handle the case where the playlist does not exist.
8076         Handle union-tags.
8077         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
8078         (mpc-cmd-add): Use mpc-cmd-flush.
8079         (mpc-tagbrowser-tag-name): New fun.
8080         (mpc-tagbrowser-buf): Use it.
8081         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
8083 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8085         Misc cleanup.
8086         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
8087         Use replace-regexp-in-string.
8088         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
8089         (makefile-imake-mode-syntax-table): Move init into defvar.
8090         (makefile-mode): Use define-derived-mode.
8092         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
8093         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
8094         not be present any more.
8096 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
8098         * faces.el (set-face-attribute): Fix typo in docstring.
8099         (face-valid-attribute-values): Reflow docstring.
8101 2010-03-24  Glenn Morris  <rgm@gnu.org>
8103         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
8105 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
8107         * indent.el (indent-for-tab-command): Doc fix.
8109 2010-03-24  Alan Mackenzie  <acm@muc.de>
8111         * progmodes/cc-engine.el (c-remove-stale-state-cache):
8112         Fix off-by-one error.  Fixes bug #5747.
8114 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
8116         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
8117         (image-dired-read-comment): Doc fix.
8119         * json.el (json-object-type, json-array-type, json-key-type)
8120         (json-false, json-null, json-read-number):
8121         * minibuffer.el (completion-in-region-functions):
8122         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
8123         (cal-tex-cursor-week):
8124         * emacs-lisp/trace.el (trace-function):
8125         * eshell/em-basic.el (eshell/printnl):
8126         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
8127         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
8128         * obsolete/levents.el (allocate-event, event-key, event-object)
8129         (event-point, event-process, event-timestamp, event-to-character)
8130         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
8131         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
8132         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
8133         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
8134         (reftex-highlight-selection): Fix typos in docstrings.
8136 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
8138         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
8140 2010-03-24  Glenn Morris  <rgm@gnu.org>
8142         * mail/rmail.el (rmail-highlight-face): Restore option deleted
8143         2008-02-13 without comment; mark it obsolete.
8144         (rmail-highlight-headers): Use rmail-highlight-face once more.
8146 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
8148         * woman.el (woman2-process-escapes): Only consume the newline if
8149         the filler character is on a line by itself (Bug#5729).
8151 2010-03-24  Kenichi Handa  <handa@m17n.org>
8153         * language/indian.el (devanagari-composable-pattern): Add more
8154         consonants.
8156 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
8158         * net/trampver.el: Update release number.
8160 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
8162         * net/tramp.el (tramp-find-executable):
8163         Use `tramp-get-connection-buffer'.  Make the regexp for checking
8164         output of "wc -l" more robust.
8165         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
8166         (tramp-open-connection-setup-interactive-shell): Remove workaround
8167         for OpenSolaris bug, it is not needed anymore.
8169 2010-03-24  Glenn Morris  <rgm@gnu.org>
8171         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
8173 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
8175         * files.el (auto-mode-alist): Accept more verilog file patterns.
8177 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8179         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
8181 2010-03-24  Glenn Morris  <rgm@gnu.org>
8183         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
8184         log-edit-before-checkin-process.
8186         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
8188         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
8190         * vc-dispatcher.el (vc-start-logentry): Doc fix.
8191         (log-view-process-buffer, log-edit-extra-flags): Declare.
8193         * log-edit.el (log-edit-before-checkin-process): Doc fix.
8195 2010-03-23  Sam Steingold  <sds@gnu.org>
8197         Fix bug#5620: recalculate all markers on compilation buffer
8198         modifications, not on file modifications.
8199         * progmodes/compile.el (buffer-modtime): New buffer-local variable:
8200         the buffer modification time, for buffers not associated with files.
8201         (compilation-mode): Create it.
8202         (compilation-filter): Update it.
8203         (compilation-next-error-function): Use it instead of
8204         `visited-file-modtime' for timestamp.
8206 2010-03-23  Juri Linkov  <juri@jurta.org>
8208         Implement Occur multi-line matches.
8209         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
8211         * replace.el (occur): Doc fix.
8212         (occur-engine): Set `begpt' to the beginning of the first line.
8213         Set `endpt' to the end of the last match line.  At first, count
8214         line numbers between `origpt' and `begpt'.  Split out code from
8215         `out-line' variable to new let-bindings `match-prefix' and
8216         `match-str'.  In `out-line' add non-numeric prefix to all
8217         non-first lines of multi-line matches.  Finally, count lines
8218         between `begpt' and `endpt' and add to `lines'.
8220 2010-03-23  Juri Linkov  <juri@jurta.org>
8222         * replace.el (occur-accumulate-lines, occur-engine):
8223         Use `occur-engine-line' instead of duplicate code.
8224         (occur-engine-line): New function created from duplicate code
8225         in `occur-accumulate-lines' and `occur-engine'.
8227         * replace.el (occur-engine-line): Add optional arg `keep-props'.
8228         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
8230 2010-03-23  Juri Linkov  <juri@jurta.org>
8232         * finder.el: Remove TODO tasks.
8234         * info.el (Info-finder-find-node): Add node "all"
8235         with all package info.  Handle a list of multiple keywords
8236         separated by comma.
8237         (info-finder): In interactive use with a prefix argument,
8238         use `completing-read-multiple' to read a list of keywords
8239         separated by comma.
8241 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8243         Add a new completion style `substring'.
8244         * minibuffer.el (completion-basic--pattern): New function.
8245         (completion-basic-try-completion, completion-basic-all-completions):
8246         Use it.
8247         (completion-substring--all-completions)
8248         (completion-substring-try-completion)
8249         (completion-substring-all-completions): New functions.
8250         (completion-styles-alist): New style `substring'.
8252 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8254         Get rid of .elc files after removal of the corresponding .el.
8255         * Makefile.in (compile-clean): New target.
8256         (compile-main): Use it.
8258 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
8260         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
8261         don't do make there.  When compiling with separate object dir, there
8262         is no Makefile there.
8264 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8266         Get rid of the ELCFILES abomination, again.
8267         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
8268         (all, compile): Don't call compile-last.
8269         (compile-main): Build the "elcfiles" list dynamically.
8270         (compile-targets): New (internal) target.
8272 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
8274         * Makefile.in (top_srcdir): Define.
8275         (abs_top_builddir): Define.
8276         (srcdir): Don't append `/..'.
8277         (EMACS): Use ${abs_top_builddir}.
8278         (all, compile, compile-always, compile-last): Don't set emacswd.
8279         (update-subdirs, update-authors): Use $(top_srcdir) instead of
8280         $(srcdir).
8281         (lisp): Use $(srcdir) instead of @srcdir@.
8283 2010-03-21  Juri Linkov  <juri@jurta.org>
8285         Fix message of multi-line occur regexps and multi-buffer header lines.
8286         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
8288         * replace.el (occur-1): Don't display regexp if it is longer
8289         than window-width.  Use `query-replace-descr' to display regexp.
8290         (occur-engine): Don't display regexp in the buffer header for
8291         multi-buffer occur.  Display a separate header line with total
8292         match count and regexp for multi-buffer occur.
8293         Use `query-replace-descr' to display regexp.
8295 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
8297         * net/secrets.el: Fix parenthesis.
8298         (secrets-enabled): Fix parenthesis.
8300 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8302         Use more relative file and directory names.
8303         * Makefile.in (EMACS): Arrange for it to work when we chdir.
8304         (setwins, setwins_almost, setwins_for_subdirs):
8305         Don't `cd'; output relative names.
8306         (all, compile, compile-always, compile-last): Set emacswd.
8307         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
8308         Just cd to the lisp source dir so we can use relative file names.
8310         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
8312 2010-03-20  Glenn Morris  <rgm@gnu.org>
8314         * textmodes/rst.el: Use faces for font-lock customization, and make the
8315         old -face variables obsolete.
8316         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
8317         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
8318         (rst-block-face, rst-external-face, rst-definition-face)
8319         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
8320         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
8321         Make obsolete.
8322         (rst-font-lock-keywords-function): Update for above changes.
8324 2010-03-20  Juri Linkov  <juri@jurta.org>
8326         * s-region.el:
8327         * obsolete/s-region.el: Move to obsolete.
8329 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
8331         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
8333 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
8335         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
8337 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
8339         Add special markup processing for commit logs.
8340         * log-edit.el (log-edit-extra-flags): New variable.
8341         (log-edit): Add new argument MODE.  Use that mode when non-nil
8342         instead of the log-view-mode.
8343         (log-view-process-buffer): New function.
8345         * vc.el: Document that the checkin method takes optional
8346         arguments.  Document new backend specific method: log-view-mode.
8347         (vc-default-log-edit-mode): New function.
8348         (vc-checkin): Use a backend specific log-view-mode.
8349         Pass extra arguments to the checkin method.
8350         (vc-modify-change-comment): Pass a dummy extra argument.
8352         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
8353         log-edit.
8354         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
8355         (vc-finish-logentry): Process the log buffer before passing it
8356         down.  Pass log-edit-extra-flags.
8358         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
8359         command.
8360         (log-edit-extra-flags, log-edit-before-checkin-process):
8361         New declarations.
8363         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
8364         command.
8365         (log-edit-extra-flags, log-edit-before-checkin-process):
8366         New declarations.
8367         (vc-hg-log-edit-mode): New derived mode.
8369         * vc-arch.el (vc-arch-checkin):
8370         * vc-cvs.el (vc-cvs-checkin):
8371         * vc-git.el (vc-git-checkin):
8372         * vc-mtn.el (vc-mtn-checkin):
8373         * vc-rcs.el (vc-rcs-checkin):
8374         * vc-sccs.el (vc-sccs-checkin):
8375         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
8377 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8379         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
8380         parent typo).
8382 2010-03-19  Glenn Morris  <rgm@gnu.org>
8384         * password-cache.el (password-cache, password-cache-expiry): Autoload.
8386 2010-03-18  Glenn Morris  <rgm@gnu.org>
8388         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
8390         * replace.el (query-replace-history): Give it a doc string.
8391         (map-query-replace-regexp): Use query-replace-from-history-variable
8392         and query-replace-to-history-variable.
8394         * mail/hashcash.el (declare-function): Remove duplicate definition.
8396         * mail/emacsbug.el (report-emacs-bug-pretest-address):
8397         Make it an obsolete alias for report-emacs-bug-address.
8398         (message-strip-special-text-properties): Declare.
8399         (report-emacs-bug): Remove test for a pretest bug address.
8400         Combine message-mode-specific code.
8402         * mail/supercite.el: Don't require sendmail.
8403         (mh-in-header-p): Declare rather than using with-no-warnings.
8404         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
8405         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
8407         * calendar/cal-french.el: Convert to utf-8.
8409         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
8410         Emacs scripts.
8412 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
8414         * net/secrets.el (secrets-enabled): New variable.  Use it instead
8415         of a subfeature.
8417 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
8419         * net/secrets.el (top): Register the D-Bus signals only when the
8420         service "org.freedesktop.secrets" can be pinged.
8421         Provide subfeature `enabled'.
8423 2010-03-14  Juri Linkov  <juri@jurta.org>
8425         Add finder unknown keywords.
8427         * finder.el (finder-unknown-keywords): New function.
8429         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
8430         to create a Finder node with unknown keywords.
8432 2010-03-14  Juri Linkov  <juri@jurta.org>
8434         * finder.el (finder-compile-keywords): Replace `princ' with
8435         `prin1' on a list of symbols interned from keyword strings.
8437         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
8438         a comma, then split keywords using a comma and optional whitespace.
8439         Otherwise, split by whitespace.
8441         * complete.el:
8442         * face-remap.el:
8443         * log-view.el:
8444         * net/hmac-def.el:
8445         * net/hmac-md5.el:
8446         * net/netrc.el:
8447         * progmodes/mixal-mode.el: Fix keywords.
8449 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
8451         * Makefile.in (ELCFILES): Add net/secrets.elc.
8453         * net/secrets.el: New file.
8455 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
8457         * facemenu.el (list-colors-display, list-colors-print): New arg
8458         callback.  Use it to allow selecting colors.
8460         * wid-edit.el (widget-image-insert): Insert image prop even if the
8461         current display is non-graphic.
8462         (widget-field-value-set): New fun.
8463         (editable-field): Use it.
8464         (widget-field-value-get): Clean up unused var.
8465         (widget-color-value-create, widget-color--choose-action):
8466         New funs.  Allow using list-colors-display to choose color.
8468 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
8470         * cus-edit.el: Resort topmost custom groups.
8471         (custom-buffer-sort-alphabetically): Default to t.
8472         (customize-apropos): Use apropos-parse-pattern.
8473         (custom-search-field): New var.
8474         (custom-buffer-create-internal): Add custom-apropos search field.
8475         (custom-add-parent-links): Don't display parent doc.
8476         (custom-group-value-create): Don't sort top-level custom group.
8477         (custom-magic-value-create): Show visibility button before option name.
8479         (custom-variable-state): New fun, from custom-variable-state-set.
8480         (custom-variable-state-set): Use it.
8481         (custom-group-value-create): Hide options with standard values
8482         using the :hidden-states property.  Use progress reporter.
8484         (custom-show): Simplify.
8485         (custom-visibility): Disable images by default.
8486         (custom-variable): New property :hidden-states.
8487         (custom-variable-value-create): Enable images for
8488         custom-visibility widgets.  Use :hidden-states property to
8489         determine initial visibility.
8491         * wid-edit.el (widget-image-find): Give images center ascent.
8492         (visibility): Add :on-image and :off-image properties.
8493         (widget-visibility-value-create): Use them.
8495 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
8497         * cus-edit.el (processes): Remove from development group.
8498         (oop, hypermedia): Delete group.
8499         (comm): Promote to top-level group.
8501         * net/browse-url.el (browse-url):
8502         * net/xesam.el (xesam):
8503         * net/tramp.el (tramp):
8504         * net/goto-addr.el (goto-address):
8505         * net/ange-ftp.el (ange-ftp): Put in comm group.
8507         * view.el (view): Remove from editing group.
8509         * uniquify.el (uniquify): Put in files group.
8511         * net/browse-url.el (browse-url):
8512         * ps-print.el (postscript): Put in external group.
8514         * cus-edit.el (outlines):
8515         * textmodes/text-mode.el (text-mode-hook):
8516         * textmodes/table.el (table):
8517         * textmodes/picture.el (picture):
8518         * outline.el (outlines): Put in wp group.
8520         * nxml/nxml-mode.el (nxml): Remove from wp group.
8522         * net/tramp-imap.el (tramp-imap): Put in tramp group.
8524         * mail/metamail.el (metamail): Remove from hypermedia group.
8526         * cus-edit.el (abbrev):
8527         * whitespace.el (whitespace):
8528         * vcursor.el (vcursor):
8529         * reveal.el (reveal):
8530         * hl-line.el (hl-line): Put in convenience group.
8532         * epg-config.el (epg): Put in data group.
8534         * emulation/pc-select.el (pc-select): Put in emulations group.
8536         * calculator.el (calculator): Put in applications group.
8538 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
8540         Add .dir-locals.el support for file-less buffers.
8541         * files.el (hack-local-variables): Split out code to apply local
8542         variable settings ...
8543         (hack-local-variables-apply): ... here.  New function.
8544         (hack-dir-local-variables): Use the default directory for when the
8545         buffer does not have an associated file.
8546         (hack-dir-local-variables-non-file-buffer): New function.
8547         * diff-mode.el (diff-mode):
8548         * vc-annotate.el (vc-annotate-mode):
8549         * vc-dir.el (vc-dir-mode):
8550         * log-edit.el (log-edit-mode):
8551         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
8553 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
8555         Add support for shelving snapshots and for showing shelves.
8556         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
8557         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
8558         New functions.
8559         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
8560         (vc-bzr-extra-menu-map): Map them.
8562 2010-03-11  Glenn Morris  <rgm@gnu.org>
8564         * cus-edit.el (customize-changed-options-previous-release):
8565         Bump to 23.1.
8567         * image.el (image-animate-max-time): Fix :version tag.
8569 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
8571         * Branch for 23.2.
8573 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8575         * vc-git.el (vc-git-revision-table): Include remote branches.
8577 2010-03-10  Kim F. Storm  <storm@cua.dk>
8579         Animated image API.
8580         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
8582         * image.el (image-animate-max-time): New defcustom.
8583         (image-animated-types): New defconst.
8584         (create-animated-image, image-animate-timer)
8585         (image-animate-start, image-animate-stop, image-animate-timeout)
8586         (image-animated-p): New functions.
8588         * image-mode.el (image-toggle-display-image):
8589         Replace `create-image' with `create-animated-image'.
8591 2010-03-09  Miles Bader  <miles@gnu.org>
8593         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
8594         instead of "format:"; this ensures that the output is
8595         newline-terminated.
8597 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
8599         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
8600         that all errors are caught, and that the return value is always a
8601         list (Bug#5692).
8603 2010-03-08  Kenichi Handa  <handa@m17n.org>
8605         * language/misc-lang.el (windows-1256): New coding system.
8606         (cp1256): New alias of windows-1256 (bug#5690).
8608 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
8610         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
8611         call to rfc822-bad-address.  (Bug#5692)
8613 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
8615         * vc-git.el (vc-git-annotate-extract-revision-at-line):
8616         Use vc-git-root as default directory for revision path (Bug#5657).
8618 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
8620         * calculator.el (calculator): Don't bind split-window-keep-point
8621         (Bug#5674).
8623 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8625         * vc-git.el: Re-flow to fit into 80 columns.
8626         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
8627         Remove spurious `quote' element in each case alternative.
8628         (vc-git-show-log-entry): Use prog1.
8629         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
8631 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8633         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
8635 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
8637         * macros.el (insert-kbd-macro): Look up keyboard macro using the
8638         definition, not the name (Bug#5481).
8640 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
8642         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
8643         argument with a local variable.  (Bug#5670)
8645 2010-03-02  Juri Linkov  <juri@jurta.org>
8647         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
8649 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
8651         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
8652         error when FILENAME and NEWNAME are existing remote directories.
8654         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
8655         parameter DIR-FLAG.
8657 2010-03-02  Glenn Morris  <rgm@gnu.org>
8659         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
8660         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
8662 2010-03-01  Kenichi Handa  <handa@m17n.org>
8664         * language/burmese.el (burmese-composable-pattern): Rename from
8665         myanmar-composable-pattern.
8667         * international/characters.el (script-list):
8668         * international/fontset.el (script-representative-chars):
8669         Change myanmar to burmese.
8670         (otf-script-alist): Likewise.
8671         (setup-default-fontset): Likewise.  Re-fix :otf spec.
8673 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
8675         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
8677 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
8679         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
8681 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
8683         * net/tramp.el (tramp-handle-write-region): START can be a string.
8684         Take care in the checks.  Reported by Dan Davison
8685         <davison@stats.ox.ac.uk>.
8687 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
8689         * net/dbus.el (dbus-introspect, dbus-get-property)
8690         (dbus-set-property, dbus-get-all-properties):
8691         Use `dbus-call-method' when noninteractive.  (Bug#5645)
8693 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
8695         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
8696         * emacs-lisp/elint.el (elint-add-required-env):
8697         * calendar/icalendar.el (icalendar--add-diary-entry):
8698         * calc/calcalg2.el (math-tracing-integral):
8699         * files.el (recover-session-finish): Use with-current-buffer
8700         instead of save-excursion.
8702 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8704         Fix in-buffer completion when after-change-functions modify the buffer.
8705         * minibuffer.el (completion--replace): New function.
8706         (completion--do-completion): Use it and use relative movement.
8708 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
8710         * international/fontset.el (setup-default-fontset): Fix :otf spec.
8712 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
8714         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
8715         Allow the characters _<> in the stack entry (Bug#5653).
8717 2010-02-26  Kenichi Handa  <handa@m17n.org>
8719         * language/burmese.el: Fix entries in composition-function-table.
8720         (myanmar-composable-pattern): New variable.
8722         * international/fontset.el (setup-default-fontset): Add an entry
8723         for myanmar.
8725         * international/characters.el (script-list): Add Myanmar
8726         Extended-A.
8728 2010-02-26  Glenn Morris  <rgm@gnu.org>
8730         * custom.el (custom-initialize-delay): Doc fix.
8732         * mail/sendmail.el (send-mail-function): Autoload the call
8733         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
8735 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
8737         * files.el (hack-local-variables-filter): For eval forms, also
8738         check safe-local-variable-p (Bug#5636).
8740 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
8742         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
8743         setting the modes by `ignore-errors'.  It might fail, for example
8744         if the file is not owned by the user but the group.
8745         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
8747 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
8749         * files.el (directory-listing-before-filename-regexp): Use
8750         stricter matching for iso-style dates, to avoid false matches with
8751         date-like filenames (Bug#5597).
8753         * htmlfontify.el (htmlfontify): Doc fix.
8755         * eshell/eshell.el (eshell): Doc fix.
8757         * startup.el (fancy-about-screen): In mode-line, apply
8758         mode-line-buffer-id face only to the buffer name (Bug#5613).
8760 2010-02-20  Kevin Ryde  <user42@zip.com.au>
8762         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8763         In `watcom' anchor regexp to start of line, to avoid slowness
8764         (Bug#5599).
8766 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
8768         * subr.el (remove-yank-excluded-properties): Explain in a comment
8769         why `category' property is removed.
8771 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
8773         * isearch.el (isearch-update-post-hook, isearch-update): Revert
8774         2010-02-17 change.
8776 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
8778         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
8779         (icalendar--convert-weekly-to-ical)
8780         (icalendar--convert-yearly-to-ical)
8781         (icalendar--convert-block-to-ical)
8782         (icalendar--convert-cyclic-to-ical)
8783         (icalendar--convert-anniversary-to-ical): Take care of time
8784         specifications where hour has 1-digit only (Bug#5549).
8786 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
8788         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
8789         of disassemble output in GDB 7.1.
8791 2010-02-19  Glenn Morris  <rgm@gnu.org>
8793         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
8794         property.  (Bug#5593)
8796 2010-02-18  Sam Steingold  <sds@gnu.org>
8798         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
8800 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8802         Use abbreviated file names in bookmarks (bug#5591).
8803         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
8804         calls to expand-file-name.
8805         (bookmark-relocate): Use abbreviated file names in bookmarks.
8806         (bookmark-load): Use abbreviated file names in messages.
8808 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
8810         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
8811         expand "." and "..".  Reported by Thierry Volpiatto
8812         <thierry.volpiatto@gmail.com>.
8814 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
8816         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
8817         permissions of the temporary file to "0600".  In case the remote
8818         file has no read permissions for the owner, there might be
8819         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
8821 22010-02-18  Glenn Morris  <rgm@gnu.org>
8823         * emacs-lisp/authors.el (authors-renamed-files-alist):
8824         Add entries for INSTALL.CVS.
8826 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
8828         * vc-bzr.el: Fix typo in Known Bugs section.
8830         * isearch.el (isearch-update-post-hook): New hook.
8831         (isearch-update): Use the new hook.
8833 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
8835         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
8836         Fix errors in copying directories.
8837         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
8838         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
8839         (tramp-handle-delete-file)
8840         (tramp-handle-dired-recursive-delete-directory)
8841         (tramp-handle-write-region): Flush also the cache for the upper
8842         directory.
8844 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
8846         * simple.el (save-interprogram-paste-before-kill): Doc fix.
8848         * cus-edit.el (hardware): Doc fix.
8850         * man.el (man): Add to external custom group.
8852         * delim-col.el (columns): Move to wp custom group.
8854         * doc-view.el (doc-view): Add to data custom group.
8856         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
8858         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
8859         by ispell-parse-output (Bug#5575).
8861 2010-02-16  Kenichi Handa  <handa@m17n.org>
8863         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
8864         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
8865         (skkdic-convert): Use `euc-japan' coding system for writing.
8867 2010-02-16  Glenn Morris  <rgm@gnu.org>
8869         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
8870         tex-main-file before using it.  (Bug#5562)
8872 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8874         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
8875         warnings, since it is annoying for the user to see them each time he
8876         runs the code.
8878 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
8880         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
8881         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
8882         instead of PROC for caching "first-password-request".  Otherwise,
8883         new processes would not profit from passwords already entered.
8885         * net/tramp-cache.el (tramp-dump-connection-properties):
8886         Don't save "first-password-request" property.
8888 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
8890         * outline.el (outline-head-from-level):
8891         * simple.el (with-wrapper-hook):
8892         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
8893         (elint-defun, elint-buffer-env, elint-top-form-logged)
8894         (elint-unbound-variable):
8895         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
8896         Fix typos in docstrings.
8898 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
8900         * files.el (insert-directory): When WILDCARD-REGEXP and
8901         FULL-DIRECTORY-P are nil, insert the file entry instead of the
8902         whole directory.  (Bug#5551)
8904         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
8905         dired's alignment sanity.  (Bug#5516)
8907 2010-02-14  Juri Linkov  <juri@jurta.org>
8909         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
8910         Remove remaining ^H with their preceding chars.  (Bug#5566)
8912 2010-02-13  Glenn Morris  <rgm@gnu.org>
8914         * simple.el (transpose-subr): Give it a doc-string.
8916         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
8917         Doc fixes.
8919 2010-02-12  Juri Linkov  <juri@jurta.org>
8921         * arc-mode.el (archive-unique-fname): Make directories for nested
8922         archives.  (Bug#5540)
8924 2010-02-12  Juri Linkov  <juri@jurta.org>
8926         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
8928 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8930         * subr.el (copy-overlay): Handle deleted overlays.
8932         * man.el (Man-completion-table): Don't signal an error if we can't run
8933         manual-program (bug#4056).
8935 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
8937         * textmodes/artist.el (artist-mt): Fix typos in docstring.
8939 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8941         * info.el (Info-bookmark-jump): Simplify.
8943         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
8944         (bookmark-default-handler): Accept new bookmark field `buffer'.
8946 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
8948         * iswitchb.el (iswitchb-completions): Revert last change.
8950 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
8952         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
8953         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
8954         This prevents file names like "~/" being listed literally.
8956 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
8958         * term/xterm.el (xterm-maybe-set-dark-background-mode):
8959         Remove dead code.  (Bug#5546)
8961 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
8963         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
8964         correctly (Bug#5548).
8966 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
8968         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
8969         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
8971 2010-02-08  Kenichi Handa  <handa@m17n.org>
8973         * international/mule-util.el (with-coding-priority): Add autoload
8974         cookie for putting `lisp-indent-function'.
8976 2010-02-07  Glenn Morris  <rgm@gnu.org>
8978         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
8979         Move F2003 named interfaces from keywords-2 to keywords-1, and
8980         use function-name-face rather than constant-face.
8981         Simplify "abstract interface" regexp.
8983 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
8985         * eshell/esh-util.el (eshell-file-attributes): New optional arg
8986         ID-FORMAT.  Pass it to `file-attributes'.
8988         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
8990 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
8992         * faces.el (set-face-attribute): Allow calling
8993         internal-set-lisp-face-attribute with 'unspecified family and
8994         foundry argument (Bug#5536).
8996 2010-02-07  Glenn Morris  <rgm@gnu.org>
8998         * progmodes/f90.el (f90-font-lock-keywords-2)
8999         (f90-looking-at-type-like, f90-looking-at-program-block-end):
9000         Handle F2003 named interfaces.
9002 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
9004         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
9005         beg and end before calling c-get-state-before-change-functions.
9007 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
9009         * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
9011 2010-02-05  Juri Linkov  <juri@jurta.org>
9013         * doc-view.el (doc-view-mode):
9014         * image-mode.el (image-mode): Put property mode-class=special.
9015         (Bug#4896)
9017 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
9019         * vc-svn.el (vc-svn-revision-table): New function.
9021 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
9023         * net/ange-ftp.el (ange-ftp-insert-directory):
9024         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
9025         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
9026         Handle also directories.  (Bug#5478)
9028 2010-02-05  Glenn Morris  <rgm@gnu.org>
9030         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
9032 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
9034         * startup.el (command-line-1): Convert options beginning with a
9035         single dash as well (Bug#5519).
9037 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9039         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
9040         * minibuffer.el (completion-initials-expand): Only check the presence
9041         of delims *within* the boundaries, since otherwise the / delim is
9042         always found for files.
9044         Fix up various corner case problems.
9045         * doc-view.el (doc-view-last-page-number): New function.
9046         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
9047         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
9048         (doc-view-kill-proc): Avoid inf-loop in freak cases.
9049         (doc-view-reconvert-doc): Use the new recursive delete-directory.
9050         (doc-view-convert-current-doc): Don't create the resolution.el file
9051         here any more.
9052         (doc-view-pdf/ps->png): Do it here instead.
9053         (doc-view-already-converted-p): Check that resolution.el is present.
9054         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
9055         windows that are not yet showing images.
9057 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
9059         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
9060         `dired-uncache' for every elemnt which is an absolute file name.
9062         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
9063         directory, handle its directory component.
9064         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
9065         function is called permanently and creates noise, otherwise.
9067         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
9068         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
9069         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
9071 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
9073         * macros.el (apply-macro-to-region-lines):
9074         Minor simplification.  (Bug#5485)
9076 2010-02-04  Glenn Morris  <rgm@gnu.org>
9078         * mail/rmail.el (rmail-show-message-1): Handle malformed
9079         quoted-printable text.  (Bug#5441)
9081         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
9083         * simple.el (visual-line-mode): Capitalize lighter.
9085 2010-02-03  John Wiegley  <jwiegley@gmail.com>
9087         * iswitchb.el (iswitchb-completions): Add bookmark files to the
9088         list of files considered for "virtual buffer" completions.
9090 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
9092         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
9093         also in case of (and (not full) (not wildcard)).  This is needed
9094         when dired is called with a list of files, which are not in
9095         `default-directory'.  (Bug#5478)
9097 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9099         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
9101 2010-02-02  Juri Linkov  <juri@jurta.org>
9103         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
9104         from unidiff to allow function-line after @@.
9106 2010-02-02  Juri Linkov  <juri@jurta.org>
9108         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
9109         '(RCS SCCS) with inverted condition.
9111 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
9113         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
9114         messages.
9116 2010-02-01  Juri Linkov  <juri@jurta.org>
9118         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
9119         compare with "pkunzip" and "pkzip" instead of only "pkzip".
9120         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
9121         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
9123 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9125         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
9126         (doc-view-revert-buffer): New command.
9127         (doc-view-mode-map): Use it.
9129 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
9131         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
9132         pending merge is detected.
9134 2010-01-31  Juri Linkov  <juri@jurta.org>
9136         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
9137         beginning of interactive spec like all other grep commands do.
9138         Put "all" in front of "gz".  (Bug#5260)
9140 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
9142         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
9144 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
9146         * dirtrack.el (dirtrack): Warn instead of signalling error if the
9147         regexp is incorrect (Bug#5476).
9149 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
9151         * net/tramp.el (tramp-handle-insert-directory): Handle also
9152         symlinks, when FILENAME is not in `default-directory'.
9154 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
9156         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
9157         FILE is not in `default-directory'.  (Bug#5478)
9159         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
9160         of SWITCHES.  Handle the case, FILENAME is not in
9161         `default-directory'.  (Bug#5478)
9162         (tramp-register-file-name-handlers): Add safe-magic property.
9164 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
9166         * arc-mode.el (archive-zip-extract): Quote the argument passed to
9167         unzip (Bug#5475).
9169 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
9171         * progmodes/flymake.el (flymake-allowed-file-name-masks)
9172         (flymake-master-make-header-init): Add other C++ filename masks.
9173         (flymake-find-possible-master-files)
9174         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
9176 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
9178         Fix some busybox annoyances.
9180         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
9181         not responding." string.
9182         (tramp-open-connection-setup-interactive-shell): Dump stty
9183         settings.  Enable "neveropen" arg for all `tramp-send-command'
9184         calls.  Handle "=" in variable values properly.
9185         (tramp-find-inline-encoding): Raise an error, when no encoding is
9186         found.
9187         (tramp-wait-for-output): Check, whether PROC buffer is available.
9188         Remove spurious " ^H" sequences, sent by busybox.
9189         (tramp-get-ls-command): Suppress coloring, if possible.
9191 2010-01-28  Glenn Morris  <rgm@gnu.org>
9193         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
9195         * log-edit.el (log-edit-strip-single-file-name): Add missing
9196         :safe, :group, and :version tags.
9198 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
9200         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
9201         buffers.  (Bug#5477)
9203 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
9205         * files.el (delete-directory): Handle moving to trash without
9206         first doing recursion (Bug#5436).
9208 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
9210         * vc-hooks.el (vc-path): Mark as obsolete.
9212 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
9214         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
9215         names too.
9217         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
9218         for the short log.
9219         (vc-bzr-log-view-mode): Adjust regexp for the above change.
9221 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
9223         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
9225         * vc-bzr.el (vc-bzr-revision-table): New function.
9227 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>  (tiny change)
9229         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
9230         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
9232 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
9234         Remove support for adding --signoff on commit.
9235         Future support will use an incompatible generic mechanism.
9236         * vc-git.el (vc-git-add-signoff): Remove variable.
9237         (vc-git-toggle-signoff): Remove function.
9238         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
9240         * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
9241         from xterm-set-background-mode.  Return t if the background mode
9242         was set.
9243         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
9244         earlier, call it again in case the background mode has changed.
9246 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
9248         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
9249         (Bug#3541).
9251 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
9253         * emacs-lisp/assoc.el (aelement): Doc fix.
9254         (aput, adelete, amake): Use lexical-let (Bug#5450).
9256 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
9258         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
9259         is the same as subprogram call, not declaration.  (Bug#5435).
9261 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
9263         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
9264         (tramp-smb-maybe-open-connection): Use it.
9266 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
9268         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
9270 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9272         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
9273         just because we see "encoding: 8bit".
9274         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
9276 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
9278         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
9280 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
9282         * jka-compr.el (jka-compr-load): If load-file is not in
9283         load-history, try its file-truename version.  (bug#5447)
9285 2010-01-21  Alan Mackenzie  <acm@muc.de>
9287         Fix a situation where deletion of a cpp construct throws an error.
9288         * progmodes/cc-engine.el (c-invalidate-state-cache):
9289         Before invoking c-with-all-but-one-cpps-commented-out, check that the
9290         special cpp construct is still in the buffer.
9291         (c-parse-state): Record the special cpp with markers, not numbers.
9293 2010-01-21  Kenichi Handa  <handa@m17n.org>
9295         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
9296         process last-command-event, as it is now decoded first (Bug#5380).
9298 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
9300         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
9302 2010-01-20  Glenn Morris  <rgm@gnu.org>
9304         * indent.el (tab-always-indent): Fix custom-type.
9306 2010-01-19  Alan Mackenzie  <acm@muc.de>
9308         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
9309         buffer throws "args out of range".
9310         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
9311         playing the role of delimiter.
9313 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
9315         * progmodes/ada-mode.el: Fix bug#5400.
9316         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
9317         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
9318         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
9319         Improve comments in "is" portion.  Handle null procedure declaration.
9320         (ada-move-to-end): Improve doc string.
9322 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
9324         * ido.el (ido-cur-list): Initialize to nil.
9325         Remove obsolete information from commentary.
9326         (ido-choice-list): Initialize to nil.
9327         (ido-get-bufname): Reject minibuffers.
9328         (ido-make-buffer-list): If "default" is a nonexistent
9329         buffer, ignore it, as per the function's comment.
9330         (ido-kill-buffer-internal): New function.
9331         (ido-kill-buffer-at-head): Use it.
9332         (ido-visit-buffer): Likewise.
9334 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
9336         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
9338 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
9340         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
9341         Fix typos in chart titles.
9343         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
9344         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
9345         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
9346         (describe-class, eieio-describe-generic, describe-generic):
9347         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
9348         (eieio-speedbar-expand):
9349         * emulation/viper-cmd.el (viper-exec-form-in-vi)
9350         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
9351         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
9352         (viper-del-backward-char-in-replace, viper-backward-indent)
9353         (viper-brac-function, viper-register-to-point, viper-submit-report):
9354         * net/tramp.el (tramp-remote-coding-commands):
9355         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
9356         Fix typos in docstrings.
9358 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
9360         * mail/sendmail.el (mail-yank-original): Set the mark if the
9361         specified function for yanking does not do it.
9363 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
9365         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
9367         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
9368         resyncing a directory.
9370 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
9372         * progmodes/ada-mode.el: Fix bug#1920.
9373         (ada-ident-re): Delete ., allow multibyte characters.
9374         (ada-goto-label-re): New; matches goto labels.
9375         (ada-block-label-re): New; matches block labels.
9376         (ada-label-re): New; matches both.
9377         (ada-named-block-re): Deleted; callers changed to use
9378         `ada-block-label-re' instead.
9379         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
9380         Use `ada-block-label-re'.
9381         (ada-indent-on-previous-lines): Improve handling of goto labels.
9382         (ada-get-indent-block-start): Special-case block label.
9383         (ada-get-indent-label): Split into `ada-indent-block-label' and
9384         `ada-indent-goto-label'.
9385         (ada-goto-stmt-start, ada-goto-next-non-ws):
9386         Optionally ignore goto labels.
9387         (ada-goto-next-word): Simplify.
9388         (ada-indent-newline-indent-conditional): Insert newline before
9389         trying to fix indentation; doc fix.
9391 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
9393         * calc/calc.el (calc-command-flags): Give it an initial value.
9395 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
9397         * files.el (minibuffer-with-setup-hook):
9398         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
9399         (artist-key-draw-continously, artist-key-do-continously-continously)
9400         (artist-key-set-point-continously, artist-mouse-draw-continously):
9401         Fix typos in docstrings.
9403 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
9405         * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
9406         return t (Bug#3898).
9408 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
9410         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
9411         can parse the output of the external commands (Bug#5279).
9413 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
9415         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
9417 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
9419         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
9421         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
9423         * startup.el (command-line): Remove unused --icon-type arg.
9424         Handle --display arg, passing it to command-line-1 (Bug#5392).
9426 2010-01-16  Mario Lang  <mlang@delysid.org>
9428         * emacs-lisp/chart.el (chart-translate-namezone):
9429         * textmodes/artist.el (artist-compute-popup-menu-table):
9430         Remove duplicated words in doc-strings.
9432 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
9434         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
9435         to mairix-search to suppress threading (Bug#5342).
9437 2010-01-15  Kenichi Handa  <handa@m17n.org>
9439         * international/mule-cmds.el (canonicalize-coding-system-name):
9440         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
9442 2010-01-15  Glenn Morris  <rgm@gnu.org>
9444         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
9446         * wid-edit.el (widget-keymap): Doc fix.
9448         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
9449         former seems to be more widely accepted by various svn versions.
9451 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
9453         * find-cmd.el (find-constituents):
9454         * vc-arch.el (vc-arch-root):
9455         * window.el (window-body-height, pop-up-frames):
9456         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
9457         * progmodes/ada-stmt.el (ada-if):
9458         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
9459         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
9460         (ispell-encoding8-command, ispell-aspell-supports-utf8)
9461         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
9463         * progmodes/flymake.el (flymake-post-syntax-check):
9464         Fix typo in error message.
9466 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
9468         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
9469         which is always a string.  (Bug#5313)
9471 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
9473         * progmodes/ada-xref.el (ada-default-prj-properties):
9474         Simplify previous change.
9476 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
9478         * progmodes/ada-xref.el (ada-default-prj-properties):
9479         Default ada_project_path to $ADA_PROJECT_PATH.
9481 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
9483         * progmodes/ada-mode.el (ada-create-keymap):
9484         Override `narrow-to-defun' with `ada-narrow-to-defun'.
9486 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
9488         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
9489         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
9490         (ada-get-current-indent, ada-imenu-generic-expression)
9491         (ada-which-function): Check for it.
9493 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
9495         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
9496         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
9498 2010-01-14  Glenn Morris  <rgm@gnu.org>
9500         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
9502 2010-01-14  Kenichi Handa  <handa@m17n.org>
9504         * composite.el (auto-composition-mode): Make it a buffer local
9505         variable (permanent-local).
9506         (auto-composition-function): Set the default value to
9507         auto-compose-chars.
9508         (auto-composition-mode): Make it a simple function, not a minor mode.
9509         (global-auto-composition-mode): Likewise.
9510         (turn-on-auto-composition-if-enabled): Delete it.
9512 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
9514         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
9516 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
9518         * files.el (copy-directory): Compute target for recursive
9519         directories with identical names.  (Bug#5343)
9521 2010-01-12  Glenn Morris  <rgm@gnu.org>
9523         * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
9524         it to bug-gnu-emacs rather than emacs-pretest-bug.
9526 2010-01-11  Sam Steingold  <sds@gnu.org>
9528         * imenu.el (imenu-default-create-index-function): Detect infinite
9529         loops caused by imenu-prev-index-position-function.
9531 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
9533         * htmlfontify.el (htmlfontify-load-rgb-file)
9534         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
9535         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
9536         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
9537         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
9538         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
9539         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
9540         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
9541         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
9542         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
9543         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
9544         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
9545         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
9546         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
9547         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
9548         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
9549         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
9550         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
9551         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
9552         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
9553         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
9554         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
9555         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
9556         backslash-quoting from parentheses, etc.
9558 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
9560         * progmodes/js.el: Autoload javascript-mode alias.
9562 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
9564         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
9565         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
9566         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
9567         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
9568         Fix typos in docstrings.
9569         (ffap-url-regexp): Doc fix.
9570         (ffap-at-mouse): Fix typo in message.
9572 2010-01-11  Glenn Morris  <rgm@gnu.org>
9574         * version.el (emacs-copyright): Set copyright year to 2010.
9576 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9578         * format.el (format-annotate-function): Only set
9579         write-region-post-annotation-function after running to-fn so as not to
9580         affect nested write-region calls (bug#5273).
9582 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
9584         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
9585         wisent/python.el.
9587 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
9589         * man.el (Man-goto-section): Signal error if the section is not
9590         found (Bug#5317).
9592 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
9594         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
9595         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
9597 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
9599         * progmodes/compile.el: Don't treat compile-command as safe if
9600         compilation-read-command might be nil (Bug#4218).
9602 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
9604         * startup.el (command-line-1): Use orig-argi to check for ignored X and
9605         NS options.
9607 2010-01-08  Kenichi Handa  <handa@m17n.org>
9609         * international/fontset.el (build-default-fontset-data):
9610         Exclude characters in scripts kana, hangul, han, or cjk-misc.
9612 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
9614         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
9615         to `create-file-buffer' as it expects, not just a buffer name.
9616         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
9617         to help uniquify.  (Bug#3224)
9619 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
9621         * font-setting.el (font-setting-change-default-font): Use user-spec
9622         instead of name.
9624 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
9626         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
9628 2010-01-05  Tom Tromey  <tromey@redhat.com>
9630         * progmodes/python.el (python-font-lock-keywords):
9631         Handle qualified decorators (Bug#881).
9633 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
9635         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
9636         in a lightweight checkout.
9638 2010-01-05  Kenichi Handa  <handa@m17n.org>
9640         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
9642 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
9644         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
9646 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
9648         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
9649         checkouts.  (Bug#618)
9650         (vc-bzr-log-view-mode): Also highlight the author.
9651         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
9652         (vc-bzr-shelve-menu-map):
9653         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
9654         (vc-bzr-shelve-apply): Make prompt more explicit.
9656 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
9658         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
9659         They are valid characters in URL paths (rfc3986), and at least
9660         Firefox does not understand the encoded version (Bug#3166).
9662 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
9664         * progmodes/octave-mod.el (octave-end-keywords)
9665         (octave-block-begin-or-end-regexp, octave-block-match-alist):
9666         Add "end" keyword (Bug#3061).
9667         (octave-end-as-array-index-p): New function.
9668         (calculate-octave-indent): Use it.
9670 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9672         * bookmark.el: Consistently put the text property on the bookmark name.
9673         (bookmark-bmenu-marks-width): Bump back to 2, to include
9674         annotation marks.
9675         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
9676         property on the bookmark name, instead of not putting it at all.
9677         (bookmark-bmenu-list): Fix where we put the text property.
9679 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9681         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
9682         for showing buffer modified state (as added in the previous change).
9684 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9686         * bookmark.el: Show modified state of bookmark buffer more accurately.
9687         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
9688         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
9689         (with-buffer-modified-unmodified): New macro.
9690         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
9691         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
9692         Use new macro to preserve the buffer modified state.
9694 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9696         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
9697         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
9698         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
9699         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
9700         (bookmark-bmenu-rename, bookmark-bmenu-locate)
9701         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
9702         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
9704 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
9706         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9707         Make the lines in the generated doc string shorter.  (Bug#4668)
9709 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
9711         * net/rcirc.el: Add follow-link binding (Bug#4738).
9713 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
9715         * Makefile.in (bzr-update): Rename from cvs-update.
9716         (cvs-update): New target for backward compatibility.
9718         * makefile.w32-in (bzr-update): Rename from cvs-update.
9719         (cvs-update): New target for backward compatibility.
9721 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9723         * bookmark.el: Remove gratuitous gratitude.
9725 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9727         * bookmark.el (bookmark-bmenu-any-marks): New function.
9728         (bookmark-bmenu-save): Clear buffer modification if no marks.
9730 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9732         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
9733         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
9734         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
9735         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
9737         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
9738         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
9739         To: emacs-devel {_AT_} gnu.org
9740         Subject: bookmark.el bug report
9741         Date: Mon, 28 Dec 2009 14:19:16 +0800
9742         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
9744 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9746         * bookmark.el: Improvements suggested by Drew Adams:
9747         (bookmark-bmenu-ensure-position): New name for
9748         `bookmark-bmenu-check-position'.  Just ensure the position,
9749         don't return any meaningful value.
9750         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
9751         New constants.
9753 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
9755         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
9756         (bookmark-yank-point, bookmark-bmenu-check-position):
9757         Fix typos in docstrings.
9758         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
9759         (bookmark-name-from-full-record, bookmark-get-position)
9760         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
9761         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
9762         Remove useless quoting of parenthesis, etc. in docstrings.
9764         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
9765         (ediff-append-custom-diff): Fix typo in error message.
9766         (ediff-meta-mark-equal-files): Fix typos in messages.
9768         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
9770         * net/imap-hash.el (imap-hash-make): Doc fix.
9771         (imap-hash-test): Fix typo in error message; reflow docstring.
9772         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
9773         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
9774         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
9775         Fix typos in docstrings.
9776         (imap-hash-open-connection): Fix typo in error message.
9778         * play/gomoku.el (gomoku): Fix typos in docstring.
9780         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
9781         (gdb-jsonify-buffer): Fix typos in docstring.
9782         (gdb-goto-breakpoint): Fix typo in error message.
9783         ("Display Other Windows"): Fix typo in help message.
9784         (gdb-speedbar-expand-node): Fix typo in question.
9786         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
9787         (idlwave-html-system-help-location, idlwave-html-help-location)
9788         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
9789         (idlwave-help-browser-generic-args, idlwave-help-directory)
9790         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
9791         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
9792         (idlwave-online-help, idlwave-help-html-link)
9793         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
9794         Fix typos in docstrings.
9795         (idlwave-help-with-source, idlwave-help-find-routine-definition):
9796         Reflow docstrings.
9797         (idlwave-help-assistant-start): Fix typo in error message.
9799         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
9800         (octave-electric-space): Fix typos in docstrings.
9802 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
9804         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
9806 2010-01-01  Juri Linkov  <juri@jurta.org>
9808         * comint.el (comint-input-ring-size): Make it a defcustom and
9809         increase the default to 500 (Bug#5148).
9811 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
9813         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
9814         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
9815         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
9817 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
9819         Show working revision correctly for mercurial.
9820         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
9821         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
9823 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
9825         Declare some functions for the byte-compiler.
9826         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
9827         (speedbar-timer-fn, speedbar-change-expand-button-char)
9828         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
9830 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
9832         This changeset reverts GDB Graphical Interface to use annotations.
9833         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
9835 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
9837         Make vc-dir work on subdirectories of the bzr root.
9838         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.  Return
9839         file names relative to it.
9840         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
9841         relative directory to vc-bzr-after-dir-status.
9843 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
9845         * font-lock.el (font-lock-refresh-defaults): New function, which
9846         can be used to let font-lock react to external changes in
9847         variables like font-lock-defaults and keywords.
9848         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
9850 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
9852         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
9854         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
9856 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
9858         Supersede color.diff settings in git log (bug#5211).
9860         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
9861         escape chars in its output when the user has color.diff set to `always'.
9862         This fix works on git 1.4.2 and newer (released on 2006-08-13).
9864 2009-12-26  Kevin Ryde  <user42@zip.com.au>
9866         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
9867         node.  Keep previous "Index" name to work with past coreutils too.
9869         * man.el (man): Revise docstring a bit to show -a and -l as
9870         examples.  Add -k description since support for it has otherwise
9871         been a secret.  (Further to bug#3717.)
9872         (Man-bgproc-sentinel): When "-k foo" produces no output show error
9873         "no matches" rather than "Can't find manpage", as the latter reads
9874         like -k was interpreted as a page name, which is not so.  (Bug#5431)
9876 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
9878         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
9879         switches.  Check also for //SUBDIRED// line.
9881 2009-12-25  Kenichi Handa  <handa@m17n.org>
9883         * language/indian.el (devanagari-composable-pattern): Fixed to
9884         handle ZWNJ and ZWJ.  Use it in composition-function-table for
9885         Devanagari.
9886         (malayalam-composable-pattern): Fix previous change.
9888 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
9890         * ps-print.el (ps-face-attributes): It was not returning the
9891         attribute face for faces specified as string.  Reported by harven
9892         <harven@free.fr>.  (Bug#5254)
9893         (ps-print-version): New version 7.3.5.
9895 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
9897         * calendar/icalendar.el (icalendar--convert-tz-offset):
9898         Fix timezone names.
9899         (icalendar--convert-tz-offset): Fix the "last-day-problem".
9900         (icalendar--add-diary-entry): Remove the trailing blank that
9901         diary-make-entry inserts.
9903 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
9905         Make `file-expand-wildcards' work for remote files.
9907         * files.el (file-expand-wildcards): In case of remote files, check
9908         only local file name part for wildcards.  Provide feature 'files
9909         and subfeature 'remote-wildcards.  (Bug#5198)
9911         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
9912         if there is already an established connection.
9913         (tramp-advice-file-expand-wildcards): Remove it.
9915         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
9916         (tramp-advice-file-expand-wildcards): Move from tramp.el.
9917         Activate advice for older GNU Emacs versions.  (Bug#5237)
9919 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
9921         Some doc fixes (more needed).
9923         * find-cmd.el (find-constituents): Reflow docstring.
9924         (find-cmd, find-prune, find-command): Fix typos in docstrings.
9925         (find-generic): Doc fix.
9927 2009-12-17  Juri Linkov  <juri@jurta.org>
9929         Fix regression from 23.1 to allow multiple modes in Local Variables.
9931         * files.el (hack-local-variables-filter): While ignoring duplicates,
9932         don't take `mode' into account.
9933         (hack-local-variables-filter, hack-dir-local-variables):
9934         Don't remove duplicate `mode' from local-variables-alist (like `eval').
9936 2009-12-17  Juri Linkov  <juri@jurta.org>
9938         Make `dired-diff' safer.  (Bug#5225)
9940         * dired-aux.el (dired-diff): Signal an error when `file' equals to
9941         `current' or when `file' is a directory of the `current' file.
9943 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
9945         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
9946         unconditionally preloaded files.
9948 2009-12-16  Juri Linkov  <juri@jurta.org>
9950         Revert to old 23.1 logic of using the file at the mark as default.
9951         * dired-aux.el (dired-diff): Use the file at the mark as default
9952         if it's not the same as the current file, and the target dir is
9953         the current dir or the mark is active.  Add the current file
9954         as the arg of `dired-dwim-target-defaults'.  Use the default file
9955         in the prompt.  (Bug#5225)
9957 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
9959         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
9960         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
9961         (tramp-check-for-regexp): Check also, when an echoing shell stops
9962         to echo sent commands.
9964 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
9966         * Makefile.in: Revert last change (Bug#5191).
9968 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
9970         * vc-hg.el (vc-hg-print-log): Fix argument order.
9971         (vc-hg-working-revision): Make sure the command is executed in a
9972         known environment so that we can parse the output.  (Bug#4417)
9974 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
9976         * progmodes/python.el (python-symbol-completions): Remove text
9977         properties from symbol string before calling python-send-receive.
9979 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
9981         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
9982         when there are values for both file and line.  (Bug#5060)
9984 2009-12-14  Juri Linkov  <juri@jurta.org>
9986         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
9987         whitespace after the file name of the first line of unified format,
9988         because git-diff doesn't output whitespace and file modification time
9989         after the file name.
9991 2009-12-14  David Kastrup  <dak@gnu.org>
9993         * info.el (Info-hide-cookies-node): Before hiding a cookie,
9994         check if it already has the `display' property added by
9995         `Info-display-images-node', and not put the `invisible' property
9996         in this case.
9998 2009-12-13  Glenn Morris  <rgm@gnu.org>
10000         * mail/emacsbug.el (message-sort-headers): Define for compiler.
10001         (report-emacs-bug): In message-mode, sort manually before storing
10002         original report text.  (Bug#5178)
10003         Remove superfluous save-excursion.
10005 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
10007         * net/dbus.el (dbus-property-handler): Filter lambda forms out
10008         when responding to "GetAll" properties.
10010 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
10012         * simple.el (compose-mail): Remove mail-setup-with-from from
10013         customization checks.
10015 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
10017         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
10018         RAR archives created on Unix systems.
10020 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10022         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
10023         the varalias that was accidentally removed by the 2009-11-19 change
10024         (bug#5186).
10026 2009-12-12  Kenichi Handa  <handa@m17n.org>
10028         * language/indian.el (indian-compose-regexp): New function.
10029         (malayalam-composable-pattern): Fix the pattern.
10030         (composition-function-table): Set malayalam-composable-pattern for
10031         Malayalam characters.
10033 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
10035         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
10036         rather than down-mouse-1, based on follow-link conventions.
10038         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
10039         are compiled.
10041 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
10043         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
10044         (verilog-vmm-statement-re, verilog-ovm-statement-re)
10045         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
10046         (verilog-leap-to-head, verilog-backward-token):
10047         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
10049 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
10051         * progmodes/verilog-mode.el (verilog-auto-lineup)
10052         (verilog-nameable-item-re): Cleanup user-visible spelling and
10053         documentation errors.  One reported by Gary Delp.
10054         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
10055         (verilog-read-decls): Fix AUTOWIRE with types declared in a
10056         package, bug195.  Reported by Pierre-David Pfister.
10058 2009-12-11  Glenn Morris  <rgm@gnu.org>
10060         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
10062         * mail/emacsbug.el: No longer require sendmail.
10063         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
10064         (report-emacs-bug-orig-text): Doc fix.
10065         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
10066         New local variables, to adapt to different mail-user-agents.
10067         (report-emacs-bug): Fix test for a gnu.org address.
10068         Use overlays for emphasis, since font-lock defeats 'face property.
10069         Pretest bugs also end up at the newsgroup these days.
10070         Stop message-mode stripping text properties.
10071         Set and use the new buffer-local variables.
10072         (report-emacs-bug-hook): Add doc-string.
10073         Remove some unnecessary save-excursions and simplify.
10074         Use the appropriate hook and send-command.
10076         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
10077         capitalization of some menu entries.
10079 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
10081         * whitespace.el (whitespace-display-char-on):
10082         Ensure `buffer-display-table' is unique when two or more windows are
10083         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
10084         New version 12.1.
10086 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
10088         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
10089         characters in the Attribute field.
10091 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
10093         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
10095 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10097         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
10098         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10099         Disregard autoload-excludes.
10100         (update-directory-autoloads): Obey autoload-excludes here instead.
10101         But don't store its contents in no-autoloads and remove entries that
10102         refer to excludes files.
10104 2009-12-10  Glenn Morris  <rgm@gnu.org>
10106         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
10107         (expand-mail-aliases): Define for compiler.
10109         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
10110         Define for compiler.
10112         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
10113         appropriate for the mail-user-agent in use.
10115 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
10117         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
10119 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
10121         Fix short log parsing and fontification.
10122         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
10123         Fix fontification for the [merge] label.
10125 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
10127         Drop some properties to avoid surprises (bug#5002).
10128         * htmlfontify.el (hfy-ignored-properties): New defcustom.
10129         (hfy-fontify-buffer): Use it.
10131 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10133         Minor cleanup.
10134         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
10135         Adjust all callers.
10136         (ffap-locate-file): Remove unused arg `dir-ok' and make other
10137         args compulsory.  Adjust callers.
10138         (ffap-gopher-at-point): Remove unused var `name'.
10140         Get rid of the ELCFILES abomination.
10141         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10142         (compile-elcfiles): New phony target.
10143         (compile-main): Compute ELCFILES dynamically.
10144         (compile-clean): New target to remove left-over elc files.
10145         (compile, all): Use it.
10147 2009-12-09  Kenichi Handa  <handa@etlken>
10149         * international/mule-diag.el: Require help-mode instead of help-fns.
10151 2009-12-09  Kenichi Handa  <handa@m17n.org>
10153         * international/mule-cmds.el (ucs-names): Supply sufficiently
10154         fine ranges instead of pre-calculating accurate ranges.
10155         Iterate with bigger gc-cons-threshold.
10157 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
10159         Add support for stashing a snapshot of the current tree.
10160         * vc-git.el (vc-git-stash-snapshot): New function.
10161         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
10163 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
10165         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
10166         instead of `(beginning|end)-of-line'.
10168 2009-12-08  Glenn Morris  <rgm@gnu.org>
10170         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
10172         * Makefile.in (ELCFILES): Regenerate.
10174 2009-12-07  Juri Linkov  <juri@jurta.org>
10176         Don't lazy-highlight the comint output in history Isearch mode.
10178         * comint.el (comint-history-isearch-search): Instead of
10179         `comint-line-beginning-position', use `comint-after-pmark-p'
10180         to check if point if before the process mark, and go to
10181         `process-mark' in this case.
10183 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10185         * textmodes/tex-mode.el (latex-complete)
10186         (latex-indent-or-complete): Remove.
10187         (latex-mode): Set completion-at-point-functions instead.
10189         Provide a standard completion command and hook it into TAB.
10190         * minibuffer.el (completion-at-point-functions): New var.
10191         (completion-at-point): New command.
10192         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
10193         * progmodes/python.el (python-mode-map): Use completion-at-point.
10194         (python-completion-at-point): Rename from python-partial-symbol and
10195         adjust for use in completion-at-point-functions.
10196         (python-mode): Setup completion-at-point for Python completion.
10197         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
10198         extracted from lisp-complete-symbol.
10199         (lisp-complete-symbol): Use it.
10200         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
10201         setup completion-at-point for Elisp completion.
10202         (emacs-lisp-mode-map, lisp-interaction-mode-map):
10203         Use completion-at-point.
10204         * ielm.el (ielm-map): Use completion-at-point.
10205         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
10206         * progmodes/sym-comp.el: Move to...
10207         * obsolete/sym-comp.el: Move from progmodes.
10209 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
10211         Prevent save-buffer in Rmail buffers from using the coding-system
10212         of the current message, and from clobbering the encoding mnemonics
10213         in the mode line (Bug#4623).
10215         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
10216         flag, too.
10217         (rmail-message-encoding): New variable.
10218         (rmail-write-region-annotate): Record the encoding of the current
10219         message in rmail-message-encoding.
10220         (rmail-after-save-hook): New function, restores the encoding of
10221         the current message after the message collection is saved.
10223 2009-12-07  Juri Linkov  <juri@jurta.org>
10225         * progmodes/grep.el (grep-read-files): Use `completing-read'
10226         instead of `read-string'.  Set its `collection' arg to
10227         `read-file-name-internal'.  (Bug#4301)
10229 2009-12-07  Juri Linkov  <juri@jurta.org>
10231         Correctly restore original Isearch point.  (Bug#4994)
10233         * isearch.el (isearch-mode): Move `isearch-push-state' after
10234         `(run-hooks 'isearch-mode-hook)'.
10235         (isearch-cancel): When `isearch-push-state-function' is defined,
10236         let-bind `isearch-cmds' to the first state (the last element of
10237         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
10238         function and restores the original point).  Otherwise, move point
10239         to `isearch-opoint'.
10241 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10243         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
10244         chars that don't have names, so the table can be built much faster at
10245         run-time.
10247 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
10249         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
10250         change.  Suggested by David Kastrup.
10252         * simple.el (compose-mail): Check for incompatibilities and warn.
10253         (compose-mail-user-agent-warnings): New option.
10255 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
10257         Support showing a single log entry from vc-annotate.
10258         * vc.el (print-log): Add a new argument: START-REVISION.
10259         (vc-print-log-internal): Add a new optional argument and
10260         pass it to the backend.
10261         (vc-print-log, vc-print-root-log): Adjust callers.
10262         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
10263         buffer already displays the requested log entry, use it.
10264         Otherwise display only the log entry in question.
10265         * vc-svn.el (vc-svn-print-log):
10266         * vc-mtn.el (vc-mtn-print-log):
10267         * vc-hg.el (vc-hg-state):
10268         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
10269         (vc-git-show-log-entry): Return t on success.
10270         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
10271         (vc-bzr-show-log-entry): Return t on success.
10272         * vc-rcs.el (vc-rcs-print-log):
10273         * vc-sccs.el (vc-sccs-print-log):
10274         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
10276 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
10278         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
10279         Add menus to the meta mode.  (Bug#5043)
10281 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
10283         * ediff-init.el (ediff-event-key): Use event-to-character instead of
10284         event-key.
10286         * ediff.el (ediff-buffers-internal): Add unwind-protect.
10288 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
10290         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
10291         Berbain <raphael.berbain@gmail.com>.
10293         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
10294         characters.
10295         (tramp-initial-end-of-output): New defconst.
10296         (tramp-methods, tramp-find-shell)
10297         (tramp-open-connection-setup-interactive-shell)
10298         (tramp-maybe-open-connection): Use it.
10299         (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
10300         existence of `#' and `$'.
10302         * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
10303         `tramp-initial-end-of-output'.
10305 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
10307         Get the background mode from the terminal for xterm, and set
10308         faces accordingly.
10309         * term/xterm.el (xterm-set-background-mode): New function.
10310         (terminal-init-xterm): Use it in case xterm supports background
10311         color queries.  Recompute faces after getting the background
10312         color.
10314 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
10316         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
10317         number comment back on its own line, for easier parsing.
10319 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10321         Make it work for non-file buffers (bug#5102).
10322         * doc-view.el (doc-view-current-cache-dir):
10323         Use doc-view-buffer-file-name rather than buffer-file-name.
10324         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
10326 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
10328         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
10329         author field is too short.
10331 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
10333         * vc-git.el (vc-git-print-log): Handle a limit argument.
10334         Display the short log in graph form and with labels.
10335         (vc-git-log-view-mode): Handle labels.
10337         Make vc-revert change VC state from 'added to 'unregistered.
10338         * vc-git.el (vc-git-revert): Call git reset first.
10340 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
10342         * net/newst-backend.el, net/newst-plainview.el:
10343         * net/newst-reader.el, net/newst-ticker.el:
10344         * net/newst-treeview.el, net/newsticker.el:
10345         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
10347 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
10349         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
10351         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
10352         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
10353         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
10354         Update annotation regexp.
10356         * simple.el (beginning-of-visual-line): Constrain to field
10357         boundaries (Bug#5106).
10359 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
10361         * xml.el (xml-substitute-numeric-entities): Move
10362         newsticker--decode-numeric-entities in newst-backend.el to
10363         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
10364         * net/newst-backend.el (newsticker--parse-generic-feed)
10365         (newsticker--parse-generic-items)
10366         (newsticker--decode-numeric-entities): Move
10367         newsticker--decode-numeric-entities in newst-backend.el to
10368         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
10370 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
10372         * progmodes/js.el (js--js-not): Add null to the list of values.
10374 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
10376         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
10378 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
10380         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
10381         delimiter if it is at the end of the current line.
10382         (bibtex-generate-url-list): Fix docstring.
10384 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10386         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
10387         minibuffer's content with itself.
10388         Fold the confirm-after-completion case into the `confirm' case.
10389         (completion-pcm-word-delimiters): Add : and / to the delimiters.
10391 2009-12-06  Kevin Ryde  <user42@zip.com.au>
10393         * ffap.el (ffap-rfc-path): Make this a defcustom since
10394         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
10396         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
10397         manuals, similar to existing setup for help-mode.  (Bug#3913.)
10399 2009-12-05  Juri Linkov  <juri@jurta.org>
10401         Save and restore dired buffer's point positions too.  (Bug#4880)
10403         * dired.el (dired-save-positions): Return in the first element
10404         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
10405         Doc fix.
10406         (dired-restore-positions): First restore buffer's position.
10407         While restoring window's positions, check if window still displays
10408         the original buffer.
10410 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
10412         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
10413         if possible.
10415         * shell.el (shell): Require ansi-color (Bug#5113).
10417         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
10419         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
10421 2009-12-05  Alan Mackenzie  <acm@muc.de>
10423         * progmodes/cc-mode.el (c-before-hack-hook)
10424         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
10425         `c-file-style' to work again.  This reversion restores the current
10426         software to its state in Emacs 23.1.  (Bug#4146)
10428 2009-12-05  Kevin Ryde  <user42@zip.com.au>
10430         * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
10431         comment-start-skip to comment-end-skip as comment (Bug#4781).
10433 2009-12-05  Juri Linkov  <juri@jurta.org>
10435         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
10436         for virtual nodes.  (Bug#4147)
10437         (Info-find-node-2): Set `Info-current-node-virtual' to nil
10438         when moving from a virtual node.
10439         (Info-mode-menu): Add `Info-virtual-index' to the menu.
10440         (Info-mode): Add `Info-virtual-index' to the docstring.
10442 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
10444         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
10445         track of the buffer position of the end of a BibTeX entry as this
10446         position may change during reformatting.
10447         (bibtex-format-entry): Remove whitespace before processing
10448         numerical fields so that we recognize the latter properly.
10449         (bibtex-reformat): Do not use push which changes the global value
10450         of bibtex-entry-format.
10451         (bibtex-field-braces-alist, bibtex-field-strings-alist)
10452         (bibtex-field-re-init): Replace only space characters by regexp
10453         for whitespace.
10454         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
10455         (bibtex-initialize): Also update bibtex-strings.
10456         (bibtex-kill-field): Preserve white space at end of entry.
10457         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
10458         Update bibtex-reference-keys.
10460 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10462         * minibuffer.el (completion-pcm--merge-try): Also consider placing
10463         point after a star, if that's the only place where modifications can
10464         make progress.
10466 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
10468         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
10469         in docstrings.
10471 2009-12-04  Juri Linkov  <juri@jurta.org>
10473         * proced.el (proced): Call `(proced-update t)' to update process
10474         information instead of only running proced-post-display-hook.
10475         (proced-send-signal): Add a leading space to the buffer name
10476         " *Marked Processes*" to make this buffer ephemeral.
10478 2009-12-04  Juri Linkov  <juri@jurta.org>
10480         * dired.el (dired-auto-revert-buffer): New defcustom.
10481         (dired-internal-noselect): Use it.
10483 2009-12-04  Juri Linkov  <juri@jurta.org>
10485         Change roles of modes and functions in image-mode.el (Bug#5062).
10487         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
10488         in `auto-mode-alist'.
10489         (image-mode-previous-major-mode): New variable.
10490         (image-minor-mode-map): Rename from `image-mode-text-map'.
10491         (image-mode): Move graceful error-handling code from
10492         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
10493         (image-minor-mode): Remove all image-handling code.
10494         Replace `image-mode-text-map' with `image-minor-mode-map'.
10495         Check for `image-type' in mode-line format string.
10496         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
10497         (image-mode-as-text): New function with most code from
10498         `image-mode-maybe'.
10499         (image-toggle-display-text): Move code that removes image
10500         properties from `image-toggle-display' to here.
10501         (image-toggle-display-image): New function with code that adds
10502         image properties copied from `image-toggle-display'.
10503         (image-toggle-display): Remove most code with leaving only code
10504         that toggles between `image-mode-as-text' and `image-mode'.
10506 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
10508         * net/newst-treeview.el
10509         (newsticker--treeview-list-highlight-start): Restored call to
10510         save-excursion: Selected item was stuck.
10511         (newsticker--treeview-list-select): New.
10512         (newsticker--treeview-item-show-text)
10513         (newsticker--treeview-item-show)
10514         (newsticker--treeview-item-update): Use new
10515         newsticker-treeview-item-mode.
10516         (newsticker-treeview-update): Keep current item.
10517         (newsticker-treeview-next-new-or-immortal-item): Doc change.
10518         (newsticker--treeview-first-feed): Doc change.
10519         (newsticker-treeview-list-menu)
10520         (newsticker-treeview-item-menu): Added menu entries.
10521         (newsticker-treeview-item-mode): New.
10523         * net/newst-backend.el (newsticker-customize): Delete other
10524         windows.
10526 2009-12-04  Sam Steingold  <sds@gnu.org>
10528         * log-view.el (log-view-mode-map): "q" calls quit-window,
10529         like in all the other non-self-insert buffers.
10531 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10533         Minor cleanup.
10534         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
10535         key decoding rather than do it manually via last-input-event +
10536         ascii-character.
10537         (term-exec): Use delete-and-extract-region.
10538         (term-handle-ansi-terminal-messages): Remove unused var `end'.
10539         (term-process-pager): Remove unused var `i'.
10540         (term-dynamic-simple-complete): Make obsolete.
10541         (serial-update-config-menu): Remove unused vars `y' and `str'.
10542         (term-update-mode-line): Remove unused var `temp'.
10544 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
10546         Limit the number of log entries displayed by default.
10547         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
10548         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
10549         using a prefix argument.
10551 2009-12-03  Glenn Morris  <rgm@gnu.org>
10553         * progmodes/idlwave.el (class): Restore still useful declaration.
10555 2009-12-03  Alan Mackenzie  <acm@muc.de>
10557         Enhance `c-parse-state' to run efficiently in "brace deserts".
10559         * progmodes/cc-mode.el (c-basic-common-init):
10560         Call c-state-cache-init.
10561         (c-neutralize-syntax-in-and-mark-CPP): Rename from
10562         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
10563         placing `category' properties value 'c-cpp-delimiter at its boundaries.
10565         * progmodes/cc-langs.el (c-before-font-lock-function):
10566         c-extend-and-neutralize-syntax-in-CPP has been renamed
10567         c-neutralize-syntax-in-and-mark-CPP.
10569         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
10570         with `category' properties now, not `syntax-table' ones.
10572         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
10573         enhanced (but slower) version of c-end-of-macro that won't land
10574         inside a literal or on another awkward character.
10575         (c-state-cache-too-far, c-state-cache-start)
10576         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
10577         (c-state-nonlit-pos-cache-limit, c-state-point-min)
10578         (c-state-point-min-lit-type, c-state-point-min-lit-start)
10579         (c-state-min-scan-pos, c-state-brace-pair-desert)
10580         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
10581         buffer local variables.
10582         (c-state-literal-at, c-state-lit-beg)
10583         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
10584         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
10585         (c-state-cache-top-paren, c-state-cache-after-top-paren)
10586         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
10587         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
10588         (c-renarrow-state-cache)
10589         (c-append-lower-brace-pair-to-state-cache)
10590         (c-state-push-any-brace-pair, c-append-to-state-cache)
10591         (c-remove-stale-state-cache)
10592         (c-remove-stale-state-cache-backwards, c-state-cache-init)
10593         (c-invalidate-state-cache-1, c-parse-state-1)
10594         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
10595         (c-parse-state): Enhance and refactor.
10596         (c-debug-parse-state): Amend to deal with all the new variables.
10598         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
10599         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
10600         modify to use category text properties rather than syntax-table ones.
10601         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
10602         to switch off/on the syntactic paren property of C++ template
10603         delimiters using the category property.
10604         (c-with-<->-as-parens-suppressed): Macro to invoke code with
10605         template delims suppressed.
10606         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
10607         New constant/macros which apply category properties to the start
10608         and end of preprocessor constructs.
10609         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
10610         "comment out" the syntactic value of characters in preprocessor
10611         constructs.
10612         (c-with-cpps-commented-out)
10613         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
10614         with characters in all or all but one preprocessor constructs
10615         "commented out".
10617 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
10619         * proced.el (proced-filter-alist): Use regexp-quote.
10621 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
10623         Cleanup.
10624         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
10625         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
10626         arguments.  Expand `default-directory'.
10628         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
10629         the benefit of returning an expanded localname.
10630         (tramp-tramp-file-p): Handle the case NAME is not a string.
10632 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
10634         Add support for bzr shelve/unshelve.
10635         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10636         (vc-bzr-extra-menu-map): New variables.
10637         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
10638         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
10639         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
10640         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
10641         (vc-bzr-dir-extra-headers): Display shelves.
10643         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
10645 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10647         * textmodes/bibtex.el (bibtex-complete-internal):
10648         Use completion-in-region.
10649         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
10651 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
10653         Support applying stashes.  Improve UI.
10654         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
10655         (vc-git-stash-apply, vc-git-stash-pop)
10656         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
10657         (vc-git-stash-menu): New functions.
10658         (vc-git-stash-menu-map): New variable.
10659         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
10661 2009-12-03  Glenn Morris  <rgm@gnu.org>
10663         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
10664         (vc-print-log-internal): Fix previous change.
10665         (vc-revert): Correct pluralization.
10667 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10669         * progmodes/make-mode.el (makefile-special-targets-list): No need for
10670         it to be an alist any more.
10671         (makefile-complete): Use completion-in-region.
10673         * progmodes/octave-mod.el (octave-complete-symbol):
10674         Use completion-in-region.
10676         Misc cleanup.
10677         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
10678         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
10679         (idlwave-complete-class): Don't quote lambda.
10680         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
10681         (idlwave-mode-map): Move initialization into declaration.
10682         (idlwave-action-and-binding): Use backquotes.
10683         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
10684         Simplify.
10685         (idlwave-is-pointer-dereference): Remove unused var `pos'.
10686         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
10687         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
10688         `parts', and `all-parts'.
10689         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
10690         (idlwave-convert-xml-system-routine-info): Remove unused string
10691         `version-string'.
10692         (idlwave-display-user-catalog-widget): Use dolist.
10693         (idlwave-scanning-lib): Declare dynamically-scoped var.
10694         (idlwave-scan-library-catalogs): Remove unused var `flags'.
10695         (completion-highlight-first-word-only): Declare to silence bytecomp.
10696         (idlwave-popup-select): Tighten scope of `resp'.
10697         (idlwave-find-struct-tag): Remove unused var `beg'.
10698         (idlwave-after-load-rinfo-hook): Declare.
10699         (idlwave-sintern-class-info): Remove unused var `taglist'.
10700         (idlwave-find-class-definition): Remove unused var `list'.
10701         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
10702         (idlwave-what-module-find-class): Remove unused var `classes'.
10704 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
10706         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
10708 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10710         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
10711         buffers visited.  Remove redundant current-buffer-saving.
10713 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10715         Use completion-in-buffer and remove uses of dynamic scoping.
10716         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
10717         (pascal-buffer-to-use, pascal-flag): Don't declare.
10718         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
10719         (pascal-get-completion-decl, pascal-keyword-completion):
10720         Add `pascal-str' argument, save-excursion,
10721         return the found completions, and don't filter with pascal-pred.
10722         (pascal-completion-cache): New var.
10723         (pascal-completion): Don't switch buffer any more (it was never
10724         necessary).  Don't save-excursion any more (it's done by the called
10725         subroutines).  Use a cache to avoid redundant computations.
10726         Use complete-with-action rather than pascal-completion-response and
10727         let it apply the predicate as well.
10728         (pascal-complete-word): Use completion-in-buffer when
10729         pascal-toggle-completions is nil.
10730         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
10731         not used any more.
10732         (pascal-comp-defun): Don't change buffer any more.
10733         Use complete-with-action rather than pascal-completion-response and
10734         let it apply the predicate as well.
10735         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
10736         when neded.
10738 2009-12-02  Kenichi Handa  <handa@m17n.org>
10740         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
10741         shape for all Indic scripts.
10743 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10745         Use completion-in-buffer.
10746         * wid-edit.el (widget-field-text-end): New function.
10747         (widget-field-value-get): Use it.
10748         (widget-string-complete, widget-file-complete)
10749         (widget-color-complete): Use it and completion-in-region.
10750         (widget-complete): Don't narrow the buffer.
10752 2009-12-02  Glenn Morris  <rgm@gnu.org>
10754         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
10755         (rmail-select-summary): Use rmail-pop-to-buffer.
10756         * mail/rmailsum.el: Replace all pop-to-buffer calls with
10757         rmail-pop-to-buffer, to prevent horizontal splits.
10759         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
10760         save-excursion with save-current-buffer.
10761         Widen before searching.  (Bug#5093)
10762         (diary-list-sexp-entries): Remove superfluous save-excursion.
10764 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
10766         * woman.el (woman-make-bufname): Handle man-pages with "." in the
10767         name.  (Bug#5038)
10769 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
10771         * ido.el (ido-file-internal): Handle filenames at point that do
10772         not have a directory part.  (Bug#5049)
10774 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
10776         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
10777         (mpc-songs-jump-to, mpc-resume): Doc fixes.
10779 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
10781         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
10782         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
10783         any more.
10785 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10787         * comint.el (comint-insert-input): Ignore clicks to the right of
10788         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
10790         * vc.el (vc-print-log-internal): Don't wait for the process to
10791         terminate before setting up the major mode.
10793         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
10794         in case.
10796         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
10797         the last element.
10799         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
10801 2009-12-01  Glenn Morris  <rgm@gnu.org>
10803         * window.el (window--display-buffer-2): Fix previous changes.
10805 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
10807         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
10809 2009-12-01  Glenn Morris  <rgm@gnu.org>
10811         * Makefile.in (ELCFILES): Add mpc.elc.
10813 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10815         * mpc.el: New file.
10817 2009-12-01  Glenn Morris  <rgm@gnu.org>
10819         * window.el (window-to-use): Define for compiler.
10821         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
10822         consistent with others (no final period).
10824         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
10825         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
10827 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
10829         Make vc-print-log buttons work.
10830         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
10832 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
10834         * savehist.el (savehist-autosave-interval): Allow setting to nil
10835         through customize.  (Bug#5056)
10837 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
10839         Fix references to jit-lock properties.
10840         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
10841         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
10842         (perl-font-lock-special-syntactic-constructs):
10843         Quote jit-lock-defer-multiline property.
10845 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
10847         * vc-git.el (vc-git-registered): Call vc-git-root only once.
10849 2009-11-30  Juri Linkov  <juri@jurta.org>
10851         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
10852         value `buffer' of `multi-isearch-next-buffer-current-function'.
10853         Use `(current-buffer)' when `buffer' is nil.
10854         (multi-isearch-next-buffer-from-list): Don't fallback to
10855         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
10857 2009-11-30  Juri Linkov  <juri@jurta.org>
10859         * misearch.el (multi-isearch-read-buffers): Move canonicalization
10860         of buffers with `get-buffer' to `multi-isearch-buffers'.
10861         (multi-isearch-buffers, multi-isearch-buffers-regexp):
10862         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
10863         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
10864         FILES with `expand-file-name' converting relative file names
10865         to absolute.  Doc fix.  (Bug#4727)
10867 2009-11-30  Juri Linkov  <juri@jurta.org>
10869         * misearch.el (multi-isearch-read-buffers)
10870         (multi-isearch-read-matching-buffers): New functions.
10871         (multi-isearch-buffers, multi-isearch-buffers-regexp):
10872         Use them in the `interactive' spec.  Doc fix.
10873         (multi-isearch-read-files, multi-isearch-read-matching-files):
10874         New functions.
10875         (multi-isearch-files, multi-isearch-files-regexp):
10876         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
10878 2009-11-30  Juri Linkov  <juri@jurta.org>
10880         * doc-view.el (doc-view-continuous):
10881         Rename from `doc-view-continuous-mode'.
10882         (doc-view-menu): Move "Toggle display" to the top.
10883         Add submenu "Continuous" with radio buttons "Off"/"On"
10884         and "Save as Default".
10885         (doc-view-scroll-up-or-next-page)
10886         (doc-view-scroll-down-or-previous-page)
10887         (doc-view-next-line-or-next-page)
10888         (doc-view-previous-line-or-previous-page): Rename
10889         `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
10891 2009-11-30  Juri Linkov  <juri@jurta.org>
10893         * comint.el (comint-mode-map): Rebind `M-r' from
10894         `comint-previous-matching-input' to
10895         `comint-history-isearch-backward-regexp'.
10896         Unbind `M-s' to allow global key binding `M-s'.
10897         Add menu items for `comint-history-isearch-backward' and
10898         `comint-history-isearch-backward-regexp'.  (Bug#3746)
10900 2009-11-30  Juri Linkov  <juri@jurta.org>
10902         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
10903         For def=recenter, replace `recenter' with `recenter-top-bottom'
10904         that is called with `this-command' and `last-command' let-bound
10905         to `recenter-top-bottom'.  When the last `def' was not `recenter',
10906         set `recenter-last-op' to nil.  (Bug#4981)
10908 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10910         Minor cleanup and simplification.
10911         * filecache.el (file-cache-add-directory)
10912         (file-cache-add-directory-recursively)
10913         (file-cache-add-from-file-cache-buffer)
10914         (file-cache-delete-file-regexp, file-cache-delete-directory)
10915         (file-cache-files-matching-internal, file-cache-display): Use dolist.
10916         (file-cache-temp-minibuffer-message): Delete function.
10917         (file-cache-minibuffer-complete): Use minibuffer-message instead.
10919         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
10920         Don't signal an error when bumping into EOB in tr, s, or y.
10922 2009-11-29  Juri Linkov  <juri@jurta.org>
10924         * startup.el (fancy-about-text): Fix wording of Guided Tour.
10925         (Bug#4960)
10927         * descr-text.el (describe-char-unidata-list): Use lowercase name
10928         for "Unicode name" like in other tags.
10930 2009-11-29  Juri Linkov  <juri@jurta.org>
10932         * ediff-util.el (ediff-minibuffer-with-setup-hook):
10933         New compatibility macro.
10934         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
10936 2009-11-29  Juri Linkov  <juri@jurta.org>
10938         Add defcustom to define the cycling order of `recenter-top-bottom'.
10939         (Bug#4981)
10941         * window.el (recenter-last-op): Doc fix.
10942         (recenter-positions): New defcustom.
10943         (recenter-top-bottom): Rewrite to use `recenter-positions'.
10944         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
10946 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
10948         Improve integration of Tramp and ange-ftp in eshell.
10950         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
10951         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
10952         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
10954         * eshell/esh-util.el (top): Require also Tramp when compiling.
10955         (eshell-directory-files-and-attributes): Check for FTP remote
10956         connection.
10957         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
10958         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
10959         (eshell-file-attributes): Handle ".".  Return `entry'.
10961         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
10962         (ange-ftp-directory-files-and-attributes)
10963         (ange-ftp-real-directory-files-and-attributes): New defuns.
10965         * net/tramp.el (tramp-maybe-open-connection): Open the remote
10966         shell with "exec" when possible.  This prevents trailing prompts
10967         in `start-file-process'.
10969 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10971         Try and remove assumptions about point-min==1.
10972         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
10973         (rng-compute-mode-line-string): Show the validation percentage in
10974         terms of the narrowed text, not the widened text.
10975         (rng-do-some-validation): Don't catch internal errors when debugging.
10976         (rng-first-error): Simplify.
10977         (rng-after-change-function): Remove work around.  AFAIK the bug has
10978         been fixed a while ago.
10980         * image-mode.el (image-minor-mode): Exit more gracefully when the image
10981         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
10983         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
10985         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
10986         `cd' doesn't always do it for us (bug#5067).
10988         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
10989         on 2009-10-25 as part of some other change (bug#5067).
10991 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10993         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
10994         `suspicious'.
10995         (byte-compile-warnings): Use byte-compile-warning-types.
10996         (byte-compile-save-excursion): Warn about use of set-buffer right
10997         after save-excursion.
10999         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
11000         the excursion as well.
11002 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
11004         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
11005         providing a Tramp related implementation of "su" and "sudo".
11006         (eshell-unix-initialize): Add "su" and "sudo".
11008 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
11010         * net/socks.el (socks-send-command): Convert binary request to
11011         unibyte before sending.  This fixes mishandling of some port
11012         numbers such as 129.
11014 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11016         * help.el (describe-bindings-internal): Remove `interactive'.
11018         * man.el (Man-completion-table): Trim a terminating "(".
11019         Remove the space between name page a section.
11020         Add the command's description on the `help-echo' property.
11021         Remove `process-connection-type' binding since it's unused by
11022         call-process.
11023         Provide completion for the "<section> <name>" format as well.
11024         (Man-default-man-entry): Remove spurious var shadowing the argument.
11026 2009-11-26  Kevin Ryde  <user42@zip.com.au>
11028         * log-view.el: Add "Keywords: tools", since its other keywords
11029         aren't in finder-known-keywords, and following vc.el.
11031         * sha1.el (sha1-string-external): default-directory "/" in case
11032         otherwise non-existent.  process-connection-type pipe for touch of
11033         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
11035 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11037         Misc coding convention cleanups.
11038         * htmlfontify.el (hfy-init-kludge-hook): Rename from
11039         hfy-init-kludge-hooks.
11040         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
11041         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
11042         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
11043         and push.
11044         (hfy-slant, hfy-weight): Use tables rather than code.
11045         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
11046         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
11047         (hfy-face-attr-for-class): Initialize `face-spec' directly.
11048         (hfy-face-to-css): Remove `nconc' with single arg.
11049         (hfy-p-to-face-lennart): Use `or'.
11050         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
11051         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
11052         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
11053         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
11054         (hfy-force-fontification): Use run-hooks.
11056 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
11058         Various minor fixes.
11059         * htmlfontify.el (hfy-default-header): Add toggle_invis since
11060         Javascript belongs in the header, not the body.
11061         (hfy-javascript): Remove.
11062         (hfy-fontify-buffer): Don't insert it any more.
11063         (hfy-face-at): Handle (face0 face1 face2) style face properties.
11064         Fix bug in invis handling when there were no invis props in a chunk.
11066 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11068         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
11070 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
11072         * finder.el (finder-mode-map): Add a menu.
11074 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
11076         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
11077         "unsigned" structs.
11079         (verilog-leap-to-head, verilog-backward-token): Handle "disable
11080         fork" statement better.
11082 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
11084         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
11085         (verilog-delete-auto, verilog-delete-empty-auto-pair)
11086         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
11087         Reported by Clay Douglass.
11089         (verilog-auto-inst, verilog-auto-star-safe)
11090         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
11091         Fix removing "// Interfaces" when saving .* expansions.  Reported by
11092         Pierre-David Pfister.
11094 2009-11-26  Glenn Morris  <rgm@gnu.org>
11096         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
11097         the scope.
11099 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
11101         * vc-annotate.el (vc-annotate-revision-previous-to-line):
11102         Really use previous revision.
11104 2009-11-25  Kevin Ryde  <user42@zip.com.au>
11106         * man.el (Man-completion-table): default-directory "/" in case
11107         doesn't otherwise exist.  process-environment COLUMNS=999 so as
11108         not to truncate long names.  process-connection-type pipe to avoid
11109         any chance of hitting the pseudo-tty TIOCGWINSZ.
11110         (man): completion-ignore-case t for friendliness and since man
11111         itself is case-insensitive on the command line.
11112         Further to Bug#3717.
11114         * arc-mode.el: Add "Keywords: files", so the details in its
11115         commentary can be reached from finder-by-keyword.
11116         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
11117         editing mode, but it's comms related and sgml-mode.el has "comm"
11118         on that basis too.
11119         * textmodes/bibtex-style.el: Add "Keywords: tex".
11120         * international/isearch-x.el, international/ja-dic-cnv.el:
11121         * international/ja-dic-utl.el, international/kkc.el:
11122         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
11124 2009-11-25  Juri Linkov  <juri@jurta.org>
11126         * man.el (Man-completion-table): Modify regexp to include
11127         section names to completion strings.  (Bug#3717)
11129 2009-11-25  Juri Linkov  <juri@jurta.org>
11131         Search recursively in gzipped files.  (Bug#4982)
11133         * progmodes/grep.el (grep-highlight-matches): Add new options
11134         `always' and `auto'.  Doc fix.
11135         (grep-process-setup): Check `grep-highlight-matches' for
11136         `auto-detect' to determine the need to compute grep defaults.
11137         Move Windows/DOS specific --colors settings handling
11138         to `grep-compute-defaults'.  Check `grep-highlight-matches'
11139         to get the value of "--color=".
11140         (grep-compute-defaults): Compute `grep-highlight-matches' when it
11141         has the value `auto-detect'.  Move Windows/DOS specific settings
11142         from `grep-process-setup'.
11143         (zrgrep): New command with alias `rzgrep'.
11145 2009-11-25  Juri Linkov  <juri@jurta.org>
11147         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
11148         to nil instead of switching off view-mode.  (Bug#4896)
11150 2009-11-25  Juri Linkov  <juri@jurta.org>
11152         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
11154         * mwheel.el (mwheel-scroll-up-function)
11155         (mwheel-scroll-down-function): New defvars.
11156         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
11157         `scroll-up', and `mwheel-scroll-down-function' instead of
11158         `scroll-down'.
11160         * doc-view.el (doc-view-scroll-up-or-next-page)
11161         (doc-view-scroll-down-or-previous-page): Add optional ARG.
11162         Use this ARG in the call to image-scroll-up/image-scroll-down.
11163         Change `interactive' spec to "P".  Goto next/previous page only
11164         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
11165         SPC/DEL case).  Doc fix.
11166         (doc-view-next-line-or-next-page)
11167         (doc-view-previous-line-or-previous-page): Rename arg to ARG
11168         for consistency.
11169         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
11170         `doc-view-scroll-up-or-next-page', and buffer-local
11171         `mwheel-scroll-down-function' to
11172         `doc-view-scroll-down-or-previous-page'.
11174 2009-11-25  Juri Linkov  <juri@jurta.org>
11176         Provide additional default values (directories at other Dired
11177         windows) via M-n in the minibuffer of some Dired commands.
11179         * dired-aux.el (dired-diff, dired-compare-directories)
11180         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
11181         `minibuffer-default' in `minibuffer-with-setup-hook'.
11182         (dired-dwim-target-directory): Find a window that displays Dired
11183         buffer instead of failing when the next window is not Dired.
11184         Use `get-window-with-predicate' to find for the next Dired window.
11185         (dired-dwim-target-defaults): New function.
11187         * ediff-util.el (ediff-read-file-name):
11188         Use `dired-dwim-target-defaults' to set `minibuffer-default'
11189         in `minibuffer-with-setup-hook'.
11191 2009-11-25  Juri Linkov  <juri@jurta.org>
11193         Provide additional default values (file name at point or at the
11194         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
11196         * minibuffer.el (read-file-name-defaults): New function.
11197         (read-file-name): Reset `minibuffer-default' to nil when
11198         it duplicates initial input `insdef'.
11199         Bind `minibuffer-default-add-function' to lambda that
11200         calls `read-file-name-defaults' in `minibuffer-selected-window'.
11201         (minibuffer-insert-file-name-at-point): New command.
11203         * files.el (file-name-at-point-functions): New defcustom.
11204         (find-file-default): Remove defvar.
11205         (find-file-read-args): Don't use `find-file-default'.
11206         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
11207         to `read-file-name'.
11208         (find-file-literally): Use `read-file-name' with
11209         `confirm-nonexistent-file-or-buffer'.
11211         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
11213         * dired.el (dired-read-dir-and-switches):
11214         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
11215         to `read-file-name'.
11216         (dired-file-name-at-point): New function.
11217         (dired-mode): Add hook `dired-file-name-at-point' to
11218         `file-name-at-point-functions'.
11220 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11222         Really make the *Completions* window soft-dedicated (bug#5030).
11223         * window.el (window--display-buffer-2): Add `dedicated' argument.
11224         (display-buffer): Pass it when needed so the dedicated flag is set
11225         after calling set-window-buffer, which would otherwise reset it.
11227 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11229         * progmodes/meta-mode.el (meta-complete-symbol):
11230         * progmodes/etags.el (complete-tag):
11231         * mail/mailabbrev.el (mail-abbrev-complete-alias):
11232         Use completion-in-region.
11234         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
11235         (dabbrev-completion): Use completion-in-region.
11236         (dabbrev--abbrev-at-point): Simplify regexp.
11238         * abbrev.el (abbrev--before-point): Use word-motion functions
11239         if :regexp is not specified (bug#5031).
11241         * subr.el (string-prefix-p): New function.
11243         * man.el (Man-completion-cache): New var.
11244         (Man-completion-table): Use it.
11246         * vc.el (vc-print-log-internal): Make `limit' optional for better
11247         compatibility (e.g. with vc-annotate.el).
11249 2009-11-24  Kevin Ryde  <user42@zip.com.au>
11251         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
11252         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
11254         * emacs-lisp/elint.el (elint-add-required-env): Better error message
11255         when .el source file not found or other error.
11257 2009-11-24  Markus Triska  <markus.triska@gmx.at>
11259         * linum.el (linum-update-window): Ignore intangible (bug#4996).
11261 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11263         Handle the [back] button properly (bug#4979).
11264         * descr-text.el (describe-text-properties): Add a `buffer' argument.
11265         Use help-setup-xref, help-buffer, and with-help-window.
11266         (describe-char): Add `buffer' argument.
11267         Pass proper command to help-setup-xref.  Don't meddle with
11268         help-xref-stack-item directly.
11269         (describe-text-category): Use with-help-window and help-buffer.
11271         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
11272         for the displayed buffer (bug#4887).
11274         * man.el (Man-completion-table): New function.
11275         (man): Use it.
11277 2009-11-24  David Reitter  <david.reitter@gmail.com>
11279         * vc-git.el (vc-git-registered): Use checkout directory (where
11280         .git is) rather than the file's directory and a relative path spec
11281         to work around a bug in git.
11283 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
11285         Improve handling of processes on remote hosts.
11287         * eshell/esh-util.el (eshell-path-env): New defvar.
11288         (eshell-parse-colon-path): New defun.
11289         (eshell-file-attributes): Use `eshell-parse-colon-path'.
11291         * eshell/esh-ext.el (eshell-search-path):
11292         Use `eshell-parse-colon-path'.
11293         (eshell-remote-command): Remove argument HANDLER.
11294         (eshell-external-command): Check for FTP remote connection.
11296         * eshell/esh-proc.el (eshell-gather-process-output):
11297         Use `file-truename', in order to start also symlinked files.
11298         Apply `start-file-process' instead of `start-process'.
11299         Shorten `command' to the local file name part.
11301         * eshell/em-cmpl.el (eshell-complete-commands-list):
11302         Use `eshell-parse-colon-path'.
11304         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
11306         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
11307         to `eshell-directory-change-hook'.
11309 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
11311         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
11312         because it could be enabled automatically if view-read-only is non-nil.
11314 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
11316         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
11317         made on 2009-11-22.
11319 2009-11-24  Glenn Morris  <rgm@gnu.org>
11321         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
11322         deleted variable bookmark-bmenu-bookmark-column.
11324 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11326         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
11328 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
11330         * net/browse-url.el (browse-url-filename-alist): On Windows, add
11331         two slashes to the "file:" prefix.
11332         (browse-url-file-url): De-munge Cygwin filenames before passing
11333         them to Windows browser.
11334         (browse-url-default-windows-browser): Use call-process.
11336 2009-11-23  Juri Linkov  <juri@jurta.org>
11338         Implement DocView Continuous mode.  (Bug#4896)
11339         * doc-view.el (doc-view-continuous-mode): New defcustom.
11340         (doc-view-mode-map): Bind C-n/<down> to
11341         `doc-view-next-line-or-next-page', C-p/<up> to
11342         `doc-view-previous-line-or-previous-page'.
11343         (doc-view-next-line-or-next-page)
11344         (doc-view-previous-line-or-previous-page): New commands.
11346 2009-11-23  Juri Linkov  <juri@jurta.org>
11348         Implement Isearch in comint input history.  (Bug#3746)
11349         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
11350         `isearch-mode-hook'.
11351         (comint-history-isearch): New defcustom.
11352         (comint-history-isearch-backward)
11353         (comint-history-isearch-backward-regexp): New commands.
11354         (comint-history-isearch-message-overlay): New buffer-local variable.
11355         (comint-history-isearch-setup, comint-history-isearch-end)
11356         (comint-goto-input, comint-history-isearch-search)
11357         (comint-history-isearch-message, comint-history-isearch-wrap)
11358         (comint-history-isearch-push-state)
11359         (comint-history-isearch-pop-state): New functions.
11361 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
11363         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
11364         return.
11365         (tramp-handle-make-symbolic-link)
11366         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
11367         Quote file names.
11368         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
11369         (tramp-handle-process-file): Use it.
11371 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11373         * window.el (move-to-window-line-last-op): Remove.
11374         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
11376 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
11378         Make M-r mirror the new cycling behavior of C-l.
11379         * window.el (move-to-window-line-last-op): New var.
11380         (move-to-window-line-top-bottom): New command.
11381         (global-map): Bind M-r move-to-window-line-top-bottom.
11383 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
11385         * dired-x.el (dired-guess-shell-alist-default):
11386         Support xz format.  (Bug#4953)
11388 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
11390         * emulation/viper-cmd.el: Use viper-last-command-char instead of
11391         last-command-char/last-command-event.
11392         (viper-prefix-arg-value): Do correct conversion of event-char for
11393         XEmacs.
11395         * emulation/viper-util.el, emulation/viper.el:
11396         Use viper-last-command-char instead of
11397         last-command-char/last-command-event.
11399         * ediff-init.el, ediff-mult.el, ediff-util.el:
11400         Replace last-command-char and last-command-event
11401         with (ediff-last-command-char) everywhere.
11403         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
11404         created in fundamental mode.
11406         * ediff.el (ediff-version): Revert the change of interactive-p to
11407         called-interactively-p.
11409 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
11411         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
11412         generation from word-movement command names.
11414 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
11416         * cus-start.el (all): Add native condition for font-use-system-font.
11418 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
11420         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
11421         Correct the patch from 2009-11-18.  (Bug#3910)
11423 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
11425         * progmodes/subword.el: Rename from lisp/subword.el.
11427         * subword.el: Rename to progmodes/subword.el.
11429         * Makefile.in (ELCFILES): Adapt to subword.el move.
11431 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11432             Stefan Monnier  <monnier@iro.umontreal.ca>
11434         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
11435         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
11436         (bookmark-bmenu-show-filenames): Use push.
11437         (bookmark-bmenu-hide-filenames): Use local var instead of
11438         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
11439         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
11440         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
11441         filenames now that the bookmark names are always available.
11443 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11445         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
11446         (bookmark-search-pattern): Move and leave unbound.
11447         (bookmark-bmenu-mode-map): Change binding.
11448         (bookmark-read-search-input): Simplify.
11449         Don't use text-char-description.  Don't error on non-char events.
11450         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
11451         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
11452         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
11453         Use a local var for the timer.
11454         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
11455         (i.e. bookmark-bmenu-search).
11457 2009-11-21  Glenn Morris  <rgm@gnu.org>
11459         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
11461 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
11463         * net/browse-url.el (browse-url-default-windows-browser):
11464         Use cygstart for cygwin.
11466 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
11468         * bookmark.el: Formatting and doc fixes only:
11469         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
11470         (bookmark-bmenu-search): Wrap to fit within 80 columns.
11471         Minor grammar and punctuation fixes in doc string.
11472         (bookmark-read-search-input): Adjust to fit within 80 columns.
11474 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
11476         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
11477         (c-backward-into-nomenclature): Adapt to subword renaming.
11479         * subword.el (subword-forward, subword-backward, subword-mark)
11480         (subword-kill, subword-backward-kill, subword-transpose)
11481         (subword-downcase, subword-upcase, subword-capitalize)
11482         (subword-forward-internal, subword-backward-internal):
11483         Rename from forward-subword, backward-subword, mark-subword,
11484         kill-subword, backward-kill-subword, transpose-subwords,
11485         downcase-subword, upcase-subword, capitalize-subword,
11486         forward-subword-internal, backward-subword-internal.
11488 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11490         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
11491         New options.
11492         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
11493         New vars.
11494         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
11495         (bookmark-bmenu-filter-alist-by-regexp)
11496         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
11497         (bookmark-bmenu-search): New command.
11498         (bookmark-bmenu-mode-map): Bind it.
11500 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
11502         * progmodes/cc-cmds.el: declare-functioned forward-subword and
11503         backward-subword to quit the byte-compiler.
11505         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
11507         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
11509         * progmodes/cc-cmds.el (c-update-modeline)
11510         (c-forward-into-nomenclature, c-backward-into-nomenclature):
11511         Refer to subword.el functions instead of cc-subword.el.
11513         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
11514         subword.el functions instead of cc-subword.el.
11516         * progmodes/cc-subword.el: Rename to subword.el.
11517         * subword.el: Rename from progmodes/cc-subword.el.
11518         (subword-mode-map): Rename from c-subword-mode-map.
11519         (subword-mode): Rename from c-subword-mode.
11520         (global-subword-mode): New global minor mode.
11521         (forward-subword): Rename from c-forward-subword.
11522         (backward-subword): Rename from c-backward-subword.
11523         (mark-subword): Rename from c-mark-subword.
11524         (kill-subword): Rename from c-kill-subword.
11525         (backward-kill-subword): Rename from c-backward-kill-subword.
11526         (transpose-subwords): Rename from c-tranpose-subword.
11527         (downcase-subword): Rename from c-downcase-subword.
11528         (capitalize-subword): Rename from c-capitalize-subword.
11529         (forward-subword-internal): Rename from c-forward-subword-internal.
11530         (backward-subword-internal): Rename from c-backward-subword-internal.
11532 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
11534         * vc.el (vc-deduce-fileset): Allow non-state changing operations
11535         from a dired buffer.
11536         (vc-dired-deduce-fileset): New function.
11537         (vc-root-diff, vc-print-root-log): Use it.
11539         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
11540         nil LIMIT argument to vc-print-log-internal.
11542 2009-11-20  Glenn Morris  <rgm@gnu.org>
11544         * Makefile.in (ELCFILES): Regenerate.
11546 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
11548         * calc/calc.el (calc-set-mode-line):
11549         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
11550         (math-format-number): Rename `math-format-complement-signed' to
11551         `math-format-twos-complement'.
11553         * calc/calc-bin.el (math-format-twos-complement): Rename from
11554         math-format-complement-signed.
11555         (calc-radix): Rename `calc-complement-signed-mode' to
11556         `calc-twos-complement-mode'.
11557         (calc-octal-radix, calc-hex-radix): Add an argument for
11558         two's complement.
11560         * calc/calc-embed.el (calc-embedded-mode-vars):
11561         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
11563         * calc/calc-ext.el (calc-init-extensions):
11564         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
11565         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
11567         * calc/calc-units.el (math-build-units-table-buffer):
11568         Let `calc-twos-complement-mode' be nil.
11570         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
11571         entries.
11573         * calc/calc-vec.el (calcFunc-vunpack):
11574         * calc/calc-aent.el (calc-do-calc-eval):
11575         * calc/calc-forms.el (math-format-date):
11576         * calc/calc-graph.el (calc-graph-plot):
11577         * calc/calc-math.el (math-use-emacs-fn):
11578         * calc/calccomp.el (math-compose-expr):
11579         Let `calc-twos-complement-mode' be nil.
11581 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11583         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
11584         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
11585         * minibuffer.el (completion-in-region-functions): New hook.
11586         (completion-in-region): New function.
11587         * emacs-lisp/lisp.el (lisp-complete-symbol):
11588         * pcomplete.el (pcomplete-std-complete): Use it.
11590 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11592         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
11593         (latex-complete-alist): New vars.
11594         (latex-string-prefix-p, latex-complete-bibtex-keys)
11595         (latex-complete-envnames, latex-complete-refkeys)
11596         (latex-complete-data): New functions.
11597         (latex-complete, latex-indent-or-complete): New commands.
11599         * window.el (display-buffer-mark-dedicated): New var.
11600         (display-buffer): Obey it.
11601         * minibuffer.el (minibuffer-completion-help): Use it.
11603         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
11605         * filecache.el (file-cache-add-file): Use push and cons.
11606         (file-cache-delete-file-regexp): Use push.
11607         (file-cache-complete): Use completion-in-region.
11609         * simple.el (with-wrapper-hook): Fix thinko.
11611         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
11612         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
11613         Use with-current-buffer and string-to-number.
11614         (hfy-fallback-colour-values): Use assoc-string.
11615         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
11616         (hfy-face-at): Remove unused var `found-face'.
11617         (hfy-compile-stylesheet): Remove unused var `css'.
11618         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
11619         and `orig-buffer'.
11620         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
11621         Use with-current-buffer.
11622         (hfy-text-p): Use expand-file-name and fewer setq.
11624 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
11626         * htmlfontify.el, hfy-cmap.el: New files.
11628 2009-11-19  Juri Linkov  <juri@jurta.org>
11630         * minibuffer.el (completions-format): New defcustom.
11631         (completion--insert-strings): Implement vertical format.
11633         * simple.el (switch-to-completions): Move point to the first
11634         completion when point was at the beginning of the buffer.
11636 2009-11-19  Juri Linkov  <juri@jurta.org>
11638         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
11640         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
11642 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
11644         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
11645         (mail-signature): Change default to t.
11646         (mail-from-style): Deprecate `system-default' value.
11647         (mail-insert-from-field): For default value of mail-from-style,
11648         default to `angles' unless `angles' needs quoting and `parens'
11649         does not.
11650         (mail-citation-prefix-regexp): Use citation regexp from
11651         message-mode.
11653 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
11655         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11656         Set variables for computing the prompt for reading password.
11658 2009-11-19  Glenn Morris  <rgm@gnu.org>
11660         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
11662         * textmodes/flyspell.el (sgml-lexical-context): Declare.
11664         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
11665         (newsticker-treeview-listwindow-height): Fix custom type.
11667 2009-11-19  Kenichi Handa  <handa@m17n.org>
11669         * descr-text.el (describe-char-padded-string): Compose with TAB
11670         only if there's a font for CH.
11671         (describe-char): Fix the condition for detecting a trivial composition.
11673 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
11675         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
11676         more accurate version of the regexp.  (Bug#3910)
11678 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
11680         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
11682 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
11684         * font-setting.el (font-use-system-font): Declare for byte-compiler.
11685         (font-setting-change-default-font): Fix typo in docstring.
11687 2009-11-18  Alan Mackenzie  <acm@muc.de>
11689         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
11691 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
11693         * font-setting.el (font-use-system-font): Move ...
11695         * cus-start.el (all): ... to here.
11697 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
11699         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
11700         Don't set `ad-return-value' if `ad-do-it' doesn't.
11702         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
11703         modification time.
11705 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
11707         * menu-bar.el: Put "Use system font" in Option-menu.
11708         (menu-bar-options-save): Add font-use-system-font.
11710         * loadup.el: If feature system-font-setting or font-render-setting is
11711         there, load font-setting.
11713         * Makefile.in (ELCFILES): Add font-settings.el.
11714         * font-setting.el: New file.
11716 2009-11-17  Glenn Morris  <rgm@gnu.org>
11718         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
11720         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
11721         Preserve point in the list buffer.  (Bug#4939)
11722         Use point-at-eol.
11723         (newsticker--treeview-list-update-highlight)
11724         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
11726 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
11728         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
11729         Remove.
11731         * calc/calc-ext.el (calc-init-extensions): Remove references to
11732         symclip.
11734         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
11736         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
11737         * calc/calc-help.el (calc-b-prefix-help): Remove references to
11738         `calc-symclip'.
11740 2009-11-16  Kevin Ryde  <user42@zip.com.au>
11742         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
11743         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
11745         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
11746         (lm-keywords-list): Allow comma-only separator like "foo,bar".
11747         Ignore trailing spaces by omit-nulls to split-string (fixing
11748         regression from Emacs 21 due to the incompatible split-string
11749         change).  (Bug #4928.)
11751 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
11753         * vc.el (vc-log-show-limit): Default to 2000.
11754         (vc-print-log-internal): Insert buttons to request more entries
11755         when limiting the output.
11757         * vc-sccs.el (vc-sccs-print-log):
11758         * vc-rcs.el (vc-rcs-print-log):
11759         * vc-cvs.el (vc-cvs-print-log):
11760         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
11761         LIMIT is non-nil.
11763 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
11765         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
11766         error when `tramp-gvfs-dbus-event-vector' is set.
11767         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
11769 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11771         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
11773 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
11775         * net/dbus.el (dbus-unregister-service): New defun.
11776         (dbus-register-property): Register the handlers of
11777         "org.freedesktop.DBus.Properties" for SERVICE.
11778         (dbus-property-handler): Fix docstring.
11780 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
11782         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
11783         Quote doc string reference in defvaralias as it is not in special form.
11784         (byte-compile-output-docform): Doc fix.
11786 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
11788         * calc/calc.el (math-2-word-size, math-half-2-word-size)
11789         (calc-complement-signed-mode): New variables.
11790         (calc-set-mode-line): Add indicator for twos-complements.
11791         (math-format-number): Format twos-complement notation.
11793         * calc/calc-bin.el (calc-word-size): Reset the variables
11794         `math-2-word-size' and `math-half-2-word-size'.
11795         (math-format-complement-signed, math-symclip, calcFunc-symclip)
11796         (calc-symclip): New functions.
11798         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
11800         * calc/calc-embed.el (calc-embedded-mode-vars):
11801         Add `calc-complement-signed-mode' to the list of modes.
11803         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
11804         (calc-b-oper-keys): Add `calc-symclip' to list.
11806         * calc/calc-ext.el (math-read-number-fancy): Read complement
11807         signed numbers.
11808         (calc-init-extensions): Add binding for `calc-symclip'.
11809         Add autoload for `calcFunc-symclip' and `calc-symclip'.
11811         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
11812         `calc-symclip'.
11813         (calc-modes-menu): Add item for twos complement mode.
11815         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
11817 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
11819         * register.el (jump-to-register, insert-register): Handle Semantic
11820         tags.  From commented-out advice in semantic/senator.el.
11822 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
11824         * vc.el (vc-log-show-limit): New variable.
11825         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
11826         when using a prefix argument.
11827         (vc-print-log-internal): Add new argument LIMIT.
11829         * vc-svn.el (vc-svn-print-log):
11830         * vc-mtn.el (vc-mtn-print-log):
11831         * vc-hg.el (vc-hg-print-log):
11832         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
11833         pass it to the log command when set.  Make the BUFFER argument
11834         non-optional.
11836         * vc-sccs.el (vc-sccs-print-log):
11837         * vc-rcs.el (vc-rcs-print-log):
11838         * vc-git.el (vc-git-print-log):
11839         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
11840         ignore it.  Make the BUFFER argument non-optional
11842         * bindings.el (mode-line-buffer-identification): Do not purecopy.
11844 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
11846         * dired.el (dired-mode-map): Move encryption items to "Operate"
11847         menu (Bug#4703).
11849         * strokes.el (strokes-update-window-configuration): Make strokes
11850         buffer current before erasing (Bug#4906).
11852 2009-11-15  Juri Linkov  <juri@jurta.org>
11854         * simple.el (set-mark-default-inactive): Add :type, :group
11855         and :version.  (Bug#4876)
11857 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
11859         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
11860         (archive-unique-fname): ... here.  (Bug#4929)
11862 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11864         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
11865         with a real fix.
11867         * novice.el (disabled-command-function): Add useful args.
11868         Setup the help buffer so that [back] works.
11869         Remove redundant call to help-mode.
11870         (disabled-command-function): Use `case'.
11871         (en/disable-command): New function extracted from enable-command.
11872         (enable-command, disable-command): Use it.
11874 2009-11-14  Glenn Morris  <rgm@gnu.org>
11876         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
11877         constants.  (Bug#4913)
11879         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
11881 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
11883         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
11884         defined in C that have no doc-strings.  (Bug#1063)
11886 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
11888         * cus-edit.el (data, files):
11889         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
11891 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
11893         * simple.el (shell-command): Doc fix (Bug#4891).
11895         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
11897 2009-11-14  Glenn Morris  <rgm@gnu.org>
11899         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
11900         statements for vc-diff, emerge-quit, and rmail-cease-edit.
11901         If they are already loaded, eval-after-load will do the right thing.
11903         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
11904         compiling.
11906         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
11908         * simple.el (x-selection-owner-p): Declare.
11909         (read-mail-command): Use custom radio type rather than choice.
11910         (completion-no-auto-exit): Doc fix.
11912         * custom.el (defgroup):
11913         * epg-config.el (epg): Doc fixes.
11915 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
11917         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
11918         * international/ccl.el (define-ccl-program): Do not purecopy the
11919         docstring, defconst does it anyway.
11921 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11923         * add-log.el (add-change-log-entry): Avoid displaying the changelog
11924         a second time.
11926         * x-dnd.el (x-dnd-maybe-call-test-function):
11927         * window.el (split-window-vertically):
11928         * whitespace.el (whitespace-help-on):
11929         * vc-rcs.el (vc-rcs-consult-headers):
11930         * userlock.el (ask-user-about-lock-help)
11931         (ask-user-about-supersession-help):
11932         * type-break.el (type-break-force-mode-line-update):
11933         * time-stamp.el (time-stamp-conv-warn):
11934         * terminal.el (te-set-output-log, te-more-break, te-filter)
11935         (te-sentinel, terminal-emulator):
11936         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
11937         (term-write-input-ring, term-check-source, term-start-output-log):
11938         (term-display-buffer-line, term-dynamic-list-completions):
11939         (term-ansi-make-term, serial-term):
11940         * subr.el (selective-display):
11941         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
11942         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
11943         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
11944         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
11945         (speedbar-remove-localized-speedbar-support)
11946         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
11947         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
11948         (speedbar-buffers-line-directory):
11949         * simple.el (shell-command-on-region, append-to-buffer)
11950         (prepend-to-buffer):
11951         * shadowfile.el (shadow-save-todo-file):
11952         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
11953         (scroll-bar-maybe-set-window-start):
11954         * sb-image.el (speedbar-image-dump):
11955         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
11956         (load-save-place-alist-from-file):
11957         * ps-samp.el (ps-print-message-from-summary):
11958         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
11959         (ps-background-image, ps-begin-job, ps-do-despool):
11960         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
11961         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
11962         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
11963         (pr-call-process, pr-file-list, pr-interface-save):
11964         * novice.el (disabled-command-function)
11965         (enable-command, disable-command):
11966         * mouse.el (mouse-buffer-menu-alist):
11967         * mouse-copy.el (mouse-kill-preserving-secondary):
11968         * macros.el (kbd-macro-query):
11969         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
11970         * informat.el (batch-info-validate):
11971         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
11972         * hippie-exp.el (try-expand-dabbrev-visible):
11973         * help-mode.el (help-make-xrefs):
11974         * help-fns.el (describe-variable):
11975         * generic-x.el (bat-generic-mode-run-as-comint):
11976         * finder.el (finder-mouse-select):
11977         * find-dired.el (find-dired-sentinel):
11978         * filesets.el (filesets-file-close):
11979         * files.el (list-directory):
11980         * faces.el (list-faces-display, describe-face):
11981         * facemenu.el (list-colors-display):
11982         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
11983         * epg.el (epg--process-filter, epg-cancel):
11984         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
11985         (epa--read-signature-type):
11986         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
11987         (emerge-file-names):
11988         * ehelp.el (electric-helpify):
11989         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
11990         * ediff-vers.el (rcs-ediff-view-revision):
11991         * ediff-util.el (ediff-setup):
11992         * ediff-mult.el (ediff-append-custom-diff):
11993         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
11994         (ediff-wordify):
11995         * echistory.el (Electric-command-history-redo-expression):
11996         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
11997         * disp-table.el (describe-display-table):
11998         * dired.el (dired-find-buffer-nocreate):
11999         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
12000         * dabbrev.el (dabbrev--same-major-mode-p):
12001         * chistory.el (list-command-history):
12002         * apropos.el (apropos-documentation):
12003         * allout.el (allout-obtain-passphrase):
12004         (allout-copy-exposed-to-buffer):
12005         (allout-verify-passphrase): Use with-current-buffer.
12007 2009-11-13  Glenn Morris  <rgm@gnu.org>
12009         * Makefile.in (ELCFILES): Regenerate.
12011 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
12013         * net/dbus.el (dbus-registered-objects-table): Rename from
12014         `dbus-registered-functions-table', because it contains also properties.
12015         (dbus-unregister-object): Unregister also properties.
12016         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12017         Use a timeout of 500 msec, in order to not block.
12018         (dbus-register-property, dbus-property-handler): New defuns.
12020 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12022         * simple.el (minibuffer-default-add-completions): Drop deprecated
12023         4th arg.
12025 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
12027         * textmodes/artist.el (artist-mouse-choose-operation):
12028         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
12029         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
12030         (artist-compute-up-event-key): New function.
12031         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
12033 2009-11-13  Kenichi Handa  <handa@m17n.org>
12035         * language/japan-util.el: Make sure that the value of jisx0208
12036         property is jisx0208 character.
12038 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
12040         * international/mule.el (auto-coding-regexp-alist): Only purecopy
12041         car or each item, not the whole list.
12043 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12045         * minibuffer.el (minibuffer-completion-help):
12046         Use minibuffer-hide-completions.
12048 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
12050         * dired.el (dired-save-positions, dired-restore-positions): New funs.
12051         (dired-revert): Use them (bug#4880).
12053 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
12055         * tooltip.el (tooltip-frame-parameters): Undo previous change.
12057 2009-11-12  Juri Linkov  <juri@jurta.org>
12059         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
12060         New functions.
12061         (find-file-literally-at-point): Alias of `ffap-literally'.
12063 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
12065         * textmodes/ispell.el (ispell-skip-region-alist):
12066         * textmodes/css-mode.el (auto-mode-alist):
12067         * progmodes/compile.el (auto-mode-alist):
12068         * international/mule.el (ctext-non-standard-encodings-alist)
12069         (ctext-non-standard-encodings-regexp):
12070         * simple.el (shell-command-switch, text-read-only):
12071         * replace.el (occur-mode-map):
12072         * paths.el (rmail-file-name):
12073         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
12074         * find-file.el (ff-special-constructs):
12075         * files.el (file-name-handler-alist):
12076         * composite.el: Purecopy strings.
12078         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
12080 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
12082         * widget.el (define-widget): Purecopy the docstring.
12083         * international/mule-cmds.el (charset): Do not purecopy the
12084         docstring here, define-widget does it.
12086         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
12087         * textmodes/bibtex-style.el (auto-mode-alist):
12088         * progmodes/inf-lisp.el (inferior-lisp-prompt):
12089         * progmodes/compile.el (compile-command):
12090         * language/korea-util.el (default-korean-keyboard):
12091         * international/mule-conf.el (file-coding-system-alist):
12092         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
12093         * tooltip.el (tooltip-frame-parameters):
12094         * newcomment.el (comment-end, comment-padding):
12095         * dired.el (dired-trivial-filenames):
12096         * comint.el (comint-file-name-prefix): Purecopy initial values.
12098 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
12100         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
12101         (tramp-advice-minibuffer-electric-tilde): Unload advices via
12102         `tramp-unload'.
12103         (tramp-advice-make-auto-save-file-name)
12104         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
12105         after removing the advice.
12107 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
12109         * progmodes/grep.el (grep-regexp-alist):
12110         * international/mule-cmds.el (iso-2022-control-alist):
12111         * emacs-lisp/timer.el (timer-duration-words):
12112         * subr.el (version-separator, version-regexp-alist):
12113         * minibuffer.el (completion-styles-alist):
12114         * faces.el (face-attribute-name-alist, list-faces-sample-text):
12115         Change defvars to defconsts.
12117         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
12118         * loadup.el ("international/mule-conf"): Load the byte compiled version.
12119         * international/mule-conf.el: Allow to be byte compiled.
12121         * international/mule.el (define-charset): Purecopy props.
12122         (load-with-code-conversion): Purecopy doc string and file name.
12123         (put-charset-property): Purecopy strings.
12124         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
12126         * international/mule-cmds.el (register-input-method): Purecopy arguments.
12127         (define-char-code-property): Correctly purecopy the table.
12129         * international/ccl.el (define-ccl-program): Purecopy the docstring.
12131         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
12133         * subr.el (add-hook): Purecopy strings.
12134         (eval-after-load): Purecopy load-history-regexp and the form.
12136         * custom.el (custom-declare-group): Purecopy load-file-name.
12138         * subr.el (menu-bar-separator): New defconst.
12139         * net/eudc.el (eudc-tools-menu):
12140         * international/mule-cmds.el (set-coding-system-map)
12141         (mule-menu-keymap):
12142         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
12143         * vc-hooks.el (vc-menu-map):
12144         * replace.el (occur-mode-map):
12145         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
12146         (menu-bar-edit-menu, menu-bar-goto-menu)
12147         (menu-bar-custom-menu, menu-bar-showhide-menu)
12148         (menu-bar-options-menu, menu-bar-tools-menu)
12149         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
12150         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
12151         (menu-bar-help-menu):
12152         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
12153         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
12155         * term/x-win.el (x-gtk-stock-map):
12156         * progmodes/vera-mode.el (auto-mode-alist):
12157         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
12158         (inferior-lisp-program, inferior-lisp-load-command):
12159         * progmodes/hideshow.el (hs-special-modes-alist):
12160         * progmodes/gud.el (same-window-regexps):
12161         * progmodes/grep.el (grep-program, find-program, xargs-program):
12162         * net/telnet.el (same-window-regexps):
12163         * net/rlogin.el (same-window-regexps):
12164         * language/ethiopic.el (font-ccl-encoder-alist):
12165         * vc-sccs.el (vc-sccs-master-templates):
12166         * vc-rcs.el (vc-rcs-master-templates):
12167         * subr.el (cl-assertion-failed):
12168         * simple.el (next-error-overlay-arrow-position):
12169         * lpr.el (lpr-command):
12170         * locate.el (locate-ls-subdir-switches):
12171         * info.el (same-window-regexps, info)
12172         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
12173         * image-mode.el (image-mode, auto-mode-alist):
12174         * hippie-exp.el (hippie-expand-ignore-buffers):
12175         * format.el (format-alist):
12176         * find-dired.el (find-ls-subdir-switches, find-grep-options)
12177         (find-name-arg):
12178         * facemenu.el (facemenu-keybindings):
12179         * dired.el (dired-listing-switches, dired-chown-program):
12180         * diff.el (diff-switches, diff-command):
12181         * cus-edit.el (same-window-regexps):
12182         * bindings.el (mode-line-mule-info)
12183         (mode-line-buffer-identification): Purecopy strings.
12185 2009-11-11  Juri Linkov  <juri@jurta.org>
12187         * simple.el (dired-get-filename) <declare-function>:
12188         Tell the byte-compiler about dired-get-filename.
12189         (shell-command): In Dired mode, get filename from the current line
12190         as the default value.
12192 2009-11-10  Glenn Morris  <rgm@gnu.org>
12194         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
12195         * calendar/holidays.el, progmodes/cperl-mode.el:
12196         Update x-popup-menu declarations.
12198         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
12199         (list-load-path-shadows): Use dolist.
12200         (list-load-path-shadows): Use with-current-buffer.
12202 2009-11-10  Juri Linkov  <juri@jurta.org>
12204         * minibuffer.el (read-file-name): Support a list of default values
12205         in `default-filename'.  Use the first file name where only one
12206         element is required.  Doc fix.
12208 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
12210         * net/dbus.el (dbus-unregister-object): Release service, if no
12211         other method is registered for it.
12213 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
12215         * bookmark.el (bookmark-completing-read): Sort bookmark names if
12216         bookmark-sort-flag is non-nil (Bug#4653).
12218 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
12220         * emulation/cua-base.el: Add CUA property to some CC mode commands
12221         (Bug#4100).
12223 2009-11-08  Kevin Ryde  <user42@zip.com.au>
12225         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
12226         at end of sentence (Bug#4818).
12228 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
12230         * progmodes/compile.el (compilation-error-regexp-alist-alist):
12231         Handle "see declaration of" MSFT statements (Bug#4100).
12233 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
12235         * net/tramp.el (tramp-advice-make-auto-save-file-name)
12236         (tramp-advice-file-expand-wildcards): Unload via
12237         `ad-remove-advice'.
12239         * net/trampver.el: Update release number.
12241 2009-11-08  Kevin Ryde  <user42@zip.com.au>
12243         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
12244         `ad-do-it'.
12246 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
12248         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
12249         in order to keep context in SELinux.
12251 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
12253         * dired-aux.el (dired-query): Place cursor in echo area and allow
12254         C-g.
12256         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
12257         menu item if not on a directory (Bug#4701).
12259 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
12261         Sync with Tramp 2.1.17.
12263         * net/tramp.el (tramp-handle-copy-directory): Don't use
12264         `file-remote-p' (due to compatibility).
12266         * net/tramp-compat.el (tramp-compat-copy-directory)
12267         (tramp-compat-delete-directory): New defuns.
12269         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
12270         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
12271         `tramp-compat-delete-directory'.
12273         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
12274         (tramp-smb-handle-delete-directory): Use
12275         `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
12277         * net/trampver.el: Update release number.
12279 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
12281         * tar-mode.el (tar-copy): Call write-region on the right buffer
12282         (Bug#4857).
12284         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
12285         by hand, if necessary (Bug#4878).
12287 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
12289         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
12290         align size column (Bug#4839).
12292         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
12293         statement.
12295 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
12297         * progmodes/ld-script.el (auto-mode-alist):
12298         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
12300         * cus-face.el (custom-declare-face): Purecopy face spec.
12302 2009-11-06  Kenichi Handa  <handa@m17n.org>
12304         * international/uni-bidi.el: Re-generated.
12305         * international/uni-category.el: Re-generated.
12306         * international/uni-combining.el: Re-generated.
12307         * international/uni-mirrored.el: Re-generated.
12309 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
12311         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
12312         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
12313         (tex-start-options, slitex-run-command, latex-run-command)
12314         (tex-run-command, tex-directory):
12315         * textmodes/ispell.el (ispell-html-skip-alists)
12316         (ispell-tex-skip-alists, ispell-tex-skip-alists):
12317         * textmodes/fill.el (adaptive-fill-first-line-regexp):
12318         (adaptive-fill-regexp):
12319         * textmodes/dns-mode.el (auto-mode-alist):
12320         * progmodes/python.el (interpreter-mode-alist):
12321         * progmodes/etags.el (tags-compression-info-list):
12322         * progmodes/etags.el (tags-file-name):
12323         * net/browse-url.el (browse-url-galeon-program)
12324         (browse-url-firefox-program):
12325         * mail/sendmail.el (mail-signature-file)
12326         (mail-citation-prefix-regexp):
12327         * international/mule-conf.el (eight-bit):
12328         * international/latexenc.el (latex-inputenc-coding-alist):
12329         * international/fontset.el (x-pixel-size-width-font-regexp):
12330         * emacs-lisp/warnings.el (warning-type-format):
12331         * emacs-lisp/trace.el (trace-buffer):
12332         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
12333         (emacs-lisp-mode-map):
12334         * calendar/holidays.el (holiday-solar-holidays)
12335         (holiday-bahai-holidays, holiday-islamic-holidays)
12336         (holiday-christian-holidays, holiday-hebrew-holidays)
12337         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
12338         (hebrew-holidays-1, holiday-oriental-holidays)
12339         (holiday-general-holidays):
12340         * x-dnd.el (x-dnd-known-types):
12341         * tool-bar.el (tool-bar):
12342         * startup.el (site-run-file):
12343         * shell.el (shell-dumb-shell-regexp):
12344         * rfn-eshadow.el (file-name-shadow-tty-properties)
12345         (file-name-shadow-properties):
12346         * paths.el (remote-shell-program, news-directory):
12347         * mouse.el ([C-down-mouse-3]):
12348         * menu-bar.el (menu-bar-tools-menu):
12349         * jka-cmpr-hook.el (jka-compr-load-suffixes)
12350         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
12351         (jka-compr-compression-info-list):
12352         * isearch.el (search-whitespace-regexp):
12353         * image-file.el (image-file-name-extensions):
12354         * find-dired.el (find-ls-option):
12355         * files.el (directory-listing-before-filename-regexp)
12356         (directory-free-space-args, insert-directory-program)
12357         (list-directory-brief-switches, magic-fallback-mode-alist)
12358         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
12359         (automount-dir-prefix):
12360         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
12361         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
12362         (face-font-registry-alternatives, face-font-registry-alternatives)
12363         (face-font-family-alternatives):
12364         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
12365         (facemenu-foreground-menu, facemenu-face-menu):
12366         * epa-hook.el (epa-file-name-regexp):
12367         * dnd.el (dnd-protocol-alist):
12368         * textmodes/rst.el (auto-mode-alist):
12369         * button.el (default-button): Purecopy strings.
12371 2009-11-06  Glenn Morris  <rgm@gnu.org>
12373         * Makefile.in (ELCFILES): Update.
12375 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12377         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
12378         * emacs-lisp/levents.el: Move to obsolete/levents.el.
12380         * nxml/xsd-regexp.el (xsdre-gen-categories):
12381         * nxml/xmltok.el (xmltok-parse-entity):
12382         * nxml/rng-parse.el (rng-parse-validate-file):
12383         * nxml/rng-maint.el (rng-format-manual)
12384         (rng-manual-output-force-new-line):
12385         * nxml/rng-loc.el (rng-save-schema-location-1):
12386         * nxml/rng-cmpct.el (rng-c-parse-file):
12387         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
12388         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
12390 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
12392         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
12393         Remove extra save-excursions and make-variable-buffer-local's.
12394         Suggested by Stefan Monnier.
12396         (verilog-getopt-file, verilog-module-inside-filename-p)
12397         (verilog-set-define): Merge GNU 1.35 and repair changes from
12398         switching to using with-current-buffer.
12400         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
12401         being treated as a number and confusing AUTORESET.
12402         Reported by Dan Dever.
12404         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
12405         Add verilog-auto-ignore-concat to fix backward compatibility with
12406         older verilog-modes.  Reported by Dan Katz.
12408         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
12409         containing closing anchors "...$".
12411         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
12412         Reported by Wade Smith.
12414         (verilog-batch-execute-func): Comment on function usage.
12416 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
12418         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
12419         for labels.
12421         (verilog-label-re, verilog-calc-1): Support proper indent of named
12422         asserts.
12424         (verilog-backward-token, verilog-basic-complete-re)
12425         (verilog-beg-of-statement, verilog-indent-re): Support proper
12426         indent of the assert statement at the beginning of a block of text.
12428         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
12429         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
12430         tokens as begins.
12432 2009-11-05  Glenn Morris  <rgm@gnu.org>
12434         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
12435         Emacs 19.  (Bug#1531)
12436         (byte-compile-fix-header): Update for the above change.
12437         Drop test for epoch::version.
12439         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
12440         * cus-dep.el (custom-make-dependencies):
12441         * finder.el (finder-compile-keywords):
12442         Use autoload-rubric's feature argument.
12444         * calendar/diary-lib.el (top-level): Make load behave more like require.
12446         * vc-git.el (vc-git-stash-map): Move definition before use.
12448 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
12450         * custom.el (custom-declare-group): Purecopy standard-value.
12451         (custom-declare-group): Purecopy custom-prefix.
12453         * international/mule.el (load-with-code-conversion):
12454         Call do-after-load-evaluation unconditionally.
12456         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
12458 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12460         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
12462 2009-11-04  Glenn Morris  <rgm@gnu.org>
12464         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
12465         (byte-compile-compatibility): Remove option.
12466         (byte-compile-close-variables, byte-compile-fix-header)
12467         (byte-compile-insert-header, byte-compile-output-docform)
12468         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
12469         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
12470         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
12471         (byte-compile-insert, byte-compile-defun):
12472         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
12473         (byte-defop-compiler19): Remove.
12474         Without byte-compile-compatibility, the 'emacs19-opcode property is not
12475         used by anything.  Replace all calls with byte-defop-compiler.
12477 2009-11-04  Juri Linkov  <juri@jurta.org>
12479         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
12480         (menu-bar-options-menu): Don't quote the `prop' arg of
12481         `menu-bar-make-mm-toggle'.
12483 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
12485         * calendar/calendar.el (cal-loaddefs):
12486         * calendar/diary-lib.el (diary-loaddefs):
12487         * calendar/holidays.el (hol-loaddefs):
12488         * eshell/esh-module.el (esh-groups): Load rather than require.
12490 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12492         * calendar/todo-mode.el (todo-add-category): Don't hardcode
12493         point-min==1.
12494         (todo-top-priorities): Only display-buffer when called interactively.
12495         (todo-item-start): Don't save excursion point.
12496         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
12497         (todo-insert-item-here, todo-file-item, todo-remove-item):
12498         Adjust uses of todo-item-start and todo-item-end.
12500         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
12501         (autoload-rubric): Don't use any more.
12503         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
12504         and only put a prop if it is non-nil.
12506 2009-11-03  Juri Linkov  <juri@jurta.org>
12508         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
12509         (menu-bar-options-menu): Fix list quoting (Bug#4429).
12511         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
12512         and "Menu" to make top-level menu item visually one unit (like
12513         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
12514         multi-word menu items).  Fix :help string for quit-window.
12516 2009-11-03  Glenn Morris  <rgm@gnu.org>
12518         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
12519         (byte-compile-file-form-define-abbrev-table)
12520         (byte-compile-file-form-custom-declare-variable)
12521         (byte-compile-variable-ref, byte-compile-defvar):
12522         Whether or not a warning is enabled should only affect whether we issue
12523         the warning, not whether or not we collect the relevant data.
12524         Eg warnings can be turned on and off throughout the course of a file.
12526         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
12527         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
12529 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12531         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
12532         * play/mpuz.el (mpuz-create-buffer):
12533         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
12534         (lm-print-y,s,noise, lm-print-w0, lm-init):
12535         * play/gomoku.el (gomoku-prompt-for-move):
12536         * play/fortune.el (fortune-in-buffer):
12537         * play/dissociate.el (dissociated-press):
12538         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
12539         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
12540         * mail/supercite.el (sc-eref-show):
12541         * mail/smtpmail.el (smtpmail-send-it):
12542         * mail/rmailsum.el (rmail-summary-next-labeled-message)
12543         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
12544         (rmail-summary-undelete-many, rmail-summary-rmail-update)
12545         (rmail-summary-goto-msg, rmail-summary-expunge)
12546         (rmail-summary-get-new-mail, rmail-summary-search-backward)
12547         (rmail-summary-add-label, rmail-summary-output-menu)
12548         (rmail-summary-output-body):
12549         * mail/rfc822.el (rfc822-addresses):
12550         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
12551         * mail/mailpost.el (post-mail-send-it):
12552         * mail/hashcash.el (hashcash-generate-payment):
12553         * mail/feedmail.el (feedmail-run-the-queue)
12554         (feedmail-queue-send-edit-prompt-help-first)
12555         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
12556         (feedmail-deduce-address-list):
12557         * eshell/esh-ext.el (eshell-remote-command):
12558         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
12559         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
12560         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
12561         (viper-save-string-in-file, viper-valid-marker):
12562         * emulation/viper-keym.el (viper-toggle-key):
12563         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
12564         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
12565         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
12566         * emulation/viper-cmd.el (viper-exec-form-in-vi)
12567         (viper-exec-form-in-emacs, viper-brac-function):
12568         * emulation/viper.el (viper-delocalize-var):
12569         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
12570         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
12571         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
12572         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
12573         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
12574         * emulation/edt.el (edt-electric-helpify):
12575         * emulation/cua-rect.el (cua--rectangle-aux-replace):
12576         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
12577         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
12578         (cua-indent-to-global-mark-column):
12579         * calendar/diary-lib.el (calendar-mark-1):
12580         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
12581         Use with-current-buffer.
12582         * emulation/viper.el (viper-delocalize-var): Use dolist.
12584 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
12586         * comint.el (comint-replace-by-expanded-history-before-point):
12587         Replace !! with the previous input string literally (Bug#1795).
12589 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
12591         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
12592         to be made up of whitespace.
12594 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
12596         * minibuffer.el (read-file-name): Don't use file dialogs for
12597         remote directories (Bug#99).
12599 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
12601         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
12603 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
12605         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
12606         instead of deleting the window or frame.
12608 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
12610         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
12611         Support face colors.
12613         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
12614         New function.  Support face colors (Bug#1168).
12615         (tex-common-initialization): Use it.
12617         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
12618         mode allows it (Bug#1168).
12620 2009-10-31  Juri Linkov  <juri@jurta.org>
12622         * facemenu.el (list-colors-display): Don't mark buffer as
12623         modified (Bug#3948).
12625 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
12627         * international/mule-diag.el (list-character-sets-1): Minor
12628         message fix (Bug#3526).
12630         * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
12631         face property (Bug#4834).
12632         (etags-list-tags, etags-tags-apropos-additional)
12633         (etags-tags-apropos, tags-select-tags-table): Add follow-link
12634         property.
12636         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
12637         items.
12639 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12641         * textmodes/two-column.el (2C-split):
12642         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
12643         * textmodes/tex-mode.el (tex-set-buffer-directory):
12644         * textmodes/spell.el (spell-region, spell-string):
12645         * textmodes/reftex.el (reftex-erase-buffer):
12646         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
12647         * textmodes/reftex-toc.el (reftex-toc-promote-action):
12648         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
12649         (reftex-select-item):
12650         * textmodes/reftex-ref.el (reftex-label-info-update)
12651         (reftex-offer-label-menu):
12652         * textmodes/reftex-index.el (reftex-index-change-entry)
12653         (reftex-index-phrases-info):
12654         * textmodes/reftex-global.el (reftex-create-tags-file)
12655         (reftex-save-all-document-buffers, reftex-ensure-write-access):
12656         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
12657         (reftex-view-crossref-from-bibtex):
12658         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
12659         (reftex-extract-bib-entries-from-thebibliography)
12660         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
12661         * textmodes/refbib.el (r2b-capitalize-title):
12662         (r2b-convert-buffer, r2b-help):
12663         * textmodes/page-ext.el (pages-directory)
12664         (pages-directory-goto-with-mouse):
12665         * textmodes/bibtex.el (bibtex-validate-globally):
12666         * textmodes/bib-mode.el (bib-capitalize-title):
12667         * textmodes/artist.el (artist-clear-buffer, artist-system):
12668         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
12669         (local-set-scheme-interaction-buffer, xscheme-process-filter)
12670         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
12671         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
12672         (xscheme-send-control-g-interrupt, xscheme-start-process)
12673         (xscheme-process-sentinel, xscheme-cd):
12674         * progmodes/verilog-mode.el (verilog-read-always-signals)
12675         (verilog-set-define, verilog-getopt-file)
12676         (verilog-module-inside-filename-p):
12677         * progmodes/sh-script.el:
12678         * progmodes/python.el (python-pdbtrack-get-source-buffer)
12679         (python-pdbtrack-grub-for-buffer, python-execute-file):
12680         * progmodes/octave-inf.el (inferior-octave):
12681         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
12682         (idlwave-shell-compile-helper-routines, idlwave-set-local)
12683         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
12684         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
12685         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
12686         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
12687         (idlwave-shell-filter, idlwave-shell-examine-highlight)
12688         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
12689         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
12690         (idlwave-shell-examine-display, idlwave-shell-run-region)
12691         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
12692         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
12693         * progmodes/idlw-help.el (idlwave-help-get-special-help)
12694         (idlwave-help-get-help-buffer):
12695         * progmodes/gud.el (gud-basic-call, gud-find-class)
12696         (gud-tooltip-activate-mouse-motions-if-enabled):
12697         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
12698         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
12699         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
12700         (ebrowse-tags-next-file):
12701         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
12702         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
12703         (ebnf-eps-finish-and-write):
12704         * progmodes/cpp.el (cpp-edit-save):
12705         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
12706         * progmodes/cc-defs.el (c-emacs-features):
12707         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
12708         (antlr-directory-dependencies):
12709         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
12710         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
12711         (ada-find-any-references, ada-make-filename-from-adaname)
12712         (ada-make-body-gnatstub):
12713         * obsolete/rnews.el (news-list-news-groups):
12714         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
12715         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
12716         * net/rcirc.el (rcirc-debug):
12717         * net/newst-treeview.el (newsticker--treeview-list-add-item)
12718         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
12719         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
12720         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
12721         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
12722         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
12723         (newsticker--treeview-list-clear-highlight)
12724         (newsticker--treeview-list-update-highlight)
12725         (newsticker--treeview-list-highlight-start)
12726         (newsticker--treeview-tree-update-highlight)
12727         (newsticker--treeview-get-selected-item)
12728         (newsticker-treeview-mark-list-items-old)
12729         (newsticker--treeview-set-current-node):
12730         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
12731         * net/newst-backend.el (newsticker--get-news-by-funcall)
12732         (newsticker--get-news-by-wget, newsticker--image-get)
12733         (newsticker--image-sentinel):
12734         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
12735         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
12736         (eudc-ph-close-session):
12737         * net/eudc.el (eudc-save-options):
12738         * language/thai-word.el (thai-update-word-table):
12739         * language/japan-util.el (japanese-string-conversion):
12740         * international/titdic-cnv.el (tsang-quick-converter)
12741         (ziranma-converter, ctlau-converter):
12742         * international/mule-cmds.el (describe-language-environment):
12743         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
12744         (skkdic-convert-postfix, skkdic-convert-prefix):
12745         (skkdic-convert-okuri-nasi, skkdic-convert):
12746         * emacs-lisp/re-builder.el (reb-update-overlays):
12747         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
12748         * emacs-lisp/gulp.el (gulp-send-requests):
12749         * emacs-lisp/find-gc.el (trace-call-tree):
12750         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
12751         (eieio-describe-generic):
12752         * emacs-lisp/eieio-base.el (eieio-persistent-read):
12753         * emacs-lisp/edebug.el (edebug-outside-excursion):
12754         * emacs-lisp/debug.el (debugger-make-xrefs):
12755         * emacs-lisp/cust-print.el (custom-prin1-to-string):
12756         * emacs-lisp/chart.el (chart-new-buffer):
12757         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
12758         Use with-current-buffer.
12759         * textmodes/artist.el (artist-system): Don't call
12760         copy-sequence on a fresh string.
12761         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
12763 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
12765         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
12766         is no item to edit.  (Bug#4820)
12767         (todo-top-priorities): Restore point and restore narrowing in Todo
12768         buffer.  (Bug#4820)
12770 2009-10-31  Glenn Morris  <rgm@gnu.org>
12772         * net/ange-ftp.el (top-level): Don't require dired when compiling.
12773         (comint-last-output-start, comint-last-input-start)
12774         (comint-last-input-end): Don't defvar when compiling.
12775         (ange-ftp-process-file): Use bound-and-true-p.
12777         * pcmpl-rpm.el (top-level): Move provide statement to end.
12778         (pcmpl-rpm): Remove unused custom group.
12780         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
12782         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
12784         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
12785         (byte-compile-warnings): Add `constants' as an option.
12786         (byte-compile-callargs-warn, byte-compile-arglist-warn)
12787         (display-call-tree): Update for byte-compile-fdefinition possibly
12788         returning `(macro lambda ...)'.  (Bug#4778)
12789         (byte-compile-variable-ref, byte-compile-setq-default):
12790         Respect `constants' member of byte-compile-warnings.
12792 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
12794         * vc-bzr.el (vc-bzr-revision-keywords): New var.
12795         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
12796         to "submit:".
12798 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
12800         * textmodes/ispell.el (ispell-skip-region-alist):
12801         * international/mule-conf.el (eight-bit):
12802         * international/fontset.el (font-encoding-alist):
12803         * startup.el (pure-space-overflow-message):
12804         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
12805         * paths.el (gnus-nntp-service, rmail-spool-directory)
12806         (term-file-prefix):
12807         * files.el (save-some-buffers-action-alist):
12808         * cmuscheme.el (same-window-buffer-names):
12809         * ielm.el (same-window-buffer-names):
12810         * shell.el (same-window-buffer-names):
12811         * mail/sendmail.el (same-window-buffer-names):
12812         * progmodes/inf-lisp.el (same-window-buffer-names):
12813         * bindings.el (mode-line-client)
12814         (mode-line-column-line-number-mode-map):
12815         * language/tibetan.el (tibetan-precomposition-rule-regexp)
12816         (tibetan-precomposed-regexp): Purecopy string arguments.
12818 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12820         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
12821         (calcDigit-nondigit):
12822         * calc/calc-yank.el (calc-copy-to-buffer):
12823         * calc/calc-units.el (calc-invalidate-units-table):
12824         * calc/calc-trail.el (calc-trail-yank):
12825         * calc/calc-store.el (calc-insert-variables):
12826         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
12827         * calc/calc-prog.el (calc-read-parse-table):
12828         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
12829         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
12830         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
12831         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
12832         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
12833         (calc-graph-name, calc-graph-find-command, calc-graph-view)
12834         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
12835         * calc/calc-ext.el (calc-realign):
12836         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
12837         (calc-embedded-finish-edit, calc-embedded-make-info)
12838         (calc-embedded-finish-command, calc-embedded-stack-change):
12839         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
12841         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
12842         shell-dynamic-complete-filename in preference to
12843         comint-dynamic-complete-filename.
12845         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
12846         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
12847         Don't consider whether the display supports colors.
12848         (bookmark-import-new-list): Use dolist.
12849         (bookmark-bmenu-mode-map): Move initialization into declaration.
12850         (bookmark-bmenu-list): Use dolist, simplify.
12851         (bookmark-show-all-annotations): Use save-selected-window and dolist.
12852         (menu-bar-final-items): Use push.
12854 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
12856         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
12857         it works on remote files.
12858         (vc-hg-diff): Don't pass any `--cwd' argument.
12860 2009-10-27  Kevin Ryde  <user42@zip.com.au>
12862         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
12863         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
12864         (Further to Bug#3921).
12866 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
12868         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
12869         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
12870         calling `tramp-imap-put-file'.  Add file size to the call.
12871         (tramp-imap-get-file-entries): Compute also user name, file size,
12872         and date.
12873         (tramp-imap-handle-insert-directory): Insert uid and gid.
12874         (tramp-imap-handle-file-attributes): Transform uid and gid
12875         according to `id-format'.
12876         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
12877         size in header X-Size.
12879 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
12881         * simple.el (transpose-subr): Give clearer error when the mark
12882         is not set.  (Bug#4807)
12884 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
12886         * net/tramp.el (tramp-perl-file-truename): New defconst.
12887         Perl code contributed by yary <not.com@gmail.com> (tiny change).
12888         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
12889         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
12890         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
12892         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
12893         Ignore `dired-call-process'.
12894         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
12896 2009-10-26  Julian Scheid  <julians37@gmail.com>
12898         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
12899         (tramp-get-remote-readlink): New defun.
12900         (tramp-handle-file-truename): Use it.
12901         (tramp-handle-file-exists-p): Check file-attributes cache, assume
12902         file exists if cache value present.
12903         (tramp-check-cached-permissions): New defun.
12904         (tramp-handle-file-readable-p): Use it.
12905         (tramp-handle-file-writable-p): Likewise.
12906         (tramp-handle-file-executable-p): Likewise.
12907         (tramp-handle-file-name-all-completions): Try using Perl to get
12908         partial completions.  When perl not available, combine `cd' and
12909         `ls' into single remote operation and use shell expansion to get
12910         partial remote directory contents.  Set `file-exists-p' cache for
12911         directory and any files returned by ls.  Change cache handling to
12912         support partial directory contents.  Use error message emitted by
12913         remote `cd' or Perl code for local tramp-error.
12914         (tramp-do-copy-or-rename-file-directly): Avoid separate
12915         tramp-send-command-and-check call.
12916         (tramp-handle-process-file): Merge three remote ops into one.
12917         Do not flush all caches when `process-file-side-effects' is set.
12918         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
12919         file-attributes shows uid/gid to be set already.
12921 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
12923         * textmodes/tex-mode.el (tex-dvi-view-command)
12924         (tex-show-queue-command, tex-open-quote):
12925         * progmodes/ruby-mode.el (auto-mode-alist)
12926         (interpreter-mode-alist): Purecopy strings.
12928         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
12930         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
12931         string for the hook, keymap and abbrev table.
12933         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
12935         * x-dnd.el (x-dnd-xdnd-to-action):
12936         * startup.el (fancy-startup-text, fancy-about-text): Change to
12937         defconst from defvar.
12939         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
12941         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
12942         Purecopy initialization strings.
12944         * mail/sendmail.el (mail-header-separator)
12945         (mail-personal-alias-file):
12946         * mail/rmail.el (rmail-default-dont-reply-to-names)
12947         (rmail-ignored-headers, rmail-retry-ignored-headers)
12948         (rmail-highlighted-headers, rmail-secondary-file-directory)
12949         (rmail-secondary-file-regexp):
12950         * files.el (null-device, file-name-invalid-regexp)
12951         (locate-dominating-stop-dir-regexp)
12952         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
12953         (interpreter-mode-alist): Use mapcar instead of mapc.
12955         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
12957         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
12958         (completion-ignored-extensions):
12959         (debug-ignored-errors): Purecopy strings.
12961 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12963         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
12964         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
12965         (pcomplete--here): Use push.
12967         * subr.el (all-completions): Declare the 4th arg obsolete.
12969 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12971         * pcomplete.el (pcomplete-unquote-argument-function): New var.
12972         (pcomplete-unquote-argument): New function.
12973         (pcomplete--common-suffix): Always pay attention to case.
12974         (pcomplete--table-subvert): Quote and unquote the text.
12975         (pcomplete--common-quoted-suffix): New function.
12976         (pcomplete-std-complete): Use it and pcomplete-begin.
12978         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
12979         we're inside a dedicated or minibuffer window.
12981 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
12983         * bookmark.el: Update documentation, especially documentation
12984         of `bookmark-alist' and of the bookmark file format.
12985         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
12987 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
12989         * mail/emacsbug.el (report-emacs-bug): Clarify that the
12990         keybindings apply to the mail buffer (Bug#4003).  Shrink help
12991         window to buffer.
12993         * whitespace.el (whitespace-mode, whitespace-newline-mode)
12994         (global-whitespace-mode, global-whitespace-newline-mode)
12995         (whitespace-toggle-options, global-whitespace-toggle-options):
12996         Doc fix (Bug#3660).
12998         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
12999         of xmltok-start before the end tag was inserted (Bug#2840).
13001         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
13002         patterns that are preceded by an open-paren (Bug#1320).
13004 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
13006         * files.el (delete-directory): Delete symlinks to directories with
13007         delete-file (Bug#4739).
13009 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
13011         * vc.el (vc-backend-for-registration): Rename from
13012         vc-get-backend-for-registration.  Update callers.
13014         * international/mule-cmds.el (set-language-info-alist):
13015         Purecopy lang-env.
13016         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
13017         (charset): Purecopy the name.
13018         (define-char-code-property): Purecopy string arguments.
13020         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13021         Purecopy string arguments.
13023         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
13024         * ediff-hook.el (menu-bar-ediff-menu):
13025         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
13026         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
13028 2009-10-24  Glenn Morris  <rgm@gnu.org>
13030         * comint.el (comint-dynamic-list-completions):
13031         * term.el (term-dynamic-list-completions): Use choose-completion rather
13032         than obsolete alias mouse-choose-completion.
13034         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
13035         file-cache-choose-completion.
13036         (file-cache-choose-completion): Handle an optional event argument.
13037         (file-cache-mouse-choose-completion): Make it an obsolete alias.
13039         * progmodes/octave-mod.el (octave-complete-symbol):
13040         Use choose-completion if mouse-choose-completion is ever removed.
13042         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
13043         use.
13045         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
13046         compiler.
13048         * vc-hooks.el (vc-responsible-backend): Fix declaration.
13050 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13052         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
13053         Ignore `pred' now that we receive one.
13054         Handle test-completion specially.
13056 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
13058         * vc.el (vc-responsible-backend): Throw an error if not backend is
13059         found.  Remove the REGISTER argument.  Move the code dealing with
13060         REGISTER ...
13061         (vc-get-backend-for-registration): ... here.  New function.
13062         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
13063         of vc-responsible-backend, pass the file name instead of the
13064         directory name.
13066 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13068         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
13069         New funs.
13070         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
13071         (pcomplete-comint-setup): Don't modify a global var via
13072         accidental side-effects.
13073         (pcomplete-shell-setup): Adjust call accordingly.
13074         (pcomplete-parse-comint-arguments): Use push.
13076 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
13078         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
13079         Allow uncapitalized info node names (Bug#3921).
13081         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
13082         to the DEBUG file (Bug#3781).
13084 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
13086         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
13087         dictionary entry (Bug#4579).
13089 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
13091         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
13092         from `rfn-eshadow-update-overlay-hook' when unloading.
13093         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
13094         "rsyncc".  Adjust doc string.
13095         (tramp-temp-buffer-file-name): New buffer-local defvar.
13096         (tramp-handle-insert-file-contents, tramp-handle-write-region):
13097         Keep temporary file when indicated by method ("rsync" and
13098         "rsyncc").
13099         (tramp-handle-write-region): Handle APPEND.
13100         (tramp-delete-temp-file-function): New defun.  Added to
13101         `kill-buffer-hook'.
13103 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
13105         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
13107 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
13109         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
13110         (color-name-rgb-alist, tty-standard-colors)
13111         (tty-color-mode-alist): Change to defconst.
13113         * simple.el (mark-inactive): Purecopy message.
13115         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
13116         (global-map, yank-menu):
13117         * textmodes/ispell.el (ispell-menu-map):
13118         * net/eudc.el (eudc-tools-menu):
13119         * international/mule-cmds.el (describe-language-environment-map)
13120         (setup-language-environment-map, set-coding-system-map)
13121         (mule-menu-keymap):
13122         * vc-hooks.el (vc-menu-entry, vc-menu-map):
13123         * replace.el (occur-mode-map):
13124         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
13126 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
13128         * calc/calc.el (math-read-number, math-read-number-simple): Use
13129         `save-match-data'.
13131 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13133         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
13134         rather than fiddling with global-map bindings, since it should only
13135         affect per-terminal settings.
13136         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
13138         * minibuffer.el (completion-table-with-terminator): Allow to specify
13139         the terminator-regexp.
13141         * simple.el (switch-to-completions): Look for *Completions* in other
13142         frames as well.
13144         * pcomplete.el: Allow the use of completion-tables.
13145         (pcomplete-std-complete): New command.
13146         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
13147         (pcomplete--here): Use a function for `form' rather than an expression,
13148         so it can be byte-compiled.
13149         (pcomplete-here, pcomplete-here*): Adjust accordingly.
13150         Add edebug declaration.
13151         (pcomplete-show-completions): Remove unused var `curbuf'.
13152         (pcomplete-do-complete, pcomplete-stub):
13153         Don't assume `completions' is a list of strings any more.
13155 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
13157         * find-dired.el (find-name-arg): Fix typo in docstring.
13159 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13161         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
13162         (pcmpl-linux-fs-types): Same, and update to new modules layout.
13164         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
13165         pcomplete-entries.
13167         * comint.el (comint-read-input-ring, comint-write-input-ring)
13168         (comint-substitute-in-file-name)
13169         (comint-dynamic-complete-as-filename)
13170         (comint-dynamic-simple-complete)
13171         (comint-dynamic-list-filename-completions)
13172         (comint-dynamic-list-completions)
13173         (comint-redirect-results-list-from-process): Minor simplifications.
13175 2009-10-21  Kevin Ryde  <user42@zip.com.au>
13177         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
13178         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
13179         the first form.  And insert a blank line after ";;; Code" since
13180         that's usual style.  (Bug#4612)
13182         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
13184 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13186         * minibuffer.el (completion-table-with-terminator): Properly implement
13187         boundaries, in case `terminator' appears in the suffix.
13188         (completion--embedded-envvar-table): Don't return boundaries if
13189         there's no valid completion.  Simplify.
13190         (completion-file-name-table): New completion table extracted from
13191         completion--file-name-table.
13192         (completion--file-name-table): Use it.
13193         (read-file-name-predicate): Declare obsolete.
13194         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
13195         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
13196         completion-file-name-table, and use the `pred' argument.
13197         * files.el (locate-file-completion-table): Use the `pred' arg rather
13198         than read-file-name-predicate.
13199         (abbreviate-file-name): Use \` rather than ^ for BOS.
13201 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
13203         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
13204         vc-responsible-backend to register, it causes problems.
13206 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13208         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
13210 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
13212         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
13213         (tramp-smb-handle-file-attributes): Use it.
13214         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
13215         (tramp-smb-handle-insert-directory): Use `mapc' rather than
13216         `mapcar'.  Use `tramp-smb-get-stat-capability'.
13217         Add `dired-filename' text properties.
13218         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
13219         (tramp-smb-maybe-open-connection): Simplify check for smbclient
13220         version.
13222 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13224         * subr.el (read-key-delay): Reduce to 0.01.
13225         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
13226         (bug#4751).
13228 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13230         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
13232         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
13233         (Info-menu): Remove unused vars `last' and `completions'.
13234         (Info-index-nodes): Remove unused var `node'.
13236         * info.el (Info-complete-menu-item): Use complete-with-action.
13238 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
13240         Make vc-annotate work through copies and renames.
13241         * vc-annotate.el (vc-annotate-extract-revision-at-line):
13242         Return the file name too.
13243         (vc-annotate-revision-at-line)
13244         (vc-annotate-find-revision-at-line)
13245         (vc-annotate-revision-previous-to-line)
13246         (vc-annotate-show-log-revision-at-line): Update to get the file
13247         name from vc-annotate-extract-revision-at-line.
13248         (vc-annotate-show-diff-revision-at-line-internal): Change the
13249         argument to mean whether to show a file diff or not.  Get the file
13250         name from vc-annotate-extract-revision-at-line.
13251         (vc-annotate-show-diff-revision-at-line):
13252         Update vc-annotate-show-diff-revision-at-line call.
13253         (vc-annotate-warp-revision): Add an optional file argument.
13255         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
13256         (vc-git-annotate-extract-revision-at-line): Also return the file
13257         name if found.
13259         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
13260         command.  Remove unused code.
13261         (vc-hg-annotate-re): Update to match --follow output.
13262         (vc-hg-annotate-extract-revision-at-line): Also return the file
13263         name if found.
13265         * vc.el: Update annotate-extract-revision-at-line documentation.
13267 2009-10-18  Kevin Ryde  <user42@zip.com.au>
13269         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
13270         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
13272         * net/browse-url.el (browse-url): Identify alist with "consp and
13273         not functionp" and let all other things go down the `apply' leg,
13274         as suggested by Stefan.  (Further to bug#4531.)
13276 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
13278         * minibuffer.el (read-file-name): Check for repeat before putting
13279         a default argument in file-name-history (Bug#4657).
13281         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
13282         read syntax (Bug#4737).
13284         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
13286 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
13288         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
13289         (html-tag-alist, html-tag-help): Add descriptions for undocumented
13290         entries and make note of obsolete tags.
13292 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13294         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
13296 2009-10-18  Glenn Morris  <rgm@gnu.org>
13298         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
13299         grep, so that binary files (eg international/uni-bidi.el) can match.
13300         Remove test for "UnicodeData" files, since it is hopefully unnecessary
13301         now, and in any case the file header format has changed.
13303 2009-10-17  Glenn Morris  <rgm@gnu.org>
13305         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
13306         (flyspell-get-word, flyspell-large-region)
13307         (flyspell-auto-correct-previous-word): Doc/error message fixes.
13309 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
13311         * Makefile.in (ELCFILES): Add ede/shell.
13313 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
13315         * term/common-win.el (x-colors): Purecopy it.
13317 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13319         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
13320         permissive for when the buffer is empty.
13321         (tar-header-block-tokenize): Decode the username and groupname.
13322         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
13324 2009-10-17  Eric Ludlam  <zappo@gnu.org>
13326         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
13327         contains multibyte characters, choose first applicable coding
13328         system automatically.
13330 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13332         * international/mule-cmds.el (select-safe-coding-system): If the file
13333         has a coding cookie, use it regardless of any other setting (bug#4712).
13335 2009-10-17  Glenn Morris  <rgm@gnu.org>
13337         * foldout.el (foldout-mouse-swallow-events):
13338         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
13340         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
13341         (dired-keep-marker-copy, dired-keep-marker-hardlink)
13342         (dired-keep-marker-symlink, dired-dwim-target)
13343         (dired-copy-preserve-time): Do not autoload these defcustoms.
13345         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
13346         messages from messing up the file coding.  (Bug#4623)
13348 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
13350         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
13351         if no match is found for the current dictionary.  (Bug#4578)
13353         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
13354         optional, since that is how it is documented, and this is often called
13355         with a nil argument.  (Bug#4577)
13356         (flyspell-external-point-words, flyspell-auto-correct-word)
13357         (flyspell-correct-word-before-point, flyspell-word-search-forward)
13358         (flyspell-word-search-backward): Remove nil argument in calls to
13359         flyspell-get-word, since it is not needed now.
13361 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
13363         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
13365 2009-10-16  Glenn Morris  <rgm@gnu.org>
13367         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
13369 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
13371         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
13372         (ange-ftp-file-size): New function.
13373         (ange-ftp-file-attributes): Use it.
13375 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
13377         * net/tramp-smb.el (tramp-smb-version): New defvar.
13378         (tramp-smb-maybe-open-connection): Use it, in order to avoid
13379         repeated checks.
13381 2009-10-16  Glenn Morris  <rgm@gnu.org>
13383         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
13384         Maybe copy some custom properties from old to new name.  (Bug#4706)
13386 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
13388         * subr.el (error, sit-for, start-process-shell-command)
13389         (start-file-process-shell-command): Set the calling convention
13390         after the function definition.
13392 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13394         * subr.el (error, sit-for, start-process-shell-command)
13395         (start-file-process-shell-command): Use the new
13396         set-advertised-calling-convention feature.
13398 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
13400         * international/ucs-normalize.el (ucs-normalize-version):
13401         Change to 1.2.
13402         (check-range): Adjust for Unicode 5.2.
13404 2009-10-15  Juri Linkov  <juri@jurta.org>
13406         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
13407         to the `menu-item' format.
13409 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
13411         * net/tramp.el (tramp-replace-environment-variables): Do not fail
13412         if the environment variable does not exist.
13414         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13415         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
13416         parameter.
13417         (tramp-smb-handle-add-name-to-file)
13418         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
13419         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
13420         (tramp-smb-handle-file-attributes)
13421         (tramp-smb-do-file-attributes-with-stat)
13422         (tramp-smb-handle-file-local-copy)
13423         (tramp-smb-handle-insert-directory)
13424         (tramp-smb-handle-make-directory)
13425         (tramp-smb-handle-make-directory-internal)
13426         (tramp-smb-handle-make-symbolic-link)
13427         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
13428         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
13429         (tramp-smb-maybe-open-connection): Apply the changed parameters.
13430         (tramp-smb-read-file-entry): Read Disk names in compressed format.
13431         Handle long file names.
13432         (tramp-smb-get-cifs-capabilities): Check, whether the connection
13433         process is running.
13434         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
13435         Read share names with "-g" option.
13437 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
13439         * net/rcirc.el (rcirc-view-log-file): New command.
13440         (rcirc-track-minor-mode-map): Remove C-c ` binding.
13441         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
13442         specified.
13444 2009-10-15  Glenn Morris  <rgm@gnu.org>
13446         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
13447         from the second command-line argument.
13448         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
13449         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
13450         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
13451         w32-batch-update-autoloads.
13452         * emacs-lisp/autoload.el (autoload-make-program): New variable.
13453         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
13455         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
13456         the headers cannot be located.  Simplify, subtracting superflous
13457         save-excursions.
13459 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13461         Replace completion-base-size by completion-base-position to fix bugs
13462         such as (bug#4699).
13463         * simple.el (completion-base-position): New var.
13464         (completion-base-size): Mark as obsolete.
13465         (choose-completion): Make it work for mouse events as well.
13466         Pass the new base-position to choose-completion-string.
13467         (choose-completion-guess-base-position): New function, extracted from
13468         choose-completion-delete-max-match.
13469         (choose-completion-delete-max-match): Use it.  Make obsolete.
13470         (choose-completion-string): Use the new base-position info.
13471         (completion-root-regexp): Delete.
13472         (completion-setup-function): Preserve completion-base-position.
13473         Eliminate obsolete base-size manipulation.
13474         * minibuffer.el (display-completion-list): Don't mess with base-size.
13475         (minibuffer-completion-help): Set completion-base-position instead.
13476         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
13477         choose-completion.
13478         * textmodes/bibtex.el (bibtex-complete):
13479         * emacs-lisp/crm.el (crm--choose-completion-string):
13480         Adjust to new calling convention.
13481         * complete.el (partial-completion-mode): Use minibufferp to avoid
13482         bumping into incompatible change to choose-completion-string-functions.
13483         * ido.el (ido-choose-completion-string): Make its calling convention
13484         more permissive.
13485         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
13486         base-size manipulation.
13487         (comint-dynamic-list-input-ring): Use dotimes and push.
13488         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
13489         fundamental-mode.  Use `or'.
13491 2009-10-14  Juri Linkov  <juri@jurta.org>
13493         * misearch.el (multi-isearch-next-buffer-from-list)
13494         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
13496 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13498         * Makefile.in (compile-onefile): Load `bytecomp' rather than
13499         `bytecomp.el'.
13501         * minibuffer.el (completion-pcm--merge-completions): Make sure the
13502         string we return is all made up of text from the completions rather
13503         than part from the completions and part from the input (bug#4219).
13505         * ido.el (ido-everywhere): Use define-minor-mode.
13507         * buff-menu.el (list-buffers, ctl-x-map):
13508         Mark the entry points with ;;;###autoload cookies.
13510 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
13512         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
13513         correctly in the detached head case.
13514         (vc-git-print-log): Remove unused binding.
13516         * vc.el (vc-responsible-backend): When a directory is passed for
13517         for registration create a VC repository if no backend is
13518         responsible for the directory argument.
13519         (vc-deduce-fileset): Tell vc-responsible-backend to register.
13521         * vc.el: Move comments about RCS and SCCS ...
13522         * vc-rcs.el:
13523         * vc-sccs.el: ... here, respectively.
13525 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13527         * minibuffer.el (completion--file-name-table): Return nil if there's
13528         no file completion, even if substitute-in-file-name changed
13529         the string (bug#4708).
13531 2009-10-13  Juri Linkov  <juri@jurta.org>
13533         * files-x.el (read-file-local-variable-value): Don't filter out
13534         minor modes from mode name completion (bug#4664).
13536 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
13538         * international/mule-cmds.el (ucs-names): Remove exclusion of
13539         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
13541 2009-10-13  Kenichi Handa  <handa@m17n.org>
13543         * international/uni-name.el: Regenerated.
13545 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
13547         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
13548         should be automatically buffer-local, but isn't.)
13550 2009-10-12  Sam Steingold  <sds@gnu.org>
13552         * progmodes/compile.el (compilation-next-error-function): Fix the
13553         timestamps if the buffer has been visited before.
13554         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
13555         non-anchored patterns, like the perl one (bug#3928).
13557 2009-10-12  Glenn Morris  <rgm@gnu.org>
13559         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
13560         Let-bind `size'.
13562 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
13564         * proced.el (proced-unload-function): New function.
13566         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
13567         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
13568         Doc fix.
13570         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
13572 2009-10-11  Juri Linkov  <juri@jurta.org>
13574         * files-x.el (read-file-local-variable-value):
13575         Provide default value only for bound variables (bug#4664).
13577 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
13579         * net/tramp.el (tramp-local-host-p): Function shall return nil for
13580         connection methods like smb.
13582         * net/tramp-cache.el (tramp-flush-connection-property): The hash
13583         can be empty.
13585         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13586         (tramp-smb-file-name-handler-alist): Add handlers for
13587         `add-name-to-file', `make-symbolic-link'.
13588         (tramp-smb-handle-add-name-to-file)
13589         (tramp-smb-do-file-attributes-with-stat)
13590         (tramp-smb-handle-make-symbolic-link)
13591         (tramp-smb-get-cifs-capabilities): New defuns.
13592         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
13593         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
13594         (tramp-smb-handle-file-local-copy)
13595         (tramp-smb-handle-make-directory-internal)
13596         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
13597         The file name syntax depends on cifs capabilities.
13598         (tramp-smb-handle-file-attributes):
13599         Call `tramp-smb-do-file-attributes-with-stat' if possible.
13600         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
13601         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
13603 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
13605         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
13606         (eieio-defclass): Apply deftype handler and setf-method properties
13607         directly.
13608         (eieio-add-new-slot): Avoid union function from cl library.
13609         (eieio--typep): New function.
13610         (eieio-perform-slot-validation): Use it.
13612 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
13614         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
13615         Update documentation to refer to the variables documented in r1.135.
13616         (Bug#4188)
13618 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
13620         * bookmark.el (Info-suffix-list): Remove this unused variable.
13621         (bookmark-current-point): Remove this obsolete variable.
13622         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
13623         Adjust for removal of bookmark-current-point.
13625         (bookmarks-already-loaded, bookmark-current-buffer)
13626         (bookmark-yank-point): Document.  (Bug#4188)
13628 2009-10-10  Glenn Morris  <rgm@gnu.org>
13630         * frame.el (frame-height): Doc fix.
13632         * calendar/calendar.el (calendar-split-width-threshold): New option.
13633         (calendar-basic-setup): Use calendar-split-width-threshold.
13635 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
13637         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
13638         Ideographic Supplement" range (U+1F200..U+1F2FF).
13640 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
13642         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
13643         since the list will have been rebuilt anyway.  (Bug#4349)
13645 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
13647         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
13648         (bookmark-bmenu-execute-deletions): Don't save here, as
13649         bookmark-delete will now do so if necessary.
13650         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
13651         (Bug#4348)
13653 2009-10-09  Glenn Morris  <rgm@gnu.org>
13655         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
13657 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
13659         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
13660         (bookmark-jump-other-window): Just invoke bookmark-jump with new
13661         argument now, so the two function's behaviors will match.  (Bug#3645)
13663 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
13665         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
13666         (tramp-file-name-real-host, tramp-file-name-port):
13667         Apply `save-match-data'.
13669         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
13670         case both directories are remote.
13671         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
13672         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
13674 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
13676         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
13678 2009-10-07  Glenn Morris  <rgm@gnu.org>
13680         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
13681         of concat.
13683 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13685         * files-x.el (read-file-local-variable): Include some
13686         non-user-variables in the completion table (bug#4664).
13688 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
13690         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
13691         message.
13693         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13694         (tramp-smb-file-name-handler-alist): Add handler for
13695         `copy-directory', `expand-file-name', `set-file-modes'.
13696         (tramp-smb-handle-copy-directory)
13697         (tramp-smb-handle-expand-file-name)
13698         (tramp-smb-handle-set-file-modes): New defuns.
13699         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
13700         (tramp-smb-handle-file-attributes): Simplify check for retrieving
13701         entry.
13702         (tramp-smb-handle-insert-directory): Don't flush the cache.
13703         (tramp-smb-maybe-open-connection): Check for samba client and
13704         server versions.
13706 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
13708         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
13709         to not error out of search for "^lisp=" fails.
13711 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
13713         * makefile.w32-in (WINS_UPDATES): New macro.
13714         (custom-deps, finder-data, autoloads): Use it.
13716 2009-10-07  Glenn Morris  <rgm@gnu.org>
13718         * Makefile.in (autoloads): Revert previous change.
13719         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
13720         the list of preloaded files passed on the command-line, get
13721         it from src/Makefile.
13723         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
13724         show the original buffer rather than a random one.
13726 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
13728         * help.el (describe-no-warranty): Place point in a slightly better
13729         position in the GPLv3 text.
13731 2009-10-06  Sam Steingold  <sds@gnu.org>
13733         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
13734         the comm attribute is present before calling regexp-quote.
13736 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
13738         * play/animate.el (animate-string): For good effect, make sure
13739         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
13741         * play/animate.el (animate-sequence, animate-birthday-present):
13742         * misc.el (butterfly): Don't set `indent-tabs-mode'.
13744 2009-10-06  Glenn Morris  <rgm@gnu.org>
13746         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
13748         * emacs-lisp/autoload.el (autoload-excludes): New variable.
13749         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
13750         (batch-update-autoloads): Process a string value of autoload-excludes,
13751         set during the build process.
13752         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
13754         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
13755         inside with-parsed...  macro so that `v' is defined.
13757         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
13758         * progmodes/fortran.el (fortran-end-of-block)
13759         (fortran-beginning-of-block):
13760         Also push mark in the macro case.
13762         * emerge.el (emerge-show-file-name):
13763         * calc/calc.el (calc-quit):
13764         * calc/calc-misc.el (calc-big-or-small):
13765         * calc/calc-graph.el (calc-graph-view):
13766         * calc/calc-ext.el (calc-reset):
13767         * calendar/calendar.el (calendar-basic-setup):
13768         Use window-full-height-p.
13770         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
13771         header we don't understand, don't insert another.  (Bug#4624)
13772         If changing mime charset, insert the new one in the right place.
13774 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
13776         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
13777         (cal-tex-cursor-month): Correctly increment the end date for diary and
13778         holiday listing.  (Bug#4626)
13780 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13782         * help-fns.el (describe-function-1): Don't burp if the function is not
13783         a symbol.
13785 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
13787         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
13788         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
13789         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
13790         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
13792         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
13793         (eieio-default-superclass): Reflow docstrings.
13794         (this, class-option-assoc, defclass, eieio-class-un-autoload)
13795         (eieio-unbind-method-implementations, defmethod)
13796         (eieio-validate-slot-value, eieio-validate-class-slot-value)
13797         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
13798         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
13799         (eieio-slot-originating-class-p, eieio-slot-name-index)
13800         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
13801         (constructor, initialize-instance, no-next-method, object-print)
13802         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
13803         Fix typos in docstrings.
13804         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
13805         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
13806         (next-method-p): Doc fixes.
13807         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
13808         Fix typos in error messages.
13809         (eieio-defmethod): Fix typo in description of generic method.
13811         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
13812         (eieio-persistent-save-interactive, slot-missing):
13813         Fix typos in docstrings.
13814         (eieio-instance-inheritor-slot-boundp): Doc fix.
13816         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
13817         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
13819         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
13820         (eieio-custom-object-apply-reset):
13821         Fix typos in docstrings and error messages.
13823         * emacs-lisp/eieio-datadebug.el (data-debug-show):
13824         Fix typo in docstring.
13826         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
13827         (eieio-browse-tree): Doc fix.
13828         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
13829         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
13830         Fix typos in docstrings.
13832         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
13833         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
13834         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
13835         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
13836         Reflow docstrings.
13838 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
13840         * vc-hg.el (log-view-vc-backend): Declare for compiler.
13841         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
13842         Set log-view-vc-backend so that diff can work.
13844         * log-view.el (log-view-diff): Use vc-diff-internal instead of
13845         vc-version-diff.
13846         (vc-diff-internal): Autoload this instead of vc-version-diff.
13848 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
13850         * simple.el (eval-expression): Doc fix.
13852         * progmodes/cwarn.el (cwarn-mode): Doc fix.
13854 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
13856         * files.el (directory-files-no-dot-files-regexp): New defconst.
13857         (delete-directory): Use it.
13858         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
13860         * net/tramp.el (tramp-verbose): Fix docstring.
13861         (tramp-methods): Add recursive option to `tramp-copy-args'.
13862         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
13863         "scp1_old", "scp2_old", "rsync", "rsyncc".
13864         (tramp-default-method): Check also for `auth-source-user-or-password'.
13865         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
13866         Add handler for `copy-directory'.
13867         (tramp-handle-copy-directory): New defun.
13868         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
13869         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
13870         Optimize sent command.
13872 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13874         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
13875         window if necessary.
13877         * calendar/calendar.el (calendar-basic-setup): Don't call
13878         switch-to-buffer in a dedicated window.
13880 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
13882         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
13883         don't do anything related to relocating, just return nil.
13884         (bookmark-error-no-filename): New error.
13885         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
13886         bookmark has no file.  Don't even attempt to handle things that
13887         are not files; the whole point of custom handlers is to keep that
13888         knowledge elsewhere anyway.  Tighten some comments.
13889         (bookmark-file-or-variation-thereof): Remove now-unused function.
13890         (bookmark-location): Doc string fix.
13891         (Bug#4250)
13893 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
13895         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
13896         don't use a file dialog, because they usually don't know how to read
13897         a directory target from the user.  (Bug#4230)
13898         Also, make sure the prompt can display directories as well as files.
13900 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
13902         * bookmark.el (bookmark-set, bookmark-buffer-name):
13903         Improve doc strings.  (Bug#1193)
13905 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
13907         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
13908         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
13909         (bookmark-get-annotation, bookmark-set-annotation)
13910         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
13911         (bookmark-set-position, bookmark-get-front-context-string)
13912         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
13913         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
13914         (bookmark-jump-other-window, bookmark-handle-bookmark)
13915         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
13916         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
13917         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
13918         Improve doc strings to say whether bookmark can be a string or
13919         a record or both, and make other consistency and clarity fixes.
13920         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
13921         (bookmark-default-annotation-text, bookmark-yank-word)
13922         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
13923         (bookmark-import-new-list, bookmark-maybe-rename)
13924         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13925         (bookmark-bmenu-bookmark): Give these doc strings.
13926         (bookmark-bmenu-check-position): Give this a doc string, but also
13927         add a FIXME comment about how the function may be pointless.
13928         (bookmark-default-handler): Rework doc string and change a
13929         parameter name, to clarify that this takes a bookmark record
13930         not a bookmark name.
13931         (bookmark-set): Change a parameter name to indicate its meaning,
13932         and improve the doc string a bit.
13933         (Bug#4188)
13935 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
13937         * bookmark.el (bookmark-alist): Document the new `handler' element
13938         in the param alist.
13939         (bookmark-make-record-function): Adjust documentation for above.
13940         (Bug#4193)
13942 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
13944         * info.el (Info-bookmark-make-record): Document this function.
13945         (Info-bookmark-jump): Document with a doc string, not just a comment.
13946         (Bug#4203)
13948 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
13950         * files.el (copy-directory): New defun.
13952         * dired-aux.el (dired-copy-file-recursive): Use it.
13954 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
13956         * files-x.el (modify-dir-local-variable)
13957         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
13958         docstrings.
13960         * recentf.el (recentf-unload-function): New function.
13962 2009-10-04  Glenn Morris  <rgm@gnu.org>
13964         * window.el (window-full-height-p): Add doc string.
13966 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
13968         * window.el (window-full-height-p): New function.  (Bug#4543)
13970 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
13972         * vc.el: Remove commented out code.
13973         (vc-derived-from-dir-mode): Remove, unused.
13974         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
13976 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
13978         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
13979         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
13980         there could be recursive loading when `default-directory' is a
13981         remote file name.  (Bug#4614)
13983 2009-10-03  Glenn Morris  <rgm@gnu.org>
13985         * calendar/calendar.el (calendar-basic-setup): Handle the case where
13986         the frame is wide.
13987         (calendar-generate-window): Test for shrinkability rather than width.
13989         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
13990         reusing existing buffers, in case we happen to visit two files with the
13991         same basename.  (Bug#4593)
13993 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
13995         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
13996         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
13997         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
13998         subdirs of cedet as well.
13999         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
14001 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14003         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
14004         Obey advertised-signature-table.
14006         * help-fns.el (help-function-arglist): Don't check
14007         advertised-signature-table.
14008         (describe-function-1): Do it here instead so it also applies to subrs.
14010 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
14012         * simple.el (start-file-process): Say in the doc-string, that file
14013         handlers might not support pty association, if PROGRAM is nil.
14015         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
14016         HOST and USER are strings.  They are nil, when there are
14017         incomplete entries in ~/.netrc, for example.
14018         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
14019         root directory ("device busy" error otherwise).
14021         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
14022         Flush file properties of created directory.
14024 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
14026         * makefile.w32-in (WINS_BASIC): Remove cedet.
14027         (WINS_CEDET): Add cedet.
14028         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
14030 2009-10-02  Kevin Ryde  <user42@zip.com.au>
14032         * net/browse-url.el (browse-url): Pass any symbol in
14033         browse-url-browser-function to `apply', since if you've mistakenly put
14034         an unbound symbol then the error is clearer.  (Bug#4531)
14036 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
14038         * allout.el (allout-init, allout-back-to-current-heading)
14039         (allout-beginning-of-current-entry, allout-ascend-to-depth)
14040         (allout-ascend, allout-up-current-level, allout-end-of-level)
14041         (allout-previous-visible-heading, allout-forward-current-level)
14042         (allout-backward-current-level, allout-show-children):
14043         * apropos.el (apropos-describe-plist):
14044         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
14045         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
14046         * completion.el (add-completion, add-permanent-completion):
14047         * descr-text.el (describe-text-category, describe-char):
14048         * desktop.el (desktop-lazy-abort):
14049         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
14050         * dired.el (dired-build-subdir-alist):
14051         * ediff.el (ediff-version):
14052         * elide-head.el (elide-head, elide-head-show):
14053         * emerge.el (emerge-version):
14054         * env.el (getenv):
14055         * face-remap.el (variable-pitch-mode):
14056         * faces.el (describe-face):
14057         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
14058         (dired-at-point):
14059         * files.el (find-file-existing, auto-save-mode):
14060         * font-lock.el (font-lock-fontify-buffer):
14061         * help-fns.el (describe-function, describe-variable)
14062         (describe-syntax, describe-categories):
14063         * help.el (view-lossage, describe-bindings, describe-key)
14064         (describe-mode):
14065         * hexl.el (hexl-current-address):
14066         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
14067         * info.el (Info-goto-emacs-key-command-node):
14068         * log-edit.el (log-edit-insert-cvs-template)
14069         (log-edit-insert-cvs-rcstemplate):
14070         * menu-bar.el (menu-bar-mode):
14071         * mouse.el (mouse-appearance-menu):
14072         * newcomment.el (comment-indent-new-line):
14073         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
14074         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
14075         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
14076         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
14077         * recentf.el (recentf-mode):
14078         * savehist.el (savehist-mode, savehist-save):
14079         * shadowfile.el (shadow-copy-files):
14080         * simple.el (kill-ring-save, next-line, previous-line)
14081         (normal-erase-is-backspace-mode):
14082         * strokes.el (strokes-update-window-configuration)
14083         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
14084         (strokes-xpm-for-stroke):
14085         * time.el (emacs-uptime, emacs-init-time):
14086         * tutorial.el (tutorial--describe-nonstandard-key)
14087         (tutorial--detailed-help):
14088         * type-break.el (type-break-mode)
14089         (type-break-mode-line-message-mode, type-break-query-mode)
14090         (type-break-guesstimate-keystroke-threshold):
14091         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
14092         * version.el (emacs-version):
14093         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
14094         * winner.el (winner-mode):
14095         * calendar/timeclock.el (timeclock-in, timeclock-out)
14096         (timeclock-status-string, timeclock-change)
14097         (timeclock-workday-remaining-string)
14098         (timeclock-workday-elapsed-string)
14099         (timeclock-when-to-leave-string):
14100         * calendar/todo-mode.el (todo-add-category):
14101         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
14102         * emacs-lisp/autoload.el (update-file-autoloads):
14103         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
14104         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
14105         (checkdoc-message-text, checkdoc-defun):
14106         * emacs-lisp/debug.el (debugger-list-functions):
14107         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14108         * emacs-lisp/eieio-opt.el (eieio-describe-class)
14109         (eieio-describe-generic):
14110         * emacs-lisp/lisp-mnt.el (lm-synopsis):
14111         * emacs-lisp/shadow.el (list-load-path-shadows):
14112         * emulation/cua-base.el (cua-mode):
14113         * emulation/edt.el (edt-set-scroll-margins):
14114         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
14115         (tpu-toggle-regexp, tpu-toggle-search-direction)
14116         (tpu-toggle-rectangle, tpu-toggle-control-keys):
14117         * emulation/tpu-extras.el (tpu-set-scroll-margins):
14118         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14119         (viper-set-parsing-style-toggling-macro)
14120         (viper-set-emacs-state-searchstyle-macros):
14121         * emulation/viper.el (viper-set-hooks):
14122         * eshell/esh-mode.el (eshell-truncate-buffer):
14123         * international/mule-cmds.el (prefer-coding-system)
14124         (describe-input-method, describe-language-environment):
14125         * international/mule-diag.el (list-character-sets)
14126         (describe-character-set, describe-coding-system)
14127         (describe-fontset, list-fontsets, list-input-methods):
14128         * mail/sendmail.el (mail-signature):
14129         * net/ange-ftp.el (ange-ftp-copy-file):
14130         * net/browse-url.el (browse-url):
14131         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
14132         * net/quickurl.el (quickurl-add-url):
14133         * net/rcirc.el (names, topic):
14134         * net/xesam.el (xesam-mode):
14135         * play/5x5.el (5x5-new-game):
14136         * play/yow.el (apropos-zippy):
14137         * progmodes/ada-mode.el (ada-mode-version):
14138         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
14139         (f90-end-of-block)
14140         (f90-beginning-of-block):
14141         * progmodes/fortran.el (fortran-end-of-block)
14142         (fortran-beginning-of-block):
14143         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
14144         * progmodes/python.el (python-describe-symbol, python-shell):
14145         * term/ns-win.el (ns-print-buffer):
14146         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
14147         * textmodes/flyspell.el (flyspell-mode-on):
14148         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
14149         (pages-directory-for-addresses):
14150         * textmodes/table.el (table-recognize-cell)
14151         (table-query-dimension, table-generate-source)
14152         (table-insert-sequence, table--warn-incompatibility):
14153         * textmodes/tex-mode.el (tex-validate-buffer):
14154         * textmodes/texinfmt.el (texinfmt-version)
14155         (texinfo-format-buffer):
14156         Use `called-interactively-p' instead of `interactive-p'.
14158 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
14160         * image-mode.el (image-toggle-display):
14161         * emacs-lisp/elp.el (elp-instrument-function):
14162         * emacs-lisp/advice.el (ad-make-advised-definition):
14163         * emacs-lisp/easy-mmode.el (define-minor-mode):
14164         * net/browse-url.el (browse-url-maybe-new-window):
14165         * progmodes/sh-script.el (sh-learn-buffer-indent):
14166         Pass new argument 'any to `called-interactively-p'.
14168 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
14170         * international/uni-bidi.el:
14171         * international/uni-category.el:
14172         * international/uni-combining.el:
14173         * international/uni-comment.el:
14174         * international/uni-decimal.el:
14175         * international/uni-decomposition.el:
14176         * international/uni-digit.el:
14177         * international/uni-lowercase.el:
14178         * international/uni-mirrored.el:
14179         * international/uni-name.el:
14180         * international/uni-numeric.el:
14181         * international/uni-old-name.el:
14182         * international/uni-titlecase.el:
14183         * international/uni-uppercase.el:
14184         Regenerate from Unicode 5.2.0 data.
14186 2009-10-01  Glenn Morris  <rgm@gnu.org>
14188         * Makefile.in (ELCFILES): Regenerate.
14190 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14192         * subr.el (interactive-p): Mark obsolete.
14193         (called-interactively-p): Make the optional-ness of `kind' obsolete.
14194         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
14195         advertised-signature-table for subroutines as well.
14197         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
14198         (set-advertised-calling-convention): New function.
14199         (make-obsolete, define-obsolete-function-alias)
14200         (make-obsolete-variable, define-obsolete-variable-alias):
14201         Make the optional-ness of `when' obsolete.
14202         (define-obsolete-face-alias): Make `when' non-optional.
14203         * help-fns.el (help-function-arglist):
14204         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
14205         Use advertised-signature-table.
14207 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
14209         * files.el (delete-directory): New defun.  The original function
14210         in fileio.c has been renamed to `delete-directory-internal'.
14212         * dired.el (dired-delete-file): Call `delete-directory' with
14213         RECURSIVE parameter.
14215         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
14216         parameter RECURSIVE.  Implementation is missing.
14218         * net/tramp.el (tramp-handle-make-directory): Flush upper
14219         directory's file properties.
14220         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
14221         (tramp-handle-dired-recursive-delete-directory): Flush directory
14222         properties after the remove command only.
14224         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14225         Handle optional parameter RECURSIVE.
14227         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14228         Handle optional parameter RECURSIVE.
14230         * net/tramp-smb.el (tramp-smb-errors): Add error message for
14231         connection timeout.
14232         (tramp-smb-handle-delete-directory): Handle optional parameter
14233         RECURSIVE.
14235 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14237         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
14238         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
14239         (byte-compile-defmacro): Use backquotes.
14241         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
14243         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
14244         has no associated file.
14245         (vc-resynch-buffer): Use vc-dir-buffers.
14247 2009-10-01  Glenn Morris  <rgm@gnu.org>
14249         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
14250         (chart-file-count):
14251         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
14252         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
14253         * emacs-lisp/eieio-opt.el (eieio-describe-class):
14254         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
14255         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
14256         (eieio-copy-parents-into-subclass, make-instance, class-children)
14257         (eieio-generic-form):
14259         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
14260         match-data.  (Bug#4555).
14262         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
14263         rather than parsing it as a regexp.  This relaxes the layout
14264         requirements and makes errors easier to detect.
14265         (check-declare-verify): Check file is regular.
14266         (check-declare-directory): Doc fix.
14267         * subr.el (declare-function): Doc fix.
14269         * ibuffer.el (ibuffer-format-qualifier):
14270         * isearch.el (hi-lock-regexp-okay):
14271         * calc/calc.el (math-zerop):
14272         * mail/uce.el (rmail-msgbeg, rmail-msgend):
14273         * term/w32-win.el (setup-default-fontset, set-fontset-font):
14274         Remove unused declarations.
14276 2009-09-30  Eric Ludlam  <zappo@gnu.org>
14278         * emacs-lisp/eieio.el (boolean-p): Delete.
14280 2009-09-30  Glenn Morris  <rgm@gnu.org>
14282         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
14284         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
14285         filename is not a string.
14287 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
14289         * files.el (safe-local-eval-forms): Fix typo.
14291 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
14293         * vc-hooks.el (vc-dir-buffers): New var.
14294         (vc-state-refresh): New function.
14295         (vc-state): Use it.
14296         (vc-after-save): Always ask the backend to recompute the new state.
14297         Always call vc-dir if necessary, using vc-dir-buffers.
14298         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
14299         Use vc-dir-buffers.
14300         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
14301         (vc-dir-prepare-status-buffer, vc-dir-update)
14302         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
14303         Don't call expand-file-name on default-directory.
14305 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
14307         * speedbar.el (speedbar-item-delete):
14308         * calc/calc-prog.el (calc-kbd-if):
14309         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
14311         * epa.el (epa-key-list-mode-map):
14312         * hi-lock.el (hi-lock-menu): Fix typos in menus.
14314         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
14315         (hs-show-hook): Fix typo in docstring.
14317 2009-09-29  Glenn Morris  <rgm@gnu.org>
14319         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
14320         file-name-nondirectory call preventing location of cedet files.
14321         (check-declare-verify): Use literal search rather than re-search.
14322         Add basic defmethod and defclass, and define-overloadable-function.
14324         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
14325         Use tramp-compat-file-attributes rather than nonexistent
14326         tramp-compat-handle-file-attributes.
14328         * Makefile.in (lisptagsfiles4): New.
14329         (AUTOGENEL): Add cedet loaddefs files.
14330         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
14331         (update-elclist, compile-always, backup-compiled-files)
14332         (bootstrap-clean): Add yet another directory level.
14333         (update-elclist): Use LC_COLLATE rather than COLLATE.
14334         (ELCFILES): Update, via `make update-elclist'.
14336 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
14338         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
14339         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
14340         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
14342 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
14344         * Makefile.in (lisptagsfiles3): Define.
14345         (TAGS, TAGS-LISP): Use it.
14346         (update-elclist): Add third directory level to look for elc files.
14347         (compile-always): Likewise.
14348         (backup-compiled-files): Likewise.
14349         (bootstrap-clean): Likewise.
14350         (ELCFILES): Update.
14352 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
14354         * Makefile.in (ELCFILES): Add CEDET files.
14356 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
14358         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
14360         * net/tramp.el (top): Require tramp-imap.
14362         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
14363         Use `tramp-compat-handle-file-attributes'.
14365 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
14367         * net/tramp-imap.el: New package.
14369 2009-09-28  Eric Ludlam  <zappo@gnu.org>
14371         * emacs-lisp/chart.el:
14372         * emacs-lisp/eieio-base.el:
14373         * emacs-lisp/eieio-comp.el:
14374         * emacs-lisp/eieio-custom.el:
14375         * emacs-lisp/eieio-datadebug.el:
14376         * emacs-lisp/eieio-opt.el:
14377         * emacs-lisp/eieio-speedbar.el:
14378         * emacs-lisp/eieio.el: New files.
14380 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14382         * whitespace.el (whitespace-trailing-regexp)
14383         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
14384         Fix doc string.
14386 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
14388         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
14389         menu.
14391         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
14392         menu-bar-ediff-menu.
14394         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
14395         define-overloadable-function.
14397         * progmodes/autoconf.el: Provide autoconf as well, so that this
14398         file can be `require'd.
14400         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
14402         * emacs-lisp/autoload.el (generated-autoload-feature)
14403         (generated-autoload-load-name): New vars.
14404         (autoload-rubric, autoload-generate-file-autoloads): Use them.
14405         (make-autoload): Recognize define-overloadable-function and
14406         defclass forms (for EIEIO).
14408         * Makefile.in (update-subdirs): Exclude cedet directory.
14410 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
14412         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
14414         * faces.el: Default light-background background for region face to
14415         ns_selection_color under NS.
14417 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
14419         * net/imap-hash.el: New library, see NEWS.
14421         * Makefile.in (ELCFILES): Add imap-hash.el.
14423 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14425         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
14426         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
14427         * help-macro.el (make-help-screen): Avoid using an ambiguous function
14428         definition where the docstring could be taken for the return value.
14430 2009-09-26  Glenn Morris  <rgm@gnu.org>
14432         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
14433         Add option to only show images below a certain size.
14434         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
14435         save-excursion calls.
14437 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
14439         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
14440         subdirectories) and eieio.
14442 2009-09-26  Alan Mackenzie  <acm@muc.de>
14444         * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
14445         buggy bracketing.  (Bug#4289)
14447         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
14448         character constants (as case labels).  (Bug#4289)
14450 2009-09-25  Juri Linkov  <juri@jurta.org>
14452         * files.el (safe-local-eval-forms): Allow time-stamp in
14453         before-save-hook (Bug#4554).
14455 2009-09-25  Drew Adams  <drew.adams@oracle.com>
14457         * menu-bar.el (list-buffers-directory): Doc fix.
14459 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14461         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
14462         Try and avoid copying twice the same paragraph.
14463         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
14464         Remove save-excursion.
14465         (log-edit-changelog-entry): Do it here instead.
14467 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
14469         * bs.el (bs--get-file-name): Use `list-buffers-directory'
14470         when available, instead of hardcoding mode names.  Doc fix.
14472         * menu-bar.el (list-buffers-directory): Add docstring.
14473         Make automatically buffer-local.
14475         * dired.el (dired-mode):
14476         * files.el (cd-absolute):
14477         * pcvs.el (cvs-temp-buffer):
14478         * pcvs-util.el (cvs-get-buffer-create):
14479         * shell.el (shell-mode):
14480         * vc-dir.el (vc-dir-mode):
14481         Don't make `list-buffers-directory' buffer local.
14483 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
14485         * comint.el (comint-exec, comint-run, make-comint):
14486         Doc fixes (Bug#4542).
14488 2009-09-25  Glenn Morris  <rgm@gnu.org>
14490         * mail/rmailmm.el (rmail-mime): New custom group.
14491         Move all defcustoms in this file into this group.
14492         (rmail-mime-media-type-handlers-alist): Revert previous change.
14493         (rmail-mime-show-images): New option.
14494         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
14495         references to it, since it wasn't actually used for anything.
14496         (rmail-mime-insert-image): New function.
14497         (rmail-mime-image): Use rmail-mime-insert-image.
14498         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
14499         obey the value of `rmail-mime-show-images' option.  Print the size of
14500         attachments.
14502 2009-09-25  David Engster  <deng@randomsample.de>
14504         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
14506 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14508         * whitespace.el: Does not highlight trailing spaces While point is
14509         at end of line.  Does not highligt spaces at beginning of buffer
14510         while point is at beginning of buffer.  Does not highlight spaces
14511         at end of buffer while point is at end of buffer.  (Bug#4177)
14512         New version 12.0.
14513         (whitespace-display-mappings): Adjust initialization.
14514         (whitespace-point, whitespace-font-lock-refontify): New vars.
14515         (whitespace-color-on, whitespace-color-off): Adjust code.
14516         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
14517         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
14518         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
14520 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
14522         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
14524         * textmodes/sgml-mode.el: Remove xml-mode alias.
14526         * files.el (auto-mode-alist, conf-mode-maybe)
14527         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
14529 2009-09-24  Alan Mackenzie  <acm@muc.de>
14531         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
14532         c-forward-conditionals, but it doesn't move point and doesn't set
14533         the mark.
14534         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
14535         (c-down-conditional-with-else, c-backward-conditional)
14536         (c-forward-conditional): Refactor to use c-scan-conditionals.
14538 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
14540         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
14541         (help-default-arg-highlight): Remove.
14542         (help-highlight-arg): New function.
14543         (help-do-arg-highlight): Use it.
14544         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
14546 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14548         * term.el (term-set-scroll-region, term-handle-ansi-escape):
14549         Undo last change, which didn't fix the problem and introduced others.
14551 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
14553         * progmodes/gdb-mi.el: Don't require speedbar.
14554         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
14556 2009-09-24  Glenn Morris  <rgm@gnu.org>
14558         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
14560         * term/ns-win.el (ns-reg-to-script): Define for compiler.
14562         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
14563         there is no newline after the final mime boundary.  (Bug#4539)
14564         Move markers on insertion so that any buttons inserted don't end up in
14565         the next part of a multipart message.
14566         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
14567         (rmail-mime-bulk-handler): Optionally handle images.
14568         (rmail-mime-image): New button action.
14569         (rmail-mime-image-handler): New function.
14570         (rmail-mime-mode): New mode.
14571         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
14573 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14575         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
14576         than just dropping elements from it (bug#4504).
14578         * term.el (term-set-scroll-region): Don't move cursor any more.
14579         (term-handle-ansi-escape): Call term-goto here instead.
14580         Suggested by Ivan Kanis <apple@kanis.eu>.
14582         * term.el: Require CL.
14583         (term-ansi-reset): New function.
14584         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
14585         (term-handle-colors-array): Simplify.
14587 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
14589         * allout.el (allout-overlay-interior-modification-handler)
14590         (allout-obtain-passphrase):
14591         * epa-file.el (epa-file-write-region):
14592         * ps-print.el (ps-begin-job):
14593         * vc-hooks.el (vc-toggle-read-only):
14594         * vc-rcs.el (vc-rcs-rollback):
14595         * vc-sccs.el (vc-sccs-rollback):
14596         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
14597         (vc-version-diff, vc-revert, vc-rollback):
14598         * wdired.el (wdired-check-kill-buffer):
14599         * emacs-lisp/authors.el (authors):
14600         * net/socks.el (socks-open-connection):
14601         * net/zeroconf.el (zeroconf-service-add-hook):
14602         * obsolete/vc-mcvs.el (vc-mcvs-register):
14603         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
14604         (gdb-select-frame):
14605         * progmodes/grep.el (lgrep, rgrep):
14606         * progmodes/idlw-help.el (idlwave-help-check-locations)
14607         (idlwave-help-html-link, idlwave-help-assistant-open-link):
14608         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
14609         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
14610         (reftex-toc-rename-label): Fix typos in error messages.
14612         * dired-aux.el (dired-do-shell-command): Reflow docstring.
14613         (dired-copy-how-to-fn): Doc fix.
14614         (dired-files-attributes, dired-read-shell-command):
14615         Fix typos in docstrings.
14617         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
14618         (dired-x-find-file-other-window): Reflow docstrings.
14619         (dired-omit-marker-char, dired-read-shell-command)
14620         (dired-x-submit-report): Fix typos in docstrings.
14622         * shell.el (shell-mode-hook):
14623         * view.el (View-scroll-line-forward):
14624         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
14625         Fix typos in docstrings.
14627         * net/dig.el (dig-invoke): Fix typo in docstring.
14628         (query-dig): Reflow docstring.
14630         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
14631         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
14632         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
14633         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
14634         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
14635         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
14636         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
14637         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
14638         (idlwave-completion-map, idlwave-current-indent)
14639         (idlwave-custom-ampersand-surround, idlwave-customize)
14640         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
14641         (idlwave-define-abbrev, idlwave-determine-class-special)
14642         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
14643         (idlwave-end-block-reg, idlwave-end-of-statement)
14644         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
14645         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
14646         (idlwave-explicit-class-listed, idlwave-file-header)
14647         (idlwave-fill-paragraph, idlwave-find-class-definition)
14648         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
14649         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
14650         (idlwave-in-quote, idlwave-indent-action-table)
14651         (idlwave-indent-expand-table, idlwave-indent-line)
14652         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
14653         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
14654         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
14655         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
14656         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
14657         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
14658         (idlwave-outlawed-buffers, idlwave-popup-select)
14659         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
14660         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
14661         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
14662         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
14663         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
14664         (idlwave-statement-type, idlwave-struct-skip)
14665         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
14666         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
14667         (idlwave-what-module-find-class): Fix typos in docstrings.
14668         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
14669         (idlwave-calculate-cont-indent, idlwave-expand-equal)
14670         (idlwave-find-module, idlwave-find-structure-definition)
14671         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
14672         (idlwave-list-load-path-shadows, idlwave-next-statement)
14673         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
14674         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
14675         (idlwave-template): Reflow docstrings.
14677         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
14678         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
14679         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
14680         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
14681         (idlwave-shell-display-line, idlwave-shell-display-wframe)
14682         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
14683         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
14684         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
14685         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
14686         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
14687         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
14688         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
14689         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
14690         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
14691         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
14692         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
14693         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
14694         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
14695         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
14696         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
14697         Fix typos in docstrings.
14698         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
14699         (idlwave-shell-hide-output, idlwave-shell-mode)
14700         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
14701         Reflow docstrings.
14703         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
14705 2009-09-24  Ivan Kanis  <apple@kanis.eu>
14707         * term.el (term-bold-attribute): New var.
14708         (term-handle-colors-array): Use it.
14710 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
14712         * progmodes/gdb-mi.el (gdb-version): New variable.
14713         (gdb-non-stop-handler): Set gdb-version.
14714         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
14715         Condition "--thread" option on gdb-version.
14716         (gdb-invalidate-threads): Remove unused argument.
14718 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14720         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
14721         to looking-back to avoid ridiculous slow down in large files (bug#4511).
14723 2009-09-23  Glenn Morris  <rgm@gnu.org>
14725         * mail/rmail.el (rmail-reply): Don't try to add a References header when
14726         replying to mail without References or Message-Id.  (Bug#4525)
14728 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
14730         * term/ns-win.el (ns-reg-to-script): New variable.
14732 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
14734         * epg.el (epg-wait-for-status): Preserve existing 'error results.
14736 2009-09-22  Sam Steingold  <sds@gnu.org>
14738         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
14739         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
14740         to 1 because hg returns status 1 when nothing is found.
14741         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
14743 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
14745         * textmodes/fill.el: Convert to utf-8 encoding.
14746         (fill-french-nobreak-p): Remove redundant » and « inherited from our
14747         pre-Unicode days.
14749         * add-log.el (change-log-fill-forward-paragraph): New function.
14750         (change-log-mode): Use it so fill-region DTRT.
14751         Set fill-indent-according-to-mode here rather than in
14752         change-log-fill-paragraph.
14753         (change-log-fill-paragraph): Remove.
14755 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
14757         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
14758         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
14760 2009-09-22  Glenn Morris  <rgm@gnu.org>
14762         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
14763         the scroll-bar scroll the calendar window rather than the buffer.
14765         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
14766         commands that move point (as opposed to scrolling).
14768         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
14770         * emacs-lisp/elint.el (elint): New custom group.
14771         (elint-log-buffer): Make it a defcustom.
14772         (elint-scan-preloaded, elint-ignored-warnings)
14773         (elint-directory-skip-re): New options.
14774         (elint-builtin-variables): Doc fix.
14775         (elint-preloaded-env): New variable.
14776         (elint-unknown-builtin-args): Add an entry for encode-time.
14777         (elint-extra-errors): Make it a variable rather than a constant.
14778         (elint-preloaded-skip-re): New constant.
14779         (elint-directory): Skip files matching elint-directory-skip-re.
14780         (elint-features): New variable, local to linted buffers.
14781         (elint-update-env): Initialize elint-features.  Possibly add
14782         elint-preloaded-env to the buffer's environment.
14783         (elint-get-top-forms): Bind elint-current-pos, for log messages.
14784         Skip quoted forms.
14785         (elint-init-form): New function, extracted from elint-init-env.
14786         Make non-list forms a warning rather than an error.
14787         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
14788         easy-menu-define, put that adds an error-condition, and provide.
14789         When requiring cl, also require cl-macs.  Really require cl, to handle
14790         some cl macros.  Store required libraries in the list elint-features,
14791         so as not to re-load them.  Treat cc-require like require.
14792         (elint-init-env): Call elint-init-form to do the work.
14793         Handle eval-and-compile and such like.
14794         (elint-add-required-env): Do not clear messages.
14795         (elint-special-forms): Add handlers for function, defalias, if, when,
14796         unless, and, or.
14797         (elint-form): Add optional argument to ignore elint-special-forms,
14798         useful to prevent recursive calls from handlers.  Doc fix.
14799         Respect elint-ignored-warnings.
14800         (elint-form): Respect elint-ignored-warnings.
14801         (elint-bound-variable, elint-bound-function): New variables.
14802         (elint-unbound-variable): Respect elint-bound-variable.
14803         (elint-get-args): Respect elint-bound-function.
14804         (elint-check-cond-form): Add some simple handling for (f)boundp and
14805         featurep tests.
14806         (elint-check-defalias-form): New handler.
14807         (elint-check-let-form): Make an empty let a warning rather than an
14808         error.
14809         (elint-check-setq-form): Make an empty setq a warning rather than an
14810         error.  Respect elint-ignored-warnings.
14811         (elint-check-defvar-form): Accept null doc-strings.
14812         (elint-check-conditional-form): New handler.  Does some simple-minded
14813         checking of featurep and (f)boundp tests.
14814         (elint-put-function-args): New function.
14815         (elint-initialize): Use elint-scan-doc-file rather than
14816         elint-find-builtin-variables.  Use elint-put-function-args.
14817         Possibly scan preloaded-file-list.
14818         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
14819         extend to handle functions as well.
14821 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
14823         * linum.el (linum-delete-overlays, linum-update-window):
14824         Do not modify the right margin.  (Bug#3971)
14826 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
14828         * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
14829         nxml-mode instead of xml-mode.
14831 2009-09-21  Kevin Ryde  <user42@zip.com.au>
14833         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
14835 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14837         * net/dig.el (dig-mode): Use define-derived-mode.
14839 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
14841         * vc-dispatcher.el (vc-do-command): Return the process object in
14842         the asynchronous case.  Use when instead of if.  Do not run
14843         vc-exec-after to display a message if not enabled.  (Bug#4463)
14845         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
14846         properties to the stash strings.
14847         (vc-git-stash-list): Return a list of strings.
14848         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
14849         (vc-git-stash-show-at-point): New functions.
14850         (vc-git-stash-map): New keymap.
14852         * register.el (ctl-x-r-map): Define the keys here instead of
14853         using autoload.
14855 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
14857         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
14858         list, to workaround performance problem (bug#4485).
14860 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
14862         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
14864 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
14866         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
14867         Document that this option is not recommended to use.
14869 2009-09-19  Glenn Morris  <rgm@gnu.org>
14871         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
14872         variable `var'.
14874         * calc/calc-alg.el (var):
14875         * calc/calcalg2.el (var): Define for compiler.
14877 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
14879         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
14880         Doc fix (Bug#3932).
14882         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
14884         * time-stamp.el (time-stamp-month-dd-yyyy)
14885         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
14886         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
14887         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
14888         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
14889         Remove functions that have been obsolete since 1995 (Bug#4436).
14891         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
14892         indent buffer only if called interactively (Bug#4452).
14894 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
14895             Eli Zaretskii  <eliz@gnu.org>
14897         This fixes bug#4197 (merged to bug#865, though not identical).
14898         * server.el (server-auth-dir): Add docstring note about FAT32.
14899         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
14900         but warn against using them.
14902 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
14904         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
14905         older GDB where there is no has_more field.
14907 2009-09-19  Glenn Morris  <rgm@gnu.org>
14909         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
14911 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
14913         * files.el (auto-mode-alist): Change default for XML files to nXML
14914         mode (Bug#4169).
14916 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
14918         * server.el (server-ensure-safe-dir): Pass 'integer
14919         to `file-attributes', as suggested.
14921 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14923         * dired-aux.el (dired-query-alist): Remove spurious backslash.
14924         (dired-query): Use read-key.
14926 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
14928         * cus-start.el (ns-use-qd-smoothing): Remove.
14930 2009-09-18  Glenn Morris  <rgm@gnu.org>
14932         * allout.el (top-level): Remove unnecessary progn.
14934         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
14936         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
14937         definition of abbrev table.
14939         * speedbar.el (speedbar-track-mouse):
14940         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
14941         * net/eudc.el (eudc-expand-inline):
14942         * net/newst-backend.el (newsticker--cache-read-feed):
14943         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
14944         condition-case handlers.
14946 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
14948         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
14949         (gdb-var-list): Add an element for has_more field.
14950         (gdb-non-stop-handler): Enable pretty printing for STL containers.
14951         (gdb-var-create-handler, gdb-var-list-children-handler-1)
14952         (gdb-var-update-handler-1): Parse output of dynamic variable
14953         objects (STL containers).
14954         (gdb-var-delete-1): Pass var1 as an explicit second argument.
14955         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
14957         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
14958         gdb-var-list.
14959         (gud-speedbar-buttons): Make node expandable if expression "has more"
14960         children.
14962 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
14964         * startup.el (emacs-quick-startup): Remove variable and all uses.
14965         (command-line): Set `inhibit-x-resources' instead.
14966         (command-line-1): Use `inhibit-x-resources' instead.
14968 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
14970         * subr.el: Fix last change to avoid using the `unless' macro,
14971         which breaks bootstrapping.
14973 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14975         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
14976         extended definitions, in case we reload subr.el after having
14977         loaded CL.
14978         (eval-next-after-load): Mark as obsolete.
14980 2009-09-17  Juri Linkov  <juri@jurta.org>
14982         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
14983         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
14984         (menu-bar-showhide-menu, menu-bar-tools-menu)
14985         (menu-bar-describe-menu, menu-bar-help-menu)
14986         (minibuffer-local-completion-map, minibuffer-local-map):
14987         Fix list quoting.
14989 2009-09-17  Glenn Morris  <rgm@gnu.org>
14991         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
14992         arguments, whether or not it has a handler.
14994         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
14996         * simple.el (hard-newline): Give it a doc-string.
14998         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
14999         (lisp-mode-syntax-table): Give them doc-strings.
15001 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
15003         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
15004         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
15005         (menu-bar-options-menu, menu-bar-showhide-menu)
15006         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
15007         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
15008         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
15009         (menu-bar-options-menu, menu-bar-tools-menu)
15010         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
15011         (menu-bar-help-menu):
15012         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
15013         string arguments.
15015         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
15016         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
15017         calls for the menu names and :help.
15019 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15021         * mouse.el (minor-mode-menu-from-indicator): Pay attention
15022         to :minor-mode-function (bug#4455).
15024 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15026         * startup.el (command-line): Initialize the window-system after
15027         processing the command-line.
15029         * textmodes/page.el (what-page): Make sure we don't inf-loop if
15030         page-delimiter matches the empty string.
15032 2009-09-16  Glenn Morris  <rgm@gnu.org>
15034         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
15035         byte-compile-not-obsolete-var.  It's a list now.
15036         (byte-compile-not-obsolete-funcs): New variable.
15037         (byte-compile-warn-obsolete): Don't warn about functions if they are in
15038         byte-compile-not-obsolete-funcs.
15039         (byte-compile-variable-ref, byte-compile-defvar): Update for
15040         byte-compile-not-obsolete-vars name-change and list nature.
15041         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
15042         and variables behind (f)boundp tests.
15043         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
15045 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
15047         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
15049 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15051         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
15052         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
15053         Don't autoload.
15055 2009-09-15  Stephen Eglen  <stephen@gnu.org>
15057         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
15058         the virtual-buffers, use the name of the buffer specified by
15059         find-file-noselect, as the match may be a symlink.  (This was a
15060         problem if the target and the symlink had different names.)
15062 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15064         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
15066         * desktop.el (desktop-path): Check user-emacs-directory.
15068         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
15070         * loadup.el: Use after-load-functions to GC after loading each file.
15071         Remove the explicit GC calls that used to be sprinkled around.
15073         * subr.el (after-load-functions): New hook.
15074         (do-after-load-evaluation): Run it.  Use string-match-p to detect
15075         `obsolete' packages, rather than painfully extracting the relevant
15076         directory name.
15078 2009-09-15  Glenn Morris  <rgm@gnu.org>
15080         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
15081         free variable `doc'.
15083         * dired.el (dired-mode-map): Add menu entry for async shell command.
15085         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
15086         variables, also consider the .elc files, since the .el files are
15087         normally gzipped (subsequent code locates the .el.gz from the .elc).
15089         * calc/calc-prog.el (arglist): Define for compiler.
15091         * calendar/diary-lib.el (diary-display-function): Change the default to
15092         fancy display.
15093         (body): Define for compiler.
15095         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
15096         (byte-compile-file-form, byte-compile-lambda)
15097         (byte-compile-top-level-body, byte-compile-form)
15098         (byte-compile-variable-ref, byte-compile-setq)
15099         (byte-compile-setq-default, byte-compile-body)
15100         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
15101         (batch-byte-compile): Give some more local variables with common names
15102         a "bytecomp-" prefix to avoid masking warnings about free variables.
15104         * startup.el (command-line-1): Give local variables with common names a
15105         distinguishing prefix, so as not to hide free variable warnings during
15106         bootstrap.
15108         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
15109         clever and add a suffix to make a unique name, just let the user decide
15110         whether or not to overwrite it.  If the input is a directory, write the
15111         default filename to that directory.  (Bug#4388)
15112         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
15113         is a filename-as-a-directory.
15115 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15117         * textmodes/page.el (what-page): Don't move to beginning of line.
15118         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
15120 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
15122         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
15124 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
15126         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
15127         * help.el (help-for-help-internal): Add purecopy calls for text.
15129         * vc.el (top): print-log method now takes an optional SHORTLOG
15130         argument.  Add a new method: root.
15131         (vc-root-diff, vc-print-root-log): New functions.
15132         (vc-log-short-style): New variable.
15133         (vc-print-log-internal): Add support for showing short logs.
15135         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
15136         vc-print-root-log and vc-print-root-diff.
15138         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
15139         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
15140         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
15141         short logs.
15143         * vc-cvs.el (vc-cvs-print-log):
15144         * vc-mtn.el (vc-mtn-print-log):
15145         * vc-rcs.el (vc-rcs-print-log):
15146         * vc-sccs.el (vc-sccs-print-log):
15147         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
15148         that is ignored for now.
15150         * vc-mtn.el (vc-mtn-annotate-command):
15151         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
15153 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
15155         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
15156         to function-key-map, and give them ascii-character property.
15157         * term/x-win.el (x-alternatives-map):
15158         * term/ns-win.el (ns-alternatives-map):
15159         * term/internal.el (msdos-key-remapping-map):
15160         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
15162 2009-09-14  Glenn Morris  <rgm@gnu.org>
15164         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
15165         temp-buffers (2009-09-12).
15167 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15169         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
15170         the new read-key function.
15172 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
15174         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
15175         is defined (Bug#4405).
15177 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
15179         * recentf.el (recentf-cleanup): Use a hash table to find
15180         duplicates (Bug#4407).
15182 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
15184         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
15185         kp-0 to ascii equivalents (Bug#4325).
15187 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
15189         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
15191         * eshell/em-hist.el:
15192         * eshell/em-dirs.el (eshell-complete-user-reference):
15193         Declare pcomplete functions and variables to avoid compiler warnings.
15195 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
15197         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
15198         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
15199         * eshell/em-alias.el (eshell-aliases-file):
15200         * eshell/em-hist.el (eshell-history-file-name):
15201         Use expand-file-name instead of concat to make file names (Bug#4308).
15203 2009-09-13  Glenn Morris  <rgm@gnu.org>
15205         * ediff-merg.el (ediff-do-merge):
15206         * filesets.el (filesets-run-cmd):
15207         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
15208         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
15209         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
15210         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
15211         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
15212         Replace empty `let's with `progn'.
15214 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15216         * mail/sendmail.el (send-mail-function):
15217         * tooltip.el (tooltip-mode):
15218         * simple.el (transient-mark-mode):
15219         * rfn-eshadow.el (file-name-shadow-mode):
15220         * frame.el (blink-cursor-mode):
15221         * font-core.el (global-font-lock-mode):
15222         * files.el (temporary-file-directory)
15223         (small-temporary-file-directory, auto-save-file-name-transforms):
15224         * epa-hook.el (auto-encryption-mode):
15225         * composite.el (global-auto-composition-mode):
15226         Use custom-initialize-delay.
15227         * startup.el (command-line): Don't explicitly call
15228         custom-reevaluate-setting for all the above vars.
15229         * custom.el (custom-initialize-safe-set)
15230         (custom-initialize-safe-default): Delete.
15232 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15234         * term/x-win.el (x-initialize-window-system):
15235         * term/w32-win.el (w32-initialize-window-system):
15236         * term/ns-win.el (ns-initialize-window-system): Don't call
15237         mouse-wheel-mode since it's enabled globally by default already.
15239         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
15240         actually define the variable, but only silences the byte-compiler.
15241         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
15242         before looking it up.
15243         (mouse-wheel-scroll-amount): Also reset the bindings if this value
15244         is changed.
15246 2009-09-12  Glenn Morris  <rgm@gnu.org>
15248         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
15249         1000.
15250         (elint-add-required-env): Don't beep on error.
15251         (elint-forms): In case of error, return ENV unchanged.
15252         (elint-init-env): Skip non-list forms.
15253         (elint-log): Handle unknown file positions.
15255 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
15257         * epg.el (epg-make-context): Add autoload cookie.
15258         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
15259         (epg-decrypt-string, epg-start-verify, epg-verify-file)
15260         (epg-verify-string, epg-start-sign, epg-sign-file)
15261         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
15262         (epg-encrypt-string, epg-start-export-keys)
15263         (epg-export-keys-to-file, epg-export-keys-to-string)
15264         (epg-start-import-keys, epg-import-keys-from-file)
15265         (epg-import-keys-from-string, epg-start-receive-keys)
15266         (epg-receive-keys, epg-import-keys-from-server)
15267         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
15268         (epg-sign-keys, epg-start-generate-key)
15269         (epg-generate-key-from-file, epg-generate-key-from-string):
15270         Remove autoload cookie.
15272 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
15274         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
15275         reevaluation of trash-directory.
15277         * mwheel.el: Fix last change.
15278         (mouse-wheel-mode): New defvar.
15279         (mouse-wheel-mode): Remove autoload cookie.
15281 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15283         * mwheel.el (mwheel-installed-bindings): New var.
15284         (mouse-wheel-mode): Use it, so as to make sure we really remove all
15285         the bindings we set last time.  Use custom-initialize-delay.
15286         * loadup.el: Load mwheel after term/*-win.el.
15287         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
15288         and mouse-wheel-up-event now that their first evaluation is done
15289         sufficiently late to be correct.
15291         * startup.el (tutorial-directory): Make it a defcustom.
15292         Use custom-initialize-delay rather than eval-at-startup to set it.
15293         * image.el (image-load-path): Make it a defcustom.
15294         Use custom-initialize-delay rather than eval-at-startup to set it.
15295         * subr.el (eval-at-startup): Remove.
15296         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
15298         * subr.el (do-after-load-evaluation): Warn the user after loading an
15299         obsolete package.
15301 2009-09-12  Glenn Morris  <rgm@gnu.org>
15303         * proced.el (proced-mark-alt): Remove alias.
15304         (proced-mode-map): Remove proced-mark-alt.
15306         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
15307         Elint file and directory.  Remove initialization entry.
15309         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
15310         commands.
15311         (elint-current-buffer): Set mode-line-process.
15312         (elint-init-env): Handle define-derived-mode.
15313         Fix declare-function with unspecified arglist.  Guard against odd
15314         defalias statements (eg iso-insert's 8859-1-map).
15315         (elint-add-required-env): Use a temp buffer.
15316         (elint-form): Just print the function/macro name, not the whole form.
15317         Return env unchanged if we fail to parse a macro.
15318         (elint-forms): Guard against parse errors.
15319         (elint-output): New function, to handle batch mode.
15320         (elint-log-message): Add optional argument.  Use elint-output.
15321         (elint-set-mode-line): New function.
15323 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
15325         * emacs-lisp/elp.el (elp-not-profilable): Add more
15326         functions (Bug#4233).
15328 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
15330         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
15331         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
15333 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
15335         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
15336         (gdb-var-list-children): Use json parsing.
15338 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
15340         * progmodes/js.el (js--proper-indentation): Handle the case where
15341         char-before is null.  Reported by Deniz Dogan.
15343 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
15345         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
15347 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
15349         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
15350         (epg-digest-algorithm-alist): Add SHA224.
15351         (epg-context-set-passphrase-callback)
15352         (epg-context-set-progress-callback): Add description about
15353         callback function.
15355 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15357         * custom.el (custom-delayed-init-variables): New var.
15358         (custom-initialize-delay): New function.
15359         * startup.el (command-line): "Re"evaluate all vars in
15360         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
15361         explicitly any more.
15362         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
15363         to avoid creating a ~/.emacs.d at build-time (bug#4347).
15365         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
15367 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
15369         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
15370         (gdb-var-update-handler): Use json parsing.
15372 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
15374         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
15375         decode annotated text, regardless of language environment.  (Bug#2741)
15377 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15379         * Makefile.in (autoloads): Make rmail.el writable as well.
15381 2009-09-11  Glenn Morris  <rgm@gnu.org>
15383         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
15384         loaddefs.el.
15385         * dired.el: Regenerate with extracted autoloads.
15386         * Makefile.in (autoloads): Make dired.el writable.
15388         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
15389         * ibuffer.el: Regenerate with extracted autoloads.
15390         * Makefile.in (autoloads): Make ibuffer.el writable.
15392         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
15393         * version.el (emacs-copyright, emacs-major-version)
15394         (emacs-minor-version): Reformat doc-strings for make-docfile.
15396         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
15397         functions and variables, since they must be stuff specific to some other
15398         platform.
15399         (apropos-print): Make mouse-click message less specific about button.
15401         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
15402         that records where a macro was defined.
15403         * help-fns.el (describe-function-1): Mention if a function has a
15404         compiler-macro.
15405         * help-mode.el (help-function-cmacro): New button.
15407         * locate.el (top-level): Always require dired.
15408         (locate-mode-map): Initialize inside the defvar.
15410         * net/ange-ftp.el (dired-compress-file): Declare.
15411         (ange-ftp-dired-compress-file): Add doc string.
15413         * term/ns-win.el (x-display-name, x-setup-function-keys):
15414         Unify doc-strings with X versions.
15416 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15418         * emulation/crisp.el (crisp-mode-map): Move initialization
15419         into declaration.
15420         (crisp-mode): Use define-minor-mode.
15422         * progmodes/xscheme.el (xscheme-evaluation-commands):
15423         Put a :advertised-binding property rather than using
15424         advertised-xscheme-send-previous-expression.
15425         (advertised-xscheme-send-previous-expression): Declare obsolete.
15426         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
15427         `advertised-undo'.
15428         (crisp-mode): Add corresponding bindings to
15429         undo's :advertised-binding instead.
15430         * dired.el (dired-mode-map): Put a :advertised-binding property rather
15431         than using dired-advertised-find-file.
15432         (dired-advertised-find-file):
15433         * simple.el (advertised-undo):
15434         * wid-edit.el (advertised-widget-backward): Declare obsolete.
15435         (widget-keymap): Put a :advertised-binding property rather
15436         than using advertised-widget-backward.
15437         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
15438         than using advertised-undo.
15439         * tutorial.el (tutorial--default-keys): Adjust accordingly.
15441 2009-09-10  Simon South  <ssouth@slowcomputing.org>
15443         * progmodes/delphi.el (delphi-tab): Indent region when Transient
15444         Mark mode is enabled and region is active; otherwise indent or
15445         insert TAB as usual.
15446         (delphi-mode): Update description of TAB-key binding.
15448 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
15450         * subr.el (define-key-rebound-commands): Mark obsolete.
15451         * startup.el (precompute-menubar-bindings): Remove.
15452         (normal-top-level): Remove obsolete code that tried to precompute
15453         menubar bindings.
15454         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
15455         define-key-rebound-commands and precompute-menubar-bindings.
15457 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
15459         * net/imap.el (imap-interactive-login): Better messages.
15460         (imap-open): Fix bug with renamed buffer on reconnect.
15461         (imap-authenticate): Add buffer-local imap-last-authenticator variable
15462         for easier debugging and cleaner code.  On successful (guessed based on
15463         server capabilities) secondary authentication, set imap-state
15464         correctly.
15465         (imap-last-authenticator): Define imap-last-authenticator as a variable
15466         to avoid warnings.
15468 2009-09-10  Glenn Morris  <rgm@gnu.org>
15470         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
15472         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
15473         (byte-compile-file-form-autoload): Don't warn about unknown functions
15474         where the autoload statement comes after the use.
15475         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
15476         that any handlers inside the body (eg require) are in turn respected.
15478         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
15479         effects.
15481         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
15482         and syntax and abbrev tables basic docs, if they don't have any.
15484         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
15486         * international/mule-cmds.el (top-level): Require cl when compiling.
15487         (view-hello-file): Use default-value rather than
15488         default-enable-multibyte-characters.
15490         * progmodes/fortran.el: Move all safe and risky properties into the
15491         defcustoms.
15493         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
15494         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
15495         * mail/undigest.el:
15496         Put autoloads in rmail.el rather than loaddefs.el.
15497         * mail/rmail.el: Regenerate with extracted autoloads.
15499         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
15500         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
15502 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
15504         Reported in thread for Bug#4375.
15505         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
15506         "-data-evaluate-expression" instead of print.
15507         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
15508         (gdb-tooltip-print): Parse output from above MI command.
15509         (gdb): Revert 2009-08-11 change.  User should detach inferior
15510         manually.
15512         Remove the word "separate" from IO functions as inferior
15513         output is now never displayed in the GUD buffer.
15515 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
15517         * startup.el (command-line-normalize-file-name): On Windows and
15518         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
15520 2009-09-10  Juri Linkov  <juri@jurta.org>
15522         * isearch.el (isearch-text-char-description): Propertize escape
15523         character sequences with the `escape-glyph' face.  (Bug#4344)
15525         * simple.el (shell-command): Set asynchronous process filter to
15526         `comint-output-filter'.  (Bug#4343)
15528         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
15529         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
15530         the list.  Move "asm" to the bottom.
15531         (grep-find-ignored-directories): Add `choice' with nil value
15532         to empty the list easily.
15533         (grep-find-ignored-files): New option.
15534         (grep-files-history): Set to nil by default instead of '("ch" "el").
15535         (grep-compute-defaults): Add "<X>" to `grep-template'.
15536         (grep-read-files): Bind new local variables `default-alias' and
15537         `default-extension'.  Use a list of default values for the file prompt.
15538         (lgrep): Add `--exclude=' command line options composed from
15539         `grep-find-ignored-files'.
15540         (rgrep): Add `-name' command line options composed from
15541         `grep-find-ignored-files'.  (Bug#4301)
15543 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
15545         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
15546         (bug#4368).
15548 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
15550         * calendar/time-date.el (autoload):
15551         Expand define-obsolete-function-alias into defalias and make-obsolete
15552         for old Emacsen that Gnus supports.
15553         (with-no-warnings): Define it for old Emacsen.
15554         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
15555         is available.
15556         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
15557         float-time is available; suppress compile warning for time-to-seconds.
15559 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
15561         * net/imap.el (imap-message-map): Docstring fix.
15563 2009-09-09  Glenn Morris  <rgm@gnu.org>
15565         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
15566         line numbers too.  (Bug#4374)
15568 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15570         * smerge-mode.el (smerge-remove-props, smerge-refine):
15571         Use with-silent-modifications (bug#4342).
15573         * subr.el (with-silent-modifications): New macro.
15575 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
15577         * files.el (top-level): Require `cl' when compiling.
15579 2009-09-07  Glenn Morris  <rgm@gnu.org>
15581         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
15583         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
15584         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
15586 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
15588         * vc-git.el (vc-git-annotate-command): Use separator to parse
15589         arguments correctly.
15591 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
15593         * proced.el (proced-mode): Doc fix.
15595 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
15597         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
15598         lstat fails.
15599         (tramp-do-file-attributes-with-ls): Check for file existence at
15600         remote end.
15601         (tramp-do-file-attributes-with-stat): Likewise.
15602         (tramp-convert-file-attributes): Return nil when attr is nil.
15604 2009-09-05  Glenn Morris  <rgm@gnu.org>
15606         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
15607         properties to this button.
15608         (diary-fancy-display): Don't extend the button to the final newline.
15609         (diary-fancy-display-mode): Continue to define "q" as a local key.
15611         * calendar/cal-china.el (holiday-chinese): Make it slightly more
15612         efficient.
15614         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
15616         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
15617         (byte-compile-dest-file-function): New option.
15618         (byte-compile-dest-file): Doc fix.
15619         Obey byte-compile-dest-file-function.
15620         (byte-compile-cl-file-p): New function.
15621         (byte-compile-eval): Only suppress noruntime warnings about cl functions
15622         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
15623         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
15624         than for file being previously loaded.
15625         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
15626         (byte-compile-file-form-require): Handle the case where requiring a file
15627         indirectly causes CL to be loaded.
15629 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
15631         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
15632         before killing the old buffer, since by the time `kill-buffer' is
15633         run so many buffer variables have been set to nil that it may not
15634         behave as expected.  (Bug#4061)
15636 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
15638         * files.el (find-alternate-file): If the old buffer is modified
15639         and visiting a file, behave similarly to `kill-buffer' when
15640         killing it, thus reverting to the pre-1.878 behavior; see
15641         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
15642         for discussion.  Also, consult `buffer-file-name' as a variable
15643         not as a function, for consistency with the rest of the code.
15645 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
15647         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
15648         also when adding a new directory.
15650         * net/tramp-compat.el (tramp-compat-line-beginning-position): New
15651         defun.
15653 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15655         * files.el (locate-file-completion-table): Make it provide boundary
15656         information, so partial-completion works better.
15658 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
15660         * mail/footnote.el (Footnote-text-under-cursor):
15661         Check footnote-text-marker-alist before using it (bug#4324).
15663 2009-09-04  Glenn Morris  <rgm@gnu.org>
15665         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
15666         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
15667         * play/solitaire.el, play/tetris.el:
15668         Remove leading * from defcustom and defface docs.
15670         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
15671         necessary.
15672         (diary-fancy-overriding-map): New variable.
15673         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
15674         Use view-mode.
15676         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
15677         goto-line.
15679 2009-09-03  Glenn Morris  <rgm@gnu.org>
15681         * arc-mode.el (archive-mode):
15682         * dos-fns.el (set-default-process-coding-system):
15683         * man.el (Man-getpage-in-background):
15684         * menu-bar.el (menu-bar-describe-menu):
15685         * server.el (server-process-filter):
15686         * startup.el (command-line):
15687         * tar-mode.el (tar-header-block-tokenize, tar-extract):
15688         * w32-fns.el (set-default-process-coding-system):
15689         * x-dnd.el (x-dnd-handle-file-name):
15690         * international/mule-cmds.el (mule-menu-keymap)
15691         (set-default-coding-systems, language-info-alist, set-language-info)
15692         (set-language-environment, standard-display-european-internal)
15693         (set-locale-environment):
15694         * international/mule-diag.el (mule-diag):
15695         * mail/emacsbug.el (report-emacs-bug):
15696         * mail/rmail.el (rmail-mode):
15697         * mail/sendmail.el (mail-setup):
15698         Use default-value rather than default-enable-multibyte-characters.
15700         * progmodes/f90.el: Move all safe properties into the defcustoms.
15701         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
15703         * calendar/appt.el (appt-check):
15704         * calendar/diary-lib.el (diary-set-header, diary-live-p)
15705         (diary-check-diary-file, diary-list-entries)
15706         (diary-include-other-diary-files, diary-simple-display)
15707         (diary-fancy-display, diary-print-entries)
15708         (diary-mark-included-diary-files, diary-make-entry):
15709         Don't call substitute-in-file-name on diary-file.
15711 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
15712             Stefan Monnier  <monnier@iro.umontreal.ca>
15714         * mail/footnote.el (footnote-prefix): Make it a defcustom.
15715         (footnote-mode-map): Move initialization into the declaration.
15716         (footnote-minor-mode-map): Define it rather than changing global-map.
15717         (footnote-mode): Use define-minor-mode.
15719 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
15721         * net/tramp.el (tramp-handle-file-attributes-with-ls)
15722         (tramp-do-file-attributes-with-perl)
15723         (tramp-do-file-attributes-with-stat): Rename from
15724         `tramp-handle-file-attributes-with-*'.
15725         (tramp-handle-file-attributes): Use them.
15726         (tramp-do-directory-files-and-attributes-with-perl)
15727         (tramp-do-directory-files-and-attributes-with-stat): Rename from
15728         `tramp-handle-directory-files-and-attributes-with-*'.
15729         (tramp-handle-directory-files-and-attributes): Use them.
15730         (tramp-method-out-of-band-p): Additional parameter SIZE.
15731         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
15732         (tramp-handle-write-region): Use it.
15733         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
15734         (tramp-handle-vc-registered): Check, whether the first run did
15735         return files to be tested.
15736         (tramp-advice-make-auto-save-file-name): Do not call directly
15737         `tramp-handle-make-auto-save-file-name', because this would bypass
15738         the locking mechanism.
15740         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
15741         (file-remote-p, process-file, start-file-process, set-file-times)
15742         (tramp-compat-file-attributes): Compatibility functions shall not
15743         call directly `tramp-handle-*', because this would bypass the
15744         locking mechanism.
15745         (tramp-compat-number-sequence): New defun.
15747 2009-09-02  Glenn Morris  <rgm@gnu.org>
15749         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
15750         alias for float-time.
15751         (time-to-number-of-days): In Emacs, use float-time.
15752         * net/newst-backend.el (time-add): Suppress warnings from compat
15753         function.
15754         * time.el (emacs-uptime, emacs-init-time):
15755         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
15756         Use float-time rather than time-to-seconds.
15758         * minibuffer.el (completion-initials-expand): Fix typo.
15760         * faces.el (modeline, modeline-inactive, modeline-highlight)
15761         (modeline-buffer-id):
15762         * info.el (info-menu-5): Mark these face aliases as obsolete.
15764 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
15766         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
15767         space ...
15768         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
15769         no "--thread" option.
15770         (gdb-stopped): Don't print "Switched to thread" message when it is
15771         unchanged.
15773 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15775         * minibuffer.el (completion-try-completion)
15776         (completion-all-completions): Remove ill-defined (and
15777         mistakenly installed and luckily never used nor documented)
15778         `completion-styles' property.
15779         (completion-initials-expand, completion-initials-all-completions)
15780         (completion-initials-try-completion): New functions.
15781         (completion-styles-alist): Add doc to each entry.
15782         Add new `initials' entry.
15784 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
15786         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
15787         MI command -var-evaluate-expression.
15788         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
15789         and tweak for case of string child.
15790         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
15792 2009-09-01  Glenn Morris  <rgm@gnu.org>
15794         * add-log.el (change-log-date-face, change-log-name-face)
15795         (change-log-email-face, change-log-file-face, change-log-list-face)
15796         (change-log-conditionals-face, change-log-function-face)
15797         (change-log-acknowledgement-face):
15798         * cus-edit.el (custom-invalid-face, custom-rogue-face)
15799         (custom-modified-face, custom-set-face, custom-changed-face)
15800         (custom-saved-face, custom-button-face, custom-button-pressed-face)
15801         (custom-documentation-face, custom-state-face, custom-comment-face)
15802         (custom-comment-tag-face, custom-variable-tag-face)
15803         (custom-variable-button-face, custom-face-tag-face)
15804         (custom-group-tag-face-1, custom-group-tag-face):
15805         * diff-mode.el (diff-header-face, diff-file-header-face)
15806         (diff-index-face, diff-hunk-header-face, diff-removed-face)
15807         (diff-added-face, diff-changed-face, diff-function-face)
15808         (diff-context-face, diff-nonexistent-face):
15809         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
15810         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
15811         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
15812         (Info-title-4-face):
15813         * isearch.el (isearch-lazy-highlight-face):
15814         * log-view.el (log-view-file-face, log-view-message-face):
15815         * paren.el (show-paren-match-face, show-paren-mismatch-face):
15816         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
15817         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
15818         (cvs-msg-face):
15819         * smerge-mode.el (smerge-mine-face, smerge-other-face)
15820         (smerge-base-face, smerge-markers-face):
15821         * wid-edit.el (widget-documentation-face, widget-button-face)
15822         (widget-field-face, widget-single-line-field-face)
15823         (widget-inactive-face, widget-button-pressed-face):
15824         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
15825         (woman-addition-face):
15826         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
15827         (eshell-ls-executable-face, eshell-ls-readonly-face)
15828         (eshell-ls-unreadable-face, eshell-ls-special-face)
15829         (eshell-ls-missing-face, eshell-ls-archive-face)
15830         (eshell-ls-backup-face, eshell-ls-product-face)
15831         (eshell-ls-clutter-face):
15832         * eshell/em-prompt.el (eshell-prompt-face):
15833         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
15834         * obsolete/old-whitespace.el (whitespace-highlight-face):
15835         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
15836         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
15837         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
15838         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
15839         (antlr-font-lock-literal-face):
15840         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
15841         (ebrowse-root-class-face, ebrowse-file-name-face)
15842         (ebrowse-default-face, ebrowse-member-attribute-face)
15843         (ebrowse-member-class-face, ebrowse-progress-face):
15844         * progmodes/make-mode.el (makefile-space-face):
15845         * progmodes/sh-script.el (sh-heredoc-face):
15846         * textmodes/flyspell.el (flyspell-incorrect-face)
15847         (flyspell-duplicate-face):
15848         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
15849         * textmodes/texinfo.el (texinfo-heading-face):
15850         Mark face aliases with "-face" suffix as obsolete.
15852         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
15853         compiler.
15855         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
15856         (eudc-bob-sound-menu): Use defvar rather than defconst, since
15857         easy-menu-define wants to modify these.
15859         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
15861         * net/browse-url.el (browse-url-file-url):
15862         * term/internal.el (dos-codepage-setup):
15863         Use default-value rather than default-enable-multibyte-characters.
15865         * progmodes/etags.el (etags-goto-tag-location):
15866         * progmodes/flymake.el (flymake-highlight-line)
15867         (flymake-goto-file-and-line, flymake-goto-line):
15868         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
15869         (gdb-goto-breakpoint):
15870         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
15871         * progmodes/python.el (python-find-function)
15872         (python-pdbtrack-track-stack-file):
15873         * progmodes/verilog-mode.el (verilog-surelint-off):
15874         * term/ns-win.el (ns-open-file-select-line):
15875         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
15876         Use forward-line rather than goto-line.
15878         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
15879         * textmodes/reftex-index.el (reftex-display-index):
15880         * textmodes/reftex-ref.el (reftex-offer-label-menu):
15881         * textmodes/reftex-toc.el (reftex-toc):
15882         Remove unnecessary bindings of default-major-mode (all are followed by
15883         major-mode check and possible mode switch).
15885 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
15887         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
15888         Handle watchpoints (bug#4282).
15889         (def-gdb-thread-buffer-command): Enable thread to be selected by
15890         clicking without selecting threads buffer first.
15891         (gdb-current-context-command): Use selected frame so that "up",
15892         "down" etc work in the GUD buffer.
15893         (gdb-update): Find selected frame before rendering stack buffer.
15894         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
15896 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
15898         * progmodes/sym-comp.el (displayed-completions): Remove.
15899         (symbol-complete): Use minibuffer-complete.
15901 2009-08-31  Glenn Morris  <rgm@gnu.org>
15903         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
15905         * apropos.el (apropos-symbols-internal):
15906         Handle (obsolete) face aliases.
15908         * faces.el (describe-face): Adjust the output format to be more like
15909         describe-variable, and to mention (obsolete) face aliases.
15910         Adjust the whitespace so that help-setup-xref works.
15912         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
15913         * calendar/diary-lib.el (diary-button-face):
15914         Mark these face aliases as obsolete.
15916         * calendar/calendar.el (calendar-today): Doc fix.
15918 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
15920         * progmodes/gdb-mi.el (gdb-control-all-threads)
15921         (gdb-control-current-thread): Force tool bar update.
15922         (gdb-non-stop-handler): New function.
15923         (gdb-init-1): Use it to test if non-stop mode is supported.
15924         Remove unused gdbmi buffer type.
15926 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
15928         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
15929         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
15931 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
15933         * comint.el (comint-exec-1): Check command is non-null first.
15934         Part of gdb-mi.el change (2009-08-28).
15936 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15938         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
15940 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
15942         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
15943         instead of `dolist' to avoid a recursive require when bootstrapping.
15945 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15947         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
15949         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
15951         * net/imap.el (imap-send-command): Simplify.
15952         (imap-wait-for-tag): point-max -> buffer-size.
15954         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
15956         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
15957         with constant argument.
15959         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
15961         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
15963         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
15964         Change default, since most of our files don't have a history.
15965         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
15966         the user.
15968         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15969         Add comint-run.
15971         * calc/calc.el: Improve commenting convention.
15972         (calc-digit-map, toplevel): Simplify.
15974         * comint.el (comint-insert-input): Be careful to only set point if we
15975         don't delegate to some other command.
15977         * proced.el (proced-signal-list): Make it an alist.
15978         (proced-grammar-alist): Capitalize names.
15979         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
15980         Disable undo manually and make it read-only.
15981         Use completion-annotate-function.
15983         * minibuffer.el (minibuffer-message): If the current buffer is not
15984         a minibuffer, insert the message in the echo area rather than at the
15985         end of the buffer.
15986         (completion-annotate-function): New variable.
15987         (minibuffer-completion-help): Use it.
15988         (completion--embedded-envvar-table): Environment vars are
15989         always case-sensitive.
15991 2009-08-30  Glenn Morris  <rgm@gnu.org>
15993         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
15994         from fortran-current-defun.
15995         (fortran-beginning-of-subprogram): Be more precise about finding the
15996         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
15997         (fortran-end-of-subprogram): Simplify.
15998         (fortran-current-defun): Use fortran-start-prog-re.
16000 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
16002         * subr.el (do-after-load-evaluation): Simplify.
16004 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
16006         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
16008         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
16009         (vc-rcs-print-log): Use it.
16011         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
16013 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
16015         * paths.el (abbrev-file-name): Move to abbrev.el.
16016         * abbrev.el (abbrev-file-name): Move from paths.el.
16017         Obey user-emacs-directory.
16018         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
16019         user-emacs-directory.
16020         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
16021         abbrev-file-name and calc-settings-file any more.
16022         * startup.el (command-line): Recompute abbrev-file-name and
16023         abbreviated-home-dir.
16024         (normal-no-mouse-startup-screen): Improve the generic code and get rid
16025         of the special code for when C-h bindings haven't been changed.
16026         (display-startup-echo-area-message): Use with-current-buffer.
16027         (command-line-1): Use a list of strings, rather than a list of lists
16028         of strings for longopts.
16030         * files.el (get-free-disk-space): Use / for default-directory.
16032         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
16033         Use with-current-buffer.
16035         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
16036         Recognize immutable variables like most-positive-fixnum.
16037         (byte-compile-setq-default): Check and warn if trying to assign
16038         to an immutable variable, or a non-variable.
16040         * progmodes/cc-vars.el (c-comment-continuation-stars):
16041         * progmodes/cc-engine.el (c-looking-at-bos):
16042         * progmodes/cc-cmds.el (c-toggle-auto-state)
16043         (c-forward-into-nomenclature, c-backward-into-nomenclature)
16044         (c-comment-line-break-function): Add version of obsolescence.
16046 2009-08-28  Juri Linkov  <juri@jurta.org>
16048         * files.el (magic-fallback-mode-alist): Add ZIP magic number
16049         associated with `archive-mode'.
16051         * image.el (image-type-header-regexps): Use only JPEG magic number
16052         to determine JPEG images, and don't use `image-jpeg-p' because
16053         Emacs can display non-JFIF non-Exif JPEG images.
16055 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
16057         * arc-mode.el (archive-mode):
16058         * emacs-lisp/re-builder.el (re-builder-unload-function):
16059         Protect against the default value of `major-mode' being nil.
16061 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
16063         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
16064         Fix typos in docstrings.
16066         * progmodes/js.el (js--macro-decl-re): Doc fix.
16067         (js--plain-method-re, js--split-name): Refloc docstring.
16068         (js--class-styles, js--make-merged-item, js--splice-into-items):
16069         Fix typos in docstrings; reflow docstrings.
16070         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
16071         (js--variable-decl-matcher, js--inside-pitem-p)
16072         (js--parse-state-at-point, js--get-all-known-symbols)
16073         (js--symbol-history, js-find-symbol, js--js-references)
16074         (js--moz-interactor, js--js-encode-value, js--read-tab):
16075         Fix typos in docstrings.
16077 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16079         * textmodes/reftex.el (reftex-get-file-buffer-force):
16080         * progmodes/verilog-mode.el (verilog-batch-execute-func):
16081         * emulation/viper.el (viper-go-away, viper-set-hooks):
16082         * emacs-lisp/re-builder.el (re-builder-unload-function):
16083         * emacs-lisp/bytecomp.el (byte-compile-file):
16084         * ses.el (ses-unload-function):
16085         * hexl.el (hexl-find-file):
16086         * files.el (normal-mode):
16087         * ehelp.el (with-electric-help):
16088         * autoinsert.el (auto-insert-alist):
16089         * arc-mode.el (archive-mode):
16090         Use (default-value 'major-mode) instead of default-major-mode.
16092         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
16093         * international/mule.el (load-with-code-conversion):
16094         * emacs-lisp/debug.el (debug):
16095         * ediff-vers.el (ediff-rcs-get-output-buffer):
16096         * dired.el (dired-internal-noselect): Don't let-bind
16097         default-major-mode around code that doesn't use it.
16098         E.g. buffer creation via get-buffer-create doesn't use it.
16100 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
16102         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
16103         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
16104         when writing the temp file.  Otherwise, epa-file gets confused.
16105         (tramp-register-file-name-handlers): Make it a defun.  Move also
16106         `epa-file-handler' to the front of `file-name-handler-alist'.
16108 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16110         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
16111         start right after a ^M.
16112         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
16113         (tramp-completion-file-name-regexp-separate)
16114         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
16115         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
16116         Don't modify last-coding-system-used by accident.
16117         (tramp-completion-file-name-handler): Apply the checks here,
16118         instead during registration.
16119         (tramp-register-file-name-handlers): Renamed from
16120         `tramp-register-file-name-handler'.  Register both
16121         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
16122         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
16124 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
16126         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
16127         Remove variable ...
16128         (gdb-init-1, gdb-display-separate-io-buffer)
16129         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
16130         references to it.
16131         (gdb-inferior-io-mode): Use make-comint-in-buffer.
16132         (gdb-inferior-filter): Use comint-output-filter to stop
16133         echoing and remove ^M characters.
16135 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16137         * emulation/viper-init.el (viper-restore-cursor-type):
16138         * emulation/cua-base.el (cua--update-indications):
16139         Replace default-cursor-type with (default-value 'cursor-type).
16141         * mail/sendmail.el (mail-recover-1):
16142         * international/mule-diag.el (describe-current-coding-system-briefly)
16143         (describe-current-coding-system):
16144         * international/mule-cmds.el (select-safe-coding-system)
16145         (select-message-coding-system)
16146         (set-language-environment-coding-systems, set-locale-environment):
16147         * hexl.el (hexl-insert-multibyte-char):
16148         * dos-w32.el (find-buffer-file-type-coding-system):
16149         * simple.el (what-cursor-position):
16150         Replace uses of default-buffer-file-coding-system
16151         with (default-value 'buffer-file-coding-system).
16153         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
16154         Replace uses of default-cursor-in-non-selected-windows
16155         with (default-value 'cursor-in-non-selected-windows).
16156         Use with-current-buffer.
16158         * mail/feedmail.el: Use CL macros.
16159         (feedmail-run-the-queue, feedmail-send-it-immediately):
16160         * dos-w32.el (find-buffer-file-type): Replace uses of
16161         default-buffer-file-type with (default-value 'buffer-file-type).
16163 2009-08-28  Glenn Morris  <rgm@gnu.org>
16165         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
16166         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
16167         Use default-value of major-mode rather than default-major-mode.
16169 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
16171         * Makefile.in (update-elcfiles): Report left over elc files.
16173         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
16174         expand-file-name and with-current-buffer.
16175         (mail-get-names, mail-directory): Use with-current-buffer.
16177         * vc.el (vc-read-revision): New function.
16178         (vc-version-diff, vc-merge): Use it.
16180 2009-08-27  Sam Steingold  <sds@gnu.org>
16182         * simple.el (kill-do-not-save-duplicates): New user option.
16183         (kill-new): When it is non-nil, and the new string is the same as
16184         the latest kill, set replace to t to avoid duplicates in kill-ring.
16186 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
16188         * net/tramp.el (tramp-handle-process-file): Do not flush all
16189         caches when `process-file-side-effects' is set.
16190         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
16191         instead of `tramp-find-file-exists-command'.
16192         Unset `process-file-side-effects'.
16194 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
16196         * net/tramp.el (tramp-methods): New method "rsyncc".
16197         (top): Add completion function for "rsyncc".
16198         (tramp-message-show-message): New defvar.
16199         (tramp-message, tramp-error): Use it.
16200         (tramp-do-copy-or-rename-file-directly): Extend check for direct
16201         remote copying.
16202         (tramp-do-copy-or-rename-file-out-of-band): Handle new
16203         `tramp-methods' entry `copy-env' of "rsyncc".
16204         (tramp-vc-registered-read-file-names): New defconst.
16205         (tramp-vc-registered-file-names): New defvar.
16206         (tramp-handle-vc-registered): Implement optimization strategy.
16207         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
16208         (tramp-vc-file-name-handler): New defun.
16209         (tramp-get-ls-command, tramp-get-test-command)
16210         (tramp-get-file-exists-command, tramp-get-remote-ln)
16211         (tramp-get-remote-perl, tramp-get-remote-stat)
16212         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
16214         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
16215         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
16216         timestamps.
16217         (tramp-get-file-property): Check for timestamps in
16218         `tramp-cache-inhibit-cache'.
16219         (tramp-set-file-property): Write timestamp.
16221 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
16223         * language/japan-util.el (japanese-symbol-table): Add entries for
16224         cp932-2-byte.
16226         * international/characters.el: Add category `j' to cp932-2-byte.
16228 2009-08-27  Kenichi Handa  <handa@m17n.org>
16230         * international/fontset.el (build-default-fontset-data): New macro.
16231         (setup-default-fontset): Use build-default-fontset-data for CJK,
16232         tibetan, ethiopic, and ipa.
16234 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
16236         * cus-start.el (default-major-mode): Customize `major-mode' instead.
16237         (enable-multibyte-characters): Not customizable any more.
16239         * subr.el (default-mode-line-format, default-header-line-format)
16240         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
16241         (default-direction-reversed, default-truncate-lines)
16242         (default-left-margin, default-tab-width, default-case-fold-search)
16243         (default-left-margin-width, default-right-margin-width)
16244         (default-left-fringe-width, default-right-fringe-width)
16245         (default-fringes-outside-margins, default-scroll-bar-width)
16246         (default-vertical-scroll-bar, default-indicate-empty-lines)
16247         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
16248         (default-fringe-cursor-alist, default-scroll-up-aggressively)
16249         (default-scroll-down-aggressively, default-fill-column)
16250         (default-cursor-type, default-buffer-file-type)
16251         (default-cursor-in-non-selected-windows)
16252         (default-buffer-file-coding-system, default-major-mode)
16253         (default-enable-multibyte-characters): Mark as obsolete.
16255 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
16257         * vc-dir.el (vc-dir-update): Remove debug helper.
16259         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
16261 2009-08-26  Sam Steingold  <sds@gnu.org>
16263         * simple.el (save-interprogram-paste-before-kill): New user option.
16264         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
16265         save the interprogram-paste into kill-ring before overriding it
16266         with the Emacs kill.
16268 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
16270         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
16271         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
16272         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
16273         and move to vc-rcs.el.
16274         (vc-default-next-revision): Rename to vc-rcs-next-revision and
16275         move to vc-rcs.el.
16276         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
16277         (vc-rcs-update-changelog): Remove.
16278         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
16279         and move to vc-rcs.el.
16281         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
16282         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
16283         renaming.
16284         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
16285         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
16286         vc.el, renamed to be RCS specific.
16288         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
16289         New functions.
16290         (vc-cvs-update-changelog): Move here from vc.el.
16292         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
16293         New functions.
16295 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16297         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
16299 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
16301         * vc-git.el (vc-git-register): Use "git add" for directories.
16302         (vc-git-stash, vc-git-stash-show): New functions.
16303         (vc-git-extra-menu-map): Bind them.
16305         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
16306         directory correctly in case the item is a directory itself.
16308         * vc.el: Document the desired behavior for reverted files in the
16309         `added' state.
16310         (vc-default-prettify-state-info): Remove function, unused.
16312         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
16314 2009-08-26  Glenn Morris  <rgm@gnu.org>
16316         * bindings.el (standard-mode-line-format): Reposition dashes in
16317         which-func entry.  (Bug#4217)
16319         * files.el (enable-local-variables, enable-local-eval)
16320         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
16321         the defcustoms.
16322         (auto-mode-alist, ignored-local-variables)
16323         (save-some-buffers-action-alist): Move risky declarations to the
16324         definitions.
16325         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
16326         (font-lock-defaults, format-alist, imenu--index-alist)
16327         (imenu-generic-expression, input-method-alist, minor-mode-alist)
16328         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
16329         (mode-line-modified, mode-line-mule-info, mode-line-position)
16330         (mode-line-process, mode-line-remote, outline-level)
16331         (parse-time-rules, rmail-output-file-alist)
16332         (special-display-buffer-names, vc-mode):
16333         Move risky declarations to the relevant files.
16334         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
16335         (mode-line-modified, mode-line-process, mode-line-position)
16336         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
16337         * font-core.el (font-lock-defaults):
16338         * format.el (format-alist):
16339         * vc-hooks.el (vc-mode):
16340         * window.el (special-display-buffer-names):
16341         * international/mule-cmds.el (input-method-alist):
16342         Define riskiness here (dumped file) rather than in files.el.
16343         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
16344         * imenu.el (imenu-generic-expression, imenu--index-alist):
16345         * outline.el (outline-level):
16346         * time.el (display-time-string):
16347         * calendar/parse-time.el (parse-time-rules):
16348         * mail/rmailout.el (rmail-output-file-alist):
16349         Autoload riskiness here, rather than placing in files.el.
16351 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
16353         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
16355 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
16357         * simple.el (process-file-side-effects): New defvar.
16359         * dired-aux.el (dired-show-file-type):
16360         * vc.el (vc-diff-internal):
16361         * vc-arch.el (vc-arch-diff):
16362         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
16363         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
16364         * vc-git.el (vc-git-registered, vc-git-working-revision)
16365         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
16366         (vc-git--empty-db-p):
16367         * vc-hooks.el (vc-user-login-name):
16368         * vc-svn.el (vc-svn-registered, vc-svn-state)
16369         (vc-svn-dir-extra-headers, vc-svn-find-revision):
16370         * progmodes/grep.el (grep-probe): Let-bind
16371         `process-file-side-effects' with nil.
16373         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
16375         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
16376         daemon.  Replace ping by checking for running service for bluez
16377         and zeroconf.  (Bug#4239)
16379 2009-08-25  Kevin Ryde  <user42@zip.com.au>
16381         * net/dig.el (dig): Add autoload cookie.
16383 2009-08-25  Glenn Morris  <rgm@gnu.org>
16385         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
16386         load-history for absolute file-names.
16387         (byte-compile-file-form-require): Warn about use of the cl package.
16389         * format.el (format-alist): Doc fix.
16391         * play/bubbles.el (top-level): Don't require cl at run-time.
16393         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
16394         run-time cl).
16396 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
16398         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
16399         from cl package.
16400         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
16402 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
16404         * calc/calc-alg.el (math-trig-rewrite)
16405         (math-hyperbolic-trig-rewrite): New functions.
16406         (calc-simplify): Simplify trig functions when asked.
16408 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16410         * diff-mode.el (diff-find-source-location): Avoid goto-line.
16412 2009-08-24  Kenichi Handa  <handa@m17n.org>
16414         * language/ind-util.el (mapthread): Delete it.
16415         (combinatorial): New function.
16416         (indian--puthash-cv): Use combinatorial instead of mapthread.
16418 2009-08-22  Kevin Ryde  <user42@zip.com.au>
16420         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
16421         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
16422         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
16423         Clarify docstring that the value is strings not symbols.
16424         (checkdoc-list-of-strings-p): New function.
16426 2009-08-22  Glenn Morris  <rgm@gnu.org>
16428         * files.el (auto-mode-alist):
16429         * hippie-exp.el (he-concat-directory-file-name):
16430         * lpr.el (lpr-windows-system, printer-name):
16431         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
16432         * ps-print.el (ps-windows-system):
16433         * startup.el (command-line):
16434         * emulation/viper-ex.el (viper-glob-function):
16435         * international/mule-cmds.el (set-language-environment-coding-systems):
16436         * net/ange-ftp.el (ange-ftp-write-region):
16437         * obsolete/fast-lock.el (fast-lock-cache-name):
16438         Remove code for defunct system-types emx, macos, mswindows, next-mach,
16439         unisoft-unix, vax-vms, win32, w32.
16441         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
16442         given name if the pattern is not more specific.
16444         * calendar/lunar.el (lunar-phase-names): New option.
16445         (lunar-phase): Doc fix.
16446         (lunar-cycles-per-year): New constant.
16447         (lunar-index): New function.
16448         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
16449         (lunar-phase-name): Use lunar-phase-names.
16450         (calendar-lunar-phases): Use format.
16451         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
16453         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
16454         Copy imenu-example--name-and-position function here for own use.
16455         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
16457         * bs.el (bs--redisplay):
16458         * cus-edit.el (custom-redraw):
16459         * ibuffer.el (ibuffer-bury-buffer):
16460         * server.el (server-goto-line-column):
16461         * startup.el (command-line-1):
16462         * strokes.el (strokes-xpm-for-stroke):
16463         * term.el (term-display-buffer-line):
16464         * view.el (View-goto-line):
16465         * calc/calc.el (calc-do, calc-trail-buffer):
16466         * play/gamegrid.el (gamegrid-add-score-insecure):
16467         * progmodes/ada-mode.el (ada-compile-goto-error):
16468         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
16469         (ebrowse-select-1st-to-9nth):
16470         * progmodes/cperl-mode.el (cperl-time-fontification):
16471         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
16472         * progmodes/gud.el (gud-display-line):
16473         (idlwave-shell-display-line):
16474         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
16475         * progmodes/make-mode.el (makefile-browser-toggle):
16476         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
16477         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
16478         * textmodes/picture.el (picture-draw-rectangle):
16479         * textmodes/reftex-index.el (reftex-index-goto-letter):
16480         (reftex-select-jump-to-previous):
16481         * textmodes/reftex-sel.el (reftex-find-start-point)
16482         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
16483         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
16484         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
16485         * textmodes/tex-mode.el (tex-compilation-parse-errors):
16486         * textmodes/two-column.el (2C-associated-buffer):
16487         Use forward-line rather than goto-line.
16489         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
16490         goto-line.
16492         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
16493         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
16494         (quick-check-list-to-regexp): Declare.
16496         * progmodes/make-mode.el (makefile-browser-insert-selection):
16497         Use goto-char rather than goto-line.
16499         * progmodes/prolog.el (compilation-error-regexp-alist)
16500         (compilation-forget-errors): Declare.
16502 2009-08-22  Juri Linkov  <juri@jurta.org>
16504         * progmodes/grep.el (lgrep, rgrep): At the beginning
16505         set `dir' to `default-directory' unless `dir' is a non-nil
16506         readable directory.  (Bug#4052)
16507         (lgrep, rgrep): Change a weird way to report an error
16508         from using `read-string' to using `error'.
16509         Instead of using interactive arguments in the function body,
16510         add new argument `confirm'.
16512 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16514         * textmodes/remember.el (remember-buffer):
16515         * progmodes/cperl-mode.el (cperl-vc-header-alist):
16516         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
16517         (icalendar-extract-ical-from-buffer):
16518         * net/newst-treeview.el (newsticker-groups-filename):
16519         * net/newst-backend.el (newsticker-cache-filename):
16520         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
16521         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
16522         (speedbar-add-ignored-path-regexp, speedbar-line-path)
16523         (speedbar-buffers-line-path, speedbar-path-line)
16524         (speedbar-buffers-line-path):
16525         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
16526         (epg-sign-keys):
16527         * epa.el (epa-display-verify-result):
16528         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
16530 2009-08-21  Glenn Morris  <rgm@gnu.org>
16532         * progmodes/js.el (inferior-moz-process): Fix declaration.
16534         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
16536         * obsolete/rnewspost.el (news-mail-reply):
16537         Use goto-char rather than goto-line.
16539         * term/ns-win.el (ns-open-file-select-line):
16540         Use line-beginning-position rather than goto-line.
16542         * apropos.el (apropos-command):
16543         * ehelp.el (electric-helpify):
16544         * printing.el (pr-show-setup):
16545         * strokes.el (strokes-help):
16546         * tutorial.el (tutorial--describe-nonstandard-key)
16547         (tutorial--detailed-help):
16548         * woman.el (woman-mini-help, woman-display-extended-fonts):
16549         * calc/calc-help.el (calc-describe-key):
16550         * emulation/edt.el (edt-electric-helpify):
16551         * international/mule-diag.el (mule-diag):
16552         * play/yow.el (apropos-zippy):
16553         * progmodes/python.el (python-describe-symbol):
16554         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
16555         * textmodes/table.el (*table--cell-describe-mode)
16556         (*table--cell-describe-bindings):
16557         Use help-print-return-message rather than the now obsolete alias.
16559         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
16560         (calendar-cursor-to-visible-date):
16561         * play/5x5.el (5x5-position-cursor):
16562         * play/decipher.el (decipher):
16563         * play/gomoku.el (gomoku-goto-xy):
16564         * play/landmark.el (lm-goto-xy):
16565         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
16566         (mpuz-paint-digit):
16567         Use forward-line, not goto-line.
16569         * mail/rmail.el (rmail-obsolete): Delete custom group.
16570         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
16571         (rmail-remote-password, rmail-remote-password-required):
16572         Remove unneeded :set-after and :set properties.
16574 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
16576         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
16578 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
16580         * loadup.el: Remove leftover macos code.
16582         * vc-git.el (vc-git-annotate-command): Run asynchronously.
16583         Explicitly pass the date format to git blame so that user local
16584         so that the output format can be parsed.
16586 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
16588         * net/dbus.el (top): Don't check for (getenv
16589         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
16591 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
16593         * log-edit.el (log-edit-strip-single-file-name): New var.
16594         (log-edit-insert-changelog): Use it.  Bug#3571
16596 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16598         * subr.el (read-passwd): Use read-key so keypad keys work as well.
16599         Bug#3287
16601         * help.el (help-print-return-message): Rename from
16602         print-help-return-message.
16604         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
16605         cvs-mode-map parent hack.
16606         (log-view-mode): Derive from special-mode.
16608         * linum.el (linum-mode): window-size-change-functions is redundant.
16609         Adapt to new window-configuration-change-hook behavior.
16610         (linum-after-size, linum-after-config): Remove.
16612         * imenu.el (imenu-example--name-and-position)
16613         (imenu-example--lisp-extract-index-name)
16614         (imenu-example--create-lisp-index, imenu-example--create-c-index):
16615         Mark as obsolete.
16617         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
16618         (inferior-prolog-mode): Use it.
16619         (inferior-prolog-load-file): Reset list of errors.
16621 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
16623         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
16625         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
16627 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
16629         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
16630         is running already.
16632 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16634         * subr.el (listify-key-sequence-1): Use normal syntax since those
16635         integers are nowadays always represented by the same (positive) number
16636         on all platforms.
16637         (read-key-empty-map): New const.
16638         (read-key-delay): New var.
16639         (read-key): New function.
16640         (force-mode-line-update): Use with-current-buffer.
16641         (locate-user-emacs-file): Don't forget to abbreviate the file name.
16642         (start-process-shell-command, start-file-process-shell-command):
16643         Discourage the use of command-args.
16645 2009-08-19  Glenn Morris  <rgm@gnu.org>
16647         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
16649 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16651         * simple.el (choose-completion-string): Don't rely on
16652         minibuffer-completing-file-name and ad-hoc checks to decide whether
16653         to continue completion or not.
16655         * minibuffer.el (minibuffer-hide-completions): New function.
16656         (completion--do-completion): Use it.
16657         (completions-annotations): New face.
16658         (completion--insert-strings): Use it.
16659         (completion-pcm--delim-wild-regex): Add docstring.
16660         (completion-pcm--string->pattern): Add support for 0-width delimiters
16661         in completion-pcm--delim-wild-regex.
16663 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16665         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
16666         Remove unused var `buffer-modified-p'.
16668         * minibuffer.el (completion--do-completion): Move point for the #b001
16669         case as well (bug#4176).
16670         (minibuffer-complete, minibuffer-complete-word): Don't move point.
16672 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
16674         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
16675         and :session buses.
16677 2009-08-18  Kenichi Handa  <handa@m17n.org>
16679         * international/ucs-normalize.el (ucs-normalize-version):
16680         Change to 1.1.
16681         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
16682         (utf-8-hfs): Make it perform normalization on encoding too.
16684         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
16685         (sentence-end-without-space): Delete duplicated chars.
16686         (sentence-end-base): Likewise.
16688         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
16689         (html-mode): Delete duplicated chars from sentence-end-base.
16691         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
16692         (texinfo-mode): Delete duplicated chars from sentence-end-base.
16694 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
16696         * files.el (hack-one-local-variable): If the mode function is for
16697         a minor mode, pass it an argument (Bug#4148).
16699 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
16701         * net/tramp.el (tramp-register-completion-file-name-handler):
16702         Check also for (member 'partial-completion completion-styles).
16704 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
16706         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
16707         abbrev (Bug#3943).
16709 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
16711         * progmodes/cperl-mode.el: Merge upstream 6.2.
16712         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
16713         (cperl-forward-re): Check cperl-brace-recursing.
16714         (cperl-highlight-charclass): New function.
16715         (cperl-find-pods-heres): Use it.
16716         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
16717         (cperl-beautify-regexp-piece): Fix column calculation.
16718         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
16719         (cperl-beautify-level): Don't process entire regexp.
16720         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
16721         calling man.
16722         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
16723         (cperl-init-faces): Build a list in the normal way.
16725 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
16727         * calendar/parse-time.el (parse-time-string-chars): Save match
16728         data.
16730 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16732         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
16733         (sql-product): Use it.
16734         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
16735         (sql-set-product): Add completion.
16736         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
16737         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
16738         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
16739         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
16740         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
16741         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
16742         (sql-highlight-db2-keywords): Remove.
16743         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
16744         (sql-highlight-product): Use derived-mode-p.
16745         (sql-set-sqli-buffer): Use with-current-buffer.
16746         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
16747         Simplify.
16749         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
16751         * term.el: Fix commenting convention, turn comments into docstrings.
16753 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
16755         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
16757 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
16759         * calendar/parse-time.el (parse-time-string-chars): Compute using
16760         character classes, to handle non-ascii characters (Bug#3190).
16762 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
16764         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
16765         another heredoc if the user adds another < (Bug#3226).
16767         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
16768         Don't initialize based on window-system (Bug#4124).
16770         * facemenu.el (facemenu-read-color): Use a completion function
16771         that accepts any defined color, such as RGB triplets (Bug#3677).
16773         * files.el (get-free-disk-space): Change fallback default
16774         directory to /.  Expand DIR argument before switching to fallback.
16775         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
16777 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
16779         * files.el (load-library): Doc fix.
16781 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
16783         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
16784         (viper-if-string): Redefine C-s in the minibuffer to insert the last
16785         incremental search string.
16787         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
16788         XEmacs.
16790         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
16791         (ediff-merge-region-is-non-clash)
16792         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
16793         Also check if the job is really a merge job.
16795         * ediff.el (ediff-current-file): New function.
16797 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
16799         * progmodes/js.el: Edit docstrings throughout to follow Emacs
16800         conventions.
16801         (js-insert-and-indent): Delete function.
16802         (js-mode-map): Don't bind keys to js-insert-and-indent.
16803         (js-beginning-of-defun): Rename from js--beginning-of-defun.
16804         (js-end-of-defun): Rename from js--end-of-defun.
16805         (js-auto-indent-flag): Delete variable.
16807 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
16809         * progmodes/js.el: Remove proclaim statement.
16810         Defvar which-func-imenu-joiner-function to silence compiler.
16812         * files.el (auto-mode-alist): Use js-mode for .js files.
16814         * progmodes/js2-mode.el: Remove file.
16816         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
16818         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
16820         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
16822 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
16823             Karl Landstrom  <karl.landstrom@brgeight.se>
16825         * progmodes/js.el: New file.
16827 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
16829         * timezone.el (timezone-parse-date): Add ability to understand ISO
16830         basic format (minimal separators) dates in addition to the
16831         already-supported extended format dates.
16833 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
16835         * international/ucs-normalize.el: Add a `coding' file variable.
16837         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
16839 2009-08-14  Sam Steingold  <sds@gnu.org>
16841         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
16843 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
16845         * faces.el (help-argument-name): Define it here instead of
16846         help-fns.el, because in daemon mode help-fns.el may be loaded when
16847         faces are still uninitialized (Bug#1078).
16849         * help-fns.el (help-argument-name): Move defface to faces.el.
16851 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
16853         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
16854         create buffer with a pty but no process so that GDB can make the
16855         inferior the controlling process.
16857 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
16859         * international/ucs-normalize.el: New file.
16861 2009-08-13  Richard Stallman  <rms@gnu.org>
16863         * mail/rmail.el (rmail-get-attr-names):
16864         Accept an attribute header that is too short.
16866         * mail/rmail.el (rmail-forget-messages):
16867         Ignore nil elt in rmail-message-vector.  Use dotimes.
16869         * progmodes/compile.el (compilation-goto-locus):
16870         Use next-error-move-function.
16872         * simple.el (next-error-move-function): New variable.
16874 2009-08-12  Juri Linkov  <juri@jurta.org>
16876         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
16877         always non-nil.  (Bug#4052)
16879         * replace.el (read-regexp): Return empty string when
16880         `default-value' is nil.
16881         (keep-lines-read-args): Don't use empty string as the
16882         default value for `read-regexp'.  (Bug#2495)
16884 2009-08-12  Juri Linkov  <juri@jurta.org>
16886         * international/mule-cmds.el (ucs-insert): Change arguments
16887         from `arg' to `character', `count', `inherit' to be the same
16888         as in `insert-char'.  Doc fix.  (Bug#4039)
16890         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
16892 2009-08-12  Juri Linkov  <juri@jurta.org>
16894         * files-x.el: New file.
16896         * files.el: Move code that deals with adding/deleting
16897         file/directory-local variables to files-x.el.
16899         * Makefile.in (ELCFILES): Add files-x.elc.
16901 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
16903         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
16904         to use `goto-line'.
16905         (gdb-place-breakpoints, gdb-get-location): Rewritten without
16906         `goto-line'.
16907         (gdb-invalidate-disassembly): Do not refresh upon receiving
16908         'update signal.  Instead, update all disassembly buffers only after
16909         threads list.
16910         (gdb): Send -target-detach when buffer is killed (Bug#3794).
16911         (gdb-starting): Moved -data-list-register-names...
16912         (gdb-stopped): ...here so it's sent when first thread stops.
16913         (gdb-registers-handler-custom): Do nothing if register names are
16914         unknown yet.
16916         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
16917         from `gdb-mi.el' to avoid extra tangling.
16919         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
16920         change which breaks `gud-def' definitions used in `gdb'.
16921         (gdb-update-gud-running): No extra fuss for updating frame number.
16923 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
16925         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
16926         (describe-language-environment-map, setup-language-environment-map)
16927         (set-coding-system-map): Move initialization into declaration.
16928         (set-language-info-alist): Last arg to define-key-after can be skipped.
16930         * international/quail.el (quail-completion-1): Simplify.
16931         (quail-define-rules): Use slightly more compact code.
16932         (quail-insert-decode-map): Propertize keys, compact columns.
16934         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16935         Add goto-line.
16937 2009-08-10  Miles Bader  <miles@gnu.org>
16939         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
16940         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
16941         (js2-instance-member, js2-private-member, js2-private-function-call)
16942         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
16943         (js2-magic-paren, js2-external-variable):
16944         Remove "-face" suffix from face names.
16945         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
16946         (js2-highlight-undeclared-vars, js2-peek-token)
16947         (js2-parse-function-params, js2-mode-show-errors)
16948         (js2-mode-show-warnings, js2-make-magic-delimiter)
16949         (js2-mode-highlight-magic-parens): Update to use new face names.
16951 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
16953         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
16954         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
16956 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
16958         * subr.el: Provide hashtable-print-readable.
16960         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
16961         hs-c-like-adjust-block-beginning.
16962         (hs-hide-block-at-point): Stop hiding at the beginning of
16963         hs-block-end-regexp (Bug#700).
16965 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
16967         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
16968         a macro.
16969         (gdb-registers-handler-custom): Do not fail when register names
16970         are unavailable.
16972 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
16974         * progmodes/gdb-mi.el (gdb-control-all-threads)
16975         (gdb-control-current-thread): Interactive setters for
16976         `gdb-gud-control-all-threads' to use in menu.
16977         (gdb-show-run-p): Show «Go» when process is not active.
16978         (gud-tool-bar-map): Add non-stop/A,T indicator.  Uses
16979         gud/thread.xpm and gud/all.xpm.
16981 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
16983         * net/net-utils.el (net-utils-font-lock-keywords): New var.
16984         (nslookup-font-lock-keywords): Make it a variable.
16985         (net-utils-mode): New mode for viewing diagnostic network output.
16986         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
16987         (net-utils-run-simple): New function.
16988         (ifconfig, iwconfig, netstat, arp, route): Use it.
16990 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
16992         * progmodes/gdb-mi.el (gdb-read-memory-custom)
16993         (gdb-memory-set-address, def-gdb-set-positive-number)
16994         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
16995         after changing settings.
16996         (gdb-invalidate-disassembly): Update when first shown.
16997         (gdb-edit-locals-value): Fixed.
16998         (gdb-registers-handler-custom): Print registers in right order and
16999         allow changing register values (only for current thread yet).
17000         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
17001         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
17002         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
17003         (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
17004         info in mode name.
17005         (gdb-registers-mode-map): TAB to switch to locals.
17007 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
17009         * mail/rmail.el (rmail-add-mbox-headers)
17010         (rmail-set-message-counters-counter): Search for
17011         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
17013 2009-08-08  Glenn Morris  <rgm@gnu.org>
17015         * Makefile.in (ELCFILES): Update.
17017 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
17019         * mail/sendmail.el (mail-yank-original): Set
17020         buffer-file-coding-system from the one used by the message whose
17021         text is yanked.
17023         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
17024         to "windows" when "pgnuplot" is used.
17025         (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
17026         call accept-process-output if "pgnuplot" is used.
17027         (calc-graph-init): Don't send -display and -geometry to
17028         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
17029         running "pgnuplot -V" with shell-command-to-string.
17031         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
17032         the default.
17034 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
17036         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
17037         org/org-latex.elc.
17039 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
17041         * vc-dispatcher.el (vc-resynch-window): Update comment.
17043         * term.el (term-handle-ansi-escape): Add comments with the
17044         terminfo capabilities implemented.
17046 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
17048         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
17049         (gdb-var-create-handler): Rewritten using JSON parser.
17050         (gdb-propertize-header): Moved earlier.
17051         (gdb-set-header): Removed to avoid duplication.
17052         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
17053         Refresh disassembly buffers only after threads list have been
17054         update.
17055         (gdb-threads-header, gdb-registers-header): Per-buffer header line
17056         variables.
17058 2009-08-04  Juri Linkov  <juri@jurta.org>
17060         * files.el: Commands to add/delete file/directory-local variables.
17061         (read-file-local-variable, read-file-local-variable-value)
17062         (read-file-local-variable-mode, modify-file-local-variable)
17063         (modify-file-local-variable-prop-line)
17064         (modify-dir-local-variable): New functions.
17065         (add-file-local-variable, delete-file-local-variable)
17066         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
17067         (add-dir-local-variable, delete-dir-local-variable)
17068         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
17069         (copy-dir-locals-to-file-locals-prop-line): New commands.
17071 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
17073         * abbrev.el (insert-abbrev-table-description): Prettify output.
17074         Suggested by Karl Chen.
17076 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
17078         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
17079         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
17080         (gdb-overlay-arrow-position, gdb-thread-position)
17081         (gdb-disassembly-position): Declare variables.
17082         (gdb-wait-for-pending): Function now.
17083         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
17084         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
17085         compilation goes smoothly.
17086         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
17087         (gdb-non-stop-setting): New customization setting which replaces
17088         `gdb-non-stop' so changing it doesn't break active GDB session.
17089         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
17090         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
17091         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
17092         (gdb-show-threads-by-default): New customization options.
17093         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
17094         routines.
17095         (gdb-get-buffer-create): Send buffers update signal when they are
17096         created.
17097         (gdb-invalidate-locals, gdb-invalidate-registers)
17098         (gdb-invalidate-breakpoints)
17099         (gdb-invalidate-threads, gdb-invalidate-disassembly)
17100         (gdb-invalidate-memory): Accept update signal.
17101         (gdb-current-context-command): Use --frame option.
17102         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
17103         Implement `gdb-frame-number' selection logic.
17104         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
17105         whether to show GUD toolbar buttons.
17106         (gdb-thread-exited): Unselect current thread when it exits.
17107         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
17108         (gdb-mark-line): Routine which sets overlay arrow or inverses
17109         video on fringeless displays.
17110         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
17111         to build aligned columns of data in GDB buffers and set text
17112         properties line-by-line.
17113         (gdb-invalidate-breakpoints)
17114         (gdb-breakpoints-list-handler-custom)
17115         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
17116         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
17117         (gdb-registers-handler-custom): Align data columns.
17118         (gdb-locals-handler-custom): Now prints data like in variable
17119         declarations.
17120         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
17121         Removed confusing buttons.
17122         (gdb-invalidate-threads): Append --frame.
17123         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
17124         between breakpoints/threads buffers.
17125         (gdb-set-window-buffer): Now can ignore dedicated windows.
17126         (gdb-propertize-header): Use `gdb-set-window-buffer'.
17127         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
17128         (def-gdb-thread-buffer-gud-command): Replaces
17129         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
17130         for fine thread control.
17131         (gdb-preempt-existing-or-display-buffer): New function used to
17132         display bound buffers without breaking window layout.
17133         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
17134         (gdb-select-frame): New version of `gdb-frames-select' which now
17135         sets `gdb-frame-number' so commands may use --frame option instead
17136         of inner debugger state.
17137         (gdb-frame-handler): Do not set `gdb-frame-number'.
17138         (gdb-threads-mode-map): Select threads with mouse.
17140         * progmodes/gud.el (gdb-gud-context-call): Declare function to
17141         avoid compilation warning.
17142         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
17143         `gdb-show-stop-p`.
17145         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
17146         Argument `key' renamed to `buffer-type'.
17147         (gdb-current-context-buffer-name): Do not add thread info to
17148         buffer name when no thread is selected.
17149         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
17150         command (bug 3794).
17151         (gdb-thread-selected): Handle `=thread-selected' notification.
17152         (gdb-wait-for-pending): New macro to deal with congestion problems.
17153         (gdb-breakpoints-list-handler-custom): Don't fail on pending
17154         breakpoints.
17155         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
17156         This fixes problem similar to one described in bug 3947.
17157         (gud-menu-map): More menu items.
17158         (gdb-init-1): Reset `gdb-thread-number' to nil.
17160         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
17161         non-stop settings.
17163         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
17164         (gdb-current-context-command): Do not append --thread if
17165         `gdb-thread-number' is nil.
17166         (gdb-running-threads-count, gdb-stopped-threads-count): New
17167         variables.
17168         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
17169         (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
17170         customization options.
17171         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
17172         GUD commands.
17173         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
17174         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
17175         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
17176         set `gdb-thread-number' and update `gud-running' properly.
17177         (gdb-running): Update threads list when new threads appear.
17178         (gdb-stopped): Support non-stop operation and new thread switching
17179         logic.
17180         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
17181         (gdb-json-partial-output): New set of JSON routines.
17182         (def-gdb-auto-update-trigger): New `signal-list' optional
17183         argument.
17184         (gdb-thread-list-handler-custom): Update `gud-running',
17185         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
17186         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
17187         (gdb-continue-thread, gdb-step-thread): New commands for fine
17188         thread execution control.
17189         (gud-menu-map): New menu items to switch non-stop options.
17190         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
17191         (gdb-send): Mimic RET properly (bug 3794).
17193         * progmodes/gdb-mi.el (gdb-rules-name-maker)
17194         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
17195         gdb-buffer-rules.
17196         (def-gdb-auto-update-handler): New nopreserve optional argument.
17197         (gdb-stack-list-frames-custom): Print stack from top to bottom.
17199         * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
17200         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
17201         (gdb-parent-mode): New mode to derive other GDB modes from.
17202         (gdb-display-disassembly-for-thread)
17203         (gdb-frame-disassembly-for-thread): New commands for threads
17204         buffer.
17206         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
17207         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
17208         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
17209         (gdb-update): We now store all GDB buffers in a list so that they
17210         can be updated by traversing a list instead of calling invalidate
17211         triggers explicitly.
17212         (def-gdb-trigger-and-handler): New macro to define trigger-handler
17213         pair for GDB buffer.
17214         (gdb-stack-buffer-name): Add thread information.
17215         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
17216         handle pending triggers.
17217         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
17218         (def-gdb-thread-buffer-simple-command)
17219         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
17220         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
17221         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
17222         New commands which show buffers bound to thread.
17223         (gdb-stack-list-locals-regexp): Removed unused regexp.
17225         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
17226         (gdb-locals-buffer-name, gdb-registers-buffer-name)
17227         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
17228         to (gud-comint-buffer) in *-buffer-name functions
17229         because (gdb-get-target-string) already does that.
17230         (gdb-locals-handler-custom, gdb-registers-handler-custom)
17231         (gdb-changed-registers-handler): Rewritten without regexps.
17233         * progmodes/gdb-mi.el: Basic thread selection support.
17234         (gdb-thread-number): New variable.
17235         (gdb-current-context-command): New macro which adds --thread
17236         option to command.
17237         (gdb-threads-mode-map): Select thread with SPC.
17238         (gdb-thread-list-handler-custom): Mark current thread with overlay
17239         arrow.  Synchronize GDB thread and Emacs thread.
17240         (gdb-select-thread): New command which selects current thread.
17241         (gdb-invalidate-frames, gdb-invalidate-locals)
17242         (gdb-invalidate-registers): Use --thread option.
17244 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
17246         * net/tramp.el (top): Make check for tramp-gvfs loading more
17247         robust.  (Bug#3977)
17248         (tramp-handle-insert-file-contents): `unwind-protect' must be
17249         inside `with-parsed-tramp-file-name'.
17251         * net/tramp-gvfs.el (top): Remove superfluous message when loading
17252         fails.
17254 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
17256         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
17257         directory if CLASSPATH is not set.
17259 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
17261         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
17262         New defconst.
17263         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
17265 2009-08-02  Kevin Ryde  <user42@zip.com.au>
17267         * net/newst-backend.el (newsticker--raw-url-list-defaults):
17268         Update freshmeat link.  Delete newsforge.com as it seems gone.
17270 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
17272         * select.el (x-set-selection): Doc fix (Bug#4021).
17274         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
17276         * help-fns.el (describe-variable): Treat list return values from
17277         dir-locals-find-file properly (Bug#4005).
17279 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
17281         * net/tramp.el (tramp-debug-message): Print also microseconds.
17283 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
17285         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
17286         or END is non-nil.
17287         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
17288         (tramp-get-debug-buffer): Change `outline-regexp' according to new
17289         format.
17291         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
17292         (tramp-get-file-property): Use it.
17294         * autorevert.el (auto-revert-handler): Allow
17295         `auto-revert-tail-mode' for remote files.
17297 2009-08-02  Jason Rumney  <jasonr@gnu.org>
17299         * minibuffer.el (read-file-name): Treat confirm options to
17300         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
17302 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
17304         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
17305         (font-lock-variable-name-face, font-lock-constant-face): Darken
17306         the colors for light backgrounds.
17308 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
17310         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
17311         month names.  (Bug#3987)
17313 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
17315         * simple.el (line-move-finish): Pass whole number to
17316         line-move-to-column.
17317         (line-move-visual): Perform hscroll to the recorded position.
17319 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
17321         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
17323 2009-07-29  Alan Mackenzie  <acm@muc.de>
17325         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
17327 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
17329         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
17330         (gdb-place-breakpoints): Use full path when setting breakpoints.
17332 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
17334         * calc/calc.el (calc-mode-map): Add keybinding for
17335         `calc-transpose-lines'.
17337 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
17339         * calc/calc-misc.el (calc-transpose-lines): New function.
17341 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
17343         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
17344         Simplify check for out-of-band methods.
17345         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
17346         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
17348 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
17350         * vc-git.el (vc-git-checkin): Fix typo.
17352 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
17354         * progmodes/js2-mode.el: New file.
17356 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
17358         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
17359         (gud-menu-map): Adjust tooltip accordingly.
17361 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
17363         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
17364         (vc-bzr-log-view-mode): Adjust log-view-file-re.
17366         * add-log.el (change-log-mode-map): Add a menu.
17368 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
17370         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
17371         function returns nil.
17372         (dbus-handle-event): Handle special return value :ignore.
17373         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
17375 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
17377         * view.el (view-mode-enable): Don't define Helper-return-blurb if
17378         it's not needed.
17380 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
17382         Fix Bug#3888:
17384         * w32-vars.el (x-select-enable-clipboard): Doc fix.
17386         * term/pc-win.el (x-display-name, x-colors)
17387         (x-select-enable-clipboard, x-select-text): Doc fix.
17389         * term/common-win.el (x-display-name, x-colors): Doc fix.
17391         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
17392         (xw-defined-colors): Doc fix.
17394         * w32-fns.el (x-select-text, x-setup-function-keys)
17395         (x-get-selection, x-set-selection): Doc fix.
17397         * term/x-win.el (x-select-text, x-setup-function-keys)
17398         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
17400         * select.el (x-set-selection): Doc fix.
17402 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
17404         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
17405         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
17406         "IsNSSSupportAvailable" method is not available.  Reported by
17407         Steve Youngs <steve@sxemacs.org>.
17409 2009-07-24  Kenichi Handa  <handa@m17n.org>
17411         * international/characters.el: Fix setting of category ?C, ?|, ?K,
17412         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
17413         (build-unicode-category-table): Fix range checks.
17415 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
17417         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
17418         the buffer we try to sync is current when calling
17419         vc-resynch-buffer.
17421         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
17422         not show up to date files.
17424 2009-07-24  Glenn Morris  <rgm@gnu.org>
17426         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
17427         Add autoload cookies.  If necessary, initialize.
17428         (elint-log): Handle non-file buffers.
17429         (elint-initialize): Add optional argument to reinitialize.
17430         (elint-find-builtin-variables): Save excursion.
17432 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
17434         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
17435         for Lint.
17437 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
17439         * vc.el (vc-print-log-internal): New function, split out from ...
17440         (vc-print-log): ... here.
17441         (vc-dir-move-to-goal-column): Declare.
17443         * vc-git.el (vc-git-add-signoff): New variable.
17444         (vc-git-checkin): Use it.
17445         (vc-git-toggle-signoff): New function.
17446         (vc-git-extra-menu-map): Bind it to menu.
17447         (vc-git--run-command-string): Accept a nil FILE argument.
17448         (vc-git-stash-list): New function.
17449         (vc-git-dir-extra-headers): Use it.
17451 2009-07-23  Glenn Morris  <rgm@gnu.org>
17453         * help-fns.el (describe-variable): Describe ignored and risky local
17454         variables in a similar way to that in which we describe safe ones.
17456         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
17457         (byte-compile-output-file-form, byte-compile-output-docform)
17458         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
17459         Give some more local variables with common names a "bytecomp-" prefix,
17460         so as not to shadow things during compilation.
17461         * emacs-lisp/cl-macs.el (load-time-value)
17462         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
17463         `outbuffer' to `bytecomp-outbuffer'.
17465         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
17466         since the next two variables cover them automatically now.
17467         (elint-builtin-variables, elint-autoloaded-variables): New.
17468         (elint-unknown-builtin-args): Remove all members, since they can be
17469         parsed automatically now.
17470         (elint-extra-errors): New.
17471         (elint-env-add-env, elint-env-add-macro): Use cadr.
17472         (elint-current-buffer): Use or.  Change final message.
17473         (elint-get-top-forms): Use line-end-position.
17474         (elint-init-env): Use cadr.  Handle autoload, declare-function,
17475         and defalias.
17476         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
17477         (regexp-assoc): Remove unused function.
17478         (elint-top-form): Set elint-current-pos, to record the start of the
17479         top-level form, for compilation-mode.
17480         (elint-form): Trap errors in macro expansion.  Use dolist.
17481         (elint-unbound-variable): Use elint-builtin-variables and
17482         elint-autoloaded-variables.
17483         (elint-get-args): Use cadr, or.
17484         (elint-check-cond-form): Use dolist, cadr.
17485         (elint-check-condition-case-form): Doc fix.  Use cadr.
17486         Use elint-extra-errors.
17487         (elint-log): New function.
17488         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
17489         Distinguish errors and warnings.
17490         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
17491         Use a bytecomp-style format.
17492         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
17493         (elint-get-log-buffer): Use compilation mode.  Disable undo.
17494         Don't truncate lines.
17495         (elint-initialize): Set builtin and autoloaded variable lists.
17496         Only process elint-unknown-builtin-args if non-nil.
17497         (elint-find-builtin-variables, elint-find-autoloaded-variables):
17498         New functions.
17499         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
17501 2009-07-22  Kevin Ryde  <user42@zip.com.au>
17503         * net/newst-backend.el (newsticker--parse-atom-1.0)
17504         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
17505         (newsticker--parse-rss-1.0):
17506         * progmodes/idlwave.el (idlwave-mode):
17507         * progmodes/idlw-shell.el (idlwave-shell-mode):
17508         * progmodes/vera-mode.el (vera-mode):
17509         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
17510         * progmodes/vhdl-mode.el (vhdl-mode):
17511         * textmodes/table.el (table-generate-source)
17512         (table--warn-incompatibility):
17513         Hyperlink urls in docstrings with URL `...'.
17515 2009-07-22  Glenn Morris  <rgm@gnu.org>
17517         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
17518         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
17519         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
17520         Remove leading * from defcustom docs.
17522         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
17524         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
17525         defcustom doc.
17526         (list-load-path-shadows): Optionally, just return shadows as a string.
17528         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
17530 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
17532         * mail/rmailedit.el (rmail-edit-mode): Use
17533         auto-save-include-big-deletions.
17535         * mail/rmail.el (rmail-variables): Use
17536         auto-save-include-big-deletions.
17538         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
17539         changes.
17541 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
17543         * calc/calc.el (calc-undo-length): New variable.
17544         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
17546 2009-07-21  Richard Stallman  <rms@gnu.org>
17548         * files.el (auto-save-mode): Handle buffer-save-size = -2
17549         for toggling mode.
17551 2009-07-21  Glenn Morris  <rgm@gnu.org>
17553         * textmodes/ispell.el (ispell-looking-back): Update declaration.
17555         * calendar/todo-mode.el (calendar-current-date): Update declaration.
17557         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
17558         silence compiler.  Instead...
17559         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
17560         (ps-print-ensure-fontified): Update for above function name changes.
17562         * printing.el (pr-mh-get-msg-num, pr-mh-show)
17563         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
17564         silence compiler.  Instead...
17565         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
17566         (mh-show-buffer): Only define for compiler.
17567         (pr-mh-current-message): Update for above function name changes.
17569         * files.el (abort-if-file-too-large): Explicitly pass `filename'
17570         as an argument.
17571         (find-file-noselect, insert-file-1): Update for above change.
17573         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
17575         * mail/mailclient.el (mailclient-send-it): Fix message.
17577         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
17578         (edebug-eval): Check cl-debug-env is bound.
17579         (print-level, print-circle): Don't redefine built-in variables.
17581         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
17582         (custom-print-vectors): Remove old comments from doc.
17584         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
17585         (emerge-version): Make the variable an obsolete alias for the
17586         emacs-version variable.  Make the function obsolete.
17587         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
17588         Emerge options, rather than merging in into the main Options menu.
17589         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
17590         and auto advance modes.  Disable edit/fast items when not relevant.
17592 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
17594         * term/vt420.el (terminal-init-vt420): Fix typo.
17596 2009-07-20  Sam Steingold  <sds@gnu.org>
17598         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
17599         variable (removed from compile.el on 2004-03-11).
17601 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
17603         * files.el (hack-local-variables-filter): Fix last change.
17605 2009-07-19  Juri Linkov  <juri@jurta.org>
17607         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
17608         (dir-local-variables-alist): New buffer-local variable.
17609         (hack-local-variables-filter): If variable is not dir-local,
17610         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
17611         because file-local overrides dir-local.
17612         (c-postprocess-file-styles) <declare-function>:
17613         Remove obsolete declaration.
17614         (hack-dir-local-variables): Add dir-local variable/value pair to
17615         `dir-local-variables-alist' and remove duplicates.  Doc fix.
17617         * help-fns.el (describe-variable): Add information about
17618         file-local and dir-local variables.
17620 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
17622         * files.el (hack-local-variables-filter): Rewrite.
17624 2009-07-19  Glenn Morris  <rgm@gnu.org>
17626         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
17627         Silence compiler by only defining on XEmacs.
17629         * international/mule.el (auto-coding-regexp-alist): Only match
17630         BABYL... at the start of buffer, not of lines.  (Bug#3790)
17632         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
17633         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
17634         (cal-menu-context-mouse-menu): Doc fix.
17636         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
17638         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
17640 2009-07-18  Juri Linkov  <juri@jurta.org>
17642         * info.el: Virtual Info keyword finder.
17643         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
17644         (Info-finder-file): New variable.
17645         (Info-finder-find-file): New function.
17646         (finder-known-keywords, finder-package-info)
17647         (find-library-name, lm-commentary): Use defvar and
17648         declare-function to silence compiler warnings.
17649         (Info-finder-find-node): New function.
17650         (info-finder): New command.
17652         * subr.el (process-kill-buffer-query-function): New function.
17653         (add-hook)<kill-buffer-query-functions>: Add hook
17654         `process-kill-buffer-query-function'.
17656 2009-07-18  Alan Mackenzie  <acm@muc.de>
17658         * progmodes/cc-mode.el (c-before-hack-hook)
17659         (c-postprocess-file-styles): Give invocation of `c-set-style'
17660         DONT-OVERRIDE parameter of t.  Already set style variables will
17661         thus not be overridden by style settings given by `c-file-syle'.
17663         * files.el (hack-local-variables-filter): Remove entries with
17664         duplicate keys from `file-local-variables-alist'.
17666 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
17668         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
17669         x-set-selection if display-selections-p returns nil for the
17670         current frame.
17672 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
17674         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
17676 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
17678         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
17679         Accept nil in addition to a regexp.
17680         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
17681         Accept nil in addition to a regexp.
17682         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
17683         buffers that have an associated file.  Handle nil values of
17684         desktop-buffers-not-to-save and desktop-files-not-to-save.
17685         (Bug#3833)
17687         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17688         (x-disown-selection-internal): New functions.
17690 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
17692         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
17693         warning.
17694         (gdb-breakpoints-header): Move forward to avoid compiler warning.
17695         (gdb-make-header-line-mouse-map): Remove duplicate definition.
17697 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
17699         * simple.el (set-mark): Revert last change.
17701 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
17703         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
17704         rendering of pngs is not possible instead of messaging a long
17705         description.
17707 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
17709         * w32-fns.el (x-selection-owner-p): New function.
17711         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
17712         (mouse-yank-at-click, mouse-yank-primary): If
17713         select-active-regions is non-nil, deactivate the mark before
17714         insertion.
17716         * simple.el (deactivate-mark, set-mark): Only save selection if we
17717         own it.
17719 2009-07-17  Kenichi Handa  <handa@m17n.org>
17721         * case-table.el (describe-buffer-case-table): Fix for the case
17722         that KEY is a cons.
17724 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
17726         * vc-rcs.el (vc-rcs-find-file-hook):
17727         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
17729 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
17731         * net/tramp.el (tramp-wait-for-output): Handle the case when
17732         commands do not return a newline but a null byte before the shell
17733         prompt.  (Bug#3858)
17735 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
17737         * term/ns-win.el (ns-set-alpha): Don't declare.
17738         (ns-set-background-alpha): Remove function.
17740 2009-07-16  Kevin Ryde  <user42@zip.com.au>
17742         * emacs-lisp/copyright.el (copyright-update): Save match-data across
17743         y-or-n-p, for safety.
17745 2009-07-16  Richard Stallman  <rms@gnu.org>
17747         * files.el (auto-save-mode): If buffer-saved-size is -2,
17748         don't clobber it.
17750         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
17751         (rmail-retry-ignored-headers): Add more uninteresting fields.
17753 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
17755         * net/rcirc.el (rcirc): Use history variables.
17756         (rcirc-server-name-history, rcirc-nick-name-history)
17757         (rcirc-server-port-history): New variables.
17759 2009-07-15  Kenichi Handa  <handa@m17n.org>
17761         * international/mule-cmds.el (set-language-environment-charset):
17762         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
17763         ignore them.
17765         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
17766         Delete unibyte-display.
17768 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
17770         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
17772 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
17774         * simple.el (deactivate-mark): Optional argument FORCE.
17775         (set-mark): Use deactivate-mark.
17777         * info.el (Info-search): No need to check transient-mark-mode
17778         before calling deactivate-mark.
17780         * select.el (x-set-selection): Doc fix.
17781         (x-valid-simple-selection-p): Allow buffer values.
17782         (xselect--selection-bounds): Handle buffer values.  Suggested by
17783         David De La Harpe Golden.
17785         * mouse.el (mouse-set-region, mouse-drag-track): Call
17786         copy-region-as-kill before setting the mark, to let
17787         select-active-regions work.
17789 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
17791         * simple.el (deactivate-mark): If select-active-regions is
17792         non-nil, copy the selection data into a string.
17793         (activate-mark): If select-active-regions is non-nil, set the
17794         selection to the current buffer.
17795         (set-mark): Update selection if select-active-regions is non-nil.
17797         * select.el (x-valid-simple-selection-p): Allow buffer values.
17799 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17801         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
17802         and more featureful message-mode.
17804 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
17806         * select.el (x-set-selection): Doc fix.
17807         (x-valid-simple-selection-p): Disallow selection data consisting
17808         of a list or cons of integers, since that is not used.
17809         (xselect--selection-bounds, xselect--int-to-cons): New functions.
17810         (xselect-convert-to-string, xselect-convert-to-length)
17811         (xselect-convert-to-filename, xselect-convert-to-charpos)
17812         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
17814 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
17816         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
17817         output in -break-info command (Emacs bug #3794).
17819 2009-07-14  Glenn Morris  <rgm@gnu.org>
17821         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
17822         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
17823         (edebug-print-length, edebug-print-level, edebug-print-circle)
17824         (edebug-sit-for-seconds, edebug-view-outside)
17825         (edebug-bounce-point, edebug-set-global-break-condition)
17826         (edebug-Go-nonstop-mode, edebug-trace-mode)
17827         (edebug-Trace-fast-mode, edebug-continue-mode)
17828         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
17829         (edebug-visit-eval-list): Doc fixes.
17831         * subr.el (def-edebug-spec): Doc fix.
17833 2009-07-14  Kenichi Handa  <handa@m17n.org>
17835         * international/characters.el: Fix setting of category ?C.
17837 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
17839         * term/ns-win.el (x-select-font): defalias x-select-font to
17840         ns-popup-font-panel instead of generate-fontset-menu.
17842 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
17844         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
17846 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
17848         * arc-mode.el (archive-find-type): Allow for a PK00 string before
17849         the PK\003\004 header (Bug#3770).
17851 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
17853         * pcomplete.el (pcomplete-comint-setup): Check for
17854         shell-dynamic-complete-filename too.
17856 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
17858         * simple.el (temporary-goal-column): Change the value for
17859         line-move-visual to a cons cell.
17860         (line-move-visual): Record or set the window hscroll, if
17861         necessary (Bug#3494).
17862         (line-move-1): Handle cons value of temporary-goal-column.
17864 2009-07-11  Kenichi Handa  <handa@m17n.org>
17866         * international/mule-diag.el (describe-character-set): Don't show
17867         width.
17869 2009-07-10  Sam Steingold  <sds@gnu.org>
17871         * progmodes/compile.el (compilation-mode-font-lock-keywords):
17872         Omake sometimes indents the errors it prints, so allow all
17873         regexps to start with spaces.
17875 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
17877         * cus-edit.el (customize-changed-options-previous-release):
17878         Bump value to 22.1.  (Bug#3804)
17880 2009-07-08  Sam Steingold  <sds@gnu.org>
17882         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
17883         to be a cons cell (test . ignored-directory) to selectively ignore
17884         some directories depending on the location of the search.
17886 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
17888         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
17889         remote user is root, on the local host.
17890         (tramp-local-host-p): Either the local user or the remote user
17891         must be root.  (Bug#3771)
17893 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
17895         * progmodes/gdb-mi.el (gdb): Remove description of
17896         gdb-use-separate-io-buffer.
17897         (menu): Don't allow toggling of or enable
17898         gdb-use-separate-io-buffer from menubar.
17900 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
17902         * mail/unrmail.el (unrmail): Make sure the message ends with two
17903         newlines (Bug#3769).
17905 2009-07-08  Glenn Morris  <rgm@gnu.org>
17907         * calendar/calendar.el (calendar-current-date): Rework previous change.
17909 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
17911         * calendar/calendar.el (calendar-current-date):
17912         Add an optional argument giving an offset from today.
17914 2009-07-08  Glenn Morris  <rgm@gnu.org>
17916         * tutorial.el (tutorial--describe-nonstandard-key):
17917         Adjust the message for when a key has been unbound.
17918         (help-with-tutorial): Hide the arch-tag.
17920 2009-07-08  Kenichi Handa  <handa@m17n.org>
17922         * international/fontset.el (setup-default-fontset): For each
17923         script, append (not set) font-specs.
17925         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
17926         docstring.
17928 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
17930         * progmodes/gdb-mi.el (gdb-init-1): Move sending
17931         -data-list-register-names to ...
17932         (gdb-starting): ... here because GDB 7.0 requires execution to
17933         have started when using this MI command.
17934         (gdb-set-header): New function to distinguish select and
17935         unselected tabs in gdb buffers.
17936         (gdb-propertize-header): New macro that uses gdb-set-header.
17937         (gdb-breakpoints-header, gdb-locals-header): Use it.
17938         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
17940 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
17942         * Makefile.in (ELCFILES): Remove fadr.elc.
17944 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
17946         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
17947         may contain frame information, so `string-match' should be used.
17948         (gdb-update): Disassembly is invalidated through
17949         `gdb-get-selected-frame'.
17950         (gdb-pad-string): New function to pad string with spaces.
17951         (gdb-invalidate-disassembly): Invalidate only if the buffer
17952         exists.
17953         (gdb-disassembly-handler-custom): Column alignment.
17954         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
17955         placing new ones.
17956         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
17957         end of line, too.
17958         (gdb-frame-handler): Match convention to for disassembly buffer
17959         mode name.
17960         (gdb-stack-list-frames-handler): Rewritten without regexps.
17961         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
17962         not highlight breakpoints without line information.
17963         (gdb-input): Add trailing newline to command.
17965         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
17966         buffer properly.
17967         (gdb-breakpoints-list-handler-custom): Replacement for
17968         `gdb-break-list-handler'.  Using real parser instead of regexps
17969         now.
17970         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
17971         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
17972         to place breakpoints.
17973         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
17974         functions.
17975         (gdb-disassembly-handler-custom): Show overlay arrow.
17976         (gdb-disassembly-place-breakpoints): Show breakpoints in
17977         disassembly buffer.
17978         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
17979         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
17980         instead of parsing breakpoints buffer.  Fixed old menu references
17981         in `gud-menu-map'.
17983         * fadr.el: Remove.
17985         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
17986         (gdb-memory-address): New variable which holds top address of
17987         memory page shown in memory buffer.
17988         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
17989         customization variables.
17990         New functions:
17991         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
17992         display the memory buffer.
17993         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
17994         buffer display parameters.
17995         (def-gdb-memory-format, gdb-memory-format-binary)
17996         (gdb-memory-format-octal, gdb-memory-format-unsigned)
17997         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
17998         Functions for setting memory buffer format.
17999         (gdb-memory-unit-word, gdb-memory-unit-halfword)
18000         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
18001         unit size used in memory buffer.
18002         (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
18003         to next/previous page of memory buffer.
18004         Now using (bindat-get-field) instead of fadr functions.
18006 2009-07-07  Sam Steingold  <sds@gnu.org>
18008         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
18009         non-top-level files.
18011 2009-07-07  Kenichi Handa  <handa@m17n.org>
18013         * international/mule-cmds.el (reset-language-environment): Put
18014         the highset priority to the charset iso-8859-1.
18016 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
18018         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
18019         to the end of the line when locating the block (Bug#700).
18021 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
18023         * net/tramp.el (tramp-handle-write-region): Flush file properties
18024         in case of short track.
18026 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
18028         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
18029         Coded custom representation of verilog error regular expressions
18030         to work with Emacs-22's new format.
18031         (verilog-error-regexp-xemacs-alist): Coded custom representation
18032         of verilog error regular expressions to work with XEmacs format.
18033         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
18034         error recognition into XEmacs.
18035         (verilog-error-regexp-add-emacs): Hook routine to install verilog
18036         error recognition into Emacs-22.
18038 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
18040         * woman.el: Remove stand-alone closing parentheses.
18041         (woman-file-name, woman2-format-paragraphs)
18042         (woman-leave-blank-lines): Code cleanup.
18043         (woman-use-own-frame): Change default to nil.
18044         (woman-italic, woman-bold, woman-unknown, woman-addition): Change
18045         defaults to inherit from default faces.
18046         (woman2-process-escapes): Consume the newline after a stand-alone
18047         filler character (Bug#3651).
18049 2009-07-06  Glenn Morris  <rgm@gnu.org>
18051         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
18052         (top-level): Move provide to the end.
18053         (ffap): Remove defunct URL from custom group.
18055         * subr.el (eval-after-load): Doc fix.
18057 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
18059         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
18060         `calc-embedded-word' is called twice.
18062 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18064         * files.el (find-alternate-file-other-window, find-alternate-file):
18065         Obey confirm-nonexistent-file-or-buffer.
18067 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
18069         * dired-aux.el (dired-show-file-type): Handle remote files.
18071 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
18073         * desktop.el (desktop-globals-to-save):
18074         Add file-name-history (Bug#2750).
18076 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
18078         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
18080 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
18082         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
18083         property on entire argument since this is what eshell-lisp-command
18084         expects.
18086 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
18088         * net/tramp-gvfs.el (tramp-gvfs-methods)
18089         (tramp-gvfs-zeroconf-domain)
18090         (tramp-bluez-discover-devices-timeout): Add version flag.
18091         (tramp-gvfs-handler-mounted-unmounted)
18092         (tramp-gvfs-connection-mounted-p): Polish handling of
18093         incompatibilities between GVFS 0.2 and 1.0.
18095 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
18097         * cus-start.el (all): Add make-pointer-invisible.
18099 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
18101         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
18102         formatted correctly.
18104 2009-07-02  Juri Linkov  <juri@jurta.org>
18106         * info.el: Virtual Info files and nodes.
18107         (Info-virtual-files, Info-virtual-nodes): New variables.
18108         (Info-current-node-virtual): New variable.
18109         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
18110         New functions.
18111         (Info-file-supports-index-cookies): Use Info-virtual-file-p
18112         to check for a virtual file instead of checking a fixed list
18113         of node names.
18114         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
18115         instead of ad-hoc processing of "dir" and (apropos history toc).
18116         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
18117         instead of ad-hoc processing of "dir" and (apropos history toc).
18118         Reread a file when moving from a virtual node.
18119         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
18120         (Info-directory-toc-nodes, Info-directory-find-file)
18121         (Info-directory-find-node): New functions.
18122         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
18123         (Info-history): Move part of code to
18124         `Info-history-find-node'.
18125         (Info-history-toc-nodes, Info-history-find-file)
18126         (Info-history-find-node): New functions.
18127         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
18128         (Info-toc): Move part of code to `Info-toc-find-node'.
18129         (Info-toc-find-node): New function.
18130         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
18131         the current Info file name to references because now the node
18132         "*TOC*" belongs to the same Info manual.
18133         (Info-toc-build): Rename from `Info-build-toc'.
18134         (Info-toc-nodes): Rename input argument `file' to `filename'.
18135         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
18136         instead of ad-hoc processing of ("dir" apropos history toc).
18137         (Info-index-nodes): Use Info-virtual-file-p
18138         to check for a virtual file instead of checking a fixed list
18139         of node names.
18140         (Info-index-node): Add check for `Info-current-node-virtual'.
18141         Raise `save-match-data' higher up the tree to contain
18142         `search-forward' too (bug fix).
18143         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
18144         (Info-virtual-index-nodes): New variable.
18145         (Info-virtual-index-find-node, Info-virtual-index): New functions.
18146         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
18147         (Info-apropos-file, Info-apropos-nodes): New variables.
18148         (Info-apropos-toc-nodes, Info-apropos-find-file)
18149         (Info-apropos-find-node, Info-apropos-matches): New functions.
18150         (info-apropos): Move part of code to `Info-apropos-find-node' and
18151         `Info-apropos-matches'.
18152         (Info-mode-map): Bind "I" to `Info-virtual-index'.
18153         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
18154         for a virtual file instead of checking a fixed list of node names.
18156         * simple.el (async-shell-command): New command.
18158         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
18160         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
18161         instead of `mount-info'.
18163 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
18165         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
18166         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
18168 2009-07-02  Kenichi Handa  <handa@m17n.org>
18170         * international/mule.el (set-keyboard-coding-system): Force *-unix
18171         coding-system to avoid eol conversion.
18173 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
18175         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
18176         Add handler for `process-file', `shell-command' and
18177         `start-file-process'.
18178         (tramp-gvfs-handle-shell-command)
18179         (tramp-gvfs-handle-start-file-process)
18180         (tramp-gvfs-handle-process-file): New defuns.
18181         (tramp-synce-list-devices): Simplify check for existence of property.
18183 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
18185         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
18187 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
18189         * language/korean.el (set-language-info-alist): Add korean-cp949,
18190         cp949 to spec.
18192 2009-07-01  Kenichi Handa  <handa@m17n.org>
18194         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
18196         * international/encoded-kb.el: Deleted.
18198         * international/mule.el (set-keyboard-coding-system): Perform the
18199         necessary setup here instead of calling encoded-kbd-setup-display.
18201 2009-07-01  Glenn Morris  <rgm@gnu.org>
18203         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
18205 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
18207         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
18209 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
18211         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
18212         Handle also the 'rename case, when setting file modes.  (Bug#3712)
18213         (tramp-default-file-modes): Remove execute permissions.
18215         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
18216         (top): Add a default for "synce" in `tramp-default-user-alist'.
18217         Add completion function for "synce" method.
18218         (tramp-hal-service, tramp-hal-path-manager)
18219         (tramp-hal-interface-manager, tramp-hal-interface-device):
18220         New defconst.
18221         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
18222         (tramp-synce-list-devices, tramp-synce-parse-device-names):
18223         New defuns.
18225         * net/trampver.el: Update release number.
18227 2009-06-30  Kenichi Handa  <handa@m17n.org>
18229         * international/fontset.el (setup-default-fontset): Add CJK fonts
18230         for symbols and the other miscellaneous characters.
18232         * language/korea-util.el (setup-korean-environment-internal):
18233         Make char-width-table suitable for Korean environments.
18234         (exit-korean-environment): Cancel above.
18236         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
18237         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
18238         setup-function to make char-width-table suitable for respective
18239         environments, and an exit-function to cancel that.
18241         * language/japan-util.el (setup-japanese-environment-internal):
18242         Call use-cjk-char-width-table with arg `ja_JP'.
18244         * international/characters.el (cjk-char-width-table): Delete it.
18245         (cjk-char-width-table-list): New variable.
18246         (use-cjk-char-width-table): New arg local-name.
18247         (use-default-char-width-table): Fix for the case that Emacs is
18248         already using the default char-width-table.
18250 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
18252         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
18253         modes mandatory.  (Bug#3712)
18255 2009-06-29  Alan Mackenzie  <acm@muc.de>
18257         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
18258         correction between the visible width of TABs and their number of bytes.
18260 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
18262         * server.el (server-buffer-done): Prevent kill-buffer from
18263         prompting by clearing the buffer modification flag (Bug#3696).
18265 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
18267         * progmodes/verilog-mode.el (verilog-beg-of-statement)
18268         (verilog-endcomment-reason-re): Support unique case and priority case.
18269         (verilog-basic-complete-re): Support localparam lineup.
18270         (verilog-beg-of-statement-1): Fix for robustness, unique case.
18271         (verilog-set-auto-endcomments): Fix for unique case, always_comb
18272         commenting.
18273         (verilog-leap-to-case-head): Now support *nested* unique &
18274         priority case statements.
18275         (verilog-auto-lineup): Make just declarations the default (as it
18276         had been).
18277         (verilog-leap-to-case-head): Support priority/unique case statements.
18278         (verilog-auto-lineup): Rework to give users radio buttons to
18279         select the various styles of automatic lineup.
18280         (verilog-error-regexp-alist): Rework to support the XEmacs style
18281         of error regular expressions from compilers, lint tools &
18282         simulators.  Note that GNU Emacs has made it impossible for a mode
18283         to load such things.
18284         (electric-verilog-terminate-line, verilog-indent-declaration)
18285         (verilog-auto-wiure): Rework for radio button selection of
18286         auto-lineup selection of specification of auto lineup.
18287         (verilog-beg-of-statement-1): Redesign to support proper operation
18288         in additional code, based on testing with auto-lineup.
18289         (verilog-calculate-indent, assignments & declarations)
18290         (verilog-backward-token): Enhance to support auto-lineup of
18291         assignments & declarations.
18292         (verilog-in-directive-p, verilog-at-struct-p): New function for
18293         easy test of whether we are.
18294         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
18295         to support safe execution at almost anyline.
18296         (verilog-calc-1): Properly support indenting deep inside generate
18297         blocks.
18298         (verilog-init-font): Remove definition & use of verilog-init-font,
18299         as it is redundant with font-lock-defaults.
18300         (verilog-mode): Alter the definition of verilog-font-lock-defaults
18301         to avoid circular calls if syntax-ppss is a function (as is the
18302         case now in 22.x GNU Emacs) as that function would sometimes call
18303         itself, leading to (nearly) infinite recursion.
18304         (verilog-ovm-begin-re, verilog-ovm-end-re)
18305         (verilog-ovm-statement-re, verilog-leap-to-head)
18306         (verilog-backward-token): Add support for OVM macros.  Some are
18307         complete statements, and others open and close scopes like begin
18308         and end.
18309         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
18310         (verilog-defun-level-generate-only-re): Really fix the defun-list
18311         compilation issue.
18312         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
18313         coverpoint, constraint and cross statements.
18314         (verilog-defun-level-list, verilog-generate-defun-level-list)
18315         (verilog-all-defun-level-list): Redo these specifications - it is
18316         too hard to support eval-when compile aggregation of lists also
18317         built at when-compile time.
18318         (verilog-defun-level-list): Place defconsts of variables used in
18319         building regular expressions which are built in eval-when-compile
18320         bodies in the same eval-when-compile body to facilitate compile
18321         without load.
18322         (verilog-beg-block-re-ordered): Support indenting
18323         virtual/protected tasks and functions.
18324         (verilog-defun-level-list, verilog-in-generate-region-p)
18325         (verilog-backward-ws&directives, verilog-calc-1): Speed up
18326         indentation of some module items (generate items).
18327         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
18328         across virtual/protected tasks and functions.
18330 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
18332         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
18333         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
18334         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
18335         in concatenations.  Reported by Yishay Belkind.
18336         (verilog-auto-ascii-enum): Support one-hot state machines in
18337         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
18338         (verilog-auto-inst, verilog-auto-inst-port): Include interface
18339         modport in AUTOINST and add vl-modport for users.  Reported by
18340         David Rogoff.
18341         (verilog-auto-inout-module, verilog-auto-inst)
18342         (verilog-decls-get-interfaces, verilog-insert-definition)
18343         (verilog-insert-one-definition, verilog-read-decls)
18344         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
18345         (verilog-sig-modport, verilog-signals-combine-bus)
18346         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
18347         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
18348         Suggested by David Rogoff.
18349         (verilog-repair-open-comma): Fix non-insertion of comma when
18350         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
18351         (verilog-make-width-expression): Simplify [A-1:0] expression
18352         widths to just {A{1'b0}}.
18353         (verilog-mode): Cleanup checkdoc warnings.
18354         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
18355         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
18356         inputs/outputs or data type.  Suggested by Vasu Kandadi.
18357         (next-error-last-buffer): Fix byte-compiler warning.
18358         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
18359         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
18360         or shell command text during AUTO expansion.  Suggested by Tad Truex.
18361         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
18362         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
18363         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
18364         in AUTOINOUT.  Reported by Matthew Lovell.
18365         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
18366         causing use of <= assignments.  Reported by Alex Reed.
18367         (verilog-read-decls): Fix triand, trior, wand, wor to be
18368         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
18369         (verilog-extended-complete-re): Support import "DPI-C" functions.
18370         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
18371         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
18372         (verilog-insert-date, verilog-insert-year)
18373         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
18374         Windows systems.  Reported by Michael Potts.
18375         (verilog-read-module-name): Fix AUTOINST when the child module
18376         declaration's name is a tick define.  Reported by Elliot Mednick.
18377         (verilog-read-decls): Fix V2K parameter bit subscripts getting
18378         passed to next parameter's definition.  Reported by Bruce T.
18379         (verilog-read-decls): Fix detecting "parameter int" when using
18380         AUTOINSTPARAM.  Reported by Bruce T.
18381         (verilog-goto-defun): Fix goto not finding modules unless first
18382         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
18383         (verilog-mode): Expand -f flag arguments on entry to mode so
18384         verilog-goto-defun will work.  Reported by Lawrence Butcher.
18385         (verilog-getopt): Expand environment variables in -f file
18386         arguments.  Suggested by Lawrence Butcher.
18387         (verilog-set-define): Fix "Symbol's value as variable is void"
18388         when reading enumerations.
18389         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
18390         Suggested by Stephen Peltan.
18391         (verilog-read-defines): Fix reading of enumerations in include
18392         files.  Reported by Steve Peltan.
18394 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
18396         * files.el (trash-directory): Fix defcustom type.
18398 2009-06-28  Juri Linkov  <juri@jurta.org>
18400         * help-fns.el (describe-function-1): Correctly locate adviced
18401         functions in hyperlink (Bug#2438).
18403 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
18405         * files.el (trash-directory): Change default to nil.
18406         (move-file-to-trash): If trash-directory is nil and
18407         system-move-file-to-trash is unbound, perform freedesktop-style
18408         trashing.
18410 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
18412         * files.el (move-file-to-trash): Add freedesktop trash
18413         support (Bug#973).
18415 2009-06-28  Glenn Morris  <rgm@gnu.org>
18417         * autorevert.el (global-auto-revert-non-file-buffers)
18418         (global-auto-revert-mode): Doc fixes.
18420 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
18422         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
18424 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
18426         * faces.el (x-handle-named-frame-geometry): Ensure that we have
18427         opened an X connection before calling x-get-resource (Bug#3194).
18429         * play/doctor.el: Remove reference to obsolete website.
18430         (make-doctor-variables): Correct grammar mistake (Bug#2633).
18432 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
18434         Remove find-file-not-found-hook VC method.  (Bug#2757)
18435         * vc-hooks.el (vc-file-not-found-hook)
18436         (vc-default-find-file-not-found-hook): Remove functions.
18437         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
18438         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
18439         * vc.el:
18440         * vc-hg.el:
18441         * vc-git.el: Do not mention find-file-not-found-hook VC method.
18443 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
18445         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
18446         compatibility function for `looking-back'.
18448         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
18449         Use `ispell-looking-back'.
18451 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
18453         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
18454         rather than `filename'.
18456 2009-06-23  Miles Bader  <miles@gnu.org>
18458         * face-remap.el (text-scale-set): New function.
18460 2009-06-23  Glenn Morris  <rgm@gnu.org>
18462         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
18464         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
18466         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
18468         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
18470         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
18471         Simplify Persian conditionals.
18473         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
18474         variable `filename'.
18476         * comint.el (comint-insert-input): Doc fix.
18478         * Makefile.in (ELCFILES): Fix typo in previous change.
18480 2009-06-23  Miles Bader  <miles@gnu.org>
18482         * cus-start.el: Add entry for `recenter-redisplay'.
18484 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
18486         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
18487         Add an optional argument for the backend, use it instead of
18488         calling vc-backend.
18489         (vc-mode-line): Add an optional argument for the backend.
18490         Pass the backend to vc-state and vc-working-revision.  Move code for
18491         special handling for vc-state being a buffer to ...
18493         * vc-rcs.el (vc-rcs-find-file-hook):
18494         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
18496         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
18497         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
18498         vc-stay-local-p and vc-mode-line calls.
18500         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
18501         (vc-cvs-diff, vc-cvs-annotate-command)
18502         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
18503         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
18504         vc-mode-line calls.
18506         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
18507         direct comparison.
18508         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
18509         backend when calling vc-mode-line.
18510         (vc-register): Do not create a closure for calling the vc register
18511         function, call it directly.
18513 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
18515         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
18516         to make it obvious item can be clicked.
18518         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
18520 2009-06-23  Kenichi Handa  <handa@m17n.org>
18522         * language/korea-util.el (korean-key-bindings): Change the binding
18523         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
18524         same command.
18526 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
18528         Sync with Tramp 2.1.16.
18530         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
18532         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
18533         when a loading of a package fails.  Completion function for rsync
18534         is `tramp-completion-function-alist-ssh'.
18535         (all): Replace all calls of `split-string' and
18536         `tramp-split-string' by `tramp-compat-split-string'.
18537         (tramp-default-method): Use `tramp-compat-process-running-p'.
18538         (tramp-default-proxies-alist): Allow also Lisp forms.
18539         (tramp-remote-path): Add choice "Private Directories".
18540         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
18541         (tramp-domain-regexp): Allow also "-", "_" and ".".
18542         (tramp-end-of-output): Remove newlines, and add "$" at the end.
18543         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
18544         (tramp-debug-message): Insert header line in debug buffer.
18545         (tramp-handle-directory-files-and-attributes-with-stat):
18546         Care about filenames with spaces, or starting with "-".
18547         (tramp-handle-dired-uncache): New defun.
18548         (tramp-handle-insert-directory): Don't flush the directory from
18549         cache, this is handled by `dired-uncache' now.
18550         (tramp-handle-insert-file-contents): Improve error handling.
18551         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18552         Quote `tramp-end-of-output'.
18553         (tramp-action-password): Improve trace message.
18554         (tramp-check-for-regexp): Both echoes must be present, before removing.
18555         (tramp-open-connection-setup-interactive-shell): Trace coding system.
18556         (tramp-compute-multi-hops): Eval cons cells of
18557         `tramp-default-proxies-alist'.
18558         (tramp-maybe-open-connection): Use the same command pattern for
18559         first hop and further hops.
18560         (tramp-wait-for-output): Remove handling of newlines.
18561         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
18562         (tramp-split-string): Remove function.  It is handled in
18563         tramp-compat now.
18565         * net/tramp-cmds.el (tramp-bug):
18566         Recommend `tramp-cleanup-all-connections' in the bug mail.
18568         * net/tramp-compat.el (tramp-compat-split-string)
18569         (tramp-compat-process-running-p): New defuns.
18571         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
18572         for `dired-uncache'.
18574         * net/tramp-gvfs.el: New package.
18576         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
18577         Add handler for `dired-uncache'.
18578         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
18580         * net/trampver.el: Update release number.  Make version check fit
18581         for SXEmacs 22.
18583 2009-06-22  Jim Meyering  <meyering@redhat.com>
18585         Automatically handle .xz suffix (XZ-compressed files), too.
18586         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
18587         XZ is the successor to LZMA: <http://tukaani.org/xz/>
18589 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
18590             Nick Roberts  <nickrob@snap.net.nz>
18592         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
18593         repository (http://sphinx.net.ru/hg/gdb-mi/).
18595 2009-06-22  Glenn Morris  <rgm@gnu.org>
18597         * files.el (dir-locals-collect-mode-variables): Allow for any number of
18598         `mode' and `eval' entries.  (Bug#3430)
18600         * Makefile.in (ELCFILES): Add fadr.elc.
18602         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
18603         differing behavior of \n and ^ in strings.  (Bug#3385)
18605         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
18607         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
18608         property.
18609         (lisp-indent-function): Make it a defcustom.
18611 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
18613         * progmodes/gdb-ui.el: Replace with ...
18614         * progmodes/gdb-mi.el: ... this file.
18615         * progmodes/gud.el: Modify for gdb-mi.el.
18617 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
18619         * fadr.el: New file.
18621 See ChangeLog.14 for earlier changes.
18623 ;; Local Variables:
18624 ;; coding: utf-8
18625 ;; End:
18627   Copyright (C) 2009, 2010  Free Software Foundation, Inc.
18629   This file is part of GNU Emacs.
18631   GNU Emacs is free software: you can redistribute it and/or modify
18632   it under the terms of the GNU General Public License as published by
18633   the Free Software Foundation, either version 3 of the License, or
18634   (at your option) any later version.
18636   GNU Emacs is distributed in the hope that it will be useful,
18637   but WITHOUT ANY WARRANTY; without even the implied warranty of
18638   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18639   GNU General Public License for more details.
18641   You should have received a copy of the GNU General Public License
18642   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.