Fix dired-pop-to-buffer
[emacs.git] / lisp / ChangeLog
blob0dcfc47d4609b8c86bb553761f37d97a22e2f656
1 2011-01-09  Martin Rudalics  <rudalics@gmx.at>
3         * dired.el (dired-pop-to-buffer): Call
4         pop-to-buffer-same-frame-other-window.
6 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
8         * subr.el (read-char-choice): Use read-key.
10         * custom.el (custom-safe-themes): Rename from
11         custom-safe-theme-files.  Add :risky tag.
12         (load-theme, custom-theme-load-confirm): Save sha1 hashes to
13         custom-safe-themes, not filenames.  Suggested by Stefan Monnier.
15 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
17         * tool-bar.el (tool-bar-setup): Remove Help button.  Remove label
18         from Search and add a label to Undo.
20         * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
21         inappropriate buttons and adding :vert-only tags.
23         * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
24         removal of Help tool-bar button.  Remove Undo button for space.
26         * info.el (info-tool-bar-map): Add :vert-only tags.
28 2011-01-08  Martin Rudalics  <rudalics@gmx.at>
30         * net/ange-ftp.el (ange-ftp-error): Use
31         pop-to-buffer-same-frame-other-window.
33         * vc/log-edit.el (log-edit-show-files): Use
34         pop-to-buffer-same-frame.
36         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame): Remove.
38         * vc/pcvs.el (cvs-cmd-do, cvs-quickdir): Do not bind
39         pop-up-windows.
40         (cvs-do-removal): Call pop-to-buffer-same-frame.
42         * vc/vc-dir.el (vc-dir): Do not bind pop-up-windows.
44 2011-01-08  Tassilo Horn  <tassilo@member.fsf.org>
46         * doc-view.el (doc-view-mode-p): Check for png or imagemagick
47         image backend support.  Either of them is fine.
49 2011-01-08  Chong Yidong  <cyd@stupidchicken.com>
51         * subr.el (y-or-n-p): Doc fix.
53         * custom.el (custom-safe-theme-files): New defcustom.
54         (custom-theme-load-confirm): New function.
55         (load-theme): Load theme using `load', confirming with
56         custom-theme-load-confirm if necessary.
58         * subr.el (read-char-choice): New function, factored out from
59         dired-query and hack-local-variables-confirm.
61         * dired-aux.el (dired-query):
62         * files.el (hack-local-variables-confirm): Use it.
64         * dired-aux.el (dired-compress-file):
65         * files.el (abort-if-file-too-large, find-alternate-file)
66         (set-visited-file-name, write-file, backup-buffer)
67         (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
68         (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
69         Use new format string args for y-or-n-p and yes-or-no-p.
71 2011-01-08  Andreas Schwab  <schwab@linux-m68k.org>
73         * progmodes/compile.el (compilation-error-regexp-alist-alist)
74         [gcc-include]: Tighten file name match, add match for column
75         number.  (Bug#7806)
76         [gnu]: Remove unused group.
78 2011-01-08  Glenn Morris  <rgm@gnu.org>
80         * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
82         * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
84 2011-01-07  Martin Rudalics  <rudalics@gmx.at>
86         * buff-menu.el (Buffer-menu-switch-other-window): Use
87         display-buffer-same-frame-other-window.
88         (Buffer-menu-2-window): Use
89         pop-to-buffer-same-frame-other-window.
91         * progmodes/compile.el (compilation-start): Use
92         pop-up-window-set-height specifier.
93         (compilation-goto-locus): Rewrite window-setup code with new
94         display method specifiers.
96         * vc/ediff-mult.el (ediff-collect-custom-diffs)
97         (ediff-meta-show-patch): Use display-buffer-other-window.
99         * files.el (ctl-x-5-map): Remove binding for
100         display-buffer-other-frame.
102         * frame.el (pop-up-frame-alist, pop-up-frame-function)
103         (special-display-frame-alist): Update obsolescence declaration.
105         * mail/reporter.el (reporter-submit-bug-report): Adapt to new
106         display specifiers.
108         * man.el (Man-notify-when-ready): Use
109         display-buffer-other-window.
111         * pcomplete.el (pcomplete-show-completions): Use
112         display-buffer-other-window.
114         * ps-print.el (ps-line-lengths-internal, ps-nb-pages): Use
115         display-buffer-other-window.
117         * term.el (term-display-buffer-line): Call
118         display-buffer-other-window.
120         * window.el (window-child-count): New function.
121         (walk-window-tree-1, walk-window-tree, walk-window-subtree):
122         Move them here.
123         (windows-with-parameter, window-with-parameter)
124         (window-atom-root, make-window-atom, window-atom-check-1)
125         (window-atom-check): New functions.
126         (window-sides-vertical, window-sides-slots, window-sides-alist):
127         New options.
128         (window-side-check, window-check): New functions.
129         (composite-window-p, composite-root-window-p)
130         (composite-main-window-p, composite-support-window-p)
131         (composite-root-window, composite-major-window)
132         (composite-main-sibling, composite-lowest-child-role)
133         (compound-window-p, compound-main-window-p)
134         (compound-root-window, group-window-p, group-root-window): Remove,
135         their functionality is now provided by atomic and side windows.
136         (other-window): Check other-window-function parameter and rewrite
137         handling of no-other-window parameter.
138         (window-deletable-p, delete-window, delete-other-windows)
139         (split-window): Handle ignore-window-parameters, atomic and side
140         windows.  Call window-check.
141         (make-compound-window, make-window-group, make-support-window):
142         Remove, replaced by atomic and side windows.
143         (display-buffer-names, display-buffer-regexps): Remove, replaced
144         by display-buffer-alist.
145         (display-buffer-method-specifiers)
146         (display-buffer-macro-specifiers): New constants.
147         (display-buffer-default-specifiers): Rewrite.
148         (display-buffer-alist): New variable.
149         (display-buffer-other-window-specifiers)
150         (display-buffer-same-frame-specifiers)
151         (display-buffer-other-window-same-frame-specifiers)
152         (display-buffer-other-frame-specifiers): Rewrite with new
153         display specifiers.
154         (display-buffer-function, display-buffer-window)
155         (display-buffer-even-sizes, display-buffer-select-window, display-buffer-in-window):
156         Rewrite doc-string.
157         (display-buffer-set-height): Rename from display-buffer-adjust-height.
158         (display-buffer-set-width): Rename from display-buffer-adjust-width.
159         (display-buffer-in-window): Install no-other-window parameter if
160         required.
161         (display-buffer-reuse-window): New function.
162         (display-buffer-split-window-1, display-buffer-split-window):
163         Rewrite.
164         (display-buffer-split-atom-window, display-buffer-pop-up-window)
165         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window):
166         New functions.
167         (display-buffer-normalize-specifiers-1)
168         (display-buffer-normalize-specifiers, display-buffer
169         (display-buffer-same-window, display-buffer-same-frame)
170         (display-buffer-other-window)
171         (display-buffer-same-frame-other-window, pop-to-buffer)
172         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
173         (pop-to-buffer-other-window)
174         (pop-to-buffer-same-frame-other-window)
175         (pop-to-buffer-other-frame): Rewrite using new display
176         specifiers.
177         (special-display-regexps, special-display-function)
178         (same-window-buffer-names, same-window-regexps, pop-up-frames)
179         (display-buffer-reuse-frames, pop-up-windows)
180         (split-window-preferred-function, split-height-threshold)
181         (split-width-threshold, even-window-heights)
182         (display-buffer-mark-dedicated): Rewrite obsolete declarations.
183         (special-display-p, same-window-p): Rewrite with new display
184         specifiers.
186 2011-01-07  Sam Steingold  <sds@gnu.org>
188         * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
189         the `explicit-shell-file-name' because that is the
190         non-interactive shell.
192 2011-01-07  Chong Yidong  <cyd@stupidchicken.com>
194         * subr.el (y-or-n-p): Accept format string args.
196 2011-01-07  Glenn Morris  <rgm@gnu.org>
198         * Makefile.in (EMACSOPT): Add --no-site-lisp.
200 2011-01-06  Ken Manheimer  <ken.manheimer@gmail.com>
202         * allout.el (allout-back-to-current-heading): Ensure return to
203         the visible containing topic, rather than a collapsed one.
204         (allout-view-change-hook): Remove hook that was deprecated long ago.
205         (allout-exposure-change-hook): Remove documentation remarks
206         concerning removed allout-view-change-hook.
207         (allout-flag-region): Remove invocation of and documentation
208         remarks concerning allout-view-change-hook.
210 2011-01-06  Glenn Morris  <rgm@gnu.org>
212         * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
213         (vc-bzr-annotate-extract-revision-at-line):
214         Handle authors with embedded spaces.  (Bug#7792)
216 2011-01-05  Tassilo Horn  <tassilo@member.fsf.org>
218         * doc-view.el (doc-view-image-width): New variable.
219         (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
220         backend for PNG images, and do dynamic rescaling instead of
221         reconverting the whole doc.
223 2011-01-05  Glenn Morris  <rgm@gnu.org>
225         * emacs-lisp/rx.el (rx-repeat): Replace CL function.
227 2011-01-04  Ken Manheimer  <ken.manheimer@gmail.com>
229         * allout.el: Reconcile with changes in line movement behavior for
230         long text lines that cross more than a single physical window
231         line, ie when truncate-lines is nil.
232         (allout-next-visible-heading): Provide for change in line-move
233         behavior on long lines when truncate-lines is nil.  In that case,
234         line-move can wind up on the same textual line when it moves to
235         the next window line, and moving to the bullet position after the
236         move yields zero advancement.  Add logic to detect and compensate
237         for the lack of progress.
238         (allout-current-topic-collapsed-p): move-end-of-line respect for
239         field boundaries is different when operating with body lines
240         shorter than window width versus ones greater than window width,
241         which can yield false negatives in this function.  Avoid
242         difference by applying move-end-of-line while field-text-motion is
243         inhibited.
245 2011-01-04  Glenn Morris  <rgm@gnu.org>
247         * textmodes/rst.el (rst-compile-toolsets):
248         Add pdf and s5 to option alist.
250 2011-01-04  Jan Moringen  <jan.moringen@uni-bielefeld.de>
252         * net/dbus.el (dbus-register-property): Added optional parameter
253         dont-register-service.  Updated docstring accordingly.
255 2011-01-04  Andreas Schwab  <schwab@linux-m68k.org>
257         * textmodes/rst.el (rst-compile-pdf-preview)
258         (rst-compile-slides-preview): Remove extra line.
260 2011-01-04  Glenn Morris  <rgm@gnu.org>
262         * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
263         Add `pdf' and `s5' entries.  Use `prog.py' if found, otherwise
264         default to `prog' without a .py extension.
265         (rst-compile-pdf-preview, rst-compile-slides-preview):
266         Use program names from rst-compile-toolsets, rather than hard-coding.
267         (rst-portable-mark-active-p): Fix presumed typo.
269 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
271         * term/w32-win.el (dynamic-library-alist): Set up correctly for
272         libpng versions both before and after 1.4.0.  (Bug#7716)
274 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
276         * time.el (display-time-mode): Mention display-time-interval in
277         the doc string.  (Bug#7713)
279 2011-01-02  Kenichi Handa  <handa@m17n.org>
281         * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
282         condition-case and return an error message string if something
283         goes wrong.
284         (rmail-show-mime): Adjust for the above change.  Insert the
285         header by rmail-mime-insert-header.
287 2011-01-02  Kenichi Handa  <handa@m17n.org>
289         * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
290         rmail-mime-previous-item, and rmail-mime-toggle-hidden.
291         (rmail-mime-mbox-buffer)
292         (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
293         (rmail-mime-entity): Argument changed.  All codes handling an
294         entity object are changed.
295         (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
296         the above change.
297         (rmail-mime-entity-children, rmail-mime-entity-handler)
298         (rmail-mime-entity-tagline): New functions.
299         (rmail-mime-message-p): New function.
300         (rmail-mime-save): Bind rmail-mime-mbox-buffer.
301         (rmail-mime-entity-segment, rmail-mime-next-item)
302         (rmail-mime-previous-item, rmail-mime-shown-mode)
303         (rmail-mime-hidden-mode, rmail-mime-raw-mode)
304         (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
305         (rmail-mime-insert-tagline, rmail-mime-insert-header):
306         New functions.
307         (rmail-mime-text-handler): Call rmail-mime-insert-text.
308         (rmail-mime-insert-decoded-text): New function.
309         (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
310         (rmail-mime-insert-image): Argument changed.  Caller changed.
311         (rmail-mime-image): Call rmail-mime-toggle-hidden.
312         (rmail-mime-set-bulk-data): New funciton.
313         (rmail-mime-insert-bulk): Argument changed.
314         (rmail-mime-multipart-handler): Return t.
315         (rmail-mime-process-multipart): Argument changed.
316         Handle "multipart/alternative" here.
317         (rmail-mime-process): Argument changed.
318         (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
319         (rmail-mime-insert): Argument changed.  Handle raw display mode.
320         (rmail-mime): Argument changed.  Handle toggling of raw display
321         mode.
322         (rmail-show-mime): Bind rmail-mime-mbox-buffer and
323         rmail-mime-view-buffer.
324         (rmail-insert-mime-forwarded-message): Likewise.
325         (rmail-search-mime-message): Likewise.  Don't bind rmail-buffer.
327         * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
328         non-nil, handle the header in rmail-show-mime-function.
330 2011-01-02  Leo  <sdl.web@gmail.com>
332         * help-fns.el (describe-variable): Fix previous change.
334 2011-01-02  Juri Linkov  <juri@jurta.org>
336         * isearch.el (isearch-lazy-highlight-error): New variable.
337         (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
338         `isearch-lazy-highlight-error'.  Set `isearch-lazy-highlight-error'
339         to the current value of `isearch-error' (Bug#7468).
341 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
343         * help-fns.el (describe-variable): Don't emit trailing whitespace
344         (Bug#7511).
346 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
348         * textmodes/rst.el (rst-compile-pdf-preview)
349         (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
351 2011-01-02  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
353         * emulation/edt-mapper.el: Override mapping of function keys so
354         that the later call to read-key-sequence works.
356 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
358         * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
359         Unix EOLs.  (Bug#7589)
361 2011-01-02  Leo  <sdl.web@gmail.com>
363         * eshell/em-hist.el (eshell-previous-matching-input): Signal error
364         if point is not behind eshell-last-output-end (Bug#7585).
366 2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
368         * files.el (file-local-variables-alist):
369         Make permanent-local (bug#7767).
371 2011-01-02  Glenn Morris  <rgm@gnu.org>
373         * version.el (emacs-copyright): Set short copyright year to 2011.
375 2011-01-02  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
377         * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
378         an existing temp buffer.  (Bug#7746)
380 2011-01-02  Glenn Morris  <rgm@gnu.org>
382         * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
383         multiple addresses.  (Bug#7760)
385 2011-01-01  Ken Manheimer  <ken.manheimer@gmail.com>
387         * allout.el (allout-auto-fill): Do not infinitely recurse - use
388         do-auto-fill if everything points back to allout-auto-fill.
389         (allout-mode-deactivate-hook): Declare obsolete, in favor of
390         standard-formed minor-mode deactivate hook, allout-mode-off-hook.
392 2010-12-31  Michael Albinus  <michael.albinus@gmx.de>
394         * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
395         and "scpx".
397 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
399         * doc-view.el (doc-view-set-doc-type): New function refactored
400         from doc-view-mode.
401         (doc-view-fallback-mode): New function.
402         (doc-view-mode): Use it.
403         (doc-view-mode-maybe): New function that checks if doc-view-mode
404         can be used and falls back to the next best mode otherwise.
406         * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
407         DVI, OpenDocument, and MS Office files.
409 2010-12-30  Andreas Schwab  <schwab@linux-m68k.org>
411         * emacs-lisp/rx.el (rx-syntax): Fix typo.
413 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
415         * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
416         on a copy of auto-mode-alist, because that deletes with side
417         effects.
419 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
421         * doc-view.el (doc-view-mode, doc-view-toggle-display): Use
422         normal-mode without doc-view-mode bindings in auto-mode-alist as
423         fallback instead of hard coding fundamental mode.
425 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
427         * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
428         Office) files also for searching.
430 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
432         * doc-view.el: Implement viewing of OpenDocument (and Microsoft
433         Office) files.  Not yet enabled via auto-mode-list.
434         (doc-view-unoconv-program): New custom variable.
435         (doc-view-mode-p): Handle new odf document type.
436         (doc-view-odf->pdf): New conversion function.
437         (doc-view-convert-current-doc): Call it for odf files.
438         (doc-view-mode): Recognize newly supported file extensions.
440 2010-12-30  Michael Albinus  <michael.albinus@gmx.de>
442         * net/tramp.el (tramp-default-method-alist)
443         (tramp-default-user-alist)
444         (tramp-local-host-regexp, tramp-prefix-domain-format)
445         (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
447         * net/tramp-ftp.el:
448         * net/tramp-gvfs.el:
449         * net/tramp-gw.el:
450         * net/tramp-imap.el:
451         * net/tramp-sh.el:
452         * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
453         code of `tramp-default-method-alist' and `tramp-default-user-alist'.
455 2010-12-29  Karl Fogel  <kfogel@red-bean.com>
457         * saveplace.el (save-place-alist-to-file): Save list sorted and
458         pretty-printed, so that it is mergeable by line-based text merging,
459         as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
461 2010-12-28  Ken Manheimer  <ken.manheimer@gmail.com>
463         * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
464         (allout-mode): Argument "toggle" => "force".
465         Refine the docstring.
466         Remove special provisions for reactivation, besides the 'force'
467         argument.
468         Consolidate layout provisions coce directly into the activation
469         condition branch, now that we've removed those provisions.
470         (allout-unload-function): Explicitly activate the mode before
471         deactivating, if it's initially deactivated.
472         (allout-set-buffer-multibyte): Properly prevent byte-compiler
473         warnings for version of function used only where
474         set-buffer-multibyte is unavailable.
476 2010-12-28  Chong Yidong  <cyd@stupidchicken.com>
478         * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
479         are handled by the menu-bar entries.  As before, don't use
480         :visibile to avoid changing the tool-bar.
482 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
484         * net/secrets.el (secrets-delete-alias): New defun.
486 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
488         * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
489         methods, otherwise ~/.ssh/config would be ignored.
491 2010-12-26  Stefan Monnier  <monnier@iro.umontreal.ca>
493         * emacs-lisp/rx.el: Make it a superset of sregex.
494         (rx-constituents): Add `any => "."', mark `repeat' as taking any number
495         of args, add `regex' alias.
496         (rx-info): Add arg to distinguish head and standalone forms.
497         (rx-check, rx-form): Pass the corresponding arg.
498         (rx-**): Simplify.
499         (rx-repeat): Make it work for any number of args.
500         (rx-syntax): Make it accept syntax chars as is.
501         * obsolete/sregex.el: Move from emacs-lisp/.
502         * emacs-lisp/re-builder.el: Remove sregex support.
503         * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
505 2010-12-25  Eli Zaretskii  <eliz@gnu.org>
507         * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
508         PRIMARY first, then the clipboard.  (Bug#7699)
510 2010-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>
512         * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
513         print-number-table.
515 2010-12-21  Chong Yidong  <cyd@stupidchicken.com>
517         * help-fns.el (find-lisp-object-file-name): Locate .emacs from
518         .emacs.elc (Bug#7530).
520         * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
521         image spec (Bug#7480).
523 2010-12-21  Daiki Ueno  <ueno@unixuser.org>
525         * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
526         * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
527         Move from lisp/.
529 2010-12-20  Leo  <sdl.web@gmail.com>
531         * dnd.el (dnd-get-local-file-name): Unhex of file name shall
532         always be performed (Bug#7680).
534 2010-12-20  Chong Yidong  <cyd@stupidchicken.com>
536         * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
537         (menu-bar-edit-menu): Bind "Copy" to kill-ring-save.  Don't use
538         mouse-region-match.
540         * color.el: Move from gnus/.
542         * vc/diff.el (diff-better-file-name): Function deleted.
543         abbreviating file names causes problems with shell-quote-argument.
544         (diff-no-select): Just use expand-file-name.
546         * tool-bar.el (tool-bar--image-expression): New function.
547         (tool-bar-local-item, tool-bar--image-exp): Use it.
548         (tool-bar-setup): Initialize tool-bar-separator-image-expression.
549         Use :enable instead of :visible to avoid changing the tool-bar
550         configuration unnecessarily.
552         * info.el (info-tool-bar-map): Add separators.
554 2010-12-17  Ken Brown  <kbrown@cornell.edu>
556         * loadup.el: Use version numbers in Cygwin build.
558 2010-12-17  Ryan Twitchell  <metatheorem@gmail.com>  (tiny change)
560         * ido.el (ido-file-internal): Ask for confirmation before
561         overwriting an existing file (Bug#1238).
563 2010-12-16  Chong Yidong  <cyd@stupidchicken.com>
565         * tool-bar.el (tool-bar-setup): Add separators.
567         * menu-bar.el (featurep): Use menu-bar-separator.
569 2010-12-16  Ken Manheimer  <ken.manheimer@gmail.com>
571         Migrate allout encryption provisions from pgg to epg.
573         * allout.el (allout-toggle-current-subtree-encryption)
574         (allout-toggle-subtree-encryption): Adjust docstrings to reflect
575         defaulting policy and other changes.  Change fetch-pass to keymode-cue,
576         for simpler universal argument interpretation.
577         (allout-toggle-subtree-encryption):  Adjust docstring to describe
578         changed encryption provisions.  Change fetch-pass to keymode-cue, for
579         simpler universal argument interpretation.  Remove provisions for
580         handling key type and identity - they'll all be within
581         allout-encrypt-string or epg/epg or even contained all the way in gpg.
582         (allout-encrypt-string): Include keymode-cue, for optionally prompting
583         for keypair recipients (universal argument > 1) and, in addition,
584         associating the specified recipients with the outline (universal
585         argument > 4) using a file local variable setting for
586         'epa-file-encrypt-to'.
587         Require epa, for recipients handling.
588         Change how regexp filtering elements are named.
589         Describe the problem with caching of incorrect symmetric-decryption
590         keys.
591         Use the epa-passphrase-callback-function, in case the user is using
592         GnuPG v1.
593         Support saving of the selected keypair recipients when invoked with a
594         keymode-cue > 4.
595         Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
596         Require 'epa.
597         Establish epg-context with armoring and default epg-protocol.
598         Remove all passphrase cache, verification, and hinting code.
599         (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
600         No longer used, delete.
601         (allout-mode): Adjust docstring to describe changed encryption
602         provisions.  Describe the problem with caching of incorrect
603         symmetric-decryption keys.
604         (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
605         (allout-make-passphrase-state, allout-passphrase-state-passphrase)
606         (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
607         (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
608         Obsolete, remove.
610 2010-12-16  Daiki Ueno  <ueno@unixuser.org>
612         * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
613         key selection prompt; make 'silent as default (Bug#7487).
615 2010-12-16  Leo  <sdl.web@gmail.com>
617         * eshell/eshell.el (eshell-directory-name): Use
618         locate-user-emacs-file (Bug#7578).
620 2010-12-15  Glenn Morris  <rgm@gnu.org>
622         * loadup.el (symbol-file-load-history-loaded): Remove; unused.
624 2010-12-15  Jari Aalto  <jari.aalto@cante.net>
625             Scott Evans <gse@antisleep.com>
627         * rect.el (rectange--default-line-number-format)
628         (rectangle-number-line-callback): New functions.
629         (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
631 2010-12-15  Chong Yidong  <cyd@stupidchicken.com>
633         * rect.el (operate-on-rectangle-lines, string-rectangle-string):
634         Delete unused variables.
635         (move-to-column-force): Remove function obsolete since 21.2.
637 2010-12-14  Michael Albinus  <michael.albinus@gmx.de>
639         * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
640         (tramp-handle-insert-file-contents): Do not set permanent-local
641         property.
643         * net/tramp-cache.el (tramp-persistency-file-name): Use
644         `locate-user-emacs-file' if fboundp.
646         * net/tramp-sh.el (tramp-methods): Add "ksu".
647         (tramp-default-user-alist): Add "ksu".  Use `regexp-opt' for
648         method list.
650 2010-12-14  Glenn Morris  <rgm@gnu.org>
652         * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
653         (find-tag-marker-ring): Declare.
654         (js-find-symbol): Require etags.
656         * mail/sendmail.el: Don't require rmail or mailalias when compiling.
657         Require mail-utils.
658         (mail-alias-file): Don't autoload.  Doc fix.
659         (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
660         (mail-mailer-swallows-blank-line): Default to nil.  Doc fix.
661         Mark as obsolete, and risky.
662         (mail-setup): Simplify.
664         * mail/mailalias.el (build-mail-aliases): Make it interactive.
665         * mail/sendmail.el (build-mail-aliases): Update autoload.
667         * dired.el (dired-trivial-filenames, dired-chown-program)
668         (dired-auto-revert-buffer): Remove autoload cookies.
669         * mail/sendmail.el (mail-recover-1): Require 'dired.
671         * dired.el (dired-subdir-switches, dired-chown-program)
672         (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
673         Make into defcustoms.
674         (dired-chown-program): Simplify initialization.
676         * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
678 2010-12-13  Romain Francoise  <romain@orebokech.com>
680         * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
682 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
684         * net/netrc.el (netrc-point-at-eol): Remove the unused
685         netrc-point-at-old and netrc-bound-and-true-p bindings.
686         (netrc-parse): Cache the netrc contents.
688 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
690         * subr.el (posn-col-row): Evaluate header-line-format in the
691         context of the POSITION window's buffer.
693 2010-12-13  Glenn Morris  <rgm@gnu.org>
695         * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
696         (with-silent-modifications): Doc fixes.
698 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
700         * net/tramp.el (tramp-action-password, tramp-process-actions):
701         Revert previous from.  Use `save-restriction'.
703 2010-12-13  Stephen Berman  <stephen.berman@gmx.net>
705         * calendar/diary-lib.el (diary-list-sexp-entries):
706         Handle case of no newline at end of file.  (Bug#7536)
708 2010-12-13  Glenn Morris  <rgm@gnu.org>
710         * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
712 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
714         * net/tramp.el (tramp-action-password): Delete region, do not narrow.
715         (tramp-process-actions): Do not widen.
717         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
718         Protect buffer-modified value.  (Bug#7557)
720 2010-12-13   Jan Moringen  <jmoringe@techfak.uni-bielefeld.de>
722         * log-edit.el (log-edit-changelog-entries):
723         Regexp quote filename.  (Bug#7505)
725 2010-12-13  Tom Breton  <tehom@panix.com>
727         * cus-edit.el (custom-save-all):
728         Bind print-length and print-level to nil.  (Bug#7581)
730 2010-12-13  Glenn Morris  <rgm@gnu.org>
732         * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
733         Run hooks to update menu contents.  (Bug#7586)
735         * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
736         file names, for the sake of MS Windows.  (Bug#7588)
738 2010-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
740         * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
741         empty lines without a leading space.
743 2010-12-13  Leo  <sdl.web@gmail.com>
745         * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
746         while mapping over marks (Bug#6810).
748 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
750         * image-dired.el (image-dired-db-file)
751         (image-dired-temp-image-file, image-dired-gallery-dir)
752         (image-dired-temp-rotate-image-file): Set default values relative
753         to image-dired-dir (Bug#7518).
755 2010-12-13  Lawrence Mitchell  <wence@gmx.li>
757         * format.el (format-decode-run-method): Pass args FROM and TO, not
758         point-min and point-max, to shell-command-on-region (Bug#7488).
760 2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
762         * frame.el (blink-cursor-mode): Make default t for ns.
764 2010-12-13  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
766         * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
768 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
770         * comint.el (comint-dynamic-list-input-ring)
771         (comint-dynamic-complete-filename)
772         (comint-replace-by-expanded-filename)
773         (comint-dynamic-simple-complete)
774         (comint-dynamic-list-filename-completions)
775         (comint-dynamic-list-completions): Doc fix (Bug#7499).
777         * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
778         Doc fix (Bug#7471).
780 2010-12-13  Martin Rudalics  <rudalics@gmx.at>
782         * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
783         (Bug#7533).
785 2010-12-13  W. Martin Borgert <debacle@debian.org>  (tiny change)
787         * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
788         (Bug#7491).
790 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
792         * files.el (file-relative-name): Handle UNC file names on
793         DOS/Windows.  (Bug#4674)
795 2010-12-13  Daiki Ueno  <ueno@unixuser.org>
797         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
798         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
799         (epg-context-set-passphrase-callback): Mention that the callback
800         is not called when used with GnuPG 2.x.
802 2010-12-13  Glenn Morris  <rgm@gnu.org>
804         * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
805         Ensure ps-footer-font-size-internal is initialized.
806         Call ps-get-page-dimensions before trying to use ps-font-for-text.
808 2010-12-13  Kenichi Handa  <handa@m17n.org>
810         * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
811         within condition-case.
812         (rmail-show-mime): Don't use condition-case.
813         (rmail-search-mime-message): New function.
814         (rmail-search-mime-message-function): Set to
815         rmail-search-mime-message.
817 2010-12-13  Leo  <sdl.web@gmail.com>
819         * ido.el (ido-common-initialization): New function.  (bug#3274)
820         (ido-mode): Use it.
821         (ido-completing-read): Call it.
823 2010-12-12  Karl Fogel  <kfogel@red-bean.com>
825         * bookmark.el (bookmark-name-from-full-record): Rename back to
826         this original name from `bookmark-name-from-record' reverting part
827         of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
828         As Drew Adams pointed out, there was no reason to cause churn for
829         third-party callers.
831 2010-12-12  Alan Mackenzie  <acm@muc.de>
833         * progmodes/cc-engine.el (c-forward-type): Before scanning a
834         template arglist, check that the current language supports this.
836 2010-12-11  Glenn Morris  <rgm@gnu.org>
838         * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
839         state of the file matches.  (Bug#7544)
840         (vc-bzr-register, vc-bzr-checkin)
841         (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
842         (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
844         * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
846 2010-12-11  Karel Klíč  <kklic@redhat.com>
848         * files.el (auto-mode-alist): Use html-mode for *.xhtml.  (Bug#7606)
850 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
852         Derive from prog-mode, use derived-mode-p, and fix up various
853         minor style issues in lisp/progmodes.
855         * progmodes/vhdl-mode.el (vhdl-mode):
856         * progmodes/verilog-mode.el (verilog-mode):
857         * progmodes/vera-mode.el (vera-mode):
858         * progmodes/sql.el (sql-mode):
859         * progmodes/scheme.el (scheme-mode):
860         * progmodes/perl-mode.el (perl-mode):
861         * progmodes/octave-inf.el (inferior-octave-mode):
862         * progmodes/autoconf.el (autoconf-mode):
863         * progmodes/m4-mode.el (m4-mode):
864         * progmodes/inf-lisp.el (inferior-lisp-mode):
865         * progmodes/idlwave.el (idlwave-mode):
866         * progmodes/icon.el (icon-mode):
867         * progmodes/idlw-help.el (idlwave-help-mode):
868         * progmodes/dcl-mode.el (dcl-mode):
869         * progmodes/idlw-shell.el (idlwave-shell-mode):
870         * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
871         (ebrowse-member-mode, ebrowse-electric-position-mode):
872         Use define-derived-mode.
874         * progmodes/xscheme.el (exit-scheme-interaction-mode)
875         (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
876         (xscheme-debugger-mode-p, xscheme-send-string-1):
877         * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
878         (tcl-load-file, tcl-restart-with-file):
879         * progmodes/ps-mode.el (ps-run-running):
880         * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
881         * progmodes/js.el (js--get-all-known-symbols):
882         * progmodes/inf-lisp.el (inferior-lisp-proc):
883         * progmodes/idlwave.el (idlwave-beginning-of-statement)
884         (idlwave-template, idlwave-update-buffer-routine-info)
885         (idlwave-update-current-buffer-info)
886         (idlwave-get-routine-info-from-buffers, idlwave-choose)
887         (idlwave-scan-class-info, idlwave-fix-keywords)
888         (idlwave-list-buffer-load-path-shadows):
889         * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
890         (idlwave-toolbar-remove):
891         * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
892         (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
893         (idlwave-shell-menu-def):
894         * progmodes/idlw-complete-structtag.el
895         (idlwave-prepare-structure-tag-completion):
896         * progmodes/gud.el (gud-set-buffer):
897         * progmodes/f90.el (f90-backslash-not-special):
898         * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
900         * progmodes/xscheme.el (xscheme-start)
901         (local-set-scheme-interaction-buffer, scheme-interaction-mode):
902         * progmodes/which-func.el (which-function):
903         * progmodes/vhdl-mode.el (vhdl-set-style):
904         * progmodes/verilog-mode.el (verilog-set-compile-command)
905         (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
906         (verilog-set-define, verilog-auto-reeval-locals):
907         * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
908         * progmodes/simula.el (simula-mode):
909         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
910         * progmodes/python.el (python-check, python-mode):
911         * progmodes/prolog.el (prolog-mode-variables):
912         * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
913         * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
914         * progmodes/delphi.el (delphi-mode):
915         * progmodes/cc-styles.el (c-setup-paragraph-variables):
916         * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
917         (c-font-lock-init): Move make-local-variable to their setq.
919         * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
920         (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
921         make-local-hook.
922         * progmodes/sh-script.el (sh-require-final-newline): Remove.
923         (sh-set-shell): Don't set require-final-newline since it's already done
924         by prog-mode.
925         * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
926         since we never set it.
927         * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
928         Use read-string and standard prompt.
929         * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
930         * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
931         (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
932         (meta-common-mode-map): Rename from meta-mode-map.
933         Remove C-m binding, which is a user preference, not mode specific.
934         (meta-common-mode): New major mode; replace meta-common-initialization.
935         * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
936         around with font-lock.
937         * progmodes/etags.el (select-tags-table-mode):
938         Derive from special-mode.
939         * progmodes/octave-mod.el (octave-mode):
940         * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
941         (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
942         (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
943         Let define-derived-mode do its job.
944         * progmodes/cpp.el (cpp-edit-mode-map):
945         Move initialization into declaration.
946         (cpp-edit-mode): Use define-derived-mode.
947         (cpp-edit-load): Use derived-mode-p.
948         * progmodes/mixal-mode.el (mixal-mode):
949         * progmodes/f90.el (f90-mode):
950         * progmodes/cfengine.el (cfengine-mode): Don't bother setting
951         require-final-newline since prog-mode does it already.
952         * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
953         * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
954         * progmodes/antlr-mode.el: Require cc-mode upfront.
955         (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
956         the declaration.
957         (antlr-directory-dependencies, antlr-show-makefile-rules):
958         Use derived-mode-p.
959         (antlr-language-option): Don't assume point-min==1.
960         (antlr-mode): Use define-derived-mode.
961         * progmodes/ada-mode.el: Use derived-mode-p.
962         (ada-mode): Use define-derived-mode.
963         Use hack-local-variables-hook.
965 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
967         * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
968         (texinfo-mode): Don't disable adaptive-fill-mode.
969         (texinfo-insert-block): Adjust cursor placement for blocks with arg.
970         (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
971         (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
972         (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
973         (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
974         (texinfo-insert-@quotation, texinfo-insert-@samp)
975         (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
976         (texinfo-insert-@uref): Use define-skeleton.
977         (texinfo-insert-@-with-arg): Delete.
979 2010-12-10  Eli Zaretskii  <eliz@gnu.org>
981         * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
982         nil, do quote archive member names.  (Bug#6144)
984 2010-12-10  Glenn Morris  <rgm@gnu.org>
986         * files.el (diff-no-select): Declare.
988         * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
989         (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
991         * comint.el (comint-input-ring-file-name): Doc fix.
993 2010-12-09  Eli Zaretskii  <eliz@gnu.org>
995         * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
996         New functions.
997         (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
998         Use them instead of `nil' and `>', respectively.
999         (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
1000         instead of `nil'.
1001         (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
1002         and menu-bar-positive-p instead of `nil' and `>', respectively.
1003         (Bug#1077)
1005 2010-12-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
1007         * whitespace.el (whitespace-newline-mode): Code fix.
1009 2010-12-09  Glenn Morris  <rgm@gnu.org>
1011         * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
1012         Rename functions without commas, update callers.
1014 2010-12-08  Jeff Dairiki  <dairiki@dairiki.org>  (tiny change)
1016         * whitespace.el (whitespace-cleanup-region):
1017         Clean up spaces before tabs.  (Bug#7582)
1019 2010-12-08  Karl Fogel  <kfogel@red-bean.com>
1021         * bookmark.el: Adjust parameter names and doc strings to resolve
1022         confusion over whether "bookmark" meant a bookmark name or a
1023         bookmark record.  Along the way, shorten one function's name for
1024         similar reasons.  (Issue #7548)
1025         (bookmark-name-from-record): New name for
1026         `bookmark-name-from-full-record'.  All callers changed.
1027         (bookmark-get-bookmark, bookmark-get-bookmark-record)
1028         (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
1029         (bookmark-get-annotation, bookmark-set-annotation)
1030         (bookmark-get-filename, bookmark-set-filename)
1031         (bookmark-get-position, bookmark-set-position)
1032         (bookmark-get-front-context-string, bookmark-set-front-context-string)
1033         (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
1034         (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
1035         (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
1036         Rename `bookmark' parameter to `bookmark-name-or-record', to
1037         clearly show its role, and shorten or adjust doc strings accordingly.
1038         (bookmark-set-name): Same, and pass the parameter directly to
1039         `bookmark-get-bookmark' instead of redundantly doing the callee's work.
1040         (bookmark-default-annotation-text, bookmark-send-edited-annotation)
1041         (bookmark-relocate, bookmark-insert-location, bookmark-insert)
1042         (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
1043         and in some cases shorten doc string accordingly.
1044         (bookmark-rename): Change `old' and `new' parameters to `old-name'
1045         and `new-name', and adjust an internal variable to avoid confusion.
1046         (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
1047         parameter in doc string.
1049 2010-12-08  Glenn Morris  <rgm@gnu.org>
1051         * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
1052         from gdb's history file.  (Bug#7575)
1054         * mail/emacsbug.el (report-emacs-bug):
1055         Try to handle some other mail clients.
1057 2010-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1059         * files.el (dir-locals-collect-variables): Don't let errors stop us.
1060         Use string-prefix-p.
1061         (file-name-version-regexp): New var.
1062         (file-name-sans-versions):
1063         * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
1064         (jka-compr-get-compression-info): Use dolist.
1065         (jka-compr-compression-info-list): Don't bother specifying
1066         version/backup regexps.
1068 2010-12-07  Tassilo Horn  <tassilo@member.fsf.org>
1070         * simple.el (just-one-space): Make argument n default to 1 if
1071         omitted.
1073 2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1075         * electric.el (electric-indent-post-self-insert-function):
1076         Delete trailing newlines even if we don't reindent.
1078 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1080         * minibuffer.el (completion-at-point): Remove the `arg'.
1081         * bindings.el (complete-symbol): Move back from minibuffer.el.
1083 2010-12-06  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1085         * simple.el (just-one-space): Delete newlines for negative arg.
1087 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1089         * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
1090         (ansi-color-filter-apply): Simplify.
1091         (ansi-color-apply): Use `font-lock-face' rather than `face'.
1093 2010-12-05  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
1095         * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1097 2010-12-04  Chong Yidong  <cyd@stupidchicken.com>
1099         * dired.el (dired-use-ls-dired): Set default to a special
1100         "unspecified" value.
1101         (dired-insert-directory): When called the first time, check
1102         whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
1104 2010-12-04  Tak Ota  <Takaaki.Ota@am.sony.com>
1106         * replace.el: Add "collect" feature to occur.
1107         (occur-collect-regexp-history): New var.
1108         (occur-read-primary-args): Return a replace string for nlines,
1109         if needed.
1110         (occur): Extend the meaning of nlines.
1112 2010-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1114         * progmodes/which-func.el (which-func-ff-hook): Log the error message.
1115         (which-func-update-1): Distinguish symbols from strings.
1116         (which-function): Stay within 80 columns.
1118 2010-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1120         * subr.el (with-demoted-errors): Distinguish symbols from strings.
1122         * newcomment.el (comment-styles): Add docs to each style (bug#7509).
1123         Improve docstring.
1124         (comment-style): Use comment-styles's docs to describe values.
1126 2010-12-03  Jan Djärv  <jan.h.d@swipnet.se>
1128         * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
1129         and ns-show-prefs (Bug#7535).
1131         * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
1132         bindings (Bug#7535).
1134 2010-12-03  Glenn Morris  <rgm@gnu.org>
1136         * nxml/nxml-mode.el: Require rng-nxml.
1137         (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
1138         Remove declarations.
1140         * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
1141         * nxml/rng-nxml.el, nxml/rng-valid.el:
1142         Remove leading `*' from defcustom docs.
1144         * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
1145         (normal-top-level-add-to-load-path, tty-handle-args):
1146         Convert comments to basic doc-strings.
1148         * net/browse-url.el (browse-url-url-at-point)
1149         (browse-url-default-browser): Remove autoload cookies.
1151         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1152         Remove more undefined cl functions.
1154         * vc/diff.el (diff-sentinel): Make new arguments optional.
1155         * ibuf-ext.el (diff-sentinel): Update declaration.
1157 2010-12-03  Daiki Ueno  <ueno@unixuser.org>
1159         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1160         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
1161         (epg-context-set-passphrase-callback): Mention that the callback
1162         is not called when used with GnuPG 2.x.
1164 2010-12-02  Michael Albinus  <michael.albinus@gmx.de>
1166         * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
1167         (tramp-file-name-port): Check also for `tramp-default-port'.
1168         (tramp-get-connection-name): New defun.
1169         (tramp-get-connection-process): Use it.
1170         (tramp-debug-message): Extend function exclude list.
1171         (tramp-drop-volume-letter): Fix doc string.
1173         * net/tramp-cmds.el: Remove solved todo item.
1175         * net/tramp-efs.el:
1176         * net/tramp-ftp.el:
1177         * net/tramp-gvfs.el:
1178         * net/tramp-gw.el:
1179         * net/tramp-imap.el:
1180         * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
1181         and `tramp-default-user-alist', respectively.
1183         * net/tramp-gw.el (tramp-gw-open-connection):
1184         Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
1186         * net/tramp-imap.el (tramp-imap-make-iht): Use just
1187         `tramp-file-name-port'.
1189         * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
1190         and "psftp".  Exchange "%k" marker with options.
1191         (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
1192         Compute size of link target.
1193         (tramp-do-copy-or-rename-file-out-of-band). Move setting of
1194         `tramp-current-*' up due to gateway methods.  Optimze computing of
1195         copy arguments.  Use `tramp-get-connection-name' and
1196         `tramp-get-connection-buffer'.  Improve debug messages.
1197         (tramp-compute-multi-hops): Remove port determination.
1198         (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
1200         * net/trampver.el: Update release number.
1202 2010-12-02  Glenn Morris  <rgm@gnu.org>
1204         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1205         Avoid infinite loop over windows.  (Bug#7492)
1207         * progmodes/flymake.el (flymake-check-file-limit):
1208         Allow nil to mean "no limit".
1209         (flymake-check-patch-master-file-buffer): Update for above change.
1210         Allow a .tex file-name extension to be optional.
1211         (flymake-master-tex-init): Also match \include statements.
1213 2010-11-30  Sam Steingold  <sds@gnu.org>
1215         * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
1216         (nxml-parent-document-set): A function to set `nxml-parent-document'.
1217         (nxml-mode): Define using `define-derived-mode' instead of `defun'.
1218         (nxml-mode-hook): Remove `defcustom' (auto-defined by
1219         define-derived-mode').
1220         * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
1221         users who want to call `nxml-parent-document-set'.
1223 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
1225         * log-edit.el (log-edit-font-lock-keywords): Don't try matching
1226         stand-alone lines, since that is handled by log-edit-match-to-eoh
1227         (Bug#6465).
1229 2010-11-27  Eduard Wiebe  <usenet@pusto.de>
1231         * dired.el (dired-get-filename): Replace backslashes with slashes
1232         in file names on MS-Windows, needed by `locate'.  (Bug#7308)
1233         * locate.el (locate-default-make-command-line): Don't consider
1234         drive letter and root directory part of
1235         `directory-listing-before-filename-regexp'.  (Bug#7308)
1236         (locate-post-command-hook, locate-post-command-hook): New defcustoms.
1238 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1240         * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
1241         of :smie-open/close-alist.
1242         (smie-next-sexp): Make it accept a "start token" as argument.
1243         (smie-indent-keyword): Be careful not to misidentify tokens that span
1244         more than one line, as empty lines.  Add argument `token'.
1246 2010-11-27  Kenichi Handa  <handa@m17n.org>
1248         * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
1249         multipart subtypes, insert all as usual.
1251         * mail/rmail.el: Require rfc2047.
1253 2010-11-27  Kenichi Handa  <handa@m17n.org>
1255         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
1256         (rmail-mime-entity-disposition)
1257         (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
1258         (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
1259         (rmail-mime-save): Handle the case that the button's `data' is a
1260         MIME entity.
1261         (rmail-mime-insert-text): New function.
1262         (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
1263         (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
1264         (rmail-mime-insert-bulk): New function mostly copied from the old
1265         rmail-mime-bulk-handler.
1266         (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
1267         (rmail-mime-process-multipart): New function mostly copied from
1268         the old rmail-mime-multipart-handler.
1269         (rmail-mime-show): Just call rmail-mime-process.
1270         (rmail-mime-process): New function mostly copied from the old
1271         rmail-mime-show.
1272         (rmail-mime-insert-multipart, rmail-mime-parse)
1273         (rmail-mime-insert, rmail-show-mime)
1274         (rmail-insert-mime-forwarded-message)
1275         (rmail-insert-mime-resent-message): New functions.
1276         (rmail-insert-mime-forwarded-message-function): Set to
1277         rmail-insert-mime-forwarded-message.
1278         (rmail-insert-mime-resent-message-function): Set to
1279         rmail-insert-mime-resent-message.
1281         * mail/rmailsum.el: Require rfc2047.
1282         (rmail-header-summary): Handle multiline Subject: field.
1283         (rmail-summary-line-decoder): Change the default to
1284         rfc2047-decode-string.
1286         * mail/rmail.el (rmail-enable-mime): Change the default to t.
1287         (rmail-mime-feature): Change the default to `rmailmm'.
1288         (rmail-quit): Delete the specifal code for rmail-enable-mime.
1289         (rmail-display-labels): Likewise.
1290         (rmail-show-message-1): Check rmail-enable-mime, and use
1291         rmail-show-mime-function for a MIME message.  Decode the headers
1292         according to RFC2047.
1294 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1296         * progmodes/which-func.el (which-func-imenu-joiner-function):
1297         Return a string, as expected.
1298         (which-function-mode): Make sure we stop any previous timer before
1299         starting a new one.
1301 2010-11-27  Michael Albinus  <michael.albinus@gmx.de>
1303         * net/tramp.el (tramp-default-method-alist)
1304         (tramp-default-user-alist, tramp-default-proxies-alist):
1305         Adapt custom options type.  (Bug#7445)
1307 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
1309         * progmodes/python.el: Add Ipython support (Bug#5390).
1310         (python-shell-prompt-alist)
1311         (python-shell-continuation-prompt-alist): New options.
1312         (python--set-prompt-regexp): New function.
1313         (inferior-python-mode, run-python, python-shell):
1314         Require ansi-color.  Use python--set-prompt-regexp to set the comint
1315         prompt based on the Python interpreter.
1316         (python--prompt-regexp): New var.
1317         (python-check-comint-prompt)
1318         (python-comint-output-filter-function): Use it.
1319         (run-python): Use a pipe (Bug#5694).
1321 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
1323         * progmodes/python.el (run-python): Doc fix.
1324         (python-keep-current-directory-in-path): New var (Bug#7454).
1326 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
1328         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1329         Prompt user before actually printing.
1331 2010-11-27  Glenn Morris  <rgm@gnu.org>
1333         * startup.el (package-enable-at-startup, package-initialize):
1334         Remove unnecessary declarations.
1336 2010-11-27  Eli Zaretskii  <eliz@gnu.org>
1338         * international/characters.el (glyphless-char-display-control):
1339         Exclude newline and TAB from the c0-control group.
1341 2010-11-27  Glenn Morris  <rgm@gnu.org>
1343         * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
1344         (expand-mail-aliases): Remove unnecessary autoload.
1346         * allout.el (allout-command-prefix, allout-mode-map): Declare.
1348         * shell.el (shell-dir-cookie-re): Move definition before use.
1350         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1351         Replace undefined CL functions.
1353 2010-11-26  Eli Zaretskii  <eliz@gnu.org>
1355         * simple.el (prog-mode): Set bidi-paragraph-direction to
1356         left-to-right.
1358         * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
1360 2010-11-26  Glenn Morris  <rgm@gnu.org>
1362         * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
1363         diary-outlook-formats can be sensitive to calendar-date-style.
1364         (diary-outlook-formats): Simplify the default setting.
1365         (diary-from-outlook-internal): Pass subject and body as arguments.
1366         Use dolist rather than dotimes.  Don't save the diary buffer.
1367         (diary-from-outlook-gnus, diary-from-outlook-rmail):
1368         Pass subject and body as explicit arguments to the -internal function.
1370 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1372         * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
1373         parsing them.  This makes mailto:...?subject=foo\nbar work.
1375 2010-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1377         * vc/diff.el (diff): Fix last change.
1379 2010-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1381         * emacs-lisp/pcase.el: Improve pcase-let.  Use "pcase--" prefix.
1382         (pcase--dontcare-upats): New var.
1383         (pcase-let, pcase-let*): Generate better code.
1384         Accept the same bodies as `let'.
1385         (pcase-dolist): New macro.
1386         (pcase--trivial-upat-p): New helper function.
1387         (pcase--expand): Strip leading "(let nil" if any.
1389 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1391         * mail/mailclient.el (browse-url): Require.
1392         (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
1393         use the external browser function to send the mail (bug#7469).
1395         * net/browse-url.el (browse-url-browser-function): Revert the
1396         default back to the previous value, since the new value broke
1397         mailclient.el.
1398         (browse-url-mailto-function): New variable for mailto: URLs.
1399         (browse-url): Use the new variable for mailto: URLs.
1401 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1403         * eshell/esh-cmd.el (eshell-parse-command):
1404         * eshell/esh-arg.el (eshell-parse-arguments):
1405         * eshell/em-script.el (eshell-source-file):
1406         Use with-silent-modifications.
1408 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
1410         * vc/vc.el (vc-merge): Remove optional arg PROMPT.  Always prompt
1411         for a merge location.
1413         * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
1414         (vc-bzr-merge-branch): Always prompt.
1415         (vc-bzr-async-command): Use the full branch filename.
1417 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1419         * shell.el (shell): Use current-buffer by default if it's already
1420         a shell mode buffer and its process is dead.
1421         Suggested by Jose E. Marchesi <jemarch@gnu.org>.
1423 2010-11-23  Tassilo Horn  <tassilo@member.fsf.org>
1425         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1426         Mention that the keywords should be comma separated.
1428 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
1430         * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
1431         Accept optional prefix arg meaning to prompt for a command.
1432         (vc-update): Use vc-BACKEND-pull if available.  Accept optional
1433         prefix arg meaning to prompt for a command.
1434         (vc-pull): Alias for vc-update.
1436         * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
1437         (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
1438         (vc-bzr-merge-branch): New functions, implementing merge-branch
1439         and pull operations.
1441 2010-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1443         * Makefile.in: Fix up last merge.
1445         * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
1446         (diff-sentinel): Get them as arguments instead.
1447         (diff-old-file, diff-new-file, diff-extra-args): Remove.
1448         (diff-file-local-copy, diff-better-file-name): New funs.
1449         (diff-no-select): Rename from diff-into-buffer.
1450         Support buffers additionally to files.  Move `buf' arg.  Don't display buf.
1451         Prefer closures to buffer-local variables.
1452         (diff): Adjust accordingly.
1453         (diff-buffer-with-file): Move from files.el.
1454         * files.el (diff-buffer-with-file): Move to vc/diff.el.
1455         (diff-buffer-internal): Remove.
1456         (diff-buffer-buffer): Remove.
1457         (save-some-buffers-action-alist): Use diff-no-select so as not to guess
1458         the buffer name used, and so as not to mess up windows and frames.
1460 2010-11-22  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
1462         * files.el: Make revert work with diff-buffer-with-file (bug#7277).
1463         (diff-buffer-internal): New function extracted from diff-buffer-with-file
1464         (diff-buffer-with-file): Use it.
1465         * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
1466         (diff): Use it.
1468 2010-11-22  Tassilo Horn  <tassilo@member.fsf.org>
1470         * textmodes/reftex-ref.el (reftex-goto-label): Use the current
1471         \ref's or \pageref's value as default instead of initial input.
1473 2010-11-21  Michael Albinus  <michael.albinus@gmx.de>
1475         * files.el (backup-by-copying-when-mismatch): The default value is
1476         now t.
1478         * startup.el (normal-top-level):
1479         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1480         `backup-by-copying-when-mismatch'.
1482 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
1484         * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
1486 2010-11-21  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1488         * progmodes/python.el (python-font-lock-keywords):
1489         Highlight top-level augmented assignments (Bug#6445).
1491 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
1493         * term/ns-win.el (ns-right-control-modifier)
1494         (ns-right-command-modifier): Defvar them.
1496         * cus-start.el (all): Add ns-right-control-modifier and
1497         ns-right-command-modifier (Bug#7458).
1499 2010-11-20  Glenn Morris  <rgm@gnu.org>
1501         * emacs-lisp/authors.el (authors-ignored-files)
1502         (authors-valid-file-names, authors-renamed-files-alist): Add entries.
1504 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
1506         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
1507         (report-emacs-bug-parse-query-results)
1508         (report-emacs-bug-create-existing-bugs-buffer): Pass through
1509         keywords used for querying the bug database to show them in the
1510         existing bugs buffer.
1512 2010-11-20  Jan Djärv  <jan.h.d@swipnet.se>
1514         * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
1516         * info.el (info-tool-bar-map): Add some :vert-only keywords.
1518 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
1520         * international/characters.el (glyphless-char-display-control):
1521         Make it a defcustom, with update-glyphless-char-display as its
1522         :set attribute.
1523         (top level): Don't call update-glyphless-char-display.
1525 2010-11-20  Michael Albinus  <michael.albinus@gmx.de>
1527         Sync with Tramp 2.2.0.
1529         * net/tramp.el (tramp-handle-insert-file-contents): Don't use
1530         `file-remote-p' (due to compatibility).
1532         * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
1533         (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
1535         * net/trampver.el: Update release number.
1537 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
1539         * faces.el (glyphless-char): Define value for `pc'.
1541 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
1543         Implemented a bug querying mechanism.
1544         * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
1545         (report-emacs-bug-create-existing-bugs-buffer)
1546         (report-emacs-bug-parse-query-results)
1547         (report-emacs-bug-query-existing-bugs): New functions.
1549 2010-11-19  Martin Rudalics  <rudalics@gmx.at>
1551         * window.el (display-buffer-same-frame-specifiers)
1552         (display-buffer-other-window-same-frame-specifiers): New
1553         constants.
1554         (display-buffer): Call display-buffer-function if it's non-nil.
1555         (display-buffer-same-window, display-buffer-other-window)
1556         (pop-to-buffer-other-window, switch-to-buffer-other-window):
1557         Adjust doc-strings.
1558         (display-buffer-same-frame)
1559         (display-buffer-other-window-same-frame)
1560         (pop-to-buffer-same-frame)
1561         (pop-to-buffer-other-window-same-frame)
1562         (switch-to-buffer-same-frame)
1563         (switch-to-buffer-other-window-same-frame): New functions.
1564         (display-buffer-function): Un-obsolete.
1566         * bookmark.el (bookmark-bmenu-2-window): Use
1567         pop-to-buffer-other-window.
1568         (bookmark-bmenu-switch-other-window): Use
1569         display-buffer-other-window.
1571         * progmodes/etags.el (find-tag-other-window): New argument
1572         other-frame. Call either pop-to-buffer-other-window or
1573         pop-to-buffer-other-frame.
1574         (find-tag-other-frame): Call find-tag-other-window with
1575         other-frame argument t.
1577         * speedbar.el (speedbar-find-file-in-frame)
1578         (speedbar-buffer-click): Use pop-to-buffer-other-frame.
1580         * term/ns-win.el (ns-find-file): Use pop-to-buffer-other-frame.
1582 2010-11-19  Tassilo Horn  <tassilo@member.fsf.org>
1584         * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
1585         a \ref{} or \pageref{} macro, then use its value as initial input.
1587 2010-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
1589         * calc/calc-units.el (math-build-units-table-buffer):
1590         calc/README: Mention that the TeX specific units won't use the
1591         `tex' prefix in TeX mode.
1592         calc/calc-lang.el (math-variable-table): Don't use the `tex'
1593         prefix for units in TeX mode.
1595 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1597         * simple.el (kill-new, kill-append, kill-region):
1598         * comint.el (comint-kill-region): Make the yank-handler argument
1599         obsolete.
1601 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1603         * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
1604         that are both openers (resp. closers) and something else.
1605         (smie-grammar): Loosen definition of valid values.
1606         (smie-next-sexp, smie-down-list, smie-blink-matching-open)
1607         (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
1608         (smie-indent-after-keyword): Adjust users.
1609         (smie-indent-keyword): Don't indent empty lines.
1611         * vc-hg.el (vc-hg-program): New var.
1612         Suggested by Norman Gray <norman@astro.gla.ac.uk>.
1613         (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
1615 2010-11-18  Glenn Morris  <rgm@gnu.org>
1617         * emacs-lisp/autoload.el (autoload-find-destination): The function
1618         coding-system-eol-type may return non-numeric values.  (Bug#7414)
1620 2010-11-18  Ulrich Mueller  <ulm@gentoo.org>
1622         * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
1624 2010-11-18  Eli Zaretskii  <eliz@gnu.org>
1626         * subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)
1628 2010-11-18  Chong Yidong  <cyd@stupidchicken.com>
1630         * textmodes/picture.el (picture-mouse-set-point): Don't use
1631         posn-col-row; explicitly compute the motion based on the posn at
1632         the window-start (Bug#7390).
1634 2010-11-18  Glenn Morris  <rgm@gnu.org>
1636         * novice.el (disabled-command-function):
1637         Fix 2009-11-15 change.  (Bug#7384)
1639 2010-11-18  Glenn Morris  <rgm@gnu.org>
1641         * calendar/calendar.el (diary-iso-date-forms): Make elements
1642         mutually exclusive.  (Bug#7377)
1644 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1646         * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
1647         when filling the remaining "unconstrained" values.
1649 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1651         * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
1652         safety predicate.
1654         * files.el (safe-local-variable-p): Gracefully handle errors.
1656         * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
1657         Use smie-indent-virtual when indenting relative to an opener.
1658         (smie-rule-separator): Use smie-rule-parent.
1659         (smie-indent-keyword): Consult rules, even for openers at bol.
1660         (smie-indent-comment-close): Try to align closer's content.
1662 2010-11-18  Glenn Morris  <rgm@gnu.org>
1664         * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
1666 2010-11-18  Glenn Morris  <rgm@gnu.org>
1668         * printing.el (pr-menu-bind): Doc fix.
1670         * speedbar.el (speedbar-toggle-images): Doc fix.
1672         * progmodes/python.el (python-shell): Doc fix.
1674         * wid-edit.el (widget-field-use-before-change)
1675         (widget-use-overlay-change): Doc fixes.
1677 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1679         Minor cleanup to improve style.
1680         * textmodes/rst.el (rst-update-section): Use point-marker.
1681         (rst-get-decoration): Eliminate unneeded assignment.
1682         (rst-promote-region, rst-straighten-decorations)
1683         (rst-section-tree, rst-adjust): Use point-marker.
1684         (rst-toc-mode-mouse-goto): Avoid setq.
1685         (rst-shift-region-guts, rst-shift-region-left)
1686         (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
1687         (rst-convert-bullets-to-enumeration): Use copy-marker.
1689         * minibuffer.el (completion-fail-discreetly): New var.
1690         (completion--do-completion): Use it.
1692         * electric.el (electric-pair-pairs): New var.
1693         (electric-pair-post-self-insert-function): Use it.
1694         (electric-layout-post-self-insert-function): Don't insert a before
1695         newline unless it's actually needed.
1697 2010-11-17  Martin Rudalics  <rudalics@gmx.at>
1699         * window.el (display-buffer-split-window-1): Fix sizing for
1700         internal windows which got broken by the last fix.
1702         * progmodes/compile.el (compilation-minor-mode-map)
1703         (compilation-mode-map): Replace bindings for quit-window by
1704         bindings for quit-restore-window.
1706 2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1708         * progmodes/python.el (run-python): Explain why we remove the current
1709         directory from sys.path.  Suggested by Eric Hanchrow <erich@cozi.com>.
1711         * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
1713 2010-11-16  Martin Rudalics  <rudalics@gmx.at>
1715         * window.el (display-buffer-split-window-1)
1716         (display-buffer-split-window): Rewrite so that windows are
1717         always split evenly.
1719 2010-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1721         * progmodes/octave-mod.el: Rely on elecric-*-modes.
1722         (octave-mode-map): Don't bind ;, SPC, and LF.
1723         (octave-auto-indent, octave-auto-newline): Remove.
1724         (electric-layout-rules): Declare.
1725         (octave-mode): Set electric-layout-rules.
1726         (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
1727         (octave-reindent-then-newline-and-indent, octave-electric-semi)
1728         (octave-electric-space): Remove.
1730         * electric.el (electric-layout-mode): New minor mode.
1731         (electric--after-char-pos): New function.
1732         (electric-indent-post-self-insert-function): Use it.
1733         (electric-layout-rules): New var.
1734         (electric-layout-post-self-insert-function): New function.
1735         (electric-indent-mode): Make them interact better.
1737 2010-11-15  Martin Rudalics  <rudalics@gmx.at>
1739         * minibuffer.el (minibuffer-completion-help): Don't mark window
1740         as dedicated, the quit-restore parameter should take care of
1741         deleting the window.
1742         (minibuffer-hide-completions): Use quit-restore-window instead
1743         of bury-buffer.
1745         * window.el (display-buffer-split-window-1): Remove max-size
1746         argument and corresponding code.
1747         (display-buffer-split-window): Remove handling of max-height and
1748         max-width specifiers.  Restore the pre Emacs 24 behavior where a
1749         single-window frame could be split ignoring the min-height
1750         specifier (then split-height-threshold value).  For the
1751         horizontal splitting, side equalling nil case call
1752         display-buffer-split-window-1 with side argument set to 'right
1753         instead of 'below, fixing a bug spotted by Štěpán Němec.
1755 2010-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1757         * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
1758         (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
1759         (checkdoc-proper-noun-region-engine): Use with-syntax-table.
1761 2010-11-15  Agustín Martín  <agustin.martin@hispalinux.es>
1763         * textmodes/flyspell.el (flyspell-generic-progmode-verify):
1764         Make sure to check inside the word (Bug#6761).
1766 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
1768         * startup.el (command-line): If the cursorColor resource is set,
1769         change the cursor face-spec (Bug#7392).
1771 2010-11-13  Ken Manheimer  <ken.manheimer@gmail.com>
1773         The main features of the following allout.el changes are:
1774         - implement user customization for the allout key bindings
1775         - add a customization control by which the user can inhibit use of
1776           a trailing Ctrl-H, so by default it's reserved for use with
1777           describe-prefix-bindings
1778         - adapt to new version of called-interactively-p, while
1779           maintaining backwards compatibility with old version
1780         - fix hotspot navigation so i works properly with meta-modified keys
1782         * allout.el (allout-keybindings, allout-bind-keys)
1783         (allout-keybindings-binding, allout-prefixed-keybindings)
1784         (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
1785         (allout-keybindings-list, allout-mode-map-adjustments)
1786         (allout-setup-mode-map): Establish allout-mode keymaps as user
1787         customizable settings, and also establish a customizable setting which
1788         regulates whether or not a trailing control-h is reserved for use with
1789         describe-prefix-bindings - and inhibit it by default, so that control-h
1790         *is* reserved for describe-prefix-bindings unless the user changes it.
1792         * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
1793         and accurately between modified and unmodified events, and handle
1794         modified events more comprehensively.
1796         * allout.el (allout-substring-no-properties):
1797         Alias to use or provide version of `substring-no-properties'.
1798         (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
1800         * allout.el (allout-next-single-char-property-change):
1801         Alias to use or provide version of `next-single-char-property-change'.
1802         (allout-annotate-hidden, allout-hide-by-annotation):
1803         Use `allout-next-single-char-property-change'.
1805         * allout.el (allout-select-safe-coding-system):
1806         Alias to use or provide version of `select-safe-coding-system'.
1807         (allout-toggle-subtree-encryption):
1808         Use `allout-select-safe-coding-system'.
1810         * allout.el (allout-set-buffer-multibyte):
1811         Alias to use or provide version of `set-buffer-multibyte'.
1812         (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
1814         * allout.el (allout-called-interactively-p): Macro for using the
1815         different versions of called-interactively-p identically, depending on
1816         the subroutine's argument signature.
1817         (allout-back-to-current-heading, allout-beginning-of-current-entry):
1818         Use `(interactive "p")' instead of `(called-interactively-p)'.
1820         * allout.el (allout-init, allout-ascend, allout-end-of-level)
1821         (allout-previous-visible-heading, allout-forward-current-level)
1822         (allout-backward-current-level, allout-show-children):
1823         Use `allout-called-interactively-p' instead of `called-interactively-p'.
1825         * allout.el (allout-before-change-handler):
1826         Exempt edits to the (overlaid) character after the allout outline
1827         bullet from edit confirmation prompt.
1829         * allout.el (allout-add-resumptions):
1830         Ensure that it respects correct buffer for keybindings.
1832         * allout.el (allout-beginning-of-line):
1833         Use `allout-previous-single-char-property-change' alias for the sake of
1834         diverse compatibility.
1836         * allout.el (allout-end-of-line):
1837         Use `allout-mark-active-p' to encapsulate respect for mark activity.
1839 2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
1841         * frame.el (frame-notice-user-settings): Don't clobber other
1842         user-set parameters when calling face-set-after-frame-default in
1843         response to background-color parameter (Bug#7373).
1845 2010-11-13  Eli Zaretskii  <eliz@gnu.org>
1847         * international/characters.el (glyphless-char-display-control):
1848         Rename from glyphless-char-control; all users changed.  Doc fix.
1849         Signal an error if display method is not one of the recognized
1850         symbols.
1852 2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
1854         * net/tramp-compat.el (tramp-compat-line-beginning-position)
1855         (tramp-compat-line-end-position): Remove them.
1857         * net/tramp.el (tramp-parse-rhosts-group)
1858         (tramp-parse-shosts-group, tramp-parse-sconfig-group)
1859         (tramp-parse-hosts-group, tramp-parse-passwd-group)
1860         (tramp-parse-netrc-group, tramp-parse-putty-group)
1861         * net/tramp-cmds.el (tramp-append-tramp-buffers)
1862         * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
1863         (tramp-sh-handle-file-selinux-context)
1864         (tramp-sh-handle-file-name-all-completions)
1865         (tramp-sh-handle-insert-directory)
1866         (tramp-sh-handle-expand-file-name, tramp-find-executable)
1867         (tramp-wait-for-output, tramp-send-command-and-read)
1868         * net/tramp-smb.el (tramp-smb-read-file-entry)
1869         (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
1871         * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
1872         `point-at-bol'.
1873         (tramp-remote-coding-commands): Add an alternative using "base64
1874         -d -i".  This is needed for older base64 versions from GNU
1875         coreutils.  Reported by Klaus Reichl
1876         <Klaus.Reichl@thalesgroup.com>.
1878 2010-11-13  Hrvoje Niksic  <hniksic@xemacs.org>
1880         * simple.el (count-words-region): New function.
1882 2010-11-12  Martin Rudalics  <rudalics@gmx.at>
1884         * window.el (display-buffer): Write check for dedicatedness
1885         correctly in the same-window section.
1886         (get-mru-window): Fix doc-string typo.
1888 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1890         * shell.el (shell-dir-cookie-re): New custom variable.
1891         (shell-dir-cookie-watcher): New function.
1893         * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
1894         and compilation-mode (bug#7350).
1896         * vc/smerge-mode.el (smerge-refine): Choose better default part to
1897         highlight when one of them is empty.
1899         * skeleton.el (skeleton-read): Don't use `newline' since it may strip
1900         trailing space.
1901         (skeleton-newline): New function.
1902         (skeleton-internal-1): Use it.
1904         * simple.el (open-line): `newline' may strip trailing space.
1906 2010-11-12  Kevin Ryde  <user42@zip.com.au>
1908         * international/mule-cmds.el (princ-list): Use mapc.
1910 2010-11-12  Glenn Morris  <rgm@gnu.org>
1912         * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
1913         Use it to replace all instances of "*Compile-Log*"
1915 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1917         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
1918         indentation specs.
1920 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1922         * progmodes/modula2.el: Use SMIE and skeleton.
1923         (m2-mode-syntax-table): (*..*) can be nested.
1924         Add //...\n.  Fix paren syntax.
1925         (m2-mode-map): Remove LF and TAB bindings.
1926         (m2-indent): Add safety property.
1927         (m2-smie-grammar): New var.
1928         (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
1929         (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
1930         (m2-mode): Use define-derived-mode.
1931         (m2-newline, m2-tab): Remove.
1932         (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
1933         (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
1934         (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
1935         (m2-import): Use define-skeleton.
1937 2010-11-11  Glenn Morris  <rgm@gnu.org>
1939         * obsolete/lucid.el: Don't warn about any CL functions in this file.
1941         * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
1942         (ls-lisp-verbosity): Add custom :set-after property.
1943         (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
1944         (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
1945         (ls-lisp-insert-directory): Update caller.
1946         (ls-lisp-set-options): New function.
1947         (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
1948         Doc fix.
1950         * play/landmark.el (lm-prompt-for-move):
1951         * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
1953         * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
1955         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
1956         (idlwave-study-twins): Prefix dynamic local variable `name'.
1957         (idlwave-routine-twin-compare): Update for above change.
1959         * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
1960         Prefix dynamic local variables `name', `kwd', and `link'.
1961         * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
1962         * progmodes/idlw-complete-structtag.el
1963         (idlwave-complete-structure-tag-help):
1964         * progmodes/idlwave.el (idlwave-complete-sysvar-help)
1965         (idlwave-complete-sysvar-tag-help)
1966         (idlwave-complete-class-structure-tag-help):
1967         Update for above name changes.
1969 2010-11-10  Martin Rudalics  <rudalics@gmx.at>
1971         * help.el (with-help-window): In doc-string say how to set up
1972         temp-buffer-show-specifiers.
1974         * isearch.el (isearch-help-for-help, isearch-describe-bindings)
1975         (isearch-describe-key, isearch-describe-mode): Replace bindings
1976         for same-window-buffer-names and same-window-regexps by binding
1977         temp-buffer-show-specifiers instead.
1979         * international/mule-diag.el (mule-diag):
1980         * calc/calc-help.el (calc-describe-key, calc-full-help):
1981         * printing.el (pr-show-setup):
1982         * progmodes/python.el (python-describe-symbol):
1983         * textmodes/table.el (*table--cell-describe-mode)
1984         (*table--cell-describe-bindings):
1985         * tutorial.el (tutorial--describe-nonstandard-key)
1986         (tutorial--detailed-help):
1987         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
1988         * play/yow.el (apropos-zippy): Use with-help-window.
1990         * apropos.el (apropos-command): Remove the message calculation part.
1991         (apropos-print): Use with-help-window
1993         * woman.el (woman-mini-help): Remove the message calculation part.
1994         (woman-display-extended-fonts): Use with-help-window.
1996 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1998         * net/browse-url.el (browse-url-browser-function): Change the
1999         default to use `browse-url-mail' on mailto: URLs.
2001 2010-11-10  Chong Yidong  <cyd@stupidchicken.com>
2003         * emacs-lisp/package.el (package-read-all-archive-contents):
2004         Reset package-archive-contents to nil before re-reading.
2006 2010-11-10  Brandon Craig Rhodes  <brandon@rhodesmill.org>  (tiny change)
2008         * textmodes/flyspell.el (flyspell-word): Do not re-check words
2009         already found as misspellings by (flyspell-large-region), just
2010         do highlighting (bug#7322).
2012 2010-11-10  Glenn Morris  <rgm@gnu.org>
2014         * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
2016         * emulation/edt.el (edt-with-position): New macro.
2017         (edt-find-forward, edt-find-backward, edt-find-next-forward)
2018         (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
2019         (edt-paragraph-forward, edt-paragraph-backward): Use it.
2021         * emulation/tpu-extras.el (tpu-with-position): New macro.
2022         (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
2024         * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
2026         * textmodes/texnfo-upd.el (texinfo-all-menus-update)
2027         (texinfo-menu-copy-old-description, texinfo-start-menu-description)
2028         (texinfo-master-menu, texinfo-insert-node-lines)
2029         (texinfo-multiple-files-update):
2030         * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
2031         Use line-beginning-position.
2033         * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
2034         No recent Emacs supports system-type `emx'.
2036         * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
2037         (ada-command-separator, ada-default-prj-properties)
2038         (ada-find-any-references): Update for above name change.
2040         * dirtrack.el (dirtrack-directory-function)
2041         (dirtrack-canonicalize-function):
2042         * filecache.el (file-cache-completion-ignore-case)
2043         (file-cache-case-fold-search, file-cache-ignore-case):
2044         * term.el (serial-port-is-file-p): Cosmetic change.
2046         * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
2047         Remove non-existent `windows-95' system-type.
2048         * dired.el (dired-chown-program): Remove non-existent `linux'
2049         system-type.
2051         * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
2052         (ping-program-options): Remove non-existent `linux' system-type.
2054         * startup.el (package-initialize): Update declaration.
2056         * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
2057         (ls-lisp-handle-switches): Use time-less-p.
2058         (ls-lisp-format-time): Use float-time.
2060         * textmodes/remember.el (remember-time-to-seconds): Remove.
2061         (remember-store-in-mailbox): Use float-time.
2063         * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
2065         * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
2066         never a real function.
2067         (with-no-warnings): Remove compat stub, now unused.
2068         (time-less-p): Doc fix.
2069         (time-to-number-of-days): Simplify.
2071         * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
2072         Remove.
2073         (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
2074         * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
2075         * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
2076         * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
2077         * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
2079         * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
2080         (eshell-shuffle-files, eshell-shorthand-tar-command)
2081         (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
2082         Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
2083         * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
2084         Prefix dynamic local variable `matches'.
2086         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
2087         Prefix dynamic local variable `skeleton'.
2089 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
2091         * net/browse-url.el (browse-url-mail): Insert body part of mailto url
2092         in mail buffer; make yank-action always a command that yanks original
2093         buffer.
2095 2010-11-09  Glenn Morris  <rgm@gnu.org>
2097         * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
2099 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2101         * minibuffer.el (minibuffer-completion-help): Specify the end of the
2102         completion field (bug#7211).
2104         * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
2105         Fix handling of backslash escapes.
2106         (python-quote-syntax): Adjust accordingly.
2108 2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
2110         * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
2111         (vc-mtn-workfile-branch): Adjust to new output format.
2113 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2115         * international/mule-cmds.el (princ-list): Mark as obsolete.
2117 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2119         * emacs-lisp/smie.el: New package.
2121 2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
2123         * files.el (backup-by-copying-when-mismatch):
2124         Set `permanent-local' property.
2126         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2127         `permanent-local' property for `backup-by-copying-when-mismatch'.
2129 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
2131         * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
2133 2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
2135         * progmodes/verilog-mode.el (verilog-insert-one-definition)
2136         (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
2137         AUTOINOUT for SV style multidimensional arrays, bug294.
2138         Reported by Eric Mastromarchi.
2139         (verilog-preprocess): Use with-current-buffer and
2140         font-lock-fontify-buffer to cleanup style issues.
2142 2010-11-09  Glenn Morris  <rgm@gnu.org>
2144         * locate.el (locate, locate-mode): Doc fixes.
2146 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
2148         * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
2149         user for confirmation.
2150         (server-force-stop): Use it.
2151         (server-start): Use server-force-stop for kill-emacs-hook, to
2152         avoid user interaction while killing Emacs.
2154 2010-11-09  Glenn Morris  <rgm@gnu.org>
2156         * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
2157         (meta-indent-line): Simplify.
2159         * vc/emerge.el (emerge-line-number-in-buf):
2160         * textmodes/ispell.el (ispell-region):
2161         * textmodes/fill.el (current-fill-column):
2162         * progmodes/xscheme.el (xscheme-send-current-line):
2163         * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
2164         * progmodes/tcl.el (tcl-hairy-scan-for-comment):
2165         * progmodes/sh-script.el (sh-handle-prev-do):
2166         * progmodes/meta-mode.el (meta-indent-line):
2167         * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
2168         (idlwave-in-quote):
2169         * progmodes/idlw-shell.el (idlwave-shell-current-frame)
2170         (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
2171         * progmodes/fortran.el (fortran-looking-at-if-then):
2172         * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
2173         * progmodes/cperl-mode.el (cperl-sniff-for-indent)
2174         (cperl-find-pods-heres):
2175         * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
2176         * net/quickurl.el (quickurl-list-insert):
2177         * net/ldap.el (ldap-search-internal):
2178         * net/eudc.el (eudc-expand-inline):
2179         * mail/sendmail.el (sendmail-send-it):
2180         * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
2181         * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
2182         (viper-brac-function):
2183         * calc/calc-yank.el (calc-do-grab-region):
2184         * calc/calc-keypd.el (calc-keypad-press):
2185         * term.el (term-move-columns, term-insert-spaces):
2186         * speedbar.el (speedbar-highlight-one-tag-line):
2187         * simple.el (current-word):
2188         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
2189         * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
2190         (Info-scroll-down):
2191         * hippie-exp.el (he-line-beg):
2192         * epa.el (epa--marked-keys):
2193         * dired-aux.el (dired-kill-line, dired-do-kill-lines)
2194         (dired-update-file-line, dired-add-entry, dired-remove-entry)
2195         (dired-relist-entry):
2196         * buff-menu.el (Buffer-menu-buffer):
2197         * array.el (current-line):
2198         * allout.el (allout-resolve-xref)
2199         (allout-latex-verbatim-quote-curr-line):
2200         Replace yet more uses of end-of-line etc with line-end-position, etc.
2202 2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2204         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
2205         (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
2206         (checkdoc-syntax-table): Initialize in the declaration.
2207         (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
2208         the mode on unconditionally.
2210         * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
2211         (extent-end-position, extent-start-position): Remove setf method for
2212         non-existing functions (bug#7319).
2214 2010-11-07  Martin Rudalics  <rudalics@gmx.at>
2216         * ielm.el (top-level): Remove autoloaded add-hook for
2217         same-window-buffer-names.
2218         (ielm): Use pop-to-buffer-same-window.
2220         * progmodes/inf-lisp.el (inferior-lisp): Use
2221         pop-to-buffer-same-window.
2222         (top-level): Remove autoloaded add-hook for
2223         same-window-buffer-names.
2224         (switch-to-lisp): Use pop-to-buffer with tailored specifiers.
2226         * replace.el (occur-mode-goto-occurrence): Use
2227         pop-to-buffer-other-window.
2228         (occur-mode-display-occurrence): Use
2229         display-buffer-other-window.
2231         * shell.el (shell): Use pop-to-buffer-same-window.
2232         (top-level): Remove autoloaded add-hook for
2233         same-window-buffer-names.
2235         * net/rlogin.el: (top-level): Remove autoloaded add-hook for
2236         same-window-regexps.
2237         (rlogin): Use pop-to-buffer-same-window.
2239         * net/telnet.el (top-level): Remove two autoloaded add-hooks for
2240         same-window-regexps.
2241         (telnet, rsh): Use pop-to-buffer-same-window.
2243 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2245         * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
2246         (smie-precs->prec2): Rename from smie-precs-precedence-table.
2247         (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
2248         (smie-prec2->grammar): Rename from smie-prec2-levels.
2249         (smie-grammar): Rename from smie-op-levels.
2250         (smie-indent--hanging-p): Rename from smie-hanging-p.
2251         (smie-rule-hanging-p): New alias.
2252         (smie-indent--bolp): Rename from smie-bolp.
2253         (smie-indent--hanging-p): New alias.
2254         (smie--token): New dynamically bound variable.
2255         (smie-indent--parent): New function.
2256         (smie-rule-parent-p): Use it; rename from smie-parent-p.
2257         (smie-rule-next-p): Rename from smie-next-p.
2258         (smie-rule-prev-p): Rename from smie-prev-p.
2259         (smie-rule-sibling-p, smie-rule-parent)
2260         (smie-indent--separator-outdent, smie-rule-separator): New functions.
2261         (smie-rule-separator-outdent): New var.
2262         (smie-indent--rule): Merge with smie-indent--column.
2263         (smie-indent-forward-token, smie-indent-backward-token):
2264         Also recognize close parens.
2265         (smie-indent-keyword): Don't use smie-indent--column any more.
2266         (smie-indent-after-keyword): Ignore closers by default.
2267         (smie-indent-line): Use with-demoted-errors.
2268         * progmodes/octave-mod.el (octave-smie-grammar):
2269         Rename from octave-smie-op-levels.
2270         (octave-smie-rules): Adjust to new behavior.
2271         * progmodes/prolog.el (prolog-smie-grammar):
2272         Rename from prolog-smie-op-levels.
2274 2010-11-07  Glenn Morris  <rgm@gnu.org>
2276         * eshell/esh-util.el (subst-char-in-string)
2277         (directory-files-and-attributes): These compatibility definitions are
2278         not needed on any version of Emacs since at least 21.4.
2280         * progmodes/verilog-mode.el (verilog-get-beg-of-line)
2281         (verilog-get-end-of-line): Remove.
2282         (verilog-within-string, verilog-re-search-forward-substr)
2283         (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
2284         (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
2285         Use point-at-bol, point-at-eol.
2286         * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
2287         Remove.
2288         (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
2289         (electric-pascal-terminate-line, pascal-set-auto-comments)
2290         (pascal-indent-paramlist, pascal-indent-declaration)
2291         (pascal-get-lineup-indent, pascal-func-completion)
2292         (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
2293         Use point-at-bol, point-at-eol.
2294         * progmodes/flymake.el (flymake-line-beginning-position)
2295         (flymake-line-end-position): Remove.
2296         (flymake-highlight-line): Use point-at-bol, point-at-eol.
2297         * eshell/esh-util.el (line-end-position, line-beginning-position):
2298         Remove compat definitions.
2300         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2301         Use end-of-line N.
2302         (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
2303         Use line-end-position.
2305         * emacs-lisp/chart.el (chart-zap-chars):
2306         * play/decipher.el (decipher-set-map):
2307         * progmodes/ada-mode.el (ada-get-current-indent)
2308         (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
2309         * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
2310         * progmodes/ada-xref.el (ada-initialize-runtime-library)
2311         (ada-get-all-references):
2312         * progmodes/cperl-mode.el (cperl-electric-paren)
2313         (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
2314         (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
2315         (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
2316         (cperl-word-at-point-hard):
2317         * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
2318         (idlwave-shell-filename-string, idlwave-shell-batch-command)
2319         (idlwave-shell-display-line):
2320         * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
2321         (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
2322         * progmodes/js.el (js--re-search-forward-inner)
2323         (js--re-search-backward-inner):
2324         * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
2325         (vhdl-fix-clause, vhdl-compose-configuration-architecture):
2326         * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
2327         * textmodes/flyspell.el (flyspell-process-localwords):
2328         * textmodes/ispell.el (ispell-buffer-local-parsing)
2329         (ispell-buffer-local-dict, ispell-buffer-local-words):
2330         Use point-at-bol and point-at-eol.
2332         * speedbar.el (speedbar-generic-item-info)
2333         (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
2334         (speedbar-add-indicator, speedbar-check-vc-this-line)
2335         (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
2336         (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
2337         Replace more uses of end-of-line etc with line-end-position.
2339 2010-11-06  Martin Rudalics  <rudalics@gmx.at>
2341         * mail/sendmail.el (mail-bury): Do something similar to
2342         quit-restore-window.
2343         (top-level): Don't change same-window-buffer-names via add-hook
2344         any more.
2345         (mail): Use pop-to-buffer-same-window.
2346         (mail-other-window): Use pop-to-buffer-other-window.
2347         (mail-other-frame): Use pop-to-buffer-other-frame.
2349         * simple.el (display-message-or-buffer): Rename argument FRAME
2350         to IGNORE because it's ignored.  Change call to display-buffer
2351         accordingly.
2352         (sendmail-user-agent-compose): Remove let bindings around call
2353         to switch-function; the latter should have been bound to an
2354         appropriate function already.
2355         (clone-buffer): Call pop-to-buffer-other-window.
2356         (clone-indirect-buffer): New semantices of display-flag
2357         argument.
2358         (clone-indirect-buffer-other-window): Interactively set
2359         display-flag to 'other-window.
2361         * calendar/solar.el (sunrise-sunset): Use with-help-window instead
2362         of with-output-to-temp-buffer.
2364         * textmodes/bibtex.el (bibtex-search-entry): Use
2365         pop-to-buffer-same-window.
2367         * cmuscheme.el (run-scheme): Use pop-to-buffer-same-window.
2368         (top-level): Remove autoloaded add-hook for
2369         same-window-buffer-names.
2371         * eshell/eshell.el (eshell-add-to-window-buffer-names)
2372         (eshell-remove-from-window-buffer-names): Remove.
2373         (eshell-unload-hook): Don't call
2374         eshell-remove-from-window-buffer-names.
2375         (eshell-buffer-name): Don't call
2376         eshell-remove-from-window-buffer-names and
2377         eshell-add-to-window-buffer-names.
2378         (top-level): Remove eshell-deftest call to check for
2379         same-window-buffer-names.
2380         (eshell): Call pop-to-buffer-same-window.
2382         * files.el (display-buffer-other-frame): Remove.
2384 2010-11-06  Glenn Morris  <rgm@gnu.org>
2386         * textmodes/texnfo-upd.el (texinfo-start-menu-description)
2387         (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
2388         (texinfo-delete-existing-pointers, texinfo-find-pointer)
2389         (texinfo-clean-up-node-line, texinfo-insert-node-lines)
2390         (texinfo-multiple-files-update):
2391         * textmodes/table.el (table--probe-cell-left-up)
2392         (table--probe-cell-right-bottom):
2393         * textmodes/picture.el (picture-tab-search):
2394         * textmodes/page-ext.el (pages-copy-header-and-position)
2395         (pages-directory-for-addresses):
2396         * progmodes/vera-mode.el (vera-get-offset):
2397         * progmodes/simula.el (simula-calculate-indent):
2398         * progmodes/python.el (python-pdbtrack-overlay-arrow):
2399         * progmodes/prolog.el (end-of-prolog-clause):
2400         * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
2401         * progmodes/icon.el (indent-icon-exp):
2402         * progmodes/etags.el (tag-re-match-p):
2403         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
2404         * progmodes/ebnf2ps.el (ebnf-begin-file):
2405         * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
2406         (dcl-save-local-variable):
2407         * play/life.el (life-setup):
2408         * play/gametree.el (gametree-looking-at-ply):
2409         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
2410         * mail/sendmail.el (mail-mode-auto-fill):
2411         * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
2412         * emacs-lisp/edebug.el (edebug-overlay-arrow):
2413         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
2414         * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
2415         (woman-tab-to-tab-stop, WoMan-warn-ignored):
2416         * type-break.el (type-break-file-keystroke-count):
2417         * term.el (term-replace-by-expanded-history-before-point)
2418         (term-skip-prompt, term-extract-string):
2419         * speedbar.el (speedbar-edit-line, speedbar-expand-line)
2420         (speedbar-contract-line, speedbar-toggle-line-expansion)
2421         (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
2422         (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
2423         * sort.el (sort-skip-fields):
2424         * skeleton.el (skeleton-internal-list):
2425         * simple.el (line-move-finish, line-move-to-column):
2426         * shell.el (shell-forward-command):
2427         * misc.el (copy-from-above-command):
2428         * makesum.el (double-column):
2429         * ebuff-menu.el (electric-buffer-update-highlight):
2430         * dired.el (dired-move-to-end-of-filename):
2431         * dframe.el (dframe-popup-kludge):
2432         * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
2433         * arc-mode.el (archive-get-lineno):
2434         Use line-end-position and line-beginning-position.
2436         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
2437         (idlwave-study-twins): Prefix dynamic local `class'.
2438         (idlwave-routine-twin-compare): Update for above name change.
2440         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
2441         Use boundp tests to silence compiler.  Update for changed name of
2442         bytecomp-filename variable.
2444         * emulation/viper-cmd.el (viper-read-string-with-history):
2445         Prefix dynamic local `initial'.
2446         (viper-minibuffer-standard-hook): Update for above name change.
2448         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
2449         (elint-init-form): Update for above name change.
2451         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
2452         local variables `cbeg' and `cend' a prefix.
2453         (mail-extr-voodoo): Update for above name change.
2455         * textmodes/reftex-toc.el (reftex-toc-do-promote)
2456         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
2457         (reftex-toc-promote-action): Doc fix.
2459         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
2460         `prompt', `data' a prefix.
2461         (reftex-select-post-command-hook, reftex-select-callback)
2462         (reftex-select-mouse-accept, reftex-select-read-cite):
2463         Update for above name changes.
2465         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
2466         `refstyle' to reftex-refstyle.
2467         (reftex-offer-label-menu): Update for above name change.
2468         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
2469         `refstyle' name change.
2471         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
2472         with with-current-buffer.
2473         (diff, template): Give dynamic local variables a prefix.
2474         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
2475         (emerge-line-number-in-buf): Update for above name change.
2476         (emerge-combine-versions-internal): Rename local `template' to
2477         emerge-combine-template.
2478         (emerge-combine-versions-edit): Update for above name change.
2480 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
2482         * textmodes/reftex-cite.el
2483         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
2484         entries with whitespace after \bibitem.
2485         (reftex-create-bibtex-file): Match entries containing numbers and
2486         symbol constituents.  Make sure that entries with whitespace at
2487         various places are found.
2489 2010-11-05  Martin Rudalics  <rudalics@gmx.at>
2491         * window.el (display-buffer-even-sizes)
2492         (display-buffer-adjust-height, display-buffer-adjust-width)
2493         (display-buffer-in-new-window, kill-buffer-and-window): Use
2494         ignore-errors instead of condition-case.
2496         * electric.el (Electric-pop-up-window): Use buffer display
2497         specifiers.
2499         * emacs-lisp/elint.el (elint-display-log): Use
2500         display-buffer-other-window.
2502         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame): Use buffer
2503         display specifiers.
2505         * printing.el (pr-file-list): Comment out bindings of
2506         pop-up-windows and pop-up-frames.
2508         * mail/reporter.el (reporter-submit-bug-report): Use
2509         pop-to-buffer-other-window and display specifiers.
2511 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
2513         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
2515 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
2517         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
2519 2010-11-05  Glenn Morris  <rgm@gnu.org>
2521         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
2522         (woman2-roff-buffer): Give local variable `request' a prefix.
2523         (woman0-macro): Rename argument `request' in the same way.
2524         (woman-request): New name for `request' dynamic variable.
2525         (woman-unquote, woman-forward-arg): Update for above name change.
2526         (woman1-roff-buffer): Give local variable `unquote' a prefix.
2527         (woman1-unquote): New name for `unquote' dynamic variable.
2528         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
2529         (woman-translations): Rename from `translations'.  No longer global.
2530         (woman2-tr, woman-translate): Update for above name change.
2531         (woman-translate): Check for bound variable.
2532         (woman2-roff-buffer): Give local variable `translations' a prefix.
2534         * play/doctor.el: Give all local variables a prefix.  Update callers.
2535         (doc$, doctor-put-meaning): Use backquote.
2537         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
2538         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
2540         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
2541         variables bytes, ptr, op a prefix.
2542         (disassemble-offset): Update for above change.
2544 2010-11-04  Martin Rudalics  <rudalics@gmx.at>
2546         * window.el (display-buffer-names, display-buffer-regexps): Make
2547         even-window-sizes a seperate specifier.  Allow numbers and
2548         functions in the cdr of the adjust-height specifier and remove
2549         even-window-heights and the special handling of
2550         fit-window-to-buffer and shrink-window-if-larger-than-buffer.
2551         Add new specifier adjust-width similar to adjust-height.
2552         (display-buffer-normalize-specifiers-1): Fix typo.
2553         (display-buffer-even-sizes, display-buffer-adjust-height)
2554         (display-buffer-adjust-width): New functions to handle size
2555         adjustment of new window.
2556         (display-buffer-adjust-heights): Remove.
2557         (display-buffer-in-window): Don't call
2558         display-buffer-adjust-heights any more.
2559         (display-buffer-in-lru-buffer-window)
2560         (display-buffer-in-lru-window): Call display-buffer-even-sizes.
2561         (display-buffer-in-new-window): Use functionp instead of
2562         fboundp.  Call display-buffer-adjust-height and
2563         display-buffer-adjust-width.
2564         (display-buffer): Use functionp instead of fboundp.
2565         (fit-window-to-buffer): Rename argument IGNORE to OVERRIDE.
2567         * progmodes/compile.el (compilation-start)
2568         (compilation-goto-locus): Use adjust-height specifier in
2569         display-buffer calls.
2571         * buff-menu.el (Buffer-menu-switch-other-window)
2572         (Buffer-menu-2-window): Use buffer display specifiers.
2574         * cus-edit.el (top-level): Remove autoloaded add-hook for
2575         same-window-regexps.
2576         (customize-group, customize-face): New optional argument
2577         OTHER-WINDOW.  Use buffer display specifiers.  Call
2578         custom-buffer-create with OTHER-WINDOW argument t.
2579         (customize-group-other-window): Call customize-group with
2580         OTHER-WINDOW argument t.
2581         (customize-face-other-window): Call customize-face with
2582         OTHER-WINDOW argument t.
2583         (custom-buffer-create): New optional argument OTHER-WINDOW.
2584         (custom-buffer-create-other-window): Call
2585         pop-to-buffer-other-window.
2586         (customize-browse): Call pop-to-buffer-same-window.
2588         * play/decipher.el (decipher-display-range): Use
2589         pop-to-buffer-other-window.
2590         (decipher-display-stats-buffer): Use
2591         display-buffer-other-window.
2593         * vc/ediff-util.el (ediff-clone-buffer-for-region-comparison):
2594         Use pop-to-buffer-other-window.
2596         * ehelp.el (with-electric-help): Use pop-to-buffer-other-window.
2598 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
2600         * emacs-lisp/package.el (package-unpack): Remove no-op.
2601         (package--builtins, package--dir): Doc fix.
2602         (package-activate-1, package-activate, package-install)
2603         (package-compute-transaction): Fix error message.
2604         (package-delete): Use delete-directory.  Omit system packages.
2605         (package-initialize): Set package-alist to nil first.
2606         (package-menu-mark-delete, package-menu-mark-install): Don't add
2607         symbols that are inconsistent with the package state.
2608         (package-menu-execute): Perform deletions and installations as
2609         single batch operations.
2611 2010-11-03  Glenn Morris  <rgm@gnu.org>
2613         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
2614         (props): Remove unnecessary declaration.
2616         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
2617         set-process-query-on-exit-flag.
2619         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
2620         (reftex-toc-do-promote): Remove unused local `mpos'.
2621         (reftex-toc-restore-region): Make `mpos' local to this function.
2623         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
2625         * play/landmark.el (lm-losing-threshold): Correct spelling.
2626         (lm-human-plays): Use new name.
2628         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
2629         (gomoku-human-plays): Use new name.
2631         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
2632         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
2633         (gomoku-score-trans-table, gomoku-winning-threshold)
2634         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
2636 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
2638         * emacs-lisp/package.el: Don't put built-in packages in
2639         package-alist, to avoid loading inefficiencies.
2640         (package-built-in-p): Make VERSION optional, and treat it as a
2641         minimum acceptable version.
2642         (package-activate): Search separately for built-in packages.
2643         Emit a warning if a dependency fails.
2644         (define-package): Handle most common case, where there is no
2645         obsolete package, first.
2646         (package-compute-transaction): Print required version in error.
2647         (package--initialized): New variable.
2648         (list-packages): Use it.
2649         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
2650         built-in packages in packages-alist; keep it separate.
2651         Set package--initialized.
2652         (describe-package): Avoid activating packages as a side-effect.
2653         Search separately for built-in packages.
2654         (describe-package-1): Handle the case where an elpa package is
2655         simultaneously built-in and available/installed.
2656         (package-installed-p, package--generate-package-list):
2657         Search separately for built-in packages.
2658         (package-load-descriptor): Doc fix.
2660 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2662         * progmodes/perl-mode.el (perl-syntax-propertize-function):
2663         Handle __DATA__ and __END__.
2665 2010-11-02  Martin Rudalics  <rudalics@gmx.at>
2667         * window.el (display-buffer-names): Describe `not-this-window' and
2668         `not-this-frame' specifiers in doc-string.
2669         (display-buffer-in-lru-buffer-window)
2670         (display-buffer-in-lru-window, display-buffer-in-new-window):
2671         Handle `not-this-window' and `not-this-frame' specifiers when
2672         their cdr specifies a window or a frame.
2673         (display-buffer): Explain in doc-string that the cdr of the
2674         `not-this-window' and `not-this-frame' specifiers argument can
2675         name a window.
2677         * progmodes/compile.el (compilation-start): When displaying outbuf
2678         directly pass height parameters.
2679         (compilation-goto-locus): Use specifiers in display-buffer and
2680         pop-to-buffer calls.  Simplify.
2681         (compilation-find-file): Use specifiers in display-buffer calls.
2683 2010-11-02  Noah Friedman  <friedman@splode.com>
2685         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
2686         nil, do not ask to recompile files that are not already compiled,
2687         and do not recompile them.
2689 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
2691         * emacs-lisp/package.el (package-initialize): Ensure that
2692         obsoleted built-in packages are not in package-activated-list
2693         during activation.
2694         (describe-package-1): Make the "installed" status override
2695         "built-in".
2697 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2699         * subr.el (version-separator, version-regexp-alist): Remove '*'
2700         from docstring.
2701         (version-list-<=, version<=, version=): Doc fix.
2703 2010-11-01  Kenichi Handa  <handa@m17n.org>
2705         * faces.el (glyphless-char): Inherit underline for tty.
2707 2010-11-01  Kenichi Handa  <handa@m17n.org>
2709         Implement various display methods for glyphless characters.
2711         * international/characters.el (char-acronym-table): New variable.
2712         (glyphless-char-control): New variable.
2713         (update-glyphless-char-display): New funciton.
2715         * faces.el (glyphless-char): New face.
2717 2010-11-01  Glenn Morris  <rgm@gnu.org>
2719         * calendar/holidays.el (general-holidays, oriental-holidays)
2720         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
2721         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
2722         the definitions of their targets.
2724         * emacs-lisp/smie.el (smie): New custom group.
2725         (smie-blink-matching-inners, smie-indent-basic): Add :group.
2727         * faces.el (xw-defined-colors, x-setup-function-keys):
2728         * mouse-sel.el (x-select-text):
2729         * term/w32console.el (x-setup-function-keys): Update declarations.
2731         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
2733         * textmodes/ispell.el (comment-add): Declare.
2735         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
2736         Declare.
2738         * info.el (finder-keywords-hash, package-alist): Declare.
2740 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
2742         * finder.el (finder-compile-keywords): Don't use intern-soft,
2743         since package names may not yet exist in the obarray.
2745 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
2747         * vc/vc-arch.el (vc-arch-checkin):
2748         * vc/vc-cvs.el (vc-cvs-checkin):
2749         * vc/vc-mtn.el (vc-mtn-checkin):
2750         * vc/vc-rcs.el (vc-rcs-checkin):
2751         * vc/vc-sccs.el (vc-sccs-checkin):
2752         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
2753         since 2010-04-21 commit by Stefan Monnier.
2755 2010-11-01  Glenn Morris  <rgm@gnu.org>
2757         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
2759         * startup.el (package-enable-at-startup, package-initialize):
2760         Silence compiler.
2762         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
2763         Silence compiler.
2765 2010-10-31  Julien Danjou  <julien@danjou.info>
2767         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
2768         (byte-recompile-directory):
2769         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
2770         Use `byte-recompile-file'.
2772 2010-10-31  Glenn Morris  <rgm@gnu.org>
2774         * cus-start.el: Handle standard values via a keyword.
2775         Only set version property if specified.
2776         (cursor-in-non-selected-windows, menu-bar-mode)
2777         (tool-bar-mode, show-trailing-whitespace):
2778         Do not specify standard values.
2779         (transient-mark-mode, temporary-file-directory): Use :standard.
2781 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
2783         * term/x-win.el (x-get-selection-value): New function that gets
2784         PRIMARY with type as specified in x-select-request-type. (Bug#6802).
2786 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
2788         * net/tramp.el (tramp-handle-insert-file-contents): For root,
2789         preserve owner and group when editing files.  (Bug#7289)
2791 2010-10-31  Glenn Morris  <rgm@gnu.org>
2793         * speedbar.el (speedbar-mode):
2794         * play/fortune.el (fortune-in-buffer, fortune):
2795         * play/gomoku.el (gomoku-mode):
2796         * play/landmark.el (lm-mode):
2797         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
2798         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
2800         * select.el (x-selection): Mark it as an obsolete alias.
2802 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
2804         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
2805         major-mode (bug#7284).
2807 2010-10-31  Glenn Morris  <rgm@gnu.org>
2809         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
2810         rather than just an unused variable that inherits from the real one.
2812 2010-10-31  Alan Mackenzie  <acm@muc.de>
2814         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
2815         This fixes bug #7185.
2817 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
2819         * startup.el (command-line): Search for package directories, and
2820         don't load package.el if none are found.
2822         * emacs-lisp/package.el (describe-package, list-packages):
2823         Call package-initialize if it has not been called yet.
2825 2010-10-30  Alan Mackenzie  <acm@muc.de>
2827         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
2828         which fontifies the tail of an enum.
2829         (c-basic-matchers-after): Insert a call to the above new function.
2830         This fixes bug #7264.
2832 2010-10-30  Glenn Morris  <rgm@gnu.org>
2834         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
2835         tool-bar-mode, transient-mark-mode.  (Bug#7306)
2836         Include the :set property in the dumped Emacs.
2838 2010-10-30  Martin Rudalics  <rudalics@gmx.at>
2840         * window.el (window-deletable-p, quit-restore-window): Adapt to
2841         new quit-restore semantics.
2842         (split-window-quit-restore): Remove.
2843         (split-window-vertically, split-window-horizontally):
2844         Unconditionally copy quit-restore parameter to new window.
2845         (display-buffer-names): Mention quit-restore window parameter.
2846         (display-buffer-window-and-buffer): Rename to
2847         display-buffer-window and rewrite doc-string.
2848         (display-buffer-in-window, display-buffer-in-lru-buffer-window)
2849         (display-buffer-in-lru-window, display-buffer-in-new-window)
2850         (display-buffer-in-new-frame, display-buffer): Move quit-restore
2851         parameter handling from display-buffer-in-window to the callers.
2852         Set display-buffer-window.
2854         * help.el (help-window-setup, with-help-window): Use
2855         display-buffer-window insted of display-buffer-window-and-buffer
2856         and adapt to new semantics of the former.
2858 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2860         SMIE: change indent rules format, improve smie-setup.
2861         * emacs-lisp/smie.el (smie-precs-precedence-table)
2862         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
2863         Mark them pure so the tables gets built at compile time.
2864         (smie-bnf-precedence-table): Store the closer-alist in the table.
2865         (smie-prec2-levels): Preserve the closer-alist.
2866         (smie-blink-matching-open): Be more forgiving in case of indentation.
2867         (smie-hanging-p): Rename from smie-indent--hanging-p.
2868         (smie-bolp): Rename from smie-indent--bolp.
2869         (smie--parent, smie--after): New dynamic vars.
2870         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
2871         (smie-indent-rules): Remove.
2872         (smie-indent--offset-rule): Remove fun.
2873         (smie-rules-function): New var.
2874         (smie-indent--rule): New fun.
2875         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
2876         (smie-indent-exps): Use it.
2877         (smie-setup): Setup paren blinking; add keyword args for token
2878         functions; extract closer-alist from op-levels.
2879         (smie-indent-debug-log): Remove var.
2880         (smie-indent-debug): Remove fun.
2881         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
2882         (prolog-smie-rules): New fun to replace it.
2883         (prolog-mode-variables): Simplify.
2884         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
2885         it's setup automatically.
2886         (octave-smie-indent-rules): Remove.
2887         (octave-smie-rules): New fun to replace it.
2888         (octave-mode): Simplify.
2890 2010-10-29  Glenn Morris  <rgm@gnu.org>
2892         * files.el (temporary-file-directory): Remove (already defined in C).
2893         * cus-start.el: Add temporary-file-directory.
2895         * abbrev.el (abbrev-mode):
2896         * composite.el (auto-composition-mode):
2897         * menu-bar.el (menu-bar-mode):
2898         * simple.el (transient-mark-mode):
2899         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
2900         that they do not define the associated variables twice.
2901         * simple.el (transient-mark-mode): Remove defvar.
2902         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
2903         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
2904         Handle multiple groups, and also custom-delayed-init-variables.
2905         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2907 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2909         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
2910         (pcase-if): Add one minor optimization.
2911         (pcase-split-equal): Rename from pcase-split-eq.
2912         (pcase-split-member): Rename from pcase-split-memq.
2913         (pcase-u1): Add strings to the member optimization.
2914         Add `guard' variant of predicates.
2915         (pcase-q1): Add string patterns.
2917 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2919         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
2921 2010-10-28  Glenn Morris  <rgm@gnu.org>
2923         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2924         Move menu-bar related settings to ../menu-bar.el.
2925         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2926         Move ns-specific settings here from term/ns-win.el.
2928         * simple.el (x-selection-owner-p): Remove unused declaration.
2930 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2932         * minibuffer.el (completion-cycling): New var (bug#7266).
2933         (minibuffer-complete, completion--do-completion):
2934         Use completion--flush-all-sorted-completions.
2935         (minibuffer-complete): Only cycle if completion-cycling is set.
2936         (completion--flush-all-sorted-completions): Unset completion-cycling.
2937         (minibuffer-force-complete): Set completion-cycling.
2938         (completion-all-sorted-completions): Move declaration before first use.
2940 2010-10-28  Leo  <sdl.web@gmail.com>
2942         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
2943         which changes the order of matches seen by users (bug#7231).
2945 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
2947         * progmodes/compile.el (compilation-mode-font-lock-keywords):
2948         Don't confuse -omega as "-o mega".
2950 2010-10-27  Martin Rudalics  <rudalics@gmx.at>
2952         * frame.el (pop-up-frame-alist, pop-up-frame-function)
2953         (special-display-frame-alist): Make obsolete.
2955         * window.el (display-buffer-window-and-buffer)
2956         (window--display-buffer-in-window, window--reuse-window)
2957         (window--pop-up-window, window--pop-up-frame)
2958         (split-window-sensibly, window-sensibly-splittable-p)
2959         (window--raise-window-frame, window--usable-frame): Remove.
2960         (display-buffer-mark-dedicated, display-buffer-function)
2961         (special-display-buffer-names)
2962         (special-display-regexps, special-display-p)
2963         (special-display-function, same-window-buffer-names)
2964         (same-window-regexps, same-window-p, pop-up-frames)
2965         (display-buffer-reuse-frames, pop-up-windows)
2966         (split-height-threshold, split-width-threshold)
2967         (even-window-heights): Make obsolete.
2968         (display-buffer-names, display-buffer-regexps): New options.
2969         (display-buffer-frame, display-buffer-normalize-specifiers-1)
2970         (display-buffer-normalize-specifiers)
2971         (display-buffer-adjust-heights, display-buffer-select-window)
2972         (display-buffer-in-window, display-buffer-in-lru-buffer-window)
2973         (display-buffer-in-lru-window, display-buffer-split-window-1)
2974         (display-buffer-split-window, display-buffer-in-new-window)
2975         (display-buffer-in-new-frame, normalize-buffer-to-display)
2976         (display-buffer-same-window, display-buffer-other-window)
2977         (pop-to-buffer-same-window, pop-to-buffer-other-window)
2978         (pop-to-buffer-other-frame, normalize-buffer-to-switch-to): New
2979         functions.
2980         (display-buffer-locations, display-buffer-default-specifiers)
2981         (display-buffer-other-window-specifiers)
2982         (display-buffer-other-frame-specifiers)
2983         (display-buffer-split-specifiers)
2984         (display-buffer-side-specifiers): New variables/constants.
2985         (display-buffer): Major rewrite.
2986         (pop-to-buffer): Rewrite.  Default buffer-or-name argument to
2987         the current buffer.
2988         (switch-to-buffer, switch-to-buffer-other-window)
2989         (switch-to-buffer-other-frame): Rewrite.
2991         * calendar/calendar.el (calendar-basic-setup): Do not call
2992         split-window-horizontally before popping to buffer.  Eventually
2993         the second argument of pop-to-buffer must be set accordingly.
2995         * dired.el (dired-pop-to-buffer): Adapt to new buffer display
2996         code.
2998         * info.el (Info-revert-find-node, info, info-other-window)
2999         (Info-find-node, Info-next, Info-prev, Info-up)
3000         (Info-goto-emacs-command-node, Info-speedbar-goto-node): Adapt
3001         to new buffer display code.
3003 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3005         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
3006         (log-edit-author): New dynamic var.
3007         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
3008         to return the author if different from committer.
3009         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
3011         * play/landmark.el: Adjust commenting convention.
3012         (lm-nil-score): Rename from nil-score.
3013         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
3014         (OOOOscore): Move into a let in lm-score-trans-table.
3015         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
3017         * electric.el (electric-indent-chars): Autoload.
3018         * progmodes/octave-mod.el (octave-mode):
3019         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
3020         (ruby-mode-abbrev-table): Merge initialization and declaration.
3022 2010-10-27  Glenn Morris  <rgm@gnu.org>
3024         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
3025         variable.
3027         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
3029         * term/ns-win.el: Restore require of cl when compiling.
3030         (menu-bar-final-items): Remove non-existent `windows' menu.
3031         (ns-handle-nxopen): Optionally handle the temp-case.
3032         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
3033         (ns-insert-file, ns-find-file): Use `pop'.
3035 2010-10-26  Glenn Morris  <rgm@gnu.org>
3037         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
3039 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
3041         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
3042         global map.
3043         * term/common-win.el (x-setup-function-keys): Remove most of the
3044         keymappings.  Comment on the remaining ones.
3046 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
3048         * server.el (server-port): New option.  (Bug#854)
3049         (server-start): Use server-port.
3051 2010-10-26  Glenn Morris  <rgm@gnu.org>
3053         * term/ns-win.el (ns-version-string): Remove unused declaration.
3054         (ns-invocation-args): Change to x-invocation-args.
3055         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
3056         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
3057         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
3058         Use x-invocation-args instead of ns-invocation-args.
3059         (ns-initialize-window-system, handle-args-function-alist):
3060         Use x-handle-args instead of ns-handle-args.
3061         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
3062         * startup.el (command-line-ns-option-alist): Replace
3063         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
3064         ns-handle-iconic with the x- equivalents.
3066         * term/common-win.el (x-select-enable-clipboard):
3067         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
3069         * term/ns-win.el: No need to require cl when compiling.
3070         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
3071         (xw-defined-colors): Use the common-win definitions.
3072         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
3073         (ns-handle-iconic): Make it an alias for x-handle-iconic.
3074         * term/common-win.el (x-select-text, x-alternatives-map)
3075         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
3076         * loadup.el [ns]: Load common-win.
3078 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
3080         * epa-mail.el (epa-mail-encrypt): Handle local-part only
3081         recipients; expand mail aliases (Bug#7280).
3083 2010-10-25  Martin Rudalics  <rudalics@gmx.at>
3085         * window.el (window-iso-combination-p, window-iso-combinations):
3086         New functions.
3087         (walk-windows, get-window-with-predicate)
3088         (get-buffer-window-list, one-window-p): Fix doc-string.
3089         (window-in-direction): The column / row value of `posn-at-point'
3090         can be nil for the mini-window, guard against that.
3091         (resize-mini-window): Make this usable.  It's needed, for
3092         example, by ispell.el.
3093         (resize-window): Handle case where window argument denotes a
3094         minibuffer window.
3095         (window-children-count): Remove.
3096         (split-window): Fix some broken size calculations.
3098 2010-10-25  Glenn Morris  <rgm@gnu.org>
3100         * term/common-win.el (x-handle-switch): Simplify with pop.
3101         Optionally handle numeric switches.
3102         (x-handle-numeric-switch): Just call x-handle-switch.
3103         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
3104         (x-handle-name-switch, x-handle-display, x-handle-args):
3105         Simplify with pop.
3107         * term/ns-win.el: Do not require easymenu.
3108         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
3109         <spell>: Move adjustments to menu-bar.el.
3110         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
3111         <separator-undo, spell>: Move ns-win's adjustments here.
3112         * loadup.el [ns]: Do not load easymenu.
3114 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3116         * image.el (image-checkbox-checked, image-checkbox-unchecked):
3117         Delete (Bug#7222).
3119         * startup.el (fancy-startup-tail): Instead of using inline images,
3120         refer to image files from etc/.
3122         * wid-edit.el (checkbox): Likewise.
3123         (widget-image-find): Center image specs.
3125 2010-10-24  Glenn Morris  <rgm@gnu.org>
3127         * term/ns-win.el (x-select-text): Doc fix.
3128         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
3129         (x-select-text): Move to term/common-win.
3130         * term/w32-win.el (xw-defined-colors): Move to common-win.
3131         * term/x-win.el (xw-defined-colors, x-alternatives-map)
3132         (x-setup-function-keys, x-select-text): Move to common-win.
3133         * term/common-win.el (x-select-text, x-alternatives-map)
3134         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
3135         definitions here.
3137 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
3139         * net/mairix.el (mairix-searches-mode-map):
3140         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
3142 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
3144         * verilog-mode.el (verilog-directive-re): Make this variable
3145         auto-built for efficiency of execution and updating.
3146         (verilog-extended-complete-re): Support 'pure' fucntion & task
3147         declarations (these have no bodies).
3148         (verilog-beg-of-statement): General cleanup to enable support of
3149         'pure' fucntion & task declarations (these have no bodies).
3150         These efforts together fix Verilog bug210 from veripool; which was also
3151         noticed by Steve Pearlmutter.
3152         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
3153         (verilog-directive-nest-re, verilog-set-auto-endcomments):
3154         Support `elsif.  Reported by Shankar Giri.
3155         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
3156         attribute handling for lining up declarations and assignments.
3157         (verilog-beg-of-statement-1): Fix issue where continued declaration
3158         is indented differently if it is after a begin..end clock.
3159         (verilog-in-attribute-p, verilog-skip-backward-comments)
3160         (verilog-skip-forward-comment-p): Support proper treatment of
3161         attributes by indent code. Reported by Jeff Steele.
3162         (verilog-in-directive-p): Fix comment to correctly describe function.
3163         (verilog-backward-up-list, verilog-in-struct-region-p)
3164         (verilog-backward-token, verilog-in-struct-p)
3165         (verilog-in-coverage-p, verilog-do-indent)
3166         (verilog-pretty-declarations): Use verilog-backward-up-list as
3167         wrapper around backward-up-list inorder to properly skip comments.
3168         Reported by David Rogoff.
3169         (verilog-property-re, verilog-endcomment-reason-re)
3170         (verilog-beg-of-statement, verilog-set-auto-endcomments)
3171         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
3172         of if). Reported by Max Bjurling and
3173         (verilog-calc-1): Fix for clocking block in modport
3174         declaration. Reported by Brian Hunter.
3176 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
3178         * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
3179         (verilog-gate-keywords, verilog-read-sub-decls)
3180         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
3181         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
3182         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
3183         (verilog-read-decls): Fix spaces in V2K module parameters causing
3184         mis-identification as interfaces, bug287.
3185         (verilog-read-decls): Fix not treating "parameter string" as a
3186         parameter in AUTOINSTPARAM.
3187         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
3188         treating `elsif similar to `endif inside AUTOSENSE.
3189         (verilog-do-indent): Implement correct automatic or static task or
3190         function end comment highlight. Reported by Steve Pearlmutter.
3191         (verilog-font-lock-keywords-2): Fix highlighting of single
3192         character pins, bug264.  Reported by Michael Laajanen.
3193         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
3194         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
3195         (verilog-subdecls-get-interfaced, verilog-subdecls-new):
3196         Support interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
3197         (verilog-pretty-expr): Fix interactive arguments, bug272.
3198         Reported by Mark Johnson.
3199         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
3200         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
3201         bug269. Suggested by Gary Delp.
3202         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
3203         (verilog-preprocessor, verilog-set-compile-command):
3204         Create verilog-preprocess and verilog-preprocessor to show
3205         preprocessed output.
3206         (verilog-get-beg-of-line, verilog-get-end-of-line)
3207         (verilog-modi-file-or-buffer, verilog-modi-name)
3208         (verilog-modi-point, verilog-within-string): Move defmacro's
3209         before first use to avoid warning. Reported by Steve Pearlmutter.
3210         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
3211         (verilog-colorize-region, verilog-highlight-buffer)
3212         (verilog-highlight-includes, verilog-highlight-modules)
3213         (verilog-highlight-region, verilog-mode): Rename colorize to
3214         highlight to match other packages.  Disable module highlighting,
3215         as received speed complaints, reenable for experimentation only
3216         using new verilog-highlight-modules.
3217         (verilog-read-decls): Fix regexp stack overflow in very large
3218         AUTO_TEMPLATEs, bug250.
3219         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
3220         (verilog-scan): Create verilog-save-buffer-state to standardize
3221         making insignificant changes that shouldn't call hooks.
3222         (verilog-save-no-change-functions, verilog-save-scan-cache)
3223         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
3224         Create verilog-save-no-change-functions to wrap verilog-scan
3225         preservation, and fix to work with nested preserved calls.
3226         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
3227         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
3228         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
3229         (verilog-submit-bug-report): Update variable list to be complete.
3230         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
3231         breaking on-the-fly font-locking.
3232         (verilog-colorize-buffer, verilog-colorize-include-files)
3233         (verilog-colorize-include-files-buffer, verilog-colorize-region)
3234         (verilog-load-file-at-mouse, verilog-load-file-at-point)
3235         (verilog-mode, verilog-read-inst-module-matcher): With point on a
3236         AUTOINST cell instance name, middle mouse button now finds-file on
3237         it.  Suggested by Brad Dobbie.
3238         (verilog-alw-get-temps, verilog-auto-reset)
3239         (verilog-auto-sense-sigs, verilog-read-always-signals)
3240         (verilog-read-always-signals-recurse): Fix loop indexes being
3241         AUTORESET. AUTORESET now assumes any variables in the
3242         initialization section of a for() should be ignored.
3243         Reported by Dan Dever.
3244         (verilog-error-font-lock-keywords)
3245         (verilog-error-regexp-emacs-alist)
3246         (verilog-error-regexp-xemacs-alist): Fix error detection of
3247         Cadence HAL, reported by David Asher.  Repair drift between the
3248         three similar error variables.
3249         (verilog-modi-lookup, verilog-modi-lookup-cache)
3250         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
3251         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
3252         Fix slow verilog-auto expansion on very large files.
3253         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
3254         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
3255         "{1*2{...".  Broke in last revision.
3256         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
3257         submodule connections with replications "{#{a},#{b}}".
3259 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
3261         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
3262         Fix typo in docstring.
3264 2010-10-24  Kenichi Handa  <handa@m17n.org>
3266         * face-remap.el (text-scale-adjust): Call read-event with a proper
3267         prompt.
3269 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3271         * emacs-lisp/unsafep.el: Don't mark functions that display
3272         messages as safe.  Suggested by Johan Bockgård.
3274 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3276         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
3277         Turn comments into docstrings.
3279         * minibuffer.el (completion--replace): Move point where it belongs
3280         when there's a common suffix (bug#7215).
3282 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3284         Merge read-color and facemenu-read-color (Bug#7242).
3286         * faces.el (read-color): Use the completion code from
3287         facemenu-read-color.  Require match in completion.  Doc fix.
3289         * facemenu.el (facemenu-read-color): Alias for read-color.
3290         (facemenu-set-foreground, facemenu-set-background):
3291         Use read-color.
3293         * frame.el (set-background-color, set-foreground-color)
3294         (set-cursor-color, set-mouse-color, set-border-color):
3295         Use read-color.
3297 2010-10-24  Leo  <sdl.web@gmail.com>
3299         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
3300         argument of delete-file and delete-directory (Bug#7011).
3302 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3304         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
3305         button-buffer-map.
3307 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
3309         * emacs-lisp/package.el (package--generate-package-list): Make the
3310         *Packages* buffer read-only.
3312 2010-10-24  Alan Mackenzie  <acm@muc.de>
3314         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
3315         result of `c-beginning-of-decl-1' between invocations of a lambda
3316         function (Bug #7265).
3318 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
3320         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
3321         executable is not available on the system (Bug#7268).
3323 2010-10-24  Glenn Morris  <rgm@gnu.org>
3325         * select.el (selection-coding-system, next-selection-coding-system):
3326         Sync doc with C versions.
3328         * w32-vars.el (x-select-enable-clipboard):
3329         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
3330         * term/common-win.el (x-select-enable-clipboard): Move here.
3332         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
3333         definition of C variable.
3335         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
3336         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3337         Don't redefine things that are defined in C.
3338         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
3339         (show-trailing-whitespace, auto-hscroll-mode)
3340         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3341         Set up the appropriate custom properties.
3343 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3345         Bind "C-c ]" to ...
3346         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
3347         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
3348         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
3349         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
3351 2010-10-23  Glenn Morris  <rgm@gnu.org>
3353         * textmodes/flyspell.el (flyspell-mode): If there was an error,
3354         say what it was.
3356         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
3357         Sync docs with C version.
3359         * term/ns-win.el (xw-defined-colors):
3360         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
3362         * term/pc-win.el (x-select-enable-clipboard):
3363         * term/x-win.el (x-select-enable-clipboard):
3364         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
3366         * comint.el (comint-password-prompt-regexp): Make it less vague.
3367         Bump version.
3369         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
3371         * help.el (finder-by-keyword): Remove unnecessary autoload.
3373 2010-10-22  Glenn Morris  <rgm@gnu.org>
3375         * loadup.el: Unconditionally load float-sup.
3376         * paren.el (show-paren-delay):
3377         * emacs-lisp/float-sup.el:
3378         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
3379         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
3380         (lazy-lock-stealth-verbose): Assume float support.
3381         * ps-print.el: Assume float support on Emacs.
3382         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
3383         Remove non-float branch.
3385         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
3386         src/Makefile no longer being pre-processed.
3388 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3390         * emacs-lisp/find-func.el (find-library): Use test-completion.
3392 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3394         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
3396 2010-10-21  Michael Albinus  <michael.albinus@gmx.de>
3398         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
3399         space in stat format string.
3400         (tramp-send-command): Unset $PS1 when using here documents, in
3401         order not to get several prompts.
3402         (tramp-get-inline-coding): Return `nil' in case of errors.
3404 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
3406         * hexl.el (hexl-mode, hexl-mode-exit):
3407         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
3408         (hexl-revert-buffer-function): New function.
3409         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
3411 2010-10-19  Alan Mackenzie  <acm@muc.de>
3413         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
3414         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
3415         that these keywords aren't wrongly matched as identifiers.
3417         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
3418         setting of c-new-BEG and c-new-END from c-before-change to
3419         c-after-change.  (Bug#7181)
3421 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
3423         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
3424         Don't mark as safe.
3426         * custom.el (custom-theme-set-variables): Likewise.
3427         (load-theme): Add custom-theme-set-faces and
3428         custom-theme-set-variables to safe-functions while loading.
3429         (custom-enabled-themes): Mark as risky.
3431 2010-10-18  Julien Danjou  <julien@danjou.info>
3433         * bindings.el: Remove end dashes in default mode-line-format.
3435 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
3437         * bindings.el (global-map): Bind C-d to delete-char and deletechar
3438         to delete-forward-char.
3440         * simple.el (normal-erase-is-backspace-mode): Remap delete to
3441         deletechar, and hence delete-forward-char.
3443 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3445         * repeat.el (repeat): Use read-key (bug#6256).
3447 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
3449         * emacs-lisp/unsafep.el: Don't mark functions that display
3450         messages as safe.  Suggested by Johan Bockgård.
3452 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3454         * minibuffer.el (completion--replace): Move point where it belongs
3455         when there's a common suffix (bug#7215).
3457 2010-10-19  Kenichi Handa  <handa@m17n.org>
3459         * international/characters.el: Add category '|' (word breakable)
3460         to fullwidth characters.
3462 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
3464         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
3465         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
3466         order to make stat results a float.  Patch by Andreas Schwab
3467         <schwab@linux-m68k.org>.
3469 2010-10-18  Julien Danjou  <julien@danjou.info>
3471         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
3472         hidden by `make-pointer-invisible'.
3474 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3476         * files.el (locate-file-completion-table): Strip non-matching elements
3477         before checking length of list (bug#7238).
3479 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
3481         * custom.el (custom-theme-set-variables): Mark as a safe function.
3482         (load-theme): Check forms using unsafep.
3484         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
3486 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
3488         * textmodes/ispell.el (ispell-aspell-find-dictionary):
3489         Fix aspell data file searching (bug#7230).
3491 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
3493         * cus-theme.el (custom-theme--migrate-settings): New var.
3494         (customize-create-theme): Allow editing the `user' theme.
3495         (custom-theme-add-variable, custom-theme-add-var-1)
3496         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
3497         to the front of each variable or face widget.
3498         (custom-theme-write): Save theme settings in the correct order.
3499         Optionally, remove saved settings from user customizations.
3500         (custom-theme-write-variables, custom-theme-write-faces):
3501         Save only the checked widgets.
3502         (customize-themes): Add a link for migrating custom settings.
3504         * custom.el (custom-declare-theme, provide-theme):
3505         Use custom-theme-name-valid-p.
3506         (custom-theme-name-valid-p): Remove checks that are now
3507         unnecessary since themes no longer obey load-path.
3509         * cus-edit.el (custom-variable-value-create): For the simple
3510         style, hide documentation string when hidden.
3512 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
3514         * cus-edit.el (custom-variable, custom-face): Combine the
3515         :inhibit-magic and :display-style properties into a single
3516         :custom-style property.
3517         (custom-toggle-hide-variable, custom-toggle-hide-face):
3518         New functions.  If hiding an edited value, save it to :shown-value.
3519         (custom-variable-value-create, custom-face-value-create): Use them.
3520         (custom-magic-reset): Allow magic property to be unset.
3522         * custom.el: Custom themes no longer use load-path.
3523         (custom-theme-load-path): New option.  Change built-in theme
3524         directory to etc/.
3525         (custom-enabled-themes): Add custom-theme-load-path dependency.
3526         (custom-theme--load-path): New function.
3527         (load-theme, custom-available-themes): Use it.
3529         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
3530         (customize-themes): Link to custom-theme-load-path variable.
3531         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
3532         :custom-style property.
3534         * themes/*.el: Moved to etc/.
3536 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
3538         * textmodes/reftex-cite.el
3539         (reftex-extract-bib-entries-from-thebibliography): Do not move
3540         point when searching for \bibitem entries.  Match entries with
3541         spaces or tabs in front of arguments.
3543 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
3545         * cus-theme.el (customize-create-theme): Delete overlays after
3546         erasing.  If given a THEME arg, display only the faces of that arg
3547         instead of custom-theme--listed-faces.
3548         (custom-theme-variable-menu, custom-theme-variable-action)
3549         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
3550         (custom-theme-add-variable, custom-theme-add-face): Apply value
3551         from the theme settings, instead of the current value.
3552         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
3553         (custom-theme-visit-theme): Allow calling outside theme buffers.
3554         (custom-theme-merge-theme): Don't enable the theme when merging.
3555         (custom-theme-write-variables, custom-theme-write-faces): Use the
3556         :shown-value properties to save buffer values, not global ones.
3557         (customize-themes): Display a warning about user customizations.
3559         * cus-edit.el (custom-variable-value-create)
3560         (custom-face-value-create): Obey new special properties
3561         :shown-value and :inhibit-magic.
3563 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
3565         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3566         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
3567         <dale@codefu.org>.
3569 2010-10-14  Kenichi Handa  <handa@m17n.org>
3571         * mail/rmail.el (rmail-show-message-1): Catch an error of
3572         base64-decode-region and just show an error message (bug#7165).
3574         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
3575         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
3576         a font-spec (bug#7197).
3578 2010-10-14  Glenn Morris  <rgm@gnu.org>
3580         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
3582 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
3584         * international/mule.el (define-coding-system):
3585         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3586         * composite.el (compose-region): Fix typo in docstring.
3588 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
3590         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
3591         only after checking the theme-face property.
3593         * faces.el (face-spec-reset-face): Reset all attributes in one
3594         single call to set-face-attribute.
3595         (face-spec-match-p): Make it a defsubst.
3596         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
3597         (x-create-frame-with-faces, tty-create-frame-with-faces)
3598         (tty-set-up-initial-frame-faces): Don't recompute face specs in
3599         frame-set-background-mode, since they are recomputed immediately
3600         afterwards in face-set-after-frame-default.
3601         (face-set-after-frame-default): Minor optimization.
3602         (cursor): Provide non-trivial defface spec.
3604         * custom.el (custom-theme-recalc-face): Simplify.
3606 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
3608         * calc/calc-alg.el (math-var): Rename from `var'.
3609         (math-is-polynomial, math-is-poly-rec): Replace `var'
3610         with `math-var'.
3612         * calc/calcalg2.el (math-var): Rename from `var'.
3613         (calcFunc-table, math-scan-for-limits): Replace `var'
3614         with `math-var'.
3616 2010-10-13  Glenn Morris  <rgm@gnu.org>
3618         * subr.el (last): Deal with dotted lists (reported in bug#7174).
3620 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
3622         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
3624 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3626         * net/tls.el (tls-program): Remove spurious %s from openssl.
3627         (tls-starttls-switches): Remove starttls hack.
3628         (open-tls-stream): Ditto.
3629         (tls-find-starttls-argument): Ditto.
3631 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
3633         * image.el (image-library-alist): Declare as obsolete alias.
3634         (image-type-available-p): Use `dynamic-library-alist'.
3636         * term/w32-win.el (dynamic-library-alist):
3637         Use instead of `image-library-alist'.
3639 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
3641         * subr.el (last): Make it faster.  (Bug#7174)
3643 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
3645         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
3647 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
3649         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
3650         (describe-theme-1): Extract doc from unloaded themes.
3652         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
3654         * themes/tango-theme.el:
3655         * themes/tango-dark-theme.el:
3656         * themes/wheatgrass-theme.el: New files.
3658 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
3660         * cus-theme.el (describe-theme, customize-themes)
3661         (custom-theme-save): New commands.
3662         (custom-new-theme-mode-map): Bind C-x C-s.
3663         (custom-new-theme-mode): Use custom--initialize-widget-variables.
3664         (customize-create-theme): New optional arg THEME.
3665         (custom-theme-revert): Use it.
3666         (custom-theme-visit-theme): Remove dead code.
3667         (custom-theme-merge-theme): Use custom-available-themes.
3668         (custom-theme-write): Make interactive.
3669         (custom-theme-write): Use custom-theme-name-valid-p.
3670         (describe-theme-1, custom-theme-choose-revert)
3671         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
3672         New funs.
3673         (custom-theme-allow-multiple-selections): New option.
3674         (custom-theme-choose-mode): New major mode.
3676         * custom.el (custom-theme-set-variables): Remove dead code.
3677         Obey custom--inhibit-theme-enable.
3678         (custom--inhibit-theme-enable): New var.
3679         (provide-theme): Obey it.
3680         (load-theme): Replace load with manual read/eval, in order to
3681         check for correctness.  Use custom-theme-name-valid-p.
3682         (custom-theme-name-valid-p): New function.
3683         (custom-available-themes): Use it.
3685         * cus-edit.el (custom--initialize-widget-variables): New function.
3686         (Custom-mode): Use it.
3688         * cus-face.el (custom-theme-set-faces): Remove dead code.
3689         Obey custom--inhibit-theme-enable.
3691         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
3693 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
3695         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
3697 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
3699         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
3700         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
3701         (mac-right-option-modifier): New alias for ns-right-option-modifier.
3703         * cus-start.el (all): ns-right-alternate-modifier is new.
3705 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3707         * emacs-lisp/lisp.el (lisp-completion-at-point):
3708         Use emacs-lisp-mode-syntax-table for the whole function.
3710 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
3712         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
3713         instead of font-lock-mode before adding keywords.
3714         Remove hi-lock-mode off code.  Remove inhibit hack.
3715         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
3716         non-nil; removed hook inhibit hack.
3718 2010-10-12  Glenn Morris  <rgm@gnu.org>
3720         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
3721         (load-path-shadows-find): ... to this.
3722         (list-load-path-shadows): Update for above change.
3724         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
3726 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
3728         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
3729         Fix comment for declare-function.
3731 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
3733         * custom.el (custom-fix-face-spec): New function; code moved from
3734         custom-face-edit-fix-value.
3735         (custom-push-theme): Use it when checking if a face has been
3736         changed outside customize.
3737         (custom-available-themes): New function.
3738         (load-theme): Use it.
3740         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
3742         * custom.el (custom-push-theme): Cleanup (use cond).
3743         (disable-theme): Recompute the saved-face property.
3744         (custom-theme-recalc-face): Follow face alias before setting prop.
3746         * image.el (image-checkbox-checked, image-checkbox-unchecked):
3747         New variables, containing checkbox images.
3749         * startup.el (fancy-startup-tail):
3750         * wid-edit.el (checkbox): Use them.
3752 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
3754         * shell.el (shell-mode-map):
3755         * progmodes/modula2.el (m2-mode-map):
3756         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
3757         * play/mpuz.el (mpuz-mode-map):
3758         * play/landmark.el (lm-mode-map):
3759         * play/decipher.el (decipher-mode-map):
3760         * play/5x5.el (5x5-mode-map):
3761         * net/telnet.el (telnet-mode-map):
3762         * net/quickurl.el (quickurl-list-mode-map):
3763         * net/mairix.el (mairix-searches-mode-map):
3764         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
3765         * net/dig.el (dig-mode-map):
3766         * mail/mspools.el (mspools-mode-map):
3767         * hexl.el (hexl-mode-map):
3768         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
3769         (wordstar-C-o-map, wordstar-C-q-map):
3770         * emacs-lisp/edebug.el (edebug-eval-mode-map):
3771         * emacs-lisp/chart.el (chart-map):
3772         * edmacro.el (edmacro-mode-map):
3773         * erc/erc-list.el (erc-list-menu-mode-map):
3774         * array.el (array-mode-map): Declare and define in one step.
3776         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
3778 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
3780         * epa.el (epa-passphrase-callback-function): Display filename
3781         passed as the 3rd arg.
3782         * epa-file.el (epa-file-passphrase-callback-function):
3783         Pass filename to epa-passphrase-callback-function.
3785 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
3787         * cus-edit.el (custom-face-widget-to-spec)
3788         (custom-face-get-current-spec, custom-face-state): New functions.
3789         (custom-face-set, custom-face-mark-to-save)
3790         (custom-face-value-create, custom-face-state-set): Use them.
3792         * cus-theme.el (custom-theme--listed-faces): New var.
3793         (customize-create-theme): Use *Custom Theme* as the buffer name.
3794         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
3795         faces listed in custom-theme--listed-faces.
3796         (custom-theme-revert): New function.
3797         (custom-theme-add-variable, custom-theme-add-face): Insert at the
3798         bottom of the list.
3799         (custom-theme-write): Prompt for theme name if empty.
3800         (custom-theme-write-variables): Use dolist.
3801         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
3803 2010-10-09  Alan Mackenzie  <acm@muc.de>
3805         Enhance fontification of declarators to take account of the
3806         presence/absence of "typedef".
3808         * cc-engine.el (c-forward-type): New &optional param
3809         "brace-block-too".
3810         (c-forward-decl-or-cast-1): cdr of return value now indicates the
3811         presence of either or both of a "struct"-like keyword and "typedef".
3813         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
3814         fontification of declarators which follow a "}".
3815         (c-font-lock-declarations): Fontify declarators according to the
3816         presence/absence of "typedef".
3818         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
3819         for "typedef".
3820         (c-typedef-decl-key): New lang variable built from
3821         c-typedef-decl-kwds.
3823 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3825         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
3826         since that's too annoying.  Move the filter groups commands to
3827         TAB/backtab.
3829         * epa.el (epa-passphrase-callback-function): Say what we're
3830         querying the password for.
3832         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
3833         behaviour, don't bury the ibuffer buffer when visiting other buffers.
3835 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
3837         * cus-edit.el (custom-commands, custom-buffer-create-internal)
3838         (custom-magic-value-create): Pad button tags with spaces.
3839         (custom-face-edit): New variable.
3840         (custom-face-value-create): Determine whether to use the usual
3841         face editor here, instead of using custom-face-selected.
3842         Pass face defaults to custom-face-edit widget.
3843         (custom-face-selected, custom-display-unselected): Delete widgets.
3844         (custom-display-unselected-match): Function removed.
3845         (custom-face-set, custom-face-mark-to-save):
3846         Accept custom-face-edit widgets as the direct widget child.
3848         * wid-edit.el (widget--completing-widget): New var.
3849         (widget-default-complete): Bind it when doing completion.
3850         (widget-string-complete, widget-file-complete): Use it.
3852 2010-10-09  Glenn Morris  <rgm@gnu.org>
3854         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
3855         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
3856         (holiday-hebrew-misc): Small simplifications.
3858         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
3860         * net/browse-url.el: Don't require thingatpt, term, dired,
3861         executable, or w3-auto when compiling.
3862         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
3863         Declare.
3864         (browse-url-text-emacs): Require term.
3866 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
3868         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
3870 2010-10-08  Glenn Morris  <rgm@gnu.org>
3872         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
3874         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
3875         (shadows-compare-text-p): Make it an obsolete alias for...
3876         (load-path-shadows-compare-text): ... new name.
3877         (find-emacs-lisp-shadows): Update for above name change.
3878         (load-path-shadows-same-file-or-nonexistent): New name for the old
3879         shadow-same-file-or-nonexistent.
3881 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
3883         * minibuffer.el (completion--some, completion--do-completion)
3884         (minibuffer-complete-and-exit, minibuffer-completion-help)
3885         (completion-basic-try-completion)
3886         (completion-basic-all-completions)
3887         (completion-pcm--find-all-completions): Use lexical-let to
3888         avoid some false matches in variable completion (Bug#7056)
3890 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
3892         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
3894 2010-10-08  Leo  <sdl.web@gmail.com>
3896         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
3897         return non-nil if the file exists (Bug#7090).
3899 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3901         * minibuffer.el (completion--replace):
3902         Better preserve markers (bug#7138).
3904 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
3906         * server.el (server-process-filter): Doc fix.
3908 2010-10-08  Drew Adams  <drew.adams@oracle.com>
3910         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
3912 2010-10-08  Glenn Morris  <rgm@gnu.org>
3914         * vc/ediff-wind.el (ediff-setup-control-frame):
3915         * vc/ediff-ptch.el (ediff-default-backup-extension):
3916         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
3917         (ediff-exec-process): Remove system-types emx, windows-95.
3919         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
3921 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
3923         * cus-edit.el (custom-variable, custom-face): Doc fix.
3924         (custom-face-edit): Add value-create attribute.
3925         (custom-face-edit-value-create)
3926         (custom-face-edit-value-visibility-action): New functions.
3927         Hide unused face attributes by default, and add a visibility toggle.
3928         (custom-face-edit-deactivate): Show empty values with shadow face.
3929         (custom-face-selected): Only use this for face specs with default
3930         attributes.
3931         (custom-face-value-create): Cleanup.
3933         * wid-edit.el (widget-checklist-value-create): Use dolist.
3934         (widget-checklist-match-find): Make second arg optional.
3936 2010-10-07  Glenn Morris  <rgm@gnu.org>
3938         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
3939         Prefix things.
3941         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
3942         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
3943         load-path-shadows-mode, update references.
3944         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
3945         Rename variable and button.
3946         (list-load-path-shadows): Update button caller.
3948 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3950         * emacs-lisp/smie.el (smie-bnf-classify): New function.
3951         (smie-bnf-precedence-table): Use it to remember the closers/openers.
3952         (smie-merge-prec2s): Handle those new entries.
3953         (smie-prec2-levels): Only set precedence to nil for actual
3954         openers/closers.
3955         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
3956         that is now unnecessary.
3958 2010-10-07  Miles Bader  <miles@gnu.org>
3960         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
3962 2010-10-07  Glenn Morris  <rgm@gnu.org>
3964         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
3965         (mail-position-on-field): Remove declarations.
3966         (mail-position-on-field): Autoload it.
3967         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
3968         and mail-header-end.  Don't require sendmail.
3970         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
3971         (shadow-mode): New mode.
3972         (shadow-find-file): New button.
3973         (list-load-path-shadows): Use shadow-mode and buttons.
3975         * iimage.el (iimage-version): Remove.
3976         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
3977         Turn into defcustoms.
3978         (iimage-mode-map): Give it a doc string.
3980         * calendar/appt.el (appt-activate): Give a warning rather than an error
3981         if there is no diary-file.
3983 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
3985         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3986         Use `tramp-handle-find-backup-file-name'.
3988 2010-10-06  Glenn Morris  <rgm@gnu.org>
3990         * font-core.el (font-lock-defaults-alist): Remove variable.
3991         (font-lock-mode): Doc fix.
3992         (font-lock-default-function): Do not consult font-lock-defaults-alist.
3993         * font-lock.el (font-lock-refresh-defaults): Doc fix.
3994         (font-lock-set-defaults): Doc fix.
3995         Do not consult font-lock-defaults-alist.
3997         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
3999         * emacs-lisp/cl.el: No longer provide cl-19.
4001 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
4003         * net/tramp.el (tramp-handle-directory-files-and-attributes)
4004         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
4005         New defuns, taken from tramp-smb.el.
4006         (tramp-coding-system-change-eol-conversion)
4007         (tramp-set-process-query-on-exit-flag): Remove.
4009         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
4010         (tramp-compat-coding-system-change-eol-conversion)
4011         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
4012         from tramp.el.
4014         * net/tramp-gvfs.el:
4015         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
4016         by `tramp-compat-set-process-query-on-exit-flag'.
4018         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
4019         Use `tramp-handle-directory-files-and-attributes',
4020         `tramp-handle-file-exists-p' and
4021         `tramp-handle-file-newer-than-file-p'.
4022         (tramp-imap-handle-file-exists-p)
4023         (tramp-imap-handle-file-executable-p)
4024         (tramp-imap-handle-file-readable-p)
4025         (tramp-imap-handle-directory-files-and-attributes)
4026         (tramp-imap-handle-file-newer-than-file-p): Remove.
4028         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
4029         by `tramp-compat-set-process-query-on-exit-flag' and
4030         `tramp-coding-system-change-eol-conversion' by
4031         `tramp-compat-coding-system-change-eol-conversion'.
4033         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4034         Use `tramp-handle-directory-files-and-attributes',
4035         `tramp-handle-file-exists-p' and
4036         `tramp-handle-file-newer-than-file-p'.
4037         (tramp-smb-handle-directory-files-and-attributes)
4038         (tramp-smb-handle-file-exists-p)
4039         (tramp-smb-handle-file-newer-than-file-p): Remove.
4040         (tramp-smb-maybe-open-connection):
4041         Replace `tramp-set-process-query-on-exit-flag' by
4042         `tramp-compat-set-process-query-on-exit-flag'.
4044 2010-10-05  Glenn Morris  <rgm@gnu.org>
4046         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
4048 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
4050         Continue reorganization of load dependencies.  (Bug#7156)
4052         * net/tramp.el (tramp-handle-file-local-copy-hook)
4053         (tramp-delete-temp-file-function): Move down.
4054         (tramp-exists-file-name-handler): Move up.
4055         (tramp-register-file-name-handlers): Simplify autoload.
4056         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
4057         (tramp-handle-directory-files, tramp-handle-dired-uncache)
4058         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
4059         (tramp-handle-file-name-completion)
4060         (tramp-handle-file-name-directory)
4061         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
4062         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
4063         (tramp-handle-find-backup-file-name)
4064         (tramp-handle-insert-file-contents, tramp-handle-load)
4065         (tramp-handle-substitute-in-file-name)
4066         (tramp-handle-unhandled-file-name-directory)
4067         (tramp-mode-string-to-int, tramp-local-host-p)
4068         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
4070         * net/tramp-gvfs.el (top):
4071         * net/tramp-smb.el (top): Do not require 'tramp-sh.
4073         * net/tramp-sh.el (all): Move several objects to tramp.el, see
4074         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
4076 2010-10-04  Glenn Morris  <rgm@gnu.org>
4078         * calendar/appt.el (appt-add): Ensure reminders are enabled.
4079         (appt-activate): Give status messages.
4081 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
4083         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
4084         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
4085         `gnutls-negotiate' (formerly `starttls-negotiate').
4086         Remove trivial wrapper `starttls-open-stream'.
4088 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
4090         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
4091         log-outgoing commands.
4092         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
4093         to create a buffer local revert-buffer-function variable.
4094         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
4095         revert-buffer-function lambda.
4097 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
4099         * net/gnutls.el (starttls-negotiate): Use the plist interface to
4100         `gnutls-boot'.  Make TYPE the only required parameter.
4101         Allow TRUSTFILES and KEYFILES to be lists.
4102         (open-ssl-stream): Use it.
4104 2010-10-03  Glenn Morris  <rgm@gnu.org>
4106         * subr.el (directory-sep-char): Remove obsolete variable.
4107         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
4108         it is "necessary".
4110         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
4111         * vc/vc.el (vc-static-header-alist): Doc fix.
4112         * vc/vc-cvs.el (vc-cvs-header):
4113         * vc/vc-rcs.el (vc-rcs-header):
4114         * vc/vc-sccs.el (vc-sccs-header):
4115         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
4116         * obsolete/vc-mcvs.el (vc-mcvs-header):
4117         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
4118         on XEmacs.
4120 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
4122         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
4123         Remove obsolete use of binary-overwrite-mode (Bug#7001).
4125 2010-10-03  Glenn Morris  <rgm@gnu.org>
4127         * obsolete/x-menu.el: Remove file, obsolete since 21.1
4129         * textmodes/rst.el (rst-font-lock-keywords-function):
4130         Drop Emacs 20 code.
4132         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
4134         * printing.el: Drop Emacs 20 code.
4136         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
4137         without having used appt.el already).
4139         * subr.el (make-local-hook): Remove function obsolete since 21.1.
4140         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
4141         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
4142         XEmacs.
4143         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
4144         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
4146         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
4147         (charset-width, find-charset-region, chars-in-region, forward-point)
4148         (encode-coding-string, coding-system-p, ccl-execute-on-string)
4149         (define-ccl-program, multibyte-string-p, string-make-multibyte):
4150         Remove compatibility cruft (none of these are used by ps*.el).
4152 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
4154         * subr.el (booleanp): Return t instead of a list (Bug#7086).
4156 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
4158         * server.el (server-process-filter, server-return-error):
4159         Give emacsclient time to shut down after receiving an error string.
4161 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
4163         * files.el (remote-file-name-inhibit-cache): New defcustom.
4165         * time.el (display-time-file-nonempty-p):
4166         Use `remote-file-name-inhibit-cache'.
4168         * net/tramp.el (tramp-completion-reread-directory-timeout):
4169         Fix docstring.
4171         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
4172         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
4173         `remote-file-name-inhibit-cache'.  Check also for an integer
4174         value.  Add/increase counter when `tramp-verbose' >= 10.
4175         (tramp-set-file-property): Add/increase counter when
4176         `tramp-verbose' >= 10.
4178         * net/tramp-cmds.el (tramp-cleanup-all-connections)
4179         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
4180         (tramp-bug): Set tramp-autoload cookie.  Report all interned
4181         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
4182         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
4183         characters only in strings.
4185         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
4186         to backward compatibility.
4188         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
4189         (tramp-handle-file-name-all-completions)
4190         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
4191         (tramp-open-connection-setup-interactive-shell):
4192         Call `tramp-cleanup-connection' directly.
4194 2010-10-02  Glenn Morris  <rgm@gnu.org>
4196         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
4198         * subr.el (char-bytes): Remove obsolete function.
4200         * isearch.el (isearch-return-char): Remove obsolete function.
4202         * mouse.el: No longer provide mldrag.
4203         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
4204         Remove obsolete aliases.
4206         * comint.el (comint-kill-output): Remove obsolete alias.
4208         * composite.el (decompose-composite-char): Remove obsolete function.
4209         * ps-def.el (decompose-composite-char): Remove unused function.
4211         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
4213         * outline.el (outline-visible): Remove obsolete function.
4215         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
4216         * faces.el (internal-find-face, internal-get-face)
4217         (frame-update-faces, frame-update-face-colors)
4218         (x-frob-font-weight, x-frob-font-slant)
4219         (internal-frob-font-weight, internal-frob-font-slant)
4220         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
4221         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
4222         (x-make-font-bold-italic): Remove functions and aliases, obsolete
4223         since Emacs 21.1.
4224         * emulation/viper-util.el (viper-get-face):
4225         * obsolete/lucid.el (find-face, get-face): Use facep.
4226         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
4227         Remove unused functions.
4228         * vc/ediff-util.el (ediff-submit-report): Doc fix.
4230         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
4231         delete tempfile if interrupted during compilation.
4233 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4235         * net/tls.el (tls-starttls-switches): Give up on using starttls with
4236         gnutls-cli.
4237         (tls-program): Add --insecure to be consistent with the defaults from
4238         openssl s_client.  Now all three commands are insecure.
4240 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
4242         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
4243         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
4244         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
4246 2010-10-01  Glenn Morris  <rgm@gnu.org>
4248         * obsolete/sc.el: Remove file.
4250         * files.el (temporary-file-directory): On darwin, also try
4251         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
4253 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
4255         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
4256         Let's not break compatibility gratuitously, shall we?
4258 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4260         * net/tls.el (tls-starttls-switches): New variable.
4261         (tls-find-starttls-argument): Use it.
4262         (open-tls-stream): Ditto.
4264         * net/netrc.el (netrc-credentials): Return the value of the "default"
4265         entry.
4266         (netrc-machine): Ditto.
4268 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
4270         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
4272 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
4274         * server.el (server-start): Don't write pid to the authentication file.
4275         (server-create-tty-frame): Don't send pid.
4276         (server-process-filter): Send pid at the start of every connection.
4278 2010-09-30  Glenn Morris  <rgm@gnu.org>
4280         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
4281         (show-all-diary-entries): Remove obsolete function aliases.
4283         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
4284         Remove options, obsolete since 22.1.
4285         (appt-display-format, appt-display-message):
4286         Remove backwards-compatibility code.
4287         (appt-check): No longer check appt-issue-message.
4288         (appt-make-list): No longer autoload it.  Doc fix.  No longer
4289         activate the package.
4291 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4293         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
4294         (starttls-negotiate): Just call boot, and let the handshake be
4295         triggered from the read loop.
4297 2010-09-29  Glenn Morris  <rgm@gnu.org>
4299         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
4300         not displaying the diary.
4301         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
4302         * calendar/appt.el (appt-check): No longer need to kill diary.
4304         * calendar/diary-lib.el (diary-list-entries): Move the
4305         "Preparing..." message entirely here.
4306         (diary-simple-display, diary-fancy-display): Move "Preparing..."
4307         messages to diary-list-entries.
4308         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
4309         diary-display-function.
4311         * calendar/diary-lib.el (diary-include-other-diary-files):
4312         Trap some recursive includes.
4314         * calendar/appt.el (appt-activate): Check diary file.
4316 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
4318         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
4319         construction.
4321         * calendar/time-date.el: No need to require cl for Emacs 21.
4323 2010-09-28  Glenn Morris  <rgm@gnu.org>
4325         * calendar/appt.el (appt-check): Minor simplification.
4327 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
4329         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
4330         citation prefix.
4332 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
4334         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4335         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
4337 2010-09-27  Kenichi Handa  <handa@m17n.org>
4339         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
4340         "ustar" format.
4342 2010-09-27  Kenichi Handa  <handa@m17n.org>
4344         * international/mule.el (define-coding-system): Docstring fixed.
4346         * international/mule-diag.el (describe-character-set): Use princ
4347         with proper print-length and print-level instead of insert.
4349 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
4351         * window.el (walk-windows): Doc fix (bug#7105).
4353 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4355         * emacs-lisp/float-sup.el (e): Remove.
4357 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
4359         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
4360         variable.
4361         (starttls-negotiate): Use it.
4363 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4365         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
4366         back.
4368 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4370         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
4372 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4374         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
4376         * net/netrc.el (netrc-store-data): New function.
4378 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
4380         * net/gnutls.el: GnuTLS glue code to set up a connection.
4382 2010-09-25  Julien Danjou  <julien@danjou.info>
4384         * notifications.el: Call dbus-register-signal only if it is bound.
4386 2010-09-25  Glenn Morris  <rgm@gnu.org>
4388         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4389         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4390         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4391         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4392         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4393         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
4394         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
4395         * eshell/esh-util.el, eshell/esh-var.el:
4396         Remove leading `*' from docs of faces and defcustoms.
4398 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
4400         * eshell/em-ls.el (eshell-ls-archive-regexp):
4401         * eshell/esh-util.el (eshell-tar-regexp):
4402         * ibuffer.el (ibuffer-compressed-file-name-regexp):
4403         * info.el (Info-suffix-list):
4404         * international/mule.el (auto-coding-alist):
4405         * woman.el (woman-file-regexp, woman-file-compression-regexp):
4406         * progmodes/etags.el (tags-compression-info-list):
4407         Support xz compression.
4409 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
4411         * files.el (get-free-disk-space): Don't assume the "df" output
4412         columns line up (Bug#6995).
4414 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
4416         * finder.el (finder-unknown-keywords):
4417         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
4418         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
4420 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
4422         * server.el (server-start): Revert part of 2010-08-08 change.  Using
4423         address 127.0.0.1 for local host is now done in Fmake_network_process.
4425 2010-09-24  Glenn Morris  <rgm@gnu.org>
4427         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
4428         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
4429         * textmodes/css-mode.el, textmodes/dns-mode.el:
4430         Move autoloaded auto-mode-alist entries to files.el.
4431         * files.el (auto-mode-alist): Move entries here.
4433 2010-09-23  Glenn Morris  <rgm@gnu.org>
4435         * isearch.el (isearch-lazy-highlight-cleanup)
4436         (isearch-lazy-highlight-initial-delay)
4437         (isearch-lazy-highlight-interval)
4438         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
4439         * net/net-utils.el (ipconfig-program-options):
4440         Move aliases to options before the associated definitions.
4442 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4444         * newcomment.el (comment-normalize-vars): Better test validity of
4445         comment-end-skip.
4447 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4449         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
4450         (float-e): New name for `e'.
4451         (degrees-to-radians, radians-to-degrees):
4452         * calendar/solar.el (solar-longitude):
4453         * calculator.el (calculator-registers, calculator-funcall):
4454         * textmodes/artist.el (artist-spray-random-points):
4455         * play/bubbles.el (bubbles--initialize-images): Use new names.
4457 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
4459         Update to CEDET 1.0's version of EIEIO.
4461         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
4462         New function.
4463         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
4464         (eieio-default-eval-maybe): Eval val instead of unquoting only.
4465         (class-precedence-list): If class is nil, return nil.
4466         (eieio-generic-call): If class of first input arg is nil, don't
4467         look up static methods, and do check for primary methods.
4468         (initialize-instance): See if the default needs to be evaluated
4469         during the constructor.
4470         (eieio-perform-slot-validation-for-default): Don't do the check
4471         for values that will eventually be evaluated.
4472         (eieio-eval-default-p): New function.
4473         (eieio-default-eval-maybe): Use it.
4475 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
4477         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
4478         method-invocation-order.
4479         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
4480         (eieio-class-precedence-dfs): Compute class precedence list using
4481         dfs algorithm.
4482         (eieio-class-precedence-bfs): Compute class precedence list using
4483         bfs algorithm.
4484         (eieio-class-precedence-c3): Compute class precedence list using
4485         c3 algorithm.
4486         (class-precedence-list): New function.
4487         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
4488         (inconsistent-class-hierarchy): New error symbol.
4489         (call-next-method): Stow the replacement argument list for future
4490         call-next-method invocations.
4492 2010-09-23  Glenn Morris  <rgm@gnu.org>
4494         * calendar/appt.el (appt-check): If not displaying the diary,
4495         use (diary 1) to only get the entries we need.
4496         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
4497         that it is in day order.  (Bug#7019)
4499         * calendar/appt.el (appt-check): Rather than showing the diary,
4500         just turn off invisible display, and only if needed.
4502         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
4504 2010-09-23  Glenn Morris  <rgm@gnu.org>
4506         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4507         (byte-compile-defvar, byte-compile-cl-warn):
4508         Start warnings with lower-case, like the majority.
4510         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
4512         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
4514         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
4515         * files.el (auto-mode-alist): Move ld-script entries here, further down
4516         the list.
4518         * vc/add-log.el: Don't require timezone when compiling.
4519         (timezone-make-date-sortable): Autoload it.
4520         (change-log-sortable-date-at): Don't require timezone.
4521         Use `ignore-errors'.
4523         * comint.el (comint-use-prompt-regexp-instead-of-fields):
4524         Move alias before definition, so it does not need autoloading.
4526         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
4527         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
4528         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
4529         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
4530         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
4531         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
4532         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
4533         * textmodes/tex-mode.el, textmodes/two-column.el:
4534         Remove leading `*' from docs of defcustoms etc.
4536 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
4538         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
4540 2010-09-22  Dan Christensen  <jdc@uwo.ca>
4542         * calendar/time-date.el (date-to-time): Try using parse-time-string
4543         first before using the slower timezone-make-date-arpa-standard.
4545 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
4547         * calendar/time-date.el (format-seconds): Comment fix.
4549 2010-09-22  Glenn Morris  <rgm@gnu.org>
4551         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
4552         is not automatically buffer-local.
4554 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4556         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
4557         (smie-indent-comment): Be more careful with comment-start-skip.
4558         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
4559         (smie-indent-functions): Use them.
4561 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
4563         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
4565 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
4567         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
4568         tool-bar-position.  Don't modify frame parameters here.
4569         (menu-bar-options-save): Add tool-bar-position.
4571         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
4573 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4575         * textmodes/reftex-parse.el (reftex-what-macro)
4576         (reftex-context-substring): Let-bind forward-sexp-function to nil
4577         since we don't need/want to treat \begin...\end as a block (bug#7053).
4579         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
4581         * simple.el (blink-matching-open): Use syntax-class.
4583         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
4584         Set invisibility spec for pascal's outline mode.
4585         (pascal-outline-change): Clean up calling convention.
4586         (pascal-show-all, pascal-hide-other-defuns): Update callers.
4588         * progmodes/prolog.el (prolog-smie-forward-token)
4589         (prolog-smie-backward-token): New functions.
4590         (prolog-mode-variables): Use them to parse "!," correctly.
4591         Set up smie-blink-matching for ".".
4593         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
4594         and `end'.
4595         (ispell-region, ispell-process-line): Update users.
4597         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
4598         point-min==1.
4600         * textmodes/ispell.el: Fix commenting convention.
4601         (ispell-parse-output): Simplify, use push.
4602         (ispell-region): Use match-string-no-properties.
4603         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
4604         (ispell-minor-mode): Use define-minor-mode.
4605         (ispell-message): Remove unused var `skip-regexp'.
4606         (ispell-add-per-file-word-list): Use dynamic let-binding.
4607         Try and use the proper comment marker.
4609         * mail/sendmail.el: Fix commenting convention.
4610         (sendmail-send-it): Use line-beginning-position.
4612         * help-fns.el (describe-variable): Add original value, if applicable.
4614 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
4616         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
4618         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
4620 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4622         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
4623         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
4624         (smie-prec2-levels): Use them to better diagnose precedence cycles.
4625         (smie-blink-matching-check): Don't signal a mismatch if car is t.
4626         (smie-blink-matching-open): Rewrite to remove assumptions, so that
4627         something like "." can also be a closer.
4628         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
4629         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
4630         Rename internal functions to use "--".  Update callers.
4632         * frame.el (make-frame-names-alist): Don't list frames on other displays.
4634         * fringe.el (fringe-styles): New var.
4635         (fringe-mode, fringe-query-style): Use it.
4637 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
4639         * progmodes/sql.el: Version 2.8
4640         (sql-login-params): Update widget structure; changes still needed.
4641         (sql-product-alist): Add :list-all and :list-table features for
4642         SQLite, Postgres and MySQL products.
4643         (sql-redirect): Handle default value.
4644         (sql-execute, sql-execute-feature): New functions.
4645         (sql-read-table-name): New function.
4646         (sql-list-all, sql-list-table): New functions.  User API.
4647         (sql-mode-map, sql-interactive-mode-map): Add key definitions
4648         for above functions.
4649         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
4650         for above functions.
4651         (sql-postgres-login-params): Add user and database defaults.
4652         (sql-buffer-live-p): Bug fix.
4653         (sql-product-history): New variable.
4654         (sql-read-product): New function. Use it.
4655         (sql-set-product, sql-product-interactive): Use it.
4656         (sql-connection-history): New variable.
4657         (sql-read-connection): New function.  Use it.
4658         (sql-connect): New function.
4659         (sql-for-each-login): Redesign function interface.
4660         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
4661         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
4662         (sql-comint): Check for program.  Existing live buffer.
4663         (sql-comint-postgres): Add port parameter.
4665 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4667         * emacs-lisp/warnings.el: Fix commenting convention.
4668         (display-warning): Use special mode and make the buffer read-only.
4670 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
4672         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
4673         empty string when it follows a repeated or optional pattern.
4675 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4677         * indent.el (indent-according-to-mode): Apply syntax-propertize.
4678         (indent-region): Use indent-according-to-mode.
4680 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
4682         * fringe.el (fringe-mode): Doc fix.
4684 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
4686         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
4687         refreshing the preview buffer.
4689 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4691         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
4692         (latex-syntax-propertize-rules): New consts; replace
4693         tex-font-lock-syntactic-keywords.
4694         (tex-env-mark, latex-env-before-change): New functions.
4695         (latex-electric-env-pair-mode): New minor mode.
4696         (tex-font-lock-verb): Change arguments; do move point.
4697         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
4698         representation as a form of comment.
4699         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
4700         (doctex-syntax-propertize-rules): New const; replaces
4701         doctex-font-lock-syntactic-keywords.
4702         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
4704         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
4705         (fortran-make-syntax-propertize-function): New function; replaces
4706         fortran-font-lock-syntactic-keywords.
4707         (fortran-mode): Use it.
4708         (fortran-line-length): Use it.  Improve interactive spec.
4710         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
4711         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
4712         when adding surrounding \(..\).
4714         * progmodes/js.el (js-mode): Fix last change (bug#7054).
4716 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4718         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
4719         Use with-current-buffer.
4721         * isearch.el (isearch-face): Rename from `isearch'.
4722         (isearch-highlight): Use new name.
4724 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
4726         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
4727         5, for `half' width fringes.  (Bug#6933)
4729 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4731         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
4732         (byte-compile-defvar): "foo/bar" does not lack a prefix.
4734         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
4736 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
4738         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
4739         in calculating new frame position.  Add more space between new and
4740         parent on the left (Bug#7048).
4742 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
4744         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
4745         defmacro.
4747 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
4749         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
4751         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
4752         obsolete alias for x-selection-value.
4754         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
4756 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
4758         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
4759         cookie.
4761 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
4763         * net/tramp-compat.el (tramp-compat-with-temp-message)
4764         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
4765         (tramp-compat-process-put): New defuns.
4767         * net/tramp.el (top):
4768         * net/tramp-gvfs.el (top):
4769         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
4771         * net/tramp.el (tramp-progress-reporter-update):
4772         Use `tramp-compat-funcall'.
4774         * net/tramp.el (tramp-process-actions):
4775         * net/tramp-gvfs.el (tramp-handle-vc-registered):
4776         * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
4777         (tramp-get-remote-stat, tramp-get-remote-readlink):
4778         Use `tramp-compat-with-temp-message'.
4780         * net/tramp-sh.el (top): Require 'cl.
4781         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
4782         (tramp-open-connection-setup-interactive-shell):
4783         Use `tramp-compat-process-put'.
4785 2010-09-15  Alan Mackenzie  <acm@muc.de>
4787         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
4788         indentation.
4789         (c-forward-<>-arglist-recur): Fix an infinite recursion.
4791 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4793         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
4794         `lexical' for warnings related to lexical scoping.
4795         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
4796         global vars which don't have a prefix and could hence affect lexical
4797         scoping in unrelated files.
4799 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4801         * net/imap.el: Revert back to version
4802         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
4803         seem problematic.
4805 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
4807         * obsolete/old-whitespace.el (whitespace-unload-function):
4808         Explicitly pass `obarray' to `unintern' to avoid a warning.
4810 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4812         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
4813         Add `when' argument.  Update callers.
4815         * subr.el (unintern): Declare the obarray arg mandatory.
4817 2010-09-14  Glenn Morris  <rgm@gnu.org>
4819         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
4820         Doc fixes.
4822         * calendar/diary-lib.el (diary-included-files): New variable.
4823         (diary-list-entries): Maybe initialize diary-included-files.
4824         (diary-include-other-diary-files): Append to diary-included-files.
4825         * calendar/appt.el (appt-update-list): Also check the members of
4826         diary-included-files.  (Bug#6999)
4827         (appt-check): Doc fix.
4829 2010-09-14  David Reitter  <david.reitter@gmail.com>
4831         * simple.el (line-move-visual): Do not truncate goal column to
4832         integer size.  (Bug#7020)
4834 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4836         * repeat.el (repeat): Allow repeating when the last event is a click.
4837         Suggested by Drew Adams (bug#6256).
4839 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
4841         * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
4842         Replace setting HGRCPATH to "" by some less invasive --config options.
4844 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4846         * font-lock.el (font-lock-beginning-of-syntax-function):
4847         Mark as obsolete.
4849 2010-09-14  Glenn Morris  <rgm@gnu.org>
4851         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
4852         and tool-bar modes.  (Bug#6211)
4853         (menu-bar-mode): Move setting of standard-value after the
4854         minor-mode definition, otherwise it seems to have no effect.
4856 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
4858         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
4859         Fix typo.  (Bug#6976)
4861 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4863         * whitespace.el: Allow cleaning up blanks without blank
4864         visualization (Bug#6651).  Adjust help window for
4865         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
4866         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
4867         (whitespace-style): Add new value 'face.  Adjust docstring.
4868         (whitespace-space, whitespace-hspace, whitespace-tab):
4869         Adjust foreground property face.
4870         (whitespace-line-column): Adjust docstring and type declaration.
4871         (whitespace-style-value-list, whitespace-toggle-option-alist)
4872         (whitespace-help-text): Adjust const initialization.
4873         (whitespace-toggle-options, global-whitespace-toggle-options):
4874         Adjust docstring.
4875         (whitespace-display-window, whitespace-interactive-char)
4876         (whitespace-style-face-p, whitespace-color-on): Adjust code.
4877         (whitespace-help-scroll): New fun.
4879 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
4881         * calendar/time-date.el (format-seconds): Comment fix.
4883 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
4885         * progmodes/sql.el: Version 2.7.
4886         (sql-buffer-live-p): Improve detection.
4887         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4888         (sql-set-sqli-buffer): Use it.
4889         (sql-product-interactive): Run `sql-set-sqli-hook'.
4890         (sql-rename-buffer): Code cleanup.
4891         (sql-redirect, sql-redirect-value): New functions.  More to come.
4893 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
4895         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.
4896         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4897         (TRAMP_SRC): New macro.
4898         ($(lisp)/net/tramp-loaddefs.el): New target.
4900 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
4902         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
4904         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
4906         * net/tramp.el (top): Don't show loading message.  Require just
4907         'tramp-compat, everything else is required there.
4908         Use `ignore-errors' where appropriate.
4909         (tramp-inline-compress-start-size, tramp-copy-size-limit)
4910         (tramp-terminal-type, tramp-end-of-output)
4911         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
4912         (tramp-completion-function-alist-ssh)
4913         (tramp-completion-function-alist-telnet)
4914         (tramp-completion-function-alist-su)
4915         (tramp-completion-function-alist-putty, tramp-remote-path)
4916         (tramp-remote-process-environment, tramp-sh-extra-args)
4917         (tramp-actions-before-shell, tramp-uudecode)
4918         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
4919         (tramp-perl-file-attributes)
4920         (tramp-perl-directory-files-and-attributes)
4921         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
4922         (tramp-perl-encode, tramp-perl-decode)
4923         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
4924         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
4925         (tramp-handle-make-symbolic-link, tramp-handle-load)
4926         (tramp-handle-file-name-as-directory)
4927         (tramp-handle-file-name-directory)
4928         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
4929         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
4930         (tramp-do-file-attributes-with-ls)
4931         (tramp-do-file-attributes-with-perl)
4932         (tramp-do-file-attributes-with-stat)
4933         (tramp-handle-set-visited-file-modtime)
4934         (tramp-handle-verify-visited-file-modtime)
4935         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
4936         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
4937         (tramp-handle-file-selinux-context)
4938         (tramp-handle-set-file-selinux-context)
4939         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
4940         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
4941         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
4942         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
4943         (tramp-handle-file-ownership-preserved-p)
4944         (tramp-handle-directory-file-name, tramp-handle-directory-files)
4945         (tramp-handle-directory-files-and-attributes)
4946         (tramp-do-directory-files-and-attributes-with-perl)
4947         (tramp-do-directory-files-and-attributes-with-stat)
4948         (tramp-handle-file-name-all-completions)
4949         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
4950         (tramp-handle-copy-file, tramp-handle-copy-directory)
4951         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
4952         (tramp-do-copy-or-rename-file-via-buffer)
4953         (tramp-do-copy-or-rename-file-directly)
4954         (tramp-do-copy-or-rename-file-out-of-band)
4955         (tramp-handle-make-directory, tramp-handle-delete-directory)
4956         (tramp-handle-delete-file)
4957         (tramp-handle-dired-recursive-delete-directory)
4958         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
4959         (tramp-handle-insert-directory)
4960         (tramp-handle-unhandled-file-name-directory)
4961         (tramp-handle-expand-file-name)
4962         (tramp-handle-substitute-in-file-name)
4963         (tramp-handle-executable-find, tramp-process-sentinel)
4964         (tramp-handle-start-file-process, tramp-handle-process-file)
4965         (tramp-handle-call-process-region, tramp-handle-shell-command)
4966         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
4967         (tramp-handle-insert-file-contents)
4968         (tramp-handle-insert-file-contents-literally)
4969         (tramp-handle-find-backup-file-name)
4970         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
4971         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
4972         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
4973         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
4974         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
4975         (tramp-find-file-exists-command, tramp-open-shell)
4976         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
4977         (tramp-open-connection-setup-interactive-shell)
4978         (tramp-local-coding-commands, tramp-remote-coding-commands)
4979         (tramp-find-inline-encoding, tramp-call-local-coding-command)
4980         (tramp-inline-compress-commands, tramp-find-inline-compress)
4981         (tramp-compute-multi-hops, tramp-maybe-open-connection)
4982         (tramp-send-command, tramp-wait-for-output)
4983         (tramp-send-command-and-check, tramp-barf-unless-okay)
4984         (tramp-send-command-and-read, tramp-mode-string-to-int)
4985         (tramp-convert-file-attributes, tramp-check-cached-permissions)
4986         (tramp-file-mode-from-int, tramp-file-mode-permissions)
4987         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
4988         (tramp-method-out-of-band-p, tramp-local-host-p)
4989         (tramp-get-remote-path, tramp-get-remote-tmpdir)
4990         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
4991         (tramp-get-test-command, tramp-get-test-nt-command)
4992         (tramp-get-file-exists-command, tramp-get-remote-ln)
4993         (tramp-get-remote-perl, tramp-get-remote-stat)
4994         (tramp-get-remote-readlink, tramp-get-remote-trash)
4995         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
4996         (tramp-get-local-uid, tramp-get-local-gid)
4997         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
4998         tramp-sh.el.
4999         (tramp-methods, tramp-default-method-alist)
5000         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
5001         Move initialization to tramp-sh.el.
5002         (tramp-temp-name-prefix): Make it a defconst.
5003         (tramp-dissect-file-name): Don't check anymore for multi-hop
5004         methods.
5005         (tramp-debug-outline-regexp): Add a docstring.
5006         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
5007         (tramp-get-debug-buffer): Use it.
5009         * net/tramp-cache.el (top): Set tramp-autoload cookie for
5010         initialization forms.
5011         (tramp-set-connection-property): Don't protect `tramp-message'
5012         call, it isn't necessary any longer.
5013         (tramp-dump-connection-properties): Use `ignore-errors'.
5015         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
5016         'password-cache and 'auth-source.
5018         * net/tramp-gvfs.el (top):
5019         * net/tramp-smb.el (top): Require 'tramp-sh.
5021         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
5023         * net/tramp-sh.el: New file, derived from tramp.el.
5024         (top): Initialize `tramp-methods', `tramp-default-method-alist',
5025         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
5026         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
5027         Use `ignore-errors' where appropriate.
5028         (tramp-sh-file-name-handler-alist): Rename from
5029         `tramp-file-name-handler-alist'.
5030         (tramp-send-command-and-check): Return t or nil.  Remove all
5031         `zerop' checks, where called.
5032         (tramp-handle-set-file-modes)
5033         (tramp-do-copy-or-rename-file-directly)
5034         (tramp-handle-delete-directory, tramp-handle-delete-file)
5035         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
5036         (tramp-sh-file-name-handler, tramp-send-command-and-check)
5037         (tramp-get-remote-ln): Set tramp-autoload cookie.
5039         * net/tramp-fish.el: Remove file.
5041 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
5043         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
5044         buffer-file-name to avoid file-locking.  (Bug#7026)
5046 2010-09-13  Julien Danjou  <julien@danjou.info>
5048         * notifications.el (notifications-notify): Add support for
5049         image-path and sound-name.
5050         (notifications-specification-version): Add this variable.
5052 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5054         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
5056 2010-09-12  Leo  <sdl.web@gmail.com>
5058         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
5059         (rcirc-completion-start): New variables.
5060         (rcirc-nick-completions): Rename to rcirc-completions.
5061         (rcirc-nick-completion-start-offset): Delete.
5062         (rcirc-completion-at-point): New function for constructing
5063         completion data for both nicks and irc commands.  Add to
5064         completion-at-point-functions in rcirc mode.
5065         (rcirc-complete): Rename from rcirc-nick-complete; use
5066         rcirc-completion-at-point.
5067         (defun-rcirc-command): Update rcirc-client-commands.
5069 2010-09-11  Glenn Morris  <rgm@gnu.org>
5071         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
5072         atomically, to avoid parallel build errors.  (Bug#4196)
5074 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
5076         * progmodes/sql.el: Version 2.6
5077         (sql-dialect): Synonym for "sql-product".
5078         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5079         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
5080         Set "sql-buffer" to buffer name not buffer object so multiple sql
5081         interactive buffers work properly.  Reverts misguided changes in
5082         earlier work.
5083         (sql-comint): Make sure different buffer name is used if "*SQL*"
5084         buffer is for a different product.
5085         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
5086         login param.
5087         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5088         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5089         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
5090         Accept new buffer name or prompt for one.
5091         (sql-port): Default to zero.
5092         (sql-comint-mysql): Handle "sql-port" as a numeric.
5093         (sql-port-history): Delete unused variable.
5094         (sql-get-login): Default "sql-port" to a number.
5095         (sql-product-alist): Correct Postgres prompt and terminator regexp.
5096         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
5097         "sqlite3" executables.
5098         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
5099         (sql-buffer-live-p): New function.
5100         (sql-mode-menu, sql-send-string): Use it.
5101         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
5102         syntax pattern.
5103         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
5104         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
5106 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5108         * net/netrc.el (netrc-credentials): New convenience function.
5110 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5112         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
5113         to replace texinfo-font-lock-syntactic-keywords.
5114         (texinfo-mode): Use it.
5116         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
5117         Use syntax-propertize-function.
5119         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
5120         replace sgml-font-lock-syntactic-keywords.
5121         (sgml-mode): Use it.
5123         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
5124         since we don't use it.
5126         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
5128         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
5129         if available.
5130         (vhdl-fontify-buffer): Adjust.
5132         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
5133         replace tcl-font-lock-syntactic-keywords.
5134         (tcl-mode): Use it.
5136         * progmodes/simula.el (simula-syntax-propertize-function): New var to
5137         replace simula-font-lock-syntactic-keywords.
5138         (simula-mode): Use it.
5140         * progmodes/sh-script.el (sh-st-symbol): Remove.
5141         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
5142         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
5143         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
5144         (sh-font-lock-paren): Set syntax-multiline.
5145         (sh-font-lock-syntactic-keywords): Remove.
5146         (sh-syntax-propertize-function): New function to replace it.
5147         (sh-mode): Use it.
5149         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
5150         Define while compiling.
5151         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5152         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
5153         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
5154         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5155         (ruby-here-doc-end-syntax): Only define when
5156         syntax-propertize is not available.
5157         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
5158         New functions.
5159         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
5160         (electric-indent-chars): Silence bytecompiler.
5161         (ruby-mode): Use prog-mode, syntax-propertize-function, and
5162         electric-indent-chars.
5164         * progmodes/python.el (python-syntax-propertize-function): New var to
5165         replace python-font-lock-syntactic-keywords.
5166         (python-mode): Use it.
5167         (python-quote-syntax): Simplify and adjust to new use.
5169         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
5170         replace perl-font-lock-syntactic-keywords.
5171         (perl-syntax-propertize-special-constructs): New fun to replace
5172         perl-font-lock-special-syntactic-constructs.
5173         (perl-font-lock-syntactic-face-function): New fun.
5174         (perl-mode): Use it.
5176         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
5177         to replace octave-font-lock-close-quotes.
5178         (octave-syntax-propertize-function): New function to replace
5179         octave-font-lock-syntactic-keywords.
5180         (octave-mode): Use it.
5182         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
5183         replaces mixal-font-lock-syntactic-keywords.
5184         (mixal-mode): Use it.
5186         * progmodes/make-mode.el (makefile-syntax-propertize-function):
5187         New var; replaces makefile-font-lock-syntactic-keywords.
5188         (makefile-mode): Use it.
5189         (makefile-imake-mode): Adjust.
5191         * progmodes/js.el (js--regexp-literal): Define while compiling.
5192         (js-syntax-propertize-function): New var; replaces
5193         js-font-lock-syntactic-keywords.
5194         (js-mode): Use it.
5196         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
5197         replaces gdb-script-font-lock-syntactic-keywords.
5198         (gdb-script-mode): Use it.
5200         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
5201         (fortran--font-lock-syntactic-keywords): New var.
5202         (fortran-line-length): Update syntax-propertize-function and
5203         fortran--font-lock-syntactic-keywords.
5205         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
5207         * progmodes/cfengine.el (cfengine-mode):
5208         Use syntax-propertize-function.
5209         (cfengine-font-lock-syntactic-keywords): Remove.
5211         * progmodes/autoconf.el (autoconf-mode):
5212         Use syntax-propertize-function.
5213         (autoconf-font-lock-syntactic-keywords): Remove.
5215         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
5216         (ada-after-change-function, ada-initialize-syntax-table-properties)
5217         (ada-handle-syntax-table-properties): Only define when
5218         syntax-propertize is not available.
5219         (ada-mode): Use syntax-propertize-function.
5221         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
5222         (font-lock-fontify-syntactic-keywords-region): Move handling of
5223         font-lock-syntactically-fontified to...
5224         (font-lock-default-fontify-region): ...here.
5225         Let syntax-propertize-function take precedence.
5226         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
5228         * emacs-lisp/syntax.el (syntax-propertize-function)
5229         (syntax-propertize-chunk-size, syntax-propertize--done)
5230         (syntax-propertize-extend-region-functions): New vars.
5231         (syntax-propertize-wholelines, syntax-propertize-multiline)
5232         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
5233         (syntax-propertize): New functions.
5234         (syntax-propertize-rules): New macro.
5235         (syntax-ppss-flush-cache): Set syntax-propertize--done.
5236         (syntax-ppss): Call syntax-propertize.
5238         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
5240 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
5242         * textmodes/ispell.el (ispell-init-process): Improve comments.
5243         XEmacs compatibility changes regarding (add-hook) 'local option
5244         and (set-process-query-on-exit-flag).
5246 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
5248         * net/tramp-cache.el (tramp-parse-connection-properties):
5249         Set tramp-autoload cookie.
5251 2010-09-09  Glenn Morris  <rgm@gnu.org>
5253         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
5254         (imagemagick-register-types): Doc fix.
5256 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5258         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
5260         * progmodes/js.el (require): Require is already "eval-and-compile".
5261         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
5262         (js--re-search-backward): Use js--re-search-forward.
5264         * progmodes/fortran.el (fortran-line-length): Don't recompute
5265         syntactic keywords redundantly a second time.
5267         * progmodes/ada-mode.el: Replace "(set '" with setq.
5268         (ada-mode): Simplify.
5269         (ada-create-case-exception, ada-adjust-case-interactive)
5270         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
5271         (ada-search-ignore-string-comment, ada-move-to-start)
5272         (ada-move-to-end): Use with-syntax-table.
5274         * font-lock.el (save-buffer-state): Remove `varlist' arg.
5275         (font-lock-unfontify-region, font-lock-default-fontify-region):
5276         Update usage correspondingly.
5277         (font-lock-fontify-syntactic-keywords-region):
5278         Set parse-sexp-lookup-properties buffer-locally here.
5279         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
5281         * simple.el (blink-matching-open): Don't burp if we can't find a match.
5283 2010-09-08  Glenn Morris  <rgm@gnu.org>
5285         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
5286         Error if not compiled with -DBYTE_CODE_METER.
5288         * emacs-lisp/bytecomp.el (byte-recompile-directory):
5289         Ignore dir-locals-file.
5291 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5293         * progmodes/compile.el (compilation-error-regexp-alist-alist):
5294         Not a const.
5295         (compilation-error-regexp-alist-alist): Rule out ": " in file names
5296         for the `gnu' messages.
5297         (compilation-set-skip-threshold): New command.
5298         (compilation-start): Use \' rather than $.
5299         (compilation-forget-errors): Use clrhash.
5301 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
5303         * textmodes/ispell.el (ispell-valid-dictionary-list):
5304         Simplify logic.
5306 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
5308         Migrate to Tramp 2.2.  Rearrange load dependencies.
5309         (Bug#1529, Bug#5448, Bug#5705)
5311         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
5312         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
5313         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5315         * net/tramp.el (top): Remove all other tramp-* loads except
5316         tramp-compat.el.  Remove all changes to tramp-unload-hook for
5317         other tramp-* packages.  Rearrange defun order.  Change calls of
5318         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
5319         `tramp-compat-octal-to-decimal' to new function names.
5320         (tramp-terminal-type, tramp-initial-end-of-output)
5321         (tramp-methods, tramp-foreign-file-name-handler-alist)
5322         (tramp-tramp-file-p, tramp-completion-mode-p)
5323         (tramp-send-command-and-check, tramp-get-remote-path)
5324         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
5325         (tramp-shell-quote-argument): Set tramp-autoload cookie.
5326         (with-file-property, with-connection-property): Move to
5327         tramp-cache.el.
5328         (tramp-local-call-process, tramp-decimal-to-octal)
5329         (tramp-octal-to-decimal): Move to tramp-compat.el.
5330         (tramp-handle-shell-command): Do not require 'shell.
5331         (tramp-compute-multi-hops): No special handling for tramp-gw-*
5332         symbols.
5333         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
5335         * net/tramp-cache.el (top): Require 'tramp.  Add to
5336         `tramp-unload-hook'.
5337         (tramp-cache-data, tramp-get-file-property)
5338         (tramp-set-file-property, tramp-flush-file-property)
5339         (tramp-flush-directory-property, tramp-get-connection-property)
5340         (tramp-set-connection-property, tramp-flush-connection-property)
5341         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
5342         cookie.
5343         (with-file-property, with-connection-property): New defuns, moved
5344         from tramp.el.
5345         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
5346         macro.
5348         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
5349         (tramp-version): Set tramp-autoload cookie.
5351         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
5352         changes to tramp-unload-hook for other tramp-* packages.  Add to
5353         `tramp-unload-hook'.
5354         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
5355         (tramp-compat-call-process): New defuns, moved from tramp.el.
5357         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
5358         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5359         Add to `tramp-unload-hook'.  Change call of
5360         `tramp-compat-decimal-to-octal' to new function name.
5361         (tramp-fish-method): Make it a defconst.
5362         (tramp-fish-file-name-p): Make it a defsubst.
5363         (tramp-fish-method, tramp-fish-file-name-handler)
5364         (tramp-fish-file-name-p): Set tramp-autoload cookie.
5366         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
5367         `tramp-foreign-file-name-handler-alist'.  Add to
5368         `tramp-unload-hook'.
5369         (tramp-ftp-method): Make it a defconst.
5370         (tramp-ftp-file-name-p): Make it a defsubst.
5371         (tramp-ftp-method, tramp-ftp-file-name-handler)
5372         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
5374         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
5375         `tramp-foreign-file-name-handler-alist'.  Add to
5376         `tramp-unload-hook'.  Change checks, whether package can be
5377         loaded.
5378         (tramp-gvfs-file-name-p): Make it a defsubst.
5379         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
5380         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
5381         (tramp-gvfs-handle-file-directory-p): New defun.
5382         (tramp-gvfs-file-name-handler-alist): Use it.
5384         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
5385         `tramp-foreign-file-name-handler-alist'.  Add to
5386         `tramp-unload-hook'.
5387         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
5388         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
5389         defconst.
5390         (tramp-gw-tunnel-method, tramp-gw-socks-method)
5391         (tramp-gw-open-connection): Set tramp-autoload cookie.
5393         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
5394         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5395         Add to `tramp-unload-hook'.  Change checks, whether package can be
5396         loaded.
5397         (tramp-imap-file-name-p): Make it a defsubst.
5398         (tramp-imap-method, tramp-imaps-method)
5399         (tramp-imap-file-name-handler)
5400         (tramp-imap-file-name-p): Set tramp-autoload cookie.
5402         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
5403         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5404         Add to `tramp-unload-hook'.  Change checks, whether package can be
5405         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
5406         function name.
5407         (tramp-smb-tunnel-method): Make it a defconst.
5408         (tramp-smb-file-name-p): Make it a defsubst.
5409         (tramp-smb-method, tramp-smb-file-name-handler)
5410         (tramp-smb-file-name-p): Set tramp-autoload cookie.
5412         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
5413         (tramp-uuencode-region): Set tramp-autoload cookie.
5415         * net/trampver.el (top) Add to `tramp-unload-hook'.
5416         (tramp-version, tramp-bug-report-address): Set tramp-autoload
5417         cookie.  Update release number.
5419 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
5421         * textmodes/ispell.el (ispell-start-process): Make sure original
5422         arg list is properly initialized (Bug#6993, Bug#6994).
5424 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
5426         * files.el (directory-abbrev-alist): Use \` as default regexp.
5428         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
5429         chars like - or ] (bug#6984).
5430         (rx-any-condense-range): Explode 2-char ranges.
5432 2010-09-06  Glenn Morris  <rgm@gnu.org>
5434         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
5436 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5438         * textmodes/bibtex.el:
5439         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
5441 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5443         * net/imap.el (imap-message-map): Remove optional buffer parameter,
5444         since no callers use it.
5445         (imap-message-get): Ditto.
5446         (imap-message-put): Ditto.
5447         (imap-mailbox-map): Ditto.
5448         (imap-mailbox-put): Ditto.
5449         (imap-mailbox-get): Ditto.
5450         (imap-mailbox-get): Revert last change for this function.
5452 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5454         * net/imap.el (imap-fetch-safe): Remove function, and alter all
5455         callers to use `imap-fetch' instead.  According to the comments, this
5456         should be safe, since all other IMAP clients use the 1:* syntax.
5457         (imap-enable-exchange-bug-workaround): Remove.
5458         (imap-debug): Remove -- doesn't seem very useful.
5460 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5462         * net/imap.el (imap-log): New convenience function used throughout
5463         instead of repeating the same code all over the place.
5465 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
5467         * mouse.el (mouse-save-then-kill): Save region to kill-ring
5468         when mouse-drag-copy-region is non-nil (Bug#6956).
5470 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
5472         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
5473         Improve regexps (Bug#6987).
5474         (dired-sort-toggle): Search more robustly for -t flag.
5476         * files.el (get-free-disk-space): Search more robustly for
5477         "available" column.  Suggested by Ehud Karni
5478         <ehud@unix.mvs.co.il>.
5480 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
5482         * international/uni-bidi.el:
5483         * international/uni-category.el:
5484         * international/uni-combining.el:
5485         * international/uni-decimal.el:
5486         * international/uni-mirrored.el:
5487         * international/uni-name.el: Regenerate.
5489 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5491         * electric.el (electric-indent-post-self-insert-function):
5492         Don't reindent with a sloppy indentation function.
5494         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
5495         border case in change-log-mode.
5497 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
5499         * progmodes/compile.el (compilation-error-regexp-alist-alist):
5500         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
5501         Recognize leading tab in gcc-include regexp.  Ignore names with
5502         leading "from" or "in" in gnu regexp (Bug#6937).
5504 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5506         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
5507         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
5508         (ispell-start-process): Avoid setq and simplify logic.
5509         (ispell-init-process): Setup kill-buffer-hook locally when needed.
5510         (kill-buffer-hook): Don't use it globally with code that uses
5511         expand-file-name since that may call kill-buffer via
5512         code_conversion_restore.
5514 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
5516         * emacs-lisp/package.el (package-directory-list): Only call
5517         file-name-nondirectory on a string.
5519 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
5521         * emacs-lisp/package.el (package--download-one-archive):
5522         Ensure that archive-contents is valid before saving it.
5523         (package-activate-1, package-mark-obsolete, define-package)
5524         (package-compute-transaction, package-list-maybe-add): Use push.
5526 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5528         Use SMIE's blink-paren for octave-mode.
5529         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
5530         Backslashes do not escape single-quotes, single-quotes do.
5531         (octave-block-else-regexp, octave-block-end-regexp)
5532         (octave-block-match-alist): Remove.
5533         (octave-smie-bnf-table): New var, with old content.
5534         (octave-smie-op-levels): Use it.
5535         (octave-smie-closer-alist): New var.
5536         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
5537         (octave-blink-matching-block-open): Remove.
5538         (octave-reindent-then-newline-and-indent, octave-electric-semi)
5539         (octave-electric-space): Let self-insert-command run expand-abbrev and
5540         blink parens.
5542         * electric.el (electricity): New group.
5543         (electric-indent-chars): New var.
5544         (electric-indent-post-self-insert-function): New fun.
5545         (electric-indent-mode): New minor mode.
5546         (electric-pair-skip-self): New custom.
5547         (electric-pair-post-self-insert-function): New function.
5548         (electric-pair-mode): New minor mode.
5550         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
5551         calcAlg-blink-matching-open.
5552         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
5553         (calc-do-alg-entry): Only touch the part of the keymap that varies.
5554         Use the new blink-matching-check-function.
5556         Provide blink-matching support to SMIE.
5557         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
5558         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
5559         (smie-blink-matching-check, smie-blink-matching-open): New functions.
5561         * simple.el (newline): Fix last change to properly remove itself from
5562         the hook.
5564 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5566         * simple.el (newline): Eliminate optimization.
5567         Use post-self-insert-hook to set hard-newline and things before
5568         running post-self-insert-hook.
5569         (blink-matching-check-mismatch): New function.
5570         (blink-matching-check-function): New variable.
5571         (blink-matching-open): Use them.
5572         Skip back forward over prefix chars skipped by forward-sexp.
5573         Don't check if the parens are backslash escaped.
5574         (blink-paren-post-self-insert-function): Check backslash escaping here.
5576 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
5578         * emacs-lisp/package.el (package-menu-mode-map):
5579         Change package-menu-revert bindings to revert-buffer.
5580         (package-menu-mode): Set revert-buffer-function.
5581         (package-menu-revert): Doc fix.
5583 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
5585         * textmodes/ispell.el (ispell-init-process): Use "~/" as
5586         `default-directory' unless using Ispell per-directory personal
5587         dictionaries and not in a mini-buffer under XEmacs.
5588         (kill-buffer-hook): Do not kill ispell process on exit when
5589         `ispell-process-directory' is "~/".  (Bug#6143)
5591 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
5593         * simple.el (kill-new): Call interprogram-cut-function with only
5594         one argument.
5596         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
5597         Remove cut buffer from error message.
5599         * term/x-win.el (x-select-text):
5600         * term/pc-win.el (x-selection-value):
5601         * term/ns-win.el (x-selection-value):
5602         * eshell/em-term.el:
5603         * w32-fns.el (x-get-selection-value):
5604         * mouse-sel.el (mouse-sel-set-selection-function):
5605         * frame.el (display-selections-p): Remove cut-buffer in documentation.
5607         * term/x-win.el: Update documentation for x-last-selected-text-*.
5608         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
5609         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
5610         (x-select-text): Remove argument PUSH, update documentation.
5611         Remove cut-buffer code.
5612         (x-selection-value-internal): Was previously x-selection-value.
5613         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5614         Update documentation, remove cut-buffer code.
5615         Call x-selection-value-internal.
5616         (x-clipboard-yank): Call x-selection-value-internal.
5617         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
5619         * term/pc-win.el (x-last-selected-text):
5620         x-cut-buffer-or-selection-value renamed to x-selection-value
5621         (x-select-text): Remove argument PUSH, update documentation.
5623         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
5624         x-cut-buffer-or-selection-value renamed to x-selection-value
5625         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5626         (x-select-text): Remove argument PUSH, update documentation.
5628         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
5630         * w32-fns.el (x-last-selected-text):
5631         x-cut-buffer-or-selection-value renamed to x-selection-value.
5632         (x-cut-buffer-max): Remove.
5633         (x-select-text): Remove argument PUSH, update documentation.
5635         * simple.el (interprogram-cut-function): Remove mention of PUSH.
5637         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
5639         * mouse-sel.el (mouse-sel-get-selection-function):
5640         x-cut-buffer-or-selection-value renamed to x-selection-value.
5641         (x-select-text): Remove optional push.
5643 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5645         * simple.el (blink-paren-function): Move from C to here.
5646         (blink-paren-post-self-insert-function): New function.
5647         (post-self-insert-hook): Use it.
5649         * emacs-lisp/pcase.el (pcase-split-memq):
5650         Fix overenthusiastic optimisation.
5651         (pcase-u1): Handle the case of a lambda pred.
5653 2010-08-31  Kenichi Handa  <handa@m17n.org>
5655         * international/mule-cmds.el (standard-display-european-internal):
5656         Setup standard-display-table for 8-bit characters by storing 8-bit
5657         characters in the element vector.
5659         * disp-table.el (standard-display-8bit):
5660         Setup standard-display-table for 8-bit characters by storing 8-bit
5661         characters in the element vector.
5662         (standard-display-european): Likewise.
5664 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
5666         * textmodes/nroff-mode.el (nroff-view): New command.
5667         (nroff-mode-map): Bind it to C-c C-c.
5669 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
5671         * emacs-lisp/smie.el (smie-down-list): New command.
5673         Remove old indentation and navigation code on octave-mode.
5674         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
5675         smie-down-list rather than add a binding for octave-down-block.
5676         (octave-mark-block, octave-blink-matching-block-open):
5677         Rely on forward-sexp-function.
5678         (octave-fill-paragraph): Don't narrow, so you can use
5679         indent-according-to-mode.
5680         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
5681         (octave-in-block-p, octave-re-search-forward-kw)
5682         (octave-re-search-backward-kw, octave-indent-calculate)
5683         (octave-end-as-array-index-p, octave-block-end-offset)
5684         (octave-scan-blocks, octave-forward-block, octave-backward-block)
5685         (octave-down-block, octave-backward-up-block, octave-up-block)
5686         (octave-before-magic-comment-p, octave-indent-line): Remove.
5688 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
5690         * emacs-lisp/package.el (package--read-archive-file): Just use
5691         `read', to avoid copying an additional string.
5692         (package-menu-mode): Set header-line-format here.
5693         (package-menu-refresh, package-menu-revert): Signal an error if
5694         not in the Package Menu.
5695         (package-menu-package-list): New var.
5696         (package--generate-package-list): Operate on the current buffer;
5697         don't assume that it is *Packages*, since the user may rename it.
5698         Allow persistent package listings and sort keys using
5699         package-menu-package-list and package-menu-package-sort-key.
5700         (package-menu--version-predicate): Fix version calculation.
5701         (package-menu-sort-by-column): Don't select the window.
5702         (package--list-packages): Create the *Packages* buffer.
5703         Set package-menu-package-list-key.
5704         (list-packages): Sorting by status is now the default.
5705         (package-buffer-info): Use match-string-no-properties.
5706         (define-package): Add a &rest argument for future proofing, but
5707         don't use it yet.
5708         (package-install-from-buffer, package-install-buffer-internal):
5709         Merge into a single function, package-install-from-buffer.
5710         (package-install-file): Change caller.
5712         * finder.el: Load finder-inf using `require'.
5713         (finder-list-matches): Sorting by status is now the default.
5714         (finder-compile-keywords): Simpify printing.
5716 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5718         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5719         (octave-mode-map): Remove special bindings for forward/backward-block
5720         and octave-backward-up-block.  Use smie-close-block.
5721         (octave-continuation-marker-regexp): New var.
5722         (octave-continuation-regexp): Use it.
5723         (octave-operator-table, octave-smie-op-levels)
5724         (octave-operator-regexp, octave-smie-indent-rules): New vars.
5725         (octave-smie-backward-token, octave-smie-forward-token): New funs.
5726         (octave-mode): Use SMIE.
5727         (octave-close-block): Delete.
5729 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
5731         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
5732         CLIPBOARD, not in PRIMARY.  (Bug#6944)
5734 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5736         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
5737         a list of parents.
5738         (smie-indent-column): Allow indirection through variables.
5740         * composite.el (save-buffer-state): Delete, unused.
5741         * font-lock.el (save-buffer-state): Use with-silent-modifications.
5742         (font-lock-default-fontify-region): Use with-syntax-table.
5743         * jit-lock.el (with-buffer-unmodified): Remove.
5744         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
5746         Use `declare' in defmacros.
5747         * window.el (save-selected-window):
5748         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
5749         * progmodes/python.el (def-python-skeleton):
5750         * net/dbus.el (dbus-ignore-errors):
5751         * jka-cmpr-hook.el (with-auto-compression-mode):
5752         * international/mule.el (with-category-table):
5753         * emacs-lisp/timer.el (with-timeout):
5754         * emacs-lisp/lisp-mnt.el (lm-with-file):
5755         * emacs-lisp/eieio.el (with-slots):
5756         * emacs-lisp/easymenu.el (easy-menu-define):
5757         * emacs-lisp/debug.el (debugger-env-macro):
5758         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
5759         (Multiple-value-call, Multiple-value-prog1):
5760         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
5761         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
5762         edebug rule to definition.
5763         * emacs-lisp/lisp-mode.el (save-selected-window)
5764         (with-current-buffer, combine-after-change-calls)
5765         (with-output-to-string, with-temp-file, with-temp-buffer)
5766         (with-temp-message, with-syntax-table, read-if, eval-after-load)
5767         (dolist, dotimes, when, unless):
5768         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
5770 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
5772         * finder.el: Require `package'.
5773         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
5774         (finder-package-info): Var deleted.
5775         (finder-keywords-hash, finder--builtins-alist): New vars.
5776         (finder-compile-keywords): Compute package--builtins and
5777         finder-keywords-hash instead of finder-keywords-hash, respecting
5778         the "Package" header.
5779         (finder-unknown-keywords, finder-list-matches):
5780         Use finder-keywords-hash and package--list-packages.
5781         (finder-mode): Don't set font-lock-defaults.
5782         (finder-exit): We don't use "*Finder-package*" and "*Finder
5783         Category*" buffers anymore.
5785         * emacs-lisp/package.el (package--builtins-base): Var deleted.
5786         (package--builtins): Set default value to nil.
5787         (package-initialize): Load precomputed value of package--builtins
5788         from finder-inf.el.
5789         (package-alist, package-compute-transaction)
5790         (package-download-transaction): Improve docstring.
5791         (package-read-all-archive-contents): Do not change
5792         package--builtins here.
5793         (list-packages): Make package-list-packages an alias for this.
5794         Sort by status by default.
5795         (package--list-packages): Add optional PACKAGES arg.
5796         (describe-package-1): Use font-lock-face property.  For built-in
5797         packages, insert file commentary.
5798         (package--generate-package-list): Rename from
5799         package-list-packages-internal; all callers changed.  Add optional
5800         PACKAGES arg.  Add alphabetical sort fallbacks.
5801         (package-menu--version-predicate, package-menu--status-predicate)
5802         (package-menu--description-predicate)
5803         (package-menu--name-predicate): New functions.
5805         * info.el (Info-finder-find-node): Search package-alist instead of
5806         finder-package-info.
5808 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
5810         * subr.el (version-regexp-alist): Don't use "a" and "b" for
5811         "alpha" and "beta".
5812         (version-to-list): Handle versions like "10.3d".
5814 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5816         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
5817         (macroexp-accumulate): Use `declare'.
5819 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5821         * whitespace.el (whitespace-style): Adjust type declaration.
5823 2010-08-26  Magnus Henoch  <magnus.henoch@gmail.com>
5825         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5826         empty argument to gvfs-copy.
5828 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
5830         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
5831         handle new TRASH arg of `delete-file'.
5833 2010-08-26  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
5835         * net/tramp.el (tramp-handle-insert-directory): Don't use
5836         `forward-word', its default syntax could be changed.
5838 2010-08-26  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
5839             Michael Albinus  <michael.albinus@gmx.de>
5841         Implement compression for inline methods.
5843         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
5844         (tramp-copy-size-limit): Allow also nil.
5845         (tramp-inline-compress-commands): New defconst.
5846         (tramp-find-inline-compress, tramp-get-inline-compress)
5847         (tramp-get-inline-coding): New defuns.
5848         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
5849         replaced by `tramp-get-inline-coding'.
5850         (tramp-handle-file-local-copy, tramp-handle-write-region)
5851         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
5853 2010-08-26  Noah Lavine  <noah549@gmail.com>  (tiny change)
5855         Detect ssh 'ControlMaster' argument automatically in some cases.
5857         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
5858         (tramp-default-method): Use it.
5860 2010-08-26  Karel Klíč  <kklic@redhat.com>
5862         * net/tramp.el (tramp-file-name-for-operation):
5863         Add file-selinux-context.
5865 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
5867         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
5869 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
5871         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
5872         (Bug#6907).
5874 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
5876         * progmodes/js.el: Make indentation more customizable (Bug#6914).
5877         (js-paren-indent-offset, js-square-indent-offset)
5878         (js-curly-indent-offset): New options.
5879         (js--proper-indentation): Use them.
5881 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
5883         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
5884         instead of inspecting font-lock properties (Bug#6916).
5886 2010-08-26  David Reitter  <david.reitter@gmail.com>
5888         * server.el (server-visit-files): Run pre-command-hook and
5889         post-command-hook for each buffer while it is current (Bug#6910).
5890         (server-execute): Do not run hooks here.
5892 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
5894         Sync with Tramp 2.1.19.
5896         * net/tramp-cmds.el (tramp-cleanup-all-connections)
5897         (tramp-reporter-dump-variable, tramp-load-report-modules)
5898         (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
5899         (tramp-bug): Recommend setting of `tramp-verbose' to 9.
5901         * net/tramp-compat.el (top): Do not autoload
5902         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
5903         only when `start-file-process' is not bound.
5904         (byte-compile-not-obsolete-vars): Define if not bound.
5905         (tramp-compat-funcall): New defmacro.
5906         (tramp-compat-line-beginning-position)
5907         (tramp-compat-line-end-position)
5908         (tramp-compat-temporary-file-directory)
5909         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
5910         (tramp-compat-copy-file, tramp-compat-copy-directory)
5911         (tramp-compat-delete-file, tramp-compat-delete-directory)
5912         (tramp-compat-number-sequence, tramp-compat-process-running-p):
5913         Use it.
5914         (tramp-advice-file-expand-wildcards): Do not use
5915         `tramp-handle-file-remote-p'.
5916         (tramp-compat-make-temp-file): Simplify fallback implementation.
5917         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5918         (tramp-compat-copy-tree): Remove function.
5919         (tramp-compat-delete-file): New defun.
5920         (tramp-compat-delete-directory): Provide implementation for older
5921         Emacsen.
5922         (tramp-compat-file-attributes): Handle only
5923         `wrong-number-of-arguments' error.
5925         * net/tramp-fish.el (tramp-fish-handle-copy-file):
5926         Add PRESERVE_SELINUX_CONTEXT.
5927         (tramp-fish-handle-delete-file): Add TRASH arg.
5928         (tramp-fish-handle-directory-files-and-attributes):
5929         Do not use `tramp-fish-handle-file-attributes.
5930         (tramp-fish-handle-file-local-copy)
5931         (tramp-fish-handle-insert-file-contents)
5932         (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
5934         * net/tramp-gvfs.el (top): Require url-util.
5935         (tramp-gvfs-mount-point): Remove.
5936         (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
5937         and `set-file-selinux-context'.
5938         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
5939         (tramp-gvfs-handle-file-selinux-context)
5940         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
5941         (with-tramp-dbus-call-method): Format trace message.
5942         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
5943         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
5944         Implement backup call, when operation on local files fails.
5945         Use progress reporter.  Flush properties of changed files.
5946         (tramp-gvfs-handle-delete-file): Add TRASH arg.
5947         Use `tramp-compat-delete-file'.
5948         (tramp-gvfs-handle-expand-file-name): Expand "~/".
5949         (tramp-gvfs-handle-make-directory): Make more traces.
5950         (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
5951         (tramp-gvfs-url-file-name): Hexify file name in url.
5952         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
5953         into account for the resulting file name.
5954         (tramp-gvfs-handler-askquestion): Preserve current message, in
5955         order to let progress reporter continue afterwards.  (Bug#6257)
5956         Return dummy mountpoint, when the answer is "no".
5957         See `tramp-gvfs-maybe-open-connection'.
5958         (tramp-gvfs-handler-mounted-unmounted)
5959         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
5960         attribute "default_location".  Set "prefix" property.
5961         Handle default-location.
5962         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
5963         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5964         exists.  Raise an error, if not (due to a corresponding answer
5965         "no" in interactive questions, for example).
5966         Use `tramp-compat-funcall'.
5968         * net/tramp-imap.el (top): Autoload `epg-make-context'.
5969         (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5970         (tramp-imap-do-copy-or-rename-file)
5971         (tramp-imap-handle-insert-file-contents)
5972         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
5973         (tramp-imap-handle-delete-file): Add TRASH arg.
5975         * net/tramp-smb.el (tramp-smb-handle-copy-file):
5976         Add PRESERVE-SELINUX-CONTEXT.
5977         (tramp-smb-handle-copy-file)
5978         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5979         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
5980         Use `with-progress-reporter'.
5981         (tramp-smb-handle-delete-file): Add TRASH arg.
5983         * net/tramp.el (tramp-methods): Move hostname to the end in all
5984         ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
5985         appropriate.
5986         (tramp-verbose): Describe verbose level 9.
5987         (tramp-completion-function-alist)
5988         (tramp-file-name-regexp, tramp-chunksize)
5989         (tramp-local-coding-commands, tramp-remote-coding-commands)
5990         (with-connection-property, tramp-completion-mode-p)
5991         (tramp-action-process-alive, tramp-action-out-of-band)
5992         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
5993         (tramp-exists-file-name-handler): Fix docstring.
5994         (tramp-remote-process-environment): Use `format' instead of
5995         `concat'.  Protect version string by apostroph.
5996         (tramp-shell-prompt-pattern): Do not use a shy group in case of
5997         XEmacs.
5998         (tramp-file-name-regexp-unified)
5999         (tramp-completion-file-name-regexp-unified): On W32 systems, do
6000         not regard the volume letter as remote filename.  (Bug#5447)
6001         (tramp-perl-file-attributes)
6002         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6003         (tramp-vc-registered-read-file-names): Read input as
6004         here-document, otherwise the command could exceed maximum length
6005         of command line.
6006         (tramp-file-name-handler-alist): Add `file-selinux-context' and
6007         `set-file-selinux-context'.
6008         (tramp-debug-message): Add `tramp-compat-funcall' to ignored
6009         backtrace functions.
6010         (tramp-error-with-buffer): Don't show the connection buffer when
6011         we are in completion mode.
6012         (tramp-progress-reporter-update, tramp-remote-selinux-p)
6013         (tramp-handle-file-selinux-context)
6014         (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
6015         (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
6016         New defuns.
6017         (with-progress-reporter): New defmacro.
6018         (tramp-debug-outline-regexp): New defconst.
6019         (top, tramp-rfn-eshadow-setup-minibuffer)
6020         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6021         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6022         (tramp-completion-mode-p, tramp-check-for-regexp)
6023         (tramp-open-connection-setup-interactive-shell)
6024         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6025         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6026         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
6027         Use `tramp-compat-funcall'.
6028         (tramp-handle-make-symbolic-link): Flush file properties.
6029         (tramp-handle-load, tramp-handle-file-local-copy)
6030         (tramp-handle-insert-file-contents, tramp-handle-write-region)
6031         (tramp-handle-vc-registered, tramp-maybe-send-script)
6032         (tramp-find-shell): Use `with-progress-reporter'.
6033         (tramp-do-file-attributes-with-stat): Add space in format string,
6034         in order to work around a bug in pdksh.  Reported by Gilles Pion
6035         <gpion@lfdj.com>.
6036         (tramp-handle-verify-visited-file-modtime): Do not send a command
6037         when the connection is not established.
6038         (tramp-handle-set-file-times): Simplify the check for utc.
6039         (tramp-handle-directory-files-and-attributes)
6040         (tramp-get-remote-path): Use `copy-tree'.
6041         (tramp-completion-handle-file-name-all-completions): Ensure, that
6042         non remote files are still checked.  Oops.
6043         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6044         Handle PRESERVE-SELINUX-CONTEXT.
6045         (tramp-do-copy-or-rename-file): Add progress reporter.
6046         (tramp-do-copy-or-rename-file-directly): Do not use
6047         `tramp-handle-file-remote-p'.
6048         (tramp-do-copy-or-rename-file-out-of-band):
6049         Use `tramp-compat-delete-directory'.
6050         (tramp-do-copy-or-rename-file-out-of-band)
6051         (tramp-compute-multi-hops, tramp-maybe-open-connection):
6052         Use `format-spec-make'.
6053         (tramp-handle-delete-file): Add TRASH arg.
6054         (tramp-handle-dired-uncache): Flush directory cache, not only file
6055         cache.
6056         (tramp-handle-expand-file-name)
6057         (tramp-completion-handle-file-name-all-completions)
6058         (tramp-completion-handle-file-name-completion):
6059         Use `tramp-connectable-p'.
6060         (tramp-handle-start-file-process): Set connection property "vec".
6061         Use it, in order to invalidate file caches.  Check only for
6062         `remote-tty' process property.
6063         Implement tty setting.  (Bug#4604, Bug#6360)
6064         (tramp-file-name-for-operation): Add `call-process-region' and
6065         `set-file-selinux-context'.
6066         (tramp-find-foreign-file-name-handler)
6067         (tramp-advice-make-auto-save-file-name)
6068         (tramp-set-auto-save-file-modes): Remove superfluous check for
6069         `stringp'.  This is done inside `tramp-tramp-file-p'.
6070         (tramp-file-name-handler): Trace 'quit.  Catch the error for some
6071         operations when we are in completion mode.  This gives the user
6072         the chance to correct the file name in the minibuffer.
6073         (tramp-completion-mode-p): Use `non-essential'.
6074         (tramp-handle-file-name-all-completions): Backward/ XEmacs
6075         compatibility: Use `completion-ignore-case' if
6076         `read-file-name-completion-ignore-case' does not exist.
6077         (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
6078         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6079         `tramp-open-shell'.
6080         (tramp-action-password): Hide password prompt before next run.
6081         (tramp-process-actions): Widen connection buffer for the trace.
6082         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6083         process property.  Trace stty settings if `tramp-verbose' >= 9.
6084         Apply workaround for IRIX64 bug.  Move argument of last
6085         `tramp-send-command' where it belongs to.
6086         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6087         front of `login-args'.
6088         (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
6089         on "/dev/null" instead of "/".
6090         (tramp-get-ls-command-with-dired): Make test for "--dired"
6091         stronger.
6092         (tramp-set-auto-save-file-modes): Adapt version check.
6093         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6094         (tramp-handle-process-file): Call the program in a subshell, in
6095         order to preserve working directory.
6096         (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
6097         `tramp-remote-sh' from `tramp-methods'.
6098         (tramp-get-ls-command): Make test for "--color=never" stronger.
6099         (tramp-check-for-regexp): Use (forward-line 1).
6101         * net/trampver.el: Update release number.
6103 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
6105         * help.el (help-map): Bind `C-h P' to describe-package.
6107         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
6109         * emacs-lisp/package.el (package-refresh-contents): Catch errors
6110         when downloading archives.
6111         (describe-package-1): Add package commentary.
6112         (package-install-button-action): New function.
6113         (package-menu-mode-map): Bind ? to package-menu-describe-package.
6114         (package-menu-view-commentary): Function removed.
6115         (package-list-packages-internal): Hide the `package' package too.
6117 2010-08-25  Kenichi Handa  <handa@m17n.org>
6119         * language/misc-lang.el ("Arabic"): New language environment.
6120         Setup composition-function-table for Arabic characters.
6122         * international/fontset.el (setup-default-fontset): Fix typo for
6123         arabic OTF spec (fini->fina).
6125 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
6127         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
6128         on all frames.
6130 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6132         * whitespace.el: Allow cleaning up blanks without blank
6133         visualization (Bug#6651).  Adjust help window for
6134         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
6135         instead of whitespace-line-column (from EmacsWiki).  New version
6136         13.1.
6137         (whitespace-style): Add new value 'face.  Adjust docstring.
6138         (whitespace-space, whitespace-hspace, whitespace-tab):
6139         Adjust foreground property face.
6140         (whitespace-line-column): Adjust docstring and type declaration.
6141         (whitespace-style-value-list, whitespace-toggle-option-alist)
6142         (whitespace-help-text): Adjust const initialization.
6143         (whitespace-toggle-options, global-whitespace-toggle-options):
6144         Adjust docstring.
6145         (whitespace-display-window, whitespace-interactive-char)
6146         (whitespace-style-face-p, whitespace-color-on): Adjust code.
6147         (whitespace-help-scroll): New fun.
6149 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
6151         * emacs-lisp/package.el (list-packages): Alias for
6152         package-list-packages.
6154 2010-08-24  Kevin Ryde  <user42@zip.com.au>
6156         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
6157         (Bug#5651).
6159         * progmodes/ruby-mode.el (ruby): Add defgroup.
6161 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
6163         * progmodes/python.el: Add Ipython support (Bug#5390).
6164         (python-shell-prompt-alist)
6165         (python-shell-continuation-prompt-alist): New options.
6166         (python--set-prompt-regexp): New function.
6167         (inferior-python-mode, run-python, python-shell):
6168         Require ansi-color.  Use python--set-prompt-regexp to set the comint
6169         prompt based on the Python interpreter.
6170         (python--prompt-regexp): New var.
6171         (python-check-comint-prompt)
6172         (python-comint-output-filter-function): Use it.
6173         (run-python): Use a pipe (Bug#5694).
6175 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
6177         * progmodes/python.el (python-send-region): Send a different
6178         Python command if Ipython is in use.
6179         (python-check-version): Use a Python command to find the version.
6181 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
6183         * mouse.el (mouse-yank-primary): Avoid setting primary when
6184         deactivating the mark (Bug#6872).
6186 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
6188         * progmodes/python.el (python-block-pairs): Allow use of "finally"
6189         with "else" (Bug#3991).
6191 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
6193         * net/dbus.el: Accept UNIX domain sockets as bus address.
6194         (top): Don't initialize `dbus-registered-objects-table' anymore,
6195         this is done in dbusbind,c.
6196         (dbus-check-event): Adapt test for bus.
6197         (dbus-return-values-table, dbus-unregister-service)
6198         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
6199         Adapt doc string.
6201 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
6203         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
6205 2010-08-22  Juri Linkov  <juri@jurta.org>
6207         * simple.el (read-extended-command): New function with the logic
6208         for `completing-read' moved to Elisp from `execute-extended-command'.
6209         Use `function-called-at-point' in `minibuffer-default-add-function'
6210         to get a command name for M-n (bug#5364, bug#5214).
6212 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
6214         * startup.el (command-line-1): Issue warning for ignored arguments
6215         --unibyte, etc (Bug#6886).
6217 2010-08-22  Leo  <sdl.web@gmail.com>
6219         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
6220         (ignore, bright, dim, keyword): Split list of nicknames before
6221         passing to rcirc-add-or-remove (Bug#6894).
6223 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
6225         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
6227 2010-08-22  Leo  <sdl.web@gmail.com>
6229         Fix buffer-list rename&refresh after killing a buffer in ido.
6230         * ido.el: Revert Óscar's.
6231         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
6232         Remember the buffers at head, rather than their name.
6233         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
6235 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
6236             Stefan Monnier  <monnier@iro.umontreal.ca>
6238         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
6239         extra backslash added to each line (bug#6890).
6241 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6243         * subr.el (read-key): Don't echo keystrokes (bug#6883).
6245 2010-08-22  Glenn Morris  <rgm@gnu.org>
6247         * menu-bar.el (menu-bar-games-menu): Add landmark.
6249 2010-08-22  Glenn Morris  <rgm@gnu.org>
6251         * align.el (align-regexp): Make group and spacing arguments
6252         use the interactive defaults when non-interactive.  (Bug#6698)
6254         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
6255         expansion, so as not to need sendmail.
6256         (mail-text-start): Remove declaration.
6257         (rmail-retry-failure): Require sendmail.
6259 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
6261         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
6263 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
6265         * progmodes/flymake.el (flymake-start-syntax-check-process):
6266         Use `start-file-process' in order to let it run also on remote hosts.
6268 2010-08-22  Kenichi Handa  <handa@m17n.org>
6270         * files.el: Add `word-wrap' as safe local variable.
6272 2010-08-22  Glenn Morris  <rgm@gnu.org>
6274         * woman.el (woman-translate): Case matters.  (Bug#6849)
6276 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
6278         * simple.el (kill-region): Doc fix (Bug#6787).
6280 2010-08-22  Glenn Morris  <rgm@gnu.org>
6282         * calendar/diary-lib.el (diary-header-line-format):
6283         Fit it to the window, not the frame.
6285 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
6287         * subr.el (ignore-errors): Add debug declaration.
6289 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
6291         * whitespace.el (whitespace-color-off): Remove post-command-hook
6292         locally.
6294 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6296         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
6298 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
6300         * cus-edit.el (custom-group-value-create): Add extra newline
6301         before end line (Bug#6876).
6303 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
6305         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
6306         when extending it.  Before killing on the second click, check if
6307         the buffer is the correct one.  Doc fix.
6308         (mouse-secondary-save-then-kill): Allow usage without first
6309         calling mouse-start-secondary, by defaulting to point.  Don't save
6310         an empty secondary selection.  Doc fix.
6312 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6314         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
6315         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
6316         New version 13.0.
6317         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
6318         Adjust initialization.
6319         (whitespace-bob-marker, whitespace-eob-marker)
6320         (whitespace-buffer-changed): New vars.
6321         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
6322         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
6323         (whitespace-post-command-hook, whitespace-display-char-on):
6324         Adjust code.
6325         (whitespace-looking-back, whitespace-buffer-changed): New funs.
6326         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
6328 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6330         * files.el (locate-file-completion-table): Only list the .el and .elc
6331         extensions if there's no other choice (bug#5955).
6333         * facemenu.el (facemenu-self-insert-data): New var.
6334         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
6335         New functions.
6336         (facemenu-add-face): Use them.
6338         * simple.el (blink-matching-open): Obey forward-sexp-function.
6340 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6342         * simple.el (prog-mode-map): New var.
6343         (prog-indent-sexp): New command.
6345         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
6347         * progmodes/prolog.el (smie): Require.
6349         * emacs-lisp/smie.el (smie-default-backward-token)
6350         (smie-default-forward-token): Strip properties.
6351         (smie-next-sexp): Be more careful with associative operators.
6352         (smie-forward-sexp-command): Generalize.
6353         (smie-backward-sexp-command): Simplify.
6354         (smie-closer-alist): New var.
6355         (smie-close-block): New command.
6356         (smie-indent-debug-log): New var.
6357         (smie-indent-offset-rule): Add a few more cases.
6358         (smie-indent-column): New function.
6359         (smie-indent-after-keyword): Use it.
6360         (smie-indent-keyword): Use it.
6361         Fix up the opener code's point position.
6362         (smie-indent-comment): Only applies at BOL.
6363         (smie-indent-debug): New command.
6365         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
6366         declarations that are useful before running the macro.
6368 2010-08-18  Joakim Verona  <joakim@verona.se>
6370         * image.el (imagemagick-types-inhibit): New variable.
6371         (imagemagick-register-types): New function.
6372         * image-mode.el (image-transform-properties): New function.
6373         (image-transform-set-scale, image-transform-fit-to-height)
6374         (image-transform-set-rotation, image-transform-set-resize)
6375         (image-transform-fit-to-width, image-transform-fit-to-height):
6376         New functions.
6377         (image-toggle-display-image): Support image transforms.
6379 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
6381         * image.el (create-animated-image): Don't add heuristic mask to image
6382         (Bug#6839).
6384 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
6386         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
6387         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
6389 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6391         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
6393         Font-lock '...' strings, plus various simplifications and fixes.
6394         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6395         (octave-font-lock-close-quotes): New function.
6396         (octave-font-lock-syntactic-keywords): New var.
6397         (octave-mode): Use it.  Set beginning-of-defun-function.
6398         (octave-mode-map): Don't override the <foo>-defun commands.
6399         (octave-mode-menu): Pass it directly to easy-menu-define;
6400         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
6401         (octave-block-match-alist): Fix up last change so that
6402         octave-close-block uses the more specific keyword.
6403         (info-lookup-mode): Silence byte-compiler.
6404         (octave-beginning-of-defun): Not interactive any more.
6405         Optimize slightly.
6406         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
6407         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
6408         (octave-completion-at-point-function): Make sure point is within
6409         beg..end.
6410         (octave-reindent-then-newline-and-indent):
6411         Use reindent-then-newline-and-indent.
6412         (octave-add-octave-menu): Remove.
6414 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
6416         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
6417         (report-emacs-bug-can-use-xdg-email): New functions.
6418         (report-emacs-bug): Set can-xdg-email to result of
6419         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
6420         \C-cm to report-emacs-bug-insert-to-mailer and add help text
6421         about it.
6423         * net/browse-url.el (browse-url-default-browser): Add cond
6424         for browse-url-xdg-open.
6425         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
6427 2010-08-17  Glenn Morris  <rgm@gnu.org>
6429         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
6430         (c-fontify-recorded-types-and-refs): Define for compiler.
6431         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
6432         before use.
6434         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
6435         Fix format call.
6437 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
6439         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
6440         properties.
6441         (tramp-handle-process-file): Call the program in a subshell, in
6442         order to preserve working directory.
6443         (tramp-action-password): Hide password prompt before next run.
6444         (tramp-process-actions): Widen connection buffer for the trace.
6446 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
6448         * net/rcirc.el (rcirc-log-process-buffers): New option.
6449         (rcirc-print): Use it.
6450         (rcirc-generate-log-filename): New function.
6451         (rcirc-log-filename-function): Change default to
6452         rcirc-generate-log-filename (Bug#6828).
6454 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
6456         * simple.el (deactivate-mark): If select-active-regions is `only',
6457         only set selection for temporarily active regions.
6459         * cus-start.el: Change defcustom for select-active-regions.
6461 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
6463         * mouse.el (mouse--drag-set-mark-and-point): New function.
6464         (mouse-drag-track): Use LOCATION arg to push-mark.
6465         Use mouse--drag-set-mark-and-point to take click-count into
6466         consideration when updating point and mark (Bug#6840).
6468 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
6470         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6471         Give the Ruby rule a lower priority than Gnu (Bug#6778).
6473 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
6475         * font-lock.el (lisp-font-lock-keywords-2):
6476         Add combine-after-change-calls, condition-case-no-debug,
6477         with-demoted-errors, and with-silent-modifications (Bug#6025).
6479 2010-08-14  Kevin Ryde  <user42@zip.com.au>
6481         * emacs-lisp/copyright.el (copyright-update-year)
6482         (copyright-update): Temporary switch-to-buffer to ensure the
6483         buffer change being queried is visible (Bug#5394).
6485 2010-08-14  Tom Tromey  <tromey@redhat.com>
6487         * progmodes/etags.el (tags-file-name): Mark safe if stringp
6488         (Bug#6733).
6490 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
6492         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
6493         MS-DOS.  (Bug#6689)
6495 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
6497         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
6498         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6499         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6500         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
6501         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
6502         Call menu-bar-set-tool-bar-position.
6504 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6506         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
6507         comment style (bug#6834).
6508         * progmodes/scheme.el (scheme-mode-syntax-table):
6509         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
6510         "b" flag in "' 14b" syntax.
6512         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
6513         for (un)commenting the region and performing completion.
6514         (octave-mode-menu): Use standard commands for help and completion.
6515         (octave-mode-syntax-table): Support %{..%} comments (sort of).
6516         (octave-mode): Use define-derived-mode.
6517         Set completion-at-point-functions and don't set columns.
6518         Don't disable adaptive-fill-regexp.
6519         (octave-describe-major-mode, octave-comment-region)
6520         (octave-uncomment-region, octave-comment-indent)
6521         (octave-indent-for-comment): Remove.
6522         (octave-indent-calculate): Rename from calculate-octave-indent.
6523         (octave-indent-line, octave-fill-paragraph): Update caller.
6524         (octave-initialize-completions): No need to make an alist.
6525         (octave-completion-at-point-function): New function.
6526         (octave-complete-symbol): Use it.
6527         (octave-insert-defun): Use define-skeleton.
6529         * progmodes/octave-mod.el (octave-mode): Set comment-add.
6530         (octave-mode-map): Use comment-dwim (bug#6829).
6532 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
6534         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
6535         indentation of inserted comment.
6537 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
6539         * faces.el (region): Add type gtk that uses gtk colors.
6541         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
6542         Handle theme-name change.
6544 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
6546         * progmodes/sql.el: Version 2.5
6547         (sql-product-alist): Add :prompt-cont-regexp property for several
6548         database products.
6549         (sql-prompt-cont-regexp): New variable.
6550         (sql-output-newline-count, sql-output-by-send):
6551         New variables.  Record number of newlines in input text.
6552         (sql-send-string): Handle multiple filters and count newlines.
6553         (sql-send-magic-terminator): Count terminator newline.
6554         (sql-interactive-remove-continuation-prompt): Filters output to
6555         remove continuation prompts; one for each newline.
6556         (sql-interactive-mode): Set up new variables, prompt regexp and
6557         output filter.
6558         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
6559         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
6561 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6563         * emacs-lisp/pcase.el: New file.
6565 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
6567         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
6568         as here-document, otherwise the command could exceed maximum
6569         length of command line.
6570         (tramp-handle-vc-registered): Call script accordingly.
6571         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
6573 2010-08-10  Kenichi Handa  <handa@m17n.org>
6575         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
6576         composable pattern.
6578 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
6580         * emacs-lisp/package.el (package-version-split)
6581         (package--version-first-nonzero, package-version-compare):
6582         Functions removed.
6583         (package-directory-list, package-load-all-descriptors)
6584         (package--built-in, package-activate, define-package)
6585         (package-installed-p, package-compute-transaction)
6586         (package-read-all-archive-contents)
6587         (package--add-to-archive-contents, package-buffer-info)
6588         (package-tar-file-info, package-list-packages-internal):
6589         Use version-to-list and version-list-*.
6591         * emacs-lisp/package-x.el (package-upload-buffer-internal):
6592         Use version-to-list.
6593         (package-upload-buffer-internal): Use version-list-<=.
6595 2010-08-09  Kenichi Handa  <handa@m17n.org>
6597         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
6598         composable pattern.
6600 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
6602         * tutorial.el (tutorial--default-keys): C-d is now bound to
6603         delete-forward-char (Bug#6826).
6605         * mouse.el (mouse-drag-track): Remove accidentally-removed check
6606         for `double' value of mouse-1-click-follows-link (Bug#6807).
6608 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
6610         * replace.el (replace-highlight): Bind isearch-forward and
6611         isearch-error, ensuring that highlighting is updated if the user
6612         switches the search direction (Bug#6808).
6614         * isearch.el (isearch-lazy-highlight-forward): New var.
6615         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6616         (isearch-lazy-highlight-update): Use it.
6618 2010-08-08  Kenichi Handa  <handa@m17n.org>
6620         * international/mule.el (define-charset): Store NAME as :base property.
6621         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
6622         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
6623         current priority.  Force using the designation of the specific
6624         charset by adding `charset' text property.  Improve the whole algorithm.
6626 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
6628         * emulation/pc-select.el (pc-selection-mode-hook)
6629         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
6630         (pc-selection-mode): Fix typos in docstrings.
6632 2010-08-08  Kenichi Handa  <handa@m17n.org>
6634         * language/cyrillic.el: Don't add "microsoft-cp1251" to
6635         ctext-non-standard-encodings-alist here.
6637         * international/mule.el (ctext-non-standard-encodings-alist):
6638         Add "koi8-r" and "microsoft-cp1251".
6639         (ctext-standard-encodings): New variable.
6640         (ctext-non-standard-encodings-table): List only elements for
6641         non-standard encodings.
6642         (ctext-pre-write-conversion): Adjust for the above change.
6643         Check ctext-standard-encodings.
6645         * international/mule-conf.el (compound-text): Doc fix.
6646         (ctext-no-compositions): Doc fix.
6647         (compound-text-with-extensions): Doc fix.
6649 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6651         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
6653 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
6655         * progmodes/which-func.el (which-func-format): Split help-echo text
6656         into lines, like other mode-line tooltips.
6658         * server.el (server-start): When using TCP sockets, force IPv4
6659         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
6661 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6663         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
6665 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
6667         * term.el (term-delimiter-argument-list): Reflow docstring.
6668         (term-read-input-ring, term-write-input-ring, term-send-input)
6669         (term-bol, term-erase-in-display, serial-supported-or-barf):
6670         Fix typos in docstrings.
6672 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6674         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
6676 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
6678         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
6680 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
6682         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
6683         Fix typo in docstring (bug#6747).
6685 2010-08-08  Leo  <sdl.web@gmail.com>
6687         * eshell/esh-io.el (eshell-get-target): Better detection of
6688         read-only file (Bug#6762).
6690 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
6692         * align.el (align-default-spacing): Doc fix.
6693         (align-region-heuristic, align-regexp): Fix typos in docstrings.
6695 2010-08-08  Stephen Peters  <speters@itasoftware.com>
6697         * calendar/icalendar.el
6698         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
6699         (icalendar--get-weekday-numbers): New.
6700         (icalendar--convert-recurring-to-diary): Handle multiple byday
6701         values in weekly rules.  (Bug#6766)
6703 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
6705         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
6706         (icalendar--create-uid, icalendar-export-region)
6707         (icalendar--parse-summary-and-rest): Code formatting.
6709 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
6711         * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
6712         to italicize headers.
6713         (calc-highlight-selections-with-faces): New variable.
6714         (calc-selected-face, calc-nonselected-face): New faces.
6716         * calc/calccomp.el (math-comp-highlight-string): Use
6717         `calc-highlight-selections-with-faces' to determine how to highlight
6718         sub-formulas.
6720         * calc/calc-sel.el (calc-show-selections): Change message to when
6721         using faces to highlight selections.
6723 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
6725         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
6726         Add SQLite 3 keywords, functions and datatypes.
6727         (sql-interactive-mode): Remove `comint-process-echoes' set to t
6728         (Bug#6686).
6730 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
6732         * simple.el (select-active-regions): Move to keyboard.c.
6733         (deactivate-mark): Used saved-region-selection.
6734         (select-active-region): Function removed.
6735         (activate-mark, set-mark, push-mark-command)
6736         (handle-shift-selection): Don't call it.
6737         (keyboard-quit): Avoid adding the region to the window selection.
6739         * mouse.el (mouse-drag-track): Remove hacks to deal with old
6740         select-active-regions implementation.
6741         (mouse-yank-at-click): Doc fix.
6743         * cus-start.el: Add custom declaration for select-active-regions.
6745 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
6747         * simple.el (delete-forward-char): Doc fix.
6749         * tutorial.el (help-with-tutorial): Hack safe file-local variables
6750         after reading the tutorial.
6752 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
6754         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
6755         Fix for the case that a C style comment has its delimiters alone on
6756         their respective lines.
6758 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
6760         * net/tramp.el (tramp-handle-start-file-process): Set connection
6761         property "vec".
6762         (tramp-process-sentinel): Use it for flushing the cache.
6763         We cannot do it via the process buffer, the buffer could be deleted
6764         already when running the sentinel.
6766 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
6768         * comint.el (comint-mode): Make directory tracking functions
6769         functional on remote files.  (Bug#6764)
6771 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
6773         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
6775 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
6777         * emacs-lisp/find-gc.el (find-gc-source-files):
6778         Rename unexec.c => unexcoff.c.
6780         * emacs-lisp/authors.el (authors-fixed-entries):
6781         Rename unexec.c => unexcoff.c.
6783 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
6785         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
6786         cache, not only file cache.
6787         (tramp-process-sentinel): New defun.
6788         (tramp-handle-start-file-process): Use it, in order to invalidate
6789         file caches.
6791 2010-08-03  Leo  <sdl.web@gmail.com>
6793         * server.el (server-start): Simplify loop.
6795 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6797         * frame.el (screen-height, screen-width, set-screen-width)
6798         (set-screen-height): Remove ancient compatibility aliases.
6800         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
6801         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
6803         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
6804         that change current buffer.
6806 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
6808         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
6809         beginning of the string.  Use `string-match-p'.  (Bug#6765)
6811 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
6813         * cus-start.el (x-gtk-use-system-tooltips): New variable.
6815 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
6817         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
6818         (package--builtins): Tweak descriptions.
6819         (package-print-package): Upcase descriptions if necessary.
6820         Show all built-in packages in font-lock-builtin-face.
6821         (package-list-packages-internal): Omit "emacs" package.
6822         Show status of built-in packages as "built-in".
6824 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
6826         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
6827         before killing to preserve the primary selection (Bug#6701).
6829         * term/x-win.el (x-select-text): Doc fix.
6831 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
6833         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
6834         (objc-font-lock-extra-types):
6835         * progmodes/cc-mode.el (c-basic-common-init):
6836         * progmodes/cc-langs.el (c-make-mode-syntax-table)
6837         (c++-make-template-syntax-table)
6838         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
6839         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
6840         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
6841         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
6842         * progmodes/cc-fonts.el (c-make-inverse-face)
6843         (c-basic-matchers-after):
6844         * progmodes/cc-engine.el (c-forward-keyword-clause)
6845         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
6846         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
6847         (c-guess-continued-construct, c-guess-basic-syntax):
6848         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
6849         The above functions were modified or created.
6851 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
6853         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
6855 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
6857         * files.el (bidi-paragraph-direction): Define safe local values.
6859         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
6860         language-info-alist.  Remove outdated FIXME in a comment.
6862 2010-07-31  Alan Mackenzie  <acm@muc.de>
6864         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
6865         Auto-fill broken in C/C++ modes.
6867 2010-07-30  Martin Rudalics  <rudalics@gmx.at>
6869         * help.el (temp-buffer-max-height, temp-buffer-resize-mode)
6870         (resize-temp-buffer-window): Move back from window.el to avoid
6871         calling define-minor-mode in window.el and choke in bootstrap.
6873 2010-07-29  Martin Rudalics  <rudalics@gmx.at>
6875         * loadup.el (top-level): Load window before files for the sake
6876         of replace-buffer-in-windows.
6878         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
6879         (previous-buffer): Move to window.el.
6881         * bindings.el (unbury-buffer): Move to window.el.
6883         * window.el (display-buffer): Move group definition to front of
6884         display buffer section.
6885         (record-window-buffer, unrecord-window-buffer)
6886         (set-window-buffer-start-and-point, switch-to-prev-buffer)
6887         (switch-to-next-buffer): New functions.
6888         (get-next-valid-buffer, last-buffer): Move here from simple.el.
6889         (next-buffer): Move here from simple.el.  Call
6890         switch-to-next-buffer.
6891         (previous-buffer): Move here from simple.el.  Call
6892         switch-to-prev-buffer.
6893         (bury-buffer, quit-restore-window): Switch to previous buffer
6894         when window cannot be deleted.
6895         (unbury-buffer): Move here from bindings.el.
6896         (delete-windows-on): Switch to previous buffer if window cannot
6897         be deleted.  Unrecord buffer argument in all live windows.
6898         (replace-buffer-in-windows): Move here from window.c.  Switch to
6899         previous buffer if window cannot be deleted.  Unrecord argument
6900         buffer in all live windows.
6901         (switch-to-buffer): In doc-string warning suggest using
6902         with-current-buffer instead of set-buffer.
6904 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
6906         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6907         (menu-bar-showhide-tool-bar-menu-customize-disable)
6908         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6909         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
6910         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
6911         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
6912         make a menu for Options => toolbar that can move it.
6914 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
6916         * emacs-lisp/package-x.el (package--make-rss-entry):
6917         (package-maint-add-news-item, package--update-news)
6918         (package-upload-buffer-internal): New arg ARCHIVE-URL.
6920         * emacs-lisp/package.el (package-archive-url): Rename from
6921         package-archive-id.
6922         (package-install): Doc fix.
6923         (package-download-single, package-download-tar, package-install)
6924         (package-menu-view-commentary): Callers changed.
6926 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
6928         * net/tramp.el (tramp-handle-start-file-process): Check only for
6929         `remote-tty' process property.
6930         (tramp-open-shell): Don't check for tty.
6931         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6932         process property.
6934         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
6935         host.
6937 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
6939         * emacs-lisp/package.el (package-load-list, package-archives)
6940         (package-archive-contents, package-user-dir)
6941         (package-directory-list, package--builtins, package-alist)
6942         (package-activated-list, package-obsolete-alist): Mark as risky.
6944 2010-07-28  Phil Hagelberg  <phil@evri.com>
6946         Add support for non-default package repositories.
6947         * emacs-lisp/package.el (package-archive-base): Var deleted.
6948         (package-archives): New variable.
6949         (package-archive-contents): Doc fix.
6950         (package-load-descriptor): Do nothing if descriptor file is missing.
6951         (package--write-file-no-coding): New function.
6952         (package-unpack-single): Use it.
6953         (package-archive-id): New function.
6954         (package-download-single, package-download-tar)
6955         (package-menu-view-commentary): Use it.
6956         (package-installed-p): Make second argument optional.
6957         (package-read-all-archive-contents): New function.
6958         (package-initialize): Use it.
6959         (package-read-archive-contents): Add ARCHIVE argument.
6960         (package--add-to-archive-contents): New function.
6961         (package-install): Don't call package-read-archive-contents.
6962         (package--download-one-archive): Store archive file in a
6963         subdirectory of package-user-dir.
6964         (package-menu-execute): Remove spurious line movement.
6966 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
6968         * cus-start.el (tool-bar-style): Add text-image-horiz.
6970 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
6972         * progmodes/gud.el (gud-common-init): Check for remoteness of
6973         `file', and not of `default-directory'.
6975 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
6977         * net/tramp.el (tramp-methods): Move hostname to the end in all
6978         ssh `tramp-login-args'.
6979         (tramp-verbose): Describe verbose level 9.
6980         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
6981         (tramp-open-connection-setup-interactive-shell): Trace stty
6982         settings if `tramp-verbose' >= 9.
6983         (tramp-handle-start-file-process): Implement tty setting.
6984         (Bug#4604, Bug#6360)
6986         * net/tramp-cmds.el (tramp-bug): Recommend setting of
6987         `tramp-verbose' to 9.
6989 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
6991         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
6992         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
6993         Remove references to package `lisp-re' (bug#4369).
6995 2010-07-27  Tom Tromey  <tromey@redhat.com>
6997         * progmodes/js.el (js-mode):
6998         * progmodes/make-mode.el (makefile-mode):
6999         * progmodes/simula.el (simula-mode):
7000         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
7002 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
7004         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
7006         * time.el (display-time-day-and-date): Remove spurious * in docstring.
7007         (display-time-world-buffer-name, display-time-world-mode-map):
7008         Fix typos in docstrings.
7010 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
7012         * image-mode.el (image-display-size): New function.
7013         (image-forward-hscroll, image-next-line, image-eol, image-eob)
7014         (image-mode-fit-frame): Use it (Bug#6639).
7016 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
7018         * dired.el (dired-buffers-for-dir): Handle list values of
7019         dired-directory (Bug#6636).
7021 2010-07-26  Sam Steingold  <sds@gnu.org>
7023         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
7024         Do not call `x-get-selection' the second time, reuse the value.
7026 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
7028         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
7029         which consist of control chars only.  Suggested by Richard Stallman.
7031 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
7033         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
7034         exists before passing an error to find-file-not-found-functions
7035         (bug#6723).
7037 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
7039         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
7040         Remove leading nil element, adjust values.
7041         (tetris-shapes, tetris-shape-scores):
7042         Change representation of shapes and remove some redundancy.
7043         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
7044         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
7045         Adjust for working with new representation of shapes.
7046         (tetris-shape-rotations): New function.
7047         (tetris-move-bottom, tetris-move-left, tetris-move-right)
7048         (tetris-rotate-prev, tetris-rotate-next):
7049         Adjust for working with the new version of tetris-test-shape.
7051 2010-07-23  Markus Triska  <markus.triska@gmx.at>
7053         * progmodes/ps-mode.el: Use comint (bug#5954).
7054         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
7055         (ps-mode-other-newline): Simplify.
7056         (ps-run-mode): Derive from comint-mode instead of
7057         fundamental-mode, yielding input history etc.
7058         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
7059         (ps-run-send-string): Adapt for comint-mode.
7060         (ps-run-newline): Remove now unneeded function.
7062 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
7064         * net/tramp.el (tramp-methods): Move hostname to the end in all
7065         plink `tramp-login-args'.
7067 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
7069         * net/tramp.el (tramp-open-shell): New defun.
7070         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7071         Use it.
7073 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
7075         * net/tramp.el (tramp-file-name-regexp-unified)
7076         (tramp-completion-file-name-regexp-unified): On W32 systems, do
7077         not regard the volume letter as remote filename.  (Bug#5447)
7079 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
7081         * custom.el (custom-declare-variable): Give a clearer error message
7082         when the docstring is missing (bug#6476).
7084 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
7086         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
7087         (sql-login-params): New widget definition.
7088         (sql-oracle-login-params, sql-mysql-login-params)
7089         (sql-solid-login-params, sql-sybase-login-params)
7090         (sql-informix-login-params, sql-ingres-login-params)
7091         (sql-ms-login-params, sql-postgres-login-params)
7092         (sql-interbase-login-params, sql-db2-login-params)
7093         (sql-linter-login-params): Use it.
7094         (sql-sqlite-login-params): Use it; Define "database" parameter as
7095         a file name.
7096         (sql-sqlite-program): Change to "sqlite3".
7097         (sql-comint-sqlite): Make sure database name is complete.
7098         (sql-for-each-login): New function.
7099         (sql-connect, sql-save-connection): Use it.
7100         (sql-get-login-ext): New function.
7101         (sql-get-login): Use it.
7102         (sql-make-alternate-buffer-name): Handle :file parameters.
7104 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
7106         * dired.el (dired-no-confirm): Document value t and fix defcustom to
7107         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
7109 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
7111         * dired.el (dired-mode-map): Use command remapping (bug#6632).
7113 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
7115         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
7117 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
7119         * net/tramp.el (tramp-get-ls-command)
7120         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
7121         instead of "/".
7123 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
7125         * progmodes/sql.el: Version 2.3.
7126         (sql-connection-alist): Change keys from symbols to strings;
7127         enhanced the widget definition.
7128         (sql-mode-menu): Add submenu to select connections.
7129         (sql-interactive-mode-menu): Add "Save Connection" item.
7130         (sql-add-product): Fix menu item.
7131         (sql-get-product-feature): Improved error handling.
7132         (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
7133         (sql-make-alternate-buffer-name): Simplified.
7134         (sql-product-interactive): Handle missing product.
7135         (sql-connect): Support string keys, minor improvements.
7136         (sql-save-connection): New function.
7137         (sql-connection-menu-filter): New function.
7139 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
7141         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
7142         (tramp-open-connection-setup-interactive-shell):
7143         Apply workaround for IRIX64 bug.  Move argument of last
7144         `tramp-send-command' where it belongs to.
7146 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
7148         * net/tramp.el (tramp-perl-file-attributes)
7149         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7150         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7151         front of `login-args'.
7153 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
7155         * time.el (display-time-world-mode): Define with `define-derived-mode'.
7156         Set `show-trailing-whitespace' to nil.
7157         (display-time-world-display): Simplify.
7159 2010-07-18  Alan Mackenzie  <acm@muc.de>
7161         Enhance `c-file-style' in file/directory local variables.
7162         * progmodes/cc-mode.el (c-count-cfss): New function.
7163         (c-before-hack-hook): Call `c-set-style' differently according to
7164         whether c-file-style was set in file or directory local
7165         variables.
7167 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
7169         * progmodes/sql.el: Version 2.2.
7170         (sql-product, sql-user, sql-database, sql-server, sql-port):
7171         Use defcustom :safe keyword rather than putting safe-local-variable
7172         property.
7173         (sql-password): Use defcustom :risky keyword rather than putting
7174         risky-local-variable property.
7175         (sql-oracle-login-params, sql-sqlite-login-params)
7176         (sql-solid-login-params, sql-sybase-login-params)
7177         (sql-informix-login-params, sql-ingres-login-params)
7178         (sql-ms-login-params, sql-postgres-login-params)
7179         (sql-interbase-login-params, sql-db2-login-params)
7180         (sql-linter-login-params): Add `port' option.
7181         (sql-get-product-feature): Add NO-INDIRECT parameter.
7182         (sql-comint-oracle, sql-comint-sybase)
7183         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
7184         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
7185         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
7186         (sql-comint-linter): Rename sql-connect-* functions to
7187         sql-comint-*.
7188         (sql-product-alist, sql-mode-menu): Rename as above and
7189         :sqli-connect-func to :sqli-comint-func.
7190         (sql-connection): New variable.
7191         (sql-interactive-mode): Set it.
7192         (sql-connection-alist): New variable.
7193         (sql-connect): New function.
7194         (sql--alt-buffer-part, sql--alt-if-not-empty)
7195         (sql-make-alternate-buffer-name): Improved alternative buffer name.
7197 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7199         * image-mode.el (image-bookmark-make-record): Do not set context
7200         in an image (Bug#6650).
7202 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
7204         * simple.el (select-active-region): New function.
7205         (push-mark-command, set-mark, activate-mark)
7206         (handle-shift-selection): Use it.
7207         (deactivate-mark): Don't check for size of region.
7209         * mouse.el (mouse-drag-track): Use select-active-region.
7211 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
7213         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
7214         "--dired" stronger.
7216 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
7218         * term/x-win.el (x-select-enable-primary): Change default to nil.
7219         (x-select-enable-clipboard): Add :version keyword.
7221         * mouse.el (mouse-drag-copy-region):
7222         * simple.el (select-active-regions): Likewise.
7224 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
7226         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
7227         (vc-coding-system-for-diff): Use it to decide whether to inherit
7228         from the file the EOL format for reading the diffs of that file.
7229         (Bug#4451)
7231 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
7233         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
7234         unibyte, so compressed attachments are not compressed again.
7236 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
7238         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
7239         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
7240         (tramp-find-shell): Simplify setting connection property.
7241         (tramp-get-ls-command): Make test for "--color=never" stronger.
7243 2010-07-15  Simon South  <ssouth@member.fsf.org>
7245         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
7246         blocks within record declarations (i.e. variant parts) correctly.
7248 2010-07-15  Simon South  <ssouth@member.fsf.org>
7250         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
7251         over literal tokens when parsing so newlines aren't "absorbed" by
7252         single-line comments.  Corrects the indentation of case blocks
7253         that have a comment on the first line.
7255 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
7257         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
7258         by Drew Adams (Bug#5504).
7260 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
7262         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
7263         now that Unicode is used (Bug#6594).
7265 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
7267         * term/x-win.el (x-select-enable-clipboard): Default to t.
7268         (x-initialize-window-system): Don't overwrite Paste menu item.
7270         * simple.el (select-active-regions): Default to t.
7271         (push-mark-command): Don't overwrite primary with empty string.
7273         * mouse.el: Bind mouse-2 to mouse-yank-primary.
7274         (mouse-drag-copy-region): Default to nil.
7276         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
7277         Cut/Copy/Paste menu bar items.
7279 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7281         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
7282         Patch applied by Karl Fogel.
7284         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
7285         and `bookmark-current-buffer' if they have been already set in
7286         another buffer (e.g gnus-art).
7288 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
7289             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7291         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
7293         * bookmark.el (bookmark-make-record-default): Allow unneeded
7294         information to be omitted from the record.
7296         Adjust declarations and calls:
7298         * info.el (bookmark-make-record-default): Adjust declaration.
7299         (Info-bookmark-make-record): Adjust call.
7301         * woman.el (bookmark-make-record-default): Adjust declaration.
7302         (woman-bookmark-make-record): Adjust call.
7304         * man.el (bookmark-make-record-default): Adjust declaration.
7305         (Man-bookmark-make-record): Adjust call.
7307         * image-mode.el (bookmark-make-record-default): Adjust declaration.
7309         * doc-view.el (bookmark-make-record-default): Adjust declaration.
7311 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
7313         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
7314         This is also from Thierry Volpiatto's patch in bug #6444.  However,
7315         because it was extraneous to the functional change in that patch,
7316         and causes a re-indendation, I am committing it separately.
7318 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7320         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
7321         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
7322         Patch applied by Karl Fogel (Bug#6444).
7324 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
7326         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
7328 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
7330         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
7331         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
7332         (ns-alternatives-map): Change S-tab binding to backtab
7333         (bug#6616).
7335         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
7336         under ns.
7338 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
7340         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
7341         (Bug#5806)
7343         * language/tv-util.el (tai-viet-re): Remove format.
7345 2010-07-12  Kenichi Handa  <handa@m17n.org>
7347         * language/hebrew.el: Remove no-byte-compile declaration.
7348         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
7349         composition-function-table for 3-character looking back.
7350         (hebrew-font-get-precomposed): New function.
7351         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
7353 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
7355         * mouse.el (mouse-drag-track): Handle select-active-regions
7356         (Bug#6612).
7358 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
7360         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7361         empty argument to gvfs-copy.
7363 2010-07-10  Glenn Morris  <rgm@gnu.org>
7365         * calendar/calendar.el (calendar-week-end-day): New function.
7366         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
7367         Respect calendar-week-start-day.  (Bug#6606)
7368         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
7369         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
7370         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
7371         respect calendar-week-start-day.
7373 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
7375         * simple.el (use-region-p): Doc fix (Bug#6607).
7377 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
7379         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7380         Add regexps for cucumber and ruby.
7382 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
7384         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
7385         (epa-file-insert-file-contents): Hack to prevent
7386         find-file from opening empty buffer when decryption failed
7387         (bug#6568).
7389 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
7391         * textmodes/ispell.el (ispell-alternate-dictionary):
7392         Use file-readable-p.
7393         Return nil if no word-list is found at default locations.
7394         (ispell-complete-word-dict): Default to nil.
7395         (ispell-command-loop): Use 'word-list' when using lookup-words.
7396         (lookup-words): Use ispell-complete-word-dict or
7397         ispell-alternate-dictionary.  Check for word-list availability
7398         and handle errors if needed with better messages (Bug#6539).
7399         (ispell-complete-word): Use ispell-complete-word-dict or
7400         ispell-alternate-dictionary.
7402 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
7404         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
7405         builtins (BufferError, BytesWarning, WindowsError; callables
7406         bin, bytearray, bytes, format, memoryview, next, print; __package__).
7408 2010-07-07  Glenn Morris  <rgm@gnu.org>
7410         * play/zone.el (top-level): Do not require timer, tabify, or cl.
7411         (zone-shift-left): Ignore intangibility, and any errors from
7412         forward-char.
7413         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
7414         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
7415         deleting, and copying text properties.
7416         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
7417         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
7418         to point-max is hard.
7419         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
7420         (zone-fill-out-screen): Ignore intangibility.
7422 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
7424         * menu-bar.el (menu-bar-mode):
7425         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
7426         if it has been set.
7428         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
7429         word/line selection (Bug#6565).
7431 2010-07-04  Martin Rudalics  <rudalics@gmx.at>
7433         * window.el (get-mru-window): New function.
7435 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
7437         * net/dbus.el (dbus-send-signal): Declare function.
7439 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
7441         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
7442         (dbus-register-property): New optional argument EMITS-SIGNAL.
7443         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
7445 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
7447         * mouse.el (mouse-drag-overlay): Variable deleted.
7448         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
7449         (mouse--remap-link-click-p): New function.
7450         (mouse-drag-track): Handle dragging by using temporary Transient
7451         Mark mode, instead of a special overlay.
7452         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
7453         mouse-show-mark.
7455         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
7456         deleted.
7458 2010-07-02  Juri Linkov  <juri@jurta.org>
7460         * autoinsert.el (auto-insert-alist): Fix readability
7461         by using dotted pair notation for lambda.
7463 2010-07-02  Juri Linkov  <juri@jurta.org>
7465         * faces.el (read-face-name): Rename arg `string-describing-default'
7466         to `default'.  Doc fix.  Display the default value in quotes
7467         in the prompt.  With empty input, return the `default' arg,
7468         unless the default value is a string (in which case return nil).
7469         (describe-face): Replace the string `default' arg of `read-face-name'
7470         with the symbol `default'.
7472 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
7474         * emulation/viper-cmd.el (viper-delete-backward-char)
7475         (viper-del-backward-char-in-insert)
7476         (viper-del-backward-char-in-replace, viper-change)
7477         (viper-backward-indent): Replace delete-backward-char with
7478         delete-char (Bug#6552).
7480 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
7482         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
7484 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
7486         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
7487         argument passed to frame-creation-function (Bug#5378).
7489         * faces.el (x-handle-named-frame-geometry)
7490         (x-handle-reverse-video, x-create-frame-with-faces)
7491         (face-set-after-frame-default, tty-create-frame-with-faces):
7492         Don't separately consult default-frame-alist.  It is now passed as the
7493         PARAMETER argument.
7495 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
7497         * startup.el (command-line): Don't call tool-bar-setup in a
7498         tty-only build.
7500 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
7502         * ruler-mode.el (ruler--save-header-line-format): New fun.
7503         (ruler-mode): Use it as a setter function, so as not to overwrite
7504         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
7506 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
7508         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
7509         (vc-root-diff, vc-print-root-log, vc-log-incoming)
7510         (vc-log-outgoing): Use it.
7511         (vc-diff-internal): Set diff-vc-backend.
7513         * vc/diff-mode.el (diff-vc-backend): New var.
7515 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
7517         * dynamic-setting.el (font-setting-change-default-font):
7518         Remove call to message.
7520 2010-06-28  Kenichi Handa  <handa@m17n.org>
7522         * international/quail.el (quail-insert-kbd-layout): Fix the
7523         showing of untranslated characters.
7525 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
7527         * simple.el (delete-active-region): New option.
7528         (delete-backward-char): Implement in Lisp.
7529         (delete-forward-char): New command.
7531         * mouse.el (mouse-region-delete-keys): Deleted.
7532         (mouse-show-mark): Simplify.
7534         * bindings.el (global-map): Bind delete and DEL, the former to
7535         delete-forward-char.
7537 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
7539         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
7540         (ruby-mode): Bind indent-line-function (Bug#5119).
7542 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
7544         * startup.el (command-line): Recognize "0" X resource value.
7546 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
7548         * startup.el (command-line): Use X resources to set the value of
7549         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
7551         * menu-bar.el (menu-bar-mode):
7552         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
7553         Set init-value to t.
7555         * frame.el (frame-notice-user-settings): Don't change
7556         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
7557         vice versa (Bug#2249).
7559 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
7561         * w32-fns.el (w32-convert-standard-filename): Doc fix.
7563 2010-06-25  Martin Rudalics  <rudalics@gmx.at>
7565         * files.el (read-buffer-to-switch)
7566         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7567         Move to window.el.
7569         * window.el (display-buffer): New customization group.
7570         (special-display-buffer-names, special-display-regexps)
7571         (same-window-buffer-names, same-window-regexps, pop-up-frames)
7572         (display-buffer-reuse-frames, pop-up-windows)
7573         (split-window-preferred-function, split-height-threshold)
7574         (split-width-threshold, even-window-heights): Move or add to
7575         display-buffer customization group.
7576         (window-size-fixed): Move down in code, rewrite doc-string.
7577         (window-right, window-left, window-child, window-internal-p)
7578         (window-any-p, normalize-live-buffer, normalize-live-frame)
7579         (normalize-any-window, normalize-live-window)
7580         (window-iso-combined-p, walk-window-tree-1, walk-window-tree)
7581         (window-in-direction-2, window-in-direction, window-tree-1)
7582         (window-size-ignore, window-sizable, window-sizable-p)
7583         (window-min-size, window-min-size-1, window-size-fixed-p)
7584         (window-size-fixed-1, window-min-delta, window-min-delta-1)
7585         (window-max-delta, window-max-delta-1, window-resizable)
7586         (window-resizable-p, window-total-height, window-height)
7587         (window-full-height-p, window-total-width, window-body-height)
7588         (window-body-width, window-width, resize-window-reset)
7589         (resize-window-reset-1, resize-window, resize-subwindows-skip-p)
7590         (resize-subwindows-normal, resize-subwindows)
7591         (resize-other-windows, resize-this-window, resize-mini-window)
7592         (resize-root-window, resize-root-window-vertically)
7593         (window-deletable-p, window-or-subwindow-p)
7594         (kill-or-unrecord-buffer, quit-restore-window)
7595         (window-split-min-size, window-children-count)
7596         (split-window-quit-restore): New functions.
7597         (ignore-window-parameters, display-buffer-window-and-buffer)
7598         (resize-window-safe-window): New variables.
7599         (window-safe-min-height, window-safe-min-width): New constants.
7600         (window-min-height, window-min-width, window-full-width-p)
7601         (get-lru-window, get-largest-window)
7602         (adjust-window-trailing-edge, window-tree, other-window)
7603         (replace-buffer-in-windows, split-window): Move here from
7604         window.c.
7605         (window-current-scroll-bars): Use normalize-live-window.
7606         (get-window-with-predicate): Use window-list-1.
7607         (get-buffer-window-list): Use normalize-live-buffer and
7608         window-list-1.
7609         (count-windows): Use window-list-1.
7610         (enlarge-window, shrink-window): Use resize-window.
7611         (maximize-window, minimize-window, frame-root-window-p)
7612         (composite-window-p, composite-root-window-p)
7613         (composite-main-window-p, composite-support-window-p)
7614         (composite-root-window, composite-major-window)
7615         (composite-main-sibling, composite-lowest-child-role)
7616         (compound-window-p, compound-main-window-p)
7617         (compound-root-window, group-window-p, group-window-main-p)
7618         (group-root-window, make-compound-window, make-window-group)
7619         (make-support-window): New functions for composite windows.
7620         (one-window-p): Rewrite doc-string.
7621         (delete-window, delete-other-windows, delete-windows-on)
7622         (bury-buffer, switch-to-buffer): Move here from buffer.c.
7623         (split-window-vertically, split-window-horizontally): Call
7624         split-window-quit-restore.
7625         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
7626         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
7627         (bw-refresh-edges, bw-balance-sub): Replace by new balance
7628         windows functions.
7629         (balance-windows, balance-windows-1, balance-windows-2): New
7630         functions for balancing windows.
7631         (bw-adjust-window): Rename to balance-windows-area-adjust.
7632         (balance-windows-area): Call balance-windows-area-adjust.
7633         (pop-up-windows): New values `selected' and `root'.
7634         (window-splittable-p): Rename to window-sensibly-splittable-p.
7635         (split-window-sensibly): Call window-sensibly-splittable-p.
7636         (window--display-buffer-1, window--display-buffer-2): Remove.
7637         (display-buffer-window-and-buffer)
7638         (window--display-buffer-in-window, window--reuse-window)
7639         (window--pop-up-window, window--pop-up-frame)
7640         (window--raise-window-frame): New helper functions for
7641         display-buffer.
7642         (display-buffer): Rewrite using the new helper functions.
7643         (read-buffer-to-switch, switch-to-buffer-other-window)
7644         (switch-to-buffer-other-frame): Move here from files.el.
7645         (set-window-text-height, fit-window-to-buffer): Use
7646         normalize-live-window and resize-window.
7647         (shrink-window-if-larger-than-buffer): Use normalize-live-window
7648         and window-iso-combined-p.
7649         (temp-buffer-max-height, temp-buffer-resize-mode): Move here
7650         from help.el.
7651         (resize-temp-buffer-window): Move here from help.el and use
7652         window-iso-combined-p.
7653         (ctl-x-map): Move bindings for non-scrolling commands here from
7654         window.c.
7656         * cus-start.el (all): Remove window-min-height and
7657         window-min-width entries.  Add recenter-redisplay and
7658         window-splits entries.
7660         * calendar/calendar.el (calendar-basic-setup):  Call
7661         window-sensibly-splittable-p instead of window-splittable-p.
7663         * dired.el (dired-pop-to-buffer): Call
7664         window-sensibly-splittable-p instead of window-splittable-p.
7666         * help-mode.el (help-mode-finish): Remove help-window and
7667         view-return-to-alist handling code.
7669         * help.el (help-window): Remove variable.
7670         (help-window-point-marker): Fix doc-string.
7671         (temp-buffer-max-height, temp-buffer-resize-mode)
7672         (resize-temp-buffer-window): Move to window.el.
7673         (help-window-display-message): Fix doc-string and handling of
7674         optional argument.
7675         (help-window-setup-finish): Remove.
7676         (help-window-setup): Remove handling of list-of-frames and
7677         list-of-window-tuples.  These are handled by the quit-restore
7678         window mechanism now.
7679         (with-help-window): Remove setup of list-of-frames and
7680         list-of-window-tuples.  Reset display-buffer-window-and-buffer
7681         and call help-window-setup when the buffr display mechanism
7682         called by with-output-to-temp-buffer has set it.
7684         * view.el (view-exits-all-viewing-windows): Fix doc-string.
7685         (view-return-to-alist): Remove variable.
7686         (view-file-other-window): Remove second argument in call of
7687         view-buffer-other-window.
7688         (view-file-other-frame): Remove second argument in call of
7689         view-buffer-other-frame.
7690         (view-buffer): Remove the undo-window mechanism and fix call of
7691         view-mode-enter.
7692         (view-buffer-other-window, view-buffer-other-frame): Remove
7693         second argument and return-to mechanism and fix call of
7694         view-mode-enter.
7695         (view-return-to-alist-update): Remove function.
7696         (view-mode-enter): Rename second argument to quit-restore and
7697         replace view-return-to-alist mechanism by quit-restore
7698         parameter.  Rewrite doc-string.
7699         (view-mode-exit): Rename arguments and replace
7700         view-return-to-alist mechanism by calling quit-restore-window.
7701         (View-exit, View-exit-and-edit, View-leave, View-quit)
7702         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
7703         appropriate argument(s).
7704         (view-end-message): Instead of checking view-return-to-alist
7705         look at quit-restore window parameter.
7707         * progmodes/ebrowse.el (ebrowse-view-file-other-frame): Adjust
7708         call of view-mode-enter to the latter's new definition.
7710         * progmodes/python.el (view-return-to-alist): Remove defvar.
7711         (python-describe-symbol): Don't set view-return-to-alist any
7712         more.
7714 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
7716         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
7717         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
7719         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
7720         default directories are expanded (Bug#6143).
7722 2010-06-24  Juri Linkov  <juri@jurta.org>
7724         * minibuffer.el (completions-format): Change default from nil to
7725         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
7727 2010-06-24  Juri Linkov  <juri@jurta.org>
7729         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
7730         buffer-locally to lambda that re-runs the vc diff command.
7731         (Bug#6447)
7733 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
7735         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
7736         echo area is in use (Bug#3412).
7738 2010-06-22  Glenn Morris  <rgm@gnu.org>
7740         * textmodes/texinfmt.el (texinfo-format-region)
7741         (texinfo-raise-lower-sections, texinfo-format-separate-node)
7742         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
7743         (texinfo-format-option, texinfo-noindent):
7744         Use line-beginning-position and line-end-position.
7746         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
7747         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
7748         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
7749         utf-8 characters.
7751 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
7753         * play/zone.el (zone-fall-through-ws): Fix next-line ->
7754         forward-line fallout.
7756 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
7758         * mouse.el (mouse-appearance-menu): Add docstring.
7760         * help.el (describe-key): Print up-event using key-description.
7762 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
7764         * net/zeroconf.el (zeroconf-resolve-service)
7765         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
7766         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
7768 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
7770         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
7772 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
7774         Avoid displaying files with a nil state in vc-dir.
7775         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
7776         cases that cause insertion.
7777         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
7778         with a nil state.
7780 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
7782         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
7784 2010-06-29  Leo  <sdl.web@gmail.com>
7786         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
7788 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
7790         * generic-x.el (bat-generic-mode): Fix regexp for command line
7791         switches (Bug#5719).
7793 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
7795         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
7796         of nconc to avoid pure storage error (Bug#6239).
7798 2010-06-27  Christoph  <cschol2112@googlemail.com>  (tiny change)
7800         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
7801         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
7802         bindings of bookmark-automatically-show-annotations (Bug#6515).
7804 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
7806         * arc-mode.el (archive-zip-extract): Don't quote the file name on
7807         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
7809 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
7811         * comint.el (make-comint, make-comint-in-buffer): Mention return
7812         value in the docstrings.  (Bug#6498)
7814 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
7816         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
7817         since it is not present when using some non-default switches.
7819 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
7821         * simple.el (compose-mail): Fix doc string to refer to
7822         `compose-mail-user-agent-warnings', instead of to the
7823         nonexistent `compose-mail-check-user-agent'.
7825 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
7827         Fix an indentation bug:
7829         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
7830         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
7831         of existing values.
7833         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
7834         (c-clear->-pair-props-if-match-before): now return t when they've
7835         cleared properties, nil otherwise.
7836         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
7837         by taking account of the existing value.
7839         * progmodes/cc-defs.el
7840         (c-clear-char-property-with-value-function): Fix this to clear the
7841         property rather than overwriting it with nil.
7843 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
7845         * emacs-lisp/package.el (package-print-package): Add link to
7846         package description via describe-package.
7847         (describe-package-1): List package requirements.  Add button to
7848         perform installation.
7849         (package-menu-describe-package): New command.
7851         * help-mode.el (help-package): New button type.
7853 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
7855         * emacs-lisp/package.el: Move package-list-packages binding to
7856         menu-bar.el.
7857         (describe-package, describe-package-1, package--dir): New funs.
7858         (package-activate-1): Use package--dir.
7860         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
7862         * help-mode.el (help-package-def): New button type.
7864         * menu-bar.el: Move package-list-packages binding here from
7865         package.el.
7867 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
7869         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
7871 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7873         * emacs-lisp/edebug.el (edebug-read-list):
7874         Phase out old-style backquotes.
7876 2010-06-17  Juri Linkov  <juri@jurta.org>
7878         * help-mode.el (help-mode): Set buffer-local variable
7879         revert-buffer-function to help-mode-revert-buffer.
7880         (help-mode-revert-buffer): New function.
7882         * info.el (Info-revert-find-node): Check for major-mode Info-mode
7883         before popping to "*info*" (like in other Info functions).
7884         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
7885         old-history-forward.  Pop to old-buffer-name or "*info*" to
7886         recreate the killed buffer.  Set Info-history-forward from
7887         old-history-forward.
7888         (Info-breadcrumbs-depth): Add :group and :version.
7890 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
7892         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
7894 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
7896         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
7897         for languages like Portuguese with pt_{BR,PT} and no plain pt.
7899 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
7901         * emacs-lisp/package.el (package-menu-mode-map):
7902         Move initialization into declaration.
7904         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
7906 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
7908         * emacs-lisp/package.el (package-archive-base): Point to
7909         elpa.gnu.org.
7910         (package-enable, package-load-list): New defcustoms.
7911         (package-user-dir, package-directory-list): Turn into defcustoms.
7912         Don't include package-user-dir in package-directory-list.
7913         (package--builtins-base): Don't include Emacs as a "package".
7914         (package-subdirectory-regexp): New var.
7915         (package-load-all-descriptors, package-compute-transaction)
7916         (package-download-transaction): Obey package-load-list.
7917         (package-activate-1): Rename from package-do-activate.
7918         (package-list-packages-internal): Check package-load-list.
7919         (package-load-descriptor, package-generate-autoloads)
7920         (package-unpack, package-unpack-single)
7921         (package--read-archive-file, package-delete):
7922         Use expand-file-name.
7924         * emacs-lisp/package-x.el: New file.  Package uploading
7925         functionality split out from package.el.
7927         * startup.el (command-line): Load packages after reading init file.
7929 2010-06-17  Tom Tromey  <tromey@redhat.com>
7931         * emacs-lisp/package.el: New file.
7933 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
7935         Fix vc-annotate for renamed files when using Git.
7936         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
7937         ls-files.  Doe not pass the object as a file name to cat-file, it
7938         is not a file name.
7939         (vc-git-annotate-command): Pass the file name using -- to avoid
7940         ambiguity with the revision.
7941         (vc-git-previous-revision): Pass a relative file name.
7943 2010-06-22  Glenn Morris  <rgm@gnu.org>
7945         * progmodes/js.el (js-mode-map): Use standard capitalization and
7946         ellipses for menu entries.
7948         * wid-edit.el (widget-complete): Doc fix.
7950 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
7952         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
7954 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
7956         Fix annotating other revisions for renamed files in vc-annotate.
7957         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
7958         VC backend.  Use it when non-nil.
7959         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
7960         (Bug#6487).
7962         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
7963         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7964         Do not pass the file name to the 'previous-revision call when we
7965         don't want a file diff.  (Bug#6489)
7967 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
7969         Fix finding revisions for renamed files in vc-annotate.
7970         * vc/vc.el (vc-find-revision): Add an optional argument for
7971         the VC backend.  Use it when non-nil.
7972         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
7973         backend to vc-find-revision.  (Bug#6487)
7975 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
7977         Fix reading file names in Git annotate buffers.
7978         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
7979         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
7981 2010-06-20  Alan Mackenzie  <acm@muc.de>
7983         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
7984         in file local variables, set it first.
7986 2010-06-19  Glenn Morris  <rgm@gnu.org>
7988         * descr-text.el (describe-char-unicode-data): Insert separating
7989         space when needed.  (Bug#6422)
7991         * progmodes/idlwave.el (idlwave-action-and-binding):
7992         Fix typo in 2009-12-03 change.  (Bug#6450)
7994 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7996         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
7997         handling for `lambda' (misunderstanding).
7999 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
8001         * calc/calc-poly.el (math-accum-factors): Make sure that
8002         constants aren't distributed after they are factored out.
8004 2010-06-16  Juri Linkov  <juri@jurta.org>
8006         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
8007         `list-colors-print'.  (Bug#6332)
8009         * subr.el (read-quoted-char): Fix up last change (bug#6290).
8011 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8013         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
8014         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
8016         * font-lock.el (font-lock-major-mode): Rename from
8017         font-lock-mode-major-mode to distinguish it from
8018         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
8019         (font-lock-set-defaults):
8020         * font-core.el (font-lock-default-function): Adjust users.
8021         (font-lock-mode): Don't set it at all.
8023 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8025         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
8027 2010-06-16  Glenn Morris  <rgm@gnu.org>
8029         * calendar/appt.el (appt-time-msg-list): Doc fix.
8030         (appt-check): Let-bind appt-warn-time.
8031         (appt-add): Make the 3rd argument optional.
8032         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
8033         Only add WARNTIME to the output list if non-nil.
8035 2010-06-16  Ivan Kanis  <apple@kanis.eu>
8037         * calendar/appt.el (appt-check): Let the 3rd element of
8038         appt-time-msg-list specify the warning time.
8039         (appt-add): Add new argument with the warning time.  (Bug#5176)
8041 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
8043         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
8044         older than version 1.6.  (Bug#6361)
8046 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
8048         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
8049         used by cl-do-arglist.  (Bug#6408)
8051 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
8053         * textmodes/ispell.el (ispell-dictionary-base-alist):
8054         Fix portuguese casechars/not-casechars for missing 'çÇ'.
8055         Suggested by Rolando Pereira (bug#6434).
8057 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
8059         * facemenu.el (list-colors-sort): Doc fix.
8061 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
8063         * progmodes/sql.el (sql-connect-mysql): Fix typo.
8065 2010-06-14  Juri Linkov  <juri@jurta.org>
8067         Add sort option `list-colors-sort'.  (Bug#6332)
8068         * facemenu.el (color-rgb-to-hsv): New function.
8069         (list-colors-sort): New defcustom.
8070         (list-colors-sort-key): New function.
8071         (list-colors-display): Doc fix.  Sort list according to the option
8072         `list-colors-sort'.
8073         (list-colors-print): Add HSV values to `help-echo' property of
8074         RGB strings.
8076 2010-06-14  Juri Linkov  <juri@jurta.org>
8078         * compare-w.el: Move to the "vc" subdirectory.
8080 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8082         * image-mode.el (image-mode-map): Remap left-char and right-char.
8084         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
8086 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
8088         * term/common-win.el (x-colors): Add all the color names defined
8089         in rgb.txt (Bug#6332).
8091         * facemenu.el (list-colors-print): Don't print extra names if it
8092         will overflow the window width.
8094         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
8095         change (Bug#6343).
8097 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
8099         * files.el (make-directory): Doc fix (bug#6396).
8101 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
8103         * net/tramp.el (tramp-remote-process-environment): Protect version
8104         string by apostroph.
8105         (tramp-shell-prompt-pattern): Do not use a shy group in case of
8106         XEmacs.
8107         (tramp-file-name-for-operation): Add `call-process-region'.
8108         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
8110         * net/tramp-compat.el (top): Do not autoload
8111         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
8112         only when `start-file-process' is not bound.
8113         (tramp-advice-file-expand-wildcards): Do not use
8114         `tramp-handle-file-remote-p'.
8115         (tramp-compat-make-temp-file): Handle the case, that
8116         `make-temp-file' has no third argument EXTENSION.
8118 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
8120         * makefile.w32-in (WINS_BASIC): Include new directory vc.
8122         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
8124 2010-06-11  Juri Linkov  <juri@jurta.org>
8126         * finder.el (finder-known-keywords): Add keyword "vc"
8127         for version control.
8129         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
8130         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
8131         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
8132         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
8134 2010-06-11  Juri Linkov  <juri@jurta.org>
8136         Move version control related files to the "vc" subdirectory.
8137         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
8138         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
8139         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
8140         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
8141         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
8142         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
8143         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
8144         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
8145         Move files to the "vc" subdirectory.
8147 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
8149         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
8150         (Bug#6367).
8152 2010-06-11  Stephen Eglen  <stephen@gnu.org>
8154         * shell.el: Bind `shell-resync-dirs' to M-RET.
8156 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
8158         * notifications.el: Move file from lisp/net, because it is
8159         supposed to talk locally to the user.
8161 2010-06-10  Julien Danjou  <julien@danjou.info>
8163         * net/notifications.el (notifications-on-action-signal)
8164         (notifications-on-closed-signal): Pass notification id as first
8165         argument to the callback functions.  Add docstrings.
8166         (notifications-notify): Fix docstring.
8168 2010-06-10  Glenn Morris  <rgm@gnu.org>
8170         * emacs-lisp/authors.el (authors-ignored-files)
8171         (authors-valid-file-names): Add some files.
8173 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8175         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
8176         merge conflict, giving preference to the emacs-23 version of the code.
8178 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8180         * emacs-lisp/advice.el (ad-compile-function):
8181         Define warning-suppress-types before we let-bind it (bug#6275).
8183         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
8184         declare it, make it buffer-local and permanent-local (bug#6324).
8185         (vc-resynch-window): Adjust name.
8186         * vc-hooks.el (vc-find-file-hook): Adjust name.
8188 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
8190         * net/notifications.el (notifications-notify): Fix docstring.
8192 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
8194         Update to Unicode 6.0.0 beta.
8195         * international/charprop.el: Update copyright.
8196         * international/mule-cmds.el (ucs-names): Update character ranges.
8197         * international/uni-bidi.el:
8198         * international/uni-category.el:
8199         * international/uni-combining.el:
8200         * international/uni-comment.el:
8201         * international/uni-decimal.el:
8202         * international/uni-decomposition.el:
8203         * international/uni-digit.el:
8204         * international/uni-lowercase.el:
8205         * international/uni-mirrored.el:
8206         * international/uni-name.el:
8207         * international/uni-numeric.el:
8208         * international/uni-old-name.el:
8209         * international/uni-titlecase.el:
8210         * international/uni-uppercase.el: Regenerate.
8212 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
8214         * emacs-lisp/smie.el (comment-string-strip): Declare function.
8215         (smie-precs-precedence-table): Fix typo in docstring.
8217         * vc-mtn.el (log-edit-extract-headers): Declare function.
8219         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
8221         * net/notifications.el (dbus-register-signal): Declare function.
8222         (notifications-notify): Fix typos and reflow docstring.
8224 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
8226         Improve VC create/retrieve tag/branch.
8227         * vc.el (vc-create-tag): Do not read the directory name for VCs
8228         with repository revision granularity.  Adjust the tag/branch
8229         prompt.  Reset VC properties.
8230         (vc-retrieve-tag): Do not read the directory name for VCs
8231         with repository revision granularity.  Reset VC properties.
8233 2010-06-09  Julien Danjou  <julien@danjou.info>
8235         * net/notifications.el: New file.
8237 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
8239         Add optional support for resetting VC properties.
8240         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
8241         call vc-file-clearprops when true.
8242         (vc-resynch-buffer): Add new optional argument, pass it down.
8243         (vc-resynch-buffers-in-directory): Likewise.
8245         Improve support for special markup in the VC commit message.
8246         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
8247         * vc-hg.el (vc-hg-checkin): Add support for Date:.
8248         * vc-git.el (vc-git-checkin):
8249         * vc-bzr.el (vc-bzr-checkin): Likewise.
8251 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8253         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
8254         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
8256 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
8258         * iimage.el: Remove images as soon as the underlying text is modified.
8259         (iimage-modification-hook): New function.
8260         (iimage-mode-buffer): Use it.
8262 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8264         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
8265         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
8266         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
8267         (smie-indent-keyword): Add handling of open-paren keywords.
8268         (smie-indent-comment-continue): Don't assume comment-continue.
8270 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
8272         * window.el (pop-to-buffer): Remove the conditional that
8273         compares new-window and old-window, so it will reselect
8274         the selected window unconditionally.
8275         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
8277 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8279         * emacs-lisp/smie.el (smie-indent-offset-after)
8280         (smie-indent-forward-token, smie-indent-backward-token): New functions.
8281         (smie-indent-after-keyword): Use them.
8282         (smie-indent-fixindent): Only applies to the indentation of the BOL.
8283         (smie-indent-keyword): Tweak the black magic.
8284         (smie-indent-comment-continue): Strip comment-continue before use.
8285         (smie-indent-functions): Indent comments before keywords.
8287 2010-06-06  Juri Linkov  <juri@jurta.org>
8289         * isearch.el (isearch-lazy-highlight-search): Fix looping
8290         by checking for empty match.  This syncs this loop with the
8291         similar loop in `isearch-search'.  (Bug#6362)
8293 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
8295         * net/dbus.el (dbus-register-method): Declare function.
8296         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
8297         (dbus-introspect): Doc fix.
8298         (dbus-event-bus-name, dbus-introspect-get-interface)
8299         (dbus-introspect-get-argument): Reflow docstrings.
8301 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
8303         vc-log-incoming/vc-log-outgoing fixes for Git.
8304         * vc-git.el (vc-git-log-view-mode): Fix font lock for
8305         incoming/outgoing logs.
8306         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
8307         instead of vc-git-compute-remote.
8308         (vc-git-compute-remote): Remove.
8310 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
8312         * term/common-win.el (x-colors): Add "dark green" and "dark
8313         turquoise" (Bug#6332).
8315 2010-06-04  Juri Linkov  <juri@jurta.org>
8317         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
8318         Instead of setting `replace' to t and replacing the same string
8319         with itself, don't do certain actions when
8320         kill-do-not-save-duplicates is non-nil and string is equal to car
8321         of kill-ring: don't call menu-bar-update-yank-menu, don't push
8322         interprogram-paste strings to kill-ring, and don't push the input
8323         argument `string' to kill-ring.
8324         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
8326 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
8328         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
8330 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
8332         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
8333         (tramp-gvfs-handler-mounted-unmounted)
8334         (tramp-gvfs-connection-mounted-p): Handle default-location.
8336         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
8337         move files to trash.
8339 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
8341         * international/mule-cmds.el (nonascii-insert-offset)
8342         (nonascii-translation-table): Add obsolescence information.
8344         * international/mule.el (make-translation-table-from-vector): Doc fix.
8346 2010-06-03  Glenn Morris  <rgm@gnu.org>
8348         * desktop.el (desktop-clear-preserve-buffers):
8349         Add "*Warnings*" buffer.  (Bug#6336)
8351 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
8353         vc-log-incoming/vc-log-outgoing improvements for Git.
8354         * vc-git.el (vc-git-log-outgoing): Use the same format as the
8355         short log.
8356         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
8358         Add bindings for vc-log-incoming and vc-log-outgoing.
8359         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
8360         and vc-log-outgoing.
8361         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
8362         and vc-log-outgoing.
8364 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
8366         * net/rcirc.el (rcirc-sort-nicknames): Remove.
8367         (rcirc-handler-366): Always sort nicknames.
8369 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
8371         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
8373 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
8375         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
8377 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8379         * net/rcirc.el (rcirc-sort-nicknames): Change default.
8380         (rcirc-sort-nicknames-join): Avoid setq.
8382 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
8384         * net/rcirc.el (rcirc-sort-nicknames): New custom.
8385         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
8386         (rcirc-handler-366): Use them.
8388 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8390         Split smie-indent-calculate into more manageable chunks.
8391         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
8392         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
8393         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
8394         (smie-indent-exps): Extract from smie-indent-calculate.
8395         (smie-indent-functions): New var.
8396         (smie-indent-functions): Use them.
8398 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8400         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
8401         (smie-indent-calculate): Simplify and cleanup.
8403 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
8405         * net/tramp-gvfs.el (top): Require url-util.
8406         (tramp-gvfs-mount-point): Remove.
8407         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
8408         New defuns.
8409         (with-tramp-dbus-call-method): Format trace message.
8410         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
8411         Implement backup call, when operation on local files fails.
8412         Use progress reporter.  Flush properties of changed files.
8413         (tramp-gvfs-handle-make-directory): Make more traces.
8414         (tramp-gvfs-url-file-name): Hexify file name in url.
8415         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
8416         into account for the resulting file name.
8417         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
8418         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
8419         (tramp-gvfs-handler-mounted-unmounted)
8420         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
8421         attribute "default_location".  Set "prefix" property.
8422         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
8423         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
8424         exists.  Raise an error, if not (due to a corresponding answer
8425         "no" in interactive questions, for example).
8427 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
8429         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
8431 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
8433         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
8434         right-*.  (Bug#6265)
8436 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
8438         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
8439         * vc-git.el (vc-git-compute-remote): New function.
8440         (vc-git-log-outgoing): Use it instead of hard coding a value.
8441         (vc-git-log-incoming): New function.
8443         Improve state updating for VC tag commands.
8444         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
8445         to update the state of all buffers in the directory.
8447         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
8449 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8451         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
8452         `file-directory-p' to the filename part rather than to the whole text.
8454 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8456         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
8458 2010-05-31  Drew Adams  <drew.adams@oracle.com>
8460         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
8462 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
8464         * subr.el (momentary-string-display): Just use read-event to read
8465         the exit event (Bug#6238).
8467 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
8469         * international/mule.el (define-coding-system): Doc fix (bug#6313).
8471 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
8473         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
8474         Suggested by Eli Zaretskii <eliz@gnu.org>.
8476 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8478         * minibuffer.el (completion-file-name-table): Don't return a boundary
8479         past the end of `string' (bug#6299).
8480         (completion--file-name-table): Delegate to completion-file-name-table
8481         for the `boundaries' case.
8483 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
8485         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
8486         movement commands.
8488         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
8489         `path-separator', but maintain compatibility with Emacs 20.2.
8491 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
8493         * server.el (server-process-filter): Receive parent-id argument
8494         from emacsclient.
8495         (server-create-window-system-frame): New arg.  Pass parent-id as
8496         frame parameter.
8498 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
8500         Bidi-sensitive word movement with arrow keys.
8501         * subr.el (right-arrow-command, left-arrow-command): Move to
8502         bindings.el.
8504         * bindings.el (right-char, left-char): Move from subr.el and
8505         rename from right-arrow-command and left-arrow-command.
8506         (right-word, left-word): New functions.
8507         (global-map) <right>: Bind to right-char.
8508         (global-map) <left>: Bind to left-char.
8509         (global-map) <C-right>: Bind to right-word.
8510         (global-map) <C-left>: Bind to left-word.
8512         * ls-lisp.el (ls-lisp-classify-file): New function.
8513         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
8514         (ls-lisp-classify): Call ls-lisp-classify-file.
8515         (insert-directory): Remove blanks from switches.
8517 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
8519         * ansi-color.el: Delete unused escape sequences (Bug#6085).
8520         (ansi-color-drop-regexp): New constant.
8521         (ansi-color-apply, ansi-color-filter-region)
8522         (ansi-color-apply-on-region): Delete unrecognized control sequences.
8523         (ansi-color-apply): Build string list before calling concat.
8525 2010-05-28  Juri Linkov  <juri@jurta.org>
8527         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8528         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
8529         (Bug#5270)
8531 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
8533         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
8534         to ignored backtrace functions.
8535         (with-progress-reporter): Expand docstring.
8536         (tramp-handle-delete-file): Implement TRASH argument.
8537         (tramp-get-remote-trash): New defun.
8539 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
8541         * net/tramp-compat.el (tramp-compat-delete-file):
8542         Use `symbol-value' for backward compatibility.
8544         * net/tramp.el (tramp-handle-make-symbolic-link)
8545         (tramp-handle-load)
8546         (tramp-do-copy-or-rename-file-via-buffer)
8547         (tramp-do-copy-or-rename-file-directly)
8548         (tramp-do-copy-or-rename-file-out-of-band)
8549         (tramp-handle-process-file, tramp-handle-call-process-region)
8550         (tramp-handle-shell-command, tramp-handle-file-local-copy)
8551         (tramp-handle-insert-file-contents, tramp-handle-write-region)
8552         (tramp-delete-temp-file-function): Use `delete-file' instead
8553         of `tramp-compat-delete-file'.
8555         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8556         (tramp-fish-handle-make-symbolic-link)
8557         (tramp-fish-handle-process-file): Use `delete-file' instead
8558         of `tramp-compat-delete-file'.
8560         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8561         Use `delete-file' instead of `tramp-compat-delete-file'.
8563         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8564         (tramp-gvfs-handle-write-region): Use `delete-file' instead of
8565         `tramp-compat-delete-file'.
8567         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
8568         Use `delete-file' instead of `tramp-compat-delete-file'.
8570         * net/tramp-smb.el (tramp-smb-handle-copy-file)
8571         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8572         (tramp-smb-handle-write-region): Use `delete-file' instead of
8573         `tramp-compat-delete-file'.
8574         (tramp-smb-handle-delete-directory): Use 'trash as arg.
8576 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
8578         * dired.el (dired-delete-file): New arg TRASH.
8579         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
8580         (dired-do-flagged-delete, dired-do-delete): Use trash.
8582         * speedbar.el (speedbar-item-delete): Allow trashing.
8584         * files.el (delete-directory): New arg TRASH.
8586         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
8587         (ange-ftp-rename-remote-to-remote)
8588         (ange-ftp-rename-local-to-remote)
8589         (ange-ftp-rename-remote-to-local, ange-ftp-load)
8590         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
8591         `delete-file'.
8592         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
8593         allow trashing.
8595         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
8596         handle new TRASH arg of `delete-file'.
8598         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
8599         (tramp-handle-make-symbolic-link, tramp-handle-load)
8600         (tramp-do-copy-or-rename-file-via-buffer)
8601         (tramp-do-copy-or-rename-file-directly)
8602         (tramp-do-copy-or-rename-file-out-of-band)
8603         (tramp-handle-process-file, tramp-handle-call-process-region)
8604         (tramp-handle-shell-command, tramp-handle-file-local-copy)
8605         (tramp-handle-insert-file-contents, tramp-handle-write-region)
8606         (tramp-delete-temp-file-function): Use null TRASH arg in
8607         tramp-compat-delete-file call.
8609         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8610         (tramp-fish-handle-delete-file)
8611         (tramp-fish-handle-make-symbolic-link)
8612         (tramp-fish-handle-process-file): Use null TRASH arg in
8613         `tramp-compat-delete-file' call.
8615         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
8616         arg in `tramp-compat-delete-file' call.
8618         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8619         (tramp-gvfs-handle-write-region): Use null TRASH arg in
8620         `tramp-compat-delete-file' call.
8622         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
8623         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
8624         `tramp-compat-delete-file' call.
8626         * net/tramp-smb.el (tramp-smb-handle-copy-file)
8627         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8628         (tramp-smb-handle-write-region): Use null TRASH arg in
8629         tramp-compat-delete-file call.
8630         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
8631         (tramp-smb-handle-delete-file): Rename arg.
8633         * diff.el (diff-sentinel):
8634         * epg.el (epg--make-temp-file, epg-decrypt-string)
8635         (epg-verify-string, epg-sign-string, epg-encrypt-string):
8636         * jka-compr.el (jka-compr-partial-uncompress)
8637         (jka-compr-call-process, jka-compr-write-region):
8638         * server.el (server-sentinel): Remove optional arg from
8639         delete-file, reverting 2010-05-03 change.
8641 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
8643         * progmodes/verilog-mode.el (verilog-type-font-keywords):
8644         Use font-lock-constant-face, not obsolete font-lock-reference-face.
8646 2010-05-27  Kenichi Handa  <handa@m17n.org>
8648         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
8649         element of GSTRING is nil.
8651 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8653         * emacs-lisp/smie.el (smie-forward-token-function)
8654         (smie-backward-token-function): New vars.
8655         (smie-backward-sexp, smie-forward-sexp)
8656         (smie-indent-hanging-p, smie-indent-calculate): Use them.
8657         (smie-default-backward-token): Rename from smie-backward-token and
8658         skip comments.
8659         (smie-default-forward-token): Rename from smie-forward-token and
8660         skip comments.
8661         (smie-next-sexp): Handle nil results from next-token.
8662         (smie-indent-calculate): Add a new case for special `fixindent' comments.
8664 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
8666         * progmodes/verilog-mode.el (verilog-type-font-keywords):
8667         Use font-lock-constant-face, not obsolete font-lock-reference-face.
8669 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
8671         * htmlfontify.el (hfy-face-resolve-face): New function.
8672         (hfy-face-to-style): Use it (Bug#6279).
8674 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8676         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
8677         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
8679 2010-05-26  Glenn Morris  <rgm@gnu.org>
8681         * emulation/edt.el (edt-load-keys): Use locate-library.
8683 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
8685         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
8686         (log-edit-changelog-entries): Doc fix.
8687         (log-edit-changelog-insert-entries): Args changed.
8688         Rename relative filenames in ChangeLog entries.  Delete tabs.
8689         (log-edit-insert-changelog-entries): Reorganize return value of
8690         `log-edit-changelog-entries' to pass filenames to
8691         log-edit-changelog-insert-entries.
8693 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8695         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
8696         `image-dired-dired-insert-marked-thumbs' to
8697         `image-dired-dired-toggle-marked-thumbs'.
8699         * image-dired.el: Require cl when compiling.
8700         (image-dired-dired-toggle-marked-thumbs): Rename from
8701         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
8702         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
8703         to 'no-dir.  Skip files whose names don't match
8704         `image-file-name-regexp'.  When file has a thumbnail overlay,
8705         delete it.  (Bug#5270)
8707 2010-05-25  Juri Linkov  <juri@jurta.org>
8709         * image-mode.el (image-mode): Add image-after-revert-hook to
8710         after-revert-hook.
8711         (image-after-revert-hook): New function.  (Bug#5669)
8713 2010-05-25  Juri Linkov  <juri@jurta.org>
8715         * image.el (image-animated-p): When delay between animated images
8716         is 0, set it to 10 (0.1 sec).  (Bug#6258)
8718 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
8720         * net/tramp.el (tramp-handle-insert-directory): Don't use
8721         `forward-word', its default syntax could be changed.
8723 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
8725         * net/tramp.el (tramp-progress-reporter-update): New defun.
8726         (with-progress-reporter): Use it.
8727         (tramp-process-actions):
8728         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
8729         Preserve current message, in order to let progress reporter continue
8730         afterwards.  (Bug#6257)
8732 2010-05-25  Glenn Morris  <rgm@gnu.org>
8734         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
8735         Add :version.
8737 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
8739         * net/rcirc.el (rcirc-default-user-name): Change to "user".
8740         (rcirc-default-full-name): Change to "unknown".
8741         (rcirc-user-name-history): Add variable.
8743 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
8744             Jonathan Rockway  <jon@jrock.us>
8746         * net/rcirc.el (rcirc-server-alist): Add :pass.
8747         (rcirc): When prompting for connection parameters, also prompt for
8748         username and password.
8749         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
8750         value to server when connecting.
8752 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8754         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
8755         (smie-merge-prec2s): Pass the tables as separate args.
8756         (smie-bnf-precedence-table): Adjust call accordingly.
8757         (smie-prec2-levels): Set levels at the end.
8759         Replace Lisp calls to delete-backward-char by delete-char.
8760         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
8761         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
8762         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
8763         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
8764         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
8765         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
8766         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
8767         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
8768         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
8769         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
8770         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
8771         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
8772         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
8773         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
8774         delete-backward-char by calls to delete-char.
8776 2010-05-25  Kenichi Handa  <handa@m17n.org>
8778         * language/hebrew.el (hebrew-shape-gstring): New function.
8779         Register it in composition-function-table for all Hebrew combining
8780         characters.
8782 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8784         * epa.el (epa--select-keys): Don't explicitly delete the window since
8785         that can fail (e.g. sole window in frame).  Use dedication instead.
8787 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
8789         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
8791 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
8793         * image.el (image-refresh): Define as an alias for image-flush.
8795         * image-mode.el (image-toggle-display-image): Caller changed.
8797 2010-05-21  Juri Linkov  <juri@jurta.org>
8799         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
8800         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
8801         whitespace, call wildcard-to-regexp on substrings and concat them
8802         with "\\|".  (Bug#6114)
8804 2010-05-21  Alan Mackenzie  <acm@muc.de>
8806         * progmodes/cc-engine.el (c-parse-state-get-strategy):
8807         Replace parameter `here' with `here-' and `here-plus', which sandwich
8808         any pertinent CPP construct.
8809         (c-remove-stale-state-cache-backwards): Fix a bug which happens
8810         when doing (c-parse-state) in a CPP construct: Exclude any "new"
8811         CPP construct from taking part in the scanning.
8813 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
8815         * net/tramp.el (tramp-do-copy-or-rename-file)
8816         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
8817         Tune `with-progress-reporter' messages.
8818         (tramp-handle-vc-registered):
8819         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
8820         (tramp-fish-handle-insert-file-contents)
8821         (tramp-fish-maybe-open-connection):
8822         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8823         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
8824         (tramp-imap-handle-insert-file-contents)
8825         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
8827 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
8829         * add-log.el (change-log-font-lock-keywords):
8830         Highlight all authors in multi-author entries.
8832         * smerge-mode.el (smerge-refine-ignore-whitespace)
8833         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
8834         Fix typos in docstrings.
8835         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
8837 2010-05-21  Glenn Morris  <rgm@gnu.org>
8839         * progmodes/fortran.el (fortran-mode):
8840         * progmodes/f90.el (f90-mode): Derive from prog-mode.
8842         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
8843         having a relative path in src/Makefile.in.
8845 2010-05-20  Kevin Ryde  <user42@zip.com.au>
8847         * help-mode.el (help-make-xrefs): For Info node links turn
8848         newlines into spaces.  Link node names with newlines are matched
8849         by help-xref-info-regexp and buttonized, this change ensures they
8850         can be followed successfully with RET.  (Bug#6206)
8852 2010-05-20  Juri Linkov  <juri@jurta.org>
8854         * locate.el (locate): Use pop-to-buffer instead of
8855         switch-to-buffer-other-window.  (Bug#6204)
8857 2010-05-20  Juri Linkov  <juri@jurta.org>
8859         * replace.el (replace-highlight): Fix lazy-highlighting
8860         for `M-s w str M-% str RET'.
8862 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
8864         * isearch.el (isearch-yank-word-or-char): Pull next subword
8865         when `subword-mode' is activated.  (Bug#6220)
8867 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
8869         * isearch.el (isearch-update-post-hook): New hook.
8870         (isearch-update): Use the new hook.  (Bug#6225)
8872 2010-05-20  Juri Linkov  <juri@jurta.org>
8874         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
8875         [f1], [help], and (char-to-string help-char) instead of "\C-h".
8876         (Bug#6222)
8878 2010-05-20  Juri Linkov  <juri@jurta.org>
8880         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
8881         (Bug#6223)
8883 2010-05-20  Juri Linkov  <juri@jurta.org>
8885         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
8886         FILE-NAME to read from the minibuffer when called interactively
8887         with prefix argument instead of using buffer-file-name.
8888         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
8890         * dired.el: Update autoloads.
8892 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
8894         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
8895         nxml-finish-element, for consistency with SGML mode.
8897         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
8898         octave-close-block.
8900 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
8902         * composite.el: Require cl when compiling.
8903         (reference-point-alist, compose-gstring-for-graphic)
8904         (compose-gstring-for-terminal): Fix typos in docstrings.
8906 2010-05-19  Juri Linkov  <juri@jurta.org>
8908         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
8909         set-window-parameter.
8911 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
8913         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
8914         where appropriate.
8915         (tramp-maybe-open-connection): Use it.
8917 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
8919         * simple.el (move-end-of-line): Make sure we are at line beginning
8920         before backing up to end of previous line.
8922 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
8924         * password-cache.el (password-cache-remove): Fix docstring.
8926         * net/secrets.el: Autoload the widget functions.
8927         (secrets-search-items, secrets-create-item)
8928         (secrets-get-attributes, secrets-expand-item): Attributes will be
8929         stored on the password database without leading ":", as all other
8930         clients do as well.
8931         (secrets-mode): Fix docstring.
8932         (secrets-show-secrets): Provide it as autoloaded command only when
8933         D-Bus support is available.  Check existence of Secret Service API.
8935 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8937         * indent.el (indent-region): Deactivate region (bug#6200).
8939 2010-05-19  Glenn Morris  <rgm@gnu.org>
8941         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
8943 2010-05-19  Kenichi Handa  <handa@m17n.org>
8945         * composite.el: Register compose-gstring-for-graphic in
8946         composition-function-table only for combining characters (Mn, Mc, Me).
8948 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
8950         * calc/calc-trail.el (calc-trail-isearch-forward)
8951         (calc-trail-isearch-backward): Ensure that the new window
8952         point is set correctly.
8954 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8956         * subr.el (read-quoted-char): Resolve modifiers after key
8957         remapping (bug#6212).
8959 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
8961         Add visualization code for secrets.
8962         * net/secrets.el (secrets-mode): New major mode.
8963         (secrets-show-secrets, secrets-show-collections)
8964         (secrets-expand-collection, secrets-expand-item)
8965         (secrets-tree-widget-after-toggle-function)
8966         (secrets-tree-widget-show-password): New defuns.
8968 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8970         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
8971         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
8972         handled in smie-next-sexp.
8973         (smie-indent-calculate): Provide a starting indentation (so the
8974         recursion is well-founded ;-).
8976         Fix handling of non-associative equal levels.
8977         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
8978         when it's not needed.
8979         (smie-op-left, smie-op-right): New functions.
8980         (smie-next-sexp): New function, extracted from smie-backward-sexp.
8981         Better handle equal levels to distinguish the associative case from
8982         the "multi-keyword construct" case.
8983         (smie-backward-sexp, smie-forward-sexp): Use it.
8985 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
8987         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
8989         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
8990         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
8992 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8994         Provide a simple generic indentation engine and use it for Prolog.
8995         * emacs-lisp/smie.el: New file.
8996         * progmodes/prolog.el (prolog-smie-op-levels)
8997         (prolog-smie-indent-rules): New var.
8998         (prolog-mode-variables): Use them to configure SMIE.
8999         (prolog-indent-line, prolog-indent-level): Remove.
9001 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
9003         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
9004         order before computing the averages.
9006 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
9008         * calc/calc-vec.el (calc-histogram):
9009         (calcFunc-histogram): Allow vectors as inputs.
9010         (math-vector-avg): New function.
9012         * calc/calc-ext.el (math-group-float): Have the number of digits
9013         being grouped depend on the radix (Bug#6189).
9015 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
9017         * version.el (emacs-copyright, emacs-version): Don't define here,
9018         now that emacs.c defines it.
9020 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
9022         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
9023         "Describe Language Environment" menu item.
9025         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
9027         Bidi-sensitive movement with arrow keys.
9028         * subr.el (right-arrow-command, left-arrow-command): New functions.
9030         * bindings.el (global-map): Bind them to right and left arrow keys.
9032         Don't override standard definition of convert-standard-filename.
9033         * files.el (convert-standard-filename):
9034         Call w32-convert-standard-filename and dos-convert-standard-filename on
9035         the corresponding systems.
9037         * w32-fns.el (w32-convert-standard-filename): Rename from
9038         convert-standard-filename.  Doc fix.
9040         * dos-fns.el (dos-convert-standard-filename): Doc fix.
9041         (convert-standard-filename): Don't defalias.
9042         (register-name-alist, make-register, register-value)
9043         (set-register-value, intdos): Obsolete aliases for the
9044         corresponding dos-* functions and variables.
9045         (dos-intdos): Add a doc string.
9047 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
9049         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
9050         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
9051         (math-compose-tex-func):
9052         * calc/calccomp.el (math-compose-expr):
9053         * calc/calc-ext.el (math-format-flat-expr-fancy):
9054         * calc/calc-store.el (calc-read-var-name):
9055         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
9057         * calc/calc.el (var-π, var-φ, var-γ): New variables.
9058         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
9059         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
9060         (math-standard-units): Add units.
9062 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9064         * progmodes/asm-mode.el (asm-mode):
9065         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
9067         * pcomplete.el (pcomplete-completions-at-point): New function,
9068         extracted from pcomplete-std-complete.
9069         (pcomplete-std-complete): Use it.
9071 2010-05-15  Glenn Morris  <rgm@gnu.org>
9073         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9074         Remove references to CVS, RCS and Old directories.
9076 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
9078         * calc/calc-bin.el (math-format-twos-complement): Group digits when
9079         appropriate.
9081 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9083         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
9084         (sh-mode-syntax-table): Give it a default value instead.
9085         (sh-header-marker): Make buffer-local.
9086         (sh-mode): Move make-local-variable to the corresponding setq.
9087         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
9088         Use complete-with-action.
9090         * simple.el (prog-mode): New (abstract) major mode.
9091         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
9092         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
9094 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
9096         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
9097         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
9098         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
9099         (sql-make-alternate-buffer-name, sql-placeholders-filter)
9100         (sql-escape-newlines-filter, sql-input-sender)
9101         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
9103 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
9105         Add TeX open-block and close-block keybindings to SGML, and vice versa.
9107         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
9108         latex-open-block and C-c / to latex-close-block.
9110         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
9111         and C-c C-e to sgml-close-tag.
9113 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
9115         * net/tramp.el (with-progress-reporter): Create reporter object
9116         only when the message would be displayed.  Handle nested calls.
9117         (tramp-handle-load, tramp-handle-file-local-copy)
9118         (tramp-handle-insert-file-contents, tramp-handle-write-region)
9119         (tramp-maybe-send-script, tramp-find-shell):
9120         Use `with-progress-reporter'.
9121         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
9122         Fix message text.
9124         * net/tramp-smb.el (tramp-smb-handle-copy-file)
9125         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9126         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
9127         Use `with-progress-reporter'.
9129 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
9131         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
9132         process everytime when spellchecking from the minibuffer (bug#6143).
9134 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9136         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
9138         * dos-fns.el: Add "dos-" prefix for namespace control.
9139         (convert-standard-filename): Define as alias for
9140         dos-convert-standard-filename but only if applicable.
9142 2010-05-12  Alan Mackenzie  <acm@muc.de>
9144         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
9145         Push the mark at the start of these functions when appropriate.
9147 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9149         * minibuffer.el (completion-cycle-threshold): New custom var.
9150         (completion--do-completion): Use it.
9151         (minibuffer-complete): Use cycling if appropriate.
9153 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
9155         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
9156         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
9158 2010-05-11  Juri Linkov  <juri@jurta.org>
9160         * scroll-all.el (scroll-all-check-to-scroll):
9161         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
9163 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9165         * iimage.el (iimage-mode-map): Move initialization into declaration.
9166         (iimage-mode-buffer): Use with-silent-modifications.
9167         Simplify calling convention.  Adjust callers.
9168         (iimage-mode): Don't run hook redundantly.
9170         * minibuffer.el (completion-pcm--pattern->regex):
9171         Fix last change (bug#6160).
9173 2010-05-10  Juri Linkov  <juri@jurta.org>
9175         Remove nodes visited during Isearch from the Info history.
9176         * info.el (Info-isearch-initial-history)
9177         (Info-isearch-initial-history-list): New variables.
9178         (Info-isearch-start): Record initial values of
9179         Info-isearch-initial-history and Info-isearch-initial-history-list.
9180         Add Info-isearch-end to isearch-mode-end-hook.
9181         (Info-isearch-end): New function.
9183 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
9185         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
9186         format string, in order to work around a bug in pdksh.
9187         Reported by Gilles Pion <gpion@lfdj.com>.
9188         (tramp-handle-verify-visited-file-modtime): Do not send a command
9189         when the connection is not established.
9190         (tramp-handle-set-file-times): Simplify the check for utc.
9192 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
9194         Fix use of `filter-buffer-substring' (rework previous change).
9195         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
9196         (cua-repeat-replace-region):
9197         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
9198         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9199         (cua-cut-region-to-global-mark): Use it.
9201 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
9203         * progmodes/sql.el: Version 2.1.
9204         (sql-product-alist): Redesign structure of product info.
9205         (sql-product, sql-user, sql-server, sql-database): Safe variables.
9206         (sql-port, sql-port-history): New variables.
9207         (sql-interactive-product): New variable.
9208         (sql-send-terminator): New variable.
9209         (sql-imenu-generic-expression): Add "Types" imenu entry.
9210         (sql-oracle-login-params, sql-sqlite-login-params)
9211         (sql-mysql-login-params, sql-solid-login-params)
9212         (sql-sybase-login-params, sql-informix-login-params)
9213         (sql-ingres-login-params, sql-ms-login-params)
9214         (sql-postgres-login-params, sql-interbase-login-params)
9215         (sql-db2-login-params, sql-linter-login-params)
9216         (sql-oracle-scan-on): New variables.
9217         (sql-mode-map): Add C-c C-i to start interactive mode.
9218         (sql-mode-menu): Update existing menu entries.
9219         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
9220         (sql-mode-oracle-font-lock-keywords)
9221         (sql-mode-postgres-font-lock-keywords)
9222         (sql-mode-ms-font-lock-keywords)
9223         (sql-mode-sybase-font-lock-keywords)
9224         (sql-mode-informix-font-lock-keywords)
9225         (sql-mode-interbase-font-lock-keywords)
9226         (sql-mode-ingres-font-lock-keywords)
9227         (sql-mode-solid-font-lock-keywords)
9228         (sql-mode-mysql-font-lock-keywords)
9229         (sql-mode-sqlite-font-lock-keywords)
9230         (sql-mode-db2-font-lock-keywords)
9231         (sql-mode-linter-font-lock-keywords): Update initialization to
9232         reduce run-time complexity.
9233         (sql-add-product, sql-del-product): New functions.
9234         (sql-set-product-feature, sql-get-product-feature): New functions.
9235         (sql-product-font-lock): Update product API.
9236         (sql-add-product-keywords): New function.
9237         (sql-highlight-product): Update product API.
9238         (sql-help-list-products): New function.
9239         (sql-help): Dynamically lists free and non-free products.
9240         (sql-get-login): Correct bug in handling history and added
9241         prompt for port.
9242         (sql-copy-column): Copy without properties.
9243         (sqli-input-sender): Apply filters to SQLi input.
9244         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
9245         Implement as a filter.
9246         (sql-escape-newlines-filter): Implement as a filter.
9247         (sql-remove-tabs-filter): New function.
9248         (sql-send-magic-terminator): New function.
9249         (sql-send-string): Implement magic terminator.
9250         (sql-send-region): Use `sql-send-string'.
9251         (sql-interactive-mode): Use product API.
9252         (sql-product-interactive): Use product API.
9253         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
9254         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
9255         (sql-db2, sql-linter): Use `sql-product-interactive'.
9256         (sql-connect): New function.
9257         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
9258         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
9259         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
9260         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
9261         Use `sql-connect'.
9263 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9265         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
9266         New custom variable.
9267         (completion-pcm--string->pattern): Use it.
9268         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
9269         Make it handle any symbol as `any'.
9270         (completion-pcm--merge-completions): Extract common suffix for the new
9271         `prefix' symbol as well.
9272         (completion-substring--all-completions): Use the new `prefix' symbol.
9274 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
9276         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
9277         not bound.
9278         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
9279         (tramp-compat-funcall): New defmacro.
9280         (tramp-compat-line-beginning-position)
9281         (tramp-compat-line-end-position)
9282         (tramp-compat-temporary-file-directory)
9283         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
9284         (tramp-compat-copy-file, tramp-compat-copy-directory)
9285         (tramp-compat-delete-file, tramp-compat-delete-directory)
9286         (tramp-compat-number-sequence, tramp-compat-process-running-p)
9287         * net/tramp.el (top, with-progress-reporter)
9288         (tramp-rfn-eshadow-setup-minibuffer)
9289         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
9290         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
9291         (tramp-completion-mode-p, tramp-check-for-regexp)
9292         (tramp-open-connection-setup-interactive-shell)
9293         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
9294         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
9295         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
9296         * net/tramp-cmds.el (tramp-cleanup-all-connections)
9297         (tramp-reporter-dump-variable, tramp-load-report-modules)
9298         (tramp-append-tramp-buffers)
9299         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
9301         * net/tramp-imap.el (top): Autoload `epg-make-context'.
9303 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9305         * progmodes/compile.el (compilation-buffer-modtime): Rename from
9306         buffer-modtime.  Adjust users.
9308 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
9310         * international/mule.el (auto-coding-alist): Only purecopy
9311         car of each item, not the whole list (Bug#6083).
9313 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
9315         * progmodes/js.el (js-mode): Make paragraph variables local before
9316         calling c-setup-paragraph-variables (Bug#6071).
9318 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
9320         * composite.el (compose-region, reference-point-alist): Fix typos
9321         in the doc strings.
9323 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
9325         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
9326         gnuplot's "set" command.
9328 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
9330         * abbrev.el (last-abbrev-text): Doc fix.
9331         (abbrev-prefix-mark): Don't escape parenthesis.
9333 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
9335         * composite.el (find-composition): Doc fix.
9337 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
9339         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
9340         (sql-oracle-program, sql-sqlite-options)
9341         (sql-query-placeholders-and-send): Doc fixes.
9342         (sql-set-product, sql-interactive-mode): Reflow docstrings.
9343         (sql-imenu-generic-expression, sql-buffer)
9344         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
9345         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
9346         (sql-mode-sybase-font-lock-keywords)
9347         (sql-mode-informix-font-lock-keywords)
9348         (sql-mode-interbase-font-lock-keywords)
9349         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
9350         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
9351         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
9352         (sql-product-feature, sql-highlight-product)
9353         (comint-line-beginning-position, sql-rename-buffer)
9354         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
9355         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
9356         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
9357         Fix typos in docstrings.
9359 2010-05-08  Juri Linkov  <juri@jurta.org>
9361         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
9362         property instead of `invisible' and `after-string' (bug#5998).
9364 2010-05-08  Juri Linkov  <juri@jurta.org>
9366         * image-mode.el (image-mode-as-text): Fix typo in docstring.
9368 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
9370         * filecache.el (file-cache-add-directory-list)
9371         (file-cache-add-directory-recursively): Fix typos in docstrings.
9373 2010-05-08  Kenichi Handa  <handa@m17n.org>
9375         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
9376         (gujarati-composable-pattern): Fix typo.
9378 2010-05-08  Kenichi Handa  <handa@m17n.org>
9380         * language/indian.el (oriya-composable-pattern)
9381         (tamil-composable-pattern, malayalam-composable-pattern):
9382         Add two-part vowels to "v" (vowel sign).
9384 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
9386         * files.el (copy-directory): Handle symlinks (Bug#5982).
9388 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
9390         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
9391         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
9392         (Bug#5846).
9394 2010-05-08  Glenn Morris  <rgm@gnu.org>
9396         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
9398         * minibuffer.el (completion-at-point): Doc fix.
9400 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9402         * electric.el (Electric-command-loop): Minor tweak.
9404         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
9405         better with dedicated windows.
9407 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
9409         * Version 23.2 released.
9411 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
9412             Stefan Monnier  <monnier@iro.umontreal.ca>
9414         Highlight vendor specific properties.
9415         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
9416         (css-proprietary-property): New face.
9417         (css-font-lock-keywords): Use them.
9419 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
9421         * cus-start.el (all): Add native condition for tool-bar-* symbols.
9423 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9425         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
9426         * files.el (auto-mode-alist): Remove redundant entries.
9428         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
9429         * simple.el (auto-save-mode): Move from files.el.
9430         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
9432 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
9434         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
9436 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
9438         * mail/binhex.el (binhex-decode-region-internal)
9439         * mail/uudecode.el (uudecode-decode-region-internal)
9440         * net/dns.el (dns-read-string-name, dns-write, dns-read)
9441         (dns-read-type, dns-query)
9442         * pgg-parse.el (pgg-parse-armor)
9443         * pgg.el (pgg-verify-region)
9444         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
9445         XEmacs.
9447         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
9449 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
9451         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
9453         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
9454         * emulation/cua-base.el (cua-repeat-replace-region):
9455         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9456         (cua-cut-region-to-global-mark):
9457         Remove text properties with `set-text-properties'.
9459 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
9461         * net/tramp.el (top, with-progress-reporter):
9462         Use `symbol-function' inside `funcall'.
9464         * net/tramp-compat.el (tramp-compat-file-attributes)
9465         (tramp-compat-delete-file, tramp-compat-delete-directory):
9466         Handle only `wrong-number-of-arguments' error.
9468         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
9469         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
9470         inside `funcall'.
9472 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9474         * minibuffer.el (completion--sreverse, completion--common-suffix):
9475         New functions.
9476         (completion-pcm--merge-completions): Extract common suffix when safe.
9478         * emacs-lisp/easy-mmode.el (define-minor-mode):
9479         Make :variable more flexible.
9480         * files.el (auto-save-mode): Use it to define using define-minor-mode.
9482 2010-05-05  Juri Linkov  <juri@jurta.org>
9484         Add `slow' and `history' tags to the desktop data.
9486         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
9487         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
9488         (Info-finder-find-node): Require `finder.el' to be able
9489         to restore node from the desktop.
9490         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
9491         data `Info-history' and `slow' tag in the assoc list.
9492         (Info-restore-desktop-buffer): Don't restore nodes with the
9493         `slow' tag.  Restore `Info-history'.
9495 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
9497         Add FORCE argument to `delete-file'.
9499         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
9500         forcing to delete the temporary file.
9501         (ange-ftp-delete-file): Add FORCE arg.
9502         (ange-ftp-rename-remote-to-remote)
9503         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
9504         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
9505         Force file deletion.
9507         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
9509         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
9510         (tramp-handle-make-symbolic-link, tramp-handle-load)
9511         (tramp-do-copy-or-rename-file-via-buffer)
9512         (tramp-do-copy-or-rename-file-directly)
9513         (tramp-do-copy-or-rename-file-out-of-band)
9514         (tramp-handle-process-file, tramp-handle-call-process-region)
9515         (tramp-handle-shell-command, tramp-handle-file-local-copy)
9516         (tramp-handle-insert-file-contents, tramp-handle-write-region)
9517         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
9519         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
9520         (tramp-fish-handle-make-symbolic-link)
9521         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
9523         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9524         Use `tramp-compat-delete-file'.
9526         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
9527         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
9529         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
9530         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
9532         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
9533         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
9534         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
9535         Use `tramp-compat-delete-file'.
9537 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9539         Minor cleanups.
9540         * subr.el (add-minor-mode): Use push.
9541         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
9542         * emulation/edt.el (edt-select-mode): Simplify.
9544         Use define-minor-mode in more cases.
9545         * term/tvi970.el (tvi970-set-keypad-mode):
9546         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9547         (normal-erase-is-backspace-mode):
9548         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
9549         (set-scroll-bar-mode-1): (Re)move to its sole caller.
9550         (get-scroll-bar-mode): New function.
9551         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
9553         Use define-minor-mode for less obvious cases.
9554         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
9555         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
9556         * international/iso-ascii.el (iso-ascii-mode):
9557         * frame.el (auto-raise-mode, auto-lower-mode):
9558         * composite.el (global-auto-composition-mode): Use define-minor-mode.
9560 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
9562         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
9563         in order to see error messages for failed logins.
9565 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
9567         * diff.el (diff-sentinel):
9569         * epg.el (epg--make-temp-file, epg-decrypt-string)
9570         (epg-verify-string, epg-sign-string, epg-encrypt-string):
9572         * jka-compr.el (jka-compr-partial-uncompress)
9573         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
9575         * server.el (server-sentinel): Use delete-file's new FORCE arg
9576         (Bug#6070).
9578 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9580         Use define-minor-mode where applicable.
9581         * view.el (view-mode):
9582         * type-break.el (type-break-query-mode)
9583         (type-break-mode-line-message-mode):
9584         * textmodes/reftex.el (reftex-mode):
9585         * term/vt100.el (vt100-wide-mode):
9586         * tar-mode.el (tar-subfile-mode):
9587         * savehist.el (savehist-mode):
9588         * ibuf-ext.el (ibuffer-auto-mode):
9589         * composite.el (auto-composition-mode):
9590         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9591         Use define-minor-mode.
9592         (vhdl-mode): Use static mode-line format.
9593         (vhdl-mode-line-update): Delete.
9594         (vhdl-create-mode-menu, vhdl-activate-customizations)
9595         (vhdl-hs-minor-mode): Don't bother calling it.
9597 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9599         * simple.el (with-wrapper-hook): Move.
9600         (buffer-substring-filters): Mark obsolete.
9601         (filter-buffer-substring-functions): New variable.
9602         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
9604 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
9605             Michael Albinus  <michael.albinus@gmx.de>
9607         Implement compression for inline methods.
9609         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
9610         (tramp-copy-size-limit): Allow also nil.
9611         (tramp-inline-compress-commands): New defconst.
9612         (tramp-find-inline-compress, tramp-get-inline-compress)
9613         (tramp-get-inline-coding): New defuns.
9614         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
9615         replaced by `tramp-get-inline-coding'.
9616         (tramp-handle-file-local-copy, tramp-handle-write-region)
9617         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
9619 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9621         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
9622         Remove unused functions.
9624         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
9625         Set find-tag-default-function as a variable rather than a property.
9627         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
9628         * progmodes/etags.el (tags-completion-at-point-function):
9629         Remove left over interactive spec.  Add autoloading stub.
9630         (complete-tag): Use tags-completion-at-point-function.
9632 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
9634         * minibuffer.el (tags-completion-at-point-function): Fix return value.
9636 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
9638         * ido.el (ido-init-completion-maps): Remove C-v binding.
9639         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
9641 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
9643         * minibuffer.el (tags-completion-at-point-function): New function.
9644         (completion-at-point-functions): Use it.
9646         * progmodes/etags.el (complete-tag): Revert last change.
9648 2010-04-29  Alan Mackenzie  <acm@muc.de>
9650         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
9651         off-by-one error (in end of macro position).
9653 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9655         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
9656         firefox is absent.  Don't autoload.
9657         (browse-url-galeon-program): Don't autoload.
9659 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
9661         * bindings.el (complete-symbol): Move into minibuffer.el.
9663         * minibuffer.el (complete-tag): Move from etags.el.  If tags
9664         completion cannot be performed, return nil instead of signalling
9665         an error.
9666         (completion-at-point): Make it an alias for complete-symbol.
9667         (complete-symbol): Move from bindings.el, and replace with the
9668         body of completion-at-point.
9670         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
9672 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
9674         * net/tramp.el (tramp-remote-selinux-p): New defun.
9675         (tramp-handle-file-selinux-context)
9676         (tramp-handle-set-file-selinux-context): Use it.
9678 2010-04-28  Sam Steingold  <sds@gnu.org>
9680         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9681         `safe-local-variable' if the value is a string or a symbol with
9682         the property `bug-reference-url-format'.
9684 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
9686         * progmodes/bug-reference.el (bug-reference-url-format):
9687         Revert 2010-04-27 change due to security risk.
9689 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9691         Make it possible to locally disable a globally enabled mode.
9692         * simple.el (fundamental-mode): Run fundamental-mode-hook.
9693         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
9694         rather than kill-all-local-variables so it runs fundamental-mode-hook.
9695         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9696         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
9697         that subsequent hooks get a chance to disable it.
9699 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9701         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9702         Avoid re-enabling a minor mode after the user turned the minor mode
9703         off if MODE-enable-in-buffers is run twice (typically once from
9704         fundamental-mode's after-change-major-mode-hook and a second time from
9705         run-mode-hook's own after-change-major-mode-hook).
9707         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
9709 2010-04-27  Sam Steingold  <sds@gnu.org>
9711         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9712         `safe-local-variable' if the value is a string or a function, as
9713         documented and implemented on 2010-04-02.
9715 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
9717         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
9718         when method is 'kill.
9720 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
9722         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
9723         condition in default directory check.
9724         (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
9725         Kill ispell process when killing its associated buffer.
9727 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
9729         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
9730         but we aren't using it.
9732 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
9734         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
9735         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
9737 2010-04-24  Glenn Morris  <rgm@gnu.org>
9739         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
9740         Ignore VCS-ignore files, and deleted nextstep preferences files.
9741         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
9742         (authors-ambiguous-files): New list.
9743         (authors-valid-file-names): Add some deleted files.
9744         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
9745         (authors-disambiguate-file-name): New function.  (Bug#5501)
9746         (authors-canonical-file-name): Doc fix.
9747         Don't warn about obsolete files.
9748         (authors-canonical-file-name, authors-scan-el):
9749         Use authors-disambiguate-file-name.
9751         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9752         Add autoload cookies.
9753         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
9754         (generated-autoload-file): Set file-local value to "htmlfontify.el".
9755         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
9756         They have definitions / compiler macros in cl.el.
9757         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9758         Replace manual autoloads with generated ones.
9759         (htmlfontify-unload-rgb-file): Remove autoload.
9760         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
9762 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9764         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
9765         (byte-compile-setq-default): Optimize for the
9766         single-var case and don't call byte-compile-form in this case to avoid
9767         inf-loop with byte-compile-set-default.
9769         * progmodes/compile.el (compilation-start): Abbreviate default directory.
9771 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
9773         Implement SELINUX backends.
9775         * net/tramp.el (tramp-file-name-handler-alist):
9776         Add `file-selinux-context' and `set-file-selinux-context'.
9777         (tramp-handle-file-selinux-context)
9778         (tramp-handle-set-file-selinux-context): New defuns.
9779         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
9780         Handle PRESERVE-SELINUX-CONTEXT.
9782         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9783         Add `file-selinux-context' and `set-file-selinux-context'.
9784         (tramp-gvfs-handle-file-selinux-context)
9785         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
9786         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
9788         * net/ange-ftp.el (ange-ftp-copy-file):
9789         * net/tramp-fish.el (tramp-fish-handle-copy-file):
9790         * net/tramp-imap.el (tramp-imap-handle-copy-file):
9791         * net/tramp-smb.el (tramp-smb-handle-copy-file):
9792         Add PRESERVE-SELINUX-CONTEXT.
9794 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
9796         Synchronize with Tramp repository.
9798         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
9799         (tramp-action-process-alive, tramp-action-out-of-band)
9800         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
9801         (tramp-exists-file-name-handler): Fix docstring.
9802         (with-progress-reporter): New defmacro.
9803         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
9804         (tramp-maybe-open-connection): Use it.
9806 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
9808         Detect ssh 'ControlMaster' argument automatically in some cases.
9810         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
9811         (tramp-default-method): Use it.
9813 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
9815         * net/tramp.el (tramp-handle-copy-file): Add new optional
9816         parameter `preserve-selinux-context'.
9817         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
9819 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
9821         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
9822         Ensure, that non remote files are still checked.  Oops.
9824 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
9826         Fix Bug#5840.
9828         * icomplete.el (icomplete-completions): Use `non-essential'.
9830         * net/tramp.el (tramp-connectable-p): New defun.
9831         (tramp-handle-expand-file-name)
9832         (tramp-completion-handle-file-name-all-completions)
9833         (tramp-completion-handle-file-name-completion): Use it.
9835 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9837         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
9839 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
9841         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
9843         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
9845         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
9846         is present.
9848         * info.el (info-tool-bar-map): Add labels.
9850         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
9852         * cus-edit.el (custom-commands): Add labels for tool bar.
9853         (custom-buffer-create-internal, Custom-mode): Adjust for
9854         labels in custom-commands.
9856         * dynamic-setting.el: Renamed from font-setting.el.
9858 2010-04-21  John Wiegley  <jwiegley@gmail.com>
9860         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
9861         toggles the use of virtual buffers.
9862         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
9863         (ido-toggle-virtual-buffers): New function.
9865 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
9867         Use `define-derived-mode'; fix window selection; doc fixes.
9868         * play/tetris.el (tetris, tetris-update-speed-function)
9869         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
9870         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
9871         (tetris-rotate-next, tetris-end-game, tetris-start-game)
9872         (tetris-pause-game): Fix typos in docstrings.
9873         (tetris-mode-map, tetris-null-map):
9874         Move initialization into declaration.
9875         (tetris-mode): Define with `define-derived-mode';
9876         set show-trailing-whitespace to nil.
9877         (tetris): Prefer window already displaying the "*Tetris*" buffer.
9879 2010-04-21  Karel Klíč  <kklic@redhat.com>
9881         * files.el (backup-buffer): Handle SELinux context, and return it
9882         if a backup was made by renaming.
9883         (backup-buffer-copy): Set SELinux context to the target file.
9884         (basic-save-buffer): Set SELinux context of the newly written file.
9885         (basic-save-buffer-1): Now it also returns any SELinux context.
9886         (basic-save-buffer-2): Set SELinux context of the newly created file,
9887         and return it.
9888         * net/tramp.el (tramp-file-name-for-operation):
9889         Add file-selinux-context.
9891 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9893         Make the log-edit comments use RFC822 format throughout.
9895         * vc.el (vc-checkin, vc-modify-change-comment):
9896         Adjust to new vc-start/finish-logentry.
9897         (vc-find-conflicted-file): New command.
9898         (vc-transfer-file): Adjust to new vc-checkin.
9899         (vc-next-action): Improve scoping.
9901         * vc-hg.el (vc-hg-log-edit-mode): Remove.
9902         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
9904         * vc-git.el (vc-git-log-edit-mode): Remove.
9905         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
9906         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
9908         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
9909         (vc-start-logentry): Remove argument `extra'.
9910         (vc-finish-logentry): Remove extra args.
9912         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
9913         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
9914         (vc-bzr-conflicted-files): New function.
9916         * log-edit.el (log-edit-extra-flags)
9917         (log-edit-before-checkin-process): Remove.
9918         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
9919         (log-edit-headers-alist): New var.
9920         (log-edit-header-contents-regexp): New const.
9921         (log-edit-match-to-eoh): New function.
9922         (log-edit-font-lock-keywords): Use them.
9923         (log-edit): Insert a "Summary:" header as default.
9924         (log-edit-mode): Mark font-lock rules as case-insensitive.
9925         (log-edit-done): Cleanup headers.
9926         (log-view-process-buffer): Remove.
9927         (log-edit-extract-headers): New function to replace it.
9929 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
9931         * subr.el (default-direction-reversed): Remove obsolescence info.
9933 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9935         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
9936         windows/frames.
9938         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
9939         I.e. include text after point in the completion region.
9940         Also, return nil when we're not after/in a symbol.
9942         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
9943         default enable-multibyte-characters.
9945 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9947         * international/mule.el: Help the user choose a valid coding-system.
9948         (read-buffer-file-coding-system): New function.
9949         (set-buffer-file-coding-system): Use it.  Prompt the user if the
9950         coding-system cannot encode all the chars.
9952         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
9953         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
9954         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
9955         Don't use *vc-bzr-shelve*.
9957 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
9959         Fix the version number for added files.
9960         * vc-hg.el (vc-hg-working-revision): Check if the file is
9961         registered after hg parent fails (Bug#5961).
9963 2010-04-19  Glenn Morris  <rgm@gnu.org>
9965         * htmlfontify.el (htmlfontify-buffer)
9966         (htmlfontify-copy-and-link-dir): Autoload entry points.
9968 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
9970         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
9971         name relative to the project root (Bug#5960).
9973 2010-04-19  Glenn Morris  <rgm@gnu.org>
9975         * vc-git.el (vc-git-print-log): Doc fix.
9977 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
9979         * ido.el (ido-file-internal): Fix 2009-12-02 change.
9981 2010-04-19  Christoph  <cschol2112@googlemail.com>  (tiny change)
9983         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
9984         default settings (Bug#5928).
9986 2010-04-19  Glenn Morris  <rgm@gnu.org>
9988         * progmodes/fortran.el (fortran-match-and-skip-declaration):
9989         New function.
9990         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
9992 2010-04-19  Kenichi Handa  <handa@m17n.org>
9994         * language/indian.el (malayalam-composable-pattern): Fix previous
9995         change (add U+0D4D "SIGN VIRAMA").
9996         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
9997         (tamil-composable-pattern): Fix typo in the regexp.
9998         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
9999         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
10000         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
10002 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
10004         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
10005         paragraph-separate (Bug#5821).
10007 2010-04-19  Juri Linkov  <juri@jurta.org>
10009         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
10011         * info.el (Info-find-node-2): Comment out code that skips
10012         breadcrumbs line.
10013         (Info-mouse-follow-link): New command.
10014         (Info-link-keymap): New keymap.
10015         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
10016         Return a string with links instead of inserting breadcrumbs
10017         to the Info buffer.
10018         (Info-fontify-node): Comment out code that inserts breadcrumbs.
10019         Instead of putting the `invisible' text property over the Info
10020         header, make an overlay over the Info header with the `invisible'
10021         property and `after-string' set to the string returned by
10022         `Info-breadcrumbs'.
10024 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
10026         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
10027         Reported by monkey@sandpframing.com.
10029 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10031         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
10032         (tmm-get-keymap): Add key-binding shortcuts now that they're not
10033         available in the "keyseq cache" any more.
10035         * custom.el (defcustom): Add edebug spec.
10037 2010-04-18  Juri Linkov  <juri@jurta.org>
10039         Test for special mode-class in view-buffer instead of view-file (bug#5513).
10041         * view.el (view-file, view-buffer): Move test for special mode-class
10042         from view-file to view-buffer.
10044         * tar-mode.el (tar-extract): Turn if's into one cond
10045         like in arc-mode.el.
10047 2010-04-18  Juri Linkov  <juri@jurta.org>
10049         Add 7z archive format support (bug#5475).
10051         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
10052         (archive-7z-extract): New defcustom.
10053         (archive-find-type): Add magic string for 7z.
10054         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
10055         If `stderr-file' is non-nil, use `(t stderr-file)' for the
10056         `buffer' arg of `call-process'.
10057         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
10058         call the function `archive-7z-extract' with the variable
10059         `archive-7z-extract' let-bound to `archive-zip-extract'.
10060         (archive-7z-summarize, archive-7z-extract): New functions.
10062         * international/mule.el (auto-coding-alist):
10063         * files.el (auto-mode-alist): Add 7z file extension.
10065 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10067         * loadup.el: Setup hash-cons for pure data.
10069         Fix duplicate entries in cedet's loaddefs.el files.
10070         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
10071         Should make most file-local generated-autoload-file unnecessary.
10072         (print-readably): Silence warnings.
10073         (autoload-find-destination): Take load-name as an arg to make sure
10074         it's the same as the one that will be in the file.
10075         (autoload-generate-file-autoloads): Adjust to above changes.
10076         Try to make the dataflow a bit simpler.
10078         * cvs-status.el (cvs-refontify): Remove unused.
10080 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
10082         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
10084         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
10085         twos-complement mode.
10087 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
10089         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
10090         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
10091         (calc-inverse): Add "Option" to message, as appropriate.
10092         (calc-hyperbolic): Add "Option" to message, as appropriate.
10093         (calc-option, calc-is-option): New functions.
10095         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
10096         (calc-option-prefix-help): New function.
10098         * calc/calc-misc.el (calc-help): Add "Option" entry.
10100         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
10101         (calc-option-flag): New variable.
10102         (calc-do): Set `calc-option-flag to nil.
10103         (calc-set-mode-line): Add "Opt " as appropriate.
10105 2010-04-16  Juri Linkov  <juri@jurta.org>
10107         Move scrolling commands from simple.el to window.el
10108         because their primitives are implemented in window.c.
10110         * simple.el (scroll-error-top-bottom)
10111         (scroll-up-command, scroll-down-command, scroll-up-line)
10112         (scroll-down-line, scroll-other-window-down)
10113         (beginning-of-buffer-other-window, end-of-buffer-other-window):
10114         * window.el (scroll-error-top-bottom)
10115         (scroll-up-command, scroll-down-command, scroll-up-line)
10116         (scroll-down-line, scroll-other-window-down)
10117         (beginning-of-buffer-other-window, end-of-buffer-other-window):
10118         Move from simple.el to window.el because their primitives are
10119         implemented in window.c.
10121 2010-04-16  Juri Linkov  <juri@jurta.org>
10123         * isearch.el (isearch-lookup-scroll-key): Check both
10124         `isearch-scroll' and `scroll-command' properties.
10125         (scroll-up, scroll-down): Remove `isearch-scroll' property.
10127         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
10129         * simple.el (scroll-up-command, scroll-down-command)
10130         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
10132 2010-04-15  Juri Linkov  <juri@jurta.org>
10134         * simple.el (scroll-up-command, scroll-down-command)
10135         (scroll-up-line, scroll-down-line): Put `scroll-command'
10136         property on the these symbols.  Remove them from
10137         `scroll-preserve-screen-position-commands'.
10139         * mwheel.el (mwheel-scroll): Put `scroll-command' and
10140         `isearch-scroll' properties on the `mwheel-scroll' symbol.
10141         Remove it from `scroll-preserve-screen-position-commands'.
10143         * isearch.el (isearch-allow-scroll): Doc fix.
10145 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
10147         * net/tramp.el (tramp-error-with-buffer): Don't show the
10148         connection buffer when we are in completion mode.
10149         (tramp-file-name-handler): Catch the error for some operations
10150         when we are in completion mode.  This gives the user the chance to
10151         correct the file name in the minibuffer.
10153 2010-04-15  Glenn Morris  <rgm@gnu.org>
10155         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
10157 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
10159         Simplify by using `define-derived-mode'.
10160         * info.el (Info-mode):
10161         * calendar/todo-mode.el (todo-mode):
10162         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
10163         (gomoku-mode-map): Move initialization into declaration.
10165 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
10167         Fix Bug#5840.
10168         * ido.el (ido-file-name-all-completions-1):
10169         * minibuffer.el (minibuffer-completion-help):
10170         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
10172 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10174         * simple.el (non-essential): New var.
10176         Add a new field `location' to bookmarks for non-file bookmarks.
10177         * bookmark.el (bookmark-location): Use the new field, if present.
10178         (bookmark-insert-location): Undo last change, not needed any more.
10179         * man.el (Man-bookmark-make-record):
10180         * woman.el (woman-bookmark-make-record): Add `location' field.
10182 2010-04-14  Juri Linkov  <juri@jurta.org>
10184         * simple.el (scroll-error-top-bottom): New defcustom.
10185         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
10187         * emulation/pc-select.el (pc-select-override-scroll-error):
10188         Obsolete in favor of `scroll-error-top-bottom'.
10190 2010-04-14  Juri Linkov  <juri@jurta.org>
10192         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
10193         `scroll-up-command' and `M-v' to `scroll-down-command'.
10195         * emulation/cua-rect.el (cua--init-rectangles):
10196         * forms.el (forms--change-commands):
10197         * image-mode.el (image-mode-map):
10198         Remap scroll-down-command and scroll-up-command
10199         in addition to scroll-down and scroll-up.
10201 2010-04-14  Juri Linkov  <juri@jurta.org>
10203         * mwheel.el (scroll-preserve-screen-position-commands):
10204         Add mwheel-scroll to this list of commands.
10206         * simple.el (scroll-preserve-screen-position-commands):
10207         Add scroll-up-command, scroll-down-command, scroll-up-line,
10208         scroll-down-line to this list of commands.
10210 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10212         * obsolete/complete.el: Move from lisp/complete.el.
10214         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
10216         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
10217         to the minor mode function now turns the mode ON unconditionally.
10219 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10221         * vc-dir.el (vc-dir-kill-line): New command.
10222         (vc-dir-mode-map): Bind it to C-k.
10224         * bookmark.el (bookmark-insert-location): Handle a nil filename.
10226         * woman.el: Add bookmark declarations to silence the compiler.
10227         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
10228         step to compatibility between man and woman bookmarks.
10229         Adjust for Man-default-bookmark-title renaming.
10230         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
10232         * man.el: Add bookmark declarations to silence the compiler.
10233         (Man-name-local-regexp): Make it match NAME as well.
10234         (Man-getpage-in-background): Return the buffer.
10235         (Man-notify-when-ready): Use `case'.
10236         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
10237         Don't hardcode "NAME".  Simplify.
10238         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
10239         Rename from Man-bookmark-make-record.
10240         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
10241         we have the actual man-args.  Use Man-getpage-in-background rather
10242         than `man' since the arg is already processed.  Let bookmark.el do the
10243         window handling.  Only wait for the relevant process.
10244         Don't forget to autoload.
10246         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
10248 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10250         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
10251         New functions.
10252         (woman-mode): Setup bookmark support.
10254         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
10255         (man-bookmark-jump): New functions.
10256         (Man-mode): Setup bookmark support.
10258 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
10260         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
10261         recognize ssh-keygen prompt (Bug#2817).
10263 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
10265         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
10267 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
10269         Synchronize with Tramp repository.
10271         * net/tramp.el (tramp-completion-function-alist)
10272         (tramp-file-name-regexp, tramp-chunksize)
10273         (tramp-local-coding-commands, tramp-remote-coding-commands):
10274         Fix docstring.
10275         (tramp-remote-process-environment): Use `format' instead of `concat'.
10276         (tramp-handle-directory-files-and-attributes)
10277         (tramp-get-remote-path): Use `copy-tree'.
10278         (tramp-handle-file-name-all-completions): Backward/ XEmacs
10279         compatibility: Use `completion-ignore-case' if
10280         `read-file-name-completion-ignore-case' does not exist.
10281         (tramp-do-copy-or-rename-file-directly): Do not use
10282         `tramp-handle-file-remote-p'.
10283         (tramp-do-copy-or-rename-file-out-of-band):
10284         Use `tramp-compat-delete-directory'.
10285         (tramp-do-copy-or-rename-file-out-of-band)
10286         (tramp-compute-multi-hops, tramp-maybe-open-connection):
10287         Use `format-spec-make'.
10288         (tramp-find-foreign-file-name-handler)
10289         (tramp-advice-make-auto-save-file-name)
10290         (tramp-set-auto-save-file-modes): Remove superfluous check for
10291         `stringp'.  This is done inside `tramp-tramp-file-p'.
10292         (tramp-debug-outline-regexp): New defconst.
10293         (tramp-get-debug-buffer): Use it.
10294         (tramp-check-for-regexp): Use (forward-line 1).
10295         (tramp-set-auto-save-file-modes): Adapt version check.
10297         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
10298         Wrap call of `featurep' for 2nd argument.
10299         (tramp-compat-make-temp-file): Simplify fallback implementation.
10300         (tramp-compat-copy-tree): Remove function.
10301         (tramp-compat-delete-directory): Provide implementation for older
10302         Emacsen.
10304         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
10305         Do not use `tramp-fish-handle-file-attributes.
10307         * net/trampver.el: Update release number.
10309 2010-04-10  Glenn Morris  <rgm@gnu.org>
10311         * progmodes/compile.el (compilation-save-buffers-predicate):
10312         Add missing :version tag.
10314 2010-04-09  Sam Steingold  <sds@gnu.org>
10316         * progmodes/compile.el (compilation-save-buffers-predicate):
10317         Remove the "autoload" cookie.
10319         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
10320         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
10321         and `bug-reference-prog-mode' can be used in hooks directly.
10323 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
10325         Add --author support to git commit.
10326         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
10327         (vc-git-log-edit-mode): New minor mode.
10328         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
10329         New declarations.
10331 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
10333         * vc-hooks.el, vc-git.el: Improve documentation comments.
10335 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10337         Fix some of the problems in defsubst* (bug#5728).
10338         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
10339         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
10341 2010-04-07  Sam Steingold  <sds@gnu.org>
10343         * progmodes/compile.el (compilation-save-buffers-predicate):
10344         New custom variable.
10345         (compile, recompile): Pass it to `save-some-buffers'.
10347 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
10349         * wid-edit.el (widget-choose): Move cursor to the second line of
10350         the buffer (Bug#5695).
10352 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
10354         Add new VC methods: vc-log-incoming and vc-log-outgoing.
10355         * vc.el (vc-print-log-setup-buttons): New function split out from
10356         vc-print-log-internal.
10357         (vc-log-internal-common): New function, a parametrized version of
10358         vc-print-log-internal.
10359         (vc-print-log-internal): Just call vc-log-internal-common with the
10360         right arguments.
10361         (vc-incoming-outgoing-internal):
10362         (vc-log-incoming, vc-log-outgoing): New functions.
10363         (vc-log-view-type): New permanent local variable.
10365         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
10367         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
10368         of the dynamic bound vc-short-log.
10369         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
10371         * vc-git.el (vc-git-log-outgoing): New function.
10372         (vc-git-log-view-mode): Use vc-log-view-type instead
10373         of the dynamic bound vc-short-log.
10375         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
10376         of the dynamic bound vc-short-log.  Highlight the tag.
10377         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
10378         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
10379         (vc-hg-incoming-mode): Remove.
10380         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
10382 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
10384         Fix default-directory for vc-root-diff.
10385         * vc.el (vc-root-diff): Bind default-directory to the root
10386         directory for the diff command.
10388 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
10390         * progmodes/verilog-mode.el (verilog-forward-sexp):
10391         (verilog-calc-1): Support "disable fork" and "fork wait" multi
10392         word keywords, suggested by Steve Pearlmutter.
10393         (verilog-pretty-declarations): Support lineup of declarations in
10394         port lists.
10395         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
10396         fix bug for /* / comments.
10397         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
10398         Speed up and simplfy as this is never called with a bound.
10399         (verilog-pretty-declarations): Enhance to line up declarations
10400         inside a parameter list, suggested by Alan Morgan.
10401         (verilog-pretty-expr): Tune assignment regular expression match
10402         string for corner cases; also use markers instead of character
10403         number as indent changes the later.
10405 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
10407         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
10408         as missing keyword.
10409         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
10410         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
10411         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
10412         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
10413         Tennant.
10414         (verilog-keywords):
10415         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
10416         1800-2009 keywords, including "global.".
10418 2010-04-06  John Wiegley  <jwiegley@gmail.com>
10420         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
10421         appearing in buffer list (if a live buffer name matched a recentf
10422         file basename).  Should use uniquify to offer a real solution.
10424 2010-04-06  John Wiegley  <jwiegley@gmail.com>
10426         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
10427         comment to code, and add a :version tag.
10428         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
10430 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
10432         Enable recentf-mode if using virtual buffers.
10433         * ido.el (recentf-list): Declare for byte-compiler.
10434         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
10435         (ido-make-buffer-list): Simplify.
10436         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
10438 2010-04-05  Juri Linkov  <juri@jurta.org>
10440         Scrolling commands which scroll a line instead of full screen.
10441         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10443         * simple.el (scroll-up-line, scroll-down-line): New commands.
10444         Put property isearch-scroll=t on them.
10446         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
10447         Remove commands.
10449 2010-04-05  Juri Linkov  <juri@jurta.org>
10451         Scrolling commands which do not signal errors at top/bottom.
10452         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10454         * simple.el (scroll-up-command, scroll-down-command): New commands.
10455         Put property isearch-scroll=t on them.
10457         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
10458         `scroll-down-command' and [next] from `scroll-up' to
10459         `scroll-up-command'.
10461         * emulation/cua-base.el: Put property CUA=move on
10462         `scroll-up-command' and `scroll-down-command'.
10463         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
10464         and `scroll-down-command' to `cua-scroll-down'.
10466 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
10468         * help.el (describe-mode): Return nil.
10470 2010-04-04  John Wiegley  <jwiegley@gmail.com>
10472         * ido.el (ido-use-virtual-buffers): New variable to indicate
10473         whether "virtual buffer" support is enabled for IDO.
10474         (ido-virtual): Face used to indicate virtual buffers in the list.
10475         (ido-buffer-internal): If a buffer is chosen, and no such buffer
10476         exists, but a virtual buffer of that name does (which would be why
10477         it was in the list), recreate the buffer by reopening the file.
10478         (ido-make-buffer-list): If virtual buffers are being used, call
10479         `ido-add-virtual-buffers-to-list' before the make list hook.
10480         (ido-virtual-buffers): New variable which contains a copy of the
10481         current contents of the `recentf-list', albeit pared down for the
10482         sake of speed, and with proper faces applied.
10483         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
10484         create a list of "virtual buffers" to present to the user in
10485         addition to the currently open set.  Note that this logic could
10486         get rather slow if that list is too large.  With the default
10487         `recentf-max-saved-items' of 200, there is little speed penalty.
10489 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10491         * font-lock.el: Require CL when compiling.
10492         (font-lock-turn-on-thing-lock): Use `case'.
10494 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
10496         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
10497         Zaretskii.
10499 2010-04-02  Juri Linkov  <juri@jurta.org>
10501         * ehelp.el (electric-help-orig-major-mode):
10502         New buffer-local variable.
10503         (electric-help-mode): Set it to original major-mode.  Doc fix.
10504         (with-electric-help): Use `electric-help-orig-major-mode' instead
10505         of (default-value 'major-mode).  Doc fix.
10506         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
10508 2010-04-02  Sam Steingold  <sds@gnu.org>
10510         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
10511         `vc-hg-command' with a list of flags.
10513         * progmodes/bug-reference.el (bug-reference-bug-regexp):
10514         Also accept "patch" and "RFE".
10515         (bug-reference-fontify): `bug-reference-url-format' can also be a
10516         function to be able to handle the bug kind.
10517         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
10519 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
10521         * tmm.el (tmm-get-keymap): Check with symbolp before passing
10522         value to fboundp, it may not be a symbol.
10524 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10526         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
10528 2010-03-31  Juri Linkov  <juri@jurta.org>
10530         * simple.el (next-line, previous-line): Re-throw a signal
10531         with `signal' instead of using `ding'.
10532         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
10534 2010-03-31  Juri Linkov  <juri@jurta.org>
10536         * simple.el (keyboard-escape-quit): Raise deselecting the active
10537         region higher than exiting the minibuffer.
10538         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
10540 2010-03-31  Juri Linkov  <juri@jurta.org>
10542         * image.el (image-animated-p): Use `image-metadata' instead of
10543         `image-extension-data'.  Get GIF extenstion data from metadata
10544         property `extension-data'.
10546 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10548         * simple.el (append-to-buffer): Simplify.
10550 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
10552         * textmodes/artist.el (artist-mode): Fix typo in docstring.
10553         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
10555 2010-03-31  Kenichi Handa  <handa@m17n.org>
10557         * language/sinhala.el (composition-function-table): Fix regexp for
10558         the new Unicode specification.
10560         * language/indian.el (devanagari-composable-pattern)
10561         (tamil-composable-pattern, kannada-composable-pattern)
10562         (malayalam-composable-pattern): Adjust for the new Unicode
10563         specification.
10564         (bengali-composable-pattern, gurmukhi-composable-pattern)
10565         (gujarati-composable-pattern, oriya-composable-pattern)
10566         (telugu-composable-pattern): New variables to cope with the new
10567         Unicode specification.  Use them in composition-function-table.
10569 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10571         Make tmm-menubar work for the Buffers menu again (bug#5726).
10572         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
10573         vectors rather than cons cells, as used in menu-bar-update-buffers.
10575 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10577         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
10578         (js-insert-and-indent): Revert 2009-08-15 change, restoring
10579         electric punctuation for "{}();,:" (Bug#5586).
10581         * mail/sendmail.el (mail-default-directory): Doc fix.
10583 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10585         * mail/sendmail.el (mail-default-directory): Doc fix.
10587 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
10589         * subr.el (version-regexp-alist, version-to-list)
10590         (version-list-<, version-list-=, version-list-<=)
10591         (version-list-not-zero, version<, version<=, version=): Doc fix.
10592         (Bug#5744).
10594 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
10596         * vc.el (vc-root-diff): Doc fix.
10598 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10600         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
10602         * simple.el (append-to-buffer): Fix last change.
10604 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10606         * simple.el (append-to-buffer): Ensure that point is preserved if
10607         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
10608         (Bug#5749)
10610 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10612         * files.el (auto-mode-case-fold): Change default to t.
10614 2010-03-30  Juri Linkov  <juri@jurta.org>
10616         * dired-x.el (dired-omit-mode): Doc fix.
10618 2010-03-30  Juri Linkov  <juri@jurta.org>
10620         * replace.el (occur-accumulate-lines): Move occur-engine related
10621         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
10622         to be located after `occur-engine'.
10624 2010-03-30  Juri Linkov  <juri@jurta.org>
10626         Make occur handle multi-line matches cleanly with context.
10627         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
10629         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
10630         (occur-engine): Add local variables `ret', `prev-after-lines',
10631         `prev-lines'.  Use more arguments for `occur-context-lines'.
10632         Set first elem of its returned list to `data', and the second elem
10633         to `prev-after-lines'.  Don't print the separator line.
10634         In the end, print remaining context after-lines.
10635         (occur-context-lines): Add new arguments `begpt', `endpt',
10636         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
10637         after-lines of the previous match with before-lines of the
10638         current match and not overlap them.  Return a list with two
10639         values: the output line and the list of context after-lines.
10641 2010-03-30  Juri Linkov  <juri@jurta.org>
10643         * replace.el (occur-accumulate-lines): Fix a bug where the first
10644         context line at the beginning of the buffer was missing.
10646 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
10648         * files.el: Make bidi-display-reordering safe variable for boolean
10649         values.
10651 2010-03-29  Phil Hagelberg  <phil@evri.com>
10652             Chong Yidong  <cyd@stupidchicken.com>
10654         * subr.el: Extend progress reporters to perform "spinning".
10655         (progress-reporter-update, progress-reporter-do-update):
10656         Handle non-numeric value arguments.
10657         (progress-reporter--pulse-characters): New var.
10659 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
10661         * progmodes/compile.el (compilation-start): Fix regexp detection
10662         of initial cd command (Bug#5771).
10664 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
10666         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
10668 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
10670         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
10671         * progmodes/gdb-mi.el: Restore.
10672         * progmodes/gdb-ui.el: Remove.
10673         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
10675 2010-03-25  Glenn Morris  <rgm@gnu.org>
10677         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
10678         all dired buffers, even tramp ones.  (Bug#5755)
10680 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10682         Add "union tags" in mpc.el.
10683         * mpc.el: Remove backward compatibility code.
10684         (mpc-browser-tags): Change default.
10685         (mpc--find-memoize-union-tags): New var.
10686         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
10687         (mpc-cmd-find): Handle the case where the playlist does not exist.
10688         Handle union-tags.
10689         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
10690         (mpc-cmd-add): Use mpc-cmd-flush.
10691         (mpc-tagbrowser-tag-name): New fun.
10692         (mpc-tagbrowser-buf): Use it.
10693         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
10695 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10697         Misc cleanup.
10698         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
10699         Use replace-regexp-in-string.
10700         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
10701         (makefile-imake-mode-syntax-table): Move init into defvar.
10702         (makefile-mode): Use define-derived-mode.
10704         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
10705         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
10706         not be present any more.
10708 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
10710         * faces.el (set-face-attribute): Fix typo in docstring.
10711         (face-valid-attribute-values): Reflow docstring.
10713 2010-03-24  Glenn Morris  <rgm@gnu.org>
10715         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
10717 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
10719         * indent.el (indent-for-tab-command): Doc fix.
10721 2010-03-24  Alan Mackenzie  <acm@muc.de>
10723         * progmodes/cc-engine.el (c-remove-stale-state-cache):
10724         Fix off-by-one error.  Fixes bug #5747.
10726 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
10728         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
10729         (image-dired-read-comment): Doc fix.
10731         * json.el (json-object-type, json-array-type, json-key-type)
10732         (json-false, json-null, json-read-number):
10733         * minibuffer.el (completion-in-region-functions):
10734         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
10735         (cal-tex-cursor-week):
10736         * emacs-lisp/trace.el (trace-function):
10737         * eshell/em-basic.el (eshell/printnl):
10738         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
10739         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
10740         * obsolete/levents.el (allocate-event, event-key, event-object)
10741         (event-point, event-process, event-timestamp, event-to-character)
10742         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
10743         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
10744         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
10745         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
10746         (reftex-highlight-selection): Fix typos in docstrings.
10748 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
10750         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
10752 2010-03-24  Glenn Morris  <rgm@gnu.org>
10754         * mail/rmail.el (rmail-highlight-face): Restore option deleted
10755         2008-02-13 without comment; mark it obsolete.
10756         (rmail-highlight-headers): Use rmail-highlight-face once more.
10758 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
10760         * woman.el (woman2-process-escapes): Only consume the newline if
10761         the filler character is on a line by itself (Bug#5729).
10763 2010-03-24  Kenichi Handa  <handa@m17n.org>
10765         * language/indian.el (devanagari-composable-pattern): Add more
10766         consonants.
10768 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
10770         * net/trampver.el: Update release number.
10772 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
10774         * net/tramp.el (tramp-find-executable):
10775         Use `tramp-get-connection-buffer'.  Make the regexp for checking
10776         output of "wc -l" more robust.
10777         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
10778         (tramp-open-connection-setup-interactive-shell): Remove workaround
10779         for OpenSolaris bug, it is not needed anymore.
10781 2010-03-24  Glenn Morris  <rgm@gnu.org>
10783         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
10785 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
10787         * files.el (auto-mode-alist): Accept more verilog file patterns.
10789 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10791         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
10793 2010-03-24  Glenn Morris  <rgm@gnu.org>
10795         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
10796         log-edit-before-checkin-process.
10798         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
10800         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
10802         * vc-dispatcher.el (vc-start-logentry): Doc fix.
10803         (log-view-process-buffer, log-edit-extra-flags): Declare.
10805         * log-edit.el (log-edit-before-checkin-process): Doc fix.
10807 2010-03-23  Sam Steingold  <sds@gnu.org>
10809         Fix bug#5620: recalculate all markers on compilation buffer
10810         modifications, not on file modifications.
10811         * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
10812         variable: the buffer modification time, for buffers not associated with
10813         files.
10814         (compilation-mode): Create it.
10815         (compilation-filter): Update it.
10816         (compilation-next-error-function): Use it instead of
10817         `visited-file-modtime' for timestamp.
10819 2010-03-23  Juri Linkov  <juri@jurta.org>
10821         Implement Occur multi-line matches.
10822         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
10824         * replace.el (occur): Doc fix.
10825         (occur-engine): Set `begpt' to the beginning of the first line.
10826         Set `endpt' to the end of the last match line.  At first, count
10827         line numbers between `origpt' and `begpt'.  Split out code from
10828         `out-line' variable to new let-bindings `match-prefix' and
10829         `match-str'.  In `out-line' add non-numeric prefix to all
10830         non-first lines of multi-line matches.  Finally, count lines
10831         between `begpt' and `endpt' and add to `lines'.
10833 2010-03-23  Juri Linkov  <juri@jurta.org>
10835         * replace.el (occur-accumulate-lines, occur-engine):
10836         Use `occur-engine-line' instead of duplicate code.
10837         (occur-engine-line): New function created from duplicate code
10838         in `occur-accumulate-lines' and `occur-engine'.
10840         * replace.el (occur-engine-line): Add optional arg `keep-props'.
10841         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
10843 2010-03-23  Juri Linkov  <juri@jurta.org>
10845         * finder.el: Remove TODO tasks.
10847         * info.el (Info-finder-find-node): Add node "all"
10848         with all package info.  Handle a list of multiple keywords
10849         separated by comma.
10850         (info-finder): In interactive use with a prefix argument,
10851         use `completing-read-multiple' to read a list of keywords
10852         separated by comma.
10854 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10856         Add a new completion style `substring'.
10857         * minibuffer.el (completion-basic--pattern): New function.
10858         (completion-basic-try-completion, completion-basic-all-completions):
10859         Use it.
10860         (completion-substring--all-completions)
10861         (completion-substring-try-completion)
10862         (completion-substring-all-completions): New functions.
10863         (completion-styles-alist): New style `substring'.
10865 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10867         Get rid of .elc files after removal of the corresponding .el.
10868         * Makefile.in (compile-clean): New target.
10869         (compile-main): Use it.
10871 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
10873         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
10874         don't do make there.  When compiling with separate object dir, there
10875         is no Makefile there.
10877 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10879         Get rid of the ELCFILES abomination, again.
10880         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10881         (all, compile): Don't call compile-last.
10882         (compile-main): Build the "elcfiles" list dynamically.
10883         (compile-targets): New (internal) target.
10885 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
10887         * Makefile.in (top_srcdir): Define.
10888         (abs_top_builddir): Define.
10889         (srcdir): Don't append `/..'.
10890         (EMACS): Use ${abs_top_builddir}.
10891         (all, compile, compile-always, compile-last): Don't set emacswd.
10892         (update-subdirs, update-authors): Use $(top_srcdir) instead of
10893         $(srcdir).
10894         (lisp): Use $(srcdir) instead of @srcdir@.
10896 2010-03-21  Juri Linkov  <juri@jurta.org>
10898         Fix message of multi-line occur regexps and multi-buffer header lines.
10899         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
10901         * replace.el (occur-1): Don't display regexp if it is longer
10902         than window-width.  Use `query-replace-descr' to display regexp.
10903         (occur-engine): Don't display regexp in the buffer header for
10904         multi-buffer occur.  Display a separate header line with total
10905         match count and regexp for multi-buffer occur.
10906         Use `query-replace-descr' to display regexp.
10908 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
10910         * net/secrets.el: Fix parenthesis.
10911         (secrets-enabled): Fix parenthesis.
10913 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10915         Use more relative file and directory names.
10916         * Makefile.in (EMACS): Arrange for it to work when we chdir.
10917         (setwins, setwins_almost, setwins_for_subdirs):
10918         Don't `cd'; output relative names.
10919         (all, compile, compile-always, compile-last): Set emacswd.
10920         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
10921         Just cd to the lisp source dir so we can use relative file names.
10923         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
10925 2010-03-20  Glenn Morris  <rgm@gnu.org>
10927         * textmodes/rst.el: Use faces for font-lock customization, and make the
10928         old -face variables obsolete.
10929         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
10930         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
10931         (rst-block-face, rst-external-face, rst-definition-face)
10932         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
10933         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
10934         Make obsolete.
10935         (rst-font-lock-keywords-function): Update for above changes.
10937 2010-03-20  Juri Linkov  <juri@jurta.org>
10939         * s-region.el:
10940         * obsolete/s-region.el: Move to obsolete.
10942 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
10944         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
10946 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
10948         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
10950 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
10952         Add special markup processing for commit logs.
10953         * log-edit.el (log-edit-extra-flags): New variable.
10954         (log-edit): Add new argument MODE.  Use that mode when non-nil
10955         instead of the log-view-mode.
10956         (log-view-process-buffer): New function.
10958         * vc.el: Document that the checkin method takes optional
10959         arguments.  Document new backend specific method: log-view-mode.
10960         (vc-default-log-edit-mode): New function.
10961         (vc-checkin): Use a backend specific log-view-mode.
10962         Pass extra arguments to the checkin method.
10963         (vc-modify-change-comment): Pass a dummy extra argument.
10965         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
10966         log-edit.
10967         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
10968         (vc-finish-logentry): Process the log buffer before passing it
10969         down.  Pass log-edit-extra-flags.
10971         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
10972         command.
10973         (log-edit-extra-flags, log-edit-before-checkin-process):
10974         New declarations.
10976         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
10977         command.
10978         (log-edit-extra-flags, log-edit-before-checkin-process):
10979         New declarations.
10980         (vc-hg-log-edit-mode): New derived mode.
10982         * vc-arch.el (vc-arch-checkin):
10983         * vc-cvs.el (vc-cvs-checkin):
10984         * vc-git.el (vc-git-checkin):
10985         * vc-mtn.el (vc-mtn-checkin):
10986         * vc-rcs.el (vc-rcs-checkin):
10987         * vc-sccs.el (vc-sccs-checkin):
10988         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
10990 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10992         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
10993         parent typo).
10995 2010-03-19  Glenn Morris  <rgm@gnu.org>
10997         * password-cache.el (password-cache, password-cache-expiry): Autoload.
10999 2010-03-18  Glenn Morris  <rgm@gnu.org>
11001         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
11003         * replace.el (query-replace-history): Give it a doc string.
11004         (map-query-replace-regexp): Use query-replace-from-history-variable
11005         and query-replace-to-history-variable.
11007         * mail/hashcash.el (declare-function): Remove duplicate definition.
11009         * mail/emacsbug.el (report-emacs-bug-pretest-address):
11010         Make it an obsolete alias for report-emacs-bug-address.
11011         (message-strip-special-text-properties): Declare.
11012         (report-emacs-bug): Remove test for a pretest bug address.
11013         Combine message-mode-specific code.
11015         * mail/supercite.el: Don't require sendmail.
11016         (mh-in-header-p): Declare rather than using with-no-warnings.
11017         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
11018         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
11020         * calendar/cal-french.el: Convert to utf-8.
11022         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
11023         Emacs scripts.
11025 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
11027         * net/secrets.el (secrets-enabled): New variable.  Use it instead
11028         of a subfeature.
11030 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
11032         * net/secrets.el (top): Register the D-Bus signals only when the
11033         service "org.freedesktop.secrets" can be pinged.
11034         Provide subfeature `enabled'.
11036 2010-03-14  Juri Linkov  <juri@jurta.org>
11038         Add finder unknown keywords.
11040         * finder.el (finder-unknown-keywords): New function.
11042         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
11043         to create a Finder node with unknown keywords.
11045 2010-03-14  Juri Linkov  <juri@jurta.org>
11047         * finder.el (finder-compile-keywords): Replace `princ' with
11048         `prin1' on a list of symbols interned from keyword strings.
11050         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
11051         a comma, then split keywords using a comma and optional whitespace.
11052         Otherwise, split by whitespace.
11054         * complete.el:
11055         * face-remap.el:
11056         * log-view.el:
11057         * net/hmac-def.el:
11058         * net/hmac-md5.el:
11059         * net/netrc.el:
11060         * progmodes/mixal-mode.el: Fix keywords.
11062 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
11064         * Makefile.in (ELCFILES): Add net/secrets.elc.
11066         * net/secrets.el: New file.
11068 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
11070         * facemenu.el (list-colors-display, list-colors-print): New arg
11071         callback.  Use it to allow selecting colors.
11073         * wid-edit.el (widget-image-insert): Insert image prop even if the
11074         current display is non-graphic.
11075         (widget-field-value-set): New fun.
11076         (editable-field): Use it.
11077         (widget-field-value-get): Clean up unused var.
11078         (widget-color-value-create, widget-color--choose-action):
11079         New funs.  Allow using list-colors-display to choose color.
11081 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
11083         * cus-edit.el: Resort topmost custom groups.
11084         (custom-buffer-sort-alphabetically): Default to t.
11085         (customize-apropos): Use apropos-parse-pattern.
11086         (custom-search-field): New var.
11087         (custom-buffer-create-internal): Add custom-apropos search field.
11088         (custom-add-parent-links): Don't display parent doc.
11089         (custom-group-value-create): Don't sort top-level custom group.
11090         (custom-magic-value-create): Show visibility button before option name.
11092         (custom-variable-state): New fun, from custom-variable-state-set.
11093         (custom-variable-state-set): Use it.
11094         (custom-group-value-create): Hide options with standard values
11095         using the :hidden-states property.  Use progress reporter.
11097         (custom-show): Simplify.
11098         (custom-visibility): Disable images by default.
11099         (custom-variable): New property :hidden-states.
11100         (custom-variable-value-create): Enable images for
11101         custom-visibility widgets.  Use :hidden-states property to
11102         determine initial visibility.
11104         * wid-edit.el (widget-image-find): Give images center ascent.
11105         (visibility): Add :on-image and :off-image properties.
11106         (widget-visibility-value-create): Use them.
11108 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
11110         * cus-edit.el (processes): Remove from development group.
11111         (oop, hypermedia): Delete group.
11112         (comm): Promote to top-level group.
11114         * net/browse-url.el (browse-url):
11115         * net/xesam.el (xesam):
11116         * net/tramp.el (tramp):
11117         * net/goto-addr.el (goto-address):
11118         * net/ange-ftp.el (ange-ftp): Put in comm group.
11120         * view.el (view): Remove from editing group.
11122         * uniquify.el (uniquify): Put in files group.
11124         * net/browse-url.el (browse-url):
11125         * ps-print.el (postscript): Put in external group.
11127         * cus-edit.el (outlines):
11128         * textmodes/text-mode.el (text-mode-hook):
11129         * textmodes/table.el (table):
11130         * textmodes/picture.el (picture):
11131         * outline.el (outlines): Put in wp group.
11133         * nxml/nxml-mode.el (nxml): Remove from wp group.
11135         * net/tramp-imap.el (tramp-imap): Put in tramp group.
11137         * mail/metamail.el (metamail): Remove from hypermedia group.
11139         * cus-edit.el (abbrev):
11140         * whitespace.el (whitespace):
11141         * vcursor.el (vcursor):
11142         * reveal.el (reveal):
11143         * hl-line.el (hl-line): Put in convenience group.
11145         * epg-config.el (epg): Put in data group.
11147         * emulation/pc-select.el (pc-select): Put in emulations group.
11149         * calculator.el (calculator): Put in applications group.
11151 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
11153         Add .dir-locals.el support for file-less buffers.
11154         * files.el (hack-local-variables): Split out code to apply local
11155         variable settings ...
11156         (hack-local-variables-apply): ... here.  New function.
11157         (hack-dir-local-variables): Use the default directory for when the
11158         buffer does not have an associated file.
11159         (hack-dir-local-variables-non-file-buffer): New function.
11160         * diff-mode.el (diff-mode):
11161         * vc-annotate.el (vc-annotate-mode):
11162         * vc-dir.el (vc-dir-mode):
11163         * log-edit.el (log-edit-mode):
11164         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
11166 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
11168         Add support for shelving snapshots and for showing shelves.
11169         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
11170         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
11171         New functions.
11172         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11173         (vc-bzr-extra-menu-map): Map them.
11175 2010-03-11  Glenn Morris  <rgm@gnu.org>
11177         * cus-edit.el (customize-changed-options-previous-release):
11178         Bump to 23.1.
11180         * image.el (image-animate-max-time): Fix :version tag.
11182 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
11184         * Branch for 23.2.
11186 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11188         * vc-git.el (vc-git-revision-table): Include remote branches.
11190 2010-03-10  Kim F. Storm  <storm@cua.dk>
11192         Animated image API.
11193         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
11195         * image.el (image-animate-max-time): New defcustom.
11196         (image-animated-types): New defconst.
11197         (create-animated-image, image-animate-timer)
11198         (image-animate-start, image-animate-stop, image-animate-timeout)
11199         (image-animated-p): New functions.
11201         * image-mode.el (image-toggle-display-image):
11202         Replace `create-image' with `create-animated-image'.
11204 2010-03-09  Miles Bader  <miles@gnu.org>
11206         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
11207         instead of "format:"; this ensures that the output is
11208         newline-terminated.
11210 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
11212         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
11213         that all errors are caught, and that the return value is always a
11214         list (Bug#5692).
11216 2010-03-08  Kenichi Handa  <handa@m17n.org>
11218         * language/misc-lang.el (windows-1256): New coding system.
11219         (cp1256): New alias of windows-1256 (bug#5690).
11221 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
11223         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
11224         call to rfc822-bad-address.  (Bug#5692)
11226 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
11228         * vc-git.el (vc-git-annotate-extract-revision-at-line):
11229         Use vc-git-root as default directory for revision path (Bug#5657).
11231 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
11233         * calculator.el (calculator): Don't bind split-window-keep-point
11234         (Bug#5674).
11236 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11238         * vc-git.el: Re-flow to fit into 80 columns.
11239         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
11240         Remove spurious `quote' element in each case alternative.
11241         (vc-git-show-log-entry): Use prog1.
11242         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
11244 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11246         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
11248 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
11250         * macros.el (insert-kbd-macro): Look up keyboard macro using the
11251         definition, not the name (Bug#5481).
11253 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
11255         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
11256         argument with a local variable.  (Bug#5670)
11258 2010-03-02  Juri Linkov  <juri@jurta.org>
11260         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
11262 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
11264         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
11265         error when FILENAME and NEWNAME are existing remote directories.
11267         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
11268         parameter DIR-FLAG.
11270 2010-03-02  Glenn Morris  <rgm@gnu.org>
11272         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
11273         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
11275 2010-03-01  Kenichi Handa  <handa@m17n.org>
11277         * language/burmese.el (burmese-composable-pattern): Rename from
11278         myanmar-composable-pattern.
11280         * international/characters.el (script-list):
11281         * international/fontset.el (script-representative-chars):
11282         Change myanmar to burmese.
11283         (otf-script-alist): Likewise.
11284         (setup-default-fontset): Likewise.  Re-fix :otf spec.
11286 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
11288         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
11290 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
11292         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
11294 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
11296         * net/tramp.el (tramp-handle-write-region): START can be a string.
11297         Take care in the checks.  Reported by Dan Davison
11298         <davison@stats.ox.ac.uk>.
11300 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
11302         * net/dbus.el (dbus-introspect, dbus-get-property)
11303         (dbus-set-property, dbus-get-all-properties):
11304         Use `dbus-call-method' when noninteractive.  (Bug#5645)
11306 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
11308         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
11309         * emacs-lisp/elint.el (elint-add-required-env):
11310         * calendar/icalendar.el (icalendar--add-diary-entry):
11311         * calc/calcalg2.el (math-tracing-integral):
11312         * files.el (recover-session-finish): Use with-current-buffer
11313         instead of save-excursion.
11315 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11317         Fix in-buffer completion when after-change-functions modify the buffer.
11318         * minibuffer.el (completion--replace): New function.
11319         (completion--do-completion): Use it and use relative movement.
11321 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
11323         * international/fontset.el (setup-default-fontset): Fix :otf spec.
11325 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
11327         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
11328         Allow the characters _<> in the stack entry (Bug#5653).
11330 2010-02-26  Kenichi Handa  <handa@m17n.org>
11332         * language/burmese.el: Fix entries in composition-function-table.
11333         (myanmar-composable-pattern): New variable.
11335         * international/fontset.el (setup-default-fontset): Add an entry
11336         for myanmar.
11338         * international/characters.el (script-list): Add Myanmar
11339         Extended-A.
11341 2010-02-26  Glenn Morris  <rgm@gnu.org>
11343         * custom.el (custom-initialize-delay): Doc fix.
11345         * mail/sendmail.el (send-mail-function): Autoload the call
11346         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
11348 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
11350         * files.el (hack-local-variables-filter): For eval forms, also
11351         check safe-local-variable-p (Bug#5636).
11353 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
11355         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
11356         setting the modes by `ignore-errors'.  It might fail, for example
11357         if the file is not owned by the user but the group.
11358         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
11360 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
11362         * files.el (directory-listing-before-filename-regexp):
11363         Use stricter matching for iso-style dates, to avoid false matches with
11364         date-like filenames (Bug#5597).
11366         * htmlfontify.el (htmlfontify): Doc fix.
11368         * eshell/eshell.el (eshell): Doc fix.
11370         * startup.el (fancy-about-screen): In mode-line, apply
11371         mode-line-buffer-id face only to the buffer name (Bug#5613).
11373 2010-02-20  Kevin Ryde  <user42@zip.com.au>
11375         * progmodes/compile.el (compilation-error-regexp-alist-alist):
11376         In `watcom' anchor regexp to start of line, to avoid slowness
11377         (Bug#5599).
11379 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
11381         * subr.el (remove-yank-excluded-properties): Explain in a comment
11382         why `category' property is removed.
11384 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
11386         * isearch.el (isearch-update-post-hook, isearch-update):
11387         Revert 2010-02-17 change.
11389 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
11391         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
11392         (icalendar--convert-weekly-to-ical)
11393         (icalendar--convert-yearly-to-ical)
11394         (icalendar--convert-block-to-ical)
11395         (icalendar--convert-cyclic-to-ical)
11396         (icalendar--convert-anniversary-to-ical): Take care of time
11397         specifications where hour has 1-digit only (Bug#5549).
11399 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
11401         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
11402         of disassemble output in GDB 7.1.
11404 2010-02-19  Glenn Morris  <rgm@gnu.org>
11406         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
11407         property.  (Bug#5593)
11409 2010-02-18  Sam Steingold  <sds@gnu.org>
11411         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
11413 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11415         Use abbreviated file names in bookmarks (bug#5591).
11416         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
11417         calls to expand-file-name.
11418         (bookmark-relocate): Use abbreviated file names in bookmarks.
11419         (bookmark-load): Use abbreviated file names in messages.
11421 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
11423         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
11424         expand "." and "..".  Reported by Thierry Volpiatto
11425         <thierry.volpiatto@gmail.com>.
11427 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
11429         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
11430         permissions of the temporary file to "0600".  In case the remote
11431         file has no read permissions for the owner, there might be
11432         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
11434 22010-02-18  Glenn Morris  <rgm@gnu.org>
11436         * emacs-lisp/authors.el (authors-renamed-files-alist):
11437         Add entries for INSTALL.CVS.
11439 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
11441         * vc-bzr.el: Fix typo in Known Bugs section.
11443         * isearch.el (isearch-update-post-hook): New hook.
11444         (isearch-update): Use the new hook.
11446 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
11448         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11449         Fix errors in copying directories.
11450         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
11451         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
11452         (tramp-handle-delete-file)
11453         (tramp-handle-dired-recursive-delete-directory)
11454         (tramp-handle-write-region): Flush also the cache for the upper
11455         directory.
11457 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
11459         * simple.el (save-interprogram-paste-before-kill): Doc fix.
11461         * cus-edit.el (hardware): Doc fix.
11463         * man.el (man): Add to external custom group.
11465         * delim-col.el (columns): Move to wp custom group.
11467         * doc-view.el (doc-view): Add to data custom group.
11469         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
11471         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
11472         by ispell-parse-output (Bug#5575).
11474 2010-02-16  Kenichi Handa  <handa@m17n.org>
11476         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
11477         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
11478         (skkdic-convert): Use `euc-japan' coding system for writing.
11480 2010-02-16  Glenn Morris  <rgm@gnu.org>
11482         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
11483         tex-main-file before using it.  (Bug#5562)
11485 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11487         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
11488         warnings, since it is annoying for the user to see them each time he
11489         runs the code.
11491 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
11493         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
11494         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
11495         instead of PROC for caching "first-password-request".  Otherwise,
11496         new processes would not profit from passwords already entered.
11498         * net/tramp-cache.el (tramp-dump-connection-properties):
11499         Don't save "first-password-request" property.
11501 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
11503         * outline.el (outline-head-from-level):
11504         * simple.el (with-wrapper-hook):
11505         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
11506         (elint-defun, elint-buffer-env, elint-top-form-logged)
11507         (elint-unbound-variable):
11508         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
11509         Fix typos in docstrings.
11511 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
11513         * files.el (insert-directory): When WILDCARD-REGEXP and
11514         FULL-DIRECTORY-P are nil, insert the file entry instead of the
11515         whole directory.  (Bug#5551)
11517         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
11518         dired's alignment sanity.  (Bug#5516)
11520 2010-02-14  Juri Linkov  <juri@jurta.org>
11522         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
11523         Remove remaining ^H with their preceding chars.  (Bug#5566)
11525 2010-02-13  Glenn Morris  <rgm@gnu.org>
11527         * simple.el (transpose-subr): Give it a doc-string.
11529         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
11530         Doc fixes.
11532 2010-02-12  Juri Linkov  <juri@jurta.org>
11534         * arc-mode.el (archive-unique-fname): Make directories for nested
11535         archives.  (Bug#5540)
11537 2010-02-12  Juri Linkov  <juri@jurta.org>
11539         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
11541 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11543         * subr.el (copy-overlay): Handle deleted overlays.
11545         * man.el (Man-completion-table): Don't signal an error if we can't run
11546         manual-program (bug#4056).
11548 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
11550         * textmodes/artist.el (artist-mt): Fix typos in docstring.
11552 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11554         * info.el (Info-bookmark-jump): Simplify.
11556         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
11557         (bookmark-default-handler): Accept new bookmark field `buffer'.
11559 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
11561         * iswitchb.el (iswitchb-completions): Revert last change.
11563 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
11565         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
11566         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
11567         This prevents file names like "~/" being listed literally.
11569 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
11571         * term/xterm.el (xterm-maybe-set-dark-background-mode):
11572         Remove dead code.  (Bug#5546)
11574 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
11576         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
11577         correctly (Bug#5548).
11579 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
11581         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
11582         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
11584 2010-02-08  Kenichi Handa  <handa@m17n.org>
11586         * international/mule-util.el (with-coding-priority): Add autoload
11587         cookie for putting `lisp-indent-function'.
11589 2010-02-07  Glenn Morris  <rgm@gnu.org>
11591         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
11592         Move F2003 named interfaces from keywords-2 to keywords-1, and
11593         use function-name-face rather than constant-face.
11594         Simplify "abstract interface" regexp.
11596 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
11598         * eshell/esh-util.el (eshell-file-attributes): New optional arg
11599         ID-FORMAT.  Pass it to `file-attributes'.
11601         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
11603 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
11605         * faces.el (set-face-attribute): Allow calling
11606         internal-set-lisp-face-attribute with 'unspecified family and
11607         foundry argument (Bug#5536).
11609 2010-02-07  Glenn Morris  <rgm@gnu.org>
11611         * progmodes/f90.el (f90-font-lock-keywords-2)
11612         (f90-looking-at-type-like, f90-looking-at-program-block-end):
11613         Handle F2003 named interfaces.
11615 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
11617         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
11618         beg and end before calling c-get-state-before-change-functions.
11620 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
11622         * vc-bzr.el (vc-bzr-dir-extra-headers):
11623         Disable the pending merges header.
11625 2010-02-05  Juri Linkov  <juri@jurta.org>
11627         * doc-view.el (doc-view-mode):
11628         * image-mode.el (image-mode): Put property mode-class=special.
11629         (Bug#4896)
11631 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
11633         * vc-svn.el (vc-svn-revision-table): New function.
11635 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
11637         * net/ange-ftp.el (ange-ftp-insert-directory):
11638         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11639         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11640         Handle also directories.  (Bug#5478)
11642 2010-02-05  Glenn Morris  <rgm@gnu.org>
11644         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
11646 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
11648         * startup.el (command-line-1): Convert options beginning with a
11649         single dash as well (Bug#5519).
11651 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11653         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
11654         * minibuffer.el (completion-initials-expand): Only check the presence
11655         of delims *within* the boundaries, since otherwise the / delim is
11656         always found for files.
11658         Fix up various corner case problems.
11659         * doc-view.el (doc-view-last-page-number): New function.
11660         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
11661         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
11662         (doc-view-kill-proc): Avoid inf-loop in freak cases.
11663         (doc-view-reconvert-doc): Use the new recursive delete-directory.
11664         (doc-view-convert-current-doc): Don't create the resolution.el file
11665         here any more.
11666         (doc-view-pdf/ps->png): Do it here instead.
11667         (doc-view-already-converted-p): Check that resolution.el is present.
11668         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
11669         windows that are not yet showing images.
11671 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
11673         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
11674         `dired-uncache' for every elemnt which is an absolute file name.
11676         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
11677         directory, handle its directory component.
11678         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
11679         function is called permanently and creates noise, otherwise.
11681         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11682         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11683         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
11685 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
11687         * macros.el (apply-macro-to-region-lines):
11688         Minor simplification.  (Bug#5485)
11690 2010-02-04  Glenn Morris  <rgm@gnu.org>
11692         * mail/rmail.el (rmail-show-message-1): Handle malformed
11693         quoted-printable text.  (Bug#5441)
11695         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
11697         * simple.el (visual-line-mode): Capitalize lighter.
11699 2010-02-03  John Wiegley  <jwiegley@gmail.com>
11701         * iswitchb.el (iswitchb-completions): Add bookmark files to the
11702         list of files considered for "virtual buffer" completions.
11704 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
11706         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
11707         also in case of (and (not full) (not wildcard)).  This is needed
11708         when dired is called with a list of files, which are not in
11709         `default-directory'.  (Bug#5478)
11711 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11713         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
11715 2010-02-02  Juri Linkov  <juri@jurta.org>
11717         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
11718         from unidiff to allow function-line after @@.
11720 2010-02-02  Juri Linkov  <juri@jurta.org>
11722         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
11723         '(RCS SCCS) with inverted condition.
11725 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
11727         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
11728         messages.
11730 2010-02-01  Juri Linkov  <juri@jurta.org>
11732         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
11733         compare with "pkunzip" and "pkzip" instead of only "pkzip".
11734         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
11735         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
11737 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11739         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
11740         (doc-view-revert-buffer): New command.
11741         (doc-view-mode-map): Use it.
11743 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
11745         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
11746         pending merge is detected.
11748 2010-01-31  Juri Linkov  <juri@jurta.org>
11750         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
11751         beginning of interactive spec like all other grep commands do.
11752         Put "all" in front of "gz".  (Bug#5260)
11754 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
11756         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
11758 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
11760         * dirtrack.el (dirtrack): Warn instead of signalling error if the
11761         regexp is incorrect (Bug#5476).
11763 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
11765         * net/tramp.el (tramp-handle-insert-directory): Handle also
11766         symlinks, when FILENAME is not in `default-directory'.
11768 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
11770         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
11771         FILE is not in `default-directory'.  (Bug#5478)
11773         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
11774         of SWITCHES.  Handle the case, FILENAME is not in
11775         `default-directory'.  (Bug#5478)
11776         (tramp-register-file-name-handlers): Add safe-magic property.
11778 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
11780         * arc-mode.el (archive-zip-extract): Quote the argument passed to
11781         unzip (Bug#5475).
11783 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
11785         * progmodes/flymake.el (flymake-allowed-file-name-masks)
11786         (flymake-master-make-header-init): Add other C++ filename masks.
11787         (flymake-find-possible-master-files)
11788         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
11790 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
11792         Fix some busybox annoyances.
11794         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
11795         not responding." string.
11796         (tramp-open-connection-setup-interactive-shell): Dump stty
11797         settings.  Enable "neveropen" arg for all `tramp-send-command'
11798         calls.  Handle "=" in variable values properly.
11799         (tramp-find-inline-encoding): Raise an error, when no encoding is
11800         found.
11801         (tramp-wait-for-output): Check, whether PROC buffer is available.
11802         Remove spurious " ^H" sequences, sent by busybox.
11803         (tramp-get-ls-command): Suppress coloring, if possible.
11805 2010-01-28  Glenn Morris  <rgm@gnu.org>
11807         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
11809         * log-edit.el (log-edit-strip-single-file-name): Add missing
11810         :safe, :group, and :version tags.
11812 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
11814         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
11815         buffers.  (Bug#5477)
11817 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
11819         * files.el (delete-directory): Handle moving to trash without
11820         first doing recursion (Bug#5436).
11822 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
11824         * vc-hooks.el (vc-path): Mark as obsolete.
11826 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
11828         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
11829         names too.
11831         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
11832         for the short log.
11833         (vc-bzr-log-view-mode): Adjust regexp for the above change.
11835 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
11837         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
11839         * vc-bzr.el (vc-bzr-revision-table): New function.
11841 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>
11843         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
11844         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
11846 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
11848         Remove support for adding --signoff on commit.
11849         Future support will use an incompatible generic mechanism.
11850         * vc-git.el (vc-git-add-signoff): Remove variable.
11851         (vc-git-toggle-signoff): Remove function.
11852         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
11854         * term/xterm.el (xterm-maybe-set-dark-background-mode):
11855         Rename from xterm-set-background-mode.  Return t if the background mode
11856         was set.
11857         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
11858         earlier, call it again in case the background mode has changed.
11860 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
11862         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
11863         (Bug#3541).
11865 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
11867         * emacs-lisp/assoc.el (aelement): Doc fix.
11868         (aput, adelete, amake): Use lexical-let (Bug#5450).
11870 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
11872         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
11873         is the same as subprogram call, not declaration.  (Bug#5435).
11875 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
11877         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
11878         (tramp-smb-maybe-open-connection): Use it.
11880 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
11882         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
11884 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11886         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
11887         just because we see "encoding: 8bit".
11888         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
11890 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
11892         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
11894 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
11896         * jka-compr.el (jka-compr-load): If load-file is not in
11897         load-history, try its file-truename version.  (bug#5447)
11899 2010-01-21  Alan Mackenzie  <acm@muc.de>
11901         Fix a situation where deletion of a cpp construct throws an error.
11902         * progmodes/cc-engine.el (c-invalidate-state-cache):
11903         Before invoking c-with-all-but-one-cpps-commented-out, check that the
11904         special cpp construct is still in the buffer.
11905         (c-parse-state): Record the special cpp with markers, not numbers.
11907 2010-01-21  Kenichi Handa  <handa@m17n.org>
11909         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
11910         process last-command-event, as it is now decoded first (Bug#5380).
11912 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
11914         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
11916 2010-01-20  Glenn Morris  <rgm@gnu.org>
11918         * indent.el (tab-always-indent): Fix custom-type.
11920 2010-01-19  Alan Mackenzie  <acm@muc.de>
11922         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
11923         buffer throws "args out of range".
11924         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
11925         playing the role of delimiter.
11927 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
11929         * progmodes/ada-mode.el: Fix bug#5400.
11930         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
11931         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
11932         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
11933         Improve comments in "is" portion.  Handle null procedure declaration.
11934         (ada-move-to-end): Improve doc string.
11936 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
11938         * ido.el (ido-cur-list): Initialize to nil.
11939         Remove obsolete information from commentary.
11940         (ido-choice-list): Initialize to nil.
11941         (ido-get-bufname): Reject minibuffers.
11942         (ido-make-buffer-list): If "default" is a nonexistent
11943         buffer, ignore it, as per the function's comment.
11944         (ido-kill-buffer-internal): New function.
11945         (ido-kill-buffer-at-head): Use it.
11946         (ido-visit-buffer): Likewise.
11948 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
11950         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
11952 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
11954         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
11955         Fix typos in chart titles.
11957         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
11958         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
11959         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
11960         (describe-class, eieio-describe-generic, describe-generic):
11961         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
11962         (eieio-speedbar-expand):
11963         * emulation/viper-cmd.el (viper-exec-form-in-vi)
11964         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
11965         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
11966         (viper-del-backward-char-in-replace, viper-backward-indent)
11967         (viper-brac-function, viper-register-to-point, viper-submit-report):
11968         * net/tramp.el (tramp-remote-coding-commands):
11969         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
11970         Fix typos in docstrings.
11972 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
11974         * mail/sendmail.el (mail-yank-original): Set the mark if the
11975         specified function for yanking does not do it.
11977 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
11979         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
11981         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
11982         resyncing a directory.
11984 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
11986         * progmodes/ada-mode.el: Fix bug#1920.
11987         (ada-ident-re): Delete ., allow multibyte characters.
11988         (ada-goto-label-re): New; matches goto labels.
11989         (ada-block-label-re): New; matches block labels.
11990         (ada-label-re): New; matches both.
11991         (ada-named-block-re): Deleted; callers changed to use
11992         `ada-block-label-re' instead.
11993         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
11994         Use `ada-block-label-re'.
11995         (ada-indent-on-previous-lines): Improve handling of goto labels.
11996         (ada-get-indent-block-start): Special-case block label.
11997         (ada-get-indent-label): Split into `ada-indent-block-label' and
11998         `ada-indent-goto-label'.
11999         (ada-goto-stmt-start, ada-goto-next-non-ws):
12000         Optionally ignore goto labels.
12001         (ada-goto-next-word): Simplify.
12002         (ada-indent-newline-indent-conditional): Insert newline before
12003         trying to fix indentation; doc fix.
12005 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
12007         * calc/calc.el (calc-command-flags): Give it an initial value.
12009 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
12011         * files.el (minibuffer-with-setup-hook):
12012         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
12013         (artist-key-draw-continously, artist-key-do-continously-continously)
12014         (artist-key-set-point-continously, artist-mouse-draw-continously):
12015         Fix typos in docstrings.
12017 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
12019         * nxml/nxml-mode.el (nxml-extend-after-change-region):
12020         Never return t (Bug#3898).
12022 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
12024         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
12025         can parse the output of the external commands (Bug#5279).
12027 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
12029         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
12031 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
12033         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
12035         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
12037         * startup.el (command-line): Remove unused --icon-type arg.
12038         Handle --display arg, passing it to command-line-1 (Bug#5392).
12040 2010-01-16  Mario Lang  <mlang@delysid.org>
12042         * emacs-lisp/chart.el (chart-translate-namezone):
12043         * textmodes/artist.el (artist-compute-popup-menu-table):
12044         Remove duplicated words in doc-strings.
12046 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
12048         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
12049         to mairix-search to suppress threading (Bug#5342).
12051 2010-01-15  Kenichi Handa  <handa@m17n.org>
12053         * international/mule-cmds.el (canonicalize-coding-system-name):
12054         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
12056 2010-01-15  Glenn Morris  <rgm@gnu.org>
12058         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
12060         * wid-edit.el (widget-keymap): Doc fix.
12062         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
12063         former seems to be more widely accepted by various svn versions.
12065 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
12067         * find-cmd.el (find-constituents):
12068         * vc-arch.el (vc-arch-root):
12069         * window.el (window-body-height, pop-up-frames):
12070         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
12071         * progmodes/ada-stmt.el (ada-if):
12072         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
12073         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
12074         (ispell-encoding8-command, ispell-aspell-supports-utf8)
12075         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
12077         * progmodes/flymake.el (flymake-post-syntax-check):
12078         Fix typo in error message.
12080 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
12082         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
12083         which is always a string.  (Bug#5313)
12085 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
12087         * progmodes/ada-xref.el (ada-default-prj-properties):
12088         Simplify previous change.
12090 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
12092         * progmodes/ada-xref.el (ada-default-prj-properties):
12093         Default ada_project_path to $ADA_PROJECT_PATH.
12095 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
12097         * progmodes/ada-mode.el (ada-create-keymap):
12098         Override `narrow-to-defun' with `ada-narrow-to-defun'.
12100 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
12102         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
12103         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
12104         (ada-get-current-indent, ada-imenu-generic-expression)
12105         (ada-which-function): Check for it.
12107 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
12109         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
12110         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
12112 2010-01-14  Glenn Morris  <rgm@gnu.org>
12114         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
12116 2010-01-14  Kenichi Handa  <handa@m17n.org>
12118         * composite.el (auto-composition-mode): Make it a buffer local
12119         variable (permanent-local).
12120         (auto-composition-function): Set the default value to
12121         auto-compose-chars.
12122         (auto-composition-mode): Make it a simple function, not a minor mode.
12123         (global-auto-composition-mode): Likewise.
12124         (turn-on-auto-composition-if-enabled): Delete it.
12126 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
12128         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
12130 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
12132         * files.el (copy-directory): Compute target for recursive
12133         directories with identical names.  (Bug#5343)
12135 2010-01-12  Glenn Morris  <rgm@gnu.org>
12137         * mail/emacsbug.el (report-emacs-bug-pretest-address):
12138         Set it to bug-gnu-emacs rather than emacs-pretest-bug.
12140 2010-01-11  Sam Steingold  <sds@gnu.org>
12142         * imenu.el (imenu-default-create-index-function): Detect infinite
12143         loops caused by imenu-prev-index-position-function.
12145 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
12147         * htmlfontify.el (htmlfontify-load-rgb-file)
12148         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
12149         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
12150         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
12151         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
12152         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
12153         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
12154         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
12155         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
12156         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
12157         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
12158         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
12159         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
12160         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
12161         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
12162         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
12163         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
12164         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
12165         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
12166         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
12167         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
12168         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
12169         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
12170         backslash-quoting from parentheses, etc.
12172 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
12174         * progmodes/js.el: Autoload javascript-mode alias.
12176 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
12178         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
12179         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
12180         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
12181         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
12182         Fix typos in docstrings.
12183         (ffap-url-regexp): Doc fix.
12184         (ffap-at-mouse): Fix typo in message.
12186 2010-01-11  Glenn Morris  <rgm@gnu.org>
12188         * version.el (emacs-copyright): Set copyright year to 2010.
12190 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
12192         * format.el (format-annotate-function): Only set
12193         write-region-post-annotation-function after running to-fn so as not to
12194         affect nested write-region calls (bug#5273).
12196 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
12198         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
12199         wisent/python.el.
12201 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
12203         * man.el (Man-goto-section): Signal error if the section is not
12204         found (Bug#5317).
12206 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
12208         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
12209         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
12211 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
12213         * progmodes/compile.el: Don't treat compile-command as safe if
12214         compilation-read-command might be nil (Bug#4218).
12216 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
12218         * startup.el (command-line-1): Use orig-argi to check for ignored X and
12219         NS options.
12221 2010-01-08  Kenichi Handa  <handa@m17n.org>
12223         * international/fontset.el (build-default-fontset-data):
12224         Exclude characters in scripts kana, hangul, han, or cjk-misc.
12226 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
12228         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
12229         to `create-file-buffer' as it expects, not just a buffer name.
12230         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
12231         to help uniquify.  (Bug#3224)
12233 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
12235         * font-setting.el (font-setting-change-default-font): Use user-spec
12236         instead of name.
12238 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
12240         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
12242 2010-01-05  Tom Tromey  <tromey@redhat.com>
12244         * progmodes/python.el (python-font-lock-keywords):
12245         Handle qualified decorators (Bug#881).
12247 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
12249         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
12250         in a lightweight checkout.
12252 2010-01-05  Kenichi Handa  <handa@m17n.org>
12254         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
12256 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
12258         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
12260 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
12262         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
12263         checkouts.  (Bug#618)
12264         (vc-bzr-log-view-mode): Also highlight the author.
12265         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
12266         (vc-bzr-shelve-menu-map):
12267         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
12268         (vc-bzr-shelve-apply): Make prompt more explicit.
12270 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
12272         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
12273         They are valid characters in URL paths (rfc3986), and at least
12274         Firefox does not understand the encoded version (Bug#3166).
12276 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
12278         * progmodes/octave-mod.el (octave-end-keywords)
12279         (octave-block-begin-or-end-regexp, octave-block-match-alist):
12280         Add "end" keyword (Bug#3061).
12281         (octave-end-as-array-index-p): New function.
12282         (calculate-octave-indent): Use it.
12284 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12286         * bookmark.el: Consistently put the text property on the bookmark name.
12287         (bookmark-bmenu-marks-width): Bump back to 2, to include
12288         annotation marks.
12289         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
12290         property on the bookmark name, instead of not putting it at all.
12291         (bookmark-bmenu-list): Fix where we put the text property.
12293 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12295         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
12296         for showing buffer modified state (as added in the previous change).
12298 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12300         * bookmark.el: Show modified state of bookmark buffer more accurately.
12301         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
12302         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
12303         (with-buffer-modified-unmodified): New macro.
12304         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12305         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
12306         Use new macro to preserve the buffer modified state.
12308 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12310         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
12311         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
12312         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
12313         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
12314         (bookmark-bmenu-rename, bookmark-bmenu-locate)
12315         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
12316         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
12318 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
12320         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12321         Make the lines in the generated doc string shorter.  (Bug#4668)
12323 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
12325         * net/rcirc.el: Add follow-link binding (Bug#4738).
12327 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
12329         * Makefile.in (bzr-update): Rename from cvs-update.
12330         (cvs-update): New target for backward compatibility.
12332         * makefile.w32-in (bzr-update): Rename from cvs-update.
12333         (cvs-update): New target for backward compatibility.
12335 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12337         * bookmark.el: Remove gratuitous gratitude.
12339 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12341         * bookmark.el (bookmark-bmenu-any-marks): New function.
12342         (bookmark-bmenu-save): Clear buffer modification if no marks.
12344 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12346         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
12347         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
12348         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
12349         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
12351         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
12352         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
12353         To: emacs-devel {_AT_} gnu.org
12354         Subject: bookmark.el bug report
12355         Date: Mon, 28 Dec 2009 14:19:16 +0800
12356         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
12358 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12360         * bookmark.el: Improvements suggested by Drew Adams:
12361         (bookmark-bmenu-ensure-position): New name for
12362         `bookmark-bmenu-check-position'.  Just ensure the position,
12363         don't return any meaningful value.
12364         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
12365         New constants.
12367 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
12369         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
12370         (bookmark-yank-point, bookmark-bmenu-check-position):
12371         Fix typos in docstrings.
12372         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
12373         (bookmark-name-from-full-record, bookmark-get-position)
12374         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
12375         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
12376         Remove useless quoting of parenthesis, etc. in docstrings.
12378         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
12379         (ediff-append-custom-diff): Fix typo in error message.
12380         (ediff-meta-mark-equal-files): Fix typos in messages.
12382         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
12384         * net/imap-hash.el (imap-hash-make): Doc fix.
12385         (imap-hash-test): Fix typo in error message; reflow docstring.
12386         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
12387         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
12388         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
12389         Fix typos in docstrings.
12390         (imap-hash-open-connection): Fix typo in error message.
12392         * play/gomoku.el (gomoku): Fix typos in docstring.
12394         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
12395         (gdb-jsonify-buffer): Fix typos in docstring.
12396         (gdb-goto-breakpoint): Fix typo in error message.
12397         ("Display Other Windows"): Fix typo in help message.
12398         (gdb-speedbar-expand-node): Fix typo in question.
12400         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
12401         (idlwave-html-system-help-location, idlwave-html-help-location)
12402         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
12403         (idlwave-help-browser-generic-args, idlwave-help-directory)
12404         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
12405         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
12406         (idlwave-online-help, idlwave-help-html-link)
12407         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
12408         Fix typos in docstrings.
12409         (idlwave-help-with-source, idlwave-help-find-routine-definition):
12410         Reflow docstrings.
12411         (idlwave-help-assistant-start): Fix typo in error message.
12413         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
12414         (octave-electric-space): Fix typos in docstrings.
12416 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
12418         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
12420 2010-01-01  Juri Linkov  <juri@jurta.org>
12422         * comint.el (comint-input-ring-size): Make it a defcustom and
12423         increase the default to 500 (Bug#5148).
12425 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
12427         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
12428         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
12429         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
12431 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
12433         Show working revision correctly for mercurial.
12434         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
12435         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
12437 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
12439         Declare some functions for the byte-compiler.
12440         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
12441         (speedbar-timer-fn, speedbar-change-expand-button-char)
12442         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
12444 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
12446         This changeset reverts GDB Graphical Interface to use annotations.
12447         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
12449 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
12451         Make vc-dir work on subdirectories of the bzr root.
12452         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
12453         Return file names relative to it.
12454         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
12455         relative directory to vc-bzr-after-dir-status.
12457 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
12459         * font-lock.el (font-lock-refresh-defaults): New function, which
12460         can be used to let font-lock react to external changes in
12461         variables like font-lock-defaults and keywords.
12462         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
12464 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
12466         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
12468         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
12470 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
12472         Supersede color.diff settings in git log (bug#5211).
12474         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
12475         escape chars in its output when the user has color.diff set to `always'.
12476         This fix works on git 1.4.2 and newer (released on 2006-08-13).
12478 2009-12-26  Kevin Ryde  <user42@zip.com.au>
12480         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
12481         node.  Keep previous "Index" name to work with past coreutils too.
12483         * man.el (man): Revise docstring a bit to show -a and -l as
12484         examples.  Add -k description since support for it has otherwise
12485         been a secret.  (Further to bug#3717.)
12486         (Man-bgproc-sentinel): When "-k foo" produces no output show error
12487         "no matches" rather than "Can't find manpage", as the latter reads
12488         like -k was interpreted as a page name, which is not so.  (Bug#5431)
12490 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
12492         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
12493         switches.  Check also for //SUBDIRED// line.
12495 2009-12-25  Kenichi Handa  <handa@m17n.org>
12497         * language/indian.el (devanagari-composable-pattern): Fix to
12498         handle ZWNJ and ZWJ.  Use it in composition-function-table for
12499         Devanagari.
12500         (malayalam-composable-pattern): Fix previous change.
12502 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
12504         * ps-print.el (ps-face-attributes): It was not returning the
12505         attribute face for faces specified as string.  Reported by harven
12506         <harven@free.fr>.  (Bug#5254)
12507         (ps-print-version): New version 7.3.5.
12509 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
12511         * calendar/icalendar.el (icalendar--convert-tz-offset):
12512         Fix timezone names.
12513         (icalendar--convert-tz-offset): Fix the "last-day-problem".
12514         (icalendar--add-diary-entry): Remove the trailing blank that
12515         diary-make-entry inserts.
12517 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
12519         Make `file-expand-wildcards' work for remote files.
12521         * files.el (file-expand-wildcards): In case of remote files, check
12522         only local file name part for wildcards.  Provide feature 'files
12523         and subfeature 'remote-wildcards.  (Bug#5198)
12525         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
12526         if there is already an established connection.
12527         (tramp-advice-file-expand-wildcards): Remove it.
12529         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
12530         (tramp-advice-file-expand-wildcards): Move from tramp.el.
12531         Activate advice for older GNU Emacs versions.  (Bug#5237)
12533 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
12535         Some doc fixes (more needed).
12537         * find-cmd.el (find-constituents): Reflow docstring.
12538         (find-cmd, find-prune, find-command): Fix typos in docstrings.
12539         (find-generic): Doc fix.
12541 2009-12-17  Juri Linkov  <juri@jurta.org>
12543         Fix regression from 23.1 to allow multiple modes in Local Variables.
12545         * files.el (hack-local-variables-filter): While ignoring duplicates,
12546         don't take `mode' into account.
12547         (hack-local-variables-filter, hack-dir-local-variables):
12548         Don't remove duplicate `mode' from local-variables-alist (like `eval').
12550 2009-12-17  Juri Linkov  <juri@jurta.org>
12552         Make `dired-diff' safer.  (Bug#5225)
12554         * dired-aux.el (dired-diff): Signal an error when `file' equals to
12555         `current' or when `file' is a directory of the `current' file.
12557 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
12559         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
12560         unconditionally preloaded files.
12562 2009-12-16  Juri Linkov  <juri@jurta.org>
12564         Revert to old 23.1 logic of using the file at the mark as default.
12565         * dired-aux.el (dired-diff): Use the file at the mark as default
12566         if it's not the same as the current file, and the target dir is
12567         the current dir or the mark is active.  Add the current file
12568         as the arg of `dired-dwim-target-defaults'.  Use the default file
12569         in the prompt.  (Bug#5225)
12571 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
12573         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
12574         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
12575         (tramp-check-for-regexp): Check also, when an echoing shell stops
12576         to echo sent commands.
12578 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
12580         * Makefile.in: Revert last change (Bug#5191).
12582 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
12584         * vc-hg.el (vc-hg-print-log): Fix argument order.
12585         (vc-hg-working-revision): Make sure the command is executed in a
12586         known environment so that we can parse the output.  (Bug#4417)
12588 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
12590         * progmodes/python.el (python-symbol-completions): Remove text
12591         properties from symbol string before calling python-send-receive.
12593 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
12595         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
12596         when there are values for both file and line.  (Bug#5060)
12598 2009-12-14  Juri Linkov  <juri@jurta.org>
12600         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
12601         whitespace after the file name of the first line of unified format,
12602         because git-diff doesn't output whitespace and file modification time
12603         after the file name.
12605 2009-12-14  David Kastrup  <dak@gnu.org>
12607         * info.el (Info-hide-cookies-node): Before hiding a cookie,
12608         check if it already has the `display' property added by
12609         `Info-display-images-node', and not put the `invisible' property
12610         in this case.
12612 2009-12-13  Glenn Morris  <rgm@gnu.org>
12614         * mail/emacsbug.el (message-sort-headers): Define for compiler.
12615         (report-emacs-bug): In message-mode, sort manually before storing
12616         original report text.  (Bug#5178)
12617         Remove superfluous save-excursion.
12619 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
12621         * net/dbus.el (dbus-property-handler): Filter lambda forms out
12622         when responding to "GetAll" properties.
12624 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
12626         * simple.el (compose-mail): Remove mail-setup-with-from from
12627         customization checks.
12629 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
12631         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
12632         RAR archives created on Unix systems.
12634 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12636         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
12637         the varalias that was accidentally removed by the 2009-11-19 change
12638         (bug#5186).
12640 2009-12-12  Kenichi Handa  <handa@m17n.org>
12642         * language/indian.el (indian-compose-regexp): New function.
12643         (malayalam-composable-pattern): Fix the pattern.
12644         (composition-function-table): Set malayalam-composable-pattern for
12645         Malayalam characters.
12647 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
12649         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
12650         rather than down-mouse-1, based on follow-link conventions.
12652         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
12653         are compiled.
12655 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
12657         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
12658         (verilog-vmm-statement-re, verilog-ovm-statement-re)
12659         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
12660         (verilog-leap-to-head, verilog-backward-token):
12661         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
12663 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
12665         * progmodes/verilog-mode.el (verilog-auto-lineup)
12666         (verilog-nameable-item-re): Cleanup user-visible spelling and
12667         documentation errors.  One reported by Gary Delp.
12668         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
12669         (verilog-read-decls): Fix AUTOWIRE with types declared in a
12670         package, bug195.  Reported by Pierre-David Pfister.
12672 2009-12-11  Glenn Morris  <rgm@gnu.org>
12674         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
12676         * mail/emacsbug.el: No longer require sendmail.
12677         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
12678         (report-emacs-bug-orig-text): Doc fix.
12679         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
12680         New local variables, to adapt to different mail-user-agents.
12681         (report-emacs-bug): Fix test for a gnu.org address.
12682         Use overlays for emphasis, since font-lock defeats 'face property.
12683         Pretest bugs also end up at the newsgroup these days.
12684         Stop message-mode stripping text properties.
12685         Set and use the new buffer-local variables.
12686         (report-emacs-bug-hook): Add doc-string.
12687         Remove some unnecessary save-excursions and simplify.
12688         Use the appropriate hook and send-command.
12690         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
12691         capitalization of some menu entries.
12693 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
12695         * whitespace.el (whitespace-display-char-on):
12696         Ensure `buffer-display-table' is unique when two or more windows are
12697         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
12698         New version 12.1.
12700 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
12702         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
12703         characters in the Attribute field.
12705 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
12707         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
12709 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
12711         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
12712         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12713         Disregard autoload-excludes.
12714         (update-directory-autoloads): Obey autoload-excludes here instead.
12715         But don't store its contents in no-autoloads and remove entries that
12716         refer to excludes files.
12718 2009-12-10  Glenn Morris  <rgm@gnu.org>
12720         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
12721         (expand-mail-aliases): Define for compiler.
12723         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
12724         Define for compiler.
12726         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
12727         appropriate for the mail-user-agent in use.
12729 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
12731         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
12733 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
12735         Fix short log parsing and fontification.
12736         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
12737         Fix fontification for the [merge] label.
12739 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
12741         Drop some properties to avoid surprises (bug#5002).
12742         * htmlfontify.el (hfy-ignored-properties): New defcustom.
12743         (hfy-fontify-buffer): Use it.
12745 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
12747         Minor cleanup.
12748         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
12749         Adjust all callers.
12750         (ffap-locate-file): Remove unused arg `dir-ok' and make other
12751         args compulsory.  Adjust callers.
12752         (ffap-gopher-at-point): Remove unused var `name'.
12754         Get rid of the ELCFILES abomination.
12755         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12756         (compile-elcfiles): New phony target.
12757         (compile-main): Compute ELCFILES dynamically.
12758         (compile-clean): New target to remove left-over elc files.
12759         (compile, all): Use it.
12761 2009-12-09  Kenichi Handa  <handa@etlken>
12763         * international/mule-diag.el: Require help-mode instead of help-fns.
12765 2009-12-09  Kenichi Handa  <handa@m17n.org>
12767         * international/mule-cmds.el (ucs-names): Supply sufficiently
12768         fine ranges instead of pre-calculating accurate ranges.
12769         Iterate with bigger gc-cons-threshold.
12771 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
12773         Add support for stashing a snapshot of the current tree.
12774         * vc-git.el (vc-git-stash-snapshot): New function.
12775         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
12777 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
12779         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
12780         instead of `(beginning|end)-of-line'.
12782 2009-12-08  Glenn Morris  <rgm@gnu.org>
12784         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
12786         * Makefile.in (ELCFILES): Regenerate.
12788 2009-12-07  Juri Linkov  <juri@jurta.org>
12790         Don't lazy-highlight the comint output in history Isearch mode.
12792         * comint.el (comint-history-isearch-search): Instead of
12793         `comint-line-beginning-position', use `comint-after-pmark-p'
12794         to check if point if before the process mark, and go to
12795         `process-mark' in this case.
12797 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12799         * textmodes/tex-mode.el (latex-complete)
12800         (latex-indent-or-complete): Remove.
12801         (latex-mode): Set completion-at-point-functions instead.
12803         Provide a standard completion command and hook it into TAB.
12804         * minibuffer.el (completion-at-point-functions): New var.
12805         (completion-at-point): New command.
12806         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
12807         * progmodes/python.el (python-mode-map): Use completion-at-point.
12808         (python-completion-at-point): Rename from python-partial-symbol and
12809         adjust for use in completion-at-point-functions.
12810         (python-mode): Setup completion-at-point for Python completion.
12811         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
12812         extracted from lisp-complete-symbol.
12813         (lisp-complete-symbol): Use it.
12814         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
12815         setup completion-at-point for Elisp completion.
12816         (emacs-lisp-mode-map, lisp-interaction-mode-map):
12817         Use completion-at-point.
12818         * ielm.el (ielm-map): Use completion-at-point.
12819         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
12820         * progmodes/sym-comp.el: Move to...
12821         * obsolete/sym-comp.el: Move from progmodes.
12823 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
12825         Prevent save-buffer in Rmail buffers from using the coding-system
12826         of the current message, and from clobbering the encoding mnemonics
12827         in the mode line (Bug#4623).
12829         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
12830         flag, too.
12831         (rmail-message-encoding): New variable.
12832         (rmail-write-region-annotate): Record the encoding of the current
12833         message in rmail-message-encoding.
12834         (rmail-after-save-hook): New function, restores the encoding of
12835         the current message after the message collection is saved.
12837 2009-12-07  Juri Linkov  <juri@jurta.org>
12839         * progmodes/grep.el (grep-read-files): Use `completing-read'
12840         instead of `read-string'.  Set its `collection' arg to
12841         `read-file-name-internal'.  (Bug#4301)
12843 2009-12-07  Juri Linkov  <juri@jurta.org>
12845         Correctly restore original Isearch point.  (Bug#4994)
12847         * isearch.el (isearch-mode): Move `isearch-push-state' after
12848         `(run-hooks 'isearch-mode-hook)'.
12849         (isearch-cancel): When `isearch-push-state-function' is defined,
12850         let-bind `isearch-cmds' to the first state (the last element of
12851         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
12852         function and restores the original point).  Otherwise, move point
12853         to `isearch-opoint'.
12855 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12857         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
12858         chars that don't have names, so the table can be built much faster at
12859         run-time.
12861 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
12863         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
12864         change.  Suggested by David Kastrup.
12866         * simple.el (compose-mail): Check for incompatibilities and warn.
12867         (compose-mail-user-agent-warnings): New option.
12869 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
12871         Support showing a single log entry from vc-annotate.
12872         * vc.el (print-log): Add a new argument: START-REVISION.
12873         (vc-print-log-internal): Add a new optional argument and
12874         pass it to the backend.
12875         (vc-print-log, vc-print-root-log): Adjust callers.
12876         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
12877         buffer already displays the requested log entry, use it.
12878         Otherwise display only the log entry in question.
12879         * vc-svn.el (vc-svn-print-log):
12880         * vc-mtn.el (vc-mtn-print-log):
12881         * vc-hg.el (vc-hg-state):
12882         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
12883         (vc-git-show-log-entry): Return t on success.
12884         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
12885         (vc-bzr-show-log-entry): Return t on success.
12886         * vc-rcs.el (vc-rcs-print-log):
12887         * vc-sccs.el (vc-sccs-print-log):
12888         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
12890 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
12892         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
12893         Add menus to the meta mode.  (Bug#5043)
12895 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
12897         * ediff-init.el (ediff-event-key): Use event-to-character instead of
12898         event-key.
12900         * ediff.el (ediff-buffers-internal): Add unwind-protect.
12902 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
12904         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
12905         Berbain <raphael.berbain@gmail.com>.
12907         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
12908         characters.
12909         (tramp-initial-end-of-output): New defconst.
12910         (tramp-methods, tramp-find-shell)
12911         (tramp-open-connection-setup-interactive-shell)
12912         (tramp-maybe-open-connection): Use it.
12913         (tramp-shell-prompt-pattern, tramp-wait-for-output):
12914         Handle existence of `#' and `$'.
12916         * net/tramp-fish.el (tramp-fish-maybe-open-connection):
12917         Use `tramp-initial-end-of-output'.
12919 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
12921         Get the background mode from the terminal for xterm, and set
12922         faces accordingly.
12923         * term/xterm.el (xterm-set-background-mode): New function.
12924         (terminal-init-xterm): Use it in case xterm supports background
12925         color queries.  Recompute faces after getting the background
12926         color.
12928 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
12930         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
12931         number comment back on its own line, for easier parsing.
12933 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12935         Make it work for non-file buffers (bug#5102).
12936         * doc-view.el (doc-view-current-cache-dir):
12937         Use doc-view-buffer-file-name rather than buffer-file-name.
12938         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
12940 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
12942         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
12943         author field is too short.
12945 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
12947         * vc-git.el (vc-git-print-log): Handle a limit argument.
12948         Display the short log in graph form and with labels.
12949         (vc-git-log-view-mode): Handle labels.
12951         Make vc-revert change VC state from 'added to 'unregistered.
12952         * vc-git.el (vc-git-revert): Call git reset first.
12954 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
12956         * net/newst-backend.el, net/newst-plainview.el:
12957         * net/newst-reader.el, net/newst-ticker.el:
12958         * net/newst-treeview.el, net/newsticker.el:
12959         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
12961 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
12963         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
12965         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
12966         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
12967         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
12968         Update annotation regexp.
12970         * simple.el (beginning-of-visual-line): Constrain to field
12971         boundaries (Bug#5106).
12973 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
12975         * xml.el (xml-substitute-numeric-entities):
12976         Move newsticker--decode-numeric-entities in newst-backend.el to
12977         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
12978         * net/newst-backend.el (newsticker--parse-generic-feed)
12979         (newsticker--parse-generic-items)
12980         (newsticker--decode-numeric-entities):
12981         Move newsticker--decode-numeric-entities in newst-backend.el to
12982         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
12984 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
12986         * progmodes/js.el (js--js-not): Add null to the list of values.
12988 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
12990         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
12992 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
12994         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
12995         delimiter if it is at the end of the current line.
12996         (bibtex-generate-url-list): Fix docstring.
12998 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
13000         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
13001         minibuffer's content with itself.
13002         Fold the confirm-after-completion case into the `confirm' case.
13003         (completion-pcm-word-delimiters): Add : and / to the delimiters.
13005 2009-12-06  Kevin Ryde  <user42@zip.com.au>
13007         * ffap.el (ffap-rfc-path): Make this a defcustom since
13008         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
13010         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
13011         manuals, similar to existing setup for help-mode.  (Bug#3913.)
13013 2009-12-05  Juri Linkov  <juri@jurta.org>
13015         Save and restore dired buffer's point positions too.  (Bug#4880)
13017         * dired.el (dired-save-positions): Return in the first element
13018         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
13019         Doc fix.
13020         (dired-restore-positions): First restore buffer's position.
13021         While restoring window's positions, check if window still displays
13022         the original buffer.
13024 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
13026         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
13027         if possible.
13029         * shell.el (shell): Require ansi-color (Bug#5113).
13031         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
13033         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
13035 2009-12-05  Alan Mackenzie  <acm@muc.de>
13037         * progmodes/cc-mode.el (c-before-hack-hook)
13038         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
13039         `c-file-style' to work again.  This reversion restores the current
13040         software to its state in Emacs 23.1.  (Bug#4146)
13042 2009-12-05  Kevin Ryde  <user42@zip.com.au>
13044         * textmodes/sgml-mode.el (sgml-lexical-context):
13045         Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
13047 2009-12-05  Juri Linkov  <juri@jurta.org>
13049         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
13050         for virtual nodes.  (Bug#4147)
13051         (Info-find-node-2): Set `Info-current-node-virtual' to nil
13052         when moving from a virtual node.
13053         (Info-mode-menu): Add `Info-virtual-index' to the menu.
13054         (Info-mode): Add `Info-virtual-index' to the docstring.
13056 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
13058         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
13059         track of the buffer position of the end of a BibTeX entry as this
13060         position may change during reformatting.
13061         (bibtex-format-entry): Remove whitespace before processing
13062         numerical fields so that we recognize the latter properly.
13063         (bibtex-reformat): Do not use push which changes the global value
13064         of bibtex-entry-format.
13065         (bibtex-field-braces-alist, bibtex-field-strings-alist)
13066         (bibtex-field-re-init): Replace only space characters by regexp
13067         for whitespace.
13068         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
13069         (bibtex-initialize): Also update bibtex-strings.
13070         (bibtex-kill-field): Preserve white space at end of entry.
13071         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
13072         Update bibtex-reference-keys.
13074 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13076         * minibuffer.el (completion-pcm--merge-try): Also consider placing
13077         point after a star, if that's the only place where modifications can
13078         make progress.
13080 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
13082         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
13083         in docstrings.
13085 2009-12-04  Juri Linkov  <juri@jurta.org>
13087         * proced.el (proced): Call `(proced-update t)' to update process
13088         information instead of only running proced-post-display-hook.
13089         (proced-send-signal): Add a leading space to the buffer name
13090         " *Marked Processes*" to make this buffer ephemeral.
13092 2009-12-04  Juri Linkov  <juri@jurta.org>
13094         * dired.el (dired-auto-revert-buffer): New defcustom.
13095         (dired-internal-noselect): Use it.
13097 2009-12-04  Juri Linkov  <juri@jurta.org>
13099         Change roles of modes and functions in image-mode.el (Bug#5062).
13101         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
13102         in `auto-mode-alist'.
13103         (image-mode-previous-major-mode): New variable.
13104         (image-minor-mode-map): Rename from `image-mode-text-map'.
13105         (image-mode): Move graceful error-handling code from
13106         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
13107         (image-minor-mode): Remove all image-handling code.
13108         Replace `image-mode-text-map' with `image-minor-mode-map'.
13109         Check for `image-type' in mode-line format string.
13110         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
13111         (image-mode-as-text): New function with most code from
13112         `image-mode-maybe'.
13113         (image-toggle-display-text): Move code that removes image
13114         properties from `image-toggle-display' to here.
13115         (image-toggle-display-image): New function with code that adds
13116         image properties copied from `image-toggle-display'.
13117         (image-toggle-display): Remove most code with leaving only code
13118         that toggles between `image-mode-as-text' and `image-mode'.
13120 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
13122         * net/newst-treeview.el
13123         (newsticker--treeview-list-highlight-start): Restored call to
13124         save-excursion: Selected item was stuck.
13125         (newsticker--treeview-list-select): New.
13126         (newsticker--treeview-item-show-text)
13127         (newsticker--treeview-item-show)
13128         (newsticker--treeview-item-update): Use new
13129         newsticker-treeview-item-mode.
13130         (newsticker-treeview-update): Keep current item.
13131         (newsticker-treeview-next-new-or-immortal-item): Doc change.
13132         (newsticker--treeview-first-feed): Doc change.
13133         (newsticker-treeview-list-menu)
13134         (newsticker-treeview-item-menu): Add menu entries.
13135         (newsticker-treeview-item-mode): New.
13137         * net/newst-backend.el (newsticker-customize): Delete other
13138         windows.
13140 2009-12-04  Sam Steingold  <sds@gnu.org>
13142         * log-view.el (log-view-mode-map): "q" calls quit-window,
13143         like in all the other non-self-insert buffers.
13145 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13147         Minor cleanup.
13148         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
13149         key decoding rather than do it manually via last-input-event +
13150         ascii-character.
13151         (term-exec): Use delete-and-extract-region.
13152         (term-handle-ansi-terminal-messages): Remove unused var `end'.
13153         (term-process-pager): Remove unused var `i'.
13154         (term-dynamic-simple-complete): Make obsolete.
13155         (serial-update-config-menu): Remove unused vars `y' and `str'.
13156         (term-update-mode-line): Remove unused var `temp'.
13158 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
13160         Limit the number of log entries displayed by default.
13161         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
13162         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
13163         using a prefix argument.
13165 2009-12-03  Glenn Morris  <rgm@gnu.org>
13167         * progmodes/idlwave.el (class): Restore still useful declaration.
13169 2009-12-03  Alan Mackenzie  <acm@muc.de>
13171         Enhance `c-parse-state' to run efficiently in "brace deserts".
13173         * progmodes/cc-mode.el (c-basic-common-init):
13174         Call c-state-cache-init.
13175         (c-neutralize-syntax-in-and-mark-CPP): Rename from
13176         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
13177         placing `category' properties value 'c-cpp-delimiter at its boundaries.
13179         * progmodes/cc-langs.el (c-before-font-lock-function):
13180         c-extend-and-neutralize-syntax-in-CPP has been renamed
13181         c-neutralize-syntax-in-and-mark-CPP.
13183         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
13184         with `category' properties now, not `syntax-table' ones.
13186         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
13187         enhanced (but slower) version of c-end-of-macro that won't land
13188         inside a literal or on another awkward character.
13189         (c-state-cache-too-far, c-state-cache-start)
13190         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
13191         (c-state-nonlit-pos-cache-limit, c-state-point-min)
13192         (c-state-point-min-lit-type, c-state-point-min-lit-start)
13193         (c-state-min-scan-pos, c-state-brace-pair-desert)
13194         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
13195         buffer local variables.
13196         (c-state-literal-at, c-state-lit-beg)
13197         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
13198         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
13199         (c-state-cache-top-paren, c-state-cache-after-top-paren)
13200         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
13201         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
13202         (c-renarrow-state-cache)
13203         (c-append-lower-brace-pair-to-state-cache)
13204         (c-state-push-any-brace-pair, c-append-to-state-cache)
13205         (c-remove-stale-state-cache)
13206         (c-remove-stale-state-cache-backwards, c-state-cache-init)
13207         (c-invalidate-state-cache-1, c-parse-state-1)
13208         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
13209         (c-parse-state): Enhance and refactor.
13210         (c-debug-parse-state): Amend to deal with all the new variables.
13212         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
13213         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
13214         modify to use category text properties rather than syntax-table ones.
13215         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
13216         to switch off/on the syntactic paren property of C++ template
13217         delimiters using the category property.
13218         (c-with-<->-as-parens-suppressed): Macro to invoke code with
13219         template delims suppressed.
13220         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
13221         New constant/macros which apply category properties to the start
13222         and end of preprocessor constructs.
13223         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
13224         "comment out" the syntactic value of characters in preprocessor
13225         constructs.
13226         (c-with-cpps-commented-out)
13227         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
13228         with characters in all or all but one preprocessor constructs
13229         "commented out".
13231 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
13233         * proced.el (proced-filter-alist): Use regexp-quote.
13235 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
13237         Cleanup.
13238         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
13239         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
13240         arguments.  Expand `default-directory'.
13242         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
13243         the benefit of returning an expanded localname.
13244         (tramp-tramp-file-p): Handle the case NAME is not a string.
13246 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
13248         Add support for bzr shelve/unshelve.
13249         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13250         (vc-bzr-extra-menu-map): New variables.
13251         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
13252         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
13253         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
13254         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
13255         (vc-bzr-dir-extra-headers): Display shelves.
13257         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
13259 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13261         * textmodes/bibtex.el (bibtex-complete-internal):
13262         Use completion-in-region.
13263         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
13265 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
13267         Support applying stashes.  Improve UI.
13268         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
13269         (vc-git-stash-apply, vc-git-stash-pop)
13270         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
13271         (vc-git-stash-menu): New functions.
13272         (vc-git-stash-menu-map): New variable.
13273         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
13275 2009-12-03  Glenn Morris  <rgm@gnu.org>
13277         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
13278         (vc-print-log-internal): Fix previous change.
13279         (vc-revert): Correct pluralization.
13281 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13283         * progmodes/make-mode.el (makefile-special-targets-list): No need for
13284         it to be an alist any more.
13285         (makefile-complete): Use completion-in-region.
13287         * progmodes/octave-mod.el (octave-complete-symbol):
13288         Use completion-in-region.
13290         Misc cleanup.
13291         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
13292         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
13293         (idlwave-complete-class): Don't quote lambda.
13294         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
13295         (idlwave-mode-map): Move initialization into declaration.
13296         (idlwave-action-and-binding): Use backquotes.
13297         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
13298         Simplify.
13299         (idlwave-is-pointer-dereference): Remove unused var `pos'.
13300         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
13301         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
13302         `parts', and `all-parts'.
13303         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
13304         (idlwave-convert-xml-system-routine-info): Remove unused string
13305         `version-string'.
13306         (idlwave-display-user-catalog-widget): Use dolist.
13307         (idlwave-scanning-lib): Declare dynamically-scoped var.
13308         (idlwave-scan-library-catalogs): Remove unused var `flags'.
13309         (completion-highlight-first-word-only): Declare to silence bytecomp.
13310         (idlwave-popup-select): Tighten scope of `resp'.
13311         (idlwave-find-struct-tag): Remove unused var `beg'.
13312         (idlwave-after-load-rinfo-hook): Declare.
13313         (idlwave-sintern-class-info): Remove unused var `taglist'.
13314         (idlwave-find-class-definition): Remove unused var `list'.
13315         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
13316         (idlwave-what-module-find-class): Remove unused var `classes'.
13318 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
13320         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
13322 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13324         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
13325         buffers visited.  Remove redundant current-buffer-saving.
13327 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13329         Use completion-in-buffer and remove uses of dynamic scoping.
13330         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
13331         (pascal-buffer-to-use, pascal-flag): Don't declare.
13332         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
13333         (pascal-get-completion-decl, pascal-keyword-completion):
13334         Add `pascal-str' argument, save-excursion,
13335         return the found completions, and don't filter with pascal-pred.
13336         (pascal-completion-cache): New var.
13337         (pascal-completion): Don't switch buffer any more (it was never
13338         necessary).  Don't save-excursion any more (it's done by the called
13339         subroutines).  Use a cache to avoid redundant computations.
13340         Use complete-with-action rather than pascal-completion-response and
13341         let it apply the predicate as well.
13342         (pascal-complete-word): Use completion-in-buffer when
13343         pascal-toggle-completions is nil.
13344         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
13345         not used any more.
13346         (pascal-comp-defun): Don't change buffer any more.
13347         Use complete-with-action rather than pascal-completion-response and
13348         let it apply the predicate as well.
13349         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
13350         when neded.
13352 2009-12-02  Kenichi Handa  <handa@m17n.org>
13354         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
13355         shape for all Indic scripts.
13357 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13359         Use completion-in-buffer.
13360         * wid-edit.el (widget-field-text-end): New function.
13361         (widget-field-value-get): Use it.
13362         (widget-string-complete, widget-file-complete)
13363         (widget-color-complete): Use it and completion-in-region.
13364         (widget-complete): Don't narrow the buffer.
13366 2009-12-02  Glenn Morris  <rgm@gnu.org>
13368         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
13369         (rmail-select-summary): Use rmail-pop-to-buffer.
13370         * mail/rmailsum.el: Replace all pop-to-buffer calls with
13371         rmail-pop-to-buffer, to prevent horizontal splits.
13373         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
13374         save-excursion with save-current-buffer.
13375         Widen before searching.  (Bug#5093)
13376         (diary-list-sexp-entries): Remove superfluous save-excursion.
13378 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
13380         * woman.el (woman-make-bufname): Handle man-pages with "." in the
13381         name.  (Bug#5038)
13383 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
13385         * ido.el (ido-file-internal): Handle filenames at point that do
13386         not have a directory part.  (Bug#5049)
13388 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
13390         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
13391         (mpc-songs-jump-to, mpc-resume): Doc fixes.
13393 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
13395         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
13396         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
13397         any more.
13399 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13401         * comint.el (comint-insert-input): Ignore clicks to the right of
13402         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
13404         * vc.el (vc-print-log-internal): Don't wait for the process to
13405         terminate before setting up the major mode.
13407         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
13408         in case.
13410         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
13411         the last element.
13413         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
13415 2009-12-01  Glenn Morris  <rgm@gnu.org>
13417         * window.el (window--display-buffer-2): Fix previous changes.
13419 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
13421         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
13423 2009-12-01  Glenn Morris  <rgm@gnu.org>
13425         * Makefile.in (ELCFILES): Add mpc.elc.
13427 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13429         * mpc.el: New file.
13431 2009-12-01  Glenn Morris  <rgm@gnu.org>
13433         * window.el (window-to-use): Define for compiler.
13435         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
13436         consistent with others (no final period).
13438         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
13439         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
13441 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
13443         Make vc-print-log buttons work.
13444         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
13446 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
13448         * savehist.el (savehist-autosave-interval): Allow setting to nil
13449         through customize.  (Bug#5056)
13451 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
13453         Fix references to jit-lock properties.
13454         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
13455         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
13456         (perl-font-lock-special-syntactic-constructs):
13457         Quote jit-lock-defer-multiline property.
13459 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
13461         * vc-git.el (vc-git-registered): Call vc-git-root only once.
13463 2009-11-30  Juri Linkov  <juri@jurta.org>
13465         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
13466         value `buffer' of `multi-isearch-next-buffer-current-function'.
13467         Use `(current-buffer)' when `buffer' is nil.
13468         (multi-isearch-next-buffer-from-list): Don't fallback to
13469         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
13471 2009-11-30  Juri Linkov  <juri@jurta.org>
13473         * misearch.el (multi-isearch-read-buffers): Move canonicalization
13474         of buffers with `get-buffer' to `multi-isearch-buffers'.
13475         (multi-isearch-buffers, multi-isearch-buffers-regexp):
13476         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
13477         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
13478         FILES with `expand-file-name' converting relative file names
13479         to absolute.  Doc fix.  (Bug#4727)
13481 2009-11-30  Juri Linkov  <juri@jurta.org>
13483         * misearch.el (multi-isearch-read-buffers)
13484         (multi-isearch-read-matching-buffers): New functions.
13485         (multi-isearch-buffers, multi-isearch-buffers-regexp):
13486         Use them in the `interactive' spec.  Doc fix.
13487         (multi-isearch-read-files, multi-isearch-read-matching-files):
13488         New functions.
13489         (multi-isearch-files, multi-isearch-files-regexp):
13490         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
13492 2009-11-30  Juri Linkov  <juri@jurta.org>
13494         * doc-view.el (doc-view-continuous):
13495         Rename from `doc-view-continuous-mode'.
13496         (doc-view-menu): Move "Toggle display" to the top.
13497         Add submenu "Continuous" with radio buttons "Off"/"On"
13498         and "Save as Default".
13499         (doc-view-scroll-up-or-next-page)
13500         (doc-view-scroll-down-or-previous-page)
13501         (doc-view-next-line-or-next-page)
13502         (doc-view-previous-line-or-previous-page):
13503         Rename `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
13505 2009-11-30  Juri Linkov  <juri@jurta.org>
13507         * comint.el (comint-mode-map): Rebind `M-r' from
13508         `comint-previous-matching-input' to
13509         `comint-history-isearch-backward-regexp'.
13510         Unbind `M-s' to allow global key binding `M-s'.
13511         Add menu items for `comint-history-isearch-backward' and
13512         `comint-history-isearch-backward-regexp'.  (Bug#3746)
13514 2009-11-30  Juri Linkov  <juri@jurta.org>
13516         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
13517         For def=recenter, replace `recenter' with `recenter-top-bottom'
13518         that is called with `this-command' and `last-command' let-bound
13519         to `recenter-top-bottom'.  When the last `def' was not `recenter',
13520         set `recenter-last-op' to nil.  (Bug#4981)
13522 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13524         Minor cleanup and simplification.
13525         * filecache.el (file-cache-add-directory)
13526         (file-cache-add-directory-recursively)
13527         (file-cache-add-from-file-cache-buffer)
13528         (file-cache-delete-file-regexp, file-cache-delete-directory)
13529         (file-cache-files-matching-internal, file-cache-display): Use dolist.
13530         (file-cache-temp-minibuffer-message): Delete function.
13531         (file-cache-minibuffer-complete): Use minibuffer-message instead.
13533         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
13534         Don't signal an error when bumping into EOB in tr, s, or y.
13536 2009-11-29  Juri Linkov  <juri@jurta.org>
13538         * startup.el (fancy-about-text): Fix wording of Guided Tour.
13539         (Bug#4960)
13541         * descr-text.el (describe-char-unidata-list): Use lowercase name
13542         for "Unicode name" like in other tags.
13544 2009-11-29  Juri Linkov  <juri@jurta.org>
13546         * ediff-util.el (ediff-minibuffer-with-setup-hook):
13547         New compatibility macro.
13548         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
13550 2009-11-29  Juri Linkov  <juri@jurta.org>
13552         Add defcustom to define the cycling order of `recenter-top-bottom'.
13553         (Bug#4981)
13555         * window.el (recenter-last-op): Doc fix.
13556         (recenter-positions): New defcustom.
13557         (recenter-top-bottom): Rewrite to use `recenter-positions'.
13558         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
13560 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
13562         Improve integration of Tramp and ange-ftp in eshell.
13564         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
13565         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
13566         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
13568         * eshell/esh-util.el (top): Require also Tramp when compiling.
13569         (eshell-directory-files-and-attributes): Check for FTP remote
13570         connection.
13571         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
13572         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
13573         (eshell-file-attributes): Handle ".".  Return `entry'.
13575         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
13576         (ange-ftp-directory-files-and-attributes)
13577         (ange-ftp-real-directory-files-and-attributes): New defuns.
13579         * net/tramp.el (tramp-maybe-open-connection): Open the remote
13580         shell with "exec" when possible.  This prevents trailing prompts
13581         in `start-file-process'.
13583 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13585         Try and remove assumptions about point-min==1.
13586         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
13587         (rng-compute-mode-line-string): Show the validation percentage in
13588         terms of the narrowed text, not the widened text.
13589         (rng-do-some-validation): Don't catch internal errors when debugging.
13590         (rng-first-error): Simplify.
13591         (rng-after-change-function): Remove work around.  AFAIK the bug has
13592         been fixed a while ago.
13594         * image-mode.el (image-minor-mode): Exit more gracefully when the image
13595         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
13597         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
13599         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
13600         `cd' doesn't always do it for us (bug#5067).
13602         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
13603         on 2009-10-25 as part of some other change (bug#5067).
13605 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13607         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
13608         `suspicious'.
13609         (byte-compile-warnings): Use byte-compile-warning-types.
13610         (byte-compile-save-excursion): Warn about use of set-buffer right
13611         after save-excursion.
13613         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
13614         the excursion as well.
13616 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
13618         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
13619         providing a Tramp related implementation of "su" and "sudo".
13620         (eshell-unix-initialize): Add "su" and "sudo".
13622 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
13624         * net/socks.el (socks-send-command): Convert binary request to
13625         unibyte before sending.  This fixes mishandling of some port
13626         numbers such as 129.
13628 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13630         * help.el (describe-bindings-internal): Remove `interactive'.
13632         * man.el (Man-completion-table): Trim a terminating "(".
13633         Remove the space between name page a section.
13634         Add the command's description on the `help-echo' property.
13635         Remove `process-connection-type' binding since it's unused by
13636         call-process.
13637         Provide completion for the "<section> <name>" format as well.
13638         (Man-default-man-entry): Remove spurious var shadowing the argument.
13640 2009-11-26  Kevin Ryde  <user42@zip.com.au>
13642         * log-view.el: Add "Keywords: tools", since its other keywords
13643         aren't in finder-known-keywords, and following vc.el.
13645         * sha1.el (sha1-string-external): default-directory "/" in case
13646         otherwise non-existent.  process-connection-type pipe for touch of
13647         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
13649 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13651         Misc coding convention cleanups.
13652         * htmlfontify.el (hfy-init-kludge-hook): Rename from
13653         hfy-init-kludge-hooks.
13654         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
13655         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
13656         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
13657         and push.
13658         (hfy-slant, hfy-weight): Use tables rather than code.
13659         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
13660         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
13661         (hfy-face-attr-for-class): Initialize `face-spec' directly.
13662         (hfy-face-to-css): Remove `nconc' with single arg.
13663         (hfy-p-to-face-lennart): Use `or'.
13664         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
13665         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
13666         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
13667         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
13668         (hfy-force-fontification): Use run-hooks.
13670 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
13672         Various minor fixes.
13673         * htmlfontify.el (hfy-default-header): Add toggle_invis since
13674         Javascript belongs in the header, not the body.
13675         (hfy-javascript): Remove.
13676         (hfy-fontify-buffer): Don't insert it any more.
13677         (hfy-face-at): Handle (face0 face1 face2) style face properties.
13678         Fix bug in invis handling when there were no invis props in a chunk.
13680 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13682         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
13684 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
13686         * finder.el (finder-mode-map): Add a menu.
13688 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
13690         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
13691         "unsigned" structs.
13693         (verilog-leap-to-head, verilog-backward-token): Handle "disable
13694         fork" statement better.
13696 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
13698         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
13699         (verilog-delete-auto, verilog-delete-empty-auto-pair)
13700         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
13701         Reported by Clay Douglass.
13703         (verilog-auto-inst, verilog-auto-star-safe)
13704         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
13705         Fix removing "// Interfaces" when saving .* expansions.
13706         Reported by Pierre-David Pfister.
13708 2009-11-26  Glenn Morris  <rgm@gnu.org>
13710         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
13711         the scope.
13713 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
13715         * vc-annotate.el (vc-annotate-revision-previous-to-line):
13716         Really use previous revision.
13718 2009-11-25  Kevin Ryde  <user42@zip.com.au>
13720         * man.el (Man-completion-table): default-directory "/" in case
13721         doesn't otherwise exist.  process-environment COLUMNS=999 so as
13722         not to truncate long names.  process-connection-type pipe to avoid
13723         any chance of hitting the pseudo-tty TIOCGWINSZ.
13724         (man): completion-ignore-case t for friendliness and since man
13725         itself is case-insensitive on the command line.
13726         Further to Bug#3717.
13728         * arc-mode.el: Add "Keywords: files", so the details in its
13729         commentary can be reached from finder-by-keyword.
13730         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
13731         editing mode, but it's comms related and sgml-mode.el has "comm"
13732         on that basis too.
13733         * textmodes/bibtex-style.el: Add "Keywords: tex".
13734         * international/isearch-x.el, international/ja-dic-cnv.el:
13735         * international/ja-dic-utl.el, international/kkc.el:
13736         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
13738 2009-11-25  Juri Linkov  <juri@jurta.org>
13740         * man.el (Man-completion-table): Modify regexp to include
13741         section names to completion strings.  (Bug#3717)
13743 2009-11-25  Juri Linkov  <juri@jurta.org>
13745         Search recursively in gzipped files.  (Bug#4982)
13747         * progmodes/grep.el (grep-highlight-matches): Add new options
13748         `always' and `auto'.  Doc fix.
13749         (grep-process-setup): Check `grep-highlight-matches' for
13750         `auto-detect' to determine the need to compute grep defaults.
13751         Move Windows/DOS specific --colors settings handling
13752         to `grep-compute-defaults'.  Check `grep-highlight-matches'
13753         to get the value of "--color=".
13754         (grep-compute-defaults): Compute `grep-highlight-matches' when it
13755         has the value `auto-detect'.  Move Windows/DOS specific settings
13756         from `grep-process-setup'.
13757         (zrgrep): New command with alias `rzgrep'.
13759 2009-11-25  Juri Linkov  <juri@jurta.org>
13761         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
13762         to nil instead of switching off view-mode.  (Bug#4896)
13764 2009-11-25  Juri Linkov  <juri@jurta.org>
13766         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
13768         * mwheel.el (mwheel-scroll-up-function)
13769         (mwheel-scroll-down-function): New defvars.
13770         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
13771         `scroll-up', and `mwheel-scroll-down-function' instead of
13772         `scroll-down'.
13774         * doc-view.el (doc-view-scroll-up-or-next-page)
13775         (doc-view-scroll-down-or-previous-page): Add optional ARG.
13776         Use this ARG in the call to image-scroll-up/image-scroll-down.
13777         Change `interactive' spec to "P".  Goto next/previous page only
13778         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
13779         SPC/DEL case).  Doc fix.
13780         (doc-view-next-line-or-next-page)
13781         (doc-view-previous-line-or-previous-page): Rename arg to ARG
13782         for consistency.
13783         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
13784         `doc-view-scroll-up-or-next-page', and buffer-local
13785         `mwheel-scroll-down-function' to
13786         `doc-view-scroll-down-or-previous-page'.
13788 2009-11-25  Juri Linkov  <juri@jurta.org>
13790         Provide additional default values (directories at other Dired
13791         windows) via M-n in the minibuffer of some Dired commands.
13793         * dired-aux.el (dired-diff, dired-compare-directories)
13794         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
13795         `minibuffer-default' in `minibuffer-with-setup-hook'.
13796         (dired-dwim-target-directory): Find a window that displays Dired
13797         buffer instead of failing when the next window is not Dired.
13798         Use `get-window-with-predicate' to find for the next Dired window.
13799         (dired-dwim-target-defaults): New function.
13801         * ediff-util.el (ediff-read-file-name):
13802         Use `dired-dwim-target-defaults' to set `minibuffer-default'
13803         in `minibuffer-with-setup-hook'.
13805 2009-11-25  Juri Linkov  <juri@jurta.org>
13807         Provide additional default values (file name at point or at the
13808         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
13810         * minibuffer.el (read-file-name-defaults): New function.
13811         (read-file-name): Reset `minibuffer-default' to nil when
13812         it duplicates initial input `insdef'.
13813         Bind `minibuffer-default-add-function' to lambda that
13814         calls `read-file-name-defaults' in `minibuffer-selected-window'.
13815         (minibuffer-insert-file-name-at-point): New command.
13817         * files.el (file-name-at-point-functions): New defcustom.
13818         (find-file-default): Remove defvar.
13819         (find-file-read-args): Don't use `find-file-default'.
13820         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13821         to `read-file-name'.
13822         (find-file-literally): Use `read-file-name' with
13823         `confirm-nonexistent-file-or-buffer'.
13825         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
13827         * dired.el (dired-read-dir-and-switches):
13828         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13829         to `read-file-name'.
13830         (dired-file-name-at-point): New function.
13831         (dired-mode): Add hook `dired-file-name-at-point' to
13832         `file-name-at-point-functions'.
13834 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13836         Really make the *Completions* window soft-dedicated (bug#5030).
13837         * window.el (window--display-buffer-2): Add `dedicated' argument.
13838         (display-buffer): Pass it when needed so the dedicated flag is set
13839         after calling set-window-buffer, which would otherwise reset it.
13841 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13843         * progmodes/meta-mode.el (meta-complete-symbol):
13844         * progmodes/etags.el (complete-tag):
13845         * mail/mailabbrev.el (mail-abbrev-complete-alias):
13846         Use completion-in-region.
13848         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
13849         (dabbrev-completion): Use completion-in-region.
13850         (dabbrev--abbrev-at-point): Simplify regexp.
13852         * abbrev.el (abbrev--before-point): Use word-motion functions
13853         if :regexp is not specified (bug#5031).
13855         * subr.el (string-prefix-p): New function.
13857         * man.el (Man-completion-cache): New var.
13858         (Man-completion-table): Use it.
13860         * vc.el (vc-print-log-internal): Make `limit' optional for better
13861         compatibility (e.g. with vc-annotate.el).
13863 2009-11-24  Kevin Ryde  <user42@zip.com.au>
13865         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
13866         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
13868         * emacs-lisp/elint.el (elint-add-required-env): Better error message
13869         when .el source file not found or other error.
13871 2009-11-24  Markus Triska  <markus.triska@gmx.at>
13873         * linum.el (linum-update-window): Ignore intangible (bug#4996).
13875 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13877         Handle the [back] button properly (bug#4979).
13878         * descr-text.el (describe-text-properties): Add a `buffer' argument.
13879         Use help-setup-xref, help-buffer, and with-help-window.
13880         (describe-char): Add `buffer' argument.
13881         Pass proper command to help-setup-xref.  Don't meddle with
13882         help-xref-stack-item directly.
13883         (describe-text-category): Use with-help-window and help-buffer.
13885         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
13886         for the displayed buffer (bug#4887).
13888         * man.el (Man-completion-table): New function.
13889         (man): Use it.
13891 2009-11-24  David Reitter  <david.reitter@gmail.com>
13893         * vc-git.el (vc-git-registered): Use checkout directory (where
13894         .git is) rather than the file's directory and a relative path spec
13895         to work around a bug in git.
13897 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
13899         Improve handling of processes on remote hosts.
13901         * eshell/esh-util.el (eshell-path-env): New defvar.
13902         (eshell-parse-colon-path): New defun.
13903         (eshell-file-attributes): Use `eshell-parse-colon-path'.
13905         * eshell/esh-ext.el (eshell-search-path):
13906         Use `eshell-parse-colon-path'.
13907         (eshell-remote-command): Remove argument HANDLER.
13908         (eshell-external-command): Check for FTP remote connection.
13910         * eshell/esh-proc.el (eshell-gather-process-output):
13911         Use `file-truename', in order to start also symlinked files.
13912         Apply `start-file-process' instead of `start-process'.
13913         Shorten `command' to the local file name part.
13915         * eshell/em-cmpl.el (eshell-complete-commands-list):
13916         Use `eshell-parse-colon-path'.
13918         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
13920         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
13921         to `eshell-directory-change-hook'.
13923 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
13925         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
13926         because it could be enabled automatically if view-read-only is non-nil.
13928 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
13930         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
13931         made on 2009-11-22.
13933 2009-11-24  Glenn Morris  <rgm@gnu.org>
13935         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
13936         deleted variable bookmark-bmenu-bookmark-column.
13938 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13940         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
13942 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
13944         * net/browse-url.el (browse-url-filename-alist): On Windows, add
13945         two slashes to the "file:" prefix.
13946         (browse-url-file-url): De-munge Cygwin filenames before passing
13947         them to Windows browser.
13948         (browse-url-default-windows-browser): Use call-process.
13950 2009-11-23  Juri Linkov  <juri@jurta.org>
13952         Implement DocView Continuous mode.  (Bug#4896)
13953         * doc-view.el (doc-view-continuous-mode): New defcustom.
13954         (doc-view-mode-map): Bind C-n/<down> to
13955         `doc-view-next-line-or-next-page', C-p/<up> to
13956         `doc-view-previous-line-or-previous-page'.
13957         (doc-view-next-line-or-next-page)
13958         (doc-view-previous-line-or-previous-page): New commands.
13960 2009-11-23  Juri Linkov  <juri@jurta.org>
13962         Implement Isearch in comint input history.  (Bug#3746)
13963         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
13964         `isearch-mode-hook'.
13965         (comint-history-isearch): New defcustom.
13966         (comint-history-isearch-backward)
13967         (comint-history-isearch-backward-regexp): New commands.
13968         (comint-history-isearch-message-overlay): New buffer-local variable.
13969         (comint-history-isearch-setup, comint-history-isearch-end)
13970         (comint-goto-input, comint-history-isearch-search)
13971         (comint-history-isearch-message, comint-history-isearch-wrap)
13972         (comint-history-isearch-push-state)
13973         (comint-history-isearch-pop-state): New functions.
13975 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
13977         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
13978         return.
13979         (tramp-handle-make-symbolic-link)
13980         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
13981         Quote file names.
13982         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
13983         (tramp-handle-process-file): Use it.
13985 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13987         * window.el (move-to-window-line-last-op): Remove.
13988         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
13990 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
13992         Make M-r mirror the new cycling behavior of C-l.
13993         * window.el (move-to-window-line-last-op): New var.
13994         (move-to-window-line-top-bottom): New command.
13995         (global-map): Bind M-r move-to-window-line-top-bottom.
13997 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
13999         * dired-x.el (dired-guess-shell-alist-default):
14000         Support xz format.  (Bug#4953)
14002 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
14004         * emulation/viper-cmd.el: Use viper-last-command-char instead of
14005         last-command-char/last-command-event.
14006         (viper-prefix-arg-value): Do correct conversion of event-char for
14007         XEmacs.
14009         * emulation/viper-util.el, emulation/viper.el:
14010         Use viper-last-command-char instead of
14011         last-command-char/last-command-event.
14013         * ediff-init.el, ediff-mult.el, ediff-util.el:
14014         Replace last-command-char and last-command-event
14015         with (ediff-last-command-char) everywhere.
14017         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
14018         created in fundamental mode.
14020         * ediff.el (ediff-version): Revert the change of interactive-p to
14021         called-interactively-p.
14023 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
14025         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
14026         generation from word-movement command names.
14028 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
14030         * cus-start.el (all): Add native condition for font-use-system-font.
14032 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
14034         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
14035         Correct the patch from 2009-11-18.  (Bug#3910)
14037 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
14039         * progmodes/subword.el: Rename from lisp/subword.el.
14041         * subword.el: Rename to progmodes/subword.el.
14043         * Makefile.in (ELCFILES): Adapt to subword.el move.
14045 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
14046             Stefan Monnier  <monnier@iro.umontreal.ca>
14048         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
14049         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
14050         (bookmark-bmenu-show-filenames): Use push.
14051         (bookmark-bmenu-hide-filenames): Use local var instead of
14052         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
14053         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
14054         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
14055         filenames now that the bookmark names are always available.
14057 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14059         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
14060         (bookmark-search-pattern): Move and leave unbound.
14061         (bookmark-bmenu-mode-map): Change binding.
14062         (bookmark-read-search-input): Simplify.
14063         Don't use text-char-description.  Don't error on non-char events.
14064         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
14065         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
14066         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
14067         Use a local var for the timer.
14068         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
14069         (i.e. bookmark-bmenu-search).
14071 2009-11-21  Glenn Morris  <rgm@gnu.org>
14073         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
14075 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
14077         * net/browse-url.el (browse-url-default-windows-browser):
14078         Use cygstart for cygwin.
14080 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
14082         * bookmark.el: Formatting and doc fixes only:
14083         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
14084         (bookmark-bmenu-search): Wrap to fit within 80 columns.
14085         Minor grammar and punctuation fixes in doc string.
14086         (bookmark-read-search-input): Adjust to fit within 80 columns.
14088 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
14090         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
14091         (c-backward-into-nomenclature): Adapt to subword renaming.
14093         * subword.el (subword-forward, subword-backward, subword-mark)
14094         (subword-kill, subword-backward-kill, subword-transpose)
14095         (subword-downcase, subword-upcase, subword-capitalize)
14096         (subword-forward-internal, subword-backward-internal):
14097         Rename from forward-subword, backward-subword, mark-subword,
14098         kill-subword, backward-kill-subword, transpose-subwords,
14099         downcase-subword, upcase-subword, capitalize-subword,
14100         forward-subword-internal, backward-subword-internal.
14102 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
14104         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
14105         New options.
14106         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
14107         New vars.
14108         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
14109         (bookmark-bmenu-filter-alist-by-regexp)
14110         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
14111         (bookmark-bmenu-search): New command.
14112         (bookmark-bmenu-mode-map): Bind it.
14114 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
14116         * progmodes/cc-cmds.el: declare-functioned forward-subword and
14117         backward-subword to quit the byte-compiler.
14119         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
14121         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
14123         * progmodes/cc-cmds.el (c-update-modeline)
14124         (c-forward-into-nomenclature, c-backward-into-nomenclature):
14125         Refer to subword.el functions instead of cc-subword.el.
14127         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
14128         subword.el functions instead of cc-subword.el.
14130         * progmodes/cc-subword.el: Rename to subword.el.
14131         * subword.el: Rename from progmodes/cc-subword.el.
14132         (subword-mode-map): Rename from c-subword-mode-map.
14133         (subword-mode): Rename from c-subword-mode.
14134         (global-subword-mode): New global minor mode.
14135         (forward-subword): Rename from c-forward-subword.
14136         (backward-subword): Rename from c-backward-subword.
14137         (mark-subword): Rename from c-mark-subword.
14138         (kill-subword): Rename from c-kill-subword.
14139         (backward-kill-subword): Rename from c-backward-kill-subword.
14140         (transpose-subwords): Rename from c-tranpose-subword.
14141         (downcase-subword): Rename from c-downcase-subword.
14142         (capitalize-subword): Rename from c-capitalize-subword.
14143         (forward-subword-internal): Rename from c-forward-subword-internal.
14144         (backward-subword-internal): Rename from c-backward-subword-internal.
14146 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
14148         * vc.el (vc-deduce-fileset): Allow non-state changing operations
14149         from a dired buffer.
14150         (vc-dired-deduce-fileset): New function.
14151         (vc-root-diff, vc-print-root-log): Use it.
14153         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
14154         nil LIMIT argument to vc-print-log-internal.
14156 2009-11-20  Glenn Morris  <rgm@gnu.org>
14158         * Makefile.in (ELCFILES): Regenerate.
14160 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
14162         * calc/calc.el (calc-set-mode-line):
14163         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14164         (math-format-number): Rename `math-format-complement-signed' to
14165         `math-format-twos-complement'.
14167         * calc/calc-bin.el (math-format-twos-complement): Rename from
14168         math-format-complement-signed.
14169         (calc-radix): Rename `calc-complement-signed-mode' to
14170         `calc-twos-complement-mode'.
14171         (calc-octal-radix, calc-hex-radix): Add an argument for
14172         two's complement.
14174         * calc/calc-embed.el (calc-embedded-mode-vars):
14175         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14177         * calc/calc-ext.el (calc-init-extensions):
14178         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14179         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
14181         * calc/calc-units.el (math-build-units-table-buffer):
14182         Let `calc-twos-complement-mode' be nil.
14184         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
14185         entries.
14187         * calc/calc-vec.el (calcFunc-vunpack):
14188         * calc/calc-aent.el (calc-do-calc-eval):
14189         * calc/calc-forms.el (math-format-date):
14190         * calc/calc-graph.el (calc-graph-plot):
14191         * calc/calc-math.el (math-use-emacs-fn):
14192         * calc/calccomp.el (math-compose-expr):
14193         Let `calc-twos-complement-mode' be nil.
14195 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14197         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
14198         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
14199         * minibuffer.el (completion-in-region-functions): New hook.
14200         (completion-in-region): New function.
14201         * emacs-lisp/lisp.el (lisp-complete-symbol):
14202         * pcomplete.el (pcomplete-std-complete): Use it.
14204 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14206         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
14207         (latex-complete-alist): New vars.
14208         (latex-string-prefix-p, latex-complete-bibtex-keys)
14209         (latex-complete-envnames, latex-complete-refkeys)
14210         (latex-complete-data): New functions.
14211         (latex-complete, latex-indent-or-complete): New commands.
14213         * window.el (display-buffer-mark-dedicated): New var.
14214         (display-buffer): Obey it.
14215         * minibuffer.el (minibuffer-completion-help): Use it.
14217         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
14219         * filecache.el (file-cache-add-file): Use push and cons.
14220         (file-cache-delete-file-regexp): Use push.
14221         (file-cache-complete): Use completion-in-region.
14223         * simple.el (with-wrapper-hook): Fix thinko.
14225         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
14226         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
14227         Use with-current-buffer and string-to-number.
14228         (hfy-fallback-colour-values): Use assoc-string.
14229         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
14230         (hfy-face-at): Remove unused var `found-face'.
14231         (hfy-compile-stylesheet): Remove unused var `css'.
14232         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
14233         and `orig-buffer'.
14234         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
14235         Use with-current-buffer.
14236         (hfy-text-p): Use expand-file-name and fewer setq.
14238 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
14240         * htmlfontify.el, hfy-cmap.el: New files.
14242 2009-11-19  Juri Linkov  <juri@jurta.org>
14244         * minibuffer.el (completions-format): New defcustom.
14245         (completion--insert-strings): Implement vertical format.
14247         * simple.el (switch-to-completions): Move point to the first
14248         completion when point was at the beginning of the buffer.
14250 2009-11-19  Juri Linkov  <juri@jurta.org>
14252         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
14254         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
14256 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
14258         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
14259         (mail-signature): Change default to t.
14260         (mail-from-style): Deprecate `system-default' value.
14261         (mail-insert-from-field): For default value of mail-from-style,
14262         default to `angles' unless `angles' needs quoting and `parens'
14263         does not.
14264         (mail-citation-prefix-regexp): Use citation regexp from
14265         message-mode.
14267 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
14269         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
14270         Set variables for computing the prompt for reading password.
14272 2009-11-19  Glenn Morris  <rgm@gnu.org>
14274         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
14276         * textmodes/flyspell.el (sgml-lexical-context): Declare.
14278         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
14279         (newsticker-treeview-listwindow-height): Fix custom type.
14281 2009-11-19  Kenichi Handa  <handa@m17n.org>
14283         * descr-text.el (describe-char-padded-string): Compose with TAB
14284         only if there's a font for CH.
14285         (describe-char): Fix the condition for detecting a trivial composition.
14287 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
14289         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
14290         more accurate version of the regexp.  (Bug#3910)
14292 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
14294         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
14296 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
14298         * font-setting.el (font-use-system-font): Declare for byte-compiler.
14299         (font-setting-change-default-font): Fix typo in docstring.
14301 2009-11-18  Alan Mackenzie  <acm@muc.de>
14303         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
14305 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
14307         * font-setting.el (font-use-system-font): Move ...
14309         * cus-start.el (all): ... to here.
14311 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
14313         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
14314         Don't set `ad-return-value' if `ad-do-it' doesn't.
14316         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
14317         modification time.
14319 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
14321         * menu-bar.el: Put "Use system font" in Option-menu.
14322         (menu-bar-options-save): Add font-use-system-font.
14324         * loadup.el: If feature system-font-setting or font-render-setting is
14325         there, load font-setting.
14327         * Makefile.in (ELCFILES): Add font-settings.el.
14328         * font-setting.el: New file.
14330 2009-11-17  Glenn Morris  <rgm@gnu.org>
14332         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
14334         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
14335         Preserve point in the list buffer.  (Bug#4939)
14336         Use point-at-eol.
14337         (newsticker--treeview-list-update-highlight)
14338         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
14340 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
14342         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
14343         Remove.
14345         * calc/calc-ext.el (calc-init-extensions): Remove references to
14346         symclip.
14348         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
14350         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
14351         * calc/calc-help.el (calc-b-prefix-help): Remove references to
14352         `calc-symclip'.
14354 2009-11-16  Kevin Ryde  <user42@zip.com.au>
14356         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
14357         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
14359         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
14360         (lm-keywords-list): Allow comma-only separator like "foo,bar".
14361         Ignore trailing spaces by omit-nulls to split-string (fixing
14362         regression from Emacs 21 due to the incompatible split-string
14363         change).  (Bug #4928.)
14365 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
14367         * vc.el (vc-log-show-limit): Default to 2000.
14368         (vc-print-log-internal): Insert buttons to request more entries
14369         when limiting the output.
14371         * vc-sccs.el (vc-sccs-print-log):
14372         * vc-rcs.el (vc-rcs-print-log):
14373         * vc-cvs.el (vc-cvs-print-log):
14374         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
14375         LIMIT is non-nil.
14377 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
14379         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
14380         error when `tramp-gvfs-dbus-event-vector' is set.
14381         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
14383 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
14385         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
14387 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
14389         * net/dbus.el (dbus-unregister-service): New defun.
14390         (dbus-register-property): Register the handlers of
14391         "org.freedesktop.DBus.Properties" for SERVICE.
14392         (dbus-property-handler): Fix docstring.
14394 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
14396         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
14397         Quote doc string reference in defvaralias as it is not in special form.
14398         (byte-compile-output-docform): Doc fix.
14400 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
14402         * calc/calc.el (math-2-word-size, math-half-2-word-size)
14403         (calc-complement-signed-mode): New variables.
14404         (calc-set-mode-line): Add indicator for twos-complements.
14405         (math-format-number): Format twos-complement notation.
14407         * calc/calc-bin.el (calc-word-size): Reset the variables
14408         `math-2-word-size' and `math-half-2-word-size'.
14409         (math-format-complement-signed, math-symclip, calcFunc-symclip)
14410         (calc-symclip): New functions.
14412         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
14414         * calc/calc-embed.el (calc-embedded-mode-vars):
14415         Add `calc-complement-signed-mode' to the list of modes.
14417         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
14418         (calc-b-oper-keys): Add `calc-symclip' to list.
14420         * calc/calc-ext.el (math-read-number-fancy): Read complement
14421         signed numbers.
14422         (calc-init-extensions): Add binding for `calc-symclip'.
14423         Add autoload for `calcFunc-symclip' and `calc-symclip'.
14425         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
14426         `calc-symclip'.
14427         (calc-modes-menu): Add item for twos complement mode.
14429         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
14431 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
14433         * register.el (jump-to-register, insert-register): Handle Semantic
14434         tags.  From commented-out advice in semantic/senator.el.
14436 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
14438         * vc.el (vc-log-show-limit): New variable.
14439         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
14440         when using a prefix argument.
14441         (vc-print-log-internal): Add new argument LIMIT.
14443         * vc-svn.el (vc-svn-print-log):
14444         * vc-mtn.el (vc-mtn-print-log):
14445         * vc-hg.el (vc-hg-print-log):
14446         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
14447         pass it to the log command when set.  Make the BUFFER argument
14448         non-optional.
14450         * vc-sccs.el (vc-sccs-print-log):
14451         * vc-rcs.el (vc-rcs-print-log):
14452         * vc-git.el (vc-git-print-log):
14453         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
14454         ignore it.  Make the BUFFER argument non-optional
14456         * bindings.el (mode-line-buffer-identification): Do not purecopy.
14458 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
14460         * dired.el (dired-mode-map): Move encryption items to "Operate"
14461         menu (Bug#4703).
14463         * strokes.el (strokes-update-window-configuration): Make strokes
14464         buffer current before erasing (Bug#4906).
14466 2009-11-15  Juri Linkov  <juri@jurta.org>
14468         * simple.el (set-mark-default-inactive): Add :type, :group
14469         and :version.  (Bug#4876)
14471 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
14473         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
14474         (archive-unique-fname): ... here.  (Bug#4929)
14476 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14478         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
14479         with a real fix.
14481         * novice.el (disabled-command-function): Add useful args.
14482         Setup the help buffer so that [back] works.
14483         Remove redundant call to help-mode.
14484         (disabled-command-function): Use `case'.
14485         (en/disable-command): New function extracted from enable-command.
14486         (enable-command, disable-command): Use it.
14488 2009-11-14  Glenn Morris  <rgm@gnu.org>
14490         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
14491         constants.  (Bug#4913)
14493         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
14495 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
14497         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
14498         defined in C that have no doc-strings.  (Bug#1063)
14500 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
14502         * cus-edit.el (data, files):
14503         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
14505 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
14507         * simple.el (shell-command): Doc fix (Bug#4891).
14509         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
14511 2009-11-14  Glenn Morris  <rgm@gnu.org>
14513         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
14514         statements for vc-diff, emerge-quit, and rmail-cease-edit.
14515         If they are already loaded, eval-after-load will do the right thing.
14517         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
14518         compiling.
14520         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
14522         * simple.el (x-selection-owner-p): Declare.
14523         (read-mail-command): Use custom radio type rather than choice.
14524         (completion-no-auto-exit): Doc fix.
14526         * custom.el (defgroup):
14527         * epg-config.el (epg): Doc fixes.
14529 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
14531         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
14532         * international/ccl.el (define-ccl-program): Do not purecopy the
14533         docstring, defconst does it anyway.
14535 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14537         * add-log.el (add-change-log-entry): Avoid displaying the changelog
14538         a second time.
14540         * x-dnd.el (x-dnd-maybe-call-test-function):
14541         * window.el (split-window-vertically):
14542         * whitespace.el (whitespace-help-on):
14543         * vc-rcs.el (vc-rcs-consult-headers):
14544         * userlock.el (ask-user-about-lock-help)
14545         (ask-user-about-supersession-help):
14546         * type-break.el (type-break-force-mode-line-update):
14547         * time-stamp.el (time-stamp-conv-warn):
14548         * terminal.el (te-set-output-log, te-more-break, te-filter)
14549         (te-sentinel, terminal-emulator):
14550         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
14551         (term-write-input-ring, term-check-source, term-start-output-log):
14552         (term-display-buffer-line, term-dynamic-list-completions):
14553         (term-ansi-make-term, serial-term):
14554         * subr.el (selective-display):
14555         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
14556         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
14557         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
14558         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
14559         (speedbar-remove-localized-speedbar-support)
14560         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
14561         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
14562         (speedbar-buffers-line-directory):
14563         * simple.el (shell-command-on-region, append-to-buffer)
14564         (prepend-to-buffer):
14565         * shadowfile.el (shadow-save-todo-file):
14566         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
14567         (scroll-bar-maybe-set-window-start):
14568         * sb-image.el (speedbar-image-dump):
14569         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
14570         (load-save-place-alist-from-file):
14571         * ps-samp.el (ps-print-message-from-summary):
14572         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
14573         (ps-background-image, ps-begin-job, ps-do-despool):
14574         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
14575         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
14576         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
14577         (pr-call-process, pr-file-list, pr-interface-save):
14578         * novice.el (disabled-command-function)
14579         (enable-command, disable-command):
14580         * mouse.el (mouse-buffer-menu-alist):
14581         * mouse-copy.el (mouse-kill-preserving-secondary):
14582         * macros.el (kbd-macro-query):
14583         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
14584         * informat.el (batch-info-validate):
14585         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
14586         * hippie-exp.el (try-expand-dabbrev-visible):
14587         * help-mode.el (help-make-xrefs):
14588         * help-fns.el (describe-variable):
14589         * generic-x.el (bat-generic-mode-run-as-comint):
14590         * finder.el (finder-mouse-select):
14591         * find-dired.el (find-dired-sentinel):
14592         * filesets.el (filesets-file-close):
14593         * files.el (list-directory):
14594         * faces.el (list-faces-display, describe-face):
14595         * facemenu.el (list-colors-display):
14596         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
14597         * epg.el (epg--process-filter, epg-cancel):
14598         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
14599         (epa--read-signature-type):
14600         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
14601         (emerge-file-names):
14602         * ehelp.el (electric-helpify):
14603         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
14604         * ediff-vers.el (rcs-ediff-view-revision):
14605         * ediff-util.el (ediff-setup):
14606         * ediff-mult.el (ediff-append-custom-diff):
14607         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
14608         (ediff-wordify):
14609         * echistory.el (Electric-command-history-redo-expression):
14610         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
14611         * disp-table.el (describe-display-table):
14612         * dired.el (dired-find-buffer-nocreate):
14613         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
14614         * dabbrev.el (dabbrev--same-major-mode-p):
14615         * chistory.el (list-command-history):
14616         * apropos.el (apropos-documentation):
14617         * allout.el (allout-obtain-passphrase):
14618         (allout-copy-exposed-to-buffer):
14619         (allout-verify-passphrase): Use with-current-buffer.
14621 2009-11-13  Glenn Morris  <rgm@gnu.org>
14623         * Makefile.in (ELCFILES): Regenerate.
14625 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
14627         * net/dbus.el (dbus-registered-objects-table): Rename from
14628         `dbus-registered-functions-table', because it contains also properties.
14629         (dbus-unregister-object): Unregister also properties.
14630         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14631         Use a timeout of 500 msec, in order to not block.
14632         (dbus-register-property, dbus-property-handler): New defuns.
14634 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14636         * simple.el (minibuffer-default-add-completions): Drop deprecated
14637         4th arg.
14639 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
14641         * textmodes/artist.el (artist-mouse-choose-operation):
14642         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
14643         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
14644         (artist-compute-up-event-key): New function.
14645         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
14647 2009-11-13  Kenichi Handa  <handa@m17n.org>
14649         * language/japan-util.el: Make sure that the value of jisx0208
14650         property is jisx0208 character.
14652 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
14654         * international/mule.el (auto-coding-regexp-alist): Only purecopy
14655         car or each item, not the whole list.
14657 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14659         * minibuffer.el (minibuffer-completion-help):
14660         Use minibuffer-hide-completions.
14662 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
14664         * dired.el (dired-save-positions, dired-restore-positions): New funs.
14665         (dired-revert): Use them (bug#4880).
14667 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
14669         * tooltip.el (tooltip-frame-parameters): Undo previous change.
14671 2009-11-12  Juri Linkov  <juri@jurta.org>
14673         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
14674         New functions.
14675         (find-file-literally-at-point): Alias of `ffap-literally'.
14677 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
14679         * textmodes/ispell.el (ispell-skip-region-alist):
14680         * textmodes/css-mode.el (auto-mode-alist):
14681         * progmodes/compile.el (auto-mode-alist):
14682         * international/mule.el (ctext-non-standard-encodings-alist)
14683         (ctext-non-standard-encodings-regexp):
14684         * simple.el (shell-command-switch, text-read-only):
14685         * replace.el (occur-mode-map):
14686         * paths.el (rmail-file-name):
14687         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
14688         * find-file.el (ff-special-constructs):
14689         * files.el (file-name-handler-alist):
14690         * composite.el: Purecopy strings.
14692         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
14694 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
14696         * widget.el (define-widget): Purecopy the docstring.
14697         * international/mule-cmds.el (charset): Do not purecopy the
14698         docstring here, define-widget does it.
14700         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
14701         * textmodes/bibtex-style.el (auto-mode-alist):
14702         * progmodes/inf-lisp.el (inferior-lisp-prompt):
14703         * progmodes/compile.el (compile-command):
14704         * language/korea-util.el (default-korean-keyboard):
14705         * international/mule-conf.el (file-coding-system-alist):
14706         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
14707         * tooltip.el (tooltip-frame-parameters):
14708         * newcomment.el (comment-end, comment-padding):
14709         * dired.el (dired-trivial-filenames):
14710         * comint.el (comint-file-name-prefix): Purecopy initial values.
14712 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
14714         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
14715         (tramp-advice-minibuffer-electric-tilde): Unload advices via
14716         `tramp-unload'.
14717         (tramp-advice-make-auto-save-file-name)
14718         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
14719         after removing the advice.
14721 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
14723         * progmodes/grep.el (grep-regexp-alist):
14724         * international/mule-cmds.el (iso-2022-control-alist):
14725         * emacs-lisp/timer.el (timer-duration-words):
14726         * subr.el (version-separator, version-regexp-alist):
14727         * minibuffer.el (completion-styles-alist):
14728         * faces.el (face-attribute-name-alist, list-faces-sample-text):
14729         Change defvars to defconsts.
14731         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
14732         * loadup.el ("international/mule-conf"): Load the byte compiled version.
14733         * international/mule-conf.el: Allow to be byte compiled.
14735         * international/mule.el (define-charset): Purecopy props.
14736         (load-with-code-conversion): Purecopy doc string and file name.
14737         (put-charset-property): Purecopy strings.
14738         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
14740         * international/mule-cmds.el (register-input-method): Purecopy arguments.
14741         (define-char-code-property): Correctly purecopy the table.
14743         * international/ccl.el (define-ccl-program): Purecopy the docstring.
14745         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
14747         * subr.el (add-hook): Purecopy strings.
14748         (eval-after-load): Purecopy load-history-regexp and the form.
14750         * custom.el (custom-declare-group): Purecopy load-file-name.
14752         * subr.el (menu-bar-separator): New defconst.
14753         * net/eudc.el (eudc-tools-menu):
14754         * international/mule-cmds.el (set-coding-system-map)
14755         (mule-menu-keymap):
14756         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14757         * vc-hooks.el (vc-menu-map):
14758         * replace.el (occur-mode-map):
14759         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
14760         (menu-bar-edit-menu, menu-bar-goto-menu)
14761         (menu-bar-custom-menu, menu-bar-showhide-menu)
14762         (menu-bar-options-menu, menu-bar-tools-menu)
14763         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
14764         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
14765         (menu-bar-help-menu):
14766         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
14767         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
14769         * term/x-win.el (x-gtk-stock-map):
14770         * progmodes/vera-mode.el (auto-mode-alist):
14771         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
14772         (inferior-lisp-program, inferior-lisp-load-command):
14773         * progmodes/hideshow.el (hs-special-modes-alist):
14774         * progmodes/gud.el (same-window-regexps):
14775         * progmodes/grep.el (grep-program, find-program, xargs-program):
14776         * net/telnet.el (same-window-regexps):
14777         * net/rlogin.el (same-window-regexps):
14778         * language/ethiopic.el (font-ccl-encoder-alist):
14779         * vc-sccs.el (vc-sccs-master-templates):
14780         * vc-rcs.el (vc-rcs-master-templates):
14781         * subr.el (cl-assertion-failed):
14782         * simple.el (next-error-overlay-arrow-position):
14783         * lpr.el (lpr-command):
14784         * locate.el (locate-ls-subdir-switches):
14785         * info.el (same-window-regexps, info)
14786         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
14787         * image-mode.el (image-mode, auto-mode-alist):
14788         * hippie-exp.el (hippie-expand-ignore-buffers):
14789         * format.el (format-alist):
14790         * find-dired.el (find-ls-subdir-switches, find-grep-options)
14791         (find-name-arg):
14792         * facemenu.el (facemenu-keybindings):
14793         * dired.el (dired-listing-switches, dired-chown-program):
14794         * diff.el (diff-switches, diff-command):
14795         * cus-edit.el (same-window-regexps):
14796         * bindings.el (mode-line-mule-info)
14797         (mode-line-buffer-identification): Purecopy strings.
14799 2009-11-11  Juri Linkov  <juri@jurta.org>
14801         * simple.el (dired-get-filename) <declare-function>:
14802         Tell the byte-compiler about dired-get-filename.
14803         (shell-command): In Dired mode, get filename from the current line
14804         as the default value.
14806 2009-11-10  Glenn Morris  <rgm@gnu.org>
14808         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
14809         * calendar/holidays.el, progmodes/cperl-mode.el:
14810         Update x-popup-menu declarations.
14812         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
14813         (list-load-path-shadows): Use dolist.
14814         (list-load-path-shadows): Use with-current-buffer.
14816 2009-11-10  Juri Linkov  <juri@jurta.org>
14818         * minibuffer.el (read-file-name): Support a list of default values
14819         in `default-filename'.  Use the first file name where only one
14820         element is required.  Doc fix.
14822 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
14824         * net/dbus.el (dbus-unregister-object): Release service, if no
14825         other method is registered for it.
14827 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
14829         * bookmark.el (bookmark-completing-read): Sort bookmark names if
14830         bookmark-sort-flag is non-nil (Bug#4653).
14832 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
14834         * emulation/cua-base.el: Add CUA property to some CC mode commands
14835         (Bug#4100).
14837 2009-11-08  Kevin Ryde  <user42@zip.com.au>
14839         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
14840         at end of sentence (Bug#4818).
14842 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
14844         * progmodes/compile.el (compilation-error-regexp-alist-alist):
14845         Handle "see declaration of" MSFT statements (Bug#4100).
14847 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
14849         * net/tramp.el (tramp-advice-make-auto-save-file-name)
14850         (tramp-advice-file-expand-wildcards): Unload via
14851         `ad-remove-advice'.
14853         * net/trampver.el: Update release number.
14855 2009-11-08  Kevin Ryde  <user42@zip.com.au>
14857         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
14858         `ad-do-it'.
14860 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
14862         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
14863         in order to keep context in SELinux.
14865 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
14867         * dired-aux.el (dired-query): Place cursor in echo area and allow
14868         C-g.
14870         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
14871         menu item if not on a directory (Bug#4701).
14873 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
14875         Sync with Tramp 2.1.17.
14877         * net/tramp.el (tramp-handle-copy-directory): Don't use
14878         `file-remote-p' (due to compatibility).
14880         * net/tramp-compat.el (tramp-compat-copy-directory)
14881         (tramp-compat-delete-directory): New defuns.
14883         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14884         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14885         Use `tramp-compat-delete-directory'.
14887         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
14888         (tramp-smb-handle-delete-directory):
14889         Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
14891         * net/trampver.el: Update release number.
14893 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
14895         * tar-mode.el (tar-copy): Call write-region on the right buffer
14896         (Bug#4857).
14898         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
14899         by hand, if necessary (Bug#4878).
14901 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
14903         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
14904         align size column (Bug#4839).
14906         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
14907         statement.
14909 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
14911         * progmodes/ld-script.el (auto-mode-alist):
14912         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
14914         * cus-face.el (custom-declare-face): Purecopy face spec.
14916 2009-11-06  Kenichi Handa  <handa@m17n.org>
14918         * international/uni-bidi.el: Re-generated.
14919         * international/uni-category.el: Re-generated.
14920         * international/uni-combining.el: Re-generated.
14921         * international/uni-mirrored.el: Re-generated.
14923 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
14925         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
14926         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
14927         (tex-start-options, slitex-run-command, latex-run-command)
14928         (tex-run-command, tex-directory):
14929         * textmodes/ispell.el (ispell-html-skip-alists)
14930         (ispell-tex-skip-alists, ispell-tex-skip-alists):
14931         * textmodes/fill.el (adaptive-fill-first-line-regexp):
14932         (adaptive-fill-regexp):
14933         * textmodes/dns-mode.el (auto-mode-alist):
14934         * progmodes/python.el (interpreter-mode-alist):
14935         * progmodes/etags.el (tags-compression-info-list):
14936         * progmodes/etags.el (tags-file-name):
14937         * net/browse-url.el (browse-url-galeon-program)
14938         (browse-url-firefox-program):
14939         * mail/sendmail.el (mail-signature-file)
14940         (mail-citation-prefix-regexp):
14941         * international/mule-conf.el (eight-bit):
14942         * international/latexenc.el (latex-inputenc-coding-alist):
14943         * international/fontset.el (x-pixel-size-width-font-regexp):
14944         * emacs-lisp/warnings.el (warning-type-format):
14945         * emacs-lisp/trace.el (trace-buffer):
14946         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
14947         (emacs-lisp-mode-map):
14948         * calendar/holidays.el (holiday-solar-holidays)
14949         (holiday-bahai-holidays, holiday-islamic-holidays)
14950         (holiday-christian-holidays, holiday-hebrew-holidays)
14951         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
14952         (hebrew-holidays-1, holiday-oriental-holidays)
14953         (holiday-general-holidays):
14954         * x-dnd.el (x-dnd-known-types):
14955         * tool-bar.el (tool-bar):
14956         * startup.el (site-run-file):
14957         * shell.el (shell-dumb-shell-regexp):
14958         * rfn-eshadow.el (file-name-shadow-tty-properties)
14959         (file-name-shadow-properties):
14960         * paths.el (remote-shell-program, news-directory):
14961         * mouse.el ([C-down-mouse-3]):
14962         * menu-bar.el (menu-bar-tools-menu):
14963         * jka-cmpr-hook.el (jka-compr-load-suffixes)
14964         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
14965         (jka-compr-compression-info-list):
14966         * isearch.el (search-whitespace-regexp):
14967         * image-file.el (image-file-name-extensions):
14968         * find-dired.el (find-ls-option):
14969         * files.el (directory-listing-before-filename-regexp)
14970         (directory-free-space-args, insert-directory-program)
14971         (list-directory-brief-switches, magic-fallback-mode-alist)
14972         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
14973         (automount-dir-prefix):
14974         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
14975         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
14976         (face-font-registry-alternatives, face-font-registry-alternatives)
14977         (face-font-family-alternatives):
14978         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
14979         (facemenu-foreground-menu, facemenu-face-menu):
14980         * epa-hook.el (epa-file-name-regexp):
14981         * dnd.el (dnd-protocol-alist):
14982         * textmodes/rst.el (auto-mode-alist):
14983         * button.el (default-button): Purecopy strings.
14985 2009-11-06  Glenn Morris  <rgm@gnu.org>
14987         * Makefile.in (ELCFILES): Update.
14989 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14991         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
14992         * emacs-lisp/levents.el: Move to obsolete/levents.el.
14994         * nxml/xsd-regexp.el (xsdre-gen-categories):
14995         * nxml/xmltok.el (xmltok-parse-entity):
14996         * nxml/rng-parse.el (rng-parse-validate-file):
14997         * nxml/rng-maint.el (rng-format-manual)
14998         (rng-manual-output-force-new-line):
14999         * nxml/rng-loc.el (rng-save-schema-location-1):
15000         * nxml/rng-cmpct.el (rng-c-parse-file):
15001         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
15002         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
15004 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
15006         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
15007         Remove extra save-excursions and make-variable-buffer-local's.
15008         Suggested by Stefan Monnier.
15010         (verilog-getopt-file, verilog-module-inside-filename-p)
15011         (verilog-set-define): Merge GNU 1.35 and repair changes from
15012         switching to using with-current-buffer.
15014         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
15015         being treated as a number and confusing AUTORESET.
15016         Reported by Dan Dever.
15018         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
15019         Add verilog-auto-ignore-concat to fix backward compatibility with
15020         older verilog-modes.  Reported by Dan Katz.
15022         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
15023         containing closing anchors "...$".
15025         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
15026         Reported by Wade Smith.
15028         (verilog-batch-execute-func): Comment on function usage.
15030 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
15032         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
15033         for labels.
15035         (verilog-label-re, verilog-calc-1): Support proper indent of named
15036         asserts.
15038         (verilog-backward-token, verilog-basic-complete-re)
15039         (verilog-beg-of-statement, verilog-indent-re): Support proper
15040         indent of the assert statement at the beginning of a block of text.
15042         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
15043         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
15044         tokens as begins.
15046 2009-11-05  Glenn Morris  <rgm@gnu.org>
15048         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
15049         Emacs 19.  (Bug#1531)
15050         (byte-compile-fix-header): Update for the above change.
15051         Drop test for epoch::version.
15053         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
15054         * cus-dep.el (custom-make-dependencies):
15055         * finder.el (finder-compile-keywords):
15056         Use autoload-rubric's feature argument.
15058         * calendar/diary-lib.el (top-level): Make load behave more like require.
15060         * vc-git.el (vc-git-stash-map): Move definition before use.
15062 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
15064         * custom.el (custom-declare-group): Purecopy standard-value.
15065         (custom-declare-group): Purecopy custom-prefix.
15067         * international/mule.el (load-with-code-conversion):
15068         Call do-after-load-evaluation unconditionally.
15070         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
15072 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15074         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
15076 2009-11-04  Glenn Morris  <rgm@gnu.org>
15078         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
15079         (byte-compile-compatibility): Remove option.
15080         (byte-compile-close-variables, byte-compile-fix-header)
15081         (byte-compile-insert-header, byte-compile-output-docform)
15082         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
15083         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
15084         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
15085         (byte-compile-insert, byte-compile-defun):
15086         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
15087         (byte-defop-compiler19): Remove.
15088         Without byte-compile-compatibility, the 'emacs19-opcode property is not
15089         used by anything.  Replace all calls with byte-defop-compiler.
15091 2009-11-04  Juri Linkov  <juri@jurta.org>
15093         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
15094         (menu-bar-options-menu): Don't quote the `prop' arg of
15095         `menu-bar-make-mm-toggle'.
15097 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
15099         * calendar/calendar.el (cal-loaddefs):
15100         * calendar/diary-lib.el (diary-loaddefs):
15101         * calendar/holidays.el (hol-loaddefs):
15102         * eshell/esh-module.el (esh-groups): Load rather than require.
15104 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15106         * calendar/todo-mode.el (todo-add-category): Don't hardcode
15107         point-min==1.
15108         (todo-top-priorities): Only display-buffer when called interactively.
15109         (todo-item-start): Don't save excursion point.
15110         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
15111         (todo-insert-item-here, todo-file-item, todo-remove-item):
15112         Adjust uses of todo-item-start and todo-item-end.
15114         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
15115         (autoload-rubric): Don't use any more.
15117         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
15118         and only put a prop if it is non-nil.
15120 2009-11-03  Juri Linkov  <juri@jurta.org>
15122         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
15123         (menu-bar-options-menu): Fix list quoting (Bug#4429).
15125         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
15126         and "Menu" to make top-level menu item visually one unit (like
15127         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
15128         multi-word menu items).  Fix :help string for quit-window.
15130 2009-11-03  Glenn Morris  <rgm@gnu.org>
15132         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
15133         (byte-compile-file-form-define-abbrev-table)
15134         (byte-compile-file-form-custom-declare-variable)
15135         (byte-compile-variable-ref, byte-compile-defvar):
15136         Whether or not a warning is enabled should only affect whether we issue
15137         the warning, not whether or not we collect the relevant data.
15138         Eg warnings can be turned on and off throughout the course of a file.
15140         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
15141         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
15143 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15145         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
15146         * play/mpuz.el (mpuz-create-buffer):
15147         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
15148         (lm-print-y,s,noise, lm-print-w0, lm-init):
15149         * play/gomoku.el (gomoku-prompt-for-move):
15150         * play/fortune.el (fortune-in-buffer):
15151         * play/dissociate.el (dissociated-press):
15152         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
15153         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
15154         * mail/supercite.el (sc-eref-show):
15155         * mail/smtpmail.el (smtpmail-send-it):
15156         * mail/rmailsum.el (rmail-summary-next-labeled-message)
15157         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
15158         (rmail-summary-undelete-many, rmail-summary-rmail-update)
15159         (rmail-summary-goto-msg, rmail-summary-expunge)
15160         (rmail-summary-get-new-mail, rmail-summary-search-backward)
15161         (rmail-summary-add-label, rmail-summary-output-menu)
15162         (rmail-summary-output-body):
15163         * mail/rfc822.el (rfc822-addresses):
15164         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
15165         * mail/mailpost.el (post-mail-send-it):
15166         * mail/hashcash.el (hashcash-generate-payment):
15167         * mail/feedmail.el (feedmail-run-the-queue)
15168         (feedmail-queue-send-edit-prompt-help-first)
15169         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
15170         (feedmail-deduce-address-list):
15171         * eshell/esh-ext.el (eshell-remote-command):
15172         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
15173         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
15174         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
15175         (viper-save-string-in-file, viper-valid-marker):
15176         * emulation/viper-keym.el (viper-toggle-key):
15177         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
15178         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
15179         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
15180         * emulation/viper-cmd.el (viper-exec-form-in-vi)
15181         (viper-exec-form-in-emacs, viper-brac-function):
15182         * emulation/viper.el (viper-delocalize-var):
15183         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
15184         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
15185         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
15186         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
15187         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
15188         * emulation/edt.el (edt-electric-helpify):
15189         * emulation/cua-rect.el (cua--rectangle-aux-replace):
15190         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
15191         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
15192         (cua-indent-to-global-mark-column):
15193         * calendar/diary-lib.el (calendar-mark-1):
15194         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
15195         Use with-current-buffer.
15196         * emulation/viper.el (viper-delocalize-var): Use dolist.
15198 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
15200         * comint.el (comint-replace-by-expanded-history-before-point):
15201         Replace !! with the previous input string literally (Bug#1795).
15203 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
15205         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
15206         to be made up of whitespace.
15208 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
15210         * minibuffer.el (read-file-name): Don't use file dialogs for
15211         remote directories (Bug#99).
15213 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
15215         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
15217 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
15219         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
15220         instead of deleting the window or frame.
15222 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
15224         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
15225         Support face colors.
15227         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
15228         New function.  Support face colors (Bug#1168).
15229         (tex-common-initialization): Use it.
15231         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
15232         mode allows it (Bug#1168).
15234 2009-10-31  Juri Linkov  <juri@jurta.org>
15236         * facemenu.el (list-colors-display): Don't mark buffer as
15237         modified (Bug#3948).
15239 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
15241         * international/mule-diag.el (list-character-sets-1):
15242         Minor message fix (Bug#3526).
15244         * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
15245         Fix face property (Bug#4834).
15246         (etags-list-tags, etags-tags-apropos-additional)
15247         (etags-tags-apropos, tags-select-tags-table): Add follow-link
15248         property.
15250         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
15251         items.
15253 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
15255         * textmodes/two-column.el (2C-split):
15256         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
15257         * textmodes/tex-mode.el (tex-set-buffer-directory):
15258         * textmodes/spell.el (spell-region, spell-string):
15259         * textmodes/reftex.el (reftex-erase-buffer):
15260         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
15261         * textmodes/reftex-toc.el (reftex-toc-promote-action):
15262         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
15263         (reftex-select-item):
15264         * textmodes/reftex-ref.el (reftex-label-info-update)
15265         (reftex-offer-label-menu):
15266         * textmodes/reftex-index.el (reftex-index-change-entry)
15267         (reftex-index-phrases-info):
15268         * textmodes/reftex-global.el (reftex-create-tags-file)
15269         (reftex-save-all-document-buffers, reftex-ensure-write-access):
15270         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
15271         (reftex-view-crossref-from-bibtex):
15272         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
15273         (reftex-extract-bib-entries-from-thebibliography)
15274         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
15275         * textmodes/refbib.el (r2b-capitalize-title):
15276         (r2b-convert-buffer, r2b-help):
15277         * textmodes/page-ext.el (pages-directory)
15278         (pages-directory-goto-with-mouse):
15279         * textmodes/bibtex.el (bibtex-validate-globally):
15280         * textmodes/bib-mode.el (bib-capitalize-title):
15281         * textmodes/artist.el (artist-clear-buffer, artist-system):
15282         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
15283         (local-set-scheme-interaction-buffer, xscheme-process-filter)
15284         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
15285         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
15286         (xscheme-send-control-g-interrupt, xscheme-start-process)
15287         (xscheme-process-sentinel, xscheme-cd):
15288         * progmodes/verilog-mode.el (verilog-read-always-signals)
15289         (verilog-set-define, verilog-getopt-file)
15290         (verilog-module-inside-filename-p):
15291         * progmodes/sh-script.el:
15292         * progmodes/python.el (python-pdbtrack-get-source-buffer)
15293         (python-pdbtrack-grub-for-buffer, python-execute-file):
15294         * progmodes/octave-inf.el (inferior-octave):
15295         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15296         (idlwave-shell-compile-helper-routines, idlwave-set-local)
15297         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
15298         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
15299         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
15300         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
15301         (idlwave-shell-filter, idlwave-shell-examine-highlight)
15302         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
15303         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
15304         (idlwave-shell-examine-display, idlwave-shell-run-region)
15305         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
15306         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
15307         * progmodes/idlw-help.el (idlwave-help-get-special-help)
15308         (idlwave-help-get-help-buffer):
15309         * progmodes/gud.el (gud-basic-call, gud-find-class)
15310         (gud-tooltip-activate-mouse-motions-if-enabled):
15311         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
15312         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
15313         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
15314         (ebrowse-tags-next-file):
15315         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
15316         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
15317         (ebnf-eps-finish-and-write):
15318         * progmodes/cpp.el (cpp-edit-save):
15319         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
15320         * progmodes/cc-defs.el (c-emacs-features):
15321         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
15322         (antlr-directory-dependencies):
15323         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
15324         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
15325         (ada-find-any-references, ada-make-filename-from-adaname)
15326         (ada-make-body-gnatstub):
15327         * obsolete/rnews.el (news-list-news-groups):
15328         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
15329         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
15330         * net/rcirc.el (rcirc-debug):
15331         * net/newst-treeview.el (newsticker--treeview-list-add-item)
15332         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
15333         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
15334         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
15335         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
15336         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
15337         (newsticker--treeview-list-clear-highlight)
15338         (newsticker--treeview-list-update-highlight)
15339         (newsticker--treeview-list-highlight-start)
15340         (newsticker--treeview-tree-update-highlight)
15341         (newsticker--treeview-get-selected-item)
15342         (newsticker-treeview-mark-list-items-old)
15343         (newsticker--treeview-set-current-node):
15344         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
15345         * net/newst-backend.el (newsticker--get-news-by-funcall)
15346         (newsticker--get-news-by-wget, newsticker--image-get)
15347         (newsticker--image-sentinel):
15348         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
15349         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
15350         (eudc-ph-close-session):
15351         * net/eudc.el (eudc-save-options):
15352         * language/thai-word.el (thai-update-word-table):
15353         * language/japan-util.el (japanese-string-conversion):
15354         * international/titdic-cnv.el (tsang-quick-converter)
15355         (ziranma-converter, ctlau-converter):
15356         * international/mule-cmds.el (describe-language-environment):
15357         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
15358         (skkdic-convert-postfix, skkdic-convert-prefix):
15359         (skkdic-convert-okuri-nasi, skkdic-convert):
15360         * emacs-lisp/re-builder.el (reb-update-overlays):
15361         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
15362         * emacs-lisp/gulp.el (gulp-send-requests):
15363         * emacs-lisp/find-gc.el (trace-call-tree):
15364         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
15365         (eieio-describe-generic):
15366         * emacs-lisp/eieio-base.el (eieio-persistent-read):
15367         * emacs-lisp/edebug.el (edebug-outside-excursion):
15368         * emacs-lisp/debug.el (debugger-make-xrefs):
15369         * emacs-lisp/cust-print.el (custom-prin1-to-string):
15370         * emacs-lisp/chart.el (chart-new-buffer):
15371         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
15372         Use with-current-buffer.
15373         * textmodes/artist.el (artist-system): Don't call
15374         copy-sequence on a fresh string.
15375         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
15377 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
15379         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
15380         is no item to edit.  (Bug#4820)
15381         (todo-top-priorities): Restore point and restore narrowing in Todo
15382         buffer.  (Bug#4820)
15384 2009-10-31  Glenn Morris  <rgm@gnu.org>
15386         * net/ange-ftp.el (top-level): Don't require dired when compiling.
15387         (comint-last-output-start, comint-last-input-start)
15388         (comint-last-input-end): Don't defvar when compiling.
15389         (ange-ftp-process-file): Use bound-and-true-p.
15391         * pcmpl-rpm.el (top-level): Move provide statement to end.
15392         (pcmpl-rpm): Remove unused custom group.
15394         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
15396         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
15398         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
15399         (byte-compile-warnings): Add `constants' as an option.
15400         (byte-compile-callargs-warn, byte-compile-arglist-warn)
15401         (display-call-tree): Update for byte-compile-fdefinition possibly
15402         returning `(macro lambda ...)'.  (Bug#4778)
15403         (byte-compile-variable-ref, byte-compile-setq-default):
15404         Respect `constants' member of byte-compile-warnings.
15406 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15408         * vc-bzr.el (vc-bzr-revision-keywords): New var.
15409         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
15410         to "submit:".
15412 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
15414         * textmodes/ispell.el (ispell-skip-region-alist):
15415         * international/mule-conf.el (eight-bit):
15416         * international/fontset.el (font-encoding-alist):
15417         * startup.el (pure-space-overflow-message):
15418         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
15419         * paths.el (gnus-nntp-service, rmail-spool-directory)
15420         (term-file-prefix):
15421         * files.el (save-some-buffers-action-alist):
15422         * cmuscheme.el (same-window-buffer-names):
15423         * ielm.el (same-window-buffer-names):
15424         * shell.el (same-window-buffer-names):
15425         * mail/sendmail.el (same-window-buffer-names):
15426         * progmodes/inf-lisp.el (same-window-buffer-names):
15427         * bindings.el (mode-line-client)
15428         (mode-line-column-line-number-mode-map):
15429         * language/tibetan.el (tibetan-precomposition-rule-regexp)
15430         (tibetan-precomposed-regexp): Purecopy string arguments.
15432 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15434         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
15435         (calcDigit-nondigit):
15436         * calc/calc-yank.el (calc-copy-to-buffer):
15437         * calc/calc-units.el (calc-invalidate-units-table):
15438         * calc/calc-trail.el (calc-trail-yank):
15439         * calc/calc-store.el (calc-insert-variables):
15440         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
15441         * calc/calc-prog.el (calc-read-parse-table):
15442         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
15443         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
15444         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
15445         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
15446         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
15447         (calc-graph-name, calc-graph-find-command, calc-graph-view)
15448         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
15449         * calc/calc-ext.el (calc-realign):
15450         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
15451         (calc-embedded-finish-edit, calc-embedded-make-info)
15452         (calc-embedded-finish-command, calc-embedded-stack-change):
15453         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
15455         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
15456         shell-dynamic-complete-filename in preference to
15457         comint-dynamic-complete-filename.
15459         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
15460         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
15461         Don't consider whether the display supports colors.
15462         (bookmark-import-new-list): Use dolist.
15463         (bookmark-bmenu-mode-map): Move initialization into declaration.
15464         (bookmark-bmenu-list): Use dolist, simplify.
15465         (bookmark-show-all-annotations): Use save-selected-window and dolist.
15466         (menu-bar-final-items): Use push.
15468 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
15470         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
15471         it works on remote files.
15472         (vc-hg-diff): Don't pass any `--cwd' argument.
15474 2009-10-27  Kevin Ryde  <user42@zip.com.au>
15476         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15477         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
15478         (Further to Bug#3921).
15480 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
15482         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
15483         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
15484         calling `tramp-imap-put-file'.  Add file size to the call.
15485         (tramp-imap-get-file-entries): Compute also user name, file size,
15486         and date.
15487         (tramp-imap-handle-insert-directory): Insert uid and gid.
15488         (tramp-imap-handle-file-attributes): Transform uid and gid
15489         according to `id-format'.
15490         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
15491         size in header X-Size.
15493 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
15495         * simple.el (transpose-subr): Give clearer error when the mark
15496         is not set.  (Bug#4807)
15498 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
15500         * net/tramp.el (tramp-perl-file-truename): New defconst.
15501         Perl code contributed by yary <not.com@gmail.com> (tiny change).
15502         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
15503         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
15504         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
15506         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
15507         Ignore `dired-call-process'.
15508         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
15510 2009-10-26  Julian Scheid  <julians37@gmail.com>
15512         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
15513         (tramp-get-remote-readlink): New defun.
15514         (tramp-handle-file-truename): Use it.
15515         (tramp-handle-file-exists-p): Check file-attributes cache, assume
15516         file exists if cache value present.
15517         (tramp-check-cached-permissions): New defun.
15518         (tramp-handle-file-readable-p): Use it.
15519         (tramp-handle-file-writable-p): Likewise.
15520         (tramp-handle-file-executable-p): Likewise.
15521         (tramp-handle-file-name-all-completions): Try using Perl to get
15522         partial completions.  When perl not available, combine `cd' and
15523         `ls' into single remote operation and use shell expansion to get
15524         partial remote directory contents.  Set `file-exists-p' cache for
15525         directory and any files returned by ls.  Change cache handling to
15526         support partial directory contents.  Use error message emitted by
15527         remote `cd' or Perl code for local tramp-error.
15528         (tramp-do-copy-or-rename-file-directly): Avoid separate
15529         tramp-send-command-and-check call.
15530         (tramp-handle-process-file): Merge three remote ops into one.
15531         Do not flush all caches when `process-file-side-effects' is set.
15532         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
15533         file-attributes shows uid/gid to be set already.
15535 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
15537         * textmodes/tex-mode.el (tex-dvi-view-command)
15538         (tex-show-queue-command, tex-open-quote):
15539         * progmodes/ruby-mode.el (auto-mode-alist)
15540         (interpreter-mode-alist): Purecopy strings.
15542         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
15544         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
15545         string for the hook, keymap and abbrev table.
15547         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
15549         * x-dnd.el (x-dnd-xdnd-to-action):
15550         * startup.el (fancy-startup-text, fancy-about-text): Change to
15551         defconst from defvar.
15553         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
15555         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
15556         Purecopy initialization strings.
15558         * mail/sendmail.el (mail-header-separator)
15559         (mail-personal-alias-file):
15560         * mail/rmail.el (rmail-default-dont-reply-to-names)
15561         (rmail-ignored-headers, rmail-retry-ignored-headers)
15562         (rmail-highlighted-headers, rmail-secondary-file-directory)
15563         (rmail-secondary-file-regexp):
15564         * files.el (null-device, file-name-invalid-regexp)
15565         (locate-dominating-stop-dir-regexp)
15566         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
15567         (interpreter-mode-alist): Use mapcar instead of mapc.
15569         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
15571         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
15572         (completion-ignored-extensions):
15573         (debug-ignored-errors): Purecopy strings.
15575 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15577         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
15578         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
15579         (pcomplete--here): Use push.
15581         * subr.el (all-completions): Declare the 4th arg obsolete.
15583 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15585         * pcomplete.el (pcomplete-unquote-argument-function): New var.
15586         (pcomplete-unquote-argument): New function.
15587         (pcomplete--common-suffix): Always pay attention to case.
15588         (pcomplete--table-subvert): Quote and unquote the text.
15589         (pcomplete--common-quoted-suffix): New function.
15590         (pcomplete-std-complete): Use it and pcomplete-begin.
15592         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
15593         we're inside a dedicated or minibuffer window.
15595 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
15597         * bookmark.el: Update documentation, especially documentation
15598         of `bookmark-alist' and of the bookmark file format.
15599         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
15601 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
15603         * mail/emacsbug.el (report-emacs-bug): Clarify that the
15604         keybindings apply to the mail buffer (Bug#4003).  Shrink help
15605         window to buffer.
15607         * whitespace.el (whitespace-mode, whitespace-newline-mode)
15608         (global-whitespace-mode, global-whitespace-newline-mode)
15609         (whitespace-toggle-options, global-whitespace-toggle-options):
15610         Doc fix (Bug#3660).
15612         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
15613         of xmltok-start before the end tag was inserted (Bug#2840).
15615         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
15616         patterns that are preceded by an open-paren (Bug#1320).
15618 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
15620         * files.el (delete-directory): Delete symlinks to directories with
15621         delete-file (Bug#4739).
15623 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
15625         * vc.el (vc-backend-for-registration): Rename from
15626         vc-get-backend-for-registration.  Update callers.
15628         * international/mule-cmds.el (set-language-info-alist):
15629         Purecopy lang-env.
15630         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
15631         (charset): Purecopy the name.
15632         (define-char-code-property): Purecopy string arguments.
15634         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15635         Purecopy string arguments.
15637         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15638         * ediff-hook.el (menu-bar-ediff-menu):
15639         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
15640         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
15642 2009-10-24  Glenn Morris  <rgm@gnu.org>
15644         * comint.el (comint-dynamic-list-completions):
15645         * term.el (term-dynamic-list-completions): Use choose-completion rather
15646         than obsolete alias mouse-choose-completion.
15648         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
15649         file-cache-choose-completion.
15650         (file-cache-choose-completion): Handle an optional event argument.
15651         (file-cache-mouse-choose-completion): Make it an obsolete alias.
15653         * progmodes/octave-mod.el (octave-complete-symbol):
15654         Use choose-completion if mouse-choose-completion is ever removed.
15656         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
15657         use.
15659         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
15660         compiler.
15662         * vc-hooks.el (vc-responsible-backend): Fix declaration.
15664 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15666         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
15667         Ignore `pred' now that we receive one.
15668         Handle test-completion specially.
15670 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
15672         * vc.el (vc-responsible-backend): Throw an error if not backend is
15673         found.  Remove the REGISTER argument.  Move the code dealing with
15674         REGISTER ...
15675         (vc-get-backend-for-registration): ... here.  New function.
15676         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
15677         of vc-responsible-backend, pass the file name instead of the
15678         directory name.
15680 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15682         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
15683         New funs.
15684         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
15685         (pcomplete-comint-setup): Don't modify a global var via
15686         accidental side-effects.
15687         (pcomplete-shell-setup): Adjust call accordingly.
15688         (pcomplete-parse-comint-arguments): Use push.
15690 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
15692         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15693         Allow uncapitalized info node names (Bug#3921).
15695         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
15696         to the DEBUG file (Bug#3781).
15698 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
15700         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
15701         dictionary entry (Bug#4579).
15703 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
15705         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
15706         from `rfn-eshadow-update-overlay-hook' when unloading.
15707         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
15708         "rsyncc".  Adjust doc string.
15709         (tramp-temp-buffer-file-name): New buffer-local defvar.
15710         (tramp-handle-insert-file-contents, tramp-handle-write-region):
15711         Keep temporary file when indicated by method ("rsync" and
15712         "rsyncc").
15713         (tramp-handle-write-region): Handle APPEND.
15714         (tramp-delete-temp-file-function): New defun.  Added to
15715         `kill-buffer-hook'.
15717 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
15719         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
15721 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
15723         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
15724         (color-name-rgb-alist, tty-standard-colors)
15725         (tty-color-mode-alist): Change to defconst.
15727         * simple.el (mark-inactive): Purecopy message.
15729         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
15730         (global-map, yank-menu):
15731         * textmodes/ispell.el (ispell-menu-map):
15732         * net/eudc.el (eudc-tools-menu):
15733         * international/mule-cmds.el (describe-language-environment-map)
15734         (setup-language-environment-map, set-coding-system-map)
15735         (mule-menu-keymap):
15736         * vc-hooks.el (vc-menu-entry, vc-menu-map):
15737         * replace.el (occur-mode-map):
15738         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
15740 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
15742         * calc/calc.el (math-read-number, math-read-number-simple):
15743         Use `save-match-data'.
15745 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
15747         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
15748         rather than fiddling with global-map bindings, since it should only
15749         affect per-terminal settings.
15750         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
15752         * minibuffer.el (completion-table-with-terminator): Allow to specify
15753         the terminator-regexp.
15755         * simple.el (switch-to-completions): Look for *Completions* in other
15756         frames as well.
15758         * pcomplete.el: Allow the use of completion-tables.
15759         (pcomplete-std-complete): New command.
15760         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
15761         (pcomplete--here): Use a function for `form' rather than an expression,
15762         so it can be byte-compiled.
15763         (pcomplete-here, pcomplete-here*): Adjust accordingly.
15764         Add edebug declaration.
15765         (pcomplete-show-completions): Remove unused var `curbuf'.
15766         (pcomplete-do-complete, pcomplete-stub):
15767         Don't assume `completions' is a list of strings any more.
15769 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
15771         * find-dired.el (find-name-arg): Fix typo in docstring.
15773 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
15775         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
15776         (pcmpl-linux-fs-types): Same, and update to new modules layout.
15778         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
15779         pcomplete-entries.
15781         * comint.el (comint-read-input-ring, comint-write-input-ring)
15782         (comint-substitute-in-file-name)
15783         (comint-dynamic-complete-as-filename)
15784         (comint-dynamic-simple-complete)
15785         (comint-dynamic-list-filename-completions)
15786         (comint-dynamic-list-completions)
15787         (comint-redirect-results-list-from-process): Minor simplifications.
15789 2009-10-21  Kevin Ryde  <user42@zip.com.au>
15791         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
15792         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
15793         the first form.  And insert a blank line after ";;; Code" since
15794         that's usual style.  (Bug#4612)
15796         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
15798 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15800         * minibuffer.el (completion-table-with-terminator): Properly implement
15801         boundaries, in case `terminator' appears in the suffix.
15802         (completion--embedded-envvar-table): Don't return boundaries if
15803         there's no valid completion.  Simplify.
15804         (completion-file-name-table): New completion table extracted from
15805         completion--file-name-table.
15806         (completion--file-name-table): Use it.
15807         (read-file-name-predicate): Declare obsolete.
15808         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
15809         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
15810         completion-file-name-table, and use the `pred' argument.
15811         * files.el (locate-file-completion-table): Use the `pred' arg rather
15812         than read-file-name-predicate.
15813         (abbreviate-file-name): Use \` rather than ^ for BOS.
15815 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
15817         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
15818         vc-responsible-backend to register, it causes problems.
15820 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15822         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
15824 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
15826         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
15827         (tramp-smb-handle-file-attributes): Use it.
15828         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
15829         (tramp-smb-handle-insert-directory): Use `mapc' rather than
15830         `mapcar'.  Use `tramp-smb-get-stat-capability'.
15831         Add `dired-filename' text properties.
15832         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
15833         (tramp-smb-maybe-open-connection): Simplify check for smbclient
15834         version.
15836 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
15838         * subr.el (read-key-delay): Reduce to 0.01.
15839         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
15840         (bug#4751).
15842 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15844         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
15846         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
15847         (Info-menu): Remove unused vars `last' and `completions'.
15848         (Info-index-nodes): Remove unused var `node'.
15850         * info.el (Info-complete-menu-item): Use complete-with-action.
15852 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
15854         Make vc-annotate work through copies and renames.
15855         * vc-annotate.el (vc-annotate-extract-revision-at-line):
15856         Return the file name too.
15857         (vc-annotate-revision-at-line)
15858         (vc-annotate-find-revision-at-line)
15859         (vc-annotate-revision-previous-to-line)
15860         (vc-annotate-show-log-revision-at-line): Update to get the file
15861         name from vc-annotate-extract-revision-at-line.
15862         (vc-annotate-show-diff-revision-at-line-internal): Change the
15863         argument to mean whether to show a file diff or not.  Get the file
15864         name from vc-annotate-extract-revision-at-line.
15865         (vc-annotate-show-diff-revision-at-line):
15866         Update vc-annotate-show-diff-revision-at-line call.
15867         (vc-annotate-warp-revision): Add an optional file argument.
15869         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
15870         (vc-git-annotate-extract-revision-at-line): Also return the file
15871         name if found.
15873         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
15874         command.  Remove unused code.
15875         (vc-hg-annotate-re): Update to match --follow output.
15876         (vc-hg-annotate-extract-revision-at-line): Also return the file
15877         name if found.
15879         * vc.el: Update annotate-extract-revision-at-line documentation.
15881 2009-10-18  Kevin Ryde  <user42@zip.com.au>
15883         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
15884         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
15886         * net/browse-url.el (browse-url): Identify alist with "consp and
15887         not functionp" and let all other things go down the `apply' leg,
15888         as suggested by Stefan.  (Further to bug#4531.)
15890 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
15892         * minibuffer.el (read-file-name): Check for repeat before putting
15893         a default argument in file-name-history (Bug#4657).
15895         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
15896         read syntax (Bug#4737).
15898         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
15900 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
15902         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
15903         (html-tag-alist, html-tag-help): Add descriptions for undocumented
15904         entries and make note of obsolete tags.
15906 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
15908         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
15910 2009-10-18  Glenn Morris  <rgm@gnu.org>
15912         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
15913         grep, so that binary files (eg international/uni-bidi.el) can match.
15914         Remove test for "UnicodeData" files, since it is hopefully unnecessary
15915         now, and in any case the file header format has changed.
15917 2009-10-17  Glenn Morris  <rgm@gnu.org>
15919         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
15920         (flyspell-get-word, flyspell-large-region)
15921         (flyspell-auto-correct-previous-word): Doc/error message fixes.
15923 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
15925         * Makefile.in (ELCFILES): Add ede/shell.
15927 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
15929         * term/common-win.el (x-colors): Purecopy it.
15931 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15933         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
15934         permissive for when the buffer is empty.
15935         (tar-header-block-tokenize): Decode the username and groupname.
15936         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
15938 2009-10-17  Eric Ludlam  <zappo@gnu.org>
15940         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
15941         contains multibyte characters, choose first applicable coding
15942         system automatically.
15944 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15946         * international/mule-cmds.el (select-safe-coding-system): If the file
15947         has a coding cookie, use it regardless of any other setting (bug#4712).
15949 2009-10-17  Glenn Morris  <rgm@gnu.org>
15951         * foldout.el (foldout-mouse-swallow-events):
15952         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
15954         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
15955         (dired-keep-marker-copy, dired-keep-marker-hardlink)
15956         (dired-keep-marker-symlink, dired-dwim-target)
15957         (dired-copy-preserve-time): Do not autoload these defcustoms.
15959         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
15960         messages from messing up the file coding.  (Bug#4623)
15962 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
15964         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
15965         if no match is found for the current dictionary.  (Bug#4578)
15967         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
15968         optional, since that is how it is documented, and this is often called
15969         with a nil argument.  (Bug#4577)
15970         (flyspell-external-point-words, flyspell-auto-correct-word)
15971         (flyspell-correct-word-before-point, flyspell-word-search-forward)
15972         (flyspell-word-search-backward): Remove nil argument in calls to
15973         flyspell-get-word, since it is not needed now.
15975 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
15977         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
15979 2009-10-16  Glenn Morris  <rgm@gnu.org>
15981         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
15983 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
15985         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
15986         (ange-ftp-file-size): New function.
15987         (ange-ftp-file-attributes): Use it.
15989 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
15991         * net/tramp-smb.el (tramp-smb-version): New defvar.
15992         (tramp-smb-maybe-open-connection): Use it, in order to avoid
15993         repeated checks.
15995 2009-10-16  Glenn Morris  <rgm@gnu.org>
15997         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
15998         Maybe copy some custom properties from old to new name.  (Bug#4706)
16000 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
16002         * subr.el (error, sit-for, start-process-shell-command)
16003         (start-file-process-shell-command): Set the calling convention
16004         after the function definition.
16006 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16008         * subr.el (error, sit-for, start-process-shell-command)
16009         (start-file-process-shell-command): Use the new
16010         set-advertised-calling-convention feature.
16012 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
16014         * international/ucs-normalize.el (ucs-normalize-version):
16015         Change to 1.2.
16016         (check-range): Adjust for Unicode 5.2.
16018 2009-10-15  Juri Linkov  <juri@jurta.org>
16020         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
16021         to the `menu-item' format.
16023 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
16025         * net/tramp.el (tramp-replace-environment-variables): Do not fail
16026         if the environment variable does not exist.
16028         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16029         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
16030         parameter.
16031         (tramp-smb-handle-add-name-to-file)
16032         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16033         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16034         (tramp-smb-handle-file-attributes)
16035         (tramp-smb-do-file-attributes-with-stat)
16036         (tramp-smb-handle-file-local-copy)
16037         (tramp-smb-handle-insert-directory)
16038         (tramp-smb-handle-make-directory)
16039         (tramp-smb-handle-make-directory-internal)
16040         (tramp-smb-handle-make-symbolic-link)
16041         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
16042         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
16043         (tramp-smb-maybe-open-connection): Apply the changed parameters.
16044         (tramp-smb-read-file-entry): Read Disk names in compressed format.
16045         Handle long file names.
16046         (tramp-smb-get-cifs-capabilities): Check, whether the connection
16047         process is running.
16048         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
16049         Read share names with "-g" option.
16051 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
16053         * net/rcirc.el (rcirc-view-log-file): New command.
16054         (rcirc-track-minor-mode-map): Remove C-c ` binding.
16055         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
16056         specified.
16058 2009-10-15  Glenn Morris  <rgm@gnu.org>
16060         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
16061         from the second command-line argument.
16062         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
16063         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
16064         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
16065         w32-batch-update-autoloads.
16066         * emacs-lisp/autoload.el (autoload-make-program): New variable.
16067         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
16069         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
16070         the headers cannot be located.  Simplify, subtracting superflous
16071         save-excursions.
16073 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16075         Replace completion-base-size by completion-base-position to fix bugs
16076         such as (bug#4699).
16077         * simple.el (completion-base-position): New var.
16078         (completion-base-size): Mark as obsolete.
16079         (choose-completion): Make it work for mouse events as well.
16080         Pass the new base-position to choose-completion-string.
16081         (choose-completion-guess-base-position): New function, extracted from
16082         choose-completion-delete-max-match.
16083         (choose-completion-delete-max-match): Use it.  Make obsolete.
16084         (choose-completion-string): Use the new base-position info.
16085         (completion-root-regexp): Delete.
16086         (completion-setup-function): Preserve completion-base-position.
16087         Eliminate obsolete base-size manipulation.
16088         * minibuffer.el (display-completion-list): Don't mess with base-size.
16089         (minibuffer-completion-help): Set completion-base-position instead.
16090         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
16091         choose-completion.
16092         * textmodes/bibtex.el (bibtex-complete):
16093         * emacs-lisp/crm.el (crm--choose-completion-string):
16094         Adjust to new calling convention.
16095         * complete.el (partial-completion-mode): Use minibufferp to avoid
16096         bumping into incompatible change to choose-completion-string-functions.
16097         * ido.el (ido-choose-completion-string): Make its calling convention
16098         more permissive.
16099         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
16100         base-size manipulation.
16101         (comint-dynamic-list-input-ring): Use dotimes and push.
16102         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
16103         fundamental-mode.  Use `or'.
16105 2009-10-14  Juri Linkov  <juri@jurta.org>
16107         * misearch.el (multi-isearch-next-buffer-from-list)
16108         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
16110 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16112         * Makefile.in (compile-onefile): Load `bytecomp' rather than
16113         `bytecomp.el'.
16115         * minibuffer.el (completion-pcm--merge-completions): Make sure the
16116         string we return is all made up of text from the completions rather
16117         than part from the completions and part from the input (bug#4219).
16119         * ido.el (ido-everywhere): Use define-minor-mode.
16121         * buff-menu.el (list-buffers, ctl-x-map):
16122         Mark the entry points with ;;;###autoload cookies.
16124 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
16126         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
16127         correctly in the detached head case.
16128         (vc-git-print-log): Remove unused binding.
16130         * vc.el (vc-responsible-backend): When a directory is passed for
16131         for registration create a VC repository if no backend is
16132         responsible for the directory argument.
16133         (vc-deduce-fileset): Tell vc-responsible-backend to register.
16135         * vc.el: Move comments about RCS and SCCS ...
16136         * vc-rcs.el:
16137         * vc-sccs.el: ... here, respectively.
16139 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16141         * minibuffer.el (completion--file-name-table): Return nil if there's
16142         no file completion, even if substitute-in-file-name changed
16143         the string (bug#4708).
16145 2009-10-13  Juri Linkov  <juri@jurta.org>
16147         * files-x.el (read-file-local-variable-value): Don't filter out
16148         minor modes from mode name completion (bug#4664).
16150 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
16152         * international/mule-cmds.el (ucs-names): Remove exclusion of
16153         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
16155 2009-10-13  Kenichi Handa  <handa@m17n.org>
16157         * international/uni-name.el: Regenerated.
16159 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
16161         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
16162         should be automatically buffer-local, but isn't.)
16164 2009-10-12  Sam Steingold  <sds@gnu.org>
16166         * progmodes/compile.el (compilation-next-error-function): Fix the
16167         timestamps if the buffer has been visited before.
16168         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
16169         non-anchored patterns, like the perl one (bug#3928).
16171 2009-10-12  Glenn Morris  <rgm@gnu.org>
16173         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
16174         Let-bind `size'.
16176 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
16178         * proced.el (proced-unload-function): New function.
16180         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
16181         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
16182         Doc fix.
16184         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
16186 2009-10-11  Juri Linkov  <juri@jurta.org>
16188         * files-x.el (read-file-local-variable-value):
16189         Provide default value only for bound variables (bug#4664).
16191 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
16193         * net/tramp.el (tramp-local-host-p): Function shall return nil for
16194         connection methods like smb.
16196         * net/tramp-cache.el (tramp-flush-connection-property): The hash
16197         can be empty.
16199         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16200         (tramp-smb-file-name-handler-alist): Add handlers for
16201         `add-name-to-file', `make-symbolic-link'.
16202         (tramp-smb-handle-add-name-to-file)
16203         (tramp-smb-do-file-attributes-with-stat)
16204         (tramp-smb-handle-make-symbolic-link)
16205         (tramp-smb-get-cifs-capabilities): New defuns.
16206         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16207         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16208         (tramp-smb-handle-file-local-copy)
16209         (tramp-smb-handle-make-directory-internal)
16210         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
16211         The file name syntax depends on cifs capabilities.
16212         (tramp-smb-handle-file-attributes):
16213         Call `tramp-smb-do-file-attributes-with-stat' if possible.
16214         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
16215         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
16217 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
16219         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
16220         (eieio-defclass): Apply deftype handler and setf-method properties
16221         directly.
16222         (eieio-add-new-slot): Avoid union function from cl library.
16223         (eieio--typep): New function.
16224         (eieio-perform-slot-validation): Use it.
16226 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
16228         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
16229         Update documentation to refer to the variables documented in r1.135.
16230         (Bug#4188)
16232 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
16234         * bookmark.el (Info-suffix-list): Remove this unused variable.
16235         (bookmark-current-point): Remove this obsolete variable.
16236         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
16237         Adjust for removal of bookmark-current-point.
16239         (bookmarks-already-loaded, bookmark-current-buffer)
16240         (bookmark-yank-point): Document.  (Bug#4188)
16242 2009-10-10  Glenn Morris  <rgm@gnu.org>
16244         * frame.el (frame-height): Doc fix.
16246         * calendar/calendar.el (calendar-split-width-threshold): New option.
16247         (calendar-basic-setup): Use calendar-split-width-threshold.
16249 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
16251         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
16252         Ideographic Supplement" range (U+1F200..U+1F2FF).
16254 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
16256         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
16257         since the list will have been rebuilt anyway.  (Bug#4349)
16259 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
16261         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
16262         (bookmark-bmenu-execute-deletions): Don't save here, as
16263         bookmark-delete will now do so if necessary.
16264         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
16265         (Bug#4348)
16267 2009-10-09  Glenn Morris  <rgm@gnu.org>
16269         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
16271 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
16273         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
16274         (bookmark-jump-other-window): Just invoke bookmark-jump with new
16275         argument now, so the two function's behaviors will match.  (Bug#3645)
16277 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
16279         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
16280         (tramp-file-name-real-host, tramp-file-name-port):
16281         Apply `save-match-data'.
16283         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
16284         case both directories are remote.
16285         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
16286         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
16288 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
16290         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
16292 2009-10-07  Glenn Morris  <rgm@gnu.org>
16294         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
16295         of concat.
16297 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
16299         * files-x.el (read-file-local-variable): Include some
16300         non-user-variables in the completion table (bug#4664).
16302 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
16304         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
16305         message.
16307         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16308         (tramp-smb-file-name-handler-alist): Add handler for
16309         `copy-directory', `expand-file-name', `set-file-modes'.
16310         (tramp-smb-handle-copy-directory)
16311         (tramp-smb-handle-expand-file-name)
16312         (tramp-smb-handle-set-file-modes): New defuns.
16313         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
16314         (tramp-smb-handle-file-attributes): Simplify check for retrieving
16315         entry.
16316         (tramp-smb-handle-insert-directory): Don't flush the cache.
16317         (tramp-smb-maybe-open-connection): Check for samba client and
16318         server versions.
16320 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
16322         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
16323         to not error out of search for "^lisp=" fails.
16325 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
16327         * makefile.w32-in (WINS_UPDATES): New macro.
16328         (custom-deps, finder-data, autoloads): Use it.
16330 2009-10-07  Glenn Morris  <rgm@gnu.org>
16332         * Makefile.in (autoloads): Revert previous change.
16333         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
16334         the list of preloaded files passed on the command-line, get
16335         it from src/Makefile.
16337         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
16338         show the original buffer rather than a random one.
16340 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
16342         * help.el (describe-no-warranty): Place point in a slightly better
16343         position in the GPLv3 text.
16345 2009-10-06  Sam Steingold  <sds@gnu.org>
16347         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
16348         the comm attribute is present before calling regexp-quote.
16350 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
16352         * play/animate.el (animate-string): For good effect, make sure
16353         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
16355         * play/animate.el (animate-sequence, animate-birthday-present):
16356         * misc.el (butterfly): Don't set `indent-tabs-mode'.
16358 2009-10-06  Glenn Morris  <rgm@gnu.org>
16360         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
16362         * emacs-lisp/autoload.el (autoload-excludes): New variable.
16363         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
16364         (batch-update-autoloads): Process a string value of autoload-excludes,
16365         set during the build process.
16366         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
16368         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
16369         inside with-parsed...  macro so that `v' is defined.
16371         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
16372         * progmodes/fortran.el (fortran-end-of-block)
16373         (fortran-beginning-of-block):
16374         Also push mark in the macro case.
16376         * emerge.el (emerge-show-file-name):
16377         * calc/calc.el (calc-quit):
16378         * calc/calc-misc.el (calc-big-or-small):
16379         * calc/calc-graph.el (calc-graph-view):
16380         * calc/calc-ext.el (calc-reset):
16381         * calendar/calendar.el (calendar-basic-setup):
16382         Use window-full-height-p.
16384         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
16385         header we don't understand, don't insert another.  (Bug#4624)
16386         If changing mime charset, insert the new one in the right place.
16388 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
16390         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
16391         (cal-tex-cursor-month): Correctly increment the end date for diary and
16392         holiday listing.  (Bug#4626)
16394 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16396         * help-fns.el (describe-function-1): Don't burp if the function is not
16397         a symbol.
16399 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
16401         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
16402         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
16403         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
16404         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
16406         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
16407         (eieio-default-superclass): Reflow docstrings.
16408         (this, class-option-assoc, defclass, eieio-class-un-autoload)
16409         (eieio-unbind-method-implementations, defmethod)
16410         (eieio-validate-slot-value, eieio-validate-class-slot-value)
16411         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
16412         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
16413         (eieio-slot-originating-class-p, eieio-slot-name-index)
16414         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
16415         (constructor, initialize-instance, no-next-method, object-print)
16416         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
16417         Fix typos in docstrings.
16418         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
16419         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
16420         (next-method-p): Doc fixes.
16421         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
16422         Fix typos in error messages.
16423         (eieio-defmethod): Fix typo in description of generic method.
16425         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
16426         (eieio-persistent-save-interactive, slot-missing):
16427         Fix typos in docstrings.
16428         (eieio-instance-inheritor-slot-boundp): Doc fix.
16430         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
16431         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
16433         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
16434         (eieio-custom-object-apply-reset):
16435         Fix typos in docstrings and error messages.
16437         * emacs-lisp/eieio-datadebug.el (data-debug-show):
16438         Fix typo in docstring.
16440         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
16441         (eieio-browse-tree): Doc fix.
16442         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
16443         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
16444         Fix typos in docstrings.
16446         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
16447         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
16448         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
16449         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
16450         Reflow docstrings.
16452 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
16454         * vc-hg.el (log-view-vc-backend): Declare for compiler.
16455         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
16456         Set log-view-vc-backend so that diff can work.
16458         * log-view.el (log-view-diff): Use vc-diff-internal instead of
16459         vc-version-diff.
16460         (vc-diff-internal): Autoload this instead of vc-version-diff.
16462 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
16464         * simple.el (eval-expression): Doc fix.
16466         * progmodes/cwarn.el (cwarn-mode): Doc fix.
16468 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
16470         * files.el (directory-files-no-dot-files-regexp): New defconst.
16471         (delete-directory): Use it.
16472         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
16474         * net/tramp.el (tramp-verbose): Fix docstring.
16475         (tramp-methods): Add recursive option to `tramp-copy-args'.
16476         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
16477         "scp1_old", "scp2_old", "rsync", "rsyncc".
16478         (tramp-default-method): Check also for `auth-source-user-or-password'.
16479         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
16480         Add handler for `copy-directory'.
16481         (tramp-handle-copy-directory): New defun.
16482         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
16483         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
16484         Optimize sent command.
16486 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16488         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
16489         window if necessary.
16491         * calendar/calendar.el (calendar-basic-setup): Don't call
16492         switch-to-buffer in a dedicated window.
16494 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
16496         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
16497         don't do anything related to relocating, just return nil.
16498         (bookmark-error-no-filename): New error.
16499         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
16500         bookmark has no file.  Don't even attempt to handle things that
16501         are not files; the whole point of custom handlers is to keep that
16502         knowledge elsewhere anyway.  Tighten some comments.
16503         (bookmark-file-or-variation-thereof): Remove now-unused function.
16504         (bookmark-location): Doc string fix.
16505         (Bug#4250)
16507 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16509         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
16510         don't use a file dialog, because they usually don't know how to read
16511         a directory target from the user.  (Bug#4230)
16512         Also, make sure the prompt can display directories as well as files.
16514 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16516         * bookmark.el (bookmark-set, bookmark-buffer-name):
16517         Improve doc strings.  (Bug#1193)
16519 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16521         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
16522         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
16523         (bookmark-get-annotation, bookmark-set-annotation)
16524         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
16525         (bookmark-set-position, bookmark-get-front-context-string)
16526         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
16527         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
16528         (bookmark-jump-other-window, bookmark-handle-bookmark)
16529         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
16530         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
16531         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
16532         Improve doc strings to say whether bookmark can be a string or
16533         a record or both, and make other consistency and clarity fixes.
16534         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
16535         (bookmark-default-annotation-text, bookmark-yank-word)
16536         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
16537         (bookmark-import-new-list, bookmark-maybe-rename)
16538         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
16539         (bookmark-bmenu-bookmark): Give these doc strings.
16540         (bookmark-bmenu-check-position): Give this a doc string, but also
16541         add a FIXME comment about how the function may be pointless.
16542         (bookmark-default-handler): Rework doc string and change a
16543         parameter name, to clarify that this takes a bookmark record
16544         not a bookmark name.
16545         (bookmark-set): Change a parameter name to indicate its meaning,
16546         and improve the doc string a bit.
16547         (Bug#4188)
16549 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16551         * bookmark.el (bookmark-alist): Document the new `handler' element
16552         in the param alist.
16553         (bookmark-make-record-function): Adjust documentation for above.
16554         (Bug#4193)
16556 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16558         * info.el (Info-bookmark-make-record): Document this function.
16559         (Info-bookmark-jump): Document with a doc string, not just a comment.
16560         (Bug#4203)
16562 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
16564         * files.el (copy-directory): New defun.
16566         * dired-aux.el (dired-copy-file-recursive): Use it.
16568 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
16570         * files-x.el (modify-dir-local-variable)
16571         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
16572         docstrings.
16574         * recentf.el (recentf-unload-function): New function.
16576 2009-10-04  Glenn Morris  <rgm@gnu.org>
16578         * window.el (window-full-height-p): Add doc string.
16580 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
16582         * window.el (window-full-height-p): New function.  (Bug#4543)
16584 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
16586         * vc.el: Remove commented out code.
16587         (vc-derived-from-dir-mode): Remove, unused.
16588         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
16590 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
16592         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
16593         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
16594         there could be recursive loading when `default-directory' is a
16595         remote file name.  (Bug#4614)
16597 2009-10-03  Glenn Morris  <rgm@gnu.org>
16599         * calendar/calendar.el (calendar-basic-setup): Handle the case where
16600         the frame is wide.
16601         (calendar-generate-window): Test for shrinkability rather than width.
16603         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
16604         reusing existing buffers, in case we happen to visit two files with the
16605         same basename.  (Bug#4593)
16607 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
16609         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
16610         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
16611         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
16612         subdirs of cedet as well.
16613         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
16615 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
16617         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
16618         Obey advertised-signature-table.
16620         * help-fns.el (help-function-arglist): Don't check
16621         advertised-signature-table.
16622         (describe-function-1): Do it here instead so it also applies to subrs.
16624 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
16626         * simple.el (start-file-process): Say in the doc-string, that file
16627         handlers might not support pty association, if PROGRAM is nil.
16629         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
16630         HOST and USER are strings.  They are nil, when there are
16631         incomplete entries in ~/.netrc, for example.
16632         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
16633         root directory ("device busy" error otherwise).
16635         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
16636         Flush file properties of created directory.
16638 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
16640         * makefile.w32-in (WINS_BASIC): Remove cedet.
16641         (WINS_CEDET): Add cedet.
16642         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
16644 2009-10-02  Kevin Ryde  <user42@zip.com.au>
16646         * net/browse-url.el (browse-url): Pass any symbol in
16647         browse-url-browser-function to `apply', since if you've mistakenly put
16648         an unbound symbol then the error is clearer.  (Bug#4531)
16650 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
16652         * allout.el (allout-init, allout-back-to-current-heading)
16653         (allout-beginning-of-current-entry, allout-ascend-to-depth)
16654         (allout-ascend, allout-up-current-level, allout-end-of-level)
16655         (allout-previous-visible-heading, allout-forward-current-level)
16656         (allout-backward-current-level, allout-show-children):
16657         * apropos.el (apropos-describe-plist):
16658         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
16659         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
16660         * completion.el (add-completion, add-permanent-completion):
16661         * descr-text.el (describe-text-category, describe-char):
16662         * desktop.el (desktop-lazy-abort):
16663         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
16664         * dired.el (dired-build-subdir-alist):
16665         * ediff.el (ediff-version):
16666         * elide-head.el (elide-head, elide-head-show):
16667         * emerge.el (emerge-version):
16668         * env.el (getenv):
16669         * face-remap.el (variable-pitch-mode):
16670         * faces.el (describe-face):
16671         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
16672         (dired-at-point):
16673         * files.el (find-file-existing, auto-save-mode):
16674         * font-lock.el (font-lock-fontify-buffer):
16675         * help-fns.el (describe-function, describe-variable)
16676         (describe-syntax, describe-categories):
16677         * help.el (view-lossage, describe-bindings, describe-key)
16678         (describe-mode):
16679         * hexl.el (hexl-current-address):
16680         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
16681         * info.el (Info-goto-emacs-key-command-node):
16682         * log-edit.el (log-edit-insert-cvs-template)
16683         (log-edit-insert-cvs-rcstemplate):
16684         * menu-bar.el (menu-bar-mode):
16685         * mouse.el (mouse-appearance-menu):
16686         * newcomment.el (comment-indent-new-line):
16687         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
16688         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
16689         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
16690         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
16691         * recentf.el (recentf-mode):
16692         * savehist.el (savehist-mode, savehist-save):
16693         * shadowfile.el (shadow-copy-files):
16694         * simple.el (kill-ring-save, next-line, previous-line)
16695         (normal-erase-is-backspace-mode):
16696         * strokes.el (strokes-update-window-configuration)
16697         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
16698         (strokes-xpm-for-stroke):
16699         * time.el (emacs-uptime, emacs-init-time):
16700         * tutorial.el (tutorial--describe-nonstandard-key)
16701         (tutorial--detailed-help):
16702         * type-break.el (type-break-mode)
16703         (type-break-mode-line-message-mode, type-break-query-mode)
16704         (type-break-guesstimate-keystroke-threshold):
16705         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
16706         * version.el (emacs-version):
16707         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
16708         * winner.el (winner-mode):
16709         * calendar/timeclock.el (timeclock-in, timeclock-out)
16710         (timeclock-status-string, timeclock-change)
16711         (timeclock-workday-remaining-string)
16712         (timeclock-workday-elapsed-string)
16713         (timeclock-when-to-leave-string):
16714         * calendar/todo-mode.el (todo-add-category):
16715         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
16716         * emacs-lisp/autoload.el (update-file-autoloads):
16717         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
16718         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
16719         (checkdoc-message-text, checkdoc-defun):
16720         * emacs-lisp/debug.el (debugger-list-functions):
16721         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
16722         * emacs-lisp/eieio-opt.el (eieio-describe-class)
16723         (eieio-describe-generic):
16724         * emacs-lisp/lisp-mnt.el (lm-synopsis):
16725         * emacs-lisp/shadow.el (list-load-path-shadows):
16726         * emulation/cua-base.el (cua-mode):
16727         * emulation/edt.el (edt-set-scroll-margins):
16728         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
16729         (tpu-toggle-regexp, tpu-toggle-search-direction)
16730         (tpu-toggle-rectangle, tpu-toggle-control-keys):
16731         * emulation/tpu-extras.el (tpu-set-scroll-margins):
16732         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
16733         (viper-set-parsing-style-toggling-macro)
16734         (viper-set-emacs-state-searchstyle-macros):
16735         * emulation/viper.el (viper-set-hooks):
16736         * eshell/esh-mode.el (eshell-truncate-buffer):
16737         * international/mule-cmds.el (prefer-coding-system)
16738         (describe-input-method, describe-language-environment):
16739         * international/mule-diag.el (list-character-sets)
16740         (describe-character-set, describe-coding-system)
16741         (describe-fontset, list-fontsets, list-input-methods):
16742         * mail/sendmail.el (mail-signature):
16743         * net/ange-ftp.el (ange-ftp-copy-file):
16744         * net/browse-url.el (browse-url):
16745         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
16746         * net/quickurl.el (quickurl-add-url):
16747         * net/rcirc.el (names, topic):
16748         * net/xesam.el (xesam-mode):
16749         * play/5x5.el (5x5-new-game):
16750         * play/yow.el (apropos-zippy):
16751         * progmodes/ada-mode.el (ada-mode-version):
16752         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
16753         (f90-end-of-block)
16754         (f90-beginning-of-block):
16755         * progmodes/fortran.el (fortran-end-of-block)
16756         (fortran-beginning-of-block):
16757         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
16758         * progmodes/python.el (python-describe-symbol, python-shell):
16759         * term/ns-win.el (ns-print-buffer):
16760         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
16761         * textmodes/flyspell.el (flyspell-mode-on):
16762         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
16763         (pages-directory-for-addresses):
16764         * textmodes/table.el (table-recognize-cell)
16765         (table-query-dimension, table-generate-source)
16766         (table-insert-sequence, table--warn-incompatibility):
16767         * textmodes/tex-mode.el (tex-validate-buffer):
16768         * textmodes/texinfmt.el (texinfmt-version)
16769         (texinfo-format-buffer):
16770         Use `called-interactively-p' instead of `interactive-p'.
16772 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
16774         * image-mode.el (image-toggle-display):
16775         * emacs-lisp/elp.el (elp-instrument-function):
16776         * emacs-lisp/advice.el (ad-make-advised-definition):
16777         * emacs-lisp/easy-mmode.el (define-minor-mode):
16778         * net/browse-url.el (browse-url-maybe-new-window):
16779         * progmodes/sh-script.el (sh-learn-buffer-indent):
16780         Pass new argument 'any to `called-interactively-p'.
16782 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
16784         * international/uni-bidi.el:
16785         * international/uni-category.el:
16786         * international/uni-combining.el:
16787         * international/uni-comment.el:
16788         * international/uni-decimal.el:
16789         * international/uni-decomposition.el:
16790         * international/uni-digit.el:
16791         * international/uni-lowercase.el:
16792         * international/uni-mirrored.el:
16793         * international/uni-name.el:
16794         * international/uni-numeric.el:
16795         * international/uni-old-name.el:
16796         * international/uni-titlecase.el:
16797         * international/uni-uppercase.el:
16798         Regenerate from Unicode 5.2.0 data.
16800 2009-10-01  Glenn Morris  <rgm@gnu.org>
16802         * Makefile.in (ELCFILES): Regenerate.
16804 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16806         * subr.el (interactive-p): Mark obsolete.
16807         (called-interactively-p): Make the optional-ness of `kind' obsolete.
16808         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
16809         advertised-signature-table for subroutines as well.
16811         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
16812         (set-advertised-calling-convention): New function.
16813         (make-obsolete, define-obsolete-function-alias)
16814         (make-obsolete-variable, define-obsolete-variable-alias):
16815         Make the optional-ness of `when' obsolete.
16816         (define-obsolete-face-alias): Make `when' non-optional.
16817         * help-fns.el (help-function-arglist):
16818         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
16819         Use advertised-signature-table.
16821 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
16823         * files.el (delete-directory): New defun.  The original function
16824         in fileio.c has been renamed to `delete-directory-internal'.
16826         * dired.el (dired-delete-file): Call `delete-directory' with
16827         RECURSIVE parameter.
16829         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
16830         parameter RECURSIVE.  Implementation is missing.
16832         * net/tramp.el (tramp-handle-make-directory): Flush upper
16833         directory's file properties.
16834         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
16835         (tramp-handle-dired-recursive-delete-directory): Flush directory
16836         properties after the remove command only.
16838         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16839         Handle optional parameter RECURSIVE.
16841         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16842         Handle optional parameter RECURSIVE.
16844         * net/tramp-smb.el (tramp-smb-errors): Add error message for
16845         connection timeout.
16846         (tramp-smb-handle-delete-directory): Handle optional parameter
16847         RECURSIVE.
16849 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16851         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
16852         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
16853         (byte-compile-defmacro): Use backquotes.
16855         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
16857         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
16858         has no associated file.
16859         (vc-resynch-buffer): Use vc-dir-buffers.
16861 2009-10-01  Glenn Morris  <rgm@gnu.org>
16863         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
16864         (chart-file-count):
16865         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
16866         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
16867         * emacs-lisp/eieio-opt.el (eieio-describe-class):
16868         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
16869         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
16870         (eieio-copy-parents-into-subclass, make-instance, class-children)
16871         (eieio-generic-form):
16873         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
16874         match-data.  (Bug#4555).
16876         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
16877         rather than parsing it as a regexp.  This relaxes the layout
16878         requirements and makes errors easier to detect.
16879         (check-declare-verify): Check file is regular.
16880         (check-declare-directory): Doc fix.
16881         * subr.el (declare-function): Doc fix.
16883         * ibuffer.el (ibuffer-format-qualifier):
16884         * isearch.el (hi-lock-regexp-okay):
16885         * calc/calc.el (math-zerop):
16886         * mail/uce.el (rmail-msgbeg, rmail-msgend):
16887         * term/w32-win.el (setup-default-fontset, set-fontset-font):
16888         Remove unused declarations.
16890 2009-09-30  Eric Ludlam  <zappo@gnu.org>
16892         * emacs-lisp/eieio.el (boolean-p): Delete.
16894 2009-09-30  Glenn Morris  <rgm@gnu.org>
16896         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
16898         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
16899         filename is not a string.
16901 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
16903         * files.el (safe-local-eval-forms): Fix typo.
16905 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
16907         * vc-hooks.el (vc-dir-buffers): New var.
16908         (vc-state-refresh): New function.
16909         (vc-state): Use it.
16910         (vc-after-save): Always ask the backend to recompute the new state.
16911         Always call vc-dir if necessary, using vc-dir-buffers.
16912         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
16913         Use vc-dir-buffers.
16914         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
16915         (vc-dir-prepare-status-buffer, vc-dir-update)
16916         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
16917         Don't call expand-file-name on default-directory.
16919 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
16921         * speedbar.el (speedbar-item-delete):
16922         * calc/calc-prog.el (calc-kbd-if):
16923         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
16925         * epa.el (epa-key-list-mode-map):
16926         * hi-lock.el (hi-lock-menu): Fix typos in menus.
16928         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
16929         (hs-show-hook): Fix typo in docstring.
16931 2009-09-29  Glenn Morris  <rgm@gnu.org>
16933         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
16934         file-name-nondirectory call preventing location of cedet files.
16935         (check-declare-verify): Use literal search rather than re-search.
16936         Add basic defmethod and defclass, and define-overloadable-function.
16938         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16939         Use tramp-compat-file-attributes rather than nonexistent
16940         tramp-compat-handle-file-attributes.
16942         * Makefile.in (lisptagsfiles4): New.
16943         (AUTOGENEL): Add cedet loaddefs files.
16944         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
16945         (update-elclist, compile-always, backup-compiled-files)
16946         (bootstrap-clean): Add yet another directory level.
16947         (update-elclist): Use LC_COLLATE rather than COLLATE.
16948         (ELCFILES): Update, via `make update-elclist'.
16950 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
16952         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
16953         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
16954         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
16956 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
16958         * Makefile.in (lisptagsfiles3): Define.
16959         (TAGS, TAGS-LISP): Use it.
16960         (update-elclist): Add third directory level to look for elc files.
16961         (compile-always): Likewise.
16962         (backup-compiled-files): Likewise.
16963         (bootstrap-clean): Likewise.
16964         (ELCFILES): Update.
16966 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
16968         * Makefile.in (ELCFILES): Add CEDET files.
16970 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
16972         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
16974         * net/tramp.el (top): Require tramp-imap.
16976         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16977         Use `tramp-compat-handle-file-attributes'.
16979 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
16981         * net/tramp-imap.el: New package.
16983 2009-09-28  Eric Ludlam  <zappo@gnu.org>
16985         * emacs-lisp/chart.el:
16986         * emacs-lisp/eieio-base.el:
16987         * emacs-lisp/eieio-comp.el:
16988         * emacs-lisp/eieio-custom.el:
16989         * emacs-lisp/eieio-datadebug.el:
16990         * emacs-lisp/eieio-opt.el:
16991         * emacs-lisp/eieio-speedbar.el:
16992         * emacs-lisp/eieio.el: New files.
16994 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
16996         * whitespace.el (whitespace-trailing-regexp)
16997         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
16998         Fix doc string.
17000 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
17002         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
17003         menu.
17005         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
17006         menu-bar-ediff-menu.
17008         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
17009         define-overloadable-function.
17011         * progmodes/autoconf.el: Provide autoconf as well, so that this
17012         file can be `require'd.
17014         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
17016         * emacs-lisp/autoload.el (generated-autoload-feature)
17017         (generated-autoload-load-name): New vars.
17018         (autoload-rubric, autoload-generate-file-autoloads): Use them.
17019         (make-autoload): Recognize define-overloadable-function and
17020         defclass forms (for EIEIO).
17022         * Makefile.in (update-subdirs): Exclude cedet directory.
17024 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
17026         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
17028         * faces.el: Default light-background background for region face to
17029         ns_selection_color under NS.
17031 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
17033         * net/imap-hash.el: New library, see NEWS.
17035         * Makefile.in (ELCFILES): Add imap-hash.el.
17037 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17039         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
17040         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
17041         * help-macro.el (make-help-screen): Avoid using an ambiguous function
17042         definition where the docstring could be taken for the return value.
17044 2009-09-26  Glenn Morris  <rgm@gnu.org>
17046         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
17047         Add option to only show images below a certain size.
17048         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
17049         save-excursion calls.
17051 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
17053         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
17054         subdirectories) and eieio.
17056 2009-09-26  Alan Mackenzie  <acm@muc.de>
17058         * progmodes/cc-engine.el (c-beginning-of-statement-1):
17059         Correct buggy bracketing.  (Bug#4289)
17061         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
17062         character constants (as case labels).  (Bug#4289)
17064 2009-09-25  Juri Linkov  <juri@jurta.org>
17066         * files.el (safe-local-eval-forms): Allow time-stamp in
17067         before-save-hook (Bug#4554).
17069 2009-09-25  Drew Adams  <drew.adams@oracle.com>
17071         * menu-bar.el (list-buffers-directory): Doc fix.
17073 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17075         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
17076         Try and avoid copying twice the same paragraph.
17077         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
17078         Remove save-excursion.
17079         (log-edit-changelog-entry): Do it here instead.
17081 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
17083         * bs.el (bs--get-file-name): Use `list-buffers-directory'
17084         when available, instead of hardcoding mode names.  Doc fix.
17086         * menu-bar.el (list-buffers-directory): Add docstring.
17087         Make automatically buffer-local.
17089         * dired.el (dired-mode):
17090         * files.el (cd-absolute):
17091         * pcvs.el (cvs-temp-buffer):
17092         * pcvs-util.el (cvs-get-buffer-create):
17093         * shell.el (shell-mode):
17094         * vc-dir.el (vc-dir-mode):
17095         Don't make `list-buffers-directory' buffer local.
17097 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
17099         * comint.el (comint-exec, comint-run, make-comint):
17100         Doc fixes (Bug#4542).
17102 2009-09-25  Glenn Morris  <rgm@gnu.org>
17104         * mail/rmailmm.el (rmail-mime): New custom group.
17105         Move all defcustoms in this file into this group.
17106         (rmail-mime-media-type-handlers-alist): Revert previous change.
17107         (rmail-mime-show-images): New option.
17108         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
17109         references to it, since it wasn't actually used for anything.
17110         (rmail-mime-insert-image): New function.
17111         (rmail-mime-image): Use rmail-mime-insert-image.
17112         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
17113         obey the value of `rmail-mime-show-images' option.  Print the size of
17114         attachments.
17116 2009-09-25  David Engster  <deng@randomsample.de>
17118         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
17120 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
17122         * whitespace.el: Does not highlight trailing spaces While point is
17123         at end of line.  Does not highligt spaces at beginning of buffer
17124         while point is at beginning of buffer.  Does not highlight spaces
17125         at end of buffer while point is at end of buffer.  (Bug#4177)
17126         New version 12.0.
17127         (whitespace-display-mappings): Adjust initialization.
17128         (whitespace-point, whitespace-font-lock-refontify): New vars.
17129         (whitespace-color-on, whitespace-color-off): Adjust code.
17130         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
17131         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
17132         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
17134 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
17136         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
17138         * textmodes/sgml-mode.el: Remove xml-mode alias.
17140         * files.el (auto-mode-alist, conf-mode-maybe)
17141         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
17143 2009-09-24  Alan Mackenzie  <acm@muc.de>
17145         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
17146         c-forward-conditionals, but it doesn't move point and doesn't set
17147         the mark.
17148         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
17149         (c-down-conditional-with-else, c-backward-conditional)
17150         (c-forward-conditional): Refactor to use c-scan-conditionals.
17152 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
17154         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
17155         (help-default-arg-highlight): Remove.
17156         (help-highlight-arg): New function.
17157         (help-do-arg-highlight): Use it.
17158         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
17160 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17162         * term.el (term-set-scroll-region, term-handle-ansi-escape):
17163         Undo last change, which didn't fix the problem and introduced others.
17165 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
17167         * progmodes/gdb-mi.el: Don't require speedbar.
17168         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
17170 2009-09-24  Glenn Morris  <rgm@gnu.org>
17172         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
17174         * term/ns-win.el (ns-reg-to-script): Define for compiler.
17176         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
17177         there is no newline after the final mime boundary.  (Bug#4539)
17178         Move markers on insertion so that any buttons inserted don't end up in
17179         the next part of a multipart message.
17180         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
17181         (rmail-mime-bulk-handler): Optionally handle images.
17182         (rmail-mime-image): New button action.
17183         (rmail-mime-image-handler): New function.
17184         (rmail-mime-mode): New mode.
17185         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
17187 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17189         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
17190         than just dropping elements from it (bug#4504).
17192         * term.el (term-set-scroll-region): Don't move cursor any more.
17193         (term-handle-ansi-escape): Call term-goto here instead.
17194         Suggested by Ivan Kanis <apple@kanis.eu>.
17196         * term.el: Require CL.
17197         (term-ansi-reset): New function.
17198         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
17199         (term-handle-colors-array): Simplify.
17201 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
17203         * allout.el (allout-overlay-interior-modification-handler)
17204         (allout-obtain-passphrase):
17205         * epa-file.el (epa-file-write-region):
17206         * ps-print.el (ps-begin-job):
17207         * vc-hooks.el (vc-toggle-read-only):
17208         * vc-rcs.el (vc-rcs-rollback):
17209         * vc-sccs.el (vc-sccs-rollback):
17210         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
17211         (vc-version-diff, vc-revert, vc-rollback):
17212         * wdired.el (wdired-check-kill-buffer):
17213         * emacs-lisp/authors.el (authors):
17214         * net/socks.el (socks-open-connection):
17215         * net/zeroconf.el (zeroconf-service-add-hook):
17216         * obsolete/vc-mcvs.el (vc-mcvs-register):
17217         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
17218         (gdb-select-frame):
17219         * progmodes/grep.el (lgrep, rgrep):
17220         * progmodes/idlw-help.el (idlwave-help-check-locations)
17221         (idlwave-help-html-link, idlwave-help-assistant-open-link):
17222         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
17223         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
17224         (reftex-toc-rename-label): Fix typos in error messages.
17226         * dired-aux.el (dired-do-shell-command): Reflow docstring.
17227         (dired-copy-how-to-fn): Doc fix.
17228         (dired-files-attributes, dired-read-shell-command):
17229         Fix typos in docstrings.
17231         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
17232         (dired-x-find-file-other-window): Reflow docstrings.
17233         (dired-omit-marker-char, dired-read-shell-command)
17234         (dired-x-submit-report): Fix typos in docstrings.
17236         * shell.el (shell-mode-hook):
17237         * view.el (View-scroll-line-forward):
17238         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
17239         Fix typos in docstrings.
17241         * net/dig.el (dig-invoke): Fix typo in docstring.
17242         (query-dig): Reflow docstring.
17244         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
17245         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
17246         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
17247         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
17248         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
17249         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
17250         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
17251         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
17252         (idlwave-completion-map, idlwave-current-indent)
17253         (idlwave-custom-ampersand-surround, idlwave-customize)
17254         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
17255         (idlwave-define-abbrev, idlwave-determine-class-special)
17256         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
17257         (idlwave-end-block-reg, idlwave-end-of-statement)
17258         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
17259         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
17260         (idlwave-explicit-class-listed, idlwave-file-header)
17261         (idlwave-fill-paragraph, idlwave-find-class-definition)
17262         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
17263         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
17264         (idlwave-in-quote, idlwave-indent-action-table)
17265         (idlwave-indent-expand-table, idlwave-indent-line)
17266         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
17267         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
17268         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
17269         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
17270         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
17271         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
17272         (idlwave-outlawed-buffers, idlwave-popup-select)
17273         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
17274         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
17275         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
17276         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
17277         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
17278         (idlwave-statement-type, idlwave-struct-skip)
17279         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
17280         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
17281         (idlwave-what-module-find-class): Fix typos in docstrings.
17282         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
17283         (idlwave-calculate-cont-indent, idlwave-expand-equal)
17284         (idlwave-find-module, idlwave-find-structure-definition)
17285         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
17286         (idlwave-list-load-path-shadows, idlwave-next-statement)
17287         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
17288         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
17289         (idlwave-template): Reflow docstrings.
17291         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
17292         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
17293         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
17294         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
17295         (idlwave-shell-display-line, idlwave-shell-display-wframe)
17296         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
17297         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
17298         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
17299         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
17300         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
17301         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
17302         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
17303         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
17304         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
17305         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
17306         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
17307         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
17308         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
17309         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
17310         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
17311         Fix typos in docstrings.
17312         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
17313         (idlwave-shell-hide-output, idlwave-shell-mode)
17314         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
17315         Reflow docstrings.
17317         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
17319 2009-09-24  Ivan Kanis  <apple@kanis.eu>
17321         * term.el (term-bold-attribute): New var.
17322         (term-handle-colors-array): Use it.
17324 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
17326         * progmodes/gdb-mi.el (gdb-version): New variable.
17327         (gdb-non-stop-handler): Set gdb-version.
17328         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
17329         Condition "--thread" option on gdb-version.
17330         (gdb-invalidate-threads): Remove unused argument.
17332 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17334         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
17335         to looking-back to avoid ridiculous slow down in large files (bug#4511).
17337 2009-09-23  Glenn Morris  <rgm@gnu.org>
17339         * mail/rmail.el (rmail-reply): Don't try to add a References header when
17340         replying to mail without References or Message-Id.  (Bug#4525)
17342 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
17344         * term/ns-win.el (ns-reg-to-script): New variable.
17346 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
17348         * epg.el (epg-wait-for-status): Preserve existing 'error results.
17350 2009-09-22  Sam Steingold  <sds@gnu.org>
17352         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
17353         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
17354         to 1 because hg returns status 1 when nothing is found.
17355         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
17357 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17359         * textmodes/fill.el: Convert to utf-8 encoding.
17360         (fill-french-nobreak-p): Remove redundant » and « inherited from our
17361         pre-Unicode days.
17363         * add-log.el (change-log-fill-forward-paragraph): New function.
17364         (change-log-mode): Use it so fill-region DTRT.
17365         Set fill-indent-according-to-mode here rather than in
17366         change-log-fill-paragraph.
17367         (change-log-fill-paragraph): Remove.
17369 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
17371         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
17372         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
17374 2009-09-22  Glenn Morris  <rgm@gnu.org>
17376         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
17377         the scroll-bar scroll the calendar window rather than the buffer.
17379         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
17380         commands that move point (as opposed to scrolling).
17382         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
17384         * emacs-lisp/elint.el (elint): New custom group.
17385         (elint-log-buffer): Make it a defcustom.
17386         (elint-scan-preloaded, elint-ignored-warnings)
17387         (elint-directory-skip-re): New options.
17388         (elint-builtin-variables): Doc fix.
17389         (elint-preloaded-env): New variable.
17390         (elint-unknown-builtin-args): Add an entry for encode-time.
17391         (elint-extra-errors): Make it a variable rather than a constant.
17392         (elint-preloaded-skip-re): New constant.
17393         (elint-directory): Skip files matching elint-directory-skip-re.
17394         (elint-features): New variable, local to linted buffers.
17395         (elint-update-env): Initialize elint-features.  Possibly add
17396         elint-preloaded-env to the buffer's environment.
17397         (elint-get-top-forms): Bind elint-current-pos, for log messages.
17398         Skip quoted forms.
17399         (elint-init-form): New function, extracted from elint-init-env.
17400         Make non-list forms a warning rather than an error.
17401         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
17402         easy-menu-define, put that adds an error-condition, and provide.
17403         When requiring cl, also require cl-macs.  Really require cl, to handle
17404         some cl macros.  Store required libraries in the list elint-features,
17405         so as not to re-load them.  Treat cc-require like require.
17406         (elint-init-env): Call elint-init-form to do the work.
17407         Handle eval-and-compile and such like.
17408         (elint-add-required-env): Do not clear messages.
17409         (elint-special-forms): Add handlers for function, defalias, if, when,
17410         unless, and, or.
17411         (elint-form): Add optional argument to ignore elint-special-forms,
17412         useful to prevent recursive calls from handlers.  Doc fix.
17413         Respect elint-ignored-warnings.
17414         (elint-form): Respect elint-ignored-warnings.
17415         (elint-bound-variable, elint-bound-function): New variables.
17416         (elint-unbound-variable): Respect elint-bound-variable.
17417         (elint-get-args): Respect elint-bound-function.
17418         (elint-check-cond-form): Add some simple handling for (f)boundp and
17419         featurep tests.
17420         (elint-check-defalias-form): New handler.
17421         (elint-check-let-form): Make an empty let a warning rather than an
17422         error.
17423         (elint-check-setq-form): Make an empty setq a warning rather than an
17424         error.  Respect elint-ignored-warnings.
17425         (elint-check-defvar-form): Accept null doc-strings.
17426         (elint-check-conditional-form): New handler.  Does some simple-minded
17427         checking of featurep and (f)boundp tests.
17428         (elint-put-function-args): New function.
17429         (elint-initialize): Use elint-scan-doc-file rather than
17430         elint-find-builtin-variables.  Use elint-put-function-args.
17431         Possibly scan preloaded-file-list.
17432         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
17433         extend to handle functions as well.
17435 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
17437         * linum.el (linum-delete-overlays, linum-update-window):
17438         Do not modify the right margin.  (Bug#3971)
17440 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
17442         * files.el (conf-mode-maybe, magic-fallback-mode-alist):
17443         Use nxml-mode instead of xml-mode.
17445 2009-09-21  Kevin Ryde  <user42@zip.com.au>
17447         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
17449 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17451         * net/dig.el (dig-mode): Use define-derived-mode.
17453 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
17455         * vc-dispatcher.el (vc-do-command): Return the process object in
17456         the asynchronous case.  Use when instead of if.  Do not run
17457         vc-exec-after to display a message if not enabled.  (Bug#4463)
17459         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
17460         properties to the stash strings.
17461         (vc-git-stash-list): Return a list of strings.
17462         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
17463         (vc-git-stash-show-at-point): New functions.
17464         (vc-git-stash-map): New keymap.
17466         * register.el (ctl-x-r-map): Define the keys here instead of
17467         using autoload.
17469 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
17471         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
17472         list, to workaround performance problem (bug#4485).
17474 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
17476         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
17478 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
17480         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
17481         Document that this option is not recommended to use.
17483 2009-09-19  Glenn Morris  <rgm@gnu.org>
17485         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
17486         variable `var'.
17488         * calc/calc-alg.el (var):
17489         * calc/calcalg2.el (var): Define for compiler.
17491 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
17493         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
17494         Doc fix (Bug#3932).
17496         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
17498         * time-stamp.el (time-stamp-month-dd-yyyy)
17499         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
17500         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
17501         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
17502         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
17503         Remove functions that have been obsolete since 1995 (Bug#4436).
17505         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
17506         indent buffer only if called interactively (Bug#4452).
17508 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
17509             Eli Zaretskii  <eliz@gnu.org>
17511         This fixes bug#4197 (merged to bug#865, though not identical).
17512         * server.el (server-auth-dir): Add docstring note about FAT32.
17513         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
17514         but warn against using them.
17516 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
17518         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
17519         older GDB where there is no has_more field.
17521 2009-09-19  Glenn Morris  <rgm@gnu.org>
17523         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
17525 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
17527         * files.el (auto-mode-alist): Change default for XML files to nXML
17528         mode (Bug#4169).
17530 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
17532         * server.el (server-ensure-safe-dir): Pass 'integer
17533         to `file-attributes', as suggested.
17535 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17537         * dired-aux.el (dired-query-alist): Remove spurious backslash.
17538         (dired-query): Use read-key.
17540 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
17542         * cus-start.el (ns-use-qd-smoothing): Remove.
17544 2009-09-18  Glenn Morris  <rgm@gnu.org>
17546         * allout.el (top-level): Remove unnecessary progn.
17548         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
17550         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
17551         definition of abbrev table.
17553         * speedbar.el (speedbar-track-mouse):
17554         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
17555         * net/eudc.el (eudc-expand-inline):
17556         * net/newst-backend.el (newsticker--cache-read-feed):
17557         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
17558         condition-case handlers.
17560 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
17562         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
17563         (gdb-var-list): Add an element for has_more field.
17564         (gdb-non-stop-handler): Enable pretty printing for STL containers.
17565         (gdb-var-create-handler, gdb-var-list-children-handler-1)
17566         (gdb-var-update-handler-1): Parse output of dynamic variable
17567         objects (STL containers).
17568         (gdb-var-delete-1): Pass var1 as an explicit second argument.
17569         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
17571         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
17572         gdb-var-list.
17573         (gud-speedbar-buttons): Make node expandable if expression "has more"
17574         children.
17576 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
17578         * startup.el (emacs-quick-startup): Remove variable and all uses.
17579         (command-line): Set `inhibit-x-resources' instead.
17580         (command-line-1): Use `inhibit-x-resources' instead.
17582 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
17584         * subr.el: Fix last change to avoid using the `unless' macro,
17585         which breaks bootstrapping.
17587 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17589         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
17590         extended definitions, in case we reload subr.el after having
17591         loaded CL.
17592         (eval-next-after-load): Mark as obsolete.
17594 2009-09-17  Juri Linkov  <juri@jurta.org>
17596         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
17597         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
17598         (menu-bar-showhide-menu, menu-bar-tools-menu)
17599         (menu-bar-describe-menu, menu-bar-help-menu)
17600         (minibuffer-local-completion-map, minibuffer-local-map):
17601         Fix list quoting.
17603 2009-09-17  Glenn Morris  <rgm@gnu.org>
17605         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
17606         arguments, whether or not it has a handler.
17608         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
17610         * simple.el (hard-newline): Give it a doc-string.
17612         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17613         (lisp-mode-syntax-table): Give them doc-strings.
17615 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
17617         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
17618         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
17619         (menu-bar-options-menu, menu-bar-showhide-menu)
17620         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
17621         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
17622         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
17623         (menu-bar-options-menu, menu-bar-tools-menu)
17624         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
17625         (menu-bar-help-menu):
17626         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
17627         string arguments.
17629         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
17630         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
17631         calls for the menu names and :help.
17633 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17635         * mouse.el (minor-mode-menu-from-indicator): Pay attention
17636         to :minor-mode-function (bug#4455).
17638 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17640         * startup.el (command-line): Initialize the window-system after
17641         processing the command-line.
17643         * textmodes/page.el (what-page): Make sure we don't inf-loop if
17644         page-delimiter matches the empty string.
17646 2009-09-16  Glenn Morris  <rgm@gnu.org>
17648         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
17649         byte-compile-not-obsolete-var.  It's a list now.
17650         (byte-compile-not-obsolete-funcs): New variable.
17651         (byte-compile-warn-obsolete): Don't warn about functions if they are in
17652         byte-compile-not-obsolete-funcs.
17653         (byte-compile-variable-ref, byte-compile-defvar): Update for
17654         byte-compile-not-obsolete-vars name-change and list nature.
17655         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
17656         and variables behind (f)boundp tests.
17657         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
17659 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
17661         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
17663 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17665         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
17666         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
17667         Don't autoload.
17669 2009-09-15  Stephen Eglen  <stephen@gnu.org>
17671         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
17672         the virtual-buffers, use the name of the buffer specified by
17673         find-file-noselect, as the match may be a symlink.  (This was a
17674         problem if the target and the symlink had different names.)
17676 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17678         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
17680         * desktop.el (desktop-path): Check user-emacs-directory.
17682         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
17684         * loadup.el: Use after-load-functions to GC after loading each file.
17685         Remove the explicit GC calls that used to be sprinkled around.
17687         * subr.el (after-load-functions): New hook.
17688         (do-after-load-evaluation): Run it.  Use string-match-p to detect
17689         `obsolete' packages, rather than painfully extracting the relevant
17690         directory name.
17692 2009-09-15  Glenn Morris  <rgm@gnu.org>
17694         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
17695         free variable `doc'.
17697         * dired.el (dired-mode-map): Add menu entry for async shell command.
17699         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
17700         variables, also consider the .elc files, since the .el files are
17701         normally gzipped (subsequent code locates the .el.gz from the .elc).
17703         * calc/calc-prog.el (arglist): Define for compiler.
17705         * calendar/diary-lib.el (diary-display-function): Change the default to
17706         fancy display.
17707         (body): Define for compiler.
17709         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
17710         (byte-compile-file-form, byte-compile-lambda)
17711         (byte-compile-top-level-body, byte-compile-form)
17712         (byte-compile-variable-ref, byte-compile-setq)
17713         (byte-compile-setq-default, byte-compile-body)
17714         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
17715         (batch-byte-compile): Give some more local variables with common names
17716         a "bytecomp-" prefix to avoid masking warnings about free variables.
17718         * startup.el (command-line-1): Give local variables with common names a
17719         distinguishing prefix, so as not to hide free variable warnings during
17720         bootstrap.
17722         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
17723         clever and add a suffix to make a unique name, just let the user decide
17724         whether or not to overwrite it.  If the input is a directory, write the
17725         default filename to that directory.  (Bug#4388)
17726         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
17727         is a filename-as-a-directory.
17729 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17731         * textmodes/page.el (what-page): Don't move to beginning of line.
17732         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
17734 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
17736         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
17738 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
17740         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
17741         * help.el (help-for-help-internal): Add purecopy calls for text.
17743         * vc.el (top): print-log method now takes an optional SHORTLOG
17744         argument.  Add a new method: root.
17745         (vc-root-diff, vc-print-root-log): New functions.
17746         (vc-log-short-style): New variable.
17747         (vc-print-log-internal): Add support for showing short logs.
17749         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
17750         vc-print-root-log and vc-print-root-diff.
17752         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
17753         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
17754         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
17755         short logs.
17757         * vc-cvs.el (vc-cvs-print-log):
17758         * vc-mtn.el (vc-mtn-print-log):
17759         * vc-rcs.el (vc-rcs-print-log):
17760         * vc-sccs.el (vc-sccs-print-log):
17761         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
17762         that is ignored for now.
17764         * vc-mtn.el (vc-mtn-annotate-command):
17765         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
17767 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17769         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
17770         to function-key-map, and give them ascii-character property.
17771         * term/x-win.el (x-alternatives-map):
17772         * term/ns-win.el (ns-alternatives-map):
17773         * term/internal.el (msdos-key-remapping-map):
17774         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
17776 2009-09-14  Glenn Morris  <rgm@gnu.org>
17778         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
17779         temp-buffers (2009-09-12).
17781 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
17783         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
17784         the new read-key function.
17786 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
17788         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
17789         is defined (Bug#4405).
17791 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
17793         * recentf.el (recentf-cleanup): Use a hash table to find
17794         duplicates (Bug#4407).
17796 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
17798         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
17799         kp-0 to ascii equivalents (Bug#4325).
17801 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
17803         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
17805         * eshell/em-hist.el:
17806         * eshell/em-dirs.el (eshell-complete-user-reference):
17807         Declare pcomplete functions and variables to avoid compiler warnings.
17809 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
17811         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
17812         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
17813         * eshell/em-alias.el (eshell-aliases-file):
17814         * eshell/em-hist.el (eshell-history-file-name):
17815         Use expand-file-name instead of concat to make file names (Bug#4308).
17817 2009-09-13  Glenn Morris  <rgm@gnu.org>
17819         * ediff-merg.el (ediff-do-merge):
17820         * filesets.el (filesets-run-cmd):
17821         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
17822         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
17823         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
17824         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
17825         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
17826         Replace empty `let's with `progn'.
17828 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
17830         * mail/sendmail.el (send-mail-function):
17831         * tooltip.el (tooltip-mode):
17832         * simple.el (transient-mark-mode):
17833         * rfn-eshadow.el (file-name-shadow-mode):
17834         * frame.el (blink-cursor-mode):
17835         * font-core.el (global-font-lock-mode):
17836         * files.el (temporary-file-directory)
17837         (small-temporary-file-directory, auto-save-file-name-transforms):
17838         * epa-hook.el (auto-encryption-mode):
17839         * composite.el (global-auto-composition-mode):
17840         Use custom-initialize-delay.
17841         * startup.el (command-line): Don't explicitly call
17842         custom-reevaluate-setting for all the above vars.
17843         * custom.el (custom-initialize-safe-set)
17844         (custom-initialize-safe-default): Delete.
17846 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17848         * term/x-win.el (x-initialize-window-system):
17849         * term/w32-win.el (w32-initialize-window-system):
17850         * term/ns-win.el (ns-initialize-window-system): Don't call
17851         mouse-wheel-mode since it's enabled globally by default already.
17853         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
17854         actually define the variable, but only silences the byte-compiler.
17855         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
17856         before looking it up.
17857         (mouse-wheel-scroll-amount): Also reset the bindings if this value
17858         is changed.
17860 2009-09-12  Glenn Morris  <rgm@gnu.org>
17862         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
17863         1000.
17864         (elint-add-required-env): Don't beep on error.
17865         (elint-forms): In case of error, return ENV unchanged.
17866         (elint-init-env): Skip non-list forms.
17867         (elint-log): Handle unknown file positions.
17869 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
17871         * epg.el (epg-make-context): Add autoload cookie.
17872         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
17873         (epg-decrypt-string, epg-start-verify, epg-verify-file)
17874         (epg-verify-string, epg-start-sign, epg-sign-file)
17875         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
17876         (epg-encrypt-string, epg-start-export-keys)
17877         (epg-export-keys-to-file, epg-export-keys-to-string)
17878         (epg-start-import-keys, epg-import-keys-from-file)
17879         (epg-import-keys-from-string, epg-start-receive-keys)
17880         (epg-receive-keys, epg-import-keys-from-server)
17881         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
17882         (epg-sign-keys, epg-start-generate-key)
17883         (epg-generate-key-from-file, epg-generate-key-from-string):
17884         Remove autoload cookie.
17886 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
17888         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
17889         reevaluation of trash-directory.
17891         * mwheel.el: Fix last change.
17892         (mouse-wheel-mode): New defvar.
17893         (mouse-wheel-mode): Remove autoload cookie.
17895 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17897         * mwheel.el (mwheel-installed-bindings): New var.
17898         (mouse-wheel-mode): Use it, so as to make sure we really remove all
17899         the bindings we set last time.  Use custom-initialize-delay.
17900         * loadup.el: Load mwheel after term/*-win.el.
17901         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
17902         and mouse-wheel-up-event now that their first evaluation is done
17903         sufficiently late to be correct.
17905         * startup.el (tutorial-directory): Make it a defcustom.
17906         Use custom-initialize-delay rather than eval-at-startup to set it.
17907         * image.el (image-load-path): Make it a defcustom.
17908         Use custom-initialize-delay rather than eval-at-startup to set it.
17909         * subr.el (eval-at-startup): Remove.
17910         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
17912         * subr.el (do-after-load-evaluation): Warn the user after loading an
17913         obsolete package.
17915 2009-09-12  Glenn Morris  <rgm@gnu.org>
17917         * proced.el (proced-mark-alt): Remove alias.
17918         (proced-mode-map): Remove proced-mark-alt.
17920         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
17921         Elint file and directory.  Remove initialization entry.
17923         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
17924         commands.
17925         (elint-current-buffer): Set mode-line-process.
17926         (elint-init-env): Handle define-derived-mode.
17927         Fix declare-function with unspecified arglist.  Guard against odd
17928         defalias statements (eg iso-insert's 8859-1-map).
17929         (elint-add-required-env): Use a temp buffer.
17930         (elint-form): Just print the function/macro name, not the whole form.
17931         Return env unchanged if we fail to parse a macro.
17932         (elint-forms): Guard against parse errors.
17933         (elint-output): New function, to handle batch mode.
17934         (elint-log-message): Add optional argument.  Use elint-output.
17935         (elint-set-mode-line): New function.
17937 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
17939         * emacs-lisp/elp.el (elp-not-profilable): Add more
17940         functions (Bug#4233).
17942 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
17944         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
17945         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
17947 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
17949         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
17950         (gdb-var-list-children): Use json parsing.
17952 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
17954         * progmodes/js.el (js--proper-indentation): Handle the case where
17955         char-before is null.  Reported by Deniz Dogan.
17957 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
17959         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
17961 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
17963         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
17964         (epg-digest-algorithm-alist): Add SHA224.
17965         (epg-context-set-passphrase-callback)
17966         (epg-context-set-progress-callback): Add description about
17967         callback function.
17969 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
17971         * custom.el (custom-delayed-init-variables): New var.
17972         (custom-initialize-delay): New function.
17973         * startup.el (command-line): "Re"evaluate all vars in
17974         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
17975         explicitly any more.
17976         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
17977         to avoid creating a ~/.emacs.d at build-time (bug#4347).
17979         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
17981 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
17983         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
17984         (gdb-var-update-handler): Use json parsing.
17986 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
17988         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
17989         decode annotated text, regardless of language environment.  (Bug#2741)
17991 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
17993         * Makefile.in (autoloads): Make rmail.el writable as well.
17995 2009-09-11  Glenn Morris  <rgm@gnu.org>
17997         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
17998         loaddefs.el.
17999         * dired.el: Regenerate with extracted autoloads.
18000         * Makefile.in (autoloads): Make dired.el writable.
18002         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
18003         * ibuffer.el: Regenerate with extracted autoloads.
18004         * Makefile.in (autoloads): Make ibuffer.el writable.
18006         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
18007         * version.el (emacs-copyright, emacs-major-version)
18008         (emacs-minor-version): Reformat doc-strings for make-docfile.
18010         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
18011         functions and variables, since they must be stuff specific to some other
18012         platform.
18013         (apropos-print): Make mouse-click message less specific about button.
18015         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
18016         that records where a macro was defined.
18017         * help-fns.el (describe-function-1): Mention if a function has a
18018         compiler-macro.
18019         * help-mode.el (help-function-cmacro): New button.
18021         * locate.el (top-level): Always require dired.
18022         (locate-mode-map): Initialize inside the defvar.
18024         * net/ange-ftp.el (dired-compress-file): Declare.
18025         (ange-ftp-dired-compress-file): Add doc string.
18027         * term/ns-win.el (x-display-name, x-setup-function-keys):
18028         Unify doc-strings with X versions.
18030 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
18032         * emulation/crisp.el (crisp-mode-map): Move initialization
18033         into declaration.
18034         (crisp-mode): Use define-minor-mode.
18036         * progmodes/xscheme.el (xscheme-evaluation-commands):
18037         Put a :advertised-binding property rather than using
18038         advertised-xscheme-send-previous-expression.
18039         (advertised-xscheme-send-previous-expression): Declare obsolete.
18040         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
18041         `advertised-undo'.
18042         (crisp-mode): Add corresponding bindings to
18043         undo's :advertised-binding instead.
18044         * dired.el (dired-mode-map): Put a :advertised-binding property rather
18045         than using dired-advertised-find-file.
18046         (dired-advertised-find-file):
18047         * simple.el (advertised-undo):
18048         * wid-edit.el (advertised-widget-backward): Declare obsolete.
18049         (widget-keymap): Put a :advertised-binding property rather
18050         than using advertised-widget-backward.
18051         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
18052         than using advertised-undo.
18053         * tutorial.el (tutorial--default-keys): Adjust accordingly.
18055 2009-09-10  Simon South  <ssouth@slowcomputing.org>
18057         * progmodes/delphi.el (delphi-tab): Indent region when Transient
18058         Mark mode is enabled and region is active; otherwise indent or
18059         insert TAB as usual.
18060         (delphi-mode): Update description of TAB-key binding.
18062 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
18064         * subr.el (define-key-rebound-commands): Mark obsolete.
18065         * startup.el (precompute-menubar-bindings): Remove.
18066         (normal-top-level): Remove obsolete code that tried to precompute
18067         menubar bindings.
18068         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
18069         define-key-rebound-commands and precompute-menubar-bindings.
18071 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
18073         * net/imap.el (imap-interactive-login): Better messages.
18074         (imap-open): Fix bug with renamed buffer on reconnect.
18075         (imap-authenticate): Add buffer-local imap-last-authenticator variable
18076         for easier debugging and cleaner code.  On successful (guessed based on
18077         server capabilities) secondary authentication, set imap-state
18078         correctly.
18079         (imap-last-authenticator): Define imap-last-authenticator as a variable
18080         to avoid warnings.
18082 2009-09-10  Glenn Morris  <rgm@gnu.org>
18084         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
18086         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
18087         (byte-compile-file-form-autoload): Don't warn about unknown functions
18088         where the autoload statement comes after the use.
18089         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
18090         that any handlers inside the body (eg require) are in turn respected.
18092         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
18093         effects.
18095         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
18096         and syntax and abbrev tables basic docs, if they don't have any.
18098         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
18100         * international/mule-cmds.el (top-level): Require cl when compiling.
18101         (view-hello-file): Use default-value rather than
18102         default-enable-multibyte-characters.
18104         * progmodes/fortran.el: Move all safe and risky properties into the
18105         defcustoms.
18107         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
18108         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
18109         * mail/undigest.el:
18110         Put autoloads in rmail.el rather than loaddefs.el.
18111         * mail/rmail.el: Regenerate with extracted autoloads.
18113         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
18114         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
18116 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
18118         Reported in thread for Bug#4375.
18119         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
18120         "-data-evaluate-expression" instead of print.
18121         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
18122         (gdb-tooltip-print): Parse output from above MI command.
18123         (gdb): Revert 2009-08-11 change.  User should detach inferior
18124         manually.
18126         Remove the word "separate" from IO functions as inferior
18127         output is now never displayed in the GUD buffer.
18129 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
18131         * startup.el (command-line-normalize-file-name): On Windows and
18132         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
18134 2009-09-10  Juri Linkov  <juri@jurta.org>
18136         * isearch.el (isearch-text-char-description): Propertize escape
18137         character sequences with the `escape-glyph' face.  (Bug#4344)
18139         * simple.el (shell-command): Set asynchronous process filter to
18140         `comint-output-filter'.  (Bug#4343)
18142         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
18143         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
18144         the list.  Move "asm" to the bottom.
18145         (grep-find-ignored-directories): Add `choice' with nil value
18146         to empty the list easily.
18147         (grep-find-ignored-files): New option.
18148         (grep-files-history): Set to nil by default instead of '("ch" "el").
18149         (grep-compute-defaults): Add "<X>" to `grep-template'.
18150         (grep-read-files): Bind new local variables `default-alias' and
18151         `default-extension'.  Use a list of default values for the file prompt.
18152         (lgrep): Add `--exclude=' command line options composed from
18153         `grep-find-ignored-files'.
18154         (rgrep): Add `-name' command line options composed from
18155         `grep-find-ignored-files'.  (Bug#4301)
18157 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
18159         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
18160         (bug#4368).
18162 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
18164         * calendar/time-date.el (autoload):
18165         Expand define-obsolete-function-alias into defalias and make-obsolete
18166         for old Emacsen that Gnus supports.
18167         (with-no-warnings): Define it for old Emacsen.
18168         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
18169         is available.
18170         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
18171         float-time is available; suppress compile warning for time-to-seconds.
18173 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
18175         * net/imap.el (imap-message-map): Docstring fix.
18177 2009-09-09  Glenn Morris  <rgm@gnu.org>
18179         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
18180         line numbers too.  (Bug#4374)
18182 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
18184         * smerge-mode.el (smerge-remove-props, smerge-refine):
18185         Use with-silent-modifications (bug#4342).
18187         * subr.el (with-silent-modifications): New macro.
18189 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
18191         * files.el (top-level): Require `cl' when compiling.
18193 2009-09-07  Glenn Morris  <rgm@gnu.org>
18195         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
18197         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
18198         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
18200 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
18202         * vc-git.el (vc-git-annotate-command): Use separator to parse
18203         arguments correctly.
18205 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
18207         * proced.el (proced-mode): Doc fix.
18209 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
18211         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
18212         lstat fails.
18213         (tramp-do-file-attributes-with-ls): Check for file existence at
18214         remote end.
18215         (tramp-do-file-attributes-with-stat): Likewise.
18216         (tramp-convert-file-attributes): Return nil when attr is nil.
18218 2009-09-05  Glenn Morris  <rgm@gnu.org>
18220         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
18221         properties to this button.
18222         (diary-fancy-display): Don't extend the button to the final newline.
18223         (diary-fancy-display-mode): Continue to define "q" as a local key.
18225         * calendar/cal-china.el (holiday-chinese): Make it slightly more
18226         efficient.
18228         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
18230         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
18231         (byte-compile-dest-file-function): New option.
18232         (byte-compile-dest-file): Doc fix.
18233         Obey byte-compile-dest-file-function.
18234         (byte-compile-cl-file-p): New function.
18235         (byte-compile-eval): Only suppress noruntime warnings about cl functions
18236         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
18237         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
18238         than for file being previously loaded.
18239         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
18240         (byte-compile-file-form-require): Handle the case where requiring a file
18241         indirectly causes CL to be loaded.
18243 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
18245         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
18246         before killing the old buffer, since by the time `kill-buffer' is
18247         run so many buffer variables have been set to nil that it may not
18248         behave as expected.  (Bug#4061)
18250 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
18252         * files.el (find-alternate-file): If the old buffer is modified
18253         and visiting a file, behave similarly to `kill-buffer' when
18254         killing it, thus reverting to the pre-1.878 behavior; see
18255         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
18256         for discussion.  Also, consult `buffer-file-name' as a variable
18257         not as a function, for consistency with the rest of the code.
18259 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
18261         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
18262         also when adding a new directory.
18264         * net/tramp-compat.el (tramp-compat-line-beginning-position):
18265         New defun.
18267 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
18269         * files.el (locate-file-completion-table): Make it provide boundary
18270         information, so partial-completion works better.
18272 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
18274         * mail/footnote.el (Footnote-text-under-cursor):
18275         Check footnote-text-marker-alist before using it (bug#4324).
18277 2009-09-04  Glenn Morris  <rgm@gnu.org>
18279         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
18280         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
18281         * play/solitaire.el, play/tetris.el:
18282         Remove leading * from defcustom and defface docs.
18284         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
18285         necessary.
18286         (diary-fancy-overriding-map): New variable.
18287         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
18288         Use view-mode.
18290         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
18291         goto-line.
18293 2009-09-03  Glenn Morris  <rgm@gnu.org>
18295         * arc-mode.el (archive-mode):
18296         * dos-fns.el (set-default-process-coding-system):
18297         * man.el (Man-getpage-in-background):
18298         * menu-bar.el (menu-bar-describe-menu):
18299         * server.el (server-process-filter):
18300         * startup.el (command-line):
18301         * tar-mode.el (tar-header-block-tokenize, tar-extract):
18302         * w32-fns.el (set-default-process-coding-system):
18303         * x-dnd.el (x-dnd-handle-file-name):
18304         * international/mule-cmds.el (mule-menu-keymap)
18305         (set-default-coding-systems, language-info-alist, set-language-info)
18306         (set-language-environment, standard-display-european-internal)
18307         (set-locale-environment):
18308         * international/mule-diag.el (mule-diag):
18309         * mail/emacsbug.el (report-emacs-bug):
18310         * mail/rmail.el (rmail-mode):
18311         * mail/sendmail.el (mail-setup):
18312         Use default-value rather than default-enable-multibyte-characters.
18314         * progmodes/f90.el: Move all safe properties into the defcustoms.
18315         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
18317         * calendar/appt.el (appt-check):
18318         * calendar/diary-lib.el (diary-set-header, diary-live-p)
18319         (diary-check-diary-file, diary-list-entries)
18320         (diary-include-other-diary-files, diary-simple-display)
18321         (diary-fancy-display, diary-print-entries)
18322         (diary-mark-included-diary-files, diary-make-entry):
18323         Don't call substitute-in-file-name on diary-file.
18325 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
18326             Stefan Monnier  <monnier@iro.umontreal.ca>
18328         * mail/footnote.el (footnote-prefix): Make it a defcustom.
18329         (footnote-mode-map): Move initialization into the declaration.
18330         (footnote-minor-mode-map): Define it rather than changing global-map.
18331         (footnote-mode): Use define-minor-mode.
18333 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
18335         * net/tramp.el (tramp-handle-file-attributes-with-ls)
18336         (tramp-do-file-attributes-with-perl)
18337         (tramp-do-file-attributes-with-stat): Rename from
18338         `tramp-handle-file-attributes-with-*'.
18339         (tramp-handle-file-attributes): Use them.
18340         (tramp-do-directory-files-and-attributes-with-perl)
18341         (tramp-do-directory-files-and-attributes-with-stat): Rename from
18342         `tramp-handle-directory-files-and-attributes-with-*'.
18343         (tramp-handle-directory-files-and-attributes): Use them.
18344         (tramp-method-out-of-band-p): Additional parameter SIZE.
18345         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
18346         (tramp-handle-write-region): Use it.
18347         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
18348         (tramp-handle-vc-registered): Check, whether the first run did
18349         return files to be tested.
18350         (tramp-advice-make-auto-save-file-name): Do not call directly
18351         `tramp-handle-make-auto-save-file-name', because this would bypass
18352         the locking mechanism.
18354         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
18355         (file-remote-p, process-file, start-file-process, set-file-times)
18356         (tramp-compat-file-attributes): Compatibility functions shall not
18357         call directly `tramp-handle-*', because this would bypass the
18358         locking mechanism.
18359         (tramp-compat-number-sequence): New defun.
18361 2009-09-02  Glenn Morris  <rgm@gnu.org>
18363         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
18364         alias for float-time.
18365         (time-to-number-of-days): In Emacs, use float-time.
18366         * net/newst-backend.el (time-add): Suppress warnings from compat
18367         function.
18368         * time.el (emacs-uptime, emacs-init-time):
18369         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
18370         Use float-time rather than time-to-seconds.
18372         * minibuffer.el (completion-initials-expand): Fix typo.
18374         * faces.el (modeline, modeline-inactive, modeline-highlight)
18375         (modeline-buffer-id):
18376         * info.el (info-menu-5): Mark these face aliases as obsolete.
18378 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
18380         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
18381         space ...
18382         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
18383         no "--thread" option.
18384         (gdb-stopped): Don't print "Switched to thread" message when it is
18385         unchanged.
18387 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18389         * minibuffer.el (completion-try-completion)
18390         (completion-all-completions): Remove ill-defined (and
18391         mistakenly installed and luckily never used nor documented)
18392         `completion-styles' property.
18393         (completion-initials-expand, completion-initials-all-completions)
18394         (completion-initials-try-completion): New functions.
18395         (completion-styles-alist): Add doc to each entry.
18396         Add new `initials' entry.
18398 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
18400         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
18401         MI command -var-evaluate-expression.
18402         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
18403         and tweak for case of string child.
18404         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
18406 2009-09-01  Glenn Morris  <rgm@gnu.org>
18408         * add-log.el (change-log-date-face, change-log-name-face)
18409         (change-log-email-face, change-log-file-face, change-log-list-face)
18410         (change-log-conditionals-face, change-log-function-face)
18411         (change-log-acknowledgement-face):
18412         * cus-edit.el (custom-invalid-face, custom-rogue-face)
18413         (custom-modified-face, custom-set-face, custom-changed-face)
18414         (custom-saved-face, custom-button-face, custom-button-pressed-face)
18415         (custom-documentation-face, custom-state-face, custom-comment-face)
18416         (custom-comment-tag-face, custom-variable-tag-face)
18417         (custom-variable-button-face, custom-face-tag-face)
18418         (custom-group-tag-face-1, custom-group-tag-face):
18419         * diff-mode.el (diff-header-face, diff-file-header-face)
18420         (diff-index-face, diff-hunk-header-face, diff-removed-face)
18421         (diff-added-face, diff-changed-face, diff-function-face)
18422         (diff-context-face, diff-nonexistent-face):
18423         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
18424         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
18425         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
18426         (Info-title-4-face):
18427         * isearch.el (isearch-lazy-highlight-face):
18428         * log-view.el (log-view-file-face, log-view-message-face):
18429         * paren.el (show-paren-match-face, show-paren-mismatch-face):
18430         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
18431         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
18432         (cvs-msg-face):
18433         * smerge-mode.el (smerge-mine-face, smerge-other-face)
18434         (smerge-base-face, smerge-markers-face):
18435         * wid-edit.el (widget-documentation-face, widget-button-face)
18436         (widget-field-face, widget-single-line-field-face)
18437         (widget-inactive-face, widget-button-pressed-face):
18438         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
18439         (woman-addition-face):
18440         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
18441         (eshell-ls-executable-face, eshell-ls-readonly-face)
18442         (eshell-ls-unreadable-face, eshell-ls-special-face)
18443         (eshell-ls-missing-face, eshell-ls-archive-face)
18444         (eshell-ls-backup-face, eshell-ls-product-face)
18445         (eshell-ls-clutter-face):
18446         * eshell/em-prompt.el (eshell-prompt-face):
18447         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
18448         * obsolete/old-whitespace.el (whitespace-highlight-face):
18449         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
18450         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
18451         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
18452         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
18453         (antlr-font-lock-literal-face):
18454         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
18455         (ebrowse-root-class-face, ebrowse-file-name-face)
18456         (ebrowse-default-face, ebrowse-member-attribute-face)
18457         (ebrowse-member-class-face, ebrowse-progress-face):
18458         * progmodes/make-mode.el (makefile-space-face):
18459         * progmodes/sh-script.el (sh-heredoc-face):
18460         * textmodes/flyspell.el (flyspell-incorrect-face)
18461         (flyspell-duplicate-face):
18462         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
18463         * textmodes/texinfo.el (texinfo-heading-face):
18464         Mark face aliases with "-face" suffix as obsolete.
18466         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
18467         compiler.
18469         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
18470         (eudc-bob-sound-menu): Use defvar rather than defconst, since
18471         easy-menu-define wants to modify these.
18473         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
18475         * net/browse-url.el (browse-url-file-url):
18476         * term/internal.el (dos-codepage-setup):
18477         Use default-value rather than default-enable-multibyte-characters.
18479         * progmodes/etags.el (etags-goto-tag-location):
18480         * progmodes/flymake.el (flymake-highlight-line)
18481         (flymake-goto-file-and-line, flymake-goto-line):
18482         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
18483         (gdb-goto-breakpoint):
18484         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
18485         * progmodes/python.el (python-find-function)
18486         (python-pdbtrack-track-stack-file):
18487         * progmodes/verilog-mode.el (verilog-surelint-off):
18488         * term/ns-win.el (ns-open-file-select-line):
18489         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
18490         Use forward-line rather than goto-line.
18492         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
18493         * textmodes/reftex-index.el (reftex-display-index):
18494         * textmodes/reftex-ref.el (reftex-offer-label-menu):
18495         * textmodes/reftex-toc.el (reftex-toc):
18496         Remove unnecessary bindings of default-major-mode (all are followed by
18497         major-mode check and possible mode switch).
18499 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
18501         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
18502         Handle watchpoints (bug#4282).
18503         (def-gdb-thread-buffer-command): Enable thread to be selected by
18504         clicking without selecting threads buffer first.
18505         (gdb-current-context-command): Use selected frame so that "up",
18506         "down" etc work in the GUD buffer.
18507         (gdb-update): Find selected frame before rendering stack buffer.
18508         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
18510 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
18512         * progmodes/sym-comp.el (displayed-completions): Remove.
18513         (symbol-complete): Use minibuffer-complete.
18515 2009-08-31  Glenn Morris  <rgm@gnu.org>
18517         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
18519         * apropos.el (apropos-symbols-internal):
18520         Handle (obsolete) face aliases.
18522         * faces.el (describe-face): Adjust the output format to be more like
18523         describe-variable, and to mention (obsolete) face aliases.
18524         Adjust the whitespace so that help-setup-xref works.
18526         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
18527         * calendar/diary-lib.el (diary-button-face):
18528         Mark these face aliases as obsolete.
18530         * calendar/calendar.el (calendar-today): Doc fix.
18532 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
18534         * progmodes/gdb-mi.el (gdb-control-all-threads)
18535         (gdb-control-current-thread): Force tool bar update.
18536         (gdb-non-stop-handler): New function.
18537         (gdb-init-1): Use it to test if non-stop mode is supported.
18538         Remove unused gdbmi buffer type.
18540 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
18542         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
18543         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
18545 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
18547         * comint.el (comint-exec-1): Check command is non-null first.
18548         Part of gdb-mi.el change (2009-08-28).
18550 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
18552         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
18554 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
18556         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
18557         instead of `dolist' to avoid a recursive require when bootstrapping.
18559 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
18561         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
18563         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
18565         * net/imap.el (imap-send-command): Simplify.
18566         (imap-wait-for-tag): point-max -> buffer-size.
18568         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
18570         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
18571         with constant argument.
18573         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
18575         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
18577         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
18578         Change default, since most of our files don't have a history.
18579         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
18580         the user.
18582         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18583         Add comint-run.
18585         * calc/calc.el: Improve commenting convention.
18586         (calc-digit-map, toplevel): Simplify.
18588         * comint.el (comint-insert-input): Be careful to only set point if we
18589         don't delegate to some other command.
18591         * proced.el (proced-signal-list): Make it an alist.
18592         (proced-grammar-alist): Capitalize names.
18593         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
18594         Disable undo manually and make it read-only.
18595         Use completion-annotate-function.
18597         * minibuffer.el (minibuffer-message): If the current buffer is not
18598         a minibuffer, insert the message in the echo area rather than at the
18599         end of the buffer.
18600         (completion-annotate-function): New variable.
18601         (minibuffer-completion-help): Use it.
18602         (completion--embedded-envvar-table): Environment vars are
18603         always case-sensitive.
18605 2009-08-30  Glenn Morris  <rgm@gnu.org>
18607         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
18608         from fortran-current-defun.
18609         (fortran-beginning-of-subprogram): Be more precise about finding the
18610         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
18611         (fortran-end-of-subprogram): Simplify.
18612         (fortran-current-defun): Use fortran-start-prog-re.
18614 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
18616         * subr.el (do-after-load-evaluation): Simplify.
18618 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
18620         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
18622         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
18623         (vc-rcs-print-log): Use it.
18625         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
18627 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18629         * paths.el (abbrev-file-name): Move to abbrev.el.
18630         * abbrev.el (abbrev-file-name): Move from paths.el.
18631         Obey user-emacs-directory.
18632         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
18633         user-emacs-directory.
18634         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
18635         abbrev-file-name and calc-settings-file any more.
18636         * startup.el (command-line): Recompute abbrev-file-name and
18637         abbreviated-home-dir.
18638         (normal-no-mouse-startup-screen): Improve the generic code and get rid
18639         of the special code for when C-h bindings haven't been changed.
18640         (display-startup-echo-area-message): Use with-current-buffer.
18641         (command-line-1): Use a list of strings, rather than a list of lists
18642         of strings for longopts.
18644         * files.el (get-free-disk-space): Use / for default-directory.
18646         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
18647         Use with-current-buffer.
18649         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
18650         Recognize immutable variables like most-positive-fixnum.
18651         (byte-compile-setq-default): Check and warn if trying to assign
18652         to an immutable variable, or a non-variable.
18654         * progmodes/cc-vars.el (c-comment-continuation-stars):
18655         * progmodes/cc-engine.el (c-looking-at-bos):
18656         * progmodes/cc-cmds.el (c-toggle-auto-state)
18657         (c-forward-into-nomenclature, c-backward-into-nomenclature)
18658         (c-comment-line-break-function): Add version of obsolescence.
18660 2009-08-28  Juri Linkov  <juri@jurta.org>
18662         * files.el (magic-fallback-mode-alist): Add ZIP magic number
18663         associated with `archive-mode'.
18665         * image.el (image-type-header-regexps): Use only JPEG magic number
18666         to determine JPEG images, and don't use `image-jpeg-p' because
18667         Emacs can display non-JFIF non-Exif JPEG images.
18669 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
18671         * arc-mode.el (archive-mode):
18672         * emacs-lisp/re-builder.el (re-builder-unload-function):
18673         Protect against the default value of `major-mode' being nil.
18675 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
18677         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
18678         Fix typos in docstrings.
18680         * progmodes/js.el (js--macro-decl-re): Doc fix.
18681         (js--plain-method-re, js--split-name): Refloc docstring.
18682         (js--class-styles, js--make-merged-item, js--splice-into-items):
18683         Fix typos in docstrings; reflow docstrings.
18684         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
18685         (js--variable-decl-matcher, js--inside-pitem-p)
18686         (js--parse-state-at-point, js--get-all-known-symbols)
18687         (js--symbol-history, js-find-symbol, js--js-references)
18688         (js--moz-interactor, js--js-encode-value, js--read-tab):
18689         Fix typos in docstrings.
18691 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18693         * textmodes/reftex.el (reftex-get-file-buffer-force):
18694         * progmodes/verilog-mode.el (verilog-batch-execute-func):
18695         * emulation/viper.el (viper-go-away, viper-set-hooks):
18696         * emacs-lisp/re-builder.el (re-builder-unload-function):
18697         * emacs-lisp/bytecomp.el (byte-compile-file):
18698         * ses.el (ses-unload-function):
18699         * hexl.el (hexl-find-file):
18700         * files.el (normal-mode):
18701         * ehelp.el (with-electric-help):
18702         * autoinsert.el (auto-insert-alist):
18703         * arc-mode.el (archive-mode):
18704         Use (default-value 'major-mode) instead of default-major-mode.
18706         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
18707         * international/mule.el (load-with-code-conversion):
18708         * emacs-lisp/debug.el (debug):
18709         * ediff-vers.el (ediff-rcs-get-output-buffer):
18710         * dired.el (dired-internal-noselect): Don't let-bind
18711         default-major-mode around code that doesn't use it.
18712         E.g. buffer creation via get-buffer-create doesn't use it.
18714 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
18716         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
18717         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
18718         when writing the temp file.  Otherwise, epa-file gets confused.
18719         (tramp-register-file-name-handlers): Make it a defun.  Move also
18720         `epa-file-handler' to the front of `file-name-handler-alist'.
18722 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18724         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
18725         start right after a ^M.
18726         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
18727         (tramp-completion-file-name-regexp-separate)
18728         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
18729         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
18730         Don't modify last-coding-system-used by accident.
18731         (tramp-completion-file-name-handler): Apply the checks here,
18732         instead during registration.
18733         (tramp-register-file-name-handlers): Rename from
18734         `tramp-register-file-name-handler'.  Register both
18735         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
18736         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
18738 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
18740         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
18741         Remove variable ...
18742         (gdb-init-1, gdb-display-separate-io-buffer)
18743         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
18744         references to it.
18745         (gdb-inferior-io-mode): Use make-comint-in-buffer.
18746         (gdb-inferior-filter): Use comint-output-filter to stop
18747         echoing and remove ^M characters.
18749 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18751         * emulation/viper-init.el (viper-restore-cursor-type):
18752         * emulation/cua-base.el (cua--update-indications):
18753         Replace default-cursor-type with (default-value 'cursor-type).
18755         * mail/sendmail.el (mail-recover-1):
18756         * international/mule-diag.el (describe-current-coding-system-briefly)
18757         (describe-current-coding-system):
18758         * international/mule-cmds.el (select-safe-coding-system)
18759         (select-message-coding-system)
18760         (set-language-environment-coding-systems, set-locale-environment):
18761         * hexl.el (hexl-insert-multibyte-char):
18762         * dos-w32.el (find-buffer-file-type-coding-system):
18763         * simple.el (what-cursor-position):
18764         Replace uses of default-buffer-file-coding-system
18765         with (default-value 'buffer-file-coding-system).
18767         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
18768         Replace uses of default-cursor-in-non-selected-windows
18769         with (default-value 'cursor-in-non-selected-windows).
18770         Use with-current-buffer.
18772         * mail/feedmail.el: Use CL macros.
18773         (feedmail-run-the-queue, feedmail-send-it-immediately):
18774         * dos-w32.el (find-buffer-file-type): Replace uses of
18775         default-buffer-file-type with (default-value 'buffer-file-type).
18777 2009-08-28  Glenn Morris  <rgm@gnu.org>
18779         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
18780         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
18781         Use default-value of major-mode rather than default-major-mode.
18783 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18785         * Makefile.in (update-elcfiles): Report left over elc files.
18787         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
18788         expand-file-name and with-current-buffer.
18789         (mail-get-names, mail-directory): Use with-current-buffer.
18791         * vc.el (vc-read-revision): New function.
18792         (vc-version-diff, vc-merge): Use it.
18794 2009-08-27  Sam Steingold  <sds@gnu.org>
18796         * simple.el (kill-do-not-save-duplicates): New user option.
18797         (kill-new): When it is non-nil, and the new string is the same as
18798         the latest kill, set replace to t to avoid duplicates in kill-ring.
18800 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
18802         * net/tramp.el (tramp-handle-process-file): Do not flush all
18803         caches when `process-file-side-effects' is set.
18804         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
18805         instead of `tramp-find-file-exists-command'.
18806         Unset `process-file-side-effects'.
18808 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
18810         * net/tramp.el (tramp-methods): New method "rsyncc".
18811         (top): Add completion function for "rsyncc".
18812         (tramp-message-show-message): New defvar.
18813         (tramp-message, tramp-error): Use it.
18814         (tramp-do-copy-or-rename-file-directly): Extend check for direct
18815         remote copying.
18816         (tramp-do-copy-or-rename-file-out-of-band): Handle new
18817         `tramp-methods' entry `copy-env' of "rsyncc".
18818         (tramp-vc-registered-read-file-names): New defconst.
18819         (tramp-vc-registered-file-names): New defvar.
18820         (tramp-handle-vc-registered): Implement optimization strategy.
18821         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
18822         (tramp-vc-file-name-handler): New defun.
18823         (tramp-get-ls-command, tramp-get-test-command)
18824         (tramp-get-file-exists-command, tramp-get-remote-ln)
18825         (tramp-get-remote-perl, tramp-get-remote-stat)
18826         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
18828         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
18829         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
18830         timestamps.
18831         (tramp-get-file-property): Check for timestamps in
18832         `tramp-cache-inhibit-cache'.
18833         (tramp-set-file-property): Write timestamp.
18835 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
18837         * language/japan-util.el (japanese-symbol-table): Add entries for
18838         cp932-2-byte.
18840         * international/characters.el: Add category `j' to cp932-2-byte.
18842 2009-08-27  Kenichi Handa  <handa@m17n.org>
18844         * international/fontset.el (build-default-fontset-data): New macro.
18845         (setup-default-fontset): Use build-default-fontset-data for CJK,
18846         tibetan, ethiopic, and ipa.
18848 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18850         * cus-start.el (default-major-mode): Customize `major-mode' instead.
18851         (enable-multibyte-characters): Not customizable any more.
18853         * subr.el (default-mode-line-format, default-header-line-format)
18854         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
18855         (default-direction-reversed, default-truncate-lines)
18856         (default-left-margin, default-tab-width, default-case-fold-search)
18857         (default-left-margin-width, default-right-margin-width)
18858         (default-left-fringe-width, default-right-fringe-width)
18859         (default-fringes-outside-margins, default-scroll-bar-width)
18860         (default-vertical-scroll-bar, default-indicate-empty-lines)
18861         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
18862         (default-fringe-cursor-alist, default-scroll-up-aggressively)
18863         (default-scroll-down-aggressively, default-fill-column)
18864         (default-cursor-type, default-buffer-file-type)
18865         (default-cursor-in-non-selected-windows)
18866         (default-buffer-file-coding-system, default-major-mode)
18867         (default-enable-multibyte-characters): Mark as obsolete.
18869 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
18871         * vc-dir.el (vc-dir-update): Remove debug helper.
18873         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
18875 2009-08-26  Sam Steingold  <sds@gnu.org>
18877         * simple.el (save-interprogram-paste-before-kill): New user option.
18878         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
18879         save the interprogram-paste into kill-ring before overriding it
18880         with the Emacs kill.
18882 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
18884         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
18885         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
18886         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
18887         and move to vc-rcs.el.
18888         (vc-default-next-revision): Rename to vc-rcs-next-revision and
18889         move to vc-rcs.el.
18890         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
18891         (vc-rcs-update-changelog): Remove.
18892         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
18893         and move to vc-rcs.el.
18895         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
18896         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
18897         renaming.
18898         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
18899         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
18900         vc.el, renamed to be RCS specific.
18902         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
18903         New functions.
18904         (vc-cvs-update-changelog): Move here from vc.el.
18906         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
18907         New functions.
18909 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
18911         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
18913 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
18915         * vc-git.el (vc-git-register): Use "git add" for directories.
18916         (vc-git-stash, vc-git-stash-show): New functions.
18917         (vc-git-extra-menu-map): Bind them.
18919         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
18920         directory correctly in case the item is a directory itself.
18922         * vc.el: Document the desired behavior for reverted files in the
18923         `added' state.
18924         (vc-default-prettify-state-info): Remove function, unused.
18926         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
18928 2009-08-26  Glenn Morris  <rgm@gnu.org>
18930         * bindings.el (standard-mode-line-format): Reposition dashes in
18931         which-func entry.  (Bug#4217)
18933         * files.el (enable-local-variables, enable-local-eval)
18934         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
18935         the defcustoms.
18936         (auto-mode-alist, ignored-local-variables)
18937         (save-some-buffers-action-alist): Move risky declarations to the
18938         definitions.
18939         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
18940         (font-lock-defaults, format-alist, imenu--index-alist)
18941         (imenu-generic-expression, input-method-alist, minor-mode-alist)
18942         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
18943         (mode-line-modified, mode-line-mule-info, mode-line-position)
18944         (mode-line-process, mode-line-remote, outline-level)
18945         (parse-time-rules, rmail-output-file-alist)
18946         (special-display-buffer-names, vc-mode):
18947         Move risky declarations to the relevant files.
18948         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
18949         (mode-line-modified, mode-line-process, mode-line-position)
18950         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
18951         * font-core.el (font-lock-defaults):
18952         * format.el (format-alist):
18953         * vc-hooks.el (vc-mode):
18954         * window.el (special-display-buffer-names):
18955         * international/mule-cmds.el (input-method-alist):
18956         Define riskiness here (dumped file) rather than in files.el.
18957         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
18958         * imenu.el (imenu-generic-expression, imenu--index-alist):
18959         * outline.el (outline-level):
18960         * time.el (display-time-string):
18961         * calendar/parse-time.el (parse-time-rules):
18962         * mail/rmailout.el (rmail-output-file-alist):
18963         Autoload riskiness here, rather than placing in files.el.
18965 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
18967         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
18969 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
18971         * simple.el (process-file-side-effects): New defvar.
18973         * dired-aux.el (dired-show-file-type):
18974         * vc.el (vc-diff-internal):
18975         * vc-arch.el (vc-arch-diff):
18976         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
18977         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
18978         * vc-git.el (vc-git-registered, vc-git-working-revision)
18979         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
18980         (vc-git--empty-db-p):
18981         * vc-hooks.el (vc-user-login-name):
18982         * vc-svn.el (vc-svn-registered, vc-svn-state)
18983         (vc-svn-dir-extra-headers, vc-svn-find-revision):
18984         * progmodes/grep.el (grep-probe): Let-bind
18985         `process-file-side-effects' with nil.
18987         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
18989         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
18990         daemon.  Replace ping by checking for running service for bluez
18991         and zeroconf.  (Bug#4239)
18993 2009-08-25  Kevin Ryde  <user42@zip.com.au>
18995         * net/dig.el (dig): Add autoload cookie.
18997 2009-08-25  Glenn Morris  <rgm@gnu.org>
18999         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
19000         load-history for absolute file-names.
19001         (byte-compile-file-form-require): Warn about use of the cl package.
19003         * format.el (format-alist): Doc fix.
19005         * play/bubbles.el (top-level): Don't require cl at run-time.
19007         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
19008         run-time cl).
19010 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
19012         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
19013         from cl package.
19014         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
19016 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
19018         * calc/calc-alg.el (math-trig-rewrite)
19019         (math-hyperbolic-trig-rewrite): New functions.
19020         (calc-simplify): Simplify trig functions when asked.
19022 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
19024         * diff-mode.el (diff-find-source-location): Avoid goto-line.
19026 2009-08-24  Kenichi Handa  <handa@m17n.org>
19028         * language/ind-util.el (mapthread): Delete it.
19029         (combinatorial): New function.
19030         (indian--puthash-cv): Use combinatorial instead of mapthread.
19032 2009-08-22  Kevin Ryde  <user42@zip.com.au>
19034         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
19035         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
19036         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
19037         Clarify docstring that the value is strings not symbols.
19038         (checkdoc-list-of-strings-p): New function.
19040 2009-08-22  Glenn Morris  <rgm@gnu.org>
19042         * files.el (auto-mode-alist):
19043         * hippie-exp.el (he-concat-directory-file-name):
19044         * lpr.el (lpr-windows-system, printer-name):
19045         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
19046         * ps-print.el (ps-windows-system):
19047         * startup.el (command-line):
19048         * emulation/viper-ex.el (viper-glob-function):
19049         * international/mule-cmds.el (set-language-environment-coding-systems):
19050         * net/ange-ftp.el (ange-ftp-write-region):
19051         * obsolete/fast-lock.el (fast-lock-cache-name):
19052         Remove code for defunct system-types emx, macos, mswindows, next-mach,
19053         unisoft-unix, vax-vms, win32, w32.
19055         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
19056         given name if the pattern is not more specific.
19058         * calendar/lunar.el (lunar-phase-names): New option.
19059         (lunar-phase): Doc fix.
19060         (lunar-cycles-per-year): New constant.
19061         (lunar-index): New function.
19062         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
19063         (lunar-phase-name): Use lunar-phase-names.
19064         (calendar-lunar-phases): Use format.
19065         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
19067         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
19068         Copy imenu-example--name-and-position function here for own use.
19069         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
19071         * bs.el (bs--redisplay):
19072         * cus-edit.el (custom-redraw):
19073         * ibuffer.el (ibuffer-bury-buffer):
19074         * server.el (server-goto-line-column):
19075         * startup.el (command-line-1):
19076         * strokes.el (strokes-xpm-for-stroke):
19077         * term.el (term-display-buffer-line):
19078         * view.el (View-goto-line):
19079         * calc/calc.el (calc-do, calc-trail-buffer):
19080         * play/gamegrid.el (gamegrid-add-score-insecure):
19081         * progmodes/ada-mode.el (ada-compile-goto-error):
19082         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
19083         (ebrowse-select-1st-to-9nth):
19084         * progmodes/cperl-mode.el (cperl-time-fontification):
19085         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
19086         * progmodes/gud.el (gud-display-line):
19087         (idlwave-shell-display-line):
19088         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
19089         * progmodes/make-mode.el (makefile-browser-toggle):
19090         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
19091         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
19092         * textmodes/picture.el (picture-draw-rectangle):
19093         * textmodes/reftex-index.el (reftex-index-goto-letter):
19094         (reftex-select-jump-to-previous):
19095         * textmodes/reftex-sel.el (reftex-find-start-point)
19096         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
19097         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
19098         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
19099         * textmodes/tex-mode.el (tex-compilation-parse-errors):
19100         * textmodes/two-column.el (2C-associated-buffer):
19101         Use forward-line rather than goto-line.
19103         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
19104         goto-line.
19106         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
19107         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
19108         (quick-check-list-to-regexp): Declare.
19110         * progmodes/make-mode.el (makefile-browser-insert-selection):
19111         Use goto-char rather than goto-line.
19113         * progmodes/prolog.el (compilation-error-regexp-alist)
19114         (compilation-forget-errors): Declare.
19116 2009-08-22  Juri Linkov  <juri@jurta.org>
19118         * progmodes/grep.el (lgrep, rgrep): At the beginning
19119         set `dir' to `default-directory' unless `dir' is a non-nil
19120         readable directory.  (Bug#4052)
19121         (lgrep, rgrep): Change a weird way to report an error
19122         from using `read-string' to using `error'.
19123         Instead of using interactive arguments in the function body,
19124         add new argument `confirm'.
19126 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
19128         * textmodes/remember.el (remember-buffer):
19129         * progmodes/cperl-mode.el (cperl-vc-header-alist):
19130         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
19131         (icalendar-extract-ical-from-buffer):
19132         * net/newst-treeview.el (newsticker-groups-filename):
19133         * net/newst-backend.el (newsticker-cache-filename):
19134         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
19135         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
19136         (speedbar-add-ignored-path-regexp, speedbar-line-path)
19137         (speedbar-buffers-line-path, speedbar-path-line)
19138         (speedbar-buffers-line-path):
19139         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
19140         (epg-sign-keys):
19141         * epa.el (epa-display-verify-result):
19142         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
19144 2009-08-21  Glenn Morris  <rgm@gnu.org>
19146         * progmodes/js.el (inferior-moz-process): Fix declaration.
19148         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
19150         * obsolete/rnewspost.el (news-mail-reply):
19151         Use goto-char rather than goto-line.
19153         * term/ns-win.el (ns-open-file-select-line):
19154         Use line-beginning-position rather than goto-line.
19156         * apropos.el (apropos-command):
19157         * ehelp.el (electric-helpify):
19158         * printing.el (pr-show-setup):
19159         * strokes.el (strokes-help):
19160         * tutorial.el (tutorial--describe-nonstandard-key)
19161         (tutorial--detailed-help):
19162         * woman.el (woman-mini-help, woman-display-extended-fonts):
19163         * calc/calc-help.el (calc-describe-key):
19164         * emulation/edt.el (edt-electric-helpify):
19165         * international/mule-diag.el (mule-diag):
19166         * play/yow.el (apropos-zippy):
19167         * progmodes/python.el (python-describe-symbol):
19168         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
19169         * textmodes/table.el (*table--cell-describe-mode)
19170         (*table--cell-describe-bindings):
19171         Use help-print-return-message rather than the now obsolete alias.
19173         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
19174         (calendar-cursor-to-visible-date):
19175         * play/5x5.el (5x5-position-cursor):
19176         * play/decipher.el (decipher):
19177         * play/gomoku.el (gomoku-goto-xy):
19178         * play/landmark.el (lm-goto-xy):
19179         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
19180         (mpuz-paint-digit):
19181         Use forward-line, not goto-line.
19183         * mail/rmail.el (rmail-obsolete): Delete custom group.
19184         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
19185         (rmail-remote-password, rmail-remote-password-required):
19186         Remove unneeded :set-after and :set properties.
19188 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
19190         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
19192 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
19194         * loadup.el: Remove leftover macos code.
19196         * vc-git.el (vc-git-annotate-command): Run asynchronously.
19197         Explicitly pass the date format to git blame so that user local
19198         so that the output format can be parsed.
19200 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
19202         * net/dbus.el (top): Don't check for (getenv
19203         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
19205 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
19207         * log-edit.el (log-edit-strip-single-file-name): New var.
19208         (log-edit-insert-changelog): Use it.  Bug#3571
19210 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
19212         * subr.el (read-passwd): Use read-key so keypad keys work as well.
19213         Bug#3287
19215         * help.el (help-print-return-message): Rename from
19216         print-help-return-message.
19218         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
19219         cvs-mode-map parent hack.
19220         (log-view-mode): Derive from special-mode.
19222         * linum.el (linum-mode): window-size-change-functions is redundant.
19223         Adapt to new window-configuration-change-hook behavior.
19224         (linum-after-size, linum-after-config): Remove.
19226         * imenu.el (imenu-example--name-and-position)
19227         (imenu-example--lisp-extract-index-name)
19228         (imenu-example--create-lisp-index, imenu-example--create-c-index):
19229         Mark as obsolete.
19231         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
19232         (inferior-prolog-mode): Use it.
19233         (inferior-prolog-load-file): Reset list of errors.
19235 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
19237         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
19239         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
19241 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
19243         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
19244         is running already.
19246 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
19248         * subr.el (listify-key-sequence-1): Use normal syntax since those
19249         integers are nowadays always represented by the same (positive) number
19250         on all platforms.
19251         (read-key-empty-map): New const.
19252         (read-key-delay): New var.
19253         (read-key): New function.
19254         (force-mode-line-update): Use with-current-buffer.
19255         (locate-user-emacs-file): Don't forget to abbreviate the file name.
19256         (start-process-shell-command, start-file-process-shell-command):
19257         Discourage the use of command-args.
19259 2009-08-19  Glenn Morris  <rgm@gnu.org>
19261         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
19263 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
19265         * simple.el (choose-completion-string): Don't rely on
19266         minibuffer-completing-file-name and ad-hoc checks to decide whether
19267         to continue completion or not.
19269         * minibuffer.el (minibuffer-hide-completions): New function.
19270         (completion--do-completion): Use it.
19271         (completions-annotations): New face.
19272         (completion--insert-strings): Use it.
19273         (completion-pcm--delim-wild-regex): Add docstring.
19274         (completion-pcm--string->pattern): Add support for 0-width delimiters
19275         in completion-pcm--delim-wild-regex.
19277 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
19279         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
19280         Remove unused var `buffer-modified-p'.
19282         * minibuffer.el (completion--do-completion): Move point for the #b001
19283         case as well (bug#4176).
19284         (minibuffer-complete, minibuffer-complete-word): Don't move point.
19286 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
19288         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
19289         and :session buses.
19291 2009-08-18  Kenichi Handa  <handa@m17n.org>
19293         * international/ucs-normalize.el (ucs-normalize-version):
19294         Change to 1.1.
19295         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
19296         (utf-8-hfs): Make it perform normalization on encoding too.
19298         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
19299         (sentence-end-without-space): Delete duplicated chars.
19300         (sentence-end-base): Likewise.
19302         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
19303         (html-mode): Delete duplicated chars from sentence-end-base.
19305         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
19306         (texinfo-mode): Delete duplicated chars from sentence-end-base.
19308 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
19310         * files.el (hack-one-local-variable): If the mode function is for
19311         a minor mode, pass it an argument (Bug#4148).
19313 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
19315         * net/tramp.el (tramp-register-completion-file-name-handler):
19316         Check also for (member 'partial-completion completion-styles).
19318 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
19320         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
19321         abbrev (Bug#3943).
19323 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
19325         * progmodes/cperl-mode.el: Merge upstream 6.2.
19326         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
19327         (cperl-forward-re): Check cperl-brace-recursing.
19328         (cperl-highlight-charclass): New function.
19329         (cperl-find-pods-heres): Use it.
19330         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
19331         (cperl-beautify-regexp-piece): Fix column calculation.
19332         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
19333         (cperl-beautify-level): Don't process entire regexp.
19334         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
19335         calling man.
19336         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
19337         (cperl-init-faces): Build a list in the normal way.
19339 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
19341         * calendar/parse-time.el (parse-time-string-chars): Save match
19342         data.
19344 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
19346         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
19347         (sql-product): Use it.
19348         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
19349         (sql-set-product): Add completion.
19350         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
19351         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
19352         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
19353         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
19354         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
19355         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
19356         (sql-highlight-db2-keywords): Remove.
19357         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
19358         (sql-highlight-product): Use derived-mode-p.
19359         (sql-set-sqli-buffer): Use with-current-buffer.
19360         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
19361         Simplify.
19363         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
19365         * term.el: Fix commenting convention, turn comments into docstrings.
19367 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
19369         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
19371 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
19373         * calendar/parse-time.el (parse-time-string-chars): Compute using
19374         character classes, to handle non-ascii characters (Bug#3190).
19376 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
19378         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
19379         another heredoc if the user adds another < (Bug#3226).
19381         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
19382         Don't initialize based on window-system (Bug#4124).
19384         * facemenu.el (facemenu-read-color): Use a completion function
19385         that accepts any defined color, such as RGB triplets (Bug#3677).
19387         * files.el (get-free-disk-space): Change fallback default
19388         directory to /.  Expand DIR argument before switching to fallback.
19389         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
19391 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
19393         * files.el (load-library): Doc fix.
19395 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
19397         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
19398         (viper-if-string): Redefine C-s in the minibuffer to insert the last
19399         incremental search string.
19401         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
19402         XEmacs.
19404         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
19405         (ediff-merge-region-is-non-clash)
19406         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
19407         Also check if the job is really a merge job.
19409         * ediff.el (ediff-current-file): New function.
19411 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
19413         * progmodes/js.el: Edit docstrings throughout to follow Emacs
19414         conventions.
19415         (js-insert-and-indent): Delete function.
19416         (js-mode-map): Don't bind keys to js-insert-and-indent.
19417         (js-beginning-of-defun): Rename from js--beginning-of-defun.
19418         (js-end-of-defun): Rename from js--end-of-defun.
19419         (js-auto-indent-flag): Delete variable.
19421 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
19423         * progmodes/js.el: Remove proclaim statement.
19424         Defvar which-func-imenu-joiner-function to silence compiler.
19426         * files.el (auto-mode-alist): Use js-mode for .js files.
19428         * progmodes/js2-mode.el: Remove file.
19430         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
19432         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
19434         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
19436 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
19437             Karl Landstrom  <karl.landstrom@brgeight.se>
19439         * progmodes/js.el: New file.
19441 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
19443         * timezone.el (timezone-parse-date): Add ability to understand ISO
19444         basic format (minimal separators) dates in addition to the
19445         already-supported extended format dates.
19447 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
19449         * international/ucs-normalize.el: Add a `coding' file variable.
19451         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
19453 2009-08-14  Sam Steingold  <sds@gnu.org>
19455         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
19457 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
19459         * faces.el (help-argument-name): Define it here instead of
19460         help-fns.el, because in daemon mode help-fns.el may be loaded when
19461         faces are still uninitialized (Bug#1078).
19463         * help-fns.el (help-argument-name): Move defface to faces.el.
19465 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
19467         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
19468         create buffer with a pty but no process so that GDB can make the
19469         inferior the controlling process.
19471 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
19473         * international/ucs-normalize.el: New file.
19475 2009-08-13  Richard Stallman  <rms@gnu.org>
19477         * mail/rmail.el (rmail-get-attr-names):
19478         Accept an attribute header that is too short.
19480         * mail/rmail.el (rmail-forget-messages):
19481         Ignore nil elt in rmail-message-vector.  Use dotimes.
19483         * progmodes/compile.el (compilation-goto-locus):
19484         Use next-error-move-function.
19486         * simple.el (next-error-move-function): New variable.
19488 2009-08-12  Juri Linkov  <juri@jurta.org>
19490         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
19491         always non-nil.  (Bug#4052)
19493         * replace.el (read-regexp): Return empty string when
19494         `default-value' is nil.
19495         (keep-lines-read-args): Don't use empty string as the
19496         default value for `read-regexp'.  (Bug#2495)
19498 2009-08-12  Juri Linkov  <juri@jurta.org>
19500         * international/mule-cmds.el (ucs-insert): Change arguments
19501         from `arg' to `character', `count', `inherit' to be the same
19502         as in `insert-char'.  Doc fix.  (Bug#4039)
19504         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
19506 2009-08-12  Juri Linkov  <juri@jurta.org>
19508         * files-x.el: New file.
19510         * files.el: Move code that deals with adding/deleting
19511         file/directory-local variables to files-x.el.
19513         * Makefile.in (ELCFILES): Add files-x.elc.
19515 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
19517         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
19518         to use `goto-line'.
19519         (gdb-place-breakpoints, gdb-get-location): Rewritten without
19520         `goto-line'.
19521         (gdb-invalidate-disassembly): Do not refresh upon receiving
19522         'update signal.  Instead, update all disassembly buffers only after
19523         threads list.
19524         (gdb): Send -target-detach when buffer is killed (Bug#3794).
19525         (gdb-starting): Move -data-list-register-names...
19526         (gdb-stopped): ...here so it's sent when first thread stops.
19527         (gdb-registers-handler-custom): Do nothing if register names are
19528         unknown yet.
19530         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
19531         from `gdb-mi.el' to avoid extra tangling.
19533         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
19534         change which breaks `gud-def' definitions used in `gdb'.
19535         (gdb-update-gud-running): No extra fuss for updating frame number.
19537 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
19539         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
19540         (describe-language-environment-map, setup-language-environment-map)
19541         (set-coding-system-map): Move initialization into declaration.
19542         (set-language-info-alist): Last arg to define-key-after can be skipped.
19544         * international/quail.el (quail-completion-1): Simplify.
19545         (quail-define-rules): Use slightly more compact code.
19546         (quail-insert-decode-map): Propertize keys, compact columns.
19548         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19549         Add goto-line.
19551 2009-08-10  Miles Bader  <miles@gnu.org>
19553         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
19554         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
19555         (js2-instance-member, js2-private-member, js2-private-function-call)
19556         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
19557         (js2-magic-paren, js2-external-variable):
19558         Remove "-face" suffix from face names.
19559         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
19560         (js2-highlight-undeclared-vars, js2-peek-token)
19561         (js2-parse-function-params, js2-mode-show-errors)
19562         (js2-mode-show-warnings, js2-make-magic-delimiter)
19563         (js2-mode-highlight-magic-parens): Update to use new face names.
19565 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
19567         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
19568         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
19570 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
19572         * subr.el: Provide hashtable-print-readable.
19574         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
19575         hs-c-like-adjust-block-beginning.
19576         (hs-hide-block-at-point): Stop hiding at the beginning of
19577         hs-block-end-regexp (Bug#700).
19579 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
19581         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
19582         a macro.
19583         (gdb-registers-handler-custom): Do not fail when register names
19584         are unavailable.
19586 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
19588         * progmodes/gdb-mi.el (gdb-control-all-threads)
19589         (gdb-control-current-thread): Interactive setters for
19590         `gdb-gud-control-all-threads' to use in menu.
19591         (gdb-show-run-p): Show «Go» when process is not active.
19592         (gud-tool-bar-map): Add non-stop/A,T indicator.
19593         Uses gud/thread.xpm and gud/all.xpm.
19595 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
19597         * net/net-utils.el (net-utils-font-lock-keywords): New var.
19598         (nslookup-font-lock-keywords): Make it a variable.
19599         (net-utils-mode): New mode for viewing diagnostic network output.
19600         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
19601         (net-utils-run-simple): New function.
19602         (ifconfig, iwconfig, netstat, arp, route): Use it.
19604 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
19606         * progmodes/gdb-mi.el (gdb-read-memory-custom)
19607         (gdb-memory-set-address, def-gdb-set-positive-number)
19608         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
19609         after changing settings.
19610         (gdb-invalidate-disassembly): Update when first shown.
19611         (gdb-edit-locals-value): Fixed.
19612         (gdb-registers-handler-custom): Print registers in right order and
19613         allow changing register values (only for current thread yet).
19614         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
19615         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
19616         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
19617         (gdb-locals-handler-custom, gdb-registers-handler-custom):
19618         Thread info in mode name.
19619         (gdb-registers-mode-map): TAB to switch to locals.
19621 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
19623         * mail/rmail.el (rmail-add-mbox-headers)
19624         (rmail-set-message-counters-counter): Search for
19625         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
19627 2009-08-08  Glenn Morris  <rgm@gnu.org>
19629         * Makefile.in (ELCFILES): Update.
19631 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
19633         * mail/sendmail.el (mail-yank-original):
19634         Set buffer-file-coding-system from the one used by the message whose
19635         text is yanked.
19637         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
19638         to "windows" when "pgnuplot" is used.
19639         (calc-graph-command, calc-gnuplot-command, calc-graph-init):
19640         Don't call accept-process-output if "pgnuplot" is used.
19641         (calc-graph-init): Don't send -display and -geometry to
19642         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
19643         running "pgnuplot -V" with shell-command-to-string.
19645         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
19646         the default.
19648 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
19650         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
19651         org/org-latex.elc.
19653 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
19655         * vc-dispatcher.el (vc-resynch-window): Update comment.
19657         * term.el (term-handle-ansi-escape): Add comments with the
19658         terminfo capabilities implemented.
19660 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
19662         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
19663         (gdb-var-create-handler): Rewritten using JSON parser.
19664         (gdb-propertize-header): Move earlier.
19665         (gdb-set-header): Remove to avoid duplication.
19666         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
19667         Refresh disassembly buffers only after threads list have been
19668         update.
19669         (gdb-threads-header, gdb-registers-header): Per-buffer header line
19670         variables.
19672 2009-08-04  Juri Linkov  <juri@jurta.org>
19674         * files.el: Commands to add/delete file/directory-local variables.
19675         (read-file-local-variable, read-file-local-variable-value)
19676         (read-file-local-variable-mode, modify-file-local-variable)
19677         (modify-file-local-variable-prop-line)
19678         (modify-dir-local-variable): New functions.
19679         (add-file-local-variable, delete-file-local-variable)
19680         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
19681         (add-dir-local-variable, delete-dir-local-variable)
19682         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
19683         (copy-dir-locals-to-file-locals-prop-line): New commands.
19685 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
19687         * abbrev.el (insert-abbrev-table-description): Prettify output.
19688         Suggested by Karl Chen.
19690 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
19692         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
19693         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
19694         (gdb-overlay-arrow-position, gdb-thread-position)
19695         (gdb-disassembly-position): Declare variables.
19696         (gdb-wait-for-pending): Function now.
19697         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
19698         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
19699         compilation goes smoothly.
19700         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
19701         (gdb-non-stop-setting): New customization setting which replaces
19702         `gdb-non-stop' so changing it doesn't break active GDB session.
19703         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
19704         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
19705         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
19706         (gdb-show-threads-by-default): New customization options.
19707         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
19708         routines.
19709         (gdb-get-buffer-create): Send buffers update signal when they are
19710         created.
19711         (gdb-invalidate-locals, gdb-invalidate-registers)
19712         (gdb-invalidate-breakpoints)
19713         (gdb-invalidate-threads, gdb-invalidate-disassembly)
19714         (gdb-invalidate-memory): Accept update signal.
19715         (gdb-current-context-command): Use --frame option.
19716         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
19717         Implement `gdb-frame-number' selection logic.
19718         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
19719         whether to show GUD toolbar buttons.
19720         (gdb-thread-exited): Unselect current thread when it exits.
19721         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
19722         (gdb-mark-line): Routine which sets overlay arrow or inverses
19723         video on fringeless displays.
19724         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
19725         to build aligned columns of data in GDB buffers and set text
19726         properties line-by-line.
19727         (gdb-invalidate-breakpoints)
19728         (gdb-breakpoints-list-handler-custom)
19729         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
19730         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
19731         (gdb-registers-handler-custom): Align data columns.
19732         (gdb-locals-handler-custom): Now prints data like in variable
19733         declarations.
19734         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
19735         Remove confusing buttons.
19736         (gdb-invalidate-threads): Append --frame.
19737         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
19738         between breakpoints/threads buffers.
19739         (gdb-set-window-buffer): Now can ignore dedicated windows.
19740         (gdb-propertize-header): Use `gdb-set-window-buffer'.
19741         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
19742         (def-gdb-thread-buffer-gud-command): Replaces
19743         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
19744         for fine thread control.
19745         (gdb-preempt-existing-or-display-buffer): New function used to
19746         display bound buffers without breaking window layout.
19747         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
19748         (gdb-select-frame): New version of `gdb-frames-select' which now
19749         sets `gdb-frame-number' so commands may use --frame option instead
19750         of inner debugger state.
19751         (gdb-frame-handler): Do not set `gdb-frame-number'.
19752         (gdb-threads-mode-map): Select threads with mouse.
19754         * progmodes/gud.el (gdb-gud-context-call): Declare function to
19755         avoid compilation warning.
19756         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
19757         `gdb-show-stop-p`.
19759         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
19760         Argument `key' renamed to `buffer-type'.
19761         (gdb-current-context-buffer-name): Do not add thread info to
19762         buffer name when no thread is selected.
19763         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
19764         command (bug 3794).
19765         (gdb-thread-selected): Handle `=thread-selected' notification.
19766         (gdb-wait-for-pending): New macro to deal with congestion problems.
19767         (gdb-breakpoints-list-handler-custom): Don't fail on pending
19768         breakpoints.
19769         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
19770         This fixes problem similar to one described in bug 3947.
19771         (gud-menu-map): More menu items.
19772         (gdb-init-1): Reset `gdb-thread-number' to nil.
19774         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
19775         non-stop settings.
19777         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
19778         (gdb-current-context-command): Do not append --thread if
19779         `gdb-thread-number' is nil.
19780         (gdb-running-threads-count, gdb-stopped-threads-count):
19781         New variables.
19782         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
19783         (gdb-stopped-hooks, gdb-switch-when-another-stopped):
19784         New customization options.
19785         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
19786         GUD commands.
19787         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
19788         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
19789         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
19790         set `gdb-thread-number' and update `gud-running' properly.
19791         (gdb-running): Update threads list when new threads appear.
19792         (gdb-stopped): Support non-stop operation and new thread switching
19793         logic.
19794         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
19795         (gdb-json-partial-output): New set of JSON routines.
19796         (def-gdb-auto-update-trigger): New `signal-list' optional
19797         argument.
19798         (gdb-thread-list-handler-custom): Update `gud-running',
19799         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
19800         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
19801         (gdb-continue-thread, gdb-step-thread): New commands for fine
19802         thread execution control.
19803         (gud-menu-map): New menu items to switch non-stop options.
19804         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
19805         (gdb-send): Mimic RET properly (bug 3794).
19807         * progmodes/gdb-mi.el (gdb-rules-name-maker)
19808         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
19809         gdb-buffer-rules.
19810         (def-gdb-auto-update-handler): New nopreserve optional argument.
19811         (gdb-stack-list-frames-custom): Print stack from top to bottom.
19813         * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
19814         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
19815         (gdb-parent-mode): New mode to derive other GDB modes from.
19816         (gdb-display-disassembly-for-thread)
19817         (gdb-frame-disassembly-for-thread): New commands for threads
19818         buffer.
19820         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
19821         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
19822         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
19823         (gdb-update): We now store all GDB buffers in a list so that they
19824         can be updated by traversing a list instead of calling invalidate
19825         triggers explicitly.
19826         (def-gdb-trigger-and-handler): New macro to define trigger-handler
19827         pair for GDB buffer.
19828         (gdb-stack-buffer-name): Add thread information.
19829         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
19830         handle pending triggers.
19831         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
19832         (def-gdb-thread-buffer-simple-command)
19833         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
19834         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
19835         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
19836         New commands which show buffers bound to thread.
19837         (gdb-stack-list-locals-regexp): Remove unused regexp.
19839         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
19840         (gdb-locals-buffer-name, gdb-registers-buffer-name)
19841         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
19842         to (gud-comint-buffer) in *-buffer-name functions
19843         because (gdb-get-target-string) already does that.
19844         (gdb-locals-handler-custom, gdb-registers-handler-custom)
19845         (gdb-changed-registers-handler): Rewritten without regexps.
19847         * progmodes/gdb-mi.el: Basic thread selection support.
19848         (gdb-thread-number): New variable.
19849         (gdb-current-context-command): New macro which adds --thread
19850         option to command.
19851         (gdb-threads-mode-map): Select thread with SPC.
19852         (gdb-thread-list-handler-custom): Mark current thread with overlay
19853         arrow.  Synchronize GDB thread and Emacs thread.
19854         (gdb-select-thread): New command which selects current thread.
19855         (gdb-invalidate-frames, gdb-invalidate-locals)
19856         (gdb-invalidate-registers): Use --thread option.
19858 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
19860         * net/tramp.el (top): Make check for tramp-gvfs loading more
19861         robust.  (Bug#3977)
19862         (tramp-handle-insert-file-contents): `unwind-protect' must be
19863         inside `with-parsed-tramp-file-name'.
19865         * net/tramp-gvfs.el (top): Remove superfluous message when loading
19866         fails.
19868 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
19870         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
19871         directory if CLASSPATH is not set.
19873 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
19875         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
19876         New defconst.
19877         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
19879 2009-08-02  Kevin Ryde  <user42@zip.com.au>
19881         * net/newst-backend.el (newsticker--raw-url-list-defaults):
19882         Update freshmeat link.  Delete newsforge.com as it seems gone.
19884 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
19886         * select.el (x-set-selection): Doc fix (Bug#4021).
19888         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
19890         * help-fns.el (describe-variable): Treat list return values from
19891         dir-locals-find-file properly (Bug#4005).
19893 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
19895         * net/tramp.el (tramp-debug-message): Print also microseconds.
19897 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
19899         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
19900         or END is non-nil.
19901         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
19902         (tramp-get-debug-buffer): Change `outline-regexp' according to new
19903         format.
19905         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
19906         (tramp-get-file-property): Use it.
19908         * autorevert.el (auto-revert-handler):
19909         Allow `auto-revert-tail-mode' for remote files.
19911 2009-08-02  Jason Rumney  <jasonr@gnu.org>
19913         * minibuffer.el (read-file-name): Treat confirm options to
19914         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
19916 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
19918         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
19919         (font-lock-variable-name-face, font-lock-constant-face):
19920         Darken the colors for light backgrounds.
19922 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
19924         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
19925         month names.  (Bug#3987)
19927 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
19929         * simple.el (line-move-finish): Pass whole number to
19930         line-move-to-column.
19931         (line-move-visual): Perform hscroll to the recorded position.
19933 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
19935         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
19937 2009-07-29  Alan Mackenzie  <acm@muc.de>
19939         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
19941 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
19943         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
19944         (gdb-place-breakpoints): Use full path when setting breakpoints.
19946 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
19948         * calc/calc.el (calc-mode-map): Add keybinding for
19949         `calc-transpose-lines'.
19951 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
19953         * calc/calc-misc.el (calc-transpose-lines): New function.
19955 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
19957         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
19958         Simplify check for out-of-band methods.
19959         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
19960         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
19962 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
19964         * vc-git.el (vc-git-checkin): Fix typo.
19966 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
19968         * progmodes/js2-mode.el: New file.
19970 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
19972         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
19973         (gud-menu-map): Adjust tooltip accordingly.
19975 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
19977         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
19978         (vc-bzr-log-view-mode): Adjust log-view-file-re.
19980         * add-log.el (change-log-mode-map): Add a menu.
19982 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
19984         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
19985         function returns nil.
19986         (dbus-handle-event): Handle special return value :ignore.
19987         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
19989 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
19991         * view.el (view-mode-enable): Don't define Helper-return-blurb if
19992         it's not needed.
19994 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
19996         Fix Bug#3888:
19998         * w32-vars.el (x-select-enable-clipboard): Doc fix.
20000         * term/pc-win.el (x-display-name, x-colors)
20001         (x-select-enable-clipboard, x-select-text): Doc fix.
20003         * term/common-win.el (x-display-name, x-colors): Doc fix.
20005         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
20006         (xw-defined-colors): Doc fix.
20008         * w32-fns.el (x-select-text, x-setup-function-keys)
20009         (x-get-selection, x-set-selection): Doc fix.
20011         * term/x-win.el (x-select-text, x-setup-function-keys)
20012         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
20014         * select.el (x-set-selection): Doc fix.
20016 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
20018         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
20019         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
20020         "IsNSSSupportAvailable" method is not available.
20021         Reported by Steve Youngs <steve@sxemacs.org>.
20023 2009-07-24  Kenichi Handa  <handa@m17n.org>
20025         * international/characters.el: Fix setting of category ?C, ?|, ?K,
20026         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
20027         (build-unicode-category-table): Fix range checks.
20029 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
20031         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
20032         the buffer we try to sync is current when calling
20033         vc-resynch-buffer.
20035         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
20036         not show up to date files.
20038 2009-07-24  Glenn Morris  <rgm@gnu.org>
20040         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
20041         Add autoload cookies.  If necessary, initialize.
20042         (elint-log): Handle non-file buffers.
20043         (elint-initialize): Add optional argument to reinitialize.
20044         (elint-find-builtin-variables): Save excursion.
20046 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
20048         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
20049         for Lint.
20051 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
20053         * vc.el (vc-print-log-internal): New function, split out from ...
20054         (vc-print-log): ... here.
20055         (vc-dir-move-to-goal-column): Declare.
20057         * vc-git.el (vc-git-add-signoff): New variable.
20058         (vc-git-checkin): Use it.
20059         (vc-git-toggle-signoff): New function.
20060         (vc-git-extra-menu-map): Bind it to menu.
20061         (vc-git--run-command-string): Accept a nil FILE argument.
20062         (vc-git-stash-list): New function.
20063         (vc-git-dir-extra-headers): Use it.
20065 2009-07-23  Glenn Morris  <rgm@gnu.org>
20067         * help-fns.el (describe-variable): Describe ignored and risky local
20068         variables in a similar way to that in which we describe safe ones.
20070         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
20071         (byte-compile-output-file-form, byte-compile-output-docform)
20072         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
20073         Give some more local variables with common names a "bytecomp-" prefix,
20074         so as not to shadow things during compilation.
20075         * emacs-lisp/cl-macs.el (load-time-value)
20076         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
20077         `outbuffer' to `bytecomp-outbuffer'.
20079         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
20080         since the next two variables cover them automatically now.
20081         (elint-builtin-variables, elint-autoloaded-variables): New.
20082         (elint-unknown-builtin-args): Remove all members, since they can be
20083         parsed automatically now.
20084         (elint-extra-errors): New.
20085         (elint-env-add-env, elint-env-add-macro): Use cadr.
20086         (elint-current-buffer): Use or.  Change final message.
20087         (elint-get-top-forms): Use line-end-position.
20088         (elint-init-env): Use cadr.  Handle autoload, declare-function,
20089         and defalias.
20090         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
20091         (regexp-assoc): Remove unused function.
20092         (elint-top-form): Set elint-current-pos, to record the start of the
20093         top-level form, for compilation-mode.
20094         (elint-form): Trap errors in macro expansion.  Use dolist.
20095         (elint-unbound-variable): Use elint-builtin-variables and
20096         elint-autoloaded-variables.
20097         (elint-get-args): Use cadr, or.
20098         (elint-check-cond-form): Use dolist, cadr.
20099         (elint-check-condition-case-form): Doc fix.  Use cadr.
20100         Use elint-extra-errors.
20101         (elint-log): New function.
20102         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
20103         Distinguish errors and warnings.
20104         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
20105         Use a bytecomp-style format.
20106         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
20107         (elint-get-log-buffer): Use compilation mode.  Disable undo.
20108         Don't truncate lines.
20109         (elint-initialize): Set builtin and autoloaded variable lists.
20110         Only process elint-unknown-builtin-args if non-nil.
20111         (elint-find-builtin-variables, elint-find-autoloaded-variables):
20112         New functions.
20113         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
20115 2009-07-22  Kevin Ryde  <user42@zip.com.au>
20117         * net/newst-backend.el (newsticker--parse-atom-1.0)
20118         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
20119         (newsticker--parse-rss-1.0):
20120         * progmodes/idlwave.el (idlwave-mode):
20121         * progmodes/idlw-shell.el (idlwave-shell-mode):
20122         * progmodes/vera-mode.el (vera-mode):
20123         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
20124         * progmodes/vhdl-mode.el (vhdl-mode):
20125         * textmodes/table.el (table-generate-source)
20126         (table--warn-incompatibility):
20127         Hyperlink urls in docstrings with URL `...'.
20129 2009-07-22  Glenn Morris  <rgm@gnu.org>
20131         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
20132         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
20133         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
20134         Remove leading * from defcustom docs.
20136         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
20138         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
20139         defcustom doc.
20140         (list-load-path-shadows): Optionally, just return shadows as a string.
20142         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
20144 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
20146         * mail/rmailedit.el (rmail-edit-mode):
20147         Use auto-save-include-big-deletions.
20149         * mail/rmail.el (rmail-variables):
20150         Use auto-save-include-big-deletions.
20152         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
20153         changes.
20155 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
20157         * calc/calc.el (calc-undo-length): New variable.
20158         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
20160 2009-07-21  Richard Stallman  <rms@gnu.org>
20162         * files.el (auto-save-mode): Handle buffer-save-size = -2
20163         for toggling mode.
20165 2009-07-21  Glenn Morris  <rgm@gnu.org>
20167         * textmodes/ispell.el (ispell-looking-back): Update declaration.
20169         * calendar/todo-mode.el (calendar-current-date): Update declaration.
20171         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
20172         silence compiler.  Instead...
20173         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
20174         (ps-print-ensure-fontified): Update for above function name changes.
20176         * printing.el (pr-mh-get-msg-num, pr-mh-show)
20177         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
20178         silence compiler.  Instead...
20179         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
20180         (mh-show-buffer): Only define for compiler.
20181         (pr-mh-current-message): Update for above function name changes.
20183         * files.el (abort-if-file-too-large): Explicitly pass `filename'
20184         as an argument.
20185         (find-file-noselect, insert-file-1): Update for above change.
20187         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
20189         * mail/mailclient.el (mailclient-send-it): Fix message.
20191         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
20192         (edebug-eval): Check cl-debug-env is bound.
20193         (print-level, print-circle): Don't redefine built-in variables.
20195         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
20196         (custom-print-vectors): Remove old comments from doc.
20198         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
20199         (emerge-version): Make the variable an obsolete alias for the
20200         emacs-version variable.  Make the function obsolete.
20201         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
20202         Emerge options, rather than merging in into the main Options menu.
20203         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
20204         and auto advance modes.  Disable edit/fast items when not relevant.
20206 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
20208         * term/vt420.el (terminal-init-vt420): Fix typo.
20210 2009-07-20  Sam Steingold  <sds@gnu.org>
20212         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
20213         variable (removed from compile.el on 2004-03-11).
20215 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
20217         * files.el (hack-local-variables-filter): Fix last change.
20219 2009-07-19  Juri Linkov  <juri@jurta.org>
20221         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
20222         (dir-local-variables-alist): New buffer-local variable.
20223         (hack-local-variables-filter): If variable is not dir-local,
20224         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
20225         because file-local overrides dir-local.
20226         (c-postprocess-file-styles) <declare-function>:
20227         Remove obsolete declaration.
20228         (hack-dir-local-variables): Add dir-local variable/value pair to
20229         `dir-local-variables-alist' and remove duplicates.  Doc fix.
20231         * help-fns.el (describe-variable): Add information about
20232         file-local and dir-local variables.
20234 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
20236         * files.el (hack-local-variables-filter): Rewrite.
20238 2009-07-19  Glenn Morris  <rgm@gnu.org>
20240         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
20241         Silence compiler by only defining on XEmacs.
20243         * international/mule.el (auto-coding-regexp-alist): Only match
20244         BABYL... at the start of buffer, not of lines.  (Bug#3790)
20246         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
20247         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
20248         (cal-menu-context-mouse-menu): Doc fix.
20250         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
20252         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
20254 2009-07-18  Juri Linkov  <juri@jurta.org>
20256         * info.el: Virtual Info keyword finder.
20257         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
20258         (Info-finder-file): New variable.
20259         (Info-finder-find-file): New function.
20260         (finder-known-keywords, finder-package-info)
20261         (find-library-name, lm-commentary): Use defvar and
20262         declare-function to silence compiler warnings.
20263         (Info-finder-find-node): New function.
20264         (info-finder): New command.
20266         * subr.el (process-kill-buffer-query-function): New function.
20267         (add-hook)<kill-buffer-query-functions>: Add hook
20268         `process-kill-buffer-query-function'.
20270 2009-07-18  Alan Mackenzie  <acm@muc.de>
20272         * progmodes/cc-mode.el (c-before-hack-hook)
20273         (c-postprocess-file-styles): Give invocation of `c-set-style'
20274         DONT-OVERRIDE parameter of t.  Already set style variables will
20275         thus not be overridden by style settings given by `c-file-syle'.
20277         * files.el (hack-local-variables-filter): Remove entries with
20278         duplicate keys from `file-local-variables-alist'.
20280 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
20282         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
20283         x-set-selection if display-selections-p returns nil for the
20284         current frame.
20286 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
20288         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
20290 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
20292         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
20293         Accept nil in addition to a regexp.
20294         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
20295         Accept nil in addition to a regexp.
20296         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
20297         buffers that have an associated file.  Handle nil values of
20298         desktop-buffers-not-to-save and desktop-files-not-to-save.
20299         (Bug#3833)
20301         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
20302         (x-disown-selection-internal): New functions.
20304 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
20306         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
20307         warning.
20308         (gdb-breakpoints-header): Move forward to avoid compiler warning.
20309         (gdb-make-header-line-mouse-map): Remove duplicate definition.
20311 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
20313         * simple.el (set-mark): Revert last change.
20315 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
20317         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
20318         rendering of pngs is not possible instead of messaging a long
20319         description.
20321 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
20323         * w32-fns.el (x-selection-owner-p): New function.
20325         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
20326         (mouse-yank-at-click, mouse-yank-primary):
20327         If select-active-regions is non-nil, deactivate the mark before
20328         insertion.
20330         * simple.el (deactivate-mark, set-mark): Only save selection if we
20331         own it.
20333 2009-07-17  Kenichi Handa  <handa@m17n.org>
20335         * case-table.el (describe-buffer-case-table): Fix for the case
20336         that KEY is a cons.
20338 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
20340         * vc-rcs.el (vc-rcs-find-file-hook):
20341         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
20343 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
20345         * net/tramp.el (tramp-wait-for-output): Handle the case when
20346         commands do not return a newline but a null byte before the shell
20347         prompt.  (Bug#3858)
20349 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
20351         * term/ns-win.el (ns-set-alpha): Don't declare.
20352         (ns-set-background-alpha): Remove function.
20354 2009-07-16  Kevin Ryde  <user42@zip.com.au>
20356         * emacs-lisp/copyright.el (copyright-update): Save match-data across
20357         y-or-n-p, for safety.
20359 2009-07-16  Richard Stallman  <rms@gnu.org>
20361         * files.el (auto-save-mode): If buffer-saved-size is -2,
20362         don't clobber it.
20364         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
20365         (rmail-retry-ignored-headers): Add more uninteresting fields.
20367 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
20369         * net/rcirc.el (rcirc): Use history variables.
20370         (rcirc-server-name-history, rcirc-nick-name-history)
20371         (rcirc-server-port-history): New variables.
20373 2009-07-15  Kenichi Handa  <handa@m17n.org>
20375         * international/mule-cmds.el (set-language-environment-charset):
20376         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
20377         ignore them.
20379         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
20380         Delete unibyte-display.
20382 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
20384         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
20386 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
20388         * simple.el (deactivate-mark): Optional argument FORCE.
20389         (set-mark): Use deactivate-mark.
20391         * info.el (Info-search): No need to check transient-mark-mode
20392         before calling deactivate-mark.
20394         * select.el (x-set-selection): Doc fix.
20395         (x-valid-simple-selection-p): Allow buffer values.
20396         (xselect--selection-bounds): Handle buffer values.
20397         Suggested by David De La Harpe Golden.
20399         * mouse.el (mouse-set-region, mouse-drag-track):
20400         Call copy-region-as-kill before setting the mark, to let
20401         select-active-regions work.
20403 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
20405         * simple.el (deactivate-mark): If select-active-regions is
20406         non-nil, copy the selection data into a string.
20407         (activate-mark): If select-active-regions is non-nil, set the
20408         selection to the current buffer.
20409         (set-mark): Update selection if select-active-regions is non-nil.
20411         * select.el (x-valid-simple-selection-p): Allow buffer values.
20413 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
20415         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
20416         and more featureful message-mode.
20418 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
20420         * select.el (x-set-selection): Doc fix.
20421         (x-valid-simple-selection-p): Disallow selection data consisting
20422         of a list or cons of integers, since that is not used.
20423         (xselect--selection-bounds, xselect--int-to-cons): New functions.
20424         (xselect-convert-to-string, xselect-convert-to-length)
20425         (xselect-convert-to-filename, xselect-convert-to-charpos)
20426         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
20428 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
20430         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
20431         output in -break-info command (Emacs bug #3794).
20433 2009-07-14  Glenn Morris  <rgm@gnu.org>
20435         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
20436         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
20437         (edebug-print-length, edebug-print-level, edebug-print-circle)
20438         (edebug-sit-for-seconds, edebug-view-outside)
20439         (edebug-bounce-point, edebug-set-global-break-condition)
20440         (edebug-Go-nonstop-mode, edebug-trace-mode)
20441         (edebug-Trace-fast-mode, edebug-continue-mode)
20442         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
20443         (edebug-visit-eval-list): Doc fixes.
20445         * subr.el (def-edebug-spec): Doc fix.
20447 2009-07-14  Kenichi Handa  <handa@m17n.org>
20449         * international/characters.el: Fix setting of category ?C.
20451 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
20453         * term/ns-win.el (x-select-font): defalias x-select-font to
20454         ns-popup-font-panel instead of generate-fontset-menu.
20456 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
20458         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
20460 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
20462         * arc-mode.el (archive-find-type): Allow for a PK00 string before
20463         the PK\003\004 header (Bug#3770).
20465 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
20467         * pcomplete.el (pcomplete-comint-setup): Check for
20468         shell-dynamic-complete-filename too.
20470 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
20472         * simple.el (temporary-goal-column): Change the value for
20473         line-move-visual to a cons cell.
20474         (line-move-visual): Record or set the window hscroll, if
20475         necessary (Bug#3494).
20476         (line-move-1): Handle cons value of temporary-goal-column.
20478 2009-07-11  Kenichi Handa  <handa@m17n.org>
20480         * international/mule-diag.el (describe-character-set): Don't show
20481         width.
20483 2009-07-10  Sam Steingold  <sds@gnu.org>
20485         * progmodes/compile.el (compilation-mode-font-lock-keywords):
20486         Omake sometimes indents the errors it prints, so allow all
20487         regexps to start with spaces.
20489 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
20491         * cus-edit.el (customize-changed-options-previous-release):
20492         Bump value to 22.1.  (Bug#3804)
20494 2009-07-08  Sam Steingold  <sds@gnu.org>
20496         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
20497         to be a cons cell (test . ignored-directory) to selectively ignore
20498         some directories depending on the location of the search.
20500 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
20502         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
20503         remote user is root, on the local host.
20504         (tramp-local-host-p): Either the local user or the remote user
20505         must be root.  (Bug#3771)
20507 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
20509         * progmodes/gdb-mi.el (gdb): Remove description of
20510         gdb-use-separate-io-buffer.
20511         (menu): Don't allow toggling of or enable
20512         gdb-use-separate-io-buffer from menubar.
20514 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
20516         * mail/unrmail.el (unrmail): Make sure the message ends with two
20517         newlines (Bug#3769).
20519 2009-07-08  Glenn Morris  <rgm@gnu.org>
20521         * calendar/calendar.el (calendar-current-date): Rework previous change.
20523 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
20525         * calendar/calendar.el (calendar-current-date):
20526         Add an optional argument giving an offset from today.
20528 2009-07-08  Glenn Morris  <rgm@gnu.org>
20530         * tutorial.el (tutorial--describe-nonstandard-key):
20531         Adjust the message for when a key has been unbound.
20532         (help-with-tutorial): Hide the arch-tag.
20534 2009-07-08  Kenichi Handa  <handa@m17n.org>
20536         * international/fontset.el (setup-default-fontset): For each
20537         script, append (not set) font-specs.
20539         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
20540         docstring.
20542 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
20544         * progmodes/gdb-mi.el (gdb-init-1): Move sending
20545         -data-list-register-names to ...
20546         (gdb-starting): ... here because GDB 7.0 requires execution to
20547         have started when using this MI command.
20548         (gdb-set-header): New function to distinguish select and
20549         unselected tabs in gdb buffers.
20550         (gdb-propertize-header): New macro that uses gdb-set-header.
20551         (gdb-breakpoints-header, gdb-locals-header): Use it.
20552         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
20554 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
20556         * Makefile.in (ELCFILES): Remove fadr.elc.
20558 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
20560         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
20561         may contain frame information, so `string-match' should be used.
20562         (gdb-update): Disassembly is invalidated through
20563         `gdb-get-selected-frame'.
20564         (gdb-pad-string): New function to pad string with spaces.
20565         (gdb-invalidate-disassembly): Invalidate only if the buffer
20566         exists.
20567         (gdb-disassembly-handler-custom): Column alignment.
20568         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
20569         placing new ones.
20570         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
20571         end of line, too.
20572         (gdb-frame-handler): Match convention to for disassembly buffer
20573         mode name.
20574         (gdb-stack-list-frames-handler): Rewritten without regexps.
20575         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
20576         not highlight breakpoints without line information.
20577         (gdb-input): Add trailing newline to command.
20579         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
20580         buffer properly.
20581         (gdb-breakpoints-list-handler-custom): Replacement for
20582         `gdb-break-list-handler'.  Using real parser instead of regexps
20583         now.
20584         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
20585         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
20586         to place breakpoints.
20587         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
20588         functions.
20589         (gdb-disassembly-handler-custom): Show overlay arrow.
20590         (gdb-disassembly-place-breakpoints): Show breakpoints in
20591         disassembly buffer.
20592         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
20593         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
20594         instead of parsing breakpoints buffer.  Fixed old menu references
20595         in `gud-menu-map'.
20597         * fadr.el: Remove.
20599         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
20600         (gdb-memory-address): New variable which holds top address of
20601         memory page shown in memory buffer.
20602         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
20603         New customization variables.
20604         New functions:
20605         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
20606         display the memory buffer.
20607         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
20608         buffer display parameters.
20609         (def-gdb-memory-format, gdb-memory-format-binary)
20610         (gdb-memory-format-octal, gdb-memory-format-unsigned)
20611         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
20612         Functions for setting memory buffer format.
20613         (gdb-memory-unit-word, gdb-memory-unit-halfword)
20614         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
20615         unit size used in memory buffer.
20616         (gdb-memory-show-next-page, gdb-memory-show-previous-page):
20617         Switch to next/previous page of memory buffer.
20618         Now using (bindat-get-field) instead of fadr functions.
20620 2009-07-07  Sam Steingold  <sds@gnu.org>
20622         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
20623         non-top-level files.
20625 2009-07-07  Kenichi Handa  <handa@m17n.org>
20627         * international/mule-cmds.el (reset-language-environment):
20628         Put the highset priority to the charset iso-8859-1.
20630 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
20632         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
20633         to the end of the line when locating the block (Bug#700).
20635 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
20637         * net/tramp.el (tramp-handle-write-region): Flush file properties
20638         in case of short track.
20640 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
20642         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
20643         Coded custom representation of verilog error regular expressions
20644         to work with Emacs-22's new format.
20645         (verilog-error-regexp-xemacs-alist): Coded custom representation
20646         of verilog error regular expressions to work with XEmacs format.
20647         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
20648         error recognition into XEmacs.
20649         (verilog-error-regexp-add-emacs): Hook routine to install verilog
20650         error recognition into Emacs-22.
20652 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
20654         * woman.el: Remove stand-alone closing parentheses.
20655         (woman-file-name, woman2-format-paragraphs)
20656         (woman-leave-blank-lines): Code cleanup.
20657         (woman-use-own-frame): Change default to nil.
20658         (woman-italic, woman-bold, woman-unknown, woman-addition):
20659         Change defaults to inherit from default faces.
20660         (woman2-process-escapes): Consume the newline after a stand-alone
20661         filler character (Bug#3651).
20663 2009-07-06  Glenn Morris  <rgm@gnu.org>
20665         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
20666         (top-level): Move provide to the end.
20667         (ffap): Remove defunct URL from custom group.
20669         * subr.el (eval-after-load): Doc fix.
20671 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
20673         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
20674         `calc-embedded-word' is called twice.
20676 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
20678         * files.el (find-alternate-file-other-window, find-alternate-file):
20679         Obey confirm-nonexistent-file-or-buffer.
20681 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
20683         * dired-aux.el (dired-show-file-type): Handle remote files.
20685 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
20687         * desktop.el (desktop-globals-to-save):
20688         Add file-name-history (Bug#2750).
20690 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
20692         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
20694 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
20696         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
20697         property on entire argument since this is what eshell-lisp-command
20698         expects.
20700 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
20702         * net/tramp-gvfs.el (tramp-gvfs-methods)
20703         (tramp-gvfs-zeroconf-domain)
20704         (tramp-bluez-discover-devices-timeout): Add version flag.
20705         (tramp-gvfs-handler-mounted-unmounted)
20706         (tramp-gvfs-connection-mounted-p): Polish handling of
20707         incompatibilities between GVFS 0.2 and 1.0.
20709 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
20711         * cus-start.el (all): Add make-pointer-invisible.
20713 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
20715         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
20716         formatted correctly.
20718 2009-07-02  Juri Linkov  <juri@jurta.org>
20720         * info.el: Virtual Info files and nodes.
20721         (Info-virtual-files, Info-virtual-nodes): New variables.
20722         (Info-current-node-virtual): New variable.
20723         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
20724         New functions.
20725         (Info-file-supports-index-cookies): Use Info-virtual-file-p
20726         to check for a virtual file instead of checking a fixed list
20727         of node names.
20728         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
20729         instead of ad-hoc processing of "dir" and (apropos history toc).
20730         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
20731         instead of ad-hoc processing of "dir" and (apropos history toc).
20732         Reread a file when moving from a virtual node.
20733         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
20734         (Info-directory-toc-nodes, Info-directory-find-file)
20735         (Info-directory-find-node): New functions.
20736         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
20737         (Info-history): Move part of code to
20738         `Info-history-find-node'.
20739         (Info-history-toc-nodes, Info-history-find-file)
20740         (Info-history-find-node): New functions.
20741         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
20742         (Info-toc): Move part of code to `Info-toc-find-node'.
20743         (Info-toc-find-node): New function.
20744         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
20745         the current Info file name to references because now the node
20746         "*TOC*" belongs to the same Info manual.
20747         (Info-toc-build): Rename from `Info-build-toc'.
20748         (Info-toc-nodes): Rename input argument `file' to `filename'.
20749         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
20750         instead of ad-hoc processing of ("dir" apropos history toc).
20751         (Info-index-nodes): Use Info-virtual-file-p
20752         to check for a virtual file instead of checking a fixed list
20753         of node names.
20754         (Info-index-node): Add check for `Info-current-node-virtual'.
20755         Raise `save-match-data' higher up the tree to contain
20756         `search-forward' too (bug fix).
20757         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
20758         (Info-virtual-index-nodes): New variable.
20759         (Info-virtual-index-find-node, Info-virtual-index): New functions.
20760         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
20761         (Info-apropos-file, Info-apropos-nodes): New variables.
20762         (Info-apropos-toc-nodes, Info-apropos-find-file)
20763         (Info-apropos-find-node, Info-apropos-matches): New functions.
20764         (info-apropos): Move part of code to `Info-apropos-find-node' and
20765         `Info-apropos-matches'.
20766         (Info-mode-map): Bind "I" to `Info-virtual-index'.
20767         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
20768         for a virtual file instead of checking a fixed list of node names.
20770         * simple.el (async-shell-command): New command.
20772         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
20774         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
20775         instead of `mount-info'.
20777 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
20779         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
20780         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
20782 2009-07-02  Kenichi Handa  <handa@m17n.org>
20784         * international/mule.el (set-keyboard-coding-system): Force *-unix
20785         coding-system to avoid eol conversion.
20787 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
20789         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20790         Add handler for `process-file', `shell-command' and
20791         `start-file-process'.
20792         (tramp-gvfs-handle-shell-command)
20793         (tramp-gvfs-handle-start-file-process)
20794         (tramp-gvfs-handle-process-file): New defuns.
20795         (tramp-synce-list-devices): Simplify check for existence of property.
20797 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
20799         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
20801 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
20803         * language/korean.el (set-language-info-alist): Add korean-cp949,
20804         cp949 to spec.
20806 2009-07-01  Kenichi Handa  <handa@m17n.org>
20808         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
20810         * international/encoded-kb.el: Deleted.
20812         * international/mule.el (set-keyboard-coding-system): Perform the
20813         necessary setup here instead of calling encoded-kbd-setup-display.
20815 2009-07-01  Glenn Morris  <rgm@gnu.org>
20817         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
20819 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
20821         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
20823 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
20825         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
20826         Handle also the 'rename case, when setting file modes.  (Bug#3712)
20827         (tramp-default-file-modes): Remove execute permissions.
20829         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
20830         (top): Add a default for "synce" in `tramp-default-user-alist'.
20831         Add completion function for "synce" method.
20832         (tramp-hal-service, tramp-hal-path-manager)
20833         (tramp-hal-interface-manager, tramp-hal-interface-device):
20834         New defconst.
20835         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
20836         (tramp-synce-list-devices, tramp-synce-parse-device-names):
20837         New defuns.
20839         * net/trampver.el: Update release number.
20841 2009-06-30  Kenichi Handa  <handa@m17n.org>
20843         * international/fontset.el (setup-default-fontset): Add CJK fonts
20844         for symbols and the other miscellaneous characters.
20846         * language/korea-util.el (setup-korean-environment-internal):
20847         Make char-width-table suitable for Korean environments.
20848         (exit-korean-environment): Cancel above.
20850         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
20851         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
20852         setup-function to make char-width-table suitable for respective
20853         environments, and an exit-function to cancel that.
20855         * language/japan-util.el (setup-japanese-environment-internal):
20856         Call use-cjk-char-width-table with arg `ja_JP'.
20858         * international/characters.el (cjk-char-width-table): Delete it.
20859         (cjk-char-width-table-list): New variable.
20860         (use-cjk-char-width-table): New arg local-name.
20861         (use-default-char-width-table): Fix for the case that Emacs is
20862         already using the default char-width-table.
20864 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
20866         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
20867         modes mandatory.  (Bug#3712)
20869 2009-06-29  Alan Mackenzie  <acm@muc.de>
20871         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
20872         correction between the visible width of TABs and their number of bytes.
20874 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
20876         * server.el (server-buffer-done): Prevent kill-buffer from
20877         prompting by clearing the buffer modification flag (Bug#3696).
20879 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
20881         * progmodes/verilog-mode.el (verilog-beg-of-statement)
20882         (verilog-endcomment-reason-re): Support unique case and priority case.
20883         (verilog-basic-complete-re): Support localparam lineup.
20884         (verilog-beg-of-statement-1): Fix for robustness, unique case.
20885         (verilog-set-auto-endcomments): Fix for unique case, always_comb
20886         commenting.
20887         (verilog-leap-to-case-head): Now support *nested* unique &
20888         priority case statements.
20889         (verilog-auto-lineup): Make just declarations the default (as it
20890         had been).
20891         (verilog-leap-to-case-head): Support priority/unique case statements.
20892         (verilog-auto-lineup): Rework to give users radio buttons to
20893         select the various styles of automatic lineup.
20894         (verilog-error-regexp-alist): Rework to support the XEmacs style
20895         of error regular expressions from compilers, lint tools &
20896         simulators.  Note that GNU Emacs has made it impossible for a mode
20897         to load such things.
20898         (electric-verilog-terminate-line, verilog-indent-declaration)
20899         (verilog-auto-wiure): Rework for radio button selection of
20900         auto-lineup selection of specification of auto lineup.
20901         (verilog-beg-of-statement-1): Redesign to support proper operation
20902         in additional code, based on testing with auto-lineup.
20903         (verilog-calculate-indent, assignments & declarations)
20904         (verilog-backward-token): Enhance to support auto-lineup of
20905         assignments & declarations.
20906         (verilog-in-directive-p, verilog-at-struct-p): New function for
20907         easy test of whether we are.
20908         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
20909         to support safe execution at almost anyline.
20910         (verilog-calc-1): Properly support indenting deep inside generate
20911         blocks.
20912         (verilog-init-font): Remove definition & use of verilog-init-font,
20913         as it is redundant with font-lock-defaults.
20914         (verilog-mode): Alter the definition of verilog-font-lock-defaults
20915         to avoid circular calls if syntax-ppss is a function (as is the
20916         case now in 22.x GNU Emacs) as that function would sometimes call
20917         itself, leading to (nearly) infinite recursion.
20918         (verilog-ovm-begin-re, verilog-ovm-end-re)
20919         (verilog-ovm-statement-re, verilog-leap-to-head)
20920         (verilog-backward-token): Add support for OVM macros.  Some are
20921         complete statements, and others open and close scopes like begin
20922         and end.
20923         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
20924         (verilog-defun-level-generate-only-re): Really fix the defun-list
20925         compilation issue.
20926         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
20927         coverpoint, constraint and cross statements.
20928         (verilog-defun-level-list, verilog-generate-defun-level-list)
20929         (verilog-all-defun-level-list): Redo these specifications - it is
20930         too hard to support eval-when compile aggregation of lists also
20931         built at when-compile time.
20932         (verilog-defun-level-list): Place defconsts of variables used in
20933         building regular expressions which are built in eval-when-compile
20934         bodies in the same eval-when-compile body to facilitate compile
20935         without load.
20936         (verilog-beg-block-re-ordered): Support indenting
20937         virtual/protected tasks and functions.
20938         (verilog-defun-level-list, verilog-in-generate-region-p)
20939         (verilog-backward-ws&directives, verilog-calc-1): Speed up
20940         indentation of some module items (generate items).
20941         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
20942         across virtual/protected tasks and functions.
20944 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
20946         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
20947         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
20948         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
20949         in concatenations.  Reported by Yishay Belkind.
20950         (verilog-auto-ascii-enum): Support one-hot state machines in
20951         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
20952         (verilog-auto-inst, verilog-auto-inst-port): Include interface
20953         modport in AUTOINST and add vl-modport for users.
20954         Reported by David Rogoff.
20955         (verilog-auto-inout-module, verilog-auto-inst)
20956         (verilog-decls-get-interfaces, verilog-insert-definition)
20957         (verilog-insert-one-definition, verilog-read-decls)
20958         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
20959         (verilog-sig-modport, verilog-signals-combine-bus)
20960         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
20961         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
20962         Suggested by David Rogoff.
20963         (verilog-repair-open-comma): Fix non-insertion of comma when
20964         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
20965         (verilog-make-width-expression): Simplify [A-1:0] expression
20966         widths to just {A{1'b0}}.
20967         (verilog-mode): Cleanup checkdoc warnings.
20968         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
20969         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
20970         inputs/outputs or data type.  Suggested by Vasu Kandadi.
20971         (next-error-last-buffer): Fix byte-compiler warning.
20972         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
20973         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
20974         or shell command text during AUTO expansion.  Suggested by Tad Truex.
20975         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
20976         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
20977         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
20978         in AUTOINOUT.  Reported by Matthew Lovell.
20979         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
20980         causing use of <= assignments.  Reported by Alex Reed.
20981         (verilog-read-decls): Fix triand, trior, wand, wor to be
20982         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
20983         (verilog-extended-complete-re): Support import "DPI-C" functions.
20984         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
20985         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
20986         (verilog-insert-date, verilog-insert-year)
20987         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
20988         Windows systems.  Reported by Michael Potts.
20989         (verilog-read-module-name): Fix AUTOINST when the child module
20990         declaration's name is a tick define.  Reported by Elliot Mednick.
20991         (verilog-read-decls): Fix V2K parameter bit subscripts getting
20992         passed to next parameter's definition.  Reported by Bruce T.
20993         (verilog-read-decls): Fix detecting "parameter int" when using
20994         AUTOINSTPARAM.  Reported by Bruce T.
20995         (verilog-goto-defun): Fix goto not finding modules unless first
20996         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
20997         (verilog-mode): Expand -f flag arguments on entry to mode so
20998         verilog-goto-defun will work.  Reported by Lawrence Butcher.
20999         (verilog-getopt): Expand environment variables in -f file
21000         arguments.  Suggested by Lawrence Butcher.
21001         (verilog-set-define): Fix "Symbol's value as variable is void"
21002         when reading enumerations.
21003         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
21004         Suggested by Stephen Peltan.
21005         (verilog-read-defines): Fix reading of enumerations in include
21006         files.  Reported by Steve Peltan.
21008 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
21010         * files.el (trash-directory): Fix defcustom type.
21012 2009-06-28  Juri Linkov  <juri@jurta.org>
21014         * help-fns.el (describe-function-1): Correctly locate adviced
21015         functions in hyperlink (Bug#2438).
21017 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
21019         * files.el (trash-directory): Change default to nil.
21020         (move-file-to-trash): If trash-directory is nil and
21021         system-move-file-to-trash is unbound, perform freedesktop-style
21022         trashing.
21024 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
21026         * files.el (move-file-to-trash): Add freedesktop trash
21027         support (Bug#973).
21029 2009-06-28  Glenn Morris  <rgm@gnu.org>
21031         * autorevert.el (global-auto-revert-non-file-buffers)
21032         (global-auto-revert-mode): Doc fixes.
21034 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
21036         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
21038 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
21040         * faces.el (x-handle-named-frame-geometry): Ensure that we have
21041         opened an X connection before calling x-get-resource (Bug#3194).
21043         * play/doctor.el: Remove reference to obsolete website.
21044         (make-doctor-variables): Correct grammar mistake (Bug#2633).
21046 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
21048         Remove find-file-not-found-hook VC method.  (Bug#2757)
21049         * vc-hooks.el (vc-file-not-found-hook)
21050         (vc-default-find-file-not-found-hook): Remove functions.
21051         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
21052         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
21053         * vc.el:
21054         * vc-hg.el:
21055         * vc-git.el: Do not mention find-file-not-found-hook VC method.
21057 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
21059         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
21060         compatibility function for `looking-back'.
21062         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
21063         Use `ispell-looking-back'.
21065 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
21067         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
21068         rather than `filename'.
21070 2009-06-23  Miles Bader  <miles@gnu.org>
21072         * face-remap.el (text-scale-set): New function.
21074 2009-06-23  Glenn Morris  <rgm@gnu.org>
21076         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
21078         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
21080         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
21082         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
21084         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
21085         Simplify Persian conditionals.
21087         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
21088         variable `filename'.
21090         * comint.el (comint-insert-input): Doc fix.
21092         * Makefile.in (ELCFILES): Fix typo in previous change.
21094 2009-06-23  Miles Bader  <miles@gnu.org>
21096         * cus-start.el: Add entry for `recenter-redisplay'.
21098 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
21100         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
21101         Add an optional argument for the backend, use it instead of
21102         calling vc-backend.
21103         (vc-mode-line): Add an optional argument for the backend.
21104         Pass the backend to vc-state and vc-working-revision.  Move code for
21105         special handling for vc-state being a buffer to ...
21107         * vc-rcs.el (vc-rcs-find-file-hook):
21108         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
21110         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
21111         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
21112         vc-stay-local-p and vc-mode-line calls.
21114         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
21115         (vc-cvs-diff, vc-cvs-annotate-command)
21116         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
21117         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
21118         vc-mode-line calls.
21120         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
21121         direct comparison.
21122         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
21123         backend when calling vc-mode-line.
21124         (vc-register): Do not create a closure for calling the vc register
21125         function, call it directly.
21127 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
21129         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
21130         to make it obvious item can be clicked.
21132         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
21134 2009-06-23  Kenichi Handa  <handa@m17n.org>
21136         * language/korea-util.el (korean-key-bindings): Change the binding
21137         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
21138         same command.
21140 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
21142         Sync with Tramp 2.1.16.
21144         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
21146         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
21147         when a loading of a package fails.  Completion function for rsync
21148         is `tramp-completion-function-alist-ssh'.
21149         (all): Replace all calls of `split-string' and
21150         `tramp-split-string' by `tramp-compat-split-string'.
21151         (tramp-default-method): Use `tramp-compat-process-running-p'.
21152         (tramp-default-proxies-alist): Allow also Lisp forms.
21153         (tramp-remote-path): Add choice "Private Directories".
21154         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
21155         (tramp-domain-regexp): Allow also "-", "_" and ".".
21156         (tramp-end-of-output): Remove newlines, and add "$" at the end.
21157         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
21158         (tramp-debug-message): Insert header line in debug buffer.
21159         (tramp-handle-directory-files-and-attributes-with-stat):
21160         Care about filenames with spaces, or starting with "-".
21161         (tramp-handle-dired-uncache): New defun.
21162         (tramp-handle-insert-directory): Don't flush the directory from
21163         cache, this is handled by `dired-uncache' now.
21164         (tramp-handle-insert-file-contents): Improve error handling.
21165         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21166         Quote `tramp-end-of-output'.
21167         (tramp-action-password): Improve trace message.
21168         (tramp-check-for-regexp): Both echoes must be present, before removing.
21169         (tramp-open-connection-setup-interactive-shell): Trace coding system.
21170         (tramp-compute-multi-hops): Eval cons cells of
21171         `tramp-default-proxies-alist'.
21172         (tramp-maybe-open-connection): Use the same command pattern for
21173         first hop and further hops.
21174         (tramp-wait-for-output): Remove handling of newlines.
21175         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
21176         (tramp-split-string): Remove function.  It is handled in
21177         tramp-compat now.
21179         * net/tramp-cmds.el (tramp-bug):
21180         Recommend `tramp-cleanup-all-connections' in the bug mail.
21182         * net/tramp-compat.el (tramp-compat-split-string)
21183         (tramp-compat-process-running-p): New defuns.
21185         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
21186         for `dired-uncache'.
21188         * net/tramp-gvfs.el: New package.
21190         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
21191         Add handler for `dired-uncache'.
21192         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
21194         * net/trampver.el: Update release number.  Make version check fit
21195         for SXEmacs 22.
21197 2009-06-22  Jim Meyering  <meyering@redhat.com>
21199         Automatically handle .xz suffix (XZ-compressed files), too.
21200         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
21201         XZ is the successor to LZMA: <http://tukaani.org/xz/>
21203 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
21204             Nick Roberts  <nickrob@snap.net.nz>
21206         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
21207         repository (http://sphinx.net.ru/hg/gdb-mi/).
21209 2009-06-22  Glenn Morris  <rgm@gnu.org>
21211         * files.el (dir-locals-collect-mode-variables): Allow for any number of
21212         `mode' and `eval' entries.  (Bug#3430)
21214         * Makefile.in (ELCFILES): Add fadr.elc.
21216         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
21217         differing behavior of \n and ^ in strings.  (Bug#3385)
21219         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
21221         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
21222         property.
21223         (lisp-indent-function): Make it a defcustom.
21225 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
21227         * progmodes/gdb-ui.el: Replace with ...
21228         * progmodes/gdb-mi.el: ... this file.
21229         * progmodes/gud.el: Modify for gdb-mi.el.
21231 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
21233         * fadr.el: New file.
21235 See ChangeLog.14 for earlier changes.
21237 ;; Local Variables:
21238 ;; coding: utf-8
21239 ;; End:
21241   Copyright (C) 2009, 2010, 2011  Free Software Foundation, Inc.
21243   This file is part of GNU Emacs.
21245   GNU Emacs is free software: you can redistribute it and/or modify
21246   it under the terms of the GNU General Public License as published by
21247   the Free Software Foundation, either version 3 of the License, or
21248   (at your option) any later version.
21250   GNU Emacs is distributed in the hope that it will be useful,
21251   but WITHOUT ANY WARRANTY; without even the implied warranty of
21252   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21253   GNU General Public License for more details.
21255   You should have received a copy of the GNU General Public License
21256   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.