Merge from trunk
[emacs.git] / lisp / ChangeLog
blob6e24dc95f639204f4ecf6f774e1467773885757a
1 2011-01-12  Martin Rudalics  <rudalics@gmx.at>
3         * dired.el (dired-display-file, dired-why): Use
4         display-buffer-other-window with label.
5         (dired-pop-to-buffer): Remove.
6         (dired-mark-pop-up): Use display-buffer and quit-restore-window.
8         * proced.el (proced-send-signal): Use display-buffer and
9         quit-restore-window.
11 2011-01-11  Martin Rudalics  <rudalics@gmx.at>
13         * vc/ediff-ptch.el (ediff-show-patch-diagnostics): Use
14         display-buffer-other-window.
16         * simple.el (goto-line, compose-mail-other-window): Replace
17         switch-to-buffer-other-window by pop-to-buffer-other-window.
18         (pop-global-mark): Use pop-to-buffer-same-window instead of
19         switch-to-buffer.
20         (compose-mail-other-frame): Use pop-to-buffer-other-frame
21         instead of switch-to-buffer-other-frame.
22         (special-mode-map): Bind "q" to quit-restore-window instead of
23         quit-window.
25         * buff-menu.el (Buffer-menu-mode-map): Bind "q" to
26         quit-restore-window.
27         (buffer-menu): Call pop-to-buffer-same-window.
28         (buffer-menu-other-window): Call pop-to-buffer-other-window.
29         (Buffer-menu-select): Rewrite using display-buffer-same-window
30         and display-buffer.
31         (Buffer-menu-1-window, Buffer-menu-mouse-select)
32         (Buffer-menu-this-window): Call pop-to-buffer-same-window.
33         (Buffer-menu-other-window): Call pop-to-buffer-other-window.
34         (Buffer-menu-switch-other-window): Call
35         display-buffer-same-frame-other-window.
36         (Buffer-menu-2-window): Add label argument in calls of
37         display-buffer-same-window and
38         pop-to-buffer-same-frame-other-window.
40         * mail/reporter.el (reporter-submit-bug-report): Use
41         display-buffer-same-frame-other-window.
43         * progmodes/compile.el (compilation-find-file): Use
44         display-buffer-same-frame.
46         * progmodes/inf-lisp.el (switch-to-lisp): Rewrite with new buffer
47         display method specifiers.
49         * vc/ediff-ptch.el (ediff-get-patch-buffer): Use
50         pop-to-buffer-other-window.
51         (ediff-patch-file-internal): Replace switch-to-buffer by
52         pop-to-buffer-same-window and switch-to-buffer-other-window by
53         pop-to-buffer-other-window.
55         * vc/pcvs.el (cvs-ediff-exit-hook): Call
56         pop-to-buffer-same-window instead of switch-to-buffer.
57         (cvs-mode-find-file): Replace switch-to-buffer and
58         switch-to-buffer-other-window by pop-to-buffer-same-window and
59         pop-to-buffer-other-window.  Replace call to dired-other-window
60         by call to display-buffer-other-window.
61         (cvs-temp-buffer): Call display-buffer-other-window instead of
62         display-buffer.
64         * vc/pcvs-util.el (cvs-bury-buffer): Call quit-restore-window.
66 2011-01-11  Johan Bockgård  <bojohan@gnu.org>
68         * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
70 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
72         * progmodes/prolog.el: Fix up coding convention and such.
73         (prolog-indent-width): Use the same default as in
74         previous prolog.el rather than tab-width which depends on which buffer
75         is current when the file is loaded.
76         (prolog-electric-newline-flag): Only enable if electric-indent-mode
77         is not available.
78         (prolog-emacs): Remove.  Use (featurep 'xemacs) instead.
79         (prolog-known-systems): Remove.
80         (prolog-mode-syntax-table, prolog-inferior-mode-map):
81         Move initialization into declaration.
82         (prolog-mode-map): Move initialization into declaration.
83         Remove system-specific mode-map vars, since they referred to the same
84         keymap anyway.
85         (prolog-mode-variables): Obey the user's preference w.r.t
86         adaptive-fill-mode.  Prefer symbol-value to `eval'.
87         (prolog-mode-keybindings-edit): Add compatibility bindings.
88         (prolog-mode): Use define-derived-mode.  Don't handle mercury here.
89         (mercury-mode-map): New var.
90         (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
91         (prolog-ensure-process, prolog-process-insert-string)
92         (prolog-consult-compile): Use with-current-buffer.
93         (prolog-guess-fill-prefix): Simplify data flow.
94         (prolog-replace-in-string): New function to use instead of
95         replace-in-string.
96         (prolog-enable-sicstus-sd): Don't abuse `eval'.
97         (prolog-uncomment-region): Use `uncomment-region' when available.
98         (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
99         (prolog-int-to-char, prolog-char-to-int): New functions to use instead
100         of int-to-char and char-to-int.
101         (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
103 2011-01-11  Stefan Bruda  <stefan@bruda.ca>
105         * progmodes/prolog.el: Replace by a whole new file.
107 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
109         * subr.el (eval-after-load): Fix timing for features (bug#7769).
110         (declare-function, undefined, insert-for-yank)
111         (replace-regexp-in-string): Follow checkdoc's recommendations.
113 2011-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
115         * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
116         refreshing the diary buffer.
118 2011-01-10  Ken Manheimer  <ken.manheimer@gmail.com>
120         * allout.el: Add 2011 to the file copyright.
121         (allout-encrypt-string): Prevent encryption from adding an extra
122         newline at the end of the topic body.
123         (allout-version): Increment to 2.3.
125 2011-01-10  Michael Albinus  <michael.albinus@gmx.de>
127         * net/dbus.el (dbus-unregister-service): Complete doc.
128         Fix call of dbus-error signal.
129         (dbus-register-property): Use `dont-register' keyword.
131 2011-01-10  Jan Moringen  <jan.moringen@uni-bielefeld.de>
133         * net/dbus.el (dbus-unregister-service): Translate returned
134         integer into a symbol.
135         (dbus-register-property): Use `dbus-register-service' to do the
136         name registration.
138 2011-01-09  Martin Rudalics  <rudalics@gmx.at>
140         * dired.el (dired-pop-to-buffer): Call
141         pop-to-buffer-same-frame-other-window.
142 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
144         * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
145         Suggested by Joakim Verona.
147         * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
149         * wid-edit.el (visibility): Replace :on-image and :off-image
150         widget properties with :on-glyph and :off-glyph, for consistency
151         with the `visibility' widget.
152         (widget-toggle-value-create, widget-visibility-value-create):
153         Merge into a single function `widget-toggle-value-create'.
155         * cus-edit.el (custom-variable-value-create, custom-visibility)
156         (custom-face-edit-value-create, custom-face-value-create):
157         Replace :on-image and :off-image widget properties with :on-glyph and
158         :off-glyph, for consistency with the `visibility' widget.
160 2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>
162         * net/ldap.el (ldap-search-internal): Don't use eval.
164 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
166         * subr.el (read-char-choice): Use read-key.
168         * custom.el (custom-safe-themes): Rename from
169         custom-safe-theme-files.  Add :risky tag.
170         (load-theme, custom-theme-load-confirm): Save sha1 hashes to
171         custom-safe-themes, not filenames.  Suggested by Stefan Monnier.
173 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
175         * tool-bar.el (tool-bar-setup): Remove Help button.  Remove label
176         from Search and add a label to Undo.
178         * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
179         inappropriate buttons and adding :vert-only tags.
181         * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
182         removal of Help tool-bar button.  Remove Undo button for space.
184         * info.el (info-tool-bar-map): Add :vert-only tags.
186 2011-01-08  Martin Rudalics  <rudalics@gmx.at>
188         * net/ange-ftp.el (ange-ftp-error): Use
189         pop-to-buffer-same-frame-other-window.
191         * vc/log-edit.el (log-edit-show-files): Use
192         pop-to-buffer-same-frame.
194         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame): Remove.
196         * vc/pcvs.el (cvs-cmd-do, cvs-quickdir): Do not bind
197         pop-up-windows.
198         (cvs-do-removal): Call pop-to-buffer-same-frame.
200         * vc/vc-dir.el (vc-dir): Do not bind pop-up-windows.
202 2011-01-08  Tassilo Horn  <tassilo@member.fsf.org>
204         * doc-view.el (doc-view-mode-p): Check for png or imagemagick
205         image backend support.  Either of them is fine.
207 2011-01-08  Chong Yidong  <cyd@stupidchicken.com>
209         * subr.el (y-or-n-p): Doc fix.
211         * custom.el (custom-safe-theme-files): New defcustom.
212         (custom-theme-load-confirm): New function.
213         (load-theme): Load theme using `load', confirming with
214         custom-theme-load-confirm if necessary.
216         * subr.el (read-char-choice): New function, factored out from
217         dired-query and hack-local-variables-confirm.
219         * dired-aux.el (dired-query):
220         * files.el (hack-local-variables-confirm): Use it.
222         * dired-aux.el (dired-compress-file):
223         * files.el (abort-if-file-too-large, find-alternate-file)
224         (set-visited-file-name, write-file, backup-buffer)
225         (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
226         (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
227         Use new format string args for y-or-n-p and yes-or-no-p.
229 2011-01-08  Andreas Schwab  <schwab@linux-m68k.org>
231         * progmodes/compile.el (compilation-error-regexp-alist-alist)
232         [gcc-include]: Tighten file name match, add match for column
233         number.  (Bug#7806)
234         [gnu]: Remove unused group.
236 2011-01-08  Glenn Morris  <rgm@gnu.org>
238         * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
240         * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
242 2011-01-07  Martin Rudalics  <rudalics@gmx.at>
244         * buff-menu.el (Buffer-menu-switch-other-window): Use
245         display-buffer-same-frame-other-window.
246         (Buffer-menu-2-window): Use
247         pop-to-buffer-same-frame-other-window.
249         * progmodes/compile.el (compilation-start): Use
250         pop-up-window-set-height specifier.
251         (compilation-goto-locus): Rewrite window-setup code with new
252         display method specifiers.
254         * vc/ediff-mult.el (ediff-collect-custom-diffs)
255         (ediff-meta-show-patch): Use display-buffer-other-window.
257         * files.el (ctl-x-5-map): Remove binding for
258         display-buffer-other-frame.
260         * frame.el (pop-up-frame-alist, pop-up-frame-function)
261         (special-display-frame-alist): Update obsolescence declaration.
263         * mail/reporter.el (reporter-submit-bug-report): Adapt to new
264         display specifiers.
266         * man.el (Man-notify-when-ready): Use
267         display-buffer-other-window.
269         * pcomplete.el (pcomplete-show-completions): Use
270         display-buffer-other-window.
272         * ps-print.el (ps-line-lengths-internal, ps-nb-pages): Use
273         display-buffer-other-window.
275         * term.el (term-display-buffer-line): Call
276         display-buffer-other-window.
278         * window.el (window-child-count): New function.
279         (walk-window-tree-1, walk-window-tree, walk-window-subtree):
280         Move them here.
281         (windows-with-parameter, window-with-parameter)
282         (window-atom-root, make-window-atom, window-atom-check-1)
283         (window-atom-check): New functions.
284         (window-sides-vertical, window-sides-slots, window-sides-alist):
285         New options.
286         (window-side-check, window-check): New functions.
287         (composite-window-p, composite-root-window-p)
288         (composite-main-window-p, composite-support-window-p)
289         (composite-root-window, composite-major-window)
290         (composite-main-sibling, composite-lowest-child-role)
291         (compound-window-p, compound-main-window-p)
292         (compound-root-window, group-window-p, group-root-window): Remove,
293         their functionality is now provided by atomic and side windows.
294         (other-window): Check other-window-function parameter and rewrite
295         handling of no-other-window parameter.
296         (window-deletable-p, delete-window, delete-other-windows)
297         (split-window): Handle ignore-window-parameters, atomic and side
298         windows.  Call window-check.
299         (make-compound-window, make-window-group, make-support-window):
300         Remove, replaced by atomic and side windows.
301         (display-buffer-names, display-buffer-regexps): Remove, replaced
302         by display-buffer-alist.
303         (display-buffer-method-specifiers)
304         (display-buffer-macro-specifiers): New constants.
305         (display-buffer-default-specifiers): Rewrite.
306         (display-buffer-alist): New variable.
307         (display-buffer-other-window-specifiers)
308         (display-buffer-same-frame-specifiers)
309         (display-buffer-other-window-same-frame-specifiers)
310         (display-buffer-other-frame-specifiers): Rewrite with new
311         display specifiers.
312         (display-buffer-function, display-buffer-window)
313         (display-buffer-even-sizes, display-buffer-select-window, display-buffer-in-window):
314         Rewrite doc-string.
315         (display-buffer-set-height): Rename from display-buffer-adjust-height.
316         (display-buffer-set-width): Rename from display-buffer-adjust-width.
317         (display-buffer-in-window): Install no-other-window parameter if
318         required.
319         (display-buffer-reuse-window): New function.
320         (display-buffer-split-window-1, display-buffer-split-window):
321         Rewrite.
322         (display-buffer-split-atom-window, display-buffer-pop-up-window)
323         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window):
324         New functions.
325         (display-buffer-normalize-specifiers-1)
326         (display-buffer-normalize-specifiers, display-buffer
327         (display-buffer-same-window, display-buffer-same-frame)
328         (display-buffer-other-window)
329         (display-buffer-same-frame-other-window, pop-to-buffer)
330         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
331         (pop-to-buffer-other-window)
332         (pop-to-buffer-same-frame-other-window)
333         (pop-to-buffer-other-frame): Rewrite using new display
334         specifiers.
335         (special-display-regexps, special-display-function)
336         (same-window-buffer-names, same-window-regexps, pop-up-frames)
337         (display-buffer-reuse-frames, pop-up-windows)
338         (split-window-preferred-function, split-height-threshold)
339         (split-width-threshold, even-window-heights)
340         (display-buffer-mark-dedicated): Rewrite obsolete declarations.
341         (special-display-p, same-window-p): Rewrite with new display
342         specifiers.
344 2011-01-07  Sam Steingold  <sds@gnu.org>
346         * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
347         the `explicit-shell-file-name' because that is the
348         non-interactive shell.
350 2011-01-07  Chong Yidong  <cyd@stupidchicken.com>
352         * subr.el (y-or-n-p): Accept format string args.
354 2011-01-07  Glenn Morris  <rgm@gnu.org>
356         * Makefile.in (EMACSOPT): Add --no-site-lisp.
358 2011-01-06  Ken Manheimer  <ken.manheimer@gmail.com>
360         * allout.el (allout-back-to-current-heading): Ensure return to
361         the visible containing topic, rather than a collapsed one.
362         (allout-view-change-hook): Remove hook that was deprecated long ago.
363         (allout-exposure-change-hook): Remove documentation remarks
364         concerning removed allout-view-change-hook.
365         (allout-flag-region): Remove invocation of and documentation
366         remarks concerning allout-view-change-hook.
368 2011-01-06  Glenn Morris  <rgm@gnu.org>
370         * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
371         (vc-bzr-annotate-extract-revision-at-line):
372         Handle authors with embedded spaces.  (Bug#7792)
374 2011-01-05  Tassilo Horn  <tassilo@member.fsf.org>
376         * doc-view.el (doc-view-image-width): New variable.
377         (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
378         backend for PNG images, and do dynamic rescaling instead of
379         reconverting the whole doc.
381 2011-01-05  Glenn Morris  <rgm@gnu.org>
383         * emacs-lisp/rx.el (rx-repeat): Replace CL function.
385 2011-01-04  Ken Manheimer  <ken.manheimer@gmail.com>
387         * allout.el: Reconcile with changes in line movement behavior for
388         long text lines that cross more than a single physical window
389         line, ie when truncate-lines is nil.
390         (allout-next-visible-heading): Provide for change in line-move
391         behavior on long lines when truncate-lines is nil.  In that case,
392         line-move can wind up on the same textual line when it moves to
393         the next window line, and moving to the bullet position after the
394         move yields zero advancement.  Add logic to detect and compensate
395         for the lack of progress.
396         (allout-current-topic-collapsed-p): move-end-of-line respect for
397         field boundaries is different when operating with body lines
398         shorter than window width versus ones greater than window width,
399         which can yield false negatives in this function.  Avoid
400         difference by applying move-end-of-line while field-text-motion is
401         inhibited.
403 2011-01-04  Glenn Morris  <rgm@gnu.org>
405         * textmodes/rst.el (rst-compile-toolsets):
406         Add pdf and s5 to option alist.
408 2011-01-04  Jan Moringen  <jan.moringen@uni-bielefeld.de>
410         * net/dbus.el (dbus-register-property): Add optional parameter
411         dont-register-service.  Updated docstring accordingly.
413 2011-01-04  Andreas Schwab  <schwab@linux-m68k.org>
415         * textmodes/rst.el (rst-compile-pdf-preview)
416         (rst-compile-slides-preview): Remove extra line.
418 2011-01-04  Glenn Morris  <rgm@gnu.org>
420         * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
421         Add `pdf' and `s5' entries.  Use `prog.py' if found, otherwise
422         default to `prog' without a .py extension.
423         (rst-compile-pdf-preview, rst-compile-slides-preview):
424         Use program names from rst-compile-toolsets, rather than hard-coding.
425         (rst-portable-mark-active-p): Fix presumed typo.
427 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
429         * term/w32-win.el (dynamic-library-alist): Set up correctly for
430         libpng versions both before and after 1.4.0.  (Bug#7716)
432 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
434         * time.el (display-time-mode): Mention display-time-interval in
435         the doc string.  (Bug#7713)
437 2011-01-02  Kenichi Handa  <handa@m17n.org>
439         * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
440         condition-case and return an error message string if something
441         goes wrong.
442         (rmail-show-mime): Adjust for the above change.  Insert the
443         header by rmail-mime-insert-header.
445 2011-01-02  Kenichi Handa  <handa@m17n.org>
447         * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
448         rmail-mime-previous-item, and rmail-mime-toggle-hidden.
449         (rmail-mime-mbox-buffer)
450         (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
451         (rmail-mime-entity): Argument changed.  All codes handling an
452         entity object are changed.
453         (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
454         the above change.
455         (rmail-mime-entity-children, rmail-mime-entity-handler)
456         (rmail-mime-entity-tagline): New functions.
457         (rmail-mime-message-p): New function.
458         (rmail-mime-save): Bind rmail-mime-mbox-buffer.
459         (rmail-mime-entity-segment, rmail-mime-next-item)
460         (rmail-mime-previous-item, rmail-mime-shown-mode)
461         (rmail-mime-hidden-mode, rmail-mime-raw-mode)
462         (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
463         (rmail-mime-insert-tagline, rmail-mime-insert-header):
464         New functions.
465         (rmail-mime-text-handler): Call rmail-mime-insert-text.
466         (rmail-mime-insert-decoded-text): New function.
467         (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
468         (rmail-mime-insert-image): Argument changed.  Caller changed.
469         (rmail-mime-image): Call rmail-mime-toggle-hidden.
470         (rmail-mime-set-bulk-data): New funciton.
471         (rmail-mime-insert-bulk): Argument changed.
472         (rmail-mime-multipart-handler): Return t.
473         (rmail-mime-process-multipart): Argument changed.
474         Handle "multipart/alternative" here.
475         (rmail-mime-process): Argument changed.
476         (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
477         (rmail-mime-insert): Argument changed.  Handle raw display mode.
478         (rmail-mime): Argument changed.  Handle toggling of raw display
479         mode.
480         (rmail-show-mime): Bind rmail-mime-mbox-buffer and
481         rmail-mime-view-buffer.
482         (rmail-insert-mime-forwarded-message): Likewise.
483         (rmail-search-mime-message): Likewise.  Don't bind rmail-buffer.
485         * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
486         non-nil, handle the header in rmail-show-mime-function.
488 2011-01-02  Leo  <sdl.web@gmail.com>
490         * help-fns.el (describe-variable): Fix previous change.
492 2011-01-02  Juri Linkov  <juri@jurta.org>
494         * isearch.el (isearch-lazy-highlight-error): New variable.
495         (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
496         `isearch-lazy-highlight-error'.  Set `isearch-lazy-highlight-error'
497         to the current value of `isearch-error' (Bug#7468).
499 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
501         * help-fns.el (describe-variable): Don't emit trailing whitespace
502         (Bug#7511).
504 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
506         * textmodes/rst.el (rst-compile-pdf-preview)
507         (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
509 2011-01-02  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
511         * emulation/edt-mapper.el: Override mapping of function keys so
512         that the later call to read-key-sequence works.
514 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
516         * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
517         Unix EOLs.  (Bug#7589)
519 2011-01-02  Leo  <sdl.web@gmail.com>
521         * eshell/em-hist.el (eshell-previous-matching-input): Signal error
522         if point is not behind eshell-last-output-end (Bug#7585).
524 2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
526         * files.el (file-local-variables-alist):
527         Make permanent-local (bug#7767).
529 2011-01-02  Glenn Morris  <rgm@gnu.org>
531         * version.el (emacs-copyright): Set short copyright year to 2011.
533 2011-01-02  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
535         * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
536         an existing temp buffer.  (Bug#7746)
538 2011-01-02  Glenn Morris  <rgm@gnu.org>
540         * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
541         multiple addresses.  (Bug#7760)
543 2011-01-01  Ken Manheimer  <ken.manheimer@gmail.com>
545         * allout.el (allout-auto-fill): Do not infinitely recurse - use
546         do-auto-fill if everything points back to allout-auto-fill.
547         (allout-mode-deactivate-hook): Declare obsolete, in favor of
548         standard-formed minor-mode deactivate hook, allout-mode-off-hook.
550 2010-12-31  Michael Albinus  <michael.albinus@gmx.de>
552         * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
553         and "scpx".
555 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
557         * doc-view.el (doc-view-set-doc-type): New function refactored
558         from doc-view-mode.
559         (doc-view-fallback-mode): New function.
560         (doc-view-mode): Use it.
561         (doc-view-mode-maybe): New function that checks if doc-view-mode
562         can be used and falls back to the next best mode otherwise.
564         * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
565         DVI, OpenDocument, and MS Office files.
567 2010-12-30  Andreas Schwab  <schwab@linux-m68k.org>
569         * emacs-lisp/rx.el (rx-syntax): Fix typo.
571 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
573         * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
574         on a copy of auto-mode-alist, because that deletes with side
575         effects.
577 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
579         * doc-view.el (doc-view-mode, doc-view-toggle-display):
580         Use normal-mode without doc-view-mode bindings in auto-mode-alist as
581         fallback instead of hard coding fundamental mode.
583 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
585         * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
586         Office) files also for searching.
588 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
590         * doc-view.el: Implement viewing of OpenDocument (and Microsoft
591         Office) files.  Not yet enabled via auto-mode-list.
592         (doc-view-unoconv-program): New custom variable.
593         (doc-view-mode-p): Handle new odf document type.
594         (doc-view-odf->pdf): New conversion function.
595         (doc-view-convert-current-doc): Call it for odf files.
596         (doc-view-mode): Recognize newly supported file extensions.
598 2010-12-30  Michael Albinus  <michael.albinus@gmx.de>
600         * net/tramp.el (tramp-default-method-alist)
601         (tramp-default-user-alist)
602         (tramp-local-host-regexp, tramp-prefix-domain-format)
603         (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
605         * net/tramp-ftp.el:
606         * net/tramp-gvfs.el:
607         * net/tramp-gw.el:
608         * net/tramp-imap.el:
609         * net/tramp-sh.el:
610         * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
611         code of `tramp-default-method-alist' and `tramp-default-user-alist'.
613 2010-12-29  Karl Fogel  <kfogel@red-bean.com>
615         * saveplace.el (save-place-alist-to-file): Save list sorted and
616         pretty-printed, so that it is mergeable by line-based text merging,
617         as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
619 2010-12-28  Ken Manheimer  <ken.manheimer@gmail.com>
621         * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
622         (allout-mode): Argument "toggle" => "force".
623         Refine the docstring.
624         Remove special provisions for reactivation, besides the 'force'
625         argument.
626         Consolidate layout provisions coce directly into the activation
627         condition branch, now that we've removed those provisions.
628         (allout-unload-function): Explicitly activate the mode before
629         deactivating, if it's initially deactivated.
630         (allout-set-buffer-multibyte): Properly prevent byte-compiler
631         warnings for version of function used only where
632         set-buffer-multibyte is unavailable.
634 2010-12-28  Chong Yidong  <cyd@stupidchicken.com>
636         * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
637         are handled by the menu-bar entries.  As before, don't use
638         :visibile to avoid changing the tool-bar.
640 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
642         * net/secrets.el (secrets-delete-alias): New defun.
644 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
646         * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
647         methods, otherwise ~/.ssh/config would be ignored.
649 2010-12-26  Stefan Monnier  <monnier@iro.umontreal.ca>
651         * emacs-lisp/rx.el: Make it a superset of sregex.
652         (rx-constituents): Add `any => "."', mark `repeat' as taking any number
653         of args, add `regex' alias.
654         (rx-info): Add arg to distinguish head and standalone forms.
655         (rx-check, rx-form): Pass the corresponding arg.
656         (rx-**): Simplify.
657         (rx-repeat): Make it work for any number of args.
658         (rx-syntax): Make it accept syntax chars as is.
659         * obsolete/sregex.el: Move from emacs-lisp/.
660         * emacs-lisp/re-builder.el: Remove sregex support.
661         * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
663 2010-12-25  Eli Zaretskii  <eliz@gnu.org>
665         * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
666         PRIMARY first, then the clipboard.  (Bug#7699)
668 2010-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>
670         * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
671         print-number-table.
673 2010-12-21  Chong Yidong  <cyd@stupidchicken.com>
675         * help-fns.el (find-lisp-object-file-name): Locate .emacs from
676         .emacs.elc (Bug#7530).
678         * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
679         image spec (Bug#7480).
681 2010-12-21  Daiki Ueno  <ueno@unixuser.org>
683         * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
684         * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
685         Move from lisp/.
687 2010-12-20  Leo  <sdl.web@gmail.com>
689         * dnd.el (dnd-get-local-file-name): Unhex of file name shall
690         always be performed (Bug#7680).
692 2010-12-20  Chong Yidong  <cyd@stupidchicken.com>
694         * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
695         (menu-bar-edit-menu): Bind "Copy" to kill-ring-save.  Don't use
696         mouse-region-match.
698         * color.el: Move from gnus/.
700         * vc/diff.el (diff-better-file-name): Function deleted.
701         abbreviating file names causes problems with shell-quote-argument.
702         (diff-no-select): Just use expand-file-name.
704         * tool-bar.el (tool-bar--image-expression): New function.
705         (tool-bar-local-item, tool-bar--image-exp): Use it.
706         (tool-bar-setup): Initialize tool-bar-separator-image-expression.
707         Use :enable instead of :visible to avoid changing the tool-bar
708         configuration unnecessarily.
710         * info.el (info-tool-bar-map): Add separators.
712 2010-12-17  Ken Brown  <kbrown@cornell.edu>
714         * loadup.el: Use version numbers in Cygwin build.
716 2010-12-17  Ryan Twitchell  <metatheorem@gmail.com>  (tiny change)
718         * ido.el (ido-file-internal): Ask for confirmation before
719         overwriting an existing file (Bug#1238).
721 2010-12-16  Chong Yidong  <cyd@stupidchicken.com>
723         * tool-bar.el (tool-bar-setup): Add separators.
725         * menu-bar.el (featurep): Use menu-bar-separator.
727 2010-12-16  Ken Manheimer  <ken.manheimer@gmail.com>
729         Migrate allout encryption provisions from pgg to epg.
731         * allout.el (allout-toggle-current-subtree-encryption)
732         (allout-toggle-subtree-encryption): Adjust docstrings to reflect
733         defaulting policy and other changes.  Change fetch-pass to keymode-cue,
734         for simpler universal argument interpretation.
735         (allout-toggle-subtree-encryption):  Adjust docstring to describe
736         changed encryption provisions.  Change fetch-pass to keymode-cue, for
737         simpler universal argument interpretation.  Remove provisions for
738         handling key type and identity - they'll all be within
739         allout-encrypt-string or epg/epg or even contained all the way in gpg.
740         (allout-encrypt-string): Include keymode-cue, for optionally prompting
741         for keypair recipients (universal argument > 1) and, in addition,
742         associating the specified recipients with the outline (universal
743         argument > 4) using a file local variable setting for
744         'epa-file-encrypt-to'.
745         Require epa, for recipients handling.
746         Change how regexp filtering elements are named.
747         Describe the problem with caching of incorrect symmetric-decryption
748         keys.
749         Use the epa-passphrase-callback-function, in case the user is using
750         GnuPG v1.
751         Support saving of the selected keypair recipients when invoked with a
752         keymode-cue > 4.
753         Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
754         Require 'epa.
755         Establish epg-context with armoring and default epg-protocol.
756         Remove all passphrase cache, verification, and hinting code.
757         (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
758         No longer used, delete.
759         (allout-mode): Adjust docstring to describe changed encryption
760         provisions.  Describe the problem with caching of incorrect
761         symmetric-decryption keys.
762         (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
763         (allout-make-passphrase-state, allout-passphrase-state-passphrase)
764         (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
765         (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
766         Obsolete, remove.
768 2010-12-16  Daiki Ueno  <ueno@unixuser.org>
770         * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
771         key selection prompt; make 'silent as default (Bug#7487).
773 2010-12-16  Leo  <sdl.web@gmail.com>
775         * eshell/eshell.el (eshell-directory-name):
776         Use locate-user-emacs-file (Bug#7578).
778 2010-12-15  Glenn Morris  <rgm@gnu.org>
780         * loadup.el (symbol-file-load-history-loaded): Remove; unused.
782 2010-12-15  Jari Aalto  <jari.aalto@cante.net>
783             Scott Evans <gse@antisleep.com>
785         * rect.el (rectange--default-line-number-format)
786         (rectangle-number-line-callback): New functions.
787         (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
789 2010-12-15  Chong Yidong  <cyd@stupidchicken.com>
791         * rect.el (operate-on-rectangle-lines, string-rectangle-string):
792         Delete unused variables.
793         (move-to-column-force): Remove function obsolete since 21.2.
795 2010-12-14  Michael Albinus  <michael.albinus@gmx.de>
797         * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
798         (tramp-handle-insert-file-contents): Do not set permanent-local
799         property.
801         * net/tramp-cache.el (tramp-persistency-file-name):
802         Use `locate-user-emacs-file' if fboundp.
804         * net/tramp-sh.el (tramp-methods): Add "ksu".
805         (tramp-default-user-alist): Add "ksu".  Use `regexp-opt' for
806         method list.
808 2010-12-14  Glenn Morris  <rgm@gnu.org>
810         * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
811         (find-tag-marker-ring): Declare.
812         (js-find-symbol): Require etags.
814         * mail/sendmail.el: Don't require rmail or mailalias when compiling.
815         Require mail-utils.
816         (mail-alias-file): Don't autoload.  Doc fix.
817         (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
818         (mail-mailer-swallows-blank-line): Default to nil.  Doc fix.
819         Mark as obsolete, and risky.
820         (mail-setup): Simplify.
822         * mail/mailalias.el (build-mail-aliases): Make it interactive.
823         * mail/sendmail.el (build-mail-aliases): Update autoload.
825         * dired.el (dired-trivial-filenames, dired-chown-program)
826         (dired-auto-revert-buffer): Remove autoload cookies.
827         * mail/sendmail.el (mail-recover-1): Require 'dired.
829         * dired.el (dired-subdir-switches, dired-chown-program)
830         (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
831         Make into defcustoms.
832         (dired-chown-program): Simplify initialization.
834         * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
836 2010-12-13  Romain Francoise  <romain@orebokech.com>
838         * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
840 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
842         * net/netrc.el (netrc-point-at-eol): Remove the unused
843         netrc-point-at-old and netrc-bound-and-true-p bindings.
844         (netrc-parse): Cache the netrc contents.
846 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
848         * subr.el (posn-col-row): Evaluate header-line-format in the
849         context of the POSITION window's buffer.
851 2010-12-13  Glenn Morris  <rgm@gnu.org>
853         * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
854         (with-silent-modifications): Doc fixes.
856 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
858         * net/tramp.el (tramp-action-password, tramp-process-actions):
859         Revert previous from.  Use `save-restriction'.
861 2010-12-13  Stephen Berman  <stephen.berman@gmx.net>
863         * calendar/diary-lib.el (diary-list-sexp-entries):
864         Handle case of no newline at end of file.  (Bug#7536)
866 2010-12-13  Glenn Morris  <rgm@gnu.org>
868         * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
870 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
872         * net/tramp.el (tramp-action-password): Delete region, do not narrow.
873         (tramp-process-actions): Do not widen.
875         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
876         Protect buffer-modified value.  (Bug#7557)
878 2010-12-13   Jan Moringen  <jmoringe@techfak.uni-bielefeld.de>
880         * log-edit.el (log-edit-changelog-entries):
881         Regexp quote filename.  (Bug#7505)
883 2010-12-13  Tom Breton  <tehom@panix.com>
885         * cus-edit.el (custom-save-all):
886         Bind print-length and print-level to nil.  (Bug#7581)
888 2010-12-13  Glenn Morris  <rgm@gnu.org>
890         * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
891         Run hooks to update menu contents.  (Bug#7586)
893         * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
894         file names, for the sake of MS Windows.  (Bug#7588)
896 2010-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
898         * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
899         empty lines without a leading space.
901 2010-12-13  Leo  <sdl.web@gmail.com>
903         * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
904         while mapping over marks (Bug#6810).
906 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
908         * image-dired.el (image-dired-db-file)
909         (image-dired-temp-image-file, image-dired-gallery-dir)
910         (image-dired-temp-rotate-image-file): Set default values relative
911         to image-dired-dir (Bug#7518).
913 2010-12-13  Lawrence Mitchell  <wence@gmx.li>
915         * format.el (format-decode-run-method): Pass args FROM and TO, not
916         point-min and point-max, to shell-command-on-region (Bug#7488).
918 2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
920         * frame.el (blink-cursor-mode): Make default t for ns.
922 2010-12-13  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
924         * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
926 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
928         * comint.el (comint-dynamic-list-input-ring)
929         (comint-dynamic-complete-filename)
930         (comint-replace-by-expanded-filename)
931         (comint-dynamic-simple-complete)
932         (comint-dynamic-list-filename-completions)
933         (comint-dynamic-list-completions): Doc fix (Bug#7499).
935         * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
936         Doc fix (Bug#7471).
938 2010-12-13  Martin Rudalics  <rudalics@gmx.at>
940         * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
941         (Bug#7533).
943 2010-12-13  W. Martin Borgert <debacle@debian.org>  (tiny change)
945         * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
946         (Bug#7491).
948 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
950         * files.el (file-relative-name): Handle UNC file names on
951         DOS/Windows.  (Bug#4674)
953 2010-12-13  Daiki Ueno  <ueno@unixuser.org>
955         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
956         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
957         (epg-context-set-passphrase-callback): Mention that the callback
958         is not called when used with GnuPG 2.x.
960 2010-12-13  Glenn Morris  <rgm@gnu.org>
962         * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
963         Ensure ps-footer-font-size-internal is initialized.
964         Call ps-get-page-dimensions before trying to use ps-font-for-text.
966 2010-12-13  Kenichi Handa  <handa@m17n.org>
968         * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
969         within condition-case.
970         (rmail-show-mime): Don't use condition-case.
971         (rmail-search-mime-message): New function.
972         (rmail-search-mime-message-function): Set to
973         rmail-search-mime-message.
975 2010-12-13  Leo  <sdl.web@gmail.com>
977         * ido.el (ido-common-initialization): New function.  (bug#3274)
978         (ido-mode): Use it.
979         (ido-completing-read): Call it.
981 2010-12-12  Karl Fogel  <kfogel@red-bean.com>
983         * bookmark.el (bookmark-name-from-full-record): Rename back to
984         this original name from `bookmark-name-from-record' reverting part
985         of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
986         As Drew Adams pointed out, there was no reason to cause churn for
987         third-party callers.
989 2010-12-12  Alan Mackenzie  <acm@muc.de>
991         * progmodes/cc-engine.el (c-forward-type): Before scanning a
992         template arglist, check that the current language supports this.
994 2010-12-11  Glenn Morris  <rgm@gnu.org>
996         * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
997         state of the file matches.  (Bug#7544)
998         (vc-bzr-register, vc-bzr-checkin)
999         (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
1000         (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
1002         * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
1004 2010-12-11  Karel Klíč  <kklic@redhat.com>
1006         * files.el (auto-mode-alist): Use html-mode for *.xhtml.  (Bug#7606)
1008 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1010         Derive from prog-mode, use derived-mode-p, and fix up various
1011         minor style issues in lisp/progmodes.
1013         * progmodes/vhdl-mode.el (vhdl-mode):
1014         * progmodes/verilog-mode.el (verilog-mode):
1015         * progmodes/vera-mode.el (vera-mode):
1016         * progmodes/sql.el (sql-mode):
1017         * progmodes/scheme.el (scheme-mode):
1018         * progmodes/perl-mode.el (perl-mode):
1019         * progmodes/octave-inf.el (inferior-octave-mode):
1020         * progmodes/autoconf.el (autoconf-mode):
1021         * progmodes/m4-mode.el (m4-mode):
1022         * progmodes/inf-lisp.el (inferior-lisp-mode):
1023         * progmodes/idlwave.el (idlwave-mode):
1024         * progmodes/icon.el (icon-mode):
1025         * progmodes/idlw-help.el (idlwave-help-mode):
1026         * progmodes/dcl-mode.el (dcl-mode):
1027         * progmodes/idlw-shell.el (idlwave-shell-mode):
1028         * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
1029         (ebrowse-member-mode, ebrowse-electric-position-mode):
1030         Use define-derived-mode.
1032         * progmodes/xscheme.el (exit-scheme-interaction-mode)
1033         (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
1034         (xscheme-debugger-mode-p, xscheme-send-string-1):
1035         * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
1036         (tcl-load-file, tcl-restart-with-file):
1037         * progmodes/ps-mode.el (ps-run-running):
1038         * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
1039         * progmodes/js.el (js--get-all-known-symbols):
1040         * progmodes/inf-lisp.el (inferior-lisp-proc):
1041         * progmodes/idlwave.el (idlwave-beginning-of-statement)
1042         (idlwave-template, idlwave-update-buffer-routine-info)
1043         (idlwave-update-current-buffer-info)
1044         (idlwave-get-routine-info-from-buffers, idlwave-choose)
1045         (idlwave-scan-class-info, idlwave-fix-keywords)
1046         (idlwave-list-buffer-load-path-shadows):
1047         * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
1048         (idlwave-toolbar-remove):
1049         * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
1050         (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
1051         (idlwave-shell-menu-def):
1052         * progmodes/idlw-complete-structtag.el
1053         (idlwave-prepare-structure-tag-completion):
1054         * progmodes/gud.el (gud-set-buffer):
1055         * progmodes/f90.el (f90-backslash-not-special):
1056         * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
1058         * progmodes/xscheme.el (xscheme-start)
1059         (local-set-scheme-interaction-buffer, scheme-interaction-mode):
1060         * progmodes/which-func.el (which-function):
1061         * progmodes/vhdl-mode.el (vhdl-set-style):
1062         * progmodes/verilog-mode.el (verilog-set-compile-command)
1063         (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
1064         (verilog-set-define, verilog-auto-reeval-locals):
1065         * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
1066         * progmodes/simula.el (simula-mode):
1067         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1068         * progmodes/python.el (python-check, python-mode):
1069         * progmodes/prolog.el (prolog-mode-variables):
1070         * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
1071         * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
1072         * progmodes/delphi.el (delphi-mode):
1073         * progmodes/cc-styles.el (c-setup-paragraph-variables):
1074         * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
1075         (c-font-lock-init): Move make-local-variable to their setq.
1077         * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
1078         (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
1079         make-local-hook.
1080         * progmodes/sh-script.el (sh-require-final-newline): Remove.
1081         (sh-set-shell): Don't set require-final-newline since it's already done
1082         by prog-mode.
1083         * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
1084         since we never set it.
1085         * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
1086         Use read-string and standard prompt.
1087         * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
1088         * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
1089         (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
1090         (meta-common-mode-map): Rename from meta-mode-map.
1091         Remove C-m binding, which is a user preference, not mode specific.
1092         (meta-common-mode): New major mode; replace meta-common-initialization.
1093         * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
1094         around with font-lock.
1095         * progmodes/etags.el (select-tags-table-mode):
1096         Derive from special-mode.
1097         * progmodes/octave-mod.el (octave-mode):
1098         * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
1099         (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
1100         (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
1101         Let define-derived-mode do its job.
1102         * progmodes/cpp.el (cpp-edit-mode-map):
1103         Move initialization into declaration.
1104         (cpp-edit-mode): Use define-derived-mode.
1105         (cpp-edit-load): Use derived-mode-p.
1106         * progmodes/mixal-mode.el (mixal-mode):
1107         * progmodes/f90.el (f90-mode):
1108         * progmodes/cfengine.el (cfengine-mode): Don't bother setting
1109         require-final-newline since prog-mode does it already.
1110         * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
1111         * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
1112         * progmodes/antlr-mode.el: Require cc-mode upfront.
1113         (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
1114         the declaration.
1115         (antlr-directory-dependencies, antlr-show-makefile-rules):
1116         Use derived-mode-p.
1117         (antlr-language-option): Don't assume point-min==1.
1118         (antlr-mode): Use define-derived-mode.
1119         * progmodes/ada-mode.el: Use derived-mode-p.
1120         (ada-mode): Use define-derived-mode.
1121         Use hack-local-variables-hook.
1123 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1125         * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
1126         (texinfo-mode): Don't disable adaptive-fill-mode.
1127         (texinfo-insert-block): Adjust cursor placement for blocks with arg.
1128         (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
1129         (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
1130         (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
1131         (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
1132         (texinfo-insert-@quotation, texinfo-insert-@samp)
1133         (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
1134         (texinfo-insert-@uref): Use define-skeleton.
1135         (texinfo-insert-@-with-arg): Delete.
1137 2010-12-10  Eli Zaretskii  <eliz@gnu.org>
1139         * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
1140         nil, do quote archive member names.  (Bug#6144)
1142 2010-12-10  Glenn Morris  <rgm@gnu.org>
1144         * files.el (diff-no-select): Declare.
1146         * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
1147         (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
1149         * comint.el (comint-input-ring-file-name): Doc fix.
1151 2010-12-09  Eli Zaretskii  <eliz@gnu.org>
1153         * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
1154         New functions.
1155         (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
1156         Use them instead of `nil' and `>', respectively.
1157         (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
1158         instead of `nil'.
1159         (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
1160         and menu-bar-positive-p instead of `nil' and `>', respectively.
1161         (Bug#1077)
1163 2010-12-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
1165         * whitespace.el (whitespace-newline-mode): Code fix.
1167 2010-12-09  Glenn Morris  <rgm@gnu.org>
1169         * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
1170         Rename functions without commas, update callers.
1172 2010-12-08  Jeff Dairiki  <dairiki@dairiki.org>  (tiny change)
1174         * whitespace.el (whitespace-cleanup-region):
1175         Clean up spaces before tabs.  (Bug#7582)
1177 2010-12-08  Karl Fogel  <kfogel@red-bean.com>
1179         * bookmark.el: Adjust parameter names and doc strings to resolve
1180         confusion over whether "bookmark" meant a bookmark name or a
1181         bookmark record.  Along the way, shorten one function's name for
1182         similar reasons.  (Issue #7548)
1183         (bookmark-name-from-record): New name for
1184         `bookmark-name-from-full-record'.  All callers changed.
1185         (bookmark-get-bookmark, bookmark-get-bookmark-record)
1186         (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
1187         (bookmark-get-annotation, bookmark-set-annotation)
1188         (bookmark-get-filename, bookmark-set-filename)
1189         (bookmark-get-position, bookmark-set-position)
1190         (bookmark-get-front-context-string, bookmark-set-front-context-string)
1191         (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
1192         (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
1193         (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
1194         Rename `bookmark' parameter to `bookmark-name-or-record', to
1195         clearly show its role, and shorten or adjust doc strings accordingly.
1196         (bookmark-set-name): Same, and pass the parameter directly to
1197         `bookmark-get-bookmark' instead of redundantly doing the callee's work.
1198         (bookmark-default-annotation-text, bookmark-send-edited-annotation)
1199         (bookmark-relocate, bookmark-insert-location, bookmark-insert)
1200         (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
1201         and in some cases shorten doc string accordingly.
1202         (bookmark-rename): Change `old' and `new' parameters to `old-name'
1203         and `new-name', and adjust an internal variable to avoid confusion.
1204         (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
1205         parameter in doc string.
1207 2010-12-08  Glenn Morris  <rgm@gnu.org>
1209         * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
1210         from gdb's history file.  (Bug#7575)
1212         * mail/emacsbug.el (report-emacs-bug):
1213         Try to handle some other mail clients.
1215 2010-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1217         * files.el (dir-locals-collect-variables): Don't let errors stop us.
1218         Use string-prefix-p.
1219         (file-name-version-regexp): New var.
1220         (file-name-sans-versions):
1221         * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
1222         (jka-compr-get-compression-info): Use dolist.
1223         (jka-compr-compression-info-list): Don't bother specifying
1224         version/backup regexps.
1226 2010-12-07  Tassilo Horn  <tassilo@member.fsf.org>
1228         * simple.el (just-one-space): Make argument n default to 1 if
1229         omitted.
1231 2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1233         * electric.el (electric-indent-post-self-insert-function):
1234         Delete trailing newlines even if we don't reindent.
1236 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1238         * minibuffer.el (completion-at-point): Remove the `arg'.
1239         * bindings.el (complete-symbol): Move back from minibuffer.el.
1241 2010-12-06  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1243         * simple.el (just-one-space): Delete newlines for negative arg.
1245 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1247         * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
1248         (ansi-color-filter-apply): Simplify.
1249         (ansi-color-apply): Use `font-lock-face' rather than `face'.
1251 2010-12-05  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
1253         * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1255 2010-12-04  Chong Yidong  <cyd@stupidchicken.com>
1257         * dired.el (dired-use-ls-dired): Set default to a special
1258         "unspecified" value.
1259         (dired-insert-directory): When called the first time, check
1260         whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
1262 2010-12-04  Tak Ota  <Takaaki.Ota@am.sony.com>
1264         * replace.el: Add "collect" feature to occur.
1265         (occur-collect-regexp-history): New var.
1266         (occur-read-primary-args): Return a replace string for nlines,
1267         if needed.
1268         (occur): Extend the meaning of nlines.
1270 2010-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1272         * progmodes/which-func.el (which-func-ff-hook): Log the error message.
1273         (which-func-update-1): Distinguish symbols from strings.
1274         (which-function): Stay within 80 columns.
1276 2010-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1278         * subr.el (with-demoted-errors): Distinguish symbols from strings.
1280         * newcomment.el (comment-styles): Add docs to each style (bug#7509).
1281         Improve docstring.
1282         (comment-style): Use comment-styles's docs to describe values.
1284 2010-12-03  Jan Djärv  <jan.h.d@swipnet.se>
1286         * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
1287         and ns-show-prefs (Bug#7535).
1289         * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
1290         bindings (Bug#7535).
1292 2010-12-03  Glenn Morris  <rgm@gnu.org>
1294         * nxml/nxml-mode.el: Require rng-nxml.
1295         (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
1296         Remove declarations.
1298         * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
1299         * nxml/rng-nxml.el, nxml/rng-valid.el:
1300         Remove leading `*' from defcustom docs.
1302         * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
1303         (normal-top-level-add-to-load-path, tty-handle-args):
1304         Convert comments to basic doc-strings.
1306         * net/browse-url.el (browse-url-url-at-point)
1307         (browse-url-default-browser): Remove autoload cookies.
1309         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1310         Remove more undefined cl functions.
1312         * vc/diff.el (diff-sentinel): Make new arguments optional.
1313         * ibuf-ext.el (diff-sentinel): Update declaration.
1315 2010-12-03  Daiki Ueno  <ueno@unixuser.org>
1317         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1318         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
1319         (epg-context-set-passphrase-callback): Mention that the callback
1320         is not called when used with GnuPG 2.x.
1322 2010-12-02  Michael Albinus  <michael.albinus@gmx.de>
1324         * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
1325         (tramp-file-name-port): Check also for `tramp-default-port'.
1326         (tramp-get-connection-name): New defun.
1327         (tramp-get-connection-process): Use it.
1328         (tramp-debug-message): Extend function exclude list.
1329         (tramp-drop-volume-letter): Fix doc string.
1331         * net/tramp-cmds.el: Remove solved todo item.
1333         * net/tramp-efs.el:
1334         * net/tramp-ftp.el:
1335         * net/tramp-gvfs.el:
1336         * net/tramp-gw.el:
1337         * net/tramp-imap.el:
1338         * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
1339         and `tramp-default-user-alist', respectively.
1341         * net/tramp-gw.el (tramp-gw-open-connection):
1342         Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
1344         * net/tramp-imap.el (tramp-imap-make-iht): Use just
1345         `tramp-file-name-port'.
1347         * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
1348         and "psftp".  Exchange "%k" marker with options.
1349         (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
1350         Compute size of link target.
1351         (tramp-do-copy-or-rename-file-out-of-band). Move setting of
1352         `tramp-current-*' up due to gateway methods.  Optimze computing of
1353         copy arguments.  Use `tramp-get-connection-name' and
1354         `tramp-get-connection-buffer'.  Improve debug messages.
1355         (tramp-compute-multi-hops): Remove port determination.
1356         (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
1358         * net/trampver.el: Update release number.
1360 2010-12-02  Glenn Morris  <rgm@gnu.org>
1362         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1363         Avoid infinite loop over windows.  (Bug#7492)
1365         * progmodes/flymake.el (flymake-check-file-limit):
1366         Allow nil to mean "no limit".
1367         (flymake-check-patch-master-file-buffer): Update for above change.
1368         Allow a .tex file-name extension to be optional.
1369         (flymake-master-tex-init): Also match \include statements.
1371 2010-11-30  Sam Steingold  <sds@gnu.org>
1373         * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
1374         (nxml-parent-document-set): A function to set `nxml-parent-document'.
1375         (nxml-mode): Define using `define-derived-mode' instead of `defun'.
1376         (nxml-mode-hook): Remove `defcustom' (auto-defined by
1377         define-derived-mode').
1378         * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
1379         users who want to call `nxml-parent-document-set'.
1381 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
1383         * log-edit.el (log-edit-font-lock-keywords): Don't try matching
1384         stand-alone lines, since that is handled by log-edit-match-to-eoh
1385         (Bug#6465).
1387 2010-11-27  Eduard Wiebe  <usenet@pusto.de>
1389         * dired.el (dired-get-filename): Replace backslashes with slashes
1390         in file names on MS-Windows, needed by `locate'.  (Bug#7308)
1391         * locate.el (locate-default-make-command-line): Don't consider
1392         drive letter and root directory part of
1393         `directory-listing-before-filename-regexp'.  (Bug#7308)
1394         (locate-post-command-hook, locate-post-command-hook): New defcustoms.
1396 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1398         * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
1399         of :smie-open/close-alist.
1400         (smie-next-sexp): Make it accept a "start token" as argument.
1401         (smie-indent-keyword): Be careful not to misidentify tokens that span
1402         more than one line, as empty lines.  Add argument `token'.
1404 2010-11-27  Kenichi Handa  <handa@m17n.org>
1406         * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
1407         multipart subtypes, insert all as usual.
1409         * mail/rmail.el: Require rfc2047.
1411 2010-11-27  Kenichi Handa  <handa@m17n.org>
1413         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
1414         (rmail-mime-entity-disposition)
1415         (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
1416         (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
1417         (rmail-mime-save): Handle the case that the button's `data' is a
1418         MIME entity.
1419         (rmail-mime-insert-text): New function.
1420         (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
1421         (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
1422         (rmail-mime-insert-bulk): New function mostly copied from the old
1423         rmail-mime-bulk-handler.
1424         (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
1425         (rmail-mime-process-multipart): New function mostly copied from
1426         the old rmail-mime-multipart-handler.
1427         (rmail-mime-show): Just call rmail-mime-process.
1428         (rmail-mime-process): New function mostly copied from the old
1429         rmail-mime-show.
1430         (rmail-mime-insert-multipart, rmail-mime-parse)
1431         (rmail-mime-insert, rmail-show-mime)
1432         (rmail-insert-mime-forwarded-message)
1433         (rmail-insert-mime-resent-message): New functions.
1434         (rmail-insert-mime-forwarded-message-function): Set to
1435         rmail-insert-mime-forwarded-message.
1436         (rmail-insert-mime-resent-message-function): Set to
1437         rmail-insert-mime-resent-message.
1439         * mail/rmailsum.el: Require rfc2047.
1440         (rmail-header-summary): Handle multiline Subject: field.
1441         (rmail-summary-line-decoder): Change the default to
1442         rfc2047-decode-string.
1444         * mail/rmail.el (rmail-enable-mime): Change the default to t.
1445         (rmail-mime-feature): Change the default to `rmailmm'.
1446         (rmail-quit): Delete the specifal code for rmail-enable-mime.
1447         (rmail-display-labels): Likewise.
1448         (rmail-show-message-1): Check rmail-enable-mime, and use
1449         rmail-show-mime-function for a MIME message.  Decode the headers
1450         according to RFC2047.
1452 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1454         * progmodes/which-func.el (which-func-imenu-joiner-function):
1455         Return a string, as expected.
1456         (which-function-mode): Make sure we stop any previous timer before
1457         starting a new one.
1459 2010-11-27  Michael Albinus  <michael.albinus@gmx.de>
1461         * net/tramp.el (tramp-default-method-alist)
1462         (tramp-default-user-alist, tramp-default-proxies-alist):
1463         Adapt custom options type.  (Bug#7445)
1465 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
1467         * progmodes/python.el: Add Ipython support (Bug#5390).
1468         (python-shell-prompt-alist)
1469         (python-shell-continuation-prompt-alist): New options.
1470         (python--set-prompt-regexp): New function.
1471         (inferior-python-mode, run-python, python-shell):
1472         Require ansi-color.  Use python--set-prompt-regexp to set the comint
1473         prompt based on the Python interpreter.
1474         (python--prompt-regexp): New var.
1475         (python-check-comint-prompt)
1476         (python-comint-output-filter-function): Use it.
1477         (run-python): Use a pipe (Bug#5694).
1479 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
1481         * progmodes/python.el (run-python): Doc fix.
1482         (python-keep-current-directory-in-path): New var (Bug#7454).
1484 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
1486         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1487         Prompt user before actually printing.
1489 2010-11-27  Glenn Morris  <rgm@gnu.org>
1491         * startup.el (package-enable-at-startup, package-initialize):
1492         Remove unnecessary declarations.
1494 2010-11-27  Eli Zaretskii  <eliz@gnu.org>
1496         * international/characters.el (glyphless-char-display-control):
1497         Exclude newline and TAB from the c0-control group.
1499 2010-11-27  Glenn Morris  <rgm@gnu.org>
1501         * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
1502         (expand-mail-aliases): Remove unnecessary autoload.
1504         * allout.el (allout-command-prefix, allout-mode-map): Declare.
1506         * shell.el (shell-dir-cookie-re): Move definition before use.
1508         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1509         Replace undefined CL functions.
1511 2010-11-26  Eli Zaretskii  <eliz@gnu.org>
1513         * simple.el (prog-mode): Set bidi-paragraph-direction to
1514         left-to-right.
1516         * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
1518 2010-11-26  Glenn Morris  <rgm@gnu.org>
1520         * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
1521         diary-outlook-formats can be sensitive to calendar-date-style.
1522         (diary-outlook-formats): Simplify the default setting.
1523         (diary-from-outlook-internal): Pass subject and body as arguments.
1524         Use dolist rather than dotimes.  Don't save the diary buffer.
1525         (diary-from-outlook-gnus, diary-from-outlook-rmail):
1526         Pass subject and body as explicit arguments to the -internal function.
1528 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1530         * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
1531         parsing them.  This makes mailto:...?subject=foo\nbar work.
1533 2010-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1535         * vc/diff.el (diff): Fix last change.
1537 2010-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1539         * emacs-lisp/pcase.el: Improve pcase-let.  Use "pcase--" prefix.
1540         (pcase--dontcare-upats): New var.
1541         (pcase-let, pcase-let*): Generate better code.
1542         Accept the same bodies as `let'.
1543         (pcase-dolist): New macro.
1544         (pcase--trivial-upat-p): New helper function.
1545         (pcase--expand): Strip leading "(let nil" if any.
1547 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1549         * mail/mailclient.el (browse-url): Require.
1550         (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
1551         use the external browser function to send the mail (bug#7469).
1553         * net/browse-url.el (browse-url-browser-function): Revert the
1554         default back to the previous value, since the new value broke
1555         mailclient.el.
1556         (browse-url-mailto-function): New variable for mailto: URLs.
1557         (browse-url): Use the new variable for mailto: URLs.
1559 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1561         * eshell/esh-cmd.el (eshell-parse-command):
1562         * eshell/esh-arg.el (eshell-parse-arguments):
1563         * eshell/em-script.el (eshell-source-file):
1564         Use with-silent-modifications.
1566 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
1568         * vc/vc.el (vc-merge): Remove optional arg PROMPT.  Always prompt
1569         for a merge location.
1571         * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
1572         (vc-bzr-merge-branch): Always prompt.
1573         (vc-bzr-async-command): Use the full branch filename.
1575 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1577         * shell.el (shell): Use current-buffer by default if it's already
1578         a shell mode buffer and its process is dead.
1579         Suggested by Jose E. Marchesi <jemarch@gnu.org>.
1581 2010-11-23  Tassilo Horn  <tassilo@member.fsf.org>
1583         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1584         Mention that the keywords should be comma separated.
1586 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
1588         * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
1589         Accept optional prefix arg meaning to prompt for a command.
1590         (vc-update): Use vc-BACKEND-pull if available.  Accept optional
1591         prefix arg meaning to prompt for a command.
1592         (vc-pull): Alias for vc-update.
1594         * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
1595         (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
1596         (vc-bzr-merge-branch): New functions, implementing merge-branch
1597         and pull operations.
1599 2010-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1601         * Makefile.in: Fix up last merge.
1603         * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
1604         (diff-sentinel): Get them as arguments instead.
1605         (diff-old-file, diff-new-file, diff-extra-args): Remove.
1606         (diff-file-local-copy, diff-better-file-name): New funs.
1607         (diff-no-select): Rename from diff-into-buffer.
1608         Support buffers additionally to files.  Move `buf' arg.  Don't display buf.
1609         Prefer closures to buffer-local variables.
1610         (diff): Adjust accordingly.
1611         (diff-buffer-with-file): Move from files.el.
1612         * files.el (diff-buffer-with-file): Move to vc/diff.el.
1613         (diff-buffer-internal): Remove.
1614         (diff-buffer-buffer): Remove.
1615         (save-some-buffers-action-alist): Use diff-no-select so as not to guess
1616         the buffer name used, and so as not to mess up windows and frames.
1618 2010-11-22  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
1620         * files.el: Make revert work with diff-buffer-with-file (bug#7277).
1621         (diff-buffer-internal): New function extracted from diff-buffer-with-file
1622         (diff-buffer-with-file): Use it.
1623         * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
1624         (diff): Use it.
1626 2010-11-22  Tassilo Horn  <tassilo@member.fsf.org>
1628         * textmodes/reftex-ref.el (reftex-goto-label): Use the current
1629         \ref's or \pageref's value as default instead of initial input.
1631 2010-11-21  Michael Albinus  <michael.albinus@gmx.de>
1633         * files.el (backup-by-copying-when-mismatch): The default value is
1634         now t.
1636         * startup.el (normal-top-level):
1637         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1638         `backup-by-copying-when-mismatch'.
1640 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
1642         * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
1644 2010-11-21  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1646         * progmodes/python.el (python-font-lock-keywords):
1647         Highlight top-level augmented assignments (Bug#6445).
1649 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
1651         * term/ns-win.el (ns-right-control-modifier)
1652         (ns-right-command-modifier): Defvar them.
1654         * cus-start.el (all): Add ns-right-control-modifier and
1655         ns-right-command-modifier (Bug#7458).
1657 2010-11-20  Glenn Morris  <rgm@gnu.org>
1659         * emacs-lisp/authors.el (authors-ignored-files)
1660         (authors-valid-file-names, authors-renamed-files-alist): Add entries.
1662 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
1664         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
1665         (report-emacs-bug-parse-query-results)
1666         (report-emacs-bug-create-existing-bugs-buffer): Pass through
1667         keywords used for querying the bug database to show them in the
1668         existing bugs buffer.
1670 2010-11-20  Jan Djärv  <jan.h.d@swipnet.se>
1672         * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
1674         * info.el (info-tool-bar-map): Add some :vert-only keywords.
1676 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
1678         * international/characters.el (glyphless-char-display-control):
1679         Make it a defcustom, with update-glyphless-char-display as its
1680         :set attribute.
1681         (top level): Don't call update-glyphless-char-display.
1683 2010-11-20  Michael Albinus  <michael.albinus@gmx.de>
1685         Sync with Tramp 2.2.0.
1687         * net/tramp.el (tramp-handle-insert-file-contents): Don't use
1688         `file-remote-p' (due to compatibility).
1690         * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
1691         (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
1693         * net/trampver.el: Update release number.
1695 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
1697         * faces.el (glyphless-char): Define value for `pc'.
1699 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
1701         Implemented a bug querying mechanism.
1702         * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
1703         (report-emacs-bug-create-existing-bugs-buffer)
1704         (report-emacs-bug-parse-query-results)
1705         (report-emacs-bug-query-existing-bugs): New functions.
1707 2010-11-19  Martin Rudalics  <rudalics@gmx.at>
1709         * window.el (display-buffer-same-frame-specifiers)
1710         (display-buffer-other-window-same-frame-specifiers): New
1711         constants.
1712         (display-buffer): Call display-buffer-function if it's non-nil.
1713         (display-buffer-same-window, display-buffer-other-window)
1714         (pop-to-buffer-other-window, switch-to-buffer-other-window):
1715         Adjust doc-strings.
1716         (display-buffer-same-frame)
1717         (display-buffer-other-window-same-frame)
1718         (pop-to-buffer-same-frame)
1719         (pop-to-buffer-other-window-same-frame)
1720         (switch-to-buffer-same-frame)
1721         (switch-to-buffer-other-window-same-frame): New functions.
1722         (display-buffer-function): Un-obsolete.
1724         * bookmark.el (bookmark-bmenu-2-window): Use
1725         pop-to-buffer-other-window.
1726         (bookmark-bmenu-switch-other-window): Use
1727         display-buffer-other-window.
1729         * progmodes/etags.el (find-tag-other-window): New argument
1730         other-frame. Call either pop-to-buffer-other-window or
1731         pop-to-buffer-other-frame.
1732         (find-tag-other-frame): Call find-tag-other-window with
1733         other-frame argument t.
1735         * speedbar.el (speedbar-find-file-in-frame)
1736         (speedbar-buffer-click): Use pop-to-buffer-other-frame.
1738         * term/ns-win.el (ns-find-file): Use pop-to-buffer-other-frame.
1740 2010-11-19  Tassilo Horn  <tassilo@member.fsf.org>
1742         * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
1743         a \ref{} or \pageref{} macro, then use its value as initial input.
1745 2010-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
1747         * calc/calc-units.el (math-build-units-table-buffer):
1748         calc/README: Mention that the TeX specific units won't use the
1749         `tex' prefix in TeX mode.
1750         calc/calc-lang.el (math-variable-table): Don't use the `tex'
1751         prefix for units in TeX mode.
1753 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1755         * simple.el (kill-new, kill-append, kill-region):
1756         * comint.el (comint-kill-region): Make the yank-handler argument
1757         obsolete.
1759 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1761         * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
1762         that are both openers (resp. closers) and something else.
1763         (smie-grammar): Loosen definition of valid values.
1764         (smie-next-sexp, smie-down-list, smie-blink-matching-open)
1765         (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
1766         (smie-indent-after-keyword): Adjust users.
1767         (smie-indent-keyword): Don't indent empty lines.
1769         * vc-hg.el (vc-hg-program): New var.
1770         Suggested by Norman Gray <norman@astro.gla.ac.uk>.
1771         (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
1773 2010-11-18  Glenn Morris  <rgm@gnu.org>
1775         * emacs-lisp/autoload.el (autoload-find-destination): The function
1776         coding-system-eol-type may return non-numeric values.  (Bug#7414)
1778 2010-11-18  Ulrich Mueller  <ulm@gentoo.org>
1780         * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
1782 2010-11-18  Eli Zaretskii  <eliz@gnu.org>
1784         * subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)
1786 2010-11-18  Chong Yidong  <cyd@stupidchicken.com>
1788         * textmodes/picture.el (picture-mouse-set-point): Don't use
1789         posn-col-row; explicitly compute the motion based on the posn at
1790         the window-start (Bug#7390).
1792 2010-11-18  Glenn Morris  <rgm@gnu.org>
1794         * novice.el (disabled-command-function):
1795         Fix 2009-11-15 change.  (Bug#7384)
1797 2010-11-18  Glenn Morris  <rgm@gnu.org>
1799         * calendar/calendar.el (diary-iso-date-forms): Make elements
1800         mutually exclusive.  (Bug#7377)
1802 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1804         * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
1805         when filling the remaining "unconstrained" values.
1807 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1809         * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
1810         safety predicate.
1812         * files.el (safe-local-variable-p): Gracefully handle errors.
1814         * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
1815         Use smie-indent-virtual when indenting relative to an opener.
1816         (smie-rule-separator): Use smie-rule-parent.
1817         (smie-indent-keyword): Consult rules, even for openers at bol.
1818         (smie-indent-comment-close): Try to align closer's content.
1820 2010-11-18  Glenn Morris  <rgm@gnu.org>
1822         * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
1824 2010-11-18  Glenn Morris  <rgm@gnu.org>
1826         * printing.el (pr-menu-bind): Doc fix.
1828         * speedbar.el (speedbar-toggle-images): Doc fix.
1830         * progmodes/python.el (python-shell): Doc fix.
1832         * wid-edit.el (widget-field-use-before-change)
1833         (widget-use-overlay-change): Doc fixes.
1835 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1837         Minor cleanup to improve style.
1838         * textmodes/rst.el (rst-update-section): Use point-marker.
1839         (rst-get-decoration): Eliminate unneeded assignment.
1840         (rst-promote-region, rst-straighten-decorations)
1841         (rst-section-tree, rst-adjust): Use point-marker.
1842         (rst-toc-mode-mouse-goto): Avoid setq.
1843         (rst-shift-region-guts, rst-shift-region-left)
1844         (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
1845         (rst-convert-bullets-to-enumeration): Use copy-marker.
1847         * minibuffer.el (completion-fail-discreetly): New var.
1848         (completion--do-completion): Use it.
1850         * electric.el (electric-pair-pairs): New var.
1851         (electric-pair-post-self-insert-function): Use it.
1852         (electric-layout-post-self-insert-function): Don't insert a before
1853         newline unless it's actually needed.
1855 2010-11-17  Martin Rudalics  <rudalics@gmx.at>
1857         * window.el (display-buffer-split-window-1): Fix sizing for
1858         internal windows which got broken by the last fix.
1860         * progmodes/compile.el (compilation-minor-mode-map)
1861         (compilation-mode-map): Replace bindings for quit-window by
1862         bindings for quit-restore-window.
1864 2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1866         * progmodes/python.el (run-python): Explain why we remove the current
1867         directory from sys.path.  Suggested by Eric Hanchrow <erich@cozi.com>.
1869         * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
1871 2010-11-16  Martin Rudalics  <rudalics@gmx.at>
1873         * window.el (display-buffer-split-window-1)
1874         (display-buffer-split-window): Rewrite so that windows are
1875         always split evenly.
1877 2010-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1879         * progmodes/octave-mod.el: Rely on elecric-*-modes.
1880         (octave-mode-map): Don't bind ;, SPC, and LF.
1881         (octave-auto-indent, octave-auto-newline): Remove.
1882         (electric-layout-rules): Declare.
1883         (octave-mode): Set electric-layout-rules.
1884         (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
1885         (octave-reindent-then-newline-and-indent, octave-electric-semi)
1886         (octave-electric-space): Remove.
1888         * electric.el (electric-layout-mode): New minor mode.
1889         (electric--after-char-pos): New function.
1890         (electric-indent-post-self-insert-function): Use it.
1891         (electric-layout-rules): New var.
1892         (electric-layout-post-self-insert-function): New function.
1893         (electric-indent-mode): Make them interact better.
1895 2010-11-15  Martin Rudalics  <rudalics@gmx.at>
1897         * minibuffer.el (minibuffer-completion-help): Don't mark window
1898         as dedicated, the quit-restore parameter should take care of
1899         deleting the window.
1900         (minibuffer-hide-completions): Use quit-restore-window instead
1901         of bury-buffer.
1903         * window.el (display-buffer-split-window-1): Remove max-size
1904         argument and corresponding code.
1905         (display-buffer-split-window): Remove handling of max-height and
1906         max-width specifiers.  Restore the pre Emacs 24 behavior where a
1907         single-window frame could be split ignoring the min-height
1908         specifier (then split-height-threshold value).  For the
1909         horizontal splitting, side equalling nil case call
1910         display-buffer-split-window-1 with side argument set to 'right
1911         instead of 'below, fixing a bug spotted by Štěpán Němec.
1913 2010-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1915         * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
1916         (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
1917         (checkdoc-proper-noun-region-engine): Use with-syntax-table.
1919 2010-11-15  Agustín Martín  <agustin.martin@hispalinux.es>
1921         * textmodes/flyspell.el (flyspell-generic-progmode-verify):
1922         Make sure to check inside the word (Bug#6761).
1924 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
1926         * startup.el (command-line): If the cursorColor resource is set,
1927         change the cursor face-spec (Bug#7392).
1929 2010-11-13  Ken Manheimer  <ken.manheimer@gmail.com>
1931         The main features of the following allout.el changes are:
1932         - implement user customization for the allout key bindings
1933         - add a customization control by which the user can inhibit use of
1934           a trailing Ctrl-H, so by default it's reserved for use with
1935           describe-prefix-bindings
1936         - adapt to new version of called-interactively-p, while
1937           maintaining backwards compatibility with old version
1938         - fix hotspot navigation so i works properly with meta-modified keys
1940         * allout.el (allout-keybindings, allout-bind-keys)
1941         (allout-keybindings-binding, allout-prefixed-keybindings)
1942         (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
1943         (allout-keybindings-list, allout-mode-map-adjustments)
1944         (allout-setup-mode-map): Establish allout-mode keymaps as user
1945         customizable settings, and also establish a customizable setting which
1946         regulates whether or not a trailing control-h is reserved for use with
1947         describe-prefix-bindings - and inhibit it by default, so that control-h
1948         *is* reserved for describe-prefix-bindings unless the user changes it.
1950         * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
1951         and accurately between modified and unmodified events, and handle
1952         modified events more comprehensively.
1954         * allout.el (allout-substring-no-properties):
1955         Alias to use or provide version of `substring-no-properties'.
1956         (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
1958         * allout.el (allout-next-single-char-property-change):
1959         Alias to use or provide version of `next-single-char-property-change'.
1960         (allout-annotate-hidden, allout-hide-by-annotation):
1961         Use `allout-next-single-char-property-change'.
1963         * allout.el (allout-select-safe-coding-system):
1964         Alias to use or provide version of `select-safe-coding-system'.
1965         (allout-toggle-subtree-encryption):
1966         Use `allout-select-safe-coding-system'.
1968         * allout.el (allout-set-buffer-multibyte):
1969         Alias to use or provide version of `set-buffer-multibyte'.
1970         (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
1972         * allout.el (allout-called-interactively-p): Macro for using the
1973         different versions of called-interactively-p identically, depending on
1974         the subroutine's argument signature.
1975         (allout-back-to-current-heading, allout-beginning-of-current-entry):
1976         Use `(interactive "p")' instead of `(called-interactively-p)'.
1978         * allout.el (allout-init, allout-ascend, allout-end-of-level)
1979         (allout-previous-visible-heading, allout-forward-current-level)
1980         (allout-backward-current-level, allout-show-children):
1981         Use `allout-called-interactively-p' instead of `called-interactively-p'.
1983         * allout.el (allout-before-change-handler):
1984         Exempt edits to the (overlaid) character after the allout outline
1985         bullet from edit confirmation prompt.
1987         * allout.el (allout-add-resumptions):
1988         Ensure that it respects correct buffer for keybindings.
1990         * allout.el (allout-beginning-of-line):
1991         Use `allout-previous-single-char-property-change' alias for the sake of
1992         diverse compatibility.
1994         * allout.el (allout-end-of-line):
1995         Use `allout-mark-active-p' to encapsulate respect for mark activity.
1997 2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
1999         * frame.el (frame-notice-user-settings): Don't clobber other
2000         user-set parameters when calling face-set-after-frame-default in
2001         response to background-color parameter (Bug#7373).
2003 2010-11-13  Eli Zaretskii  <eliz@gnu.org>
2005         * international/characters.el (glyphless-char-display-control):
2006         Rename from glyphless-char-control; all users changed.  Doc fix.
2007         Signal an error if display method is not one of the recognized
2008         symbols.
2010 2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
2012         * net/tramp-compat.el (tramp-compat-line-beginning-position)
2013         (tramp-compat-line-end-position): Remove them.
2015         * net/tramp.el (tramp-parse-rhosts-group)
2016         (tramp-parse-shosts-group, tramp-parse-sconfig-group)
2017         (tramp-parse-hosts-group, tramp-parse-passwd-group)
2018         (tramp-parse-netrc-group, tramp-parse-putty-group)
2019         * net/tramp-cmds.el (tramp-append-tramp-buffers)
2020         * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
2021         (tramp-sh-handle-file-selinux-context)
2022         (tramp-sh-handle-file-name-all-completions)
2023         (tramp-sh-handle-insert-directory)
2024         (tramp-sh-handle-expand-file-name, tramp-find-executable)
2025         (tramp-wait-for-output, tramp-send-command-and-read)
2026         * net/tramp-smb.el (tramp-smb-read-file-entry)
2027         (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
2029         * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
2030         `point-at-bol'.
2031         (tramp-remote-coding-commands): Add an alternative using "base64
2032         -d -i".  This is needed for older base64 versions from GNU
2033         coreutils.  Reported by Klaus Reichl
2034         <Klaus.Reichl@thalesgroup.com>.
2036 2010-11-13  Hrvoje Niksic  <hniksic@xemacs.org>
2038         * simple.el (count-words-region): New function.
2040 2010-11-12  Martin Rudalics  <rudalics@gmx.at>
2042         * window.el (display-buffer): Write check for dedicatedness
2043         correctly in the same-window section.
2044         (get-mru-window): Fix doc-string typo.
2046 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2048         * shell.el (shell-dir-cookie-re): New custom variable.
2049         (shell-dir-cookie-watcher): New function.
2051         * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
2052         and compilation-mode (bug#7350).
2054         * vc/smerge-mode.el (smerge-refine): Choose better default part to
2055         highlight when one of them is empty.
2057         * skeleton.el (skeleton-read): Don't use `newline' since it may strip
2058         trailing space.
2059         (skeleton-newline): New function.
2060         (skeleton-internal-1): Use it.
2062         * simple.el (open-line): `newline' may strip trailing space.
2064 2010-11-12  Kevin Ryde  <user42@zip.com.au>
2066         * international/mule-cmds.el (princ-list): Use mapc.
2068 2010-11-12  Glenn Morris  <rgm@gnu.org>
2070         * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
2071         Use it to replace all instances of "*Compile-Log*"
2073 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2075         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
2076         indentation specs.
2078 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2080         * progmodes/modula2.el: Use SMIE and skeleton.
2081         (m2-mode-syntax-table): (*..*) can be nested.
2082         Add //...\n.  Fix paren syntax.
2083         (m2-mode-map): Remove LF and TAB bindings.
2084         (m2-indent): Add safety property.
2085         (m2-smie-grammar): New var.
2086         (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
2087         (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
2088         (m2-mode): Use define-derived-mode.
2089         (m2-newline, m2-tab): Remove.
2090         (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
2091         (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
2092         (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
2093         (m2-import): Use define-skeleton.
2095 2010-11-11  Glenn Morris  <rgm@gnu.org>
2097         * obsolete/lucid.el: Don't warn about any CL functions in this file.
2099         * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
2100         (ls-lisp-verbosity): Add custom :set-after property.
2101         (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
2102         (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
2103         (ls-lisp-insert-directory): Update caller.
2104         (ls-lisp-set-options): New function.
2105         (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
2106         Doc fix.
2108         * play/landmark.el (lm-prompt-for-move):
2109         * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
2111         * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
2113         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
2114         (idlwave-study-twins): Prefix dynamic local variable `name'.
2115         (idlwave-routine-twin-compare): Update for above change.
2117         * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
2118         Prefix dynamic local variables `name', `kwd', and `link'.
2119         * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
2120         * progmodes/idlw-complete-structtag.el
2121         (idlwave-complete-structure-tag-help):
2122         * progmodes/idlwave.el (idlwave-complete-sysvar-help)
2123         (idlwave-complete-sysvar-tag-help)
2124         (idlwave-complete-class-structure-tag-help):
2125         Update for above name changes.
2127 2010-11-10  Martin Rudalics  <rudalics@gmx.at>
2129         * help.el (with-help-window): In doc-string say how to set up
2130         temp-buffer-show-specifiers.
2132         * isearch.el (isearch-help-for-help, isearch-describe-bindings)
2133         (isearch-describe-key, isearch-describe-mode): Replace bindings
2134         for same-window-buffer-names and same-window-regexps by binding
2135         temp-buffer-show-specifiers instead.
2137         * international/mule-diag.el (mule-diag):
2138         * calc/calc-help.el (calc-describe-key, calc-full-help):
2139         * printing.el (pr-show-setup):
2140         * progmodes/python.el (python-describe-symbol):
2141         * textmodes/table.el (*table--cell-describe-mode)
2142         (*table--cell-describe-bindings):
2143         * tutorial.el (tutorial--describe-nonstandard-key)
2144         (tutorial--detailed-help):
2145         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
2146         * play/yow.el (apropos-zippy): Use with-help-window.
2148         * apropos.el (apropos-command): Remove the message calculation part.
2149         (apropos-print): Use with-help-window
2151         * woman.el (woman-mini-help): Remove the message calculation part.
2152         (woman-display-extended-fonts): Use with-help-window.
2154 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2156         * net/browse-url.el (browse-url-browser-function): Change the
2157         default to use `browse-url-mail' on mailto: URLs.
2159 2010-11-10  Chong Yidong  <cyd@stupidchicken.com>
2161         * emacs-lisp/package.el (package-read-all-archive-contents):
2162         Reset package-archive-contents to nil before re-reading.
2164 2010-11-10  Brandon Craig Rhodes  <brandon@rhodesmill.org>  (tiny change)
2166         * textmodes/flyspell.el (flyspell-word): Do not re-check words
2167         already found as misspellings by (flyspell-large-region), just
2168         do highlighting (bug#7322).
2170 2010-11-10  Glenn Morris  <rgm@gnu.org>
2172         * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
2174         * emulation/edt.el (edt-with-position): New macro.
2175         (edt-find-forward, edt-find-backward, edt-find-next-forward)
2176         (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
2177         (edt-paragraph-forward, edt-paragraph-backward): Use it.
2179         * emulation/tpu-extras.el (tpu-with-position): New macro.
2180         (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
2182         * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
2184         * textmodes/texnfo-upd.el (texinfo-all-menus-update)
2185         (texinfo-menu-copy-old-description, texinfo-start-menu-description)
2186         (texinfo-master-menu, texinfo-insert-node-lines)
2187         (texinfo-multiple-files-update):
2188         * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
2189         Use line-beginning-position.
2191         * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
2192         No recent Emacs supports system-type `emx'.
2194         * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
2195         (ada-command-separator, ada-default-prj-properties)
2196         (ada-find-any-references): Update for above name change.
2198         * dirtrack.el (dirtrack-directory-function)
2199         (dirtrack-canonicalize-function):
2200         * filecache.el (file-cache-completion-ignore-case)
2201         (file-cache-case-fold-search, file-cache-ignore-case):
2202         * term.el (serial-port-is-file-p): Cosmetic change.
2204         * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
2205         Remove non-existent `windows-95' system-type.
2206         * dired.el (dired-chown-program): Remove non-existent `linux'
2207         system-type.
2209         * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
2210         (ping-program-options): Remove non-existent `linux' system-type.
2212         * startup.el (package-initialize): Update declaration.
2214         * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
2215         (ls-lisp-handle-switches): Use time-less-p.
2216         (ls-lisp-format-time): Use float-time.
2218         * textmodes/remember.el (remember-time-to-seconds): Remove.
2219         (remember-store-in-mailbox): Use float-time.
2221         * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
2223         * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
2224         never a real function.
2225         (with-no-warnings): Remove compat stub, now unused.
2226         (time-less-p): Doc fix.
2227         (time-to-number-of-days): Simplify.
2229         * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
2230         Remove.
2231         (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
2232         * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
2233         * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
2234         * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
2235         * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
2237         * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
2238         (eshell-shuffle-files, eshell-shorthand-tar-command)
2239         (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
2240         Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
2241         * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
2242         Prefix dynamic local variable `matches'.
2244         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
2245         Prefix dynamic local variable `skeleton'.
2247 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
2249         * net/browse-url.el (browse-url-mail): Insert body part of mailto url
2250         in mail buffer; make yank-action always a command that yanks original
2251         buffer.
2253 2010-11-09  Glenn Morris  <rgm@gnu.org>
2255         * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
2257 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2259         * minibuffer.el (minibuffer-completion-help): Specify the end of the
2260         completion field (bug#7211).
2262         * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
2263         Fix handling of backslash escapes.
2264         (python-quote-syntax): Adjust accordingly.
2266 2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
2268         * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
2269         (vc-mtn-workfile-branch): Adjust to new output format.
2271 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2273         * international/mule-cmds.el (princ-list): Mark as obsolete.
2275 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2277         * emacs-lisp/smie.el: New package.
2279 2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
2281         * files.el (backup-by-copying-when-mismatch):
2282         Set `permanent-local' property.
2284         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2285         `permanent-local' property for `backup-by-copying-when-mismatch'.
2287 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
2289         * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
2291 2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
2293         * progmodes/verilog-mode.el (verilog-insert-one-definition)
2294         (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
2295         AUTOINOUT for SV style multidimensional arrays, bug294.
2296         Reported by Eric Mastromarchi.
2297         (verilog-preprocess): Use with-current-buffer and
2298         font-lock-fontify-buffer to cleanup style issues.
2300 2010-11-09  Glenn Morris  <rgm@gnu.org>
2302         * locate.el (locate, locate-mode): Doc fixes.
2304 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
2306         * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
2307         user for confirmation.
2308         (server-force-stop): Use it.
2309         (server-start): Use server-force-stop for kill-emacs-hook, to
2310         avoid user interaction while killing Emacs.
2312 2010-11-09  Glenn Morris  <rgm@gnu.org>
2314         * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
2315         (meta-indent-line): Simplify.
2317         * vc/emerge.el (emerge-line-number-in-buf):
2318         * textmodes/ispell.el (ispell-region):
2319         * textmodes/fill.el (current-fill-column):
2320         * progmodes/xscheme.el (xscheme-send-current-line):
2321         * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
2322         * progmodes/tcl.el (tcl-hairy-scan-for-comment):
2323         * progmodes/sh-script.el (sh-handle-prev-do):
2324         * progmodes/meta-mode.el (meta-indent-line):
2325         * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
2326         (idlwave-in-quote):
2327         * progmodes/idlw-shell.el (idlwave-shell-current-frame)
2328         (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
2329         * progmodes/fortran.el (fortran-looking-at-if-then):
2330         * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
2331         * progmodes/cperl-mode.el (cperl-sniff-for-indent)
2332         (cperl-find-pods-heres):
2333         * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
2334         * net/quickurl.el (quickurl-list-insert):
2335         * net/ldap.el (ldap-search-internal):
2336         * net/eudc.el (eudc-expand-inline):
2337         * mail/sendmail.el (sendmail-send-it):
2338         * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
2339         * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
2340         (viper-brac-function):
2341         * calc/calc-yank.el (calc-do-grab-region):
2342         * calc/calc-keypd.el (calc-keypad-press):
2343         * term.el (term-move-columns, term-insert-spaces):
2344         * speedbar.el (speedbar-highlight-one-tag-line):
2345         * simple.el (current-word):
2346         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
2347         * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
2348         (Info-scroll-down):
2349         * hippie-exp.el (he-line-beg):
2350         * epa.el (epa--marked-keys):
2351         * dired-aux.el (dired-kill-line, dired-do-kill-lines)
2352         (dired-update-file-line, dired-add-entry, dired-remove-entry)
2353         (dired-relist-entry):
2354         * buff-menu.el (Buffer-menu-buffer):
2355         * array.el (current-line):
2356         * allout.el (allout-resolve-xref)
2357         (allout-latex-verbatim-quote-curr-line):
2358         Replace yet more uses of end-of-line etc with line-end-position, etc.
2360 2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2362         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
2363         (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
2364         (checkdoc-syntax-table): Initialize in the declaration.
2365         (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
2366         the mode on unconditionally.
2368         * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
2369         (extent-end-position, extent-start-position): Remove setf method for
2370         non-existing functions (bug#7319).
2372 2010-11-07  Martin Rudalics  <rudalics@gmx.at>
2374         * ielm.el (top-level): Remove autoloaded add-hook for
2375         same-window-buffer-names.
2376         (ielm): Use pop-to-buffer-same-window.
2378         * progmodes/inf-lisp.el (inferior-lisp): Use
2379         pop-to-buffer-same-window.
2380         (top-level): Remove autoloaded add-hook for
2381         same-window-buffer-names.
2382         (switch-to-lisp): Use pop-to-buffer with tailored specifiers.
2384         * replace.el (occur-mode-goto-occurrence): Use
2385         pop-to-buffer-other-window.
2386         (occur-mode-display-occurrence): Use
2387         display-buffer-other-window.
2389         * shell.el (shell): Use pop-to-buffer-same-window.
2390         (top-level): Remove autoloaded add-hook for
2391         same-window-buffer-names.
2393         * net/rlogin.el: (top-level): Remove autoloaded add-hook for
2394         same-window-regexps.
2395         (rlogin): Use pop-to-buffer-same-window.
2397         * net/telnet.el (top-level): Remove two autoloaded add-hooks for
2398         same-window-regexps.
2399         (telnet, rsh): Use pop-to-buffer-same-window.
2401 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2403         * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
2404         (smie-precs->prec2): Rename from smie-precs-precedence-table.
2405         (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
2406         (smie-prec2->grammar): Rename from smie-prec2-levels.
2407         (smie-grammar): Rename from smie-op-levels.
2408         (smie-indent--hanging-p): Rename from smie-hanging-p.
2409         (smie-rule-hanging-p): New alias.
2410         (smie-indent--bolp): Rename from smie-bolp.
2411         (smie-indent--hanging-p): New alias.
2412         (smie--token): New dynamically bound variable.
2413         (smie-indent--parent): New function.
2414         (smie-rule-parent-p): Use it; rename from smie-parent-p.
2415         (smie-rule-next-p): Rename from smie-next-p.
2416         (smie-rule-prev-p): Rename from smie-prev-p.
2417         (smie-rule-sibling-p, smie-rule-parent)
2418         (smie-indent--separator-outdent, smie-rule-separator): New functions.
2419         (smie-rule-separator-outdent): New var.
2420         (smie-indent--rule): Merge with smie-indent--column.
2421         (smie-indent-forward-token, smie-indent-backward-token):
2422         Also recognize close parens.
2423         (smie-indent-keyword): Don't use smie-indent--column any more.
2424         (smie-indent-after-keyword): Ignore closers by default.
2425         (smie-indent-line): Use with-demoted-errors.
2426         * progmodes/octave-mod.el (octave-smie-grammar):
2427         Rename from octave-smie-op-levels.
2428         (octave-smie-rules): Adjust to new behavior.
2429         * progmodes/prolog.el (prolog-smie-grammar):
2430         Rename from prolog-smie-op-levels.
2432 2010-11-07  Glenn Morris  <rgm@gnu.org>
2434         * eshell/esh-util.el (subst-char-in-string)
2435         (directory-files-and-attributes): These compatibility definitions are
2436         not needed on any version of Emacs since at least 21.4.
2438         * progmodes/verilog-mode.el (verilog-get-beg-of-line)
2439         (verilog-get-end-of-line): Remove.
2440         (verilog-within-string, verilog-re-search-forward-substr)
2441         (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
2442         (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
2443         Use point-at-bol, point-at-eol.
2444         * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
2445         Remove.
2446         (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
2447         (electric-pascal-terminate-line, pascal-set-auto-comments)
2448         (pascal-indent-paramlist, pascal-indent-declaration)
2449         (pascal-get-lineup-indent, pascal-func-completion)
2450         (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
2451         Use point-at-bol, point-at-eol.
2452         * progmodes/flymake.el (flymake-line-beginning-position)
2453         (flymake-line-end-position): Remove.
2454         (flymake-highlight-line): Use point-at-bol, point-at-eol.
2455         * eshell/esh-util.el (line-end-position, line-beginning-position):
2456         Remove compat definitions.
2458         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2459         Use end-of-line N.
2460         (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
2461         Use line-end-position.
2463         * emacs-lisp/chart.el (chart-zap-chars):
2464         * play/decipher.el (decipher-set-map):
2465         * progmodes/ada-mode.el (ada-get-current-indent)
2466         (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
2467         * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
2468         * progmodes/ada-xref.el (ada-initialize-runtime-library)
2469         (ada-get-all-references):
2470         * progmodes/cperl-mode.el (cperl-electric-paren)
2471         (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
2472         (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
2473         (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
2474         (cperl-word-at-point-hard):
2475         * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
2476         (idlwave-shell-filename-string, idlwave-shell-batch-command)
2477         (idlwave-shell-display-line):
2478         * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
2479         (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
2480         * progmodes/js.el (js--re-search-forward-inner)
2481         (js--re-search-backward-inner):
2482         * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
2483         (vhdl-fix-clause, vhdl-compose-configuration-architecture):
2484         * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
2485         * textmodes/flyspell.el (flyspell-process-localwords):
2486         * textmodes/ispell.el (ispell-buffer-local-parsing)
2487         (ispell-buffer-local-dict, ispell-buffer-local-words):
2488         Use point-at-bol and point-at-eol.
2490         * speedbar.el (speedbar-generic-item-info)
2491         (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
2492         (speedbar-add-indicator, speedbar-check-vc-this-line)
2493         (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
2494         (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
2495         Replace more uses of end-of-line etc with line-end-position.
2497 2010-11-06  Martin Rudalics  <rudalics@gmx.at>
2499         * mail/sendmail.el (mail-bury): Do something similar to
2500         quit-restore-window.
2501         (top-level): Don't change same-window-buffer-names via add-hook
2502         any more.
2503         (mail): Use pop-to-buffer-same-window.
2504         (mail-other-window): Use pop-to-buffer-other-window.
2505         (mail-other-frame): Use pop-to-buffer-other-frame.
2507         * simple.el (display-message-or-buffer): Rename argument FRAME
2508         to IGNORE because it's ignored.  Change call to display-buffer
2509         accordingly.
2510         (sendmail-user-agent-compose): Remove let bindings around call
2511         to switch-function; the latter should have been bound to an
2512         appropriate function already.
2513         (clone-buffer): Call pop-to-buffer-other-window.
2514         (clone-indirect-buffer): New semantices of display-flag
2515         argument.
2516         (clone-indirect-buffer-other-window): Interactively set
2517         display-flag to 'other-window.
2519         * calendar/solar.el (sunrise-sunset): Use with-help-window instead
2520         of with-output-to-temp-buffer.
2522         * textmodes/bibtex.el (bibtex-search-entry): Use
2523         pop-to-buffer-same-window.
2525         * cmuscheme.el (run-scheme): Use pop-to-buffer-same-window.
2526         (top-level): Remove autoloaded add-hook for
2527         same-window-buffer-names.
2529         * eshell/eshell.el (eshell-add-to-window-buffer-names)
2530         (eshell-remove-from-window-buffer-names): Remove.
2531         (eshell-unload-hook): Don't call
2532         eshell-remove-from-window-buffer-names.
2533         (eshell-buffer-name): Don't call
2534         eshell-remove-from-window-buffer-names and
2535         eshell-add-to-window-buffer-names.
2536         (top-level): Remove eshell-deftest call to check for
2537         same-window-buffer-names.
2538         (eshell): Call pop-to-buffer-same-window.
2540         * files.el (display-buffer-other-frame): Remove.
2542 2010-11-06  Glenn Morris  <rgm@gnu.org>
2544         * textmodes/texnfo-upd.el (texinfo-start-menu-description)
2545         (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
2546         (texinfo-delete-existing-pointers, texinfo-find-pointer)
2547         (texinfo-clean-up-node-line, texinfo-insert-node-lines)
2548         (texinfo-multiple-files-update):
2549         * textmodes/table.el (table--probe-cell-left-up)
2550         (table--probe-cell-right-bottom):
2551         * textmodes/picture.el (picture-tab-search):
2552         * textmodes/page-ext.el (pages-copy-header-and-position)
2553         (pages-directory-for-addresses):
2554         * progmodes/vera-mode.el (vera-get-offset):
2555         * progmodes/simula.el (simula-calculate-indent):
2556         * progmodes/python.el (python-pdbtrack-overlay-arrow):
2557         * progmodes/prolog.el (end-of-prolog-clause):
2558         * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
2559         * progmodes/icon.el (indent-icon-exp):
2560         * progmodes/etags.el (tag-re-match-p):
2561         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
2562         * progmodes/ebnf2ps.el (ebnf-begin-file):
2563         * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
2564         (dcl-save-local-variable):
2565         * play/life.el (life-setup):
2566         * play/gametree.el (gametree-looking-at-ply):
2567         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
2568         * mail/sendmail.el (mail-mode-auto-fill):
2569         * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
2570         * emacs-lisp/edebug.el (edebug-overlay-arrow):
2571         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
2572         * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
2573         (woman-tab-to-tab-stop, WoMan-warn-ignored):
2574         * type-break.el (type-break-file-keystroke-count):
2575         * term.el (term-replace-by-expanded-history-before-point)
2576         (term-skip-prompt, term-extract-string):
2577         * speedbar.el (speedbar-edit-line, speedbar-expand-line)
2578         (speedbar-contract-line, speedbar-toggle-line-expansion)
2579         (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
2580         (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
2581         * sort.el (sort-skip-fields):
2582         * skeleton.el (skeleton-internal-list):
2583         * simple.el (line-move-finish, line-move-to-column):
2584         * shell.el (shell-forward-command):
2585         * misc.el (copy-from-above-command):
2586         * makesum.el (double-column):
2587         * ebuff-menu.el (electric-buffer-update-highlight):
2588         * dired.el (dired-move-to-end-of-filename):
2589         * dframe.el (dframe-popup-kludge):
2590         * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
2591         * arc-mode.el (archive-get-lineno):
2592         Use line-end-position and line-beginning-position.
2594         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
2595         (idlwave-study-twins): Prefix dynamic local `class'.
2596         (idlwave-routine-twin-compare): Update for above name change.
2598         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
2599         Use boundp tests to silence compiler.  Update for changed name of
2600         bytecomp-filename variable.
2602         * emulation/viper-cmd.el (viper-read-string-with-history):
2603         Prefix dynamic local `initial'.
2604         (viper-minibuffer-standard-hook): Update for above name change.
2606         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
2607         (elint-init-form): Update for above name change.
2609         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
2610         local variables `cbeg' and `cend' a prefix.
2611         (mail-extr-voodoo): Update for above name change.
2613         * textmodes/reftex-toc.el (reftex-toc-do-promote)
2614         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
2615         (reftex-toc-promote-action): Doc fix.
2617         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
2618         `prompt', `data' a prefix.
2619         (reftex-select-post-command-hook, reftex-select-callback)
2620         (reftex-select-mouse-accept, reftex-select-read-cite):
2621         Update for above name changes.
2623         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
2624         `refstyle' to reftex-refstyle.
2625         (reftex-offer-label-menu): Update for above name change.
2626         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
2627         `refstyle' name change.
2629         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
2630         with with-current-buffer.
2631         (diff, template): Give dynamic local variables a prefix.
2632         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
2633         (emerge-line-number-in-buf): Update for above name change.
2634         (emerge-combine-versions-internal): Rename local `template' to
2635         emerge-combine-template.
2636         (emerge-combine-versions-edit): Update for above name change.
2638 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
2640         * textmodes/reftex-cite.el
2641         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
2642         entries with whitespace after \bibitem.
2643         (reftex-create-bibtex-file): Match entries containing numbers and
2644         symbol constituents.  Make sure that entries with whitespace at
2645         various places are found.
2647 2010-11-05  Martin Rudalics  <rudalics@gmx.at>
2649         * window.el (display-buffer-even-sizes)
2650         (display-buffer-adjust-height, display-buffer-adjust-width)
2651         (display-buffer-in-new-window, kill-buffer-and-window): Use
2652         ignore-errors instead of condition-case.
2654         * electric.el (Electric-pop-up-window): Use buffer display
2655         specifiers.
2657         * emacs-lisp/elint.el (elint-display-log): Use
2658         display-buffer-other-window.
2660         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame): Use buffer
2661         display specifiers.
2663         * printing.el (pr-file-list): Comment out bindings of
2664         pop-up-windows and pop-up-frames.
2666         * mail/reporter.el (reporter-submit-bug-report): Use
2667         pop-to-buffer-other-window and display specifiers.
2669 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
2671         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
2673 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
2675         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
2677 2010-11-05  Glenn Morris  <rgm@gnu.org>
2679         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
2680         (woman2-roff-buffer): Give local variable `request' a prefix.
2681         (woman0-macro): Rename argument `request' in the same way.
2682         (woman-request): New name for `request' dynamic variable.
2683         (woman-unquote, woman-forward-arg): Update for above name change.
2684         (woman1-roff-buffer): Give local variable `unquote' a prefix.
2685         (woman1-unquote): New name for `unquote' dynamic variable.
2686         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
2687         (woman-translations): Rename from `translations'.  No longer global.
2688         (woman2-tr, woman-translate): Update for above name change.
2689         (woman-translate): Check for bound variable.
2690         (woman2-roff-buffer): Give local variable `translations' a prefix.
2692         * play/doctor.el: Give all local variables a prefix.  Update callers.
2693         (doc$, doctor-put-meaning): Use backquote.
2695         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
2696         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
2698         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
2699         variables bytes, ptr, op a prefix.
2700         (disassemble-offset): Update for above change.
2702 2010-11-04  Martin Rudalics  <rudalics@gmx.at>
2704         * window.el (display-buffer-names, display-buffer-regexps): Make
2705         even-window-sizes a seperate specifier.  Allow numbers and
2706         functions in the cdr of the adjust-height specifier and remove
2707         even-window-heights and the special handling of
2708         fit-window-to-buffer and shrink-window-if-larger-than-buffer.
2709         Add new specifier adjust-width similar to adjust-height.
2710         (display-buffer-normalize-specifiers-1): Fix typo.
2711         (display-buffer-even-sizes, display-buffer-adjust-height)
2712         (display-buffer-adjust-width): New functions to handle size
2713         adjustment of new window.
2714         (display-buffer-adjust-heights): Remove.
2715         (display-buffer-in-window): Don't call
2716         display-buffer-adjust-heights any more.
2717         (display-buffer-in-lru-buffer-window)
2718         (display-buffer-in-lru-window): Call display-buffer-even-sizes.
2719         (display-buffer-in-new-window): Use functionp instead of
2720         fboundp.  Call display-buffer-adjust-height and
2721         display-buffer-adjust-width.
2722         (display-buffer): Use functionp instead of fboundp.
2723         (fit-window-to-buffer): Rename argument IGNORE to OVERRIDE.
2725         * progmodes/compile.el (compilation-start)
2726         (compilation-goto-locus): Use adjust-height specifier in
2727         display-buffer calls.
2729         * buff-menu.el (Buffer-menu-switch-other-window)
2730         (Buffer-menu-2-window): Use buffer display specifiers.
2732         * cus-edit.el (top-level): Remove autoloaded add-hook for
2733         same-window-regexps.
2734         (customize-group, customize-face): New optional argument
2735         OTHER-WINDOW.  Use buffer display specifiers.  Call
2736         custom-buffer-create with OTHER-WINDOW argument t.
2737         (customize-group-other-window): Call customize-group with
2738         OTHER-WINDOW argument t.
2739         (customize-face-other-window): Call customize-face with
2740         OTHER-WINDOW argument t.
2741         (custom-buffer-create): New optional argument OTHER-WINDOW.
2742         (custom-buffer-create-other-window): Call
2743         pop-to-buffer-other-window.
2744         (customize-browse): Call pop-to-buffer-same-window.
2746         * play/decipher.el (decipher-display-range): Use
2747         pop-to-buffer-other-window.
2748         (decipher-display-stats-buffer): Use
2749         display-buffer-other-window.
2751         * vc/ediff-util.el (ediff-clone-buffer-for-region-comparison):
2752         Use pop-to-buffer-other-window.
2754         * ehelp.el (with-electric-help): Use pop-to-buffer-other-window.
2756 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
2758         * emacs-lisp/package.el (package-unpack): Remove no-op.
2759         (package--builtins, package--dir): Doc fix.
2760         (package-activate-1, package-activate, package-install)
2761         (package-compute-transaction): Fix error message.
2762         (package-delete): Use delete-directory.  Omit system packages.
2763         (package-initialize): Set package-alist to nil first.
2764         (package-menu-mark-delete, package-menu-mark-install): Don't add
2765         symbols that are inconsistent with the package state.
2766         (package-menu-execute): Perform deletions and installations as
2767         single batch operations.
2769 2010-11-03  Glenn Morris  <rgm@gnu.org>
2771         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
2772         (props): Remove unnecessary declaration.
2774         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
2775         set-process-query-on-exit-flag.
2777         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
2778         (reftex-toc-do-promote): Remove unused local `mpos'.
2779         (reftex-toc-restore-region): Make `mpos' local to this function.
2781         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
2783         * play/landmark.el (lm-losing-threshold): Correct spelling.
2784         (lm-human-plays): Use new name.
2786         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
2787         (gomoku-human-plays): Use new name.
2789         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
2790         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
2791         (gomoku-score-trans-table, gomoku-winning-threshold)
2792         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
2794 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
2796         * emacs-lisp/package.el: Don't put built-in packages in
2797         package-alist, to avoid loading inefficiencies.
2798         (package-built-in-p): Make VERSION optional, and treat it as a
2799         minimum acceptable version.
2800         (package-activate): Search separately for built-in packages.
2801         Emit a warning if a dependency fails.
2802         (define-package): Handle most common case, where there is no
2803         obsolete package, first.
2804         (package-compute-transaction): Print required version in error.
2805         (package--initialized): New variable.
2806         (list-packages): Use it.
2807         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
2808         built-in packages in packages-alist; keep it separate.
2809         Set package--initialized.
2810         (describe-package): Avoid activating packages as a side-effect.
2811         Search separately for built-in packages.
2812         (describe-package-1): Handle the case where an elpa package is
2813         simultaneously built-in and available/installed.
2814         (package-installed-p, package--generate-package-list):
2815         Search separately for built-in packages.
2816         (package-load-descriptor): Doc fix.
2818 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2820         * progmodes/perl-mode.el (perl-syntax-propertize-function):
2821         Handle __DATA__ and __END__.
2823 2010-11-02  Martin Rudalics  <rudalics@gmx.at>
2825         * window.el (display-buffer-names): Describe `not-this-window' and
2826         `not-this-frame' specifiers in doc-string.
2827         (display-buffer-in-lru-buffer-window)
2828         (display-buffer-in-lru-window, display-buffer-in-new-window):
2829         Handle `not-this-window' and `not-this-frame' specifiers when
2830         their cdr specifies a window or a frame.
2831         (display-buffer): Explain in doc-string that the cdr of the
2832         `not-this-window' and `not-this-frame' specifiers argument can
2833         name a window.
2835         * progmodes/compile.el (compilation-start): When displaying outbuf
2836         directly pass height parameters.
2837         (compilation-goto-locus): Use specifiers in display-buffer and
2838         pop-to-buffer calls.  Simplify.
2839         (compilation-find-file): Use specifiers in display-buffer calls.
2841 2010-11-02  Noah Friedman  <friedman@splode.com>
2843         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
2844         nil, do not ask to recompile files that are not already compiled,
2845         and do not recompile them.
2847 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
2849         * emacs-lisp/package.el (package-initialize): Ensure that
2850         obsoleted built-in packages are not in package-activated-list
2851         during activation.
2852         (describe-package-1): Make the "installed" status override
2853         "built-in".
2855 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2857         * subr.el (version-separator, version-regexp-alist): Remove '*'
2858         from docstring.
2859         (version-list-<=, version<=, version=): Doc fix.
2861 2010-11-01  Kenichi Handa  <handa@m17n.org>
2863         * faces.el (glyphless-char): Inherit underline for tty.
2865 2010-11-01  Kenichi Handa  <handa@m17n.org>
2867         Implement various display methods for glyphless characters.
2869         * international/characters.el (char-acronym-table): New variable.
2870         (glyphless-char-control): New variable.
2871         (update-glyphless-char-display): New funciton.
2873         * faces.el (glyphless-char): New face.
2875 2010-11-01  Glenn Morris  <rgm@gnu.org>
2877         * calendar/holidays.el (general-holidays, oriental-holidays)
2878         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
2879         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
2880         the definitions of their targets.
2882         * emacs-lisp/smie.el (smie): New custom group.
2883         (smie-blink-matching-inners, smie-indent-basic): Add :group.
2885         * faces.el (xw-defined-colors, x-setup-function-keys):
2886         * mouse-sel.el (x-select-text):
2887         * term/w32console.el (x-setup-function-keys): Update declarations.
2889         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
2891         * textmodes/ispell.el (comment-add): Declare.
2893         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
2894         Declare.
2896         * info.el (finder-keywords-hash, package-alist): Declare.
2898 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
2900         * finder.el (finder-compile-keywords): Don't use intern-soft,
2901         since package names may not yet exist in the obarray.
2903 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
2905         * vc/vc-arch.el (vc-arch-checkin):
2906         * vc/vc-cvs.el (vc-cvs-checkin):
2907         * vc/vc-mtn.el (vc-mtn-checkin):
2908         * vc/vc-rcs.el (vc-rcs-checkin):
2909         * vc/vc-sccs.el (vc-sccs-checkin):
2910         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
2911         since 2010-04-21 commit by Stefan Monnier.
2913 2010-11-01  Glenn Morris  <rgm@gnu.org>
2915         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
2917         * startup.el (package-enable-at-startup, package-initialize):
2918         Silence compiler.
2920         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
2921         Silence compiler.
2923 2010-10-31  Julien Danjou  <julien@danjou.info>
2925         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
2926         (byte-recompile-directory):
2927         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
2928         Use `byte-recompile-file'.
2930 2010-10-31  Glenn Morris  <rgm@gnu.org>
2932         * cus-start.el: Handle standard values via a keyword.
2933         Only set version property if specified.
2934         (cursor-in-non-selected-windows, menu-bar-mode)
2935         (tool-bar-mode, show-trailing-whitespace):
2936         Do not specify standard values.
2937         (transient-mark-mode, temporary-file-directory): Use :standard.
2939 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
2941         * term/x-win.el (x-get-selection-value): New function that gets
2942         PRIMARY with type as specified in x-select-request-type. (Bug#6802).
2944 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
2946         * net/tramp.el (tramp-handle-insert-file-contents): For root,
2947         preserve owner and group when editing files.  (Bug#7289)
2949 2010-10-31  Glenn Morris  <rgm@gnu.org>
2951         * speedbar.el (speedbar-mode):
2952         * play/fortune.el (fortune-in-buffer, fortune):
2953         * play/gomoku.el (gomoku-mode):
2954         * play/landmark.el (lm-mode):
2955         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
2956         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
2958         * select.el (x-selection): Mark it as an obsolete alias.
2960 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
2962         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
2963         major-mode (bug#7284).
2965 2010-10-31  Glenn Morris  <rgm@gnu.org>
2967         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
2968         rather than just an unused variable that inherits from the real one.
2970 2010-10-31  Alan Mackenzie  <acm@muc.de>
2972         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
2973         This fixes bug #7185.
2975 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
2977         * startup.el (command-line): Search for package directories, and
2978         don't load package.el if none are found.
2980         * emacs-lisp/package.el (describe-package, list-packages):
2981         Call package-initialize if it has not been called yet.
2983 2010-10-30  Alan Mackenzie  <acm@muc.de>
2985         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
2986         which fontifies the tail of an enum.
2987         (c-basic-matchers-after): Insert a call to the above new function.
2988         This fixes bug #7264.
2990 2010-10-30  Glenn Morris  <rgm@gnu.org>
2992         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
2993         tool-bar-mode, transient-mark-mode.  (Bug#7306)
2994         Include the :set property in the dumped Emacs.
2996 2010-10-30  Martin Rudalics  <rudalics@gmx.at>
2998         * window.el (window-deletable-p, quit-restore-window): Adapt to
2999         new quit-restore semantics.
3000         (split-window-quit-restore): Remove.
3001         (split-window-vertically, split-window-horizontally):
3002         Unconditionally copy quit-restore parameter to new window.
3003         (display-buffer-names): Mention quit-restore window parameter.
3004         (display-buffer-window-and-buffer): Rename to
3005         display-buffer-window and rewrite doc-string.
3006         (display-buffer-in-window, display-buffer-in-lru-buffer-window)
3007         (display-buffer-in-lru-window, display-buffer-in-new-window)
3008         (display-buffer-in-new-frame, display-buffer): Move quit-restore
3009         parameter handling from display-buffer-in-window to the callers.
3010         Set display-buffer-window.
3012         * help.el (help-window-setup, with-help-window): Use
3013         display-buffer-window insted of display-buffer-window-and-buffer
3014         and adapt to new semantics of the former.
3016 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3018         SMIE: change indent rules format, improve smie-setup.
3019         * emacs-lisp/smie.el (smie-precs-precedence-table)
3020         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
3021         Mark them pure so the tables gets built at compile time.
3022         (smie-bnf-precedence-table): Store the closer-alist in the table.
3023         (smie-prec2-levels): Preserve the closer-alist.
3024         (smie-blink-matching-open): Be more forgiving in case of indentation.
3025         (smie-hanging-p): Rename from smie-indent--hanging-p.
3026         (smie-bolp): Rename from smie-indent--bolp.
3027         (smie--parent, smie--after): New dynamic vars.
3028         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
3029         (smie-indent-rules): Remove.
3030         (smie-indent--offset-rule): Remove fun.
3031         (smie-rules-function): New var.
3032         (smie-indent--rule): New fun.
3033         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
3034         (smie-indent-exps): Use it.
3035         (smie-setup): Setup paren blinking; add keyword args for token
3036         functions; extract closer-alist from op-levels.
3037         (smie-indent-debug-log): Remove var.
3038         (smie-indent-debug): Remove fun.
3039         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
3040         (prolog-smie-rules): New fun to replace it.
3041         (prolog-mode-variables): Simplify.
3042         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
3043         it's setup automatically.
3044         (octave-smie-indent-rules): Remove.
3045         (octave-smie-rules): New fun to replace it.
3046         (octave-mode): Simplify.
3048 2010-10-29  Glenn Morris  <rgm@gnu.org>
3050         * files.el (temporary-file-directory): Remove (already defined in C).
3051         * cus-start.el: Add temporary-file-directory.
3053         * abbrev.el (abbrev-mode):
3054         * composite.el (auto-composition-mode):
3055         * menu-bar.el (menu-bar-mode):
3056         * simple.el (transient-mark-mode):
3057         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
3058         that they do not define the associated variables twice.
3059         * simple.el (transient-mark-mode): Remove defvar.
3060         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
3061         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
3062         Handle multiple groups, and also custom-delayed-init-variables.
3063         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3065 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3067         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
3068         (pcase-if): Add one minor optimization.
3069         (pcase-split-equal): Rename from pcase-split-eq.
3070         (pcase-split-member): Rename from pcase-split-memq.
3071         (pcase-u1): Add strings to the member optimization.
3072         Add `guard' variant of predicates.
3073         (pcase-q1): Add string patterns.
3075 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3077         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
3079 2010-10-28  Glenn Morris  <rgm@gnu.org>
3081         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3082         Move menu-bar related settings to ../menu-bar.el.
3083         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3084         Move ns-specific settings here from term/ns-win.el.
3086         * simple.el (x-selection-owner-p): Remove unused declaration.
3088 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3090         * minibuffer.el (completion-cycling): New var (bug#7266).
3091         (minibuffer-complete, completion--do-completion):
3092         Use completion--flush-all-sorted-completions.
3093         (minibuffer-complete): Only cycle if completion-cycling is set.
3094         (completion--flush-all-sorted-completions): Unset completion-cycling.
3095         (minibuffer-force-complete): Set completion-cycling.
3096         (completion-all-sorted-completions): Move declaration before first use.
3098 2010-10-28  Leo  <sdl.web@gmail.com>
3100         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
3101         which changes the order of matches seen by users (bug#7231).
3103 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
3105         * progmodes/compile.el (compilation-mode-font-lock-keywords):
3106         Don't confuse -omega as "-o mega".
3108 2010-10-27  Martin Rudalics  <rudalics@gmx.at>
3110         * frame.el (pop-up-frame-alist, pop-up-frame-function)
3111         (special-display-frame-alist): Make obsolete.
3113         * window.el (display-buffer-window-and-buffer)
3114         (window--display-buffer-in-window, window--reuse-window)
3115         (window--pop-up-window, window--pop-up-frame)
3116         (split-window-sensibly, window-sensibly-splittable-p)
3117         (window--raise-window-frame, window--usable-frame): Remove.
3118         (display-buffer-mark-dedicated, display-buffer-function)
3119         (special-display-buffer-names)
3120         (special-display-regexps, special-display-p)
3121         (special-display-function, same-window-buffer-names)
3122         (same-window-regexps, same-window-p, pop-up-frames)
3123         (display-buffer-reuse-frames, pop-up-windows)
3124         (split-height-threshold, split-width-threshold)
3125         (even-window-heights): Make obsolete.
3126         (display-buffer-names, display-buffer-regexps): New options.
3127         (display-buffer-frame, display-buffer-normalize-specifiers-1)
3128         (display-buffer-normalize-specifiers)
3129         (display-buffer-adjust-heights, display-buffer-select-window)
3130         (display-buffer-in-window, display-buffer-in-lru-buffer-window)
3131         (display-buffer-in-lru-window, display-buffer-split-window-1)
3132         (display-buffer-split-window, display-buffer-in-new-window)
3133         (display-buffer-in-new-frame, normalize-buffer-to-display)
3134         (display-buffer-same-window, display-buffer-other-window)
3135         (pop-to-buffer-same-window, pop-to-buffer-other-window)
3136         (pop-to-buffer-other-frame, normalize-buffer-to-switch-to): New
3137         functions.
3138         (display-buffer-locations, display-buffer-default-specifiers)
3139         (display-buffer-other-window-specifiers)
3140         (display-buffer-other-frame-specifiers)
3141         (display-buffer-split-specifiers)
3142         (display-buffer-side-specifiers): New variables/constants.
3143         (display-buffer): Major rewrite.
3144         (pop-to-buffer): Rewrite.  Default buffer-or-name argument to
3145         the current buffer.
3146         (switch-to-buffer, switch-to-buffer-other-window)
3147         (switch-to-buffer-other-frame): Rewrite.
3149         * calendar/calendar.el (calendar-basic-setup): Do not call
3150         split-window-horizontally before popping to buffer.  Eventually
3151         the second argument of pop-to-buffer must be set accordingly.
3153         * dired.el (dired-pop-to-buffer): Adapt to new buffer display
3154         code.
3156         * info.el (Info-revert-find-node, info, info-other-window)
3157         (Info-find-node, Info-next, Info-prev, Info-up)
3158         (Info-goto-emacs-command-node, Info-speedbar-goto-node): Adapt
3159         to new buffer display code.
3161 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3163         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
3164         (log-edit-author): New dynamic var.
3165         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
3166         to return the author if different from committer.
3167         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
3169         * play/landmark.el: Adjust commenting convention.
3170         (lm-nil-score): Rename from nil-score.
3171         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
3172         (OOOOscore): Move into a let in lm-score-trans-table.
3173         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
3175         * electric.el (electric-indent-chars): Autoload.
3176         * progmodes/octave-mod.el (octave-mode):
3177         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
3178         (ruby-mode-abbrev-table): Merge initialization and declaration.
3180 2010-10-27  Glenn Morris  <rgm@gnu.org>
3182         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
3183         variable.
3185         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
3187         * term/ns-win.el: Restore require of cl when compiling.
3188         (menu-bar-final-items): Remove non-existent `windows' menu.
3189         (ns-handle-nxopen): Optionally handle the temp-case.
3190         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
3191         (ns-insert-file, ns-find-file): Use `pop'.
3193 2010-10-26  Glenn Morris  <rgm@gnu.org>
3195         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
3197 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
3199         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
3200         global map.
3201         * term/common-win.el (x-setup-function-keys): Remove most of the
3202         keymappings.  Comment on the remaining ones.
3204 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
3206         * server.el (server-port): New option.  (Bug#854)
3207         (server-start): Use server-port.
3209 2010-10-26  Glenn Morris  <rgm@gnu.org>
3211         * term/ns-win.el (ns-version-string): Remove unused declaration.
3212         (ns-invocation-args): Change to x-invocation-args.
3213         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
3214         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
3215         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
3216         Use x-invocation-args instead of ns-invocation-args.
3217         (ns-initialize-window-system, handle-args-function-alist):
3218         Use x-handle-args instead of ns-handle-args.
3219         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
3220         * startup.el (command-line-ns-option-alist): Replace
3221         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
3222         ns-handle-iconic with the x- equivalents.
3224         * term/common-win.el (x-select-enable-clipboard):
3225         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
3227         * term/ns-win.el: No need to require cl when compiling.
3228         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
3229         (xw-defined-colors): Use the common-win definitions.
3230         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
3231         (ns-handle-iconic): Make it an alias for x-handle-iconic.
3232         * term/common-win.el (x-select-text, x-alternatives-map)
3233         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
3234         * loadup.el [ns]: Load common-win.
3236 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
3238         * epa-mail.el (epa-mail-encrypt): Handle local-part only
3239         recipients; expand mail aliases (Bug#7280).
3241 2010-10-25  Martin Rudalics  <rudalics@gmx.at>
3243         * window.el (window-iso-combination-p, window-iso-combinations):
3244         New functions.
3245         (walk-windows, get-window-with-predicate)
3246         (get-buffer-window-list, one-window-p): Fix doc-string.
3247         (window-in-direction): The column / row value of `posn-at-point'
3248         can be nil for the mini-window, guard against that.
3249         (resize-mini-window): Make this usable.  It's needed, for
3250         example, by ispell.el.
3251         (resize-window): Handle case where window argument denotes a
3252         minibuffer window.
3253         (window-children-count): Remove.
3254         (split-window): Fix some broken size calculations.
3256 2010-10-25  Glenn Morris  <rgm@gnu.org>
3258         * term/common-win.el (x-handle-switch): Simplify with pop.
3259         Optionally handle numeric switches.
3260         (x-handle-numeric-switch): Just call x-handle-switch.
3261         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
3262         (x-handle-name-switch, x-handle-display, x-handle-args):
3263         Simplify with pop.
3265         * term/ns-win.el: Do not require easymenu.
3266         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
3267         <spell>: Move adjustments to menu-bar.el.
3268         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
3269         <separator-undo, spell>: Move ns-win's adjustments here.
3270         * loadup.el [ns]: Do not load easymenu.
3272 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3274         * image.el (image-checkbox-checked, image-checkbox-unchecked):
3275         Delete (Bug#7222).
3277         * startup.el (fancy-startup-tail): Instead of using inline images,
3278         refer to image files from etc/.
3280         * wid-edit.el (checkbox): Likewise.
3281         (widget-image-find): Center image specs.
3283 2010-10-24  Glenn Morris  <rgm@gnu.org>
3285         * term/ns-win.el (x-select-text): Doc fix.
3286         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
3287         (x-select-text): Move to term/common-win.
3288         * term/w32-win.el (xw-defined-colors): Move to common-win.
3289         * term/x-win.el (xw-defined-colors, x-alternatives-map)
3290         (x-setup-function-keys, x-select-text): Move to common-win.
3291         * term/common-win.el (x-select-text, x-alternatives-map)
3292         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
3293         definitions here.
3295 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
3297         * net/mairix.el (mairix-searches-mode-map):
3298         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
3300 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
3302         * verilog-mode.el (verilog-directive-re): Make this variable
3303         auto-built for efficiency of execution and updating.
3304         (verilog-extended-complete-re): Support 'pure' fucntion & task
3305         declarations (these have no bodies).
3306         (verilog-beg-of-statement): General cleanup to enable support of
3307         'pure' fucntion & task declarations (these have no bodies).
3308         These efforts together fix Verilog bug210 from veripool; which was also
3309         noticed by Steve Pearlmutter.
3310         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
3311         (verilog-directive-nest-re, verilog-set-auto-endcomments):
3312         Support `elsif.  Reported by Shankar Giri.
3313         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
3314         attribute handling for lining up declarations and assignments.
3315         (verilog-beg-of-statement-1): Fix issue where continued declaration
3316         is indented differently if it is after a begin..end clock.
3317         (verilog-in-attribute-p, verilog-skip-backward-comments)
3318         (verilog-skip-forward-comment-p): Support proper treatment of
3319         attributes by indent code. Reported by Jeff Steele.
3320         (verilog-in-directive-p): Fix comment to correctly describe function.
3321         (verilog-backward-up-list, verilog-in-struct-region-p)
3322         (verilog-backward-token, verilog-in-struct-p)
3323         (verilog-in-coverage-p, verilog-do-indent)
3324         (verilog-pretty-declarations): Use verilog-backward-up-list as
3325         wrapper around backward-up-list inorder to properly skip comments.
3326         Reported by David Rogoff.
3327         (verilog-property-re, verilog-endcomment-reason-re)
3328         (verilog-beg-of-statement, verilog-set-auto-endcomments)
3329         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
3330         of if). Reported by Max Bjurling and
3331         (verilog-calc-1): Fix for clocking block in modport
3332         declaration. Reported by Brian Hunter.
3334 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
3336         * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
3337         (verilog-gate-keywords, verilog-read-sub-decls)
3338         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
3339         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
3340         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
3341         (verilog-read-decls): Fix spaces in V2K module parameters causing
3342         mis-identification as interfaces, bug287.
3343         (verilog-read-decls): Fix not treating "parameter string" as a
3344         parameter in AUTOINSTPARAM.
3345         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
3346         treating `elsif similar to `endif inside AUTOSENSE.
3347         (verilog-do-indent): Implement correct automatic or static task or
3348         function end comment highlight. Reported by Steve Pearlmutter.
3349         (verilog-font-lock-keywords-2): Fix highlighting of single
3350         character pins, bug264.  Reported by Michael Laajanen.
3351         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
3352         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
3353         (verilog-subdecls-get-interfaced, verilog-subdecls-new):
3354         Support interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
3355         (verilog-pretty-expr): Fix interactive arguments, bug272.
3356         Reported by Mark Johnson.
3357         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
3358         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
3359         bug269. Suggested by Gary Delp.
3360         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
3361         (verilog-preprocessor, verilog-set-compile-command):
3362         Create verilog-preprocess and verilog-preprocessor to show
3363         preprocessed output.
3364         (verilog-get-beg-of-line, verilog-get-end-of-line)
3365         (verilog-modi-file-or-buffer, verilog-modi-name)
3366         (verilog-modi-point, verilog-within-string): Move defmacro's
3367         before first use to avoid warning. Reported by Steve Pearlmutter.
3368         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
3369         (verilog-colorize-region, verilog-highlight-buffer)
3370         (verilog-highlight-includes, verilog-highlight-modules)
3371         (verilog-highlight-region, verilog-mode): Rename colorize to
3372         highlight to match other packages.  Disable module highlighting,
3373         as received speed complaints, reenable for experimentation only
3374         using new verilog-highlight-modules.
3375         (verilog-read-decls): Fix regexp stack overflow in very large
3376         AUTO_TEMPLATEs, bug250.
3377         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
3378         (verilog-scan): Create verilog-save-buffer-state to standardize
3379         making insignificant changes that shouldn't call hooks.
3380         (verilog-save-no-change-functions, verilog-save-scan-cache)
3381         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
3382         Create verilog-save-no-change-functions to wrap verilog-scan
3383         preservation, and fix to work with nested preserved calls.
3384         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
3385         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
3386         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
3387         (verilog-submit-bug-report): Update variable list to be complete.
3388         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
3389         breaking on-the-fly font-locking.
3390         (verilog-colorize-buffer, verilog-colorize-include-files)
3391         (verilog-colorize-include-files-buffer, verilog-colorize-region)
3392         (verilog-load-file-at-mouse, verilog-load-file-at-point)
3393         (verilog-mode, verilog-read-inst-module-matcher): With point on a
3394         AUTOINST cell instance name, middle mouse button now finds-file on
3395         it.  Suggested by Brad Dobbie.
3396         (verilog-alw-get-temps, verilog-auto-reset)
3397         (verilog-auto-sense-sigs, verilog-read-always-signals)
3398         (verilog-read-always-signals-recurse): Fix loop indexes being
3399         AUTORESET. AUTORESET now assumes any variables in the
3400         initialization section of a for() should be ignored.
3401         Reported by Dan Dever.
3402         (verilog-error-font-lock-keywords)
3403         (verilog-error-regexp-emacs-alist)
3404         (verilog-error-regexp-xemacs-alist): Fix error detection of
3405         Cadence HAL, reported by David Asher.  Repair drift between the
3406         three similar error variables.
3407         (verilog-modi-lookup, verilog-modi-lookup-cache)
3408         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
3409         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
3410         Fix slow verilog-auto expansion on very large files.
3411         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
3412         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
3413         "{1*2{...".  Broke in last revision.
3414         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
3415         submodule connections with replications "{#{a},#{b}}".
3417 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
3419         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
3420         Fix typo in docstring.
3422 2010-10-24  Kenichi Handa  <handa@m17n.org>
3424         * face-remap.el (text-scale-adjust): Call read-event with a proper
3425         prompt.
3427 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3429         * emacs-lisp/unsafep.el: Don't mark functions that display
3430         messages as safe.  Suggested by Johan Bockgård.
3432 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3434         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
3435         Turn comments into docstrings.
3437         * minibuffer.el (completion--replace): Move point where it belongs
3438         when there's a common suffix (bug#7215).
3440 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3442         Merge read-color and facemenu-read-color (Bug#7242).
3444         * faces.el (read-color): Use the completion code from
3445         facemenu-read-color.  Require match in completion.  Doc fix.
3447         * facemenu.el (facemenu-read-color): Alias for read-color.
3448         (facemenu-set-foreground, facemenu-set-background):
3449         Use read-color.
3451         * frame.el (set-background-color, set-foreground-color)
3452         (set-cursor-color, set-mouse-color, set-border-color):
3453         Use read-color.
3455 2010-10-24  Leo  <sdl.web@gmail.com>
3457         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
3458         argument of delete-file and delete-directory (Bug#7011).
3460 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3462         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
3463         button-buffer-map.
3465 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
3467         * emacs-lisp/package.el (package--generate-package-list): Make the
3468         *Packages* buffer read-only.
3470 2010-10-24  Alan Mackenzie  <acm@muc.de>
3472         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
3473         result of `c-beginning-of-decl-1' between invocations of a lambda
3474         function (Bug #7265).
3476 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
3478         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
3479         executable is not available on the system (Bug#7268).
3481 2010-10-24  Glenn Morris  <rgm@gnu.org>
3483         * select.el (selection-coding-system, next-selection-coding-system):
3484         Sync doc with C versions.
3486         * w32-vars.el (x-select-enable-clipboard):
3487         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
3488         * term/common-win.el (x-select-enable-clipboard): Move here.
3490         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
3491         definition of C variable.
3493         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
3494         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3495         Don't redefine things that are defined in C.
3496         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
3497         (show-trailing-whitespace, auto-hscroll-mode)
3498         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3499         Set up the appropriate custom properties.
3501 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3503         Bind "C-c ]" to ...
3504         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
3505         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
3506         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
3507         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
3509 2010-10-23  Glenn Morris  <rgm@gnu.org>
3511         * textmodes/flyspell.el (flyspell-mode): If there was an error,
3512         say what it was.
3514         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
3515         Sync docs with C version.
3517         * term/ns-win.el (xw-defined-colors):
3518         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
3520         * term/pc-win.el (x-select-enable-clipboard):
3521         * term/x-win.el (x-select-enable-clipboard):
3522         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
3524         * comint.el (comint-password-prompt-regexp): Make it less vague.
3525         Bump version.
3527         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
3529         * help.el (finder-by-keyword): Remove unnecessary autoload.
3531 2010-10-22  Glenn Morris  <rgm@gnu.org>
3533         * loadup.el: Unconditionally load float-sup.
3534         * paren.el (show-paren-delay):
3535         * emacs-lisp/float-sup.el:
3536         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
3537         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
3538         (lazy-lock-stealth-verbose): Assume float support.
3539         * ps-print.el: Assume float support on Emacs.
3540         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
3541         Remove non-float branch.
3543         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
3544         src/Makefile no longer being pre-processed.
3546 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3548         * emacs-lisp/find-func.el (find-library): Use test-completion.
3550 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3552         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
3554 2010-10-21  Michael Albinus  <michael.albinus@gmx.de>
3556         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
3557         space in stat format string.
3558         (tramp-send-command): Unset $PS1 when using here documents, in
3559         order not to get several prompts.
3560         (tramp-get-inline-coding): Return `nil' in case of errors.
3562 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
3564         * hexl.el (hexl-mode, hexl-mode-exit):
3565         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
3566         (hexl-revert-buffer-function): New function.
3567         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
3569 2010-10-19  Alan Mackenzie  <acm@muc.de>
3571         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
3572         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
3573         that these keywords aren't wrongly matched as identifiers.
3575         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
3576         setting of c-new-BEG and c-new-END from c-before-change to
3577         c-after-change.  (Bug#7181)
3579 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
3581         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
3582         Don't mark as safe.
3584         * custom.el (custom-theme-set-variables): Likewise.
3585         (load-theme): Add custom-theme-set-faces and
3586         custom-theme-set-variables to safe-functions while loading.
3587         (custom-enabled-themes): Mark as risky.
3589 2010-10-18  Julien Danjou  <julien@danjou.info>
3591         * bindings.el: Remove end dashes in default mode-line-format.
3593 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
3595         * bindings.el (global-map): Bind C-d to delete-char and deletechar
3596         to delete-forward-char.
3598         * simple.el (normal-erase-is-backspace-mode): Remap delete to
3599         deletechar, and hence delete-forward-char.
3601 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3603         * repeat.el (repeat): Use read-key (bug#6256).
3605 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
3607         * emacs-lisp/unsafep.el: Don't mark functions that display
3608         messages as safe.  Suggested by Johan Bockgård.
3610 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3612         * minibuffer.el (completion--replace): Move point where it belongs
3613         when there's a common suffix (bug#7215).
3615 2010-10-19  Kenichi Handa  <handa@m17n.org>
3617         * international/characters.el: Add category '|' (word breakable)
3618         to fullwidth characters.
3620 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
3622         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
3623         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
3624         order to make stat results a float.  Patch by Andreas Schwab
3625         <schwab@linux-m68k.org>.
3627 2010-10-18  Julien Danjou  <julien@danjou.info>
3629         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
3630         hidden by `make-pointer-invisible'.
3632 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3634         * files.el (locate-file-completion-table): Strip non-matching elements
3635         before checking length of list (bug#7238).
3637 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
3639         * custom.el (custom-theme-set-variables): Mark as a safe function.
3640         (load-theme): Check forms using unsafep.
3642         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
3644 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
3646         * textmodes/ispell.el (ispell-aspell-find-dictionary):
3647         Fix aspell data file searching (bug#7230).
3649 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
3651         * cus-theme.el (custom-theme--migrate-settings): New var.
3652         (customize-create-theme): Allow editing the `user' theme.
3653         (custom-theme-add-variable, custom-theme-add-var-1)
3654         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
3655         to the front of each variable or face widget.
3656         (custom-theme-write): Save theme settings in the correct order.
3657         Optionally, remove saved settings from user customizations.
3658         (custom-theme-write-variables, custom-theme-write-faces):
3659         Save only the checked widgets.
3660         (customize-themes): Add a link for migrating custom settings.
3662         * custom.el (custom-declare-theme, provide-theme):
3663         Use custom-theme-name-valid-p.
3664         (custom-theme-name-valid-p): Remove checks that are now
3665         unnecessary since themes no longer obey load-path.
3667         * cus-edit.el (custom-variable-value-create): For the simple
3668         style, hide documentation string when hidden.
3670 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
3672         * cus-edit.el (custom-variable, custom-face): Combine the
3673         :inhibit-magic and :display-style properties into a single
3674         :custom-style property.
3675         (custom-toggle-hide-variable, custom-toggle-hide-face):
3676         New functions.  If hiding an edited value, save it to :shown-value.
3677         (custom-variable-value-create, custom-face-value-create): Use them.
3678         (custom-magic-reset): Allow magic property to be unset.
3680         * custom.el: Custom themes no longer use load-path.
3681         (custom-theme-load-path): New option.  Change built-in theme
3682         directory to etc/.
3683         (custom-enabled-themes): Add custom-theme-load-path dependency.
3684         (custom-theme--load-path): New function.
3685         (load-theme, custom-available-themes): Use it.
3687         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
3688         (customize-themes): Link to custom-theme-load-path variable.
3689         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
3690         :custom-style property.
3692         * themes/*.el: Moved to etc/.
3694 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
3696         * textmodes/reftex-cite.el
3697         (reftex-extract-bib-entries-from-thebibliography): Do not move
3698         point when searching for \bibitem entries.  Match entries with
3699         spaces or tabs in front of arguments.
3701 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
3703         * cus-theme.el (customize-create-theme): Delete overlays after
3704         erasing.  If given a THEME arg, display only the faces of that arg
3705         instead of custom-theme--listed-faces.
3706         (custom-theme-variable-menu, custom-theme-variable-action)
3707         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
3708         (custom-theme-add-variable, custom-theme-add-face): Apply value
3709         from the theme settings, instead of the current value.
3710         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
3711         (custom-theme-visit-theme): Allow calling outside theme buffers.
3712         (custom-theme-merge-theme): Don't enable the theme when merging.
3713         (custom-theme-write-variables, custom-theme-write-faces): Use the
3714         :shown-value properties to save buffer values, not global ones.
3715         (customize-themes): Display a warning about user customizations.
3717         * cus-edit.el (custom-variable-value-create)
3718         (custom-face-value-create): Obey new special properties
3719         :shown-value and :inhibit-magic.
3721 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
3723         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3724         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
3725         <dale@codefu.org>.
3727 2010-10-14  Kenichi Handa  <handa@m17n.org>
3729         * mail/rmail.el (rmail-show-message-1): Catch an error of
3730         base64-decode-region and just show an error message (bug#7165).
3732         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
3733         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
3734         a font-spec (bug#7197).
3736 2010-10-14  Glenn Morris  <rgm@gnu.org>
3738         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
3740 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
3742         * international/mule.el (define-coding-system):
3743         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3744         * composite.el (compose-region): Fix typo in docstring.
3746 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
3748         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
3749         only after checking the theme-face property.
3751         * faces.el (face-spec-reset-face): Reset all attributes in one
3752         single call to set-face-attribute.
3753         (face-spec-match-p): Make it a defsubst.
3754         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
3755         (x-create-frame-with-faces, tty-create-frame-with-faces)
3756         (tty-set-up-initial-frame-faces): Don't recompute face specs in
3757         frame-set-background-mode, since they are recomputed immediately
3758         afterwards in face-set-after-frame-default.
3759         (face-set-after-frame-default): Minor optimization.
3760         (cursor): Provide non-trivial defface spec.
3762         * custom.el (custom-theme-recalc-face): Simplify.
3764 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
3766         * calc/calc-alg.el (math-var): Rename from `var'.
3767         (math-is-polynomial, math-is-poly-rec): Replace `var'
3768         with `math-var'.
3770         * calc/calcalg2.el (math-var): Rename from `var'.
3771         (calcFunc-table, math-scan-for-limits): Replace `var'
3772         with `math-var'.
3774 2010-10-13  Glenn Morris  <rgm@gnu.org>
3776         * subr.el (last): Deal with dotted lists (reported in bug#7174).
3778 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
3780         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
3782 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3784         * net/tls.el (tls-program): Remove spurious %s from openssl.
3785         (tls-starttls-switches): Remove starttls hack.
3786         (open-tls-stream): Ditto.
3787         (tls-find-starttls-argument): Ditto.
3789 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
3791         * image.el (image-library-alist): Declare as obsolete alias.
3792         (image-type-available-p): Use `dynamic-library-alist'.
3794         * term/w32-win.el (dynamic-library-alist):
3795         Use instead of `image-library-alist'.
3797 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
3799         * subr.el (last): Make it faster.  (Bug#7174)
3801 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
3803         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
3805 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
3807         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
3808         (describe-theme-1): Extract doc from unloaded themes.
3810         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
3812         * themes/tango-theme.el:
3813         * themes/tango-dark-theme.el:
3814         * themes/wheatgrass-theme.el: New files.
3816 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
3818         * cus-theme.el (describe-theme, customize-themes)
3819         (custom-theme-save): New commands.
3820         (custom-new-theme-mode-map): Bind C-x C-s.
3821         (custom-new-theme-mode): Use custom--initialize-widget-variables.
3822         (customize-create-theme): New optional arg THEME.
3823         (custom-theme-revert): Use it.
3824         (custom-theme-visit-theme): Remove dead code.
3825         (custom-theme-merge-theme): Use custom-available-themes.
3826         (custom-theme-write): Make interactive.
3827         (custom-theme-write): Use custom-theme-name-valid-p.
3828         (describe-theme-1, custom-theme-choose-revert)
3829         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
3830         New funs.
3831         (custom-theme-allow-multiple-selections): New option.
3832         (custom-theme-choose-mode): New major mode.
3834         * custom.el (custom-theme-set-variables): Remove dead code.
3835         Obey custom--inhibit-theme-enable.
3836         (custom--inhibit-theme-enable): New var.
3837         (provide-theme): Obey it.
3838         (load-theme): Replace load with manual read/eval, in order to
3839         check for correctness.  Use custom-theme-name-valid-p.
3840         (custom-theme-name-valid-p): New function.
3841         (custom-available-themes): Use it.
3843         * cus-edit.el (custom--initialize-widget-variables): New function.
3844         (Custom-mode): Use it.
3846         * cus-face.el (custom-theme-set-faces): Remove dead code.
3847         Obey custom--inhibit-theme-enable.
3849         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
3851 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
3853         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
3855 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
3857         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
3858         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
3859         (mac-right-option-modifier): New alias for ns-right-option-modifier.
3861         * cus-start.el (all): ns-right-alternate-modifier is new.
3863 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3865         * emacs-lisp/lisp.el (lisp-completion-at-point):
3866         Use emacs-lisp-mode-syntax-table for the whole function.
3868 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
3870         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
3871         instead of font-lock-mode before adding keywords.
3872         Remove hi-lock-mode off code.  Remove inhibit hack.
3873         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
3874         non-nil; removed hook inhibit hack.
3876 2010-10-12  Glenn Morris  <rgm@gnu.org>
3878         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
3879         (load-path-shadows-find): ... to this.
3880         (list-load-path-shadows): Update for above change.
3882         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
3884 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
3886         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
3887         Fix comment for declare-function.
3889 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
3891         * custom.el (custom-fix-face-spec): New function; code moved from
3892         custom-face-edit-fix-value.
3893         (custom-push-theme): Use it when checking if a face has been
3894         changed outside customize.
3895         (custom-available-themes): New function.
3896         (load-theme): Use it.
3898         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
3900         * custom.el (custom-push-theme): Cleanup (use cond).
3901         (disable-theme): Recompute the saved-face property.
3902         (custom-theme-recalc-face): Follow face alias before setting prop.
3904         * image.el (image-checkbox-checked, image-checkbox-unchecked):
3905         New variables, containing checkbox images.
3907         * startup.el (fancy-startup-tail):
3908         * wid-edit.el (checkbox): Use them.
3910 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
3912         * shell.el (shell-mode-map):
3913         * progmodes/modula2.el (m2-mode-map):
3914         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
3915         * play/mpuz.el (mpuz-mode-map):
3916         * play/landmark.el (lm-mode-map):
3917         * play/decipher.el (decipher-mode-map):
3918         * play/5x5.el (5x5-mode-map):
3919         * net/telnet.el (telnet-mode-map):
3920         * net/quickurl.el (quickurl-list-mode-map):
3921         * net/mairix.el (mairix-searches-mode-map):
3922         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
3923         * net/dig.el (dig-mode-map):
3924         * mail/mspools.el (mspools-mode-map):
3925         * hexl.el (hexl-mode-map):
3926         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
3927         (wordstar-C-o-map, wordstar-C-q-map):
3928         * emacs-lisp/edebug.el (edebug-eval-mode-map):
3929         * emacs-lisp/chart.el (chart-map):
3930         * edmacro.el (edmacro-mode-map):
3931         * erc/erc-list.el (erc-list-menu-mode-map):
3932         * array.el (array-mode-map): Declare and define in one step.
3934         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
3936 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
3938         * epa.el (epa-passphrase-callback-function): Display filename
3939         passed as the 3rd arg.
3940         * epa-file.el (epa-file-passphrase-callback-function):
3941         Pass filename to epa-passphrase-callback-function.
3943 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
3945         * cus-edit.el (custom-face-widget-to-spec)
3946         (custom-face-get-current-spec, custom-face-state): New functions.
3947         (custom-face-set, custom-face-mark-to-save)
3948         (custom-face-value-create, custom-face-state-set): Use them.
3950         * cus-theme.el (custom-theme--listed-faces): New var.
3951         (customize-create-theme): Use *Custom Theme* as the buffer name.
3952         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
3953         faces listed in custom-theme--listed-faces.
3954         (custom-theme-revert): New function.
3955         (custom-theme-add-variable, custom-theme-add-face): Insert at the
3956         bottom of the list.
3957         (custom-theme-write): Prompt for theme name if empty.
3958         (custom-theme-write-variables): Use dolist.
3959         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
3961 2010-10-09  Alan Mackenzie  <acm@muc.de>
3963         Enhance fontification of declarators to take account of the
3964         presence/absence of "typedef".
3966         * cc-engine.el (c-forward-type): New &optional param
3967         "brace-block-too".
3968         (c-forward-decl-or-cast-1): cdr of return value now indicates the
3969         presence of either or both of a "struct"-like keyword and "typedef".
3971         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
3972         fontification of declarators which follow a "}".
3973         (c-font-lock-declarations): Fontify declarators according to the
3974         presence/absence of "typedef".
3976         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
3977         for "typedef".
3978         (c-typedef-decl-key): New lang variable built from
3979         c-typedef-decl-kwds.
3981 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3983         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
3984         since that's too annoying.  Move the filter groups commands to
3985         TAB/backtab.
3987         * epa.el (epa-passphrase-callback-function): Say what we're
3988         querying the password for.
3990         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
3991         behaviour, don't bury the ibuffer buffer when visiting other buffers.
3993 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
3995         * cus-edit.el (custom-commands, custom-buffer-create-internal)
3996         (custom-magic-value-create): Pad button tags with spaces.
3997         (custom-face-edit): New variable.
3998         (custom-face-value-create): Determine whether to use the usual
3999         face editor here, instead of using custom-face-selected.
4000         Pass face defaults to custom-face-edit widget.
4001         (custom-face-selected, custom-display-unselected): Delete widgets.
4002         (custom-display-unselected-match): Function removed.
4003         (custom-face-set, custom-face-mark-to-save):
4004         Accept custom-face-edit widgets as the direct widget child.
4006         * wid-edit.el (widget--completing-widget): New var.
4007         (widget-default-complete): Bind it when doing completion.
4008         (widget-string-complete, widget-file-complete): Use it.
4010 2010-10-09  Glenn Morris  <rgm@gnu.org>
4012         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
4013         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
4014         (holiday-hebrew-misc): Small simplifications.
4016         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
4018         * net/browse-url.el: Don't require thingatpt, term, dired,
4019         executable, or w3-auto when compiling.
4020         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
4021         Declare.
4022         (browse-url-text-emacs): Require term.
4024 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
4026         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
4028 2010-10-08  Glenn Morris  <rgm@gnu.org>
4030         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
4032         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
4033         (shadows-compare-text-p): Make it an obsolete alias for...
4034         (load-path-shadows-compare-text): ... new name.
4035         (find-emacs-lisp-shadows): Update for above name change.
4036         (load-path-shadows-same-file-or-nonexistent): New name for the old
4037         shadow-same-file-or-nonexistent.
4039 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
4041         * minibuffer.el (completion--some, completion--do-completion)
4042         (minibuffer-complete-and-exit, minibuffer-completion-help)
4043         (completion-basic-try-completion)
4044         (completion-basic-all-completions)
4045         (completion-pcm--find-all-completions): Use lexical-let to
4046         avoid some false matches in variable completion (Bug#7056)
4048 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
4050         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
4052 2010-10-08  Leo  <sdl.web@gmail.com>
4054         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
4055         return non-nil if the file exists (Bug#7090).
4057 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4059         * minibuffer.el (completion--replace):
4060         Better preserve markers (bug#7138).
4062 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
4064         * server.el (server-process-filter): Doc fix.
4066 2010-10-08  Drew Adams  <drew.adams@oracle.com>
4068         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
4070 2010-10-08  Glenn Morris  <rgm@gnu.org>
4072         * vc/ediff-wind.el (ediff-setup-control-frame):
4073         * vc/ediff-ptch.el (ediff-default-backup-extension):
4074         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
4075         (ediff-exec-process): Remove system-types emx, windows-95.
4077         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
4079 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
4081         * cus-edit.el (custom-variable, custom-face): Doc fix.
4082         (custom-face-edit): Add value-create attribute.
4083         (custom-face-edit-value-create)
4084         (custom-face-edit-value-visibility-action): New functions.
4085         Hide unused face attributes by default, and add a visibility toggle.
4086         (custom-face-edit-deactivate): Show empty values with shadow face.
4087         (custom-face-selected): Only use this for face specs with default
4088         attributes.
4089         (custom-face-value-create): Cleanup.
4091         * wid-edit.el (widget-checklist-value-create): Use dolist.
4092         (widget-checklist-match-find): Make second arg optional.
4094 2010-10-07  Glenn Morris  <rgm@gnu.org>
4096         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
4097         Prefix things.
4099         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
4100         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
4101         load-path-shadows-mode, update references.
4102         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
4103         Rename variable and button.
4104         (list-load-path-shadows): Update button caller.
4106 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4108         * emacs-lisp/smie.el (smie-bnf-classify): New function.
4109         (smie-bnf-precedence-table): Use it to remember the closers/openers.
4110         (smie-merge-prec2s): Handle those new entries.
4111         (smie-prec2-levels): Only set precedence to nil for actual
4112         openers/closers.
4113         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
4114         that is now unnecessary.
4116 2010-10-07  Miles Bader  <miles@gnu.org>
4118         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
4120 2010-10-07  Glenn Morris  <rgm@gnu.org>
4122         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
4123         (mail-position-on-field): Remove declarations.
4124         (mail-position-on-field): Autoload it.
4125         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
4126         and mail-header-end.  Don't require sendmail.
4128         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
4129         (shadow-mode): New mode.
4130         (shadow-find-file): New button.
4131         (list-load-path-shadows): Use shadow-mode and buttons.
4133         * iimage.el (iimage-version): Remove.
4134         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
4135         Turn into defcustoms.
4136         (iimage-mode-map): Give it a doc string.
4138         * calendar/appt.el (appt-activate): Give a warning rather than an error
4139         if there is no diary-file.
4141 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
4143         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4144         Use `tramp-handle-find-backup-file-name'.
4146 2010-10-06  Glenn Morris  <rgm@gnu.org>
4148         * font-core.el (font-lock-defaults-alist): Remove variable.
4149         (font-lock-mode): Doc fix.
4150         (font-lock-default-function): Do not consult font-lock-defaults-alist.
4151         * font-lock.el (font-lock-refresh-defaults): Doc fix.
4152         (font-lock-set-defaults): Doc fix.
4153         Do not consult font-lock-defaults-alist.
4155         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
4157         * emacs-lisp/cl.el: No longer provide cl-19.
4159 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
4161         * net/tramp.el (tramp-handle-directory-files-and-attributes)
4162         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
4163         New defuns, taken from tramp-smb.el.
4164         (tramp-coding-system-change-eol-conversion)
4165         (tramp-set-process-query-on-exit-flag): Remove.
4167         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
4168         (tramp-compat-coding-system-change-eol-conversion)
4169         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
4170         from tramp.el.
4172         * net/tramp-gvfs.el:
4173         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
4174         by `tramp-compat-set-process-query-on-exit-flag'.
4176         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
4177         Use `tramp-handle-directory-files-and-attributes',
4178         `tramp-handle-file-exists-p' and
4179         `tramp-handle-file-newer-than-file-p'.
4180         (tramp-imap-handle-file-exists-p)
4181         (tramp-imap-handle-file-executable-p)
4182         (tramp-imap-handle-file-readable-p)
4183         (tramp-imap-handle-directory-files-and-attributes)
4184         (tramp-imap-handle-file-newer-than-file-p): Remove.
4186         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
4187         by `tramp-compat-set-process-query-on-exit-flag' and
4188         `tramp-coding-system-change-eol-conversion' by
4189         `tramp-compat-coding-system-change-eol-conversion'.
4191         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4192         Use `tramp-handle-directory-files-and-attributes',
4193         `tramp-handle-file-exists-p' and
4194         `tramp-handle-file-newer-than-file-p'.
4195         (tramp-smb-handle-directory-files-and-attributes)
4196         (tramp-smb-handle-file-exists-p)
4197         (tramp-smb-handle-file-newer-than-file-p): Remove.
4198         (tramp-smb-maybe-open-connection):
4199         Replace `tramp-set-process-query-on-exit-flag' by
4200         `tramp-compat-set-process-query-on-exit-flag'.
4202 2010-10-05  Glenn Morris  <rgm@gnu.org>
4204         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
4206 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
4208         Continue reorganization of load dependencies.  (Bug#7156)
4210         * net/tramp.el (tramp-handle-file-local-copy-hook)
4211         (tramp-delete-temp-file-function): Move down.
4212         (tramp-exists-file-name-handler): Move up.
4213         (tramp-register-file-name-handlers): Simplify autoload.
4214         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
4215         (tramp-handle-directory-files, tramp-handle-dired-uncache)
4216         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
4217         (tramp-handle-file-name-completion)
4218         (tramp-handle-file-name-directory)
4219         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
4220         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
4221         (tramp-handle-find-backup-file-name)
4222         (tramp-handle-insert-file-contents, tramp-handle-load)
4223         (tramp-handle-substitute-in-file-name)
4224         (tramp-handle-unhandled-file-name-directory)
4225         (tramp-mode-string-to-int, tramp-local-host-p)
4226         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
4228         * net/tramp-gvfs.el (top):
4229         * net/tramp-smb.el (top): Do not require 'tramp-sh.
4231         * net/tramp-sh.el (all): Move several objects to tramp.el, see
4232         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
4234 2010-10-04  Glenn Morris  <rgm@gnu.org>
4236         * calendar/appt.el (appt-add): Ensure reminders are enabled.
4237         (appt-activate): Give status messages.
4239 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
4241         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
4242         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
4243         `gnutls-negotiate' (formerly `starttls-negotiate').
4244         Remove trivial wrapper `starttls-open-stream'.
4246 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
4248         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
4249         log-outgoing commands.
4250         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
4251         to create a buffer local revert-buffer-function variable.
4252         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
4253         revert-buffer-function lambda.
4255 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
4257         * net/gnutls.el (starttls-negotiate): Use the plist interface to
4258         `gnutls-boot'.  Make TYPE the only required parameter.
4259         Allow TRUSTFILES and KEYFILES to be lists.
4260         (open-ssl-stream): Use it.
4262 2010-10-03  Glenn Morris  <rgm@gnu.org>
4264         * subr.el (directory-sep-char): Remove obsolete variable.
4265         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
4266         it is "necessary".
4268         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
4269         * vc/vc.el (vc-static-header-alist): Doc fix.
4270         * vc/vc-cvs.el (vc-cvs-header):
4271         * vc/vc-rcs.el (vc-rcs-header):
4272         * vc/vc-sccs.el (vc-sccs-header):
4273         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
4274         * obsolete/vc-mcvs.el (vc-mcvs-header):
4275         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
4276         on XEmacs.
4278 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
4280         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
4281         Remove obsolete use of binary-overwrite-mode (Bug#7001).
4283 2010-10-03  Glenn Morris  <rgm@gnu.org>
4285         * obsolete/x-menu.el: Remove file, obsolete since 21.1
4287         * textmodes/rst.el (rst-font-lock-keywords-function):
4288         Drop Emacs 20 code.
4290         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
4292         * printing.el: Drop Emacs 20 code.
4294         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
4295         without having used appt.el already).
4297         * subr.el (make-local-hook): Remove function obsolete since 21.1.
4298         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
4299         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
4300         XEmacs.
4301         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
4302         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
4304         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
4305         (charset-width, find-charset-region, chars-in-region, forward-point)
4306         (encode-coding-string, coding-system-p, ccl-execute-on-string)
4307         (define-ccl-program, multibyte-string-p, string-make-multibyte):
4308         Remove compatibility cruft (none of these are used by ps*.el).
4310 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
4312         * subr.el (booleanp): Return t instead of a list (Bug#7086).
4314 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
4316         * server.el (server-process-filter, server-return-error):
4317         Give emacsclient time to shut down after receiving an error string.
4319 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
4321         * files.el (remote-file-name-inhibit-cache): New defcustom.
4323         * time.el (display-time-file-nonempty-p):
4324         Use `remote-file-name-inhibit-cache'.
4326         * net/tramp.el (tramp-completion-reread-directory-timeout):
4327         Fix docstring.
4329         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
4330         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
4331         `remote-file-name-inhibit-cache'.  Check also for an integer
4332         value.  Add/increase counter when `tramp-verbose' >= 10.
4333         (tramp-set-file-property): Add/increase counter when
4334         `tramp-verbose' >= 10.
4336         * net/tramp-cmds.el (tramp-cleanup-all-connections)
4337         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
4338         (tramp-bug): Set tramp-autoload cookie.  Report all interned
4339         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
4340         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
4341         characters only in strings.
4343         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
4344         to backward compatibility.
4346         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
4347         (tramp-handle-file-name-all-completions)
4348         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
4349         (tramp-open-connection-setup-interactive-shell):
4350         Call `tramp-cleanup-connection' directly.
4352 2010-10-02  Glenn Morris  <rgm@gnu.org>
4354         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
4356         * subr.el (char-bytes): Remove obsolete function.
4358         * isearch.el (isearch-return-char): Remove obsolete function.
4360         * mouse.el: No longer provide mldrag.
4361         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
4362         Remove obsolete aliases.
4364         * comint.el (comint-kill-output): Remove obsolete alias.
4366         * composite.el (decompose-composite-char): Remove obsolete function.
4367         * ps-def.el (decompose-composite-char): Remove unused function.
4369         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
4371         * outline.el (outline-visible): Remove obsolete function.
4373         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
4374         * faces.el (internal-find-face, internal-get-face)
4375         (frame-update-faces, frame-update-face-colors)
4376         (x-frob-font-weight, x-frob-font-slant)
4377         (internal-frob-font-weight, internal-frob-font-slant)
4378         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
4379         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
4380         (x-make-font-bold-italic): Remove functions and aliases, obsolete
4381         since Emacs 21.1.
4382         * emulation/viper-util.el (viper-get-face):
4383         * obsolete/lucid.el (find-face, get-face): Use facep.
4384         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
4385         Remove unused functions.
4386         * vc/ediff-util.el (ediff-submit-report): Doc fix.
4388         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
4389         delete tempfile if interrupted during compilation.
4391 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4393         * net/tls.el (tls-starttls-switches): Give up on using starttls with
4394         gnutls-cli.
4395         (tls-program): Add --insecure to be consistent with the defaults from
4396         openssl s_client.  Now all three commands are insecure.
4398 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
4400         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
4401         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
4402         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
4404 2010-10-01  Glenn Morris  <rgm@gnu.org>
4406         * obsolete/sc.el: Remove file.
4408         * files.el (temporary-file-directory): On darwin, also try
4409         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
4411 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
4413         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
4414         Let's not break compatibility gratuitously, shall we?
4416 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4418         * net/tls.el (tls-starttls-switches): New variable.
4419         (tls-find-starttls-argument): Use it.
4420         (open-tls-stream): Ditto.
4422         * net/netrc.el (netrc-credentials): Return the value of the "default"
4423         entry.
4424         (netrc-machine): Ditto.
4426 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
4428         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
4430 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
4432         * server.el (server-start): Don't write pid to the authentication file.
4433         (server-create-tty-frame): Don't send pid.
4434         (server-process-filter): Send pid at the start of every connection.
4436 2010-09-30  Glenn Morris  <rgm@gnu.org>
4438         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
4439         (show-all-diary-entries): Remove obsolete function aliases.
4441         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
4442         Remove options, obsolete since 22.1.
4443         (appt-display-format, appt-display-message):
4444         Remove backwards-compatibility code.
4445         (appt-check): No longer check appt-issue-message.
4446         (appt-make-list): No longer autoload it.  Doc fix.  No longer
4447         activate the package.
4449 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4451         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
4452         (starttls-negotiate): Just call boot, and let the handshake be
4453         triggered from the read loop.
4455 2010-09-29  Glenn Morris  <rgm@gnu.org>
4457         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
4458         not displaying the diary.
4459         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
4460         * calendar/appt.el (appt-check): No longer need to kill diary.
4462         * calendar/diary-lib.el (diary-list-entries): Move the
4463         "Preparing..." message entirely here.
4464         (diary-simple-display, diary-fancy-display): Move "Preparing..."
4465         messages to diary-list-entries.
4466         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
4467         diary-display-function.
4469         * calendar/diary-lib.el (diary-include-other-diary-files):
4470         Trap some recursive includes.
4472         * calendar/appt.el (appt-activate): Check diary file.
4474 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
4476         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
4477         construction.
4479         * calendar/time-date.el: No need to require cl for Emacs 21.
4481 2010-09-28  Glenn Morris  <rgm@gnu.org>
4483         * calendar/appt.el (appt-check): Minor simplification.
4485 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
4487         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
4488         citation prefix.
4490 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
4492         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4493         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
4495 2010-09-27  Kenichi Handa  <handa@m17n.org>
4497         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
4498         "ustar" format.
4500 2010-09-27  Kenichi Handa  <handa@m17n.org>
4502         * international/mule.el (define-coding-system): Docstring fixed.
4504         * international/mule-diag.el (describe-character-set): Use princ
4505         with proper print-length and print-level instead of insert.
4507 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
4509         * window.el (walk-windows): Doc fix (bug#7105).
4511 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4513         * emacs-lisp/float-sup.el (e): Remove.
4515 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
4517         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
4518         variable.
4519         (starttls-negotiate): Use it.
4521 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4523         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
4524         back.
4526 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4528         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
4530 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4532         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
4534         * net/netrc.el (netrc-store-data): New function.
4536 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
4538         * net/gnutls.el: GnuTLS glue code to set up a connection.
4540 2010-09-25  Julien Danjou  <julien@danjou.info>
4542         * notifications.el: Call dbus-register-signal only if it is bound.
4544 2010-09-25  Glenn Morris  <rgm@gnu.org>
4546         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4547         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4548         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4549         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4550         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4551         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
4552         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
4553         * eshell/esh-util.el, eshell/esh-var.el:
4554         Remove leading `*' from docs of faces and defcustoms.
4556 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
4558         * eshell/em-ls.el (eshell-ls-archive-regexp):
4559         * eshell/esh-util.el (eshell-tar-regexp):
4560         * ibuffer.el (ibuffer-compressed-file-name-regexp):
4561         * info.el (Info-suffix-list):
4562         * international/mule.el (auto-coding-alist):
4563         * woman.el (woman-file-regexp, woman-file-compression-regexp):
4564         * progmodes/etags.el (tags-compression-info-list):
4565         Support xz compression.
4567 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
4569         * files.el (get-free-disk-space): Don't assume the "df" output
4570         columns line up (Bug#6995).
4572 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
4574         * finder.el (finder-unknown-keywords):
4575         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
4576         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
4578 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
4580         * server.el (server-start): Revert part of 2010-08-08 change.  Using
4581         address 127.0.0.1 for local host is now done in Fmake_network_process.
4583 2010-09-24  Glenn Morris  <rgm@gnu.org>
4585         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
4586         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
4587         * textmodes/css-mode.el, textmodes/dns-mode.el:
4588         Move autoloaded auto-mode-alist entries to files.el.
4589         * files.el (auto-mode-alist): Move entries here.
4591 2010-09-23  Glenn Morris  <rgm@gnu.org>
4593         * isearch.el (isearch-lazy-highlight-cleanup)
4594         (isearch-lazy-highlight-initial-delay)
4595         (isearch-lazy-highlight-interval)
4596         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
4597         * net/net-utils.el (ipconfig-program-options):
4598         Move aliases to options before the associated definitions.
4600 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4602         * newcomment.el (comment-normalize-vars): Better test validity of
4603         comment-end-skip.
4605 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4607         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
4608         (float-e): New name for `e'.
4609         (degrees-to-radians, radians-to-degrees):
4610         * calendar/solar.el (solar-longitude):
4611         * calculator.el (calculator-registers, calculator-funcall):
4612         * textmodes/artist.el (artist-spray-random-points):
4613         * play/bubbles.el (bubbles--initialize-images): Use new names.
4615 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
4617         Update to CEDET 1.0's version of EIEIO.
4619         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
4620         New function.
4621         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
4622         (eieio-default-eval-maybe): Eval val instead of unquoting only.
4623         (class-precedence-list): If class is nil, return nil.
4624         (eieio-generic-call): If class of first input arg is nil, don't
4625         look up static methods, and do check for primary methods.
4626         (initialize-instance): See if the default needs to be evaluated
4627         during the constructor.
4628         (eieio-perform-slot-validation-for-default): Don't do the check
4629         for values that will eventually be evaluated.
4630         (eieio-eval-default-p): New function.
4631         (eieio-default-eval-maybe): Use it.
4633 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
4635         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
4636         method-invocation-order.
4637         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
4638         (eieio-class-precedence-dfs): Compute class precedence list using
4639         dfs algorithm.
4640         (eieio-class-precedence-bfs): Compute class precedence list using
4641         bfs algorithm.
4642         (eieio-class-precedence-c3): Compute class precedence list using
4643         c3 algorithm.
4644         (class-precedence-list): New function.
4645         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
4646         (inconsistent-class-hierarchy): New error symbol.
4647         (call-next-method): Stow the replacement argument list for future
4648         call-next-method invocations.
4650 2010-09-23  Glenn Morris  <rgm@gnu.org>
4652         * calendar/appt.el (appt-check): If not displaying the diary,
4653         use (diary 1) to only get the entries we need.
4654         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
4655         that it is in day order.  (Bug#7019)
4657         * calendar/appt.el (appt-check): Rather than showing the diary,
4658         just turn off invisible display, and only if needed.
4660         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
4662 2010-09-23  Glenn Morris  <rgm@gnu.org>
4664         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4665         (byte-compile-defvar, byte-compile-cl-warn):
4666         Start warnings with lower-case, like the majority.
4668         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
4670         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
4672         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
4673         * files.el (auto-mode-alist): Move ld-script entries here, further down
4674         the list.
4676         * vc/add-log.el: Don't require timezone when compiling.
4677         (timezone-make-date-sortable): Autoload it.
4678         (change-log-sortable-date-at): Don't require timezone.
4679         Use `ignore-errors'.
4681         * comint.el (comint-use-prompt-regexp-instead-of-fields):
4682         Move alias before definition, so it does not need autoloading.
4684         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
4685         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
4686         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
4687         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
4688         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
4689         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
4690         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
4691         * textmodes/tex-mode.el, textmodes/two-column.el:
4692         Remove leading `*' from docs of defcustoms etc.
4694 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
4696         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
4698 2010-09-22  Dan Christensen  <jdc@uwo.ca>
4700         * calendar/time-date.el (date-to-time): Try using parse-time-string
4701         first before using the slower timezone-make-date-arpa-standard.
4703 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
4705         * calendar/time-date.el (format-seconds): Comment fix.
4707 2010-09-22  Glenn Morris  <rgm@gnu.org>
4709         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
4710         is not automatically buffer-local.
4712 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4714         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
4715         (smie-indent-comment): Be more careful with comment-start-skip.
4716         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
4717         (smie-indent-functions): Use them.
4719 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
4721         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
4723 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
4725         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
4726         tool-bar-position.  Don't modify frame parameters here.
4727         (menu-bar-options-save): Add tool-bar-position.
4729         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
4731 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4733         * textmodes/reftex-parse.el (reftex-what-macro)
4734         (reftex-context-substring): Let-bind forward-sexp-function to nil
4735         since we don't need/want to treat \begin...\end as a block (bug#7053).
4737         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
4739         * simple.el (blink-matching-open): Use syntax-class.
4741         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
4742         Set invisibility spec for pascal's outline mode.
4743         (pascal-outline-change): Clean up calling convention.
4744         (pascal-show-all, pascal-hide-other-defuns): Update callers.
4746         * progmodes/prolog.el (prolog-smie-forward-token)
4747         (prolog-smie-backward-token): New functions.
4748         (prolog-mode-variables): Use them to parse "!," correctly.
4749         Set up smie-blink-matching for ".".
4751         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
4752         and `end'.
4753         (ispell-region, ispell-process-line): Update users.
4755         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
4756         point-min==1.
4758         * textmodes/ispell.el: Fix commenting convention.
4759         (ispell-parse-output): Simplify, use push.
4760         (ispell-region): Use match-string-no-properties.
4761         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
4762         (ispell-minor-mode): Use define-minor-mode.
4763         (ispell-message): Remove unused var `skip-regexp'.
4764         (ispell-add-per-file-word-list): Use dynamic let-binding.
4765         Try and use the proper comment marker.
4767         * mail/sendmail.el: Fix commenting convention.
4768         (sendmail-send-it): Use line-beginning-position.
4770         * help-fns.el (describe-variable): Add original value, if applicable.
4772 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
4774         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
4776         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
4778 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4780         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
4781         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
4782         (smie-prec2-levels): Use them to better diagnose precedence cycles.
4783         (smie-blink-matching-check): Don't signal a mismatch if car is t.
4784         (smie-blink-matching-open): Rewrite to remove assumptions, so that
4785         something like "." can also be a closer.
4786         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
4787         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
4788         Rename internal functions to use "--".  Update callers.
4790         * frame.el (make-frame-names-alist): Don't list frames on other displays.
4792         * fringe.el (fringe-styles): New var.
4793         (fringe-mode, fringe-query-style): Use it.
4795 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
4797         * progmodes/sql.el: Version 2.8
4798         (sql-login-params): Update widget structure; changes still needed.
4799         (sql-product-alist): Add :list-all and :list-table features for
4800         SQLite, Postgres and MySQL products.
4801         (sql-redirect): Handle default value.
4802         (sql-execute, sql-execute-feature): New functions.
4803         (sql-read-table-name): New function.
4804         (sql-list-all, sql-list-table): New functions.  User API.
4805         (sql-mode-map, sql-interactive-mode-map): Add key definitions
4806         for above functions.
4807         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
4808         for above functions.
4809         (sql-postgres-login-params): Add user and database defaults.
4810         (sql-buffer-live-p): Bug fix.
4811         (sql-product-history): New variable.
4812         (sql-read-product): New function. Use it.
4813         (sql-set-product, sql-product-interactive): Use it.
4814         (sql-connection-history): New variable.
4815         (sql-read-connection): New function.  Use it.
4816         (sql-connect): New function.
4817         (sql-for-each-login): Redesign function interface.
4818         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
4819         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
4820         (sql-comint): Check for program.  Existing live buffer.
4821         (sql-comint-postgres): Add port parameter.
4823 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4825         * emacs-lisp/warnings.el: Fix commenting convention.
4826         (display-warning): Use special mode and make the buffer read-only.
4828 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
4830         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
4831         empty string when it follows a repeated or optional pattern.
4833 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4835         * indent.el (indent-according-to-mode): Apply syntax-propertize.
4836         (indent-region): Use indent-according-to-mode.
4838 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
4840         * fringe.el (fringe-mode): Doc fix.
4842 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
4844         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
4845         refreshing the preview buffer.
4847 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4849         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
4850         (latex-syntax-propertize-rules): New consts; replace
4851         tex-font-lock-syntactic-keywords.
4852         (tex-env-mark, latex-env-before-change): New functions.
4853         (latex-electric-env-pair-mode): New minor mode.
4854         (tex-font-lock-verb): Change arguments; do move point.
4855         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
4856         representation as a form of comment.
4857         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
4858         (doctex-syntax-propertize-rules): New const; replaces
4859         doctex-font-lock-syntactic-keywords.
4860         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
4862         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
4863         (fortran-make-syntax-propertize-function): New function; replaces
4864         fortran-font-lock-syntactic-keywords.
4865         (fortran-mode): Use it.
4866         (fortran-line-length): Use it.  Improve interactive spec.
4868         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
4869         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
4870         when adding surrounding \(..\).
4872         * progmodes/js.el (js-mode): Fix last change (bug#7054).
4874 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4876         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
4877         Use with-current-buffer.
4879         * isearch.el (isearch-face): Rename from `isearch'.
4880         (isearch-highlight): Use new name.
4882 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
4884         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
4885         5, for `half' width fringes.  (Bug#6933)
4887 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4889         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
4890         (byte-compile-defvar): "foo/bar" does not lack a prefix.
4892         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
4894 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
4896         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
4897         in calculating new frame position.  Add more space between new and
4898         parent on the left (Bug#7048).
4900 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
4902         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
4903         defmacro.
4905 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
4907         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
4909         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
4910         obsolete alias for x-selection-value.
4912         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
4914 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
4916         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
4917         cookie.
4919 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
4921         * net/tramp-compat.el (tramp-compat-with-temp-message)
4922         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
4923         (tramp-compat-process-put): New defuns.
4925         * net/tramp.el (top):
4926         * net/tramp-gvfs.el (top):
4927         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
4929         * net/tramp.el (tramp-progress-reporter-update):
4930         Use `tramp-compat-funcall'.
4932         * net/tramp.el (tramp-process-actions):
4933         * net/tramp-gvfs.el (tramp-handle-vc-registered):
4934         * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
4935         (tramp-get-remote-stat, tramp-get-remote-readlink):
4936         Use `tramp-compat-with-temp-message'.
4938         * net/tramp-sh.el (top): Require 'cl.
4939         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
4940         (tramp-open-connection-setup-interactive-shell):
4941         Use `tramp-compat-process-put'.
4943 2010-09-15  Alan Mackenzie  <acm@muc.de>
4945         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
4946         indentation.
4947         (c-forward-<>-arglist-recur): Fix an infinite recursion.
4949 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4951         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
4952         `lexical' for warnings related to lexical scoping.
4953         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
4954         global vars which don't have a prefix and could hence affect lexical
4955         scoping in unrelated files.
4957 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4959         * net/imap.el: Revert back to version
4960         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
4961         seem problematic.
4963 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
4965         * obsolete/old-whitespace.el (whitespace-unload-function):
4966         Explicitly pass `obarray' to `unintern' to avoid a warning.
4968 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4970         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
4971         Add `when' argument.  Update callers.
4973         * subr.el (unintern): Declare the obarray arg mandatory.
4975 2010-09-14  Glenn Morris  <rgm@gnu.org>
4977         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
4978         Doc fixes.
4980         * calendar/diary-lib.el (diary-included-files): New variable.
4981         (diary-list-entries): Maybe initialize diary-included-files.
4982         (diary-include-other-diary-files): Append to diary-included-files.
4983         * calendar/appt.el (appt-update-list): Also check the members of
4984         diary-included-files.  (Bug#6999)
4985         (appt-check): Doc fix.
4987 2010-09-14  David Reitter  <david.reitter@gmail.com>
4989         * simple.el (line-move-visual): Do not truncate goal column to
4990         integer size.  (Bug#7020)
4992 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4994         * repeat.el (repeat): Allow repeating when the last event is a click.
4995         Suggested by Drew Adams (bug#6256).
4997 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
4999         * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
5000         Replace setting HGRCPATH to "" by some less invasive --config options.
5002 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5004         * font-lock.el (font-lock-beginning-of-syntax-function):
5005         Mark as obsolete.
5007 2010-09-14  Glenn Morris  <rgm@gnu.org>
5009         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
5010         and tool-bar modes.  (Bug#6211)
5011         (menu-bar-mode): Move setting of standard-value after the
5012         minor-mode definition, otherwise it seems to have no effect.
5014 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
5016         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
5017         Fix typo.  (Bug#6976)
5019 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5021         * whitespace.el: Allow cleaning up blanks without blank
5022         visualization (Bug#6651).  Adjust help window for
5023         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
5024         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
5025         (whitespace-style): Add new value 'face.  Adjust docstring.
5026         (whitespace-space, whitespace-hspace, whitespace-tab):
5027         Adjust foreground property face.
5028         (whitespace-line-column): Adjust docstring and type declaration.
5029         (whitespace-style-value-list, whitespace-toggle-option-alist)
5030         (whitespace-help-text): Adjust const initialization.
5031         (whitespace-toggle-options, global-whitespace-toggle-options):
5032         Adjust docstring.
5033         (whitespace-display-window, whitespace-interactive-char)
5034         (whitespace-style-face-p, whitespace-color-on): Adjust code.
5035         (whitespace-help-scroll): New fun.
5037 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
5039         * calendar/time-date.el (format-seconds): Comment fix.
5041 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
5043         * progmodes/sql.el: Version 2.7.
5044         (sql-buffer-live-p): Improve detection.
5045         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5046         (sql-set-sqli-buffer): Use it.
5047         (sql-product-interactive): Run `sql-set-sqli-hook'.
5048         (sql-rename-buffer): Code cleanup.
5049         (sql-redirect, sql-redirect-value): New functions.  More to come.
5051 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
5053         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.
5054         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5055         (TRAMP_SRC): New macro.
5056         ($(lisp)/net/tramp-loaddefs.el): New target.
5058 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
5060         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
5062         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
5064         * net/tramp.el (top): Don't show loading message.  Require just
5065         'tramp-compat, everything else is required there.
5066         Use `ignore-errors' where appropriate.
5067         (tramp-inline-compress-start-size, tramp-copy-size-limit)
5068         (tramp-terminal-type, tramp-end-of-output)
5069         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
5070         (tramp-completion-function-alist-ssh)
5071         (tramp-completion-function-alist-telnet)
5072         (tramp-completion-function-alist-su)
5073         (tramp-completion-function-alist-putty, tramp-remote-path)
5074         (tramp-remote-process-environment, tramp-sh-extra-args)
5075         (tramp-actions-before-shell, tramp-uudecode)
5076         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
5077         (tramp-perl-file-attributes)
5078         (tramp-perl-directory-files-and-attributes)
5079         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
5080         (tramp-perl-encode, tramp-perl-decode)
5081         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
5082         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
5083         (tramp-handle-make-symbolic-link, tramp-handle-load)
5084         (tramp-handle-file-name-as-directory)
5085         (tramp-handle-file-name-directory)
5086         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
5087         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
5088         (tramp-do-file-attributes-with-ls)
5089         (tramp-do-file-attributes-with-perl)
5090         (tramp-do-file-attributes-with-stat)
5091         (tramp-handle-set-visited-file-modtime)
5092         (tramp-handle-verify-visited-file-modtime)
5093         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
5094         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
5095         (tramp-handle-file-selinux-context)
5096         (tramp-handle-set-file-selinux-context)
5097         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
5098         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
5099         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
5100         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
5101         (tramp-handle-file-ownership-preserved-p)
5102         (tramp-handle-directory-file-name, tramp-handle-directory-files)
5103         (tramp-handle-directory-files-and-attributes)
5104         (tramp-do-directory-files-and-attributes-with-perl)
5105         (tramp-do-directory-files-and-attributes-with-stat)
5106         (tramp-handle-file-name-all-completions)
5107         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
5108         (tramp-handle-copy-file, tramp-handle-copy-directory)
5109         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
5110         (tramp-do-copy-or-rename-file-via-buffer)
5111         (tramp-do-copy-or-rename-file-directly)
5112         (tramp-do-copy-or-rename-file-out-of-band)
5113         (tramp-handle-make-directory, tramp-handle-delete-directory)
5114         (tramp-handle-delete-file)
5115         (tramp-handle-dired-recursive-delete-directory)
5116         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
5117         (tramp-handle-insert-directory)
5118         (tramp-handle-unhandled-file-name-directory)
5119         (tramp-handle-expand-file-name)
5120         (tramp-handle-substitute-in-file-name)
5121         (tramp-handle-executable-find, tramp-process-sentinel)
5122         (tramp-handle-start-file-process, tramp-handle-process-file)
5123         (tramp-handle-call-process-region, tramp-handle-shell-command)
5124         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
5125         (tramp-handle-insert-file-contents)
5126         (tramp-handle-insert-file-contents-literally)
5127         (tramp-handle-find-backup-file-name)
5128         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
5129         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
5130         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
5131         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
5132         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
5133         (tramp-find-file-exists-command, tramp-open-shell)
5134         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
5135         (tramp-open-connection-setup-interactive-shell)
5136         (tramp-local-coding-commands, tramp-remote-coding-commands)
5137         (tramp-find-inline-encoding, tramp-call-local-coding-command)
5138         (tramp-inline-compress-commands, tramp-find-inline-compress)
5139         (tramp-compute-multi-hops, tramp-maybe-open-connection)
5140         (tramp-send-command, tramp-wait-for-output)
5141         (tramp-send-command-and-check, tramp-barf-unless-okay)
5142         (tramp-send-command-and-read, tramp-mode-string-to-int)
5143         (tramp-convert-file-attributes, tramp-check-cached-permissions)
5144         (tramp-file-mode-from-int, tramp-file-mode-permissions)
5145         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
5146         (tramp-method-out-of-band-p, tramp-local-host-p)
5147         (tramp-get-remote-path, tramp-get-remote-tmpdir)
5148         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
5149         (tramp-get-test-command, tramp-get-test-nt-command)
5150         (tramp-get-file-exists-command, tramp-get-remote-ln)
5151         (tramp-get-remote-perl, tramp-get-remote-stat)
5152         (tramp-get-remote-readlink, tramp-get-remote-trash)
5153         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
5154         (tramp-get-local-uid, tramp-get-local-gid)
5155         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
5156         tramp-sh.el.
5157         (tramp-methods, tramp-default-method-alist)
5158         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
5159         Move initialization to tramp-sh.el.
5160         (tramp-temp-name-prefix): Make it a defconst.
5161         (tramp-dissect-file-name): Don't check anymore for multi-hop
5162         methods.
5163         (tramp-debug-outline-regexp): Add a docstring.
5164         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
5165         (tramp-get-debug-buffer): Use it.
5167         * net/tramp-cache.el (top): Set tramp-autoload cookie for
5168         initialization forms.
5169         (tramp-set-connection-property): Don't protect `tramp-message'
5170         call, it isn't necessary any longer.
5171         (tramp-dump-connection-properties): Use `ignore-errors'.
5173         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
5174         'password-cache and 'auth-source.
5176         * net/tramp-gvfs.el (top):
5177         * net/tramp-smb.el (top): Require 'tramp-sh.
5179         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
5181         * net/tramp-sh.el: New file, derived from tramp.el.
5182         (top): Initialize `tramp-methods', `tramp-default-method-alist',
5183         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
5184         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
5185         Use `ignore-errors' where appropriate.
5186         (tramp-sh-file-name-handler-alist): Rename from
5187         `tramp-file-name-handler-alist'.
5188         (tramp-send-command-and-check): Return t or nil.  Remove all
5189         `zerop' checks, where called.
5190         (tramp-handle-set-file-modes)
5191         (tramp-do-copy-or-rename-file-directly)
5192         (tramp-handle-delete-directory, tramp-handle-delete-file)
5193         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
5194         (tramp-sh-file-name-handler, tramp-send-command-and-check)
5195         (tramp-get-remote-ln): Set tramp-autoload cookie.
5197         * net/tramp-fish.el: Remove file.
5199 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
5201         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
5202         buffer-file-name to avoid file-locking.  (Bug#7026)
5204 2010-09-13  Julien Danjou  <julien@danjou.info>
5206         * notifications.el (notifications-notify): Add support for
5207         image-path and sound-name.
5208         (notifications-specification-version): Add this variable.
5210 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5212         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
5214 2010-09-12  Leo  <sdl.web@gmail.com>
5216         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
5217         (rcirc-completion-start): New variables.
5218         (rcirc-nick-completions): Rename to rcirc-completions.
5219         (rcirc-nick-completion-start-offset): Delete.
5220         (rcirc-completion-at-point): New function for constructing
5221         completion data for both nicks and irc commands.  Add to
5222         completion-at-point-functions in rcirc mode.
5223         (rcirc-complete): Rename from rcirc-nick-complete; use
5224         rcirc-completion-at-point.
5225         (defun-rcirc-command): Update rcirc-client-commands.
5227 2010-09-11  Glenn Morris  <rgm@gnu.org>
5229         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
5230         atomically, to avoid parallel build errors.  (Bug#4196)
5232 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
5234         * progmodes/sql.el: Version 2.6
5235         (sql-dialect): Synonym for "sql-product".
5236         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5237         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
5238         Set "sql-buffer" to buffer name not buffer object so multiple sql
5239         interactive buffers work properly.  Reverts misguided changes in
5240         earlier work.
5241         (sql-comint): Make sure different buffer name is used if "*SQL*"
5242         buffer is for a different product.
5243         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
5244         login param.
5245         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5246         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5247         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
5248         Accept new buffer name or prompt for one.
5249         (sql-port): Default to zero.
5250         (sql-comint-mysql): Handle "sql-port" as a numeric.
5251         (sql-port-history): Delete unused variable.
5252         (sql-get-login): Default "sql-port" to a number.
5253         (sql-product-alist): Correct Postgres prompt and terminator regexp.
5254         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
5255         "sqlite3" executables.
5256         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
5257         (sql-buffer-live-p): New function.
5258         (sql-mode-menu, sql-send-string): Use it.
5259         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
5260         syntax pattern.
5261         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
5262         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
5264 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5266         * net/netrc.el (netrc-credentials): New convenience function.
5268 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5270         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
5271         to replace texinfo-font-lock-syntactic-keywords.
5272         (texinfo-mode): Use it.
5274         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
5275         Use syntax-propertize-function.
5277         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
5278         replace sgml-font-lock-syntactic-keywords.
5279         (sgml-mode): Use it.
5281         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
5282         since we don't use it.
5284         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
5286         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
5287         if available.
5288         (vhdl-fontify-buffer): Adjust.
5290         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
5291         replace tcl-font-lock-syntactic-keywords.
5292         (tcl-mode): Use it.
5294         * progmodes/simula.el (simula-syntax-propertize-function): New var to
5295         replace simula-font-lock-syntactic-keywords.
5296         (simula-mode): Use it.
5298         * progmodes/sh-script.el (sh-st-symbol): Remove.
5299         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
5300         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
5301         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
5302         (sh-font-lock-paren): Set syntax-multiline.
5303         (sh-font-lock-syntactic-keywords): Remove.
5304         (sh-syntax-propertize-function): New function to replace it.
5305         (sh-mode): Use it.
5307         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
5308         Define while compiling.
5309         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5310         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
5311         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
5312         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5313         (ruby-here-doc-end-syntax): Only define when
5314         syntax-propertize is not available.
5315         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
5316         New functions.
5317         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
5318         (electric-indent-chars): Silence bytecompiler.
5319         (ruby-mode): Use prog-mode, syntax-propertize-function, and
5320         electric-indent-chars.
5322         * progmodes/python.el (python-syntax-propertize-function): New var to
5323         replace python-font-lock-syntactic-keywords.
5324         (python-mode): Use it.
5325         (python-quote-syntax): Simplify and adjust to new use.
5327         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
5328         replace perl-font-lock-syntactic-keywords.
5329         (perl-syntax-propertize-special-constructs): New fun to replace
5330         perl-font-lock-special-syntactic-constructs.
5331         (perl-font-lock-syntactic-face-function): New fun.
5332         (perl-mode): Use it.
5334         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
5335         to replace octave-font-lock-close-quotes.
5336         (octave-syntax-propertize-function): New function to replace
5337         octave-font-lock-syntactic-keywords.
5338         (octave-mode): Use it.
5340         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
5341         replaces mixal-font-lock-syntactic-keywords.
5342         (mixal-mode): Use it.
5344         * progmodes/make-mode.el (makefile-syntax-propertize-function):
5345         New var; replaces makefile-font-lock-syntactic-keywords.
5346         (makefile-mode): Use it.
5347         (makefile-imake-mode): Adjust.
5349         * progmodes/js.el (js--regexp-literal): Define while compiling.
5350         (js-syntax-propertize-function): New var; replaces
5351         js-font-lock-syntactic-keywords.
5352         (js-mode): Use it.
5354         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
5355         replaces gdb-script-font-lock-syntactic-keywords.
5356         (gdb-script-mode): Use it.
5358         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
5359         (fortran--font-lock-syntactic-keywords): New var.
5360         (fortran-line-length): Update syntax-propertize-function and
5361         fortran--font-lock-syntactic-keywords.
5363         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
5365         * progmodes/cfengine.el (cfengine-mode):
5366         Use syntax-propertize-function.
5367         (cfengine-font-lock-syntactic-keywords): Remove.
5369         * progmodes/autoconf.el (autoconf-mode):
5370         Use syntax-propertize-function.
5371         (autoconf-font-lock-syntactic-keywords): Remove.
5373         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
5374         (ada-after-change-function, ada-initialize-syntax-table-properties)
5375         (ada-handle-syntax-table-properties): Only define when
5376         syntax-propertize is not available.
5377         (ada-mode): Use syntax-propertize-function.
5379         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
5380         (font-lock-fontify-syntactic-keywords-region): Move handling of
5381         font-lock-syntactically-fontified to...
5382         (font-lock-default-fontify-region): ...here.
5383         Let syntax-propertize-function take precedence.
5384         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
5386         * emacs-lisp/syntax.el (syntax-propertize-function)
5387         (syntax-propertize-chunk-size, syntax-propertize--done)
5388         (syntax-propertize-extend-region-functions): New vars.
5389         (syntax-propertize-wholelines, syntax-propertize-multiline)
5390         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
5391         (syntax-propertize): New functions.
5392         (syntax-propertize-rules): New macro.
5393         (syntax-ppss-flush-cache): Set syntax-propertize--done.
5394         (syntax-ppss): Call syntax-propertize.
5396         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
5398 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
5400         * textmodes/ispell.el (ispell-init-process): Improve comments.
5401         XEmacs compatibility changes regarding (add-hook) 'local option
5402         and (set-process-query-on-exit-flag).
5404 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
5406         * net/tramp-cache.el (tramp-parse-connection-properties):
5407         Set tramp-autoload cookie.
5409 2010-09-09  Glenn Morris  <rgm@gnu.org>
5411         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
5412         (imagemagick-register-types): Doc fix.
5414 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5416         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
5418         * progmodes/js.el (require): Require is already "eval-and-compile".
5419         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
5420         (js--re-search-backward): Use js--re-search-forward.
5422         * progmodes/fortran.el (fortran-line-length): Don't recompute
5423         syntactic keywords redundantly a second time.
5425         * progmodes/ada-mode.el: Replace "(set '" with setq.
5426         (ada-mode): Simplify.
5427         (ada-create-case-exception, ada-adjust-case-interactive)
5428         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
5429         (ada-search-ignore-string-comment, ada-move-to-start)
5430         (ada-move-to-end): Use with-syntax-table.
5432         * font-lock.el (save-buffer-state): Remove `varlist' arg.
5433         (font-lock-unfontify-region, font-lock-default-fontify-region):
5434         Update usage correspondingly.
5435         (font-lock-fontify-syntactic-keywords-region):
5436         Set parse-sexp-lookup-properties buffer-locally here.
5437         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
5439         * simple.el (blink-matching-open): Don't burp if we can't find a match.
5441 2010-09-08  Glenn Morris  <rgm@gnu.org>
5443         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
5444         Error if not compiled with -DBYTE_CODE_METER.
5446         * emacs-lisp/bytecomp.el (byte-recompile-directory):
5447         Ignore dir-locals-file.
5449 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5451         * progmodes/compile.el (compilation-error-regexp-alist-alist):
5452         Not a const.
5453         (compilation-error-regexp-alist-alist): Rule out ": " in file names
5454         for the `gnu' messages.
5455         (compilation-set-skip-threshold): New command.
5456         (compilation-start): Use \' rather than $.
5457         (compilation-forget-errors): Use clrhash.
5459 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
5461         * textmodes/ispell.el (ispell-valid-dictionary-list):
5462         Simplify logic.
5464 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
5466         Migrate to Tramp 2.2.  Rearrange load dependencies.
5467         (Bug#1529, Bug#5448, Bug#5705)
5469         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
5470         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
5471         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5473         * net/tramp.el (top): Remove all other tramp-* loads except
5474         tramp-compat.el.  Remove all changes to tramp-unload-hook for
5475         other tramp-* packages.  Rearrange defun order.  Change calls of
5476         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
5477         `tramp-compat-octal-to-decimal' to new function names.
5478         (tramp-terminal-type, tramp-initial-end-of-output)
5479         (tramp-methods, tramp-foreign-file-name-handler-alist)
5480         (tramp-tramp-file-p, tramp-completion-mode-p)
5481         (tramp-send-command-and-check, tramp-get-remote-path)
5482         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
5483         (tramp-shell-quote-argument): Set tramp-autoload cookie.
5484         (with-file-property, with-connection-property): Move to
5485         tramp-cache.el.
5486         (tramp-local-call-process, tramp-decimal-to-octal)
5487         (tramp-octal-to-decimal): Move to tramp-compat.el.
5488         (tramp-handle-shell-command): Do not require 'shell.
5489         (tramp-compute-multi-hops): No special handling for tramp-gw-*
5490         symbols.
5491         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
5493         * net/tramp-cache.el (top): Require 'tramp.  Add to
5494         `tramp-unload-hook'.
5495         (tramp-cache-data, tramp-get-file-property)
5496         (tramp-set-file-property, tramp-flush-file-property)
5497         (tramp-flush-directory-property, tramp-get-connection-property)
5498         (tramp-set-connection-property, tramp-flush-connection-property)
5499         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
5500         cookie.
5501         (with-file-property, with-connection-property): New defuns, moved
5502         from tramp.el.
5503         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
5504         macro.
5506         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
5507         (tramp-version): Set tramp-autoload cookie.
5509         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
5510         changes to tramp-unload-hook for other tramp-* packages.  Add to
5511         `tramp-unload-hook'.
5512         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
5513         (tramp-compat-call-process): New defuns, moved from tramp.el.
5515         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
5516         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5517         Add to `tramp-unload-hook'.  Change call of
5518         `tramp-compat-decimal-to-octal' to new function name.
5519         (tramp-fish-method): Make it a defconst.
5520         (tramp-fish-file-name-p): Make it a defsubst.
5521         (tramp-fish-method, tramp-fish-file-name-handler)
5522         (tramp-fish-file-name-p): Set tramp-autoload cookie.
5524         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
5525         `tramp-foreign-file-name-handler-alist'.  Add to
5526         `tramp-unload-hook'.
5527         (tramp-ftp-method): Make it a defconst.
5528         (tramp-ftp-file-name-p): Make it a defsubst.
5529         (tramp-ftp-method, tramp-ftp-file-name-handler)
5530         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
5532         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
5533         `tramp-foreign-file-name-handler-alist'.  Add to
5534         `tramp-unload-hook'.  Change checks, whether package can be
5535         loaded.
5536         (tramp-gvfs-file-name-p): Make it a defsubst.
5537         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
5538         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
5539         (tramp-gvfs-handle-file-directory-p): New defun.
5540         (tramp-gvfs-file-name-handler-alist): Use it.
5542         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
5543         `tramp-foreign-file-name-handler-alist'.  Add to
5544         `tramp-unload-hook'.
5545         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
5546         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
5547         defconst.
5548         (tramp-gw-tunnel-method, tramp-gw-socks-method)
5549         (tramp-gw-open-connection): Set tramp-autoload cookie.
5551         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
5552         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5553         Add to `tramp-unload-hook'.  Change checks, whether package can be
5554         loaded.
5555         (tramp-imap-file-name-p): Make it a defsubst.
5556         (tramp-imap-method, tramp-imaps-method)
5557         (tramp-imap-file-name-handler)
5558         (tramp-imap-file-name-p): Set tramp-autoload cookie.
5560         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
5561         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5562         Add to `tramp-unload-hook'.  Change checks, whether package can be
5563         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
5564         function name.
5565         (tramp-smb-tunnel-method): Make it a defconst.
5566         (tramp-smb-file-name-p): Make it a defsubst.
5567         (tramp-smb-method, tramp-smb-file-name-handler)
5568         (tramp-smb-file-name-p): Set tramp-autoload cookie.
5570         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
5571         (tramp-uuencode-region): Set tramp-autoload cookie.
5573         * net/trampver.el (top) Add to `tramp-unload-hook'.
5574         (tramp-version, tramp-bug-report-address): Set tramp-autoload
5575         cookie.  Update release number.
5577 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
5579         * textmodes/ispell.el (ispell-start-process): Make sure original
5580         arg list is properly initialized (Bug#6993, Bug#6994).
5582 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
5584         * files.el (directory-abbrev-alist): Use \` as default regexp.
5586         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
5587         chars like - or ] (bug#6984).
5588         (rx-any-condense-range): Explode 2-char ranges.
5590 2010-09-06  Glenn Morris  <rgm@gnu.org>
5592         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
5594 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5596         * textmodes/bibtex.el:
5597         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
5599 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5601         * net/imap.el (imap-message-map): Remove optional buffer parameter,
5602         since no callers use it.
5603         (imap-message-get): Ditto.
5604         (imap-message-put): Ditto.
5605         (imap-mailbox-map): Ditto.
5606         (imap-mailbox-put): Ditto.
5607         (imap-mailbox-get): Ditto.
5608         (imap-mailbox-get): Revert last change for this function.
5610 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5612         * net/imap.el (imap-fetch-safe): Remove function, and alter all
5613         callers to use `imap-fetch' instead.  According to the comments, this
5614         should be safe, since all other IMAP clients use the 1:* syntax.
5615         (imap-enable-exchange-bug-workaround): Remove.
5616         (imap-debug): Remove -- doesn't seem very useful.
5618 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5620         * net/imap.el (imap-log): New convenience function used throughout
5621         instead of repeating the same code all over the place.
5623 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
5625         * mouse.el (mouse-save-then-kill): Save region to kill-ring
5626         when mouse-drag-copy-region is non-nil (Bug#6956).
5628 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
5630         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
5631         Improve regexps (Bug#6987).
5632         (dired-sort-toggle): Search more robustly for -t flag.
5634         * files.el (get-free-disk-space): Search more robustly for
5635         "available" column.  Suggested by Ehud Karni
5636         <ehud@unix.mvs.co.il>.
5638 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
5640         * international/uni-bidi.el:
5641         * international/uni-category.el:
5642         * international/uni-combining.el:
5643         * international/uni-decimal.el:
5644         * international/uni-mirrored.el:
5645         * international/uni-name.el: Regenerate.
5647 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5649         * electric.el (electric-indent-post-self-insert-function):
5650         Don't reindent with a sloppy indentation function.
5652         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
5653         border case in change-log-mode.
5655 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
5657         * progmodes/compile.el (compilation-error-regexp-alist-alist):
5658         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
5659         Recognize leading tab in gcc-include regexp.  Ignore names with
5660         leading "from" or "in" in gnu regexp (Bug#6937).
5662 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5664         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
5665         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
5666         (ispell-start-process): Avoid setq and simplify logic.
5667         (ispell-init-process): Setup kill-buffer-hook locally when needed.
5668         (kill-buffer-hook): Don't use it globally with code that uses
5669         expand-file-name since that may call kill-buffer via
5670         code_conversion_restore.
5672 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
5674         * emacs-lisp/package.el (package-directory-list): Only call
5675         file-name-nondirectory on a string.
5677 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
5679         * emacs-lisp/package.el (package--download-one-archive):
5680         Ensure that archive-contents is valid before saving it.
5681         (package-activate-1, package-mark-obsolete, define-package)
5682         (package-compute-transaction, package-list-maybe-add): Use push.
5684 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5686         Use SMIE's blink-paren for octave-mode.
5687         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
5688         Backslashes do not escape single-quotes, single-quotes do.
5689         (octave-block-else-regexp, octave-block-end-regexp)
5690         (octave-block-match-alist): Remove.
5691         (octave-smie-bnf-table): New var, with old content.
5692         (octave-smie-op-levels): Use it.
5693         (octave-smie-closer-alist): New var.
5694         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
5695         (octave-blink-matching-block-open): Remove.
5696         (octave-reindent-then-newline-and-indent, octave-electric-semi)
5697         (octave-electric-space): Let self-insert-command run expand-abbrev and
5698         blink parens.
5700         * electric.el (electricity): New group.
5701         (electric-indent-chars): New var.
5702         (electric-indent-post-self-insert-function): New fun.
5703         (electric-indent-mode): New minor mode.
5704         (electric-pair-skip-self): New custom.
5705         (electric-pair-post-self-insert-function): New function.
5706         (electric-pair-mode): New minor mode.
5708         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
5709         calcAlg-blink-matching-open.
5710         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
5711         (calc-do-alg-entry): Only touch the part of the keymap that varies.
5712         Use the new blink-matching-check-function.
5714         Provide blink-matching support to SMIE.
5715         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
5716         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
5717         (smie-blink-matching-check, smie-blink-matching-open): New functions.
5719         * simple.el (newline): Fix last change to properly remove itself from
5720         the hook.
5722 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5724         * simple.el (newline): Eliminate optimization.
5725         Use post-self-insert-hook to set hard-newline and things before
5726         running post-self-insert-hook.
5727         (blink-matching-check-mismatch): New function.
5728         (blink-matching-check-function): New variable.
5729         (blink-matching-open): Use them.
5730         Skip back forward over prefix chars skipped by forward-sexp.
5731         Don't check if the parens are backslash escaped.
5732         (blink-paren-post-self-insert-function): Check backslash escaping here.
5734 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
5736         * emacs-lisp/package.el (package-menu-mode-map):
5737         Change package-menu-revert bindings to revert-buffer.
5738         (package-menu-mode): Set revert-buffer-function.
5739         (package-menu-revert): Doc fix.
5741 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
5743         * textmodes/ispell.el (ispell-init-process): Use "~/" as
5744         `default-directory' unless using Ispell per-directory personal
5745         dictionaries and not in a mini-buffer under XEmacs.
5746         (kill-buffer-hook): Do not kill ispell process on exit when
5747         `ispell-process-directory' is "~/".  (Bug#6143)
5749 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
5751         * simple.el (kill-new): Call interprogram-cut-function with only
5752         one argument.
5754         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
5755         Remove cut buffer from error message.
5757         * term/x-win.el (x-select-text):
5758         * term/pc-win.el (x-selection-value):
5759         * term/ns-win.el (x-selection-value):
5760         * eshell/em-term.el:
5761         * w32-fns.el (x-get-selection-value):
5762         * mouse-sel.el (mouse-sel-set-selection-function):
5763         * frame.el (display-selections-p): Remove cut-buffer in documentation.
5765         * term/x-win.el: Update documentation for x-last-selected-text-*.
5766         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
5767         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
5768         (x-select-text): Remove argument PUSH, update documentation.
5769         Remove cut-buffer code.
5770         (x-selection-value-internal): Was previously x-selection-value.
5771         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5772         Update documentation, remove cut-buffer code.
5773         Call x-selection-value-internal.
5774         (x-clipboard-yank): Call x-selection-value-internal.
5775         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
5777         * term/pc-win.el (x-last-selected-text):
5778         x-cut-buffer-or-selection-value renamed to x-selection-value
5779         (x-select-text): Remove argument PUSH, update documentation.
5781         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
5782         x-cut-buffer-or-selection-value renamed to x-selection-value
5783         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5784         (x-select-text): Remove argument PUSH, update documentation.
5786         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
5788         * w32-fns.el (x-last-selected-text):
5789         x-cut-buffer-or-selection-value renamed to x-selection-value.
5790         (x-cut-buffer-max): Remove.
5791         (x-select-text): Remove argument PUSH, update documentation.
5793         * simple.el (interprogram-cut-function): Remove mention of PUSH.
5795         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
5797         * mouse-sel.el (mouse-sel-get-selection-function):
5798         x-cut-buffer-or-selection-value renamed to x-selection-value.
5799         (x-select-text): Remove optional push.
5801 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5803         * simple.el (blink-paren-function): Move from C to here.
5804         (blink-paren-post-self-insert-function): New function.
5805         (post-self-insert-hook): Use it.
5807         * emacs-lisp/pcase.el (pcase-split-memq):
5808         Fix overenthusiastic optimisation.
5809         (pcase-u1): Handle the case of a lambda pred.
5811 2010-08-31  Kenichi Handa  <handa@m17n.org>
5813         * international/mule-cmds.el (standard-display-european-internal):
5814         Setup standard-display-table for 8-bit characters by storing 8-bit
5815         characters in the element vector.
5817         * disp-table.el (standard-display-8bit):
5818         Setup standard-display-table for 8-bit characters by storing 8-bit
5819         characters in the element vector.
5820         (standard-display-european): Likewise.
5822 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
5824         * textmodes/nroff-mode.el (nroff-view): New command.
5825         (nroff-mode-map): Bind it to C-c C-c.
5827 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
5829         * emacs-lisp/smie.el (smie-down-list): New command.
5831         Remove old indentation and navigation code on octave-mode.
5832         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
5833         smie-down-list rather than add a binding for octave-down-block.
5834         (octave-mark-block, octave-blink-matching-block-open):
5835         Rely on forward-sexp-function.
5836         (octave-fill-paragraph): Don't narrow, so you can use
5837         indent-according-to-mode.
5838         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
5839         (octave-in-block-p, octave-re-search-forward-kw)
5840         (octave-re-search-backward-kw, octave-indent-calculate)
5841         (octave-end-as-array-index-p, octave-block-end-offset)
5842         (octave-scan-blocks, octave-forward-block, octave-backward-block)
5843         (octave-down-block, octave-backward-up-block, octave-up-block)
5844         (octave-before-magic-comment-p, octave-indent-line): Remove.
5846 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
5848         * emacs-lisp/package.el (package--read-archive-file): Just use
5849         `read', to avoid copying an additional string.
5850         (package-menu-mode): Set header-line-format here.
5851         (package-menu-refresh, package-menu-revert): Signal an error if
5852         not in the Package Menu.
5853         (package-menu-package-list): New var.
5854         (package--generate-package-list): Operate on the current buffer;
5855         don't assume that it is *Packages*, since the user may rename it.
5856         Allow persistent package listings and sort keys using
5857         package-menu-package-list and package-menu-package-sort-key.
5858         (package-menu--version-predicate): Fix version calculation.
5859         (package-menu-sort-by-column): Don't select the window.
5860         (package--list-packages): Create the *Packages* buffer.
5861         Set package-menu-package-list-key.
5862         (list-packages): Sorting by status is now the default.
5863         (package-buffer-info): Use match-string-no-properties.
5864         (define-package): Add a &rest argument for future proofing, but
5865         don't use it yet.
5866         (package-install-from-buffer, package-install-buffer-internal):
5867         Merge into a single function, package-install-from-buffer.
5868         (package-install-file): Change caller.
5870         * finder.el: Load finder-inf using `require'.
5871         (finder-list-matches): Sorting by status is now the default.
5872         (finder-compile-keywords): Simpify printing.
5874 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5876         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5877         (octave-mode-map): Remove special bindings for forward/backward-block
5878         and octave-backward-up-block.  Use smie-close-block.
5879         (octave-continuation-marker-regexp): New var.
5880         (octave-continuation-regexp): Use it.
5881         (octave-operator-table, octave-smie-op-levels)
5882         (octave-operator-regexp, octave-smie-indent-rules): New vars.
5883         (octave-smie-backward-token, octave-smie-forward-token): New funs.
5884         (octave-mode): Use SMIE.
5885         (octave-close-block): Delete.
5887 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
5889         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
5890         CLIPBOARD, not in PRIMARY.  (Bug#6944)
5892 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5894         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
5895         a list of parents.
5896         (smie-indent-column): Allow indirection through variables.
5898         * composite.el (save-buffer-state): Delete, unused.
5899         * font-lock.el (save-buffer-state): Use with-silent-modifications.
5900         (font-lock-default-fontify-region): Use with-syntax-table.
5901         * jit-lock.el (with-buffer-unmodified): Remove.
5902         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
5904         Use `declare' in defmacros.
5905         * window.el (save-selected-window):
5906         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
5907         * progmodes/python.el (def-python-skeleton):
5908         * net/dbus.el (dbus-ignore-errors):
5909         * jka-cmpr-hook.el (with-auto-compression-mode):
5910         * international/mule.el (with-category-table):
5911         * emacs-lisp/timer.el (with-timeout):
5912         * emacs-lisp/lisp-mnt.el (lm-with-file):
5913         * emacs-lisp/eieio.el (with-slots):
5914         * emacs-lisp/easymenu.el (easy-menu-define):
5915         * emacs-lisp/debug.el (debugger-env-macro):
5916         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
5917         (Multiple-value-call, Multiple-value-prog1):
5918         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
5919         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
5920         edebug rule to definition.
5921         * emacs-lisp/lisp-mode.el (save-selected-window)
5922         (with-current-buffer, combine-after-change-calls)
5923         (with-output-to-string, with-temp-file, with-temp-buffer)
5924         (with-temp-message, with-syntax-table, read-if, eval-after-load)
5925         (dolist, dotimes, when, unless):
5926         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
5928 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
5930         * finder.el: Require `package'.
5931         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
5932         (finder-package-info): Var deleted.
5933         (finder-keywords-hash, finder--builtins-alist): New vars.
5934         (finder-compile-keywords): Compute package--builtins and
5935         finder-keywords-hash instead of finder-keywords-hash, respecting
5936         the "Package" header.
5937         (finder-unknown-keywords, finder-list-matches):
5938         Use finder-keywords-hash and package--list-packages.
5939         (finder-mode): Don't set font-lock-defaults.
5940         (finder-exit): We don't use "*Finder-package*" and "*Finder
5941         Category*" buffers anymore.
5943         * emacs-lisp/package.el (package--builtins-base): Var deleted.
5944         (package--builtins): Set default value to nil.
5945         (package-initialize): Load precomputed value of package--builtins
5946         from finder-inf.el.
5947         (package-alist, package-compute-transaction)
5948         (package-download-transaction): Improve docstring.
5949         (package-read-all-archive-contents): Do not change
5950         package--builtins here.
5951         (list-packages): Make package-list-packages an alias for this.
5952         Sort by status by default.
5953         (package--list-packages): Add optional PACKAGES arg.
5954         (describe-package-1): Use font-lock-face property.  For built-in
5955         packages, insert file commentary.
5956         (package--generate-package-list): Rename from
5957         package-list-packages-internal; all callers changed.  Add optional
5958         PACKAGES arg.  Add alphabetical sort fallbacks.
5959         (package-menu--version-predicate, package-menu--status-predicate)
5960         (package-menu--description-predicate)
5961         (package-menu--name-predicate): New functions.
5963         * info.el (Info-finder-find-node): Search package-alist instead of
5964         finder-package-info.
5966 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
5968         * subr.el (version-regexp-alist): Don't use "a" and "b" for
5969         "alpha" and "beta".
5970         (version-to-list): Handle versions like "10.3d".
5972 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5974         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
5975         (macroexp-accumulate): Use `declare'.
5977 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5979         * whitespace.el (whitespace-style): Adjust type declaration.
5981 2010-08-26  Magnus Henoch  <magnus.henoch@gmail.com>
5983         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5984         empty argument to gvfs-copy.
5986 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
5988         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
5989         handle new TRASH arg of `delete-file'.
5991 2010-08-26  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
5993         * net/tramp.el (tramp-handle-insert-directory): Don't use
5994         `forward-word', its default syntax could be changed.
5996 2010-08-26  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
5997             Michael Albinus  <michael.albinus@gmx.de>
5999         Implement compression for inline methods.
6001         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6002         (tramp-copy-size-limit): Allow also nil.
6003         (tramp-inline-compress-commands): New defconst.
6004         (tramp-find-inline-compress, tramp-get-inline-compress)
6005         (tramp-get-inline-coding): New defuns.
6006         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6007         replaced by `tramp-get-inline-coding'.
6008         (tramp-handle-file-local-copy, tramp-handle-write-region)
6009         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6011 2010-08-26  Noah Lavine  <noah549@gmail.com>  (tiny change)
6013         Detect ssh 'ControlMaster' argument automatically in some cases.
6015         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6016         (tramp-default-method): Use it.
6018 2010-08-26  Karel Klíč  <kklic@redhat.com>
6020         * net/tramp.el (tramp-file-name-for-operation):
6021         Add file-selinux-context.
6023 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
6025         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
6027 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
6029         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
6030         (Bug#6907).
6032 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
6034         * progmodes/js.el: Make indentation more customizable (Bug#6914).
6035         (js-paren-indent-offset, js-square-indent-offset)
6036         (js-curly-indent-offset): New options.
6037         (js--proper-indentation): Use them.
6039 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
6041         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
6042         instead of inspecting font-lock properties (Bug#6916).
6044 2010-08-26  David Reitter  <david.reitter@gmail.com>
6046         * server.el (server-visit-files): Run pre-command-hook and
6047         post-command-hook for each buffer while it is current (Bug#6910).
6048         (server-execute): Do not run hooks here.
6050 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
6052         Sync with Tramp 2.1.19.
6054         * net/tramp-cmds.el (tramp-cleanup-all-connections)
6055         (tramp-reporter-dump-variable, tramp-load-report-modules)
6056         (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
6057         (tramp-bug): Recommend setting of `tramp-verbose' to 9.
6059         * net/tramp-compat.el (top): Do not autoload
6060         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
6061         only when `start-file-process' is not bound.
6062         (byte-compile-not-obsolete-vars): Define if not bound.
6063         (tramp-compat-funcall): New defmacro.
6064         (tramp-compat-line-beginning-position)
6065         (tramp-compat-line-end-position)
6066         (tramp-compat-temporary-file-directory)
6067         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6068         (tramp-compat-copy-file, tramp-compat-copy-directory)
6069         (tramp-compat-delete-file, tramp-compat-delete-directory)
6070         (tramp-compat-number-sequence, tramp-compat-process-running-p):
6071         Use it.
6072         (tramp-advice-file-expand-wildcards): Do not use
6073         `tramp-handle-file-remote-p'.
6074         (tramp-compat-make-temp-file): Simplify fallback implementation.
6075         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6076         (tramp-compat-copy-tree): Remove function.
6077         (tramp-compat-delete-file): New defun.
6078         (tramp-compat-delete-directory): Provide implementation for older
6079         Emacsen.
6080         (tramp-compat-file-attributes): Handle only
6081         `wrong-number-of-arguments' error.
6083         * net/tramp-fish.el (tramp-fish-handle-copy-file):
6084         Add PRESERVE_SELINUX_CONTEXT.
6085         (tramp-fish-handle-delete-file): Add TRASH arg.
6086         (tramp-fish-handle-directory-files-and-attributes):
6087         Do not use `tramp-fish-handle-file-attributes.
6088         (tramp-fish-handle-file-local-copy)
6089         (tramp-fish-handle-insert-file-contents)
6090         (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
6092         * net/tramp-gvfs.el (top): Require url-util.
6093         (tramp-gvfs-mount-point): Remove.
6094         (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
6095         and `set-file-selinux-context'.
6096         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
6097         (tramp-gvfs-handle-file-selinux-context)
6098         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6099         (with-tramp-dbus-call-method): Format trace message.
6100         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6101         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6102         Implement backup call, when operation on local files fails.
6103         Use progress reporter.  Flush properties of changed files.
6104         (tramp-gvfs-handle-delete-file): Add TRASH arg.
6105         Use `tramp-compat-delete-file'.
6106         (tramp-gvfs-handle-expand-file-name): Expand "~/".
6107         (tramp-gvfs-handle-make-directory): Make more traces.
6108         (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
6109         (tramp-gvfs-url-file-name): Hexify file name in url.
6110         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6111         into account for the resulting file name.
6112         (tramp-gvfs-handler-askquestion): Preserve current message, in
6113         order to let progress reporter continue afterwards.  (Bug#6257)
6114         Return dummy mountpoint, when the answer is "no".
6115         See `tramp-gvfs-maybe-open-connection'.
6116         (tramp-gvfs-handler-mounted-unmounted)
6117         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6118         attribute "default_location".  Set "prefix" property.
6119         Handle default-location.
6120         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6121         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6122         exists.  Raise an error, if not (due to a corresponding answer
6123         "no" in interactive questions, for example).
6124         Use `tramp-compat-funcall'.
6126         * net/tramp-imap.el (top): Autoload `epg-make-context'.
6127         (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6128         (tramp-imap-do-copy-or-rename-file)
6129         (tramp-imap-handle-insert-file-contents)
6130         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6131         (tramp-imap-handle-delete-file): Add TRASH arg.
6133         * net/tramp-smb.el (tramp-smb-handle-copy-file):
6134         Add PRESERVE-SELINUX-CONTEXT.
6135         (tramp-smb-handle-copy-file)
6136         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6137         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6138         Use `with-progress-reporter'.
6139         (tramp-smb-handle-delete-file): Add TRASH arg.
6141         * net/tramp.el (tramp-methods): Move hostname to the end in all
6142         ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
6143         appropriate.
6144         (tramp-verbose): Describe verbose level 9.
6145         (tramp-completion-function-alist)
6146         (tramp-file-name-regexp, tramp-chunksize)
6147         (tramp-local-coding-commands, tramp-remote-coding-commands)
6148         (with-connection-property, tramp-completion-mode-p)
6149         (tramp-action-process-alive, tramp-action-out-of-band)
6150         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6151         (tramp-exists-file-name-handler): Fix docstring.
6152         (tramp-remote-process-environment): Use `format' instead of
6153         `concat'.  Protect version string by apostroph.
6154         (tramp-shell-prompt-pattern): Do not use a shy group in case of
6155         XEmacs.
6156         (tramp-file-name-regexp-unified)
6157         (tramp-completion-file-name-regexp-unified): On W32 systems, do
6158         not regard the volume letter as remote filename.  (Bug#5447)
6159         (tramp-perl-file-attributes)
6160         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6161         (tramp-vc-registered-read-file-names): Read input as
6162         here-document, otherwise the command could exceed maximum length
6163         of command line.
6164         (tramp-file-name-handler-alist): Add `file-selinux-context' and
6165         `set-file-selinux-context'.
6166         (tramp-debug-message): Add `tramp-compat-funcall' to ignored
6167         backtrace functions.
6168         (tramp-error-with-buffer): Don't show the connection buffer when
6169         we are in completion mode.
6170         (tramp-progress-reporter-update, tramp-remote-selinux-p)
6171         (tramp-handle-file-selinux-context)
6172         (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
6173         (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
6174         New defuns.
6175         (with-progress-reporter): New defmacro.
6176         (tramp-debug-outline-regexp): New defconst.
6177         (top, tramp-rfn-eshadow-setup-minibuffer)
6178         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6179         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6180         (tramp-completion-mode-p, tramp-check-for-regexp)
6181         (tramp-open-connection-setup-interactive-shell)
6182         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6183         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6184         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
6185         Use `tramp-compat-funcall'.
6186         (tramp-handle-make-symbolic-link): Flush file properties.
6187         (tramp-handle-load, tramp-handle-file-local-copy)
6188         (tramp-handle-insert-file-contents, tramp-handle-write-region)
6189         (tramp-handle-vc-registered, tramp-maybe-send-script)
6190         (tramp-find-shell): Use `with-progress-reporter'.
6191         (tramp-do-file-attributes-with-stat): Add space in format string,
6192         in order to work around a bug in pdksh.  Reported by Gilles Pion
6193         <gpion@lfdj.com>.
6194         (tramp-handle-verify-visited-file-modtime): Do not send a command
6195         when the connection is not established.
6196         (tramp-handle-set-file-times): Simplify the check for utc.
6197         (tramp-handle-directory-files-and-attributes)
6198         (tramp-get-remote-path): Use `copy-tree'.
6199         (tramp-completion-handle-file-name-all-completions): Ensure, that
6200         non remote files are still checked.  Oops.
6201         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6202         Handle PRESERVE-SELINUX-CONTEXT.
6203         (tramp-do-copy-or-rename-file): Add progress reporter.
6204         (tramp-do-copy-or-rename-file-directly): Do not use
6205         `tramp-handle-file-remote-p'.
6206         (tramp-do-copy-or-rename-file-out-of-band):
6207         Use `tramp-compat-delete-directory'.
6208         (tramp-do-copy-or-rename-file-out-of-band)
6209         (tramp-compute-multi-hops, tramp-maybe-open-connection):
6210         Use `format-spec-make'.
6211         (tramp-handle-delete-file): Add TRASH arg.
6212         (tramp-handle-dired-uncache): Flush directory cache, not only file
6213         cache.
6214         (tramp-handle-expand-file-name)
6215         (tramp-completion-handle-file-name-all-completions)
6216         (tramp-completion-handle-file-name-completion):
6217         Use `tramp-connectable-p'.
6218         (tramp-handle-start-file-process): Set connection property "vec".
6219         Use it, in order to invalidate file caches.  Check only for
6220         `remote-tty' process property.
6221         Implement tty setting.  (Bug#4604, Bug#6360)
6222         (tramp-file-name-for-operation): Add `call-process-region' and
6223         `set-file-selinux-context'.
6224         (tramp-find-foreign-file-name-handler)
6225         (tramp-advice-make-auto-save-file-name)
6226         (tramp-set-auto-save-file-modes): Remove superfluous check for
6227         `stringp'.  This is done inside `tramp-tramp-file-p'.
6228         (tramp-file-name-handler): Trace 'quit.  Catch the error for some
6229         operations when we are in completion mode.  This gives the user
6230         the chance to correct the file name in the minibuffer.
6231         (tramp-completion-mode-p): Use `non-essential'.
6232         (tramp-handle-file-name-all-completions): Backward/ XEmacs
6233         compatibility: Use `completion-ignore-case' if
6234         `read-file-name-completion-ignore-case' does not exist.
6235         (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
6236         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6237         `tramp-open-shell'.
6238         (tramp-action-password): Hide password prompt before next run.
6239         (tramp-process-actions): Widen connection buffer for the trace.
6240         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6241         process property.  Trace stty settings if `tramp-verbose' >= 9.
6242         Apply workaround for IRIX64 bug.  Move argument of last
6243         `tramp-send-command' where it belongs to.
6244         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6245         front of `login-args'.
6246         (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
6247         on "/dev/null" instead of "/".
6248         (tramp-get-ls-command-with-dired): Make test for "--dired"
6249         stronger.
6250         (tramp-set-auto-save-file-modes): Adapt version check.
6251         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6252         (tramp-handle-process-file): Call the program in a subshell, in
6253         order to preserve working directory.
6254         (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
6255         `tramp-remote-sh' from `tramp-methods'.
6256         (tramp-get-ls-command): Make test for "--color=never" stronger.
6257         (tramp-check-for-regexp): Use (forward-line 1).
6259         * net/trampver.el: Update release number.
6261 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
6263         * help.el (help-map): Bind `C-h P' to describe-package.
6265         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
6267         * emacs-lisp/package.el (package-refresh-contents): Catch errors
6268         when downloading archives.
6269         (describe-package-1): Add package commentary.
6270         (package-install-button-action): New function.
6271         (package-menu-mode-map): Bind ? to package-menu-describe-package.
6272         (package-menu-view-commentary): Function removed.
6273         (package-list-packages-internal): Hide the `package' package too.
6275 2010-08-25  Kenichi Handa  <handa@m17n.org>
6277         * language/misc-lang.el ("Arabic"): New language environment.
6278         Setup composition-function-table for Arabic characters.
6280         * international/fontset.el (setup-default-fontset): Fix typo for
6281         arabic OTF spec (fini->fina).
6283 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
6285         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
6286         on all frames.
6288 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6290         * whitespace.el: Allow cleaning up blanks without blank
6291         visualization (Bug#6651).  Adjust help window for
6292         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
6293         instead of whitespace-line-column (from EmacsWiki).  New version
6294         13.1.
6295         (whitespace-style): Add new value 'face.  Adjust docstring.
6296         (whitespace-space, whitespace-hspace, whitespace-tab):
6297         Adjust foreground property face.
6298         (whitespace-line-column): Adjust docstring and type declaration.
6299         (whitespace-style-value-list, whitespace-toggle-option-alist)
6300         (whitespace-help-text): Adjust const initialization.
6301         (whitespace-toggle-options, global-whitespace-toggle-options):
6302         Adjust docstring.
6303         (whitespace-display-window, whitespace-interactive-char)
6304         (whitespace-style-face-p, whitespace-color-on): Adjust code.
6305         (whitespace-help-scroll): New fun.
6307 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
6309         * emacs-lisp/package.el (list-packages): Alias for
6310         package-list-packages.
6312 2010-08-24  Kevin Ryde  <user42@zip.com.au>
6314         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
6315         (Bug#5651).
6317         * progmodes/ruby-mode.el (ruby): Add defgroup.
6319 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
6321         * progmodes/python.el: Add Ipython support (Bug#5390).
6322         (python-shell-prompt-alist)
6323         (python-shell-continuation-prompt-alist): New options.
6324         (python--set-prompt-regexp): New function.
6325         (inferior-python-mode, run-python, python-shell):
6326         Require ansi-color.  Use python--set-prompt-regexp to set the comint
6327         prompt based on the Python interpreter.
6328         (python--prompt-regexp): New var.
6329         (python-check-comint-prompt)
6330         (python-comint-output-filter-function): Use it.
6331         (run-python): Use a pipe (Bug#5694).
6333 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
6335         * progmodes/python.el (python-send-region): Send a different
6336         Python command if Ipython is in use.
6337         (python-check-version): Use a Python command to find the version.
6339 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
6341         * mouse.el (mouse-yank-primary): Avoid setting primary when
6342         deactivating the mark (Bug#6872).
6344 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
6346         * progmodes/python.el (python-block-pairs): Allow use of "finally"
6347         with "else" (Bug#3991).
6349 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
6351         * net/dbus.el: Accept UNIX domain sockets as bus address.
6352         (top): Don't initialize `dbus-registered-objects-table' anymore,
6353         this is done in dbusbind,c.
6354         (dbus-check-event): Adapt test for bus.
6355         (dbus-return-values-table, dbus-unregister-service)
6356         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
6357         Adapt doc string.
6359 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
6361         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
6363 2010-08-22  Juri Linkov  <juri@jurta.org>
6365         * simple.el (read-extended-command): New function with the logic
6366         for `completing-read' moved to Elisp from `execute-extended-command'.
6367         Use `function-called-at-point' in `minibuffer-default-add-function'
6368         to get a command name for M-n (bug#5364, bug#5214).
6370 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
6372         * startup.el (command-line-1): Issue warning for ignored arguments
6373         --unibyte, etc (Bug#6886).
6375 2010-08-22  Leo  <sdl.web@gmail.com>
6377         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
6378         (ignore, bright, dim, keyword): Split list of nicknames before
6379         passing to rcirc-add-or-remove (Bug#6894).
6381 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
6383         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
6385 2010-08-22  Leo  <sdl.web@gmail.com>
6387         Fix buffer-list rename&refresh after killing a buffer in ido.
6388         * ido.el: Revert Óscar's.
6389         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
6390         Remember the buffers at head, rather than their name.
6391         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
6393 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
6394             Stefan Monnier  <monnier@iro.umontreal.ca>
6396         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
6397         extra backslash added to each line (bug#6890).
6399 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6401         * subr.el (read-key): Don't echo keystrokes (bug#6883).
6403 2010-08-22  Glenn Morris  <rgm@gnu.org>
6405         * menu-bar.el (menu-bar-games-menu): Add landmark.
6407 2010-08-22  Glenn Morris  <rgm@gnu.org>
6409         * align.el (align-regexp): Make group and spacing arguments
6410         use the interactive defaults when non-interactive.  (Bug#6698)
6412         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
6413         expansion, so as not to need sendmail.
6414         (mail-text-start): Remove declaration.
6415         (rmail-retry-failure): Require sendmail.
6417 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
6419         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
6421 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
6423         * progmodes/flymake.el (flymake-start-syntax-check-process):
6424         Use `start-file-process' in order to let it run also on remote hosts.
6426 2010-08-22  Kenichi Handa  <handa@m17n.org>
6428         * files.el: Add `word-wrap' as safe local variable.
6430 2010-08-22  Glenn Morris  <rgm@gnu.org>
6432         * woman.el (woman-translate): Case matters.  (Bug#6849)
6434 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
6436         * simple.el (kill-region): Doc fix (Bug#6787).
6438 2010-08-22  Glenn Morris  <rgm@gnu.org>
6440         * calendar/diary-lib.el (diary-header-line-format):
6441         Fit it to the window, not the frame.
6443 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
6445         * subr.el (ignore-errors): Add debug declaration.
6447 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
6449         * whitespace.el (whitespace-color-off): Remove post-command-hook
6450         locally.
6452 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6454         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
6456 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
6458         * cus-edit.el (custom-group-value-create): Add extra newline
6459         before end line (Bug#6876).
6461 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
6463         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
6464         when extending it.  Before killing on the second click, check if
6465         the buffer is the correct one.  Doc fix.
6466         (mouse-secondary-save-then-kill): Allow usage without first
6467         calling mouse-start-secondary, by defaulting to point.  Don't save
6468         an empty secondary selection.  Doc fix.
6470 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6472         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
6473         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
6474         New version 13.0.
6475         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
6476         Adjust initialization.
6477         (whitespace-bob-marker, whitespace-eob-marker)
6478         (whitespace-buffer-changed): New vars.
6479         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
6480         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
6481         (whitespace-post-command-hook, whitespace-display-char-on):
6482         Adjust code.
6483         (whitespace-looking-back, whitespace-buffer-changed): New funs.
6484         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
6486 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6488         * files.el (locate-file-completion-table): Only list the .el and .elc
6489         extensions if there's no other choice (bug#5955).
6491         * facemenu.el (facemenu-self-insert-data): New var.
6492         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
6493         New functions.
6494         (facemenu-add-face): Use them.
6496         * simple.el (blink-matching-open): Obey forward-sexp-function.
6498 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6500         * simple.el (prog-mode-map): New var.
6501         (prog-indent-sexp): New command.
6503         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
6505         * progmodes/prolog.el (smie): Require.
6507         * emacs-lisp/smie.el (smie-default-backward-token)
6508         (smie-default-forward-token): Strip properties.
6509         (smie-next-sexp): Be more careful with associative operators.
6510         (smie-forward-sexp-command): Generalize.
6511         (smie-backward-sexp-command): Simplify.
6512         (smie-closer-alist): New var.
6513         (smie-close-block): New command.
6514         (smie-indent-debug-log): New var.
6515         (smie-indent-offset-rule): Add a few more cases.
6516         (smie-indent-column): New function.
6517         (smie-indent-after-keyword): Use it.
6518         (smie-indent-keyword): Use it.
6519         Fix up the opener code's point position.
6520         (smie-indent-comment): Only applies at BOL.
6521         (smie-indent-debug): New command.
6523         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
6524         declarations that are useful before running the macro.
6526 2010-08-18  Joakim Verona  <joakim@verona.se>
6528         * image.el (imagemagick-types-inhibit): New variable.
6529         (imagemagick-register-types): New function.
6530         * image-mode.el (image-transform-properties): New function.
6531         (image-transform-set-scale, image-transform-fit-to-height)
6532         (image-transform-set-rotation, image-transform-set-resize)
6533         (image-transform-fit-to-width, image-transform-fit-to-height):
6534         New functions.
6535         (image-toggle-display-image): Support image transforms.
6537 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
6539         * image.el (create-animated-image): Don't add heuristic mask to image
6540         (Bug#6839).
6542 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
6544         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
6545         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
6547 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6549         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
6551         Font-lock '...' strings, plus various simplifications and fixes.
6552         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6553         (octave-font-lock-close-quotes): New function.
6554         (octave-font-lock-syntactic-keywords): New var.
6555         (octave-mode): Use it.  Set beginning-of-defun-function.
6556         (octave-mode-map): Don't override the <foo>-defun commands.
6557         (octave-mode-menu): Pass it directly to easy-menu-define;
6558         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
6559         (octave-block-match-alist): Fix up last change so that
6560         octave-close-block uses the more specific keyword.
6561         (info-lookup-mode): Silence byte-compiler.
6562         (octave-beginning-of-defun): Not interactive any more.
6563         Optimize slightly.
6564         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
6565         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
6566         (octave-completion-at-point-function): Make sure point is within
6567         beg..end.
6568         (octave-reindent-then-newline-and-indent):
6569         Use reindent-then-newline-and-indent.
6570         (octave-add-octave-menu): Remove.
6572 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
6574         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
6575         (report-emacs-bug-can-use-xdg-email): New functions.
6576         (report-emacs-bug): Set can-xdg-email to result of
6577         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
6578         \C-cm to report-emacs-bug-insert-to-mailer and add help text
6579         about it.
6581         * net/browse-url.el (browse-url-default-browser): Add cond
6582         for browse-url-xdg-open.
6583         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
6585 2010-08-17  Glenn Morris  <rgm@gnu.org>
6587         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
6588         (c-fontify-recorded-types-and-refs): Define for compiler.
6589         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
6590         before use.
6592         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
6593         Fix format call.
6595 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
6597         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
6598         properties.
6599         (tramp-handle-process-file): Call the program in a subshell, in
6600         order to preserve working directory.
6601         (tramp-action-password): Hide password prompt before next run.
6602         (tramp-process-actions): Widen connection buffer for the trace.
6604 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
6606         * net/rcirc.el (rcirc-log-process-buffers): New option.
6607         (rcirc-print): Use it.
6608         (rcirc-generate-log-filename): New function.
6609         (rcirc-log-filename-function): Change default to
6610         rcirc-generate-log-filename (Bug#6828).
6612 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
6614         * simple.el (deactivate-mark): If select-active-regions is `only',
6615         only set selection for temporarily active regions.
6617         * cus-start.el: Change defcustom for select-active-regions.
6619 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
6621         * mouse.el (mouse--drag-set-mark-and-point): New function.
6622         (mouse-drag-track): Use LOCATION arg to push-mark.
6623         Use mouse--drag-set-mark-and-point to take click-count into
6624         consideration when updating point and mark (Bug#6840).
6626 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
6628         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6629         Give the Ruby rule a lower priority than Gnu (Bug#6778).
6631 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
6633         * font-lock.el (lisp-font-lock-keywords-2):
6634         Add combine-after-change-calls, condition-case-no-debug,
6635         with-demoted-errors, and with-silent-modifications (Bug#6025).
6637 2010-08-14  Kevin Ryde  <user42@zip.com.au>
6639         * emacs-lisp/copyright.el (copyright-update-year)
6640         (copyright-update): Temporary switch-to-buffer to ensure the
6641         buffer change being queried is visible (Bug#5394).
6643 2010-08-14  Tom Tromey  <tromey@redhat.com>
6645         * progmodes/etags.el (tags-file-name): Mark safe if stringp
6646         (Bug#6733).
6648 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
6650         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
6651         MS-DOS.  (Bug#6689)
6653 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
6655         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
6656         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6657         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6658         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
6659         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
6660         Call menu-bar-set-tool-bar-position.
6662 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6664         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
6665         comment style (bug#6834).
6666         * progmodes/scheme.el (scheme-mode-syntax-table):
6667         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
6668         "b" flag in "' 14b" syntax.
6670         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
6671         for (un)commenting the region and performing completion.
6672         (octave-mode-menu): Use standard commands for help and completion.
6673         (octave-mode-syntax-table): Support %{..%} comments (sort of).
6674         (octave-mode): Use define-derived-mode.
6675         Set completion-at-point-functions and don't set columns.
6676         Don't disable adaptive-fill-regexp.
6677         (octave-describe-major-mode, octave-comment-region)
6678         (octave-uncomment-region, octave-comment-indent)
6679         (octave-indent-for-comment): Remove.
6680         (octave-indent-calculate): Rename from calculate-octave-indent.
6681         (octave-indent-line, octave-fill-paragraph): Update caller.
6682         (octave-initialize-completions): No need to make an alist.
6683         (octave-completion-at-point-function): New function.
6684         (octave-complete-symbol): Use it.
6685         (octave-insert-defun): Use define-skeleton.
6687         * progmodes/octave-mod.el (octave-mode): Set comment-add.
6688         (octave-mode-map): Use comment-dwim (bug#6829).
6690 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
6692         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
6693         indentation of inserted comment.
6695 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
6697         * faces.el (region): Add type gtk that uses gtk colors.
6699         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
6700         Handle theme-name change.
6702 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
6704         * progmodes/sql.el: Version 2.5
6705         (sql-product-alist): Add :prompt-cont-regexp property for several
6706         database products.
6707         (sql-prompt-cont-regexp): New variable.
6708         (sql-output-newline-count, sql-output-by-send):
6709         New variables.  Record number of newlines in input text.
6710         (sql-send-string): Handle multiple filters and count newlines.
6711         (sql-send-magic-terminator): Count terminator newline.
6712         (sql-interactive-remove-continuation-prompt): Filters output to
6713         remove continuation prompts; one for each newline.
6714         (sql-interactive-mode): Set up new variables, prompt regexp and
6715         output filter.
6716         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
6717         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
6719 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6721         * emacs-lisp/pcase.el: New file.
6723 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
6725         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
6726         as here-document, otherwise the command could exceed maximum
6727         length of command line.
6728         (tramp-handle-vc-registered): Call script accordingly.
6729         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
6731 2010-08-10  Kenichi Handa  <handa@m17n.org>
6733         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
6734         composable pattern.
6736 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
6738         * emacs-lisp/package.el (package-version-split)
6739         (package--version-first-nonzero, package-version-compare):
6740         Functions removed.
6741         (package-directory-list, package-load-all-descriptors)
6742         (package--built-in, package-activate, define-package)
6743         (package-installed-p, package-compute-transaction)
6744         (package-read-all-archive-contents)
6745         (package--add-to-archive-contents, package-buffer-info)
6746         (package-tar-file-info, package-list-packages-internal):
6747         Use version-to-list and version-list-*.
6749         * emacs-lisp/package-x.el (package-upload-buffer-internal):
6750         Use version-to-list.
6751         (package-upload-buffer-internal): Use version-list-<=.
6753 2010-08-09  Kenichi Handa  <handa@m17n.org>
6755         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
6756         composable pattern.
6758 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
6760         * tutorial.el (tutorial--default-keys): C-d is now bound to
6761         delete-forward-char (Bug#6826).
6763         * mouse.el (mouse-drag-track): Remove accidentally-removed check
6764         for `double' value of mouse-1-click-follows-link (Bug#6807).
6766 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
6768         * replace.el (replace-highlight): Bind isearch-forward and
6769         isearch-error, ensuring that highlighting is updated if the user
6770         switches the search direction (Bug#6808).
6772         * isearch.el (isearch-lazy-highlight-forward): New var.
6773         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6774         (isearch-lazy-highlight-update): Use it.
6776 2010-08-08  Kenichi Handa  <handa@m17n.org>
6778         * international/mule.el (define-charset): Store NAME as :base property.
6779         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
6780         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
6781         current priority.  Force using the designation of the specific
6782         charset by adding `charset' text property.  Improve the whole algorithm.
6784 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
6786         * emulation/pc-select.el (pc-selection-mode-hook)
6787         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
6788         (pc-selection-mode): Fix typos in docstrings.
6790 2010-08-08  Kenichi Handa  <handa@m17n.org>
6792         * language/cyrillic.el: Don't add "microsoft-cp1251" to
6793         ctext-non-standard-encodings-alist here.
6795         * international/mule.el (ctext-non-standard-encodings-alist):
6796         Add "koi8-r" and "microsoft-cp1251".
6797         (ctext-standard-encodings): New variable.
6798         (ctext-non-standard-encodings-table): List only elements for
6799         non-standard encodings.
6800         (ctext-pre-write-conversion): Adjust for the above change.
6801         Check ctext-standard-encodings.
6803         * international/mule-conf.el (compound-text): Doc fix.
6804         (ctext-no-compositions): Doc fix.
6805         (compound-text-with-extensions): Doc fix.
6807 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6809         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
6811 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
6813         * progmodes/which-func.el (which-func-format): Split help-echo text
6814         into lines, like other mode-line tooltips.
6816         * server.el (server-start): When using TCP sockets, force IPv4
6817         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
6819 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6821         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
6823 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
6825         * term.el (term-delimiter-argument-list): Reflow docstring.
6826         (term-read-input-ring, term-write-input-ring, term-send-input)
6827         (term-bol, term-erase-in-display, serial-supported-or-barf):
6828         Fix typos in docstrings.
6830 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6832         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
6834 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
6836         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
6838 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
6840         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
6841         Fix typo in docstring (bug#6747).
6843 2010-08-08  Leo  <sdl.web@gmail.com>
6845         * eshell/esh-io.el (eshell-get-target): Better detection of
6846         read-only file (Bug#6762).
6848 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
6850         * align.el (align-default-spacing): Doc fix.
6851         (align-region-heuristic, align-regexp): Fix typos in docstrings.
6853 2010-08-08  Stephen Peters  <speters@itasoftware.com>
6855         * calendar/icalendar.el
6856         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
6857         (icalendar--get-weekday-numbers): New.
6858         (icalendar--convert-recurring-to-diary): Handle multiple byday
6859         values in weekly rules.  (Bug#6766)
6861 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
6863         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
6864         (icalendar--create-uid, icalendar-export-region)
6865         (icalendar--parse-summary-and-rest): Code formatting.
6867 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
6869         * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
6870         to italicize headers.
6871         (calc-highlight-selections-with-faces): New variable.
6872         (calc-selected-face, calc-nonselected-face): New faces.
6874         * calc/calccomp.el (math-comp-highlight-string): Use
6875         `calc-highlight-selections-with-faces' to determine how to highlight
6876         sub-formulas.
6878         * calc/calc-sel.el (calc-show-selections): Change message to when
6879         using faces to highlight selections.
6881 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
6883         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
6884         Add SQLite 3 keywords, functions and datatypes.
6885         (sql-interactive-mode): Remove `comint-process-echoes' set to t
6886         (Bug#6686).
6888 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
6890         * simple.el (select-active-regions): Move to keyboard.c.
6891         (deactivate-mark): Used saved-region-selection.
6892         (select-active-region): Function removed.
6893         (activate-mark, set-mark, push-mark-command)
6894         (handle-shift-selection): Don't call it.
6895         (keyboard-quit): Avoid adding the region to the window selection.
6897         * mouse.el (mouse-drag-track): Remove hacks to deal with old
6898         select-active-regions implementation.
6899         (mouse-yank-at-click): Doc fix.
6901         * cus-start.el: Add custom declaration for select-active-regions.
6903 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
6905         * simple.el (delete-forward-char): Doc fix.
6907         * tutorial.el (help-with-tutorial): Hack safe file-local variables
6908         after reading the tutorial.
6910 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
6912         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
6913         Fix for the case that a C style comment has its delimiters alone on
6914         their respective lines.
6916 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
6918         * net/tramp.el (tramp-handle-start-file-process): Set connection
6919         property "vec".
6920         (tramp-process-sentinel): Use it for flushing the cache.
6921         We cannot do it via the process buffer, the buffer could be deleted
6922         already when running the sentinel.
6924 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
6926         * comint.el (comint-mode): Make directory tracking functions
6927         functional on remote files.  (Bug#6764)
6929 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
6931         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
6933 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
6935         * emacs-lisp/find-gc.el (find-gc-source-files):
6936         Rename unexec.c => unexcoff.c.
6938         * emacs-lisp/authors.el (authors-fixed-entries):
6939         Rename unexec.c => unexcoff.c.
6941 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
6943         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
6944         cache, not only file cache.
6945         (tramp-process-sentinel): New defun.
6946         (tramp-handle-start-file-process): Use it, in order to invalidate
6947         file caches.
6949 2010-08-03  Leo  <sdl.web@gmail.com>
6951         * server.el (server-start): Simplify loop.
6953 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6955         * frame.el (screen-height, screen-width, set-screen-width)
6956         (set-screen-height): Remove ancient compatibility aliases.
6958         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
6959         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
6961         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
6962         that change current buffer.
6964 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
6966         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
6967         beginning of the string.  Use `string-match-p'.  (Bug#6765)
6969 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
6971         * cus-start.el (x-gtk-use-system-tooltips): New variable.
6973 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
6975         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
6976         (package--builtins): Tweak descriptions.
6977         (package-print-package): Upcase descriptions if necessary.
6978         Show all built-in packages in font-lock-builtin-face.
6979         (package-list-packages-internal): Omit "emacs" package.
6980         Show status of built-in packages as "built-in".
6982 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
6984         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
6985         before killing to preserve the primary selection (Bug#6701).
6987         * term/x-win.el (x-select-text): Doc fix.
6989 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
6991         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
6992         (objc-font-lock-extra-types):
6993         * progmodes/cc-mode.el (c-basic-common-init):
6994         * progmodes/cc-langs.el (c-make-mode-syntax-table)
6995         (c++-make-template-syntax-table)
6996         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
6997         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
6998         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
6999         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
7000         * progmodes/cc-fonts.el (c-make-inverse-face)
7001         (c-basic-matchers-after):
7002         * progmodes/cc-engine.el (c-forward-keyword-clause)
7003         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
7004         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
7005         (c-guess-continued-construct, c-guess-basic-syntax):
7006         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
7007         The above functions were modified or created.
7009 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
7011         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
7013 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
7015         * files.el (bidi-paragraph-direction): Define safe local values.
7017         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
7018         language-info-alist.  Remove outdated FIXME in a comment.
7020 2010-07-31  Alan Mackenzie  <acm@muc.de>
7022         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
7023         Auto-fill broken in C/C++ modes.
7025 2010-07-30  Martin Rudalics  <rudalics@gmx.at>
7027         * help.el (temp-buffer-max-height, temp-buffer-resize-mode)
7028         (resize-temp-buffer-window): Move back from window.el to avoid
7029         calling define-minor-mode in window.el and choke in bootstrap.
7031 2010-07-29  Martin Rudalics  <rudalics@gmx.at>
7033         * loadup.el (top-level): Load window before files for the sake
7034         of replace-buffer-in-windows.
7036         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
7037         (previous-buffer): Move to window.el.
7039         * bindings.el (unbury-buffer): Move to window.el.
7041         * window.el (display-buffer): Move group definition to front of
7042         display buffer section.
7043         (record-window-buffer, unrecord-window-buffer)
7044         (set-window-buffer-start-and-point, switch-to-prev-buffer)
7045         (switch-to-next-buffer): New functions.
7046         (get-next-valid-buffer, last-buffer): Move here from simple.el.
7047         (next-buffer): Move here from simple.el.  Call
7048         switch-to-next-buffer.
7049         (previous-buffer): Move here from simple.el.  Call
7050         switch-to-prev-buffer.
7051         (bury-buffer, quit-restore-window): Switch to previous buffer
7052         when window cannot be deleted.
7053         (unbury-buffer): Move here from bindings.el.
7054         (delete-windows-on): Switch to previous buffer if window cannot
7055         be deleted.  Unrecord buffer argument in all live windows.
7056         (replace-buffer-in-windows): Move here from window.c.  Switch to
7057         previous buffer if window cannot be deleted.  Unrecord argument
7058         buffer in all live windows.
7059         (switch-to-buffer): In doc-string warning suggest using
7060         with-current-buffer instead of set-buffer.
7062 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
7064         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7065         (menu-bar-showhide-tool-bar-menu-customize-disable)
7066         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7067         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
7068         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
7069         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
7070         make a menu for Options => toolbar that can move it.
7072 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
7074         * emacs-lisp/package-x.el (package--make-rss-entry):
7075         (package-maint-add-news-item, package--update-news)
7076         (package-upload-buffer-internal): New arg ARCHIVE-URL.
7078         * emacs-lisp/package.el (package-archive-url): Rename from
7079         package-archive-id.
7080         (package-install): Doc fix.
7081         (package-download-single, package-download-tar, package-install)
7082         (package-menu-view-commentary): Callers changed.
7084 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
7086         * net/tramp.el (tramp-handle-start-file-process): Check only for
7087         `remote-tty' process property.
7088         (tramp-open-shell): Don't check for tty.
7089         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7090         process property.
7092         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
7093         host.
7095 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
7097         * emacs-lisp/package.el (package-load-list, package-archives)
7098         (package-archive-contents, package-user-dir)
7099         (package-directory-list, package--builtins, package-alist)
7100         (package-activated-list, package-obsolete-alist): Mark as risky.
7102 2010-07-28  Phil Hagelberg  <phil@evri.com>
7104         Add support for non-default package repositories.
7105         * emacs-lisp/package.el (package-archive-base): Var deleted.
7106         (package-archives): New variable.
7107         (package-archive-contents): Doc fix.
7108         (package-load-descriptor): Do nothing if descriptor file is missing.
7109         (package--write-file-no-coding): New function.
7110         (package-unpack-single): Use it.
7111         (package-archive-id): New function.
7112         (package-download-single, package-download-tar)
7113         (package-menu-view-commentary): Use it.
7114         (package-installed-p): Make second argument optional.
7115         (package-read-all-archive-contents): New function.
7116         (package-initialize): Use it.
7117         (package-read-archive-contents): Add ARCHIVE argument.
7118         (package--add-to-archive-contents): New function.
7119         (package-install): Don't call package-read-archive-contents.
7120         (package--download-one-archive): Store archive file in a
7121         subdirectory of package-user-dir.
7122         (package-menu-execute): Remove spurious line movement.
7124 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
7126         * cus-start.el (tool-bar-style): Add text-image-horiz.
7128 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
7130         * progmodes/gud.el (gud-common-init): Check for remoteness of
7131         `file', and not of `default-directory'.
7133 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
7135         * net/tramp.el (tramp-methods): Move hostname to the end in all
7136         ssh `tramp-login-args'.
7137         (tramp-verbose): Describe verbose level 9.
7138         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
7139         (tramp-open-connection-setup-interactive-shell): Trace stty
7140         settings if `tramp-verbose' >= 9.
7141         (tramp-handle-start-file-process): Implement tty setting.
7142         (Bug#4604, Bug#6360)
7144         * net/tramp-cmds.el (tramp-bug): Recommend setting of
7145         `tramp-verbose' to 9.
7147 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
7149         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
7150         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
7151         Remove references to package `lisp-re' (bug#4369).
7153 2010-07-27  Tom Tromey  <tromey@redhat.com>
7155         * progmodes/js.el (js-mode):
7156         * progmodes/make-mode.el (makefile-mode):
7157         * progmodes/simula.el (simula-mode):
7158         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
7160 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
7162         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
7164         * time.el (display-time-day-and-date): Remove spurious * in docstring.
7165         (display-time-world-buffer-name, display-time-world-mode-map):
7166         Fix typos in docstrings.
7168 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
7170         * image-mode.el (image-display-size): New function.
7171         (image-forward-hscroll, image-next-line, image-eol, image-eob)
7172         (image-mode-fit-frame): Use it (Bug#6639).
7174 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
7176         * dired.el (dired-buffers-for-dir): Handle list values of
7177         dired-directory (Bug#6636).
7179 2010-07-26  Sam Steingold  <sds@gnu.org>
7181         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
7182         Do not call `x-get-selection' the second time, reuse the value.
7184 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
7186         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
7187         which consist of control chars only.  Suggested by Richard Stallman.
7189 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
7191         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
7192         exists before passing an error to find-file-not-found-functions
7193         (bug#6723).
7195 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
7197         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
7198         Remove leading nil element, adjust values.
7199         (tetris-shapes, tetris-shape-scores):
7200         Change representation of shapes and remove some redundancy.
7201         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
7202         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
7203         Adjust for working with new representation of shapes.
7204         (tetris-shape-rotations): New function.
7205         (tetris-move-bottom, tetris-move-left, tetris-move-right)
7206         (tetris-rotate-prev, tetris-rotate-next):
7207         Adjust for working with the new version of tetris-test-shape.
7209 2010-07-23  Markus Triska  <markus.triska@gmx.at>
7211         * progmodes/ps-mode.el: Use comint (bug#5954).
7212         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
7213         (ps-mode-other-newline): Simplify.
7214         (ps-run-mode): Derive from comint-mode instead of
7215         fundamental-mode, yielding input history etc.
7216         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
7217         (ps-run-send-string): Adapt for comint-mode.
7218         (ps-run-newline): Remove now unneeded function.
7220 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
7222         * net/tramp.el (tramp-methods): Move hostname to the end in all
7223         plink `tramp-login-args'.
7225 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
7227         * net/tramp.el (tramp-open-shell): New defun.
7228         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7229         Use it.
7231 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
7233         * net/tramp.el (tramp-file-name-regexp-unified)
7234         (tramp-completion-file-name-regexp-unified): On W32 systems, do
7235         not regard the volume letter as remote filename.  (Bug#5447)
7237 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
7239         * custom.el (custom-declare-variable): Give a clearer error message
7240         when the docstring is missing (bug#6476).
7242 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
7244         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
7245         (sql-login-params): New widget definition.
7246         (sql-oracle-login-params, sql-mysql-login-params)
7247         (sql-solid-login-params, sql-sybase-login-params)
7248         (sql-informix-login-params, sql-ingres-login-params)
7249         (sql-ms-login-params, sql-postgres-login-params)
7250         (sql-interbase-login-params, sql-db2-login-params)
7251         (sql-linter-login-params): Use it.
7252         (sql-sqlite-login-params): Use it; Define "database" parameter as
7253         a file name.
7254         (sql-sqlite-program): Change to "sqlite3".
7255         (sql-comint-sqlite): Make sure database name is complete.
7256         (sql-for-each-login): New function.
7257         (sql-connect, sql-save-connection): Use it.
7258         (sql-get-login-ext): New function.
7259         (sql-get-login): Use it.
7260         (sql-make-alternate-buffer-name): Handle :file parameters.
7262 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
7264         * dired.el (dired-no-confirm): Document value t and fix defcustom to
7265         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
7267 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
7269         * dired.el (dired-mode-map): Use command remapping (bug#6632).
7271 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
7273         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
7275 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
7277         * net/tramp.el (tramp-get-ls-command)
7278         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
7279         instead of "/".
7281 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
7283         * progmodes/sql.el: Version 2.3.
7284         (sql-connection-alist): Change keys from symbols to strings;
7285         enhanced the widget definition.
7286         (sql-mode-menu): Add submenu to select connections.
7287         (sql-interactive-mode-menu): Add "Save Connection" item.
7288         (sql-add-product): Fix menu item.
7289         (sql-get-product-feature): Improved error handling.
7290         (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
7291         (sql-make-alternate-buffer-name): Simplified.
7292         (sql-product-interactive): Handle missing product.
7293         (sql-connect): Support string keys, minor improvements.
7294         (sql-save-connection): New function.
7295         (sql-connection-menu-filter): New function.
7297 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
7299         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
7300         (tramp-open-connection-setup-interactive-shell):
7301         Apply workaround for IRIX64 bug.  Move argument of last
7302         `tramp-send-command' where it belongs to.
7304 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
7306         * net/tramp.el (tramp-perl-file-attributes)
7307         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7308         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7309         front of `login-args'.
7311 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
7313         * time.el (display-time-world-mode): Define with `define-derived-mode'.
7314         Set `show-trailing-whitespace' to nil.
7315         (display-time-world-display): Simplify.
7317 2010-07-18  Alan Mackenzie  <acm@muc.de>
7319         Enhance `c-file-style' in file/directory local variables.
7320         * progmodes/cc-mode.el (c-count-cfss): New function.
7321         (c-before-hack-hook): Call `c-set-style' differently according to
7322         whether c-file-style was set in file or directory local
7323         variables.
7325 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
7327         * progmodes/sql.el: Version 2.2.
7328         (sql-product, sql-user, sql-database, sql-server, sql-port):
7329         Use defcustom :safe keyword rather than putting safe-local-variable
7330         property.
7331         (sql-password): Use defcustom :risky keyword rather than putting
7332         risky-local-variable property.
7333         (sql-oracle-login-params, sql-sqlite-login-params)
7334         (sql-solid-login-params, sql-sybase-login-params)
7335         (sql-informix-login-params, sql-ingres-login-params)
7336         (sql-ms-login-params, sql-postgres-login-params)
7337         (sql-interbase-login-params, sql-db2-login-params)
7338         (sql-linter-login-params): Add `port' option.
7339         (sql-get-product-feature): Add NO-INDIRECT parameter.
7340         (sql-comint-oracle, sql-comint-sybase)
7341         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
7342         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
7343         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
7344         (sql-comint-linter): Rename sql-connect-* functions to
7345         sql-comint-*.
7346         (sql-product-alist, sql-mode-menu): Rename as above and
7347         :sqli-connect-func to :sqli-comint-func.
7348         (sql-connection): New variable.
7349         (sql-interactive-mode): Set it.
7350         (sql-connection-alist): New variable.
7351         (sql-connect): New function.
7352         (sql--alt-buffer-part, sql--alt-if-not-empty)
7353         (sql-make-alternate-buffer-name): Improved alternative buffer name.
7355 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7357         * image-mode.el (image-bookmark-make-record): Do not set context
7358         in an image (Bug#6650).
7360 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
7362         * simple.el (select-active-region): New function.
7363         (push-mark-command, set-mark, activate-mark)
7364         (handle-shift-selection): Use it.
7365         (deactivate-mark): Don't check for size of region.
7367         * mouse.el (mouse-drag-track): Use select-active-region.
7369 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
7371         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
7372         "--dired" stronger.
7374 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
7376         * term/x-win.el (x-select-enable-primary): Change default to nil.
7377         (x-select-enable-clipboard): Add :version keyword.
7379         * mouse.el (mouse-drag-copy-region):
7380         * simple.el (select-active-regions): Likewise.
7382 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
7384         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
7385         (vc-coding-system-for-diff): Use it to decide whether to inherit
7386         from the file the EOL format for reading the diffs of that file.
7387         (Bug#4451)
7389 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
7391         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
7392         unibyte, so compressed attachments are not compressed again.
7394 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
7396         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
7397         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
7398         (tramp-find-shell): Simplify setting connection property.
7399         (tramp-get-ls-command): Make test for "--color=never" stronger.
7401 2010-07-15  Simon South  <ssouth@member.fsf.org>
7403         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
7404         blocks within record declarations (i.e. variant parts) correctly.
7406 2010-07-15  Simon South  <ssouth@member.fsf.org>
7408         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
7409         over literal tokens when parsing so newlines aren't "absorbed" by
7410         single-line comments.  Corrects the indentation of case blocks
7411         that have a comment on the first line.
7413 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
7415         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
7416         by Drew Adams (Bug#5504).
7418 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
7420         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
7421         now that Unicode is used (Bug#6594).
7423 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
7425         * term/x-win.el (x-select-enable-clipboard): Default to t.
7426         (x-initialize-window-system): Don't overwrite Paste menu item.
7428         * simple.el (select-active-regions): Default to t.
7429         (push-mark-command): Don't overwrite primary with empty string.
7431         * mouse.el: Bind mouse-2 to mouse-yank-primary.
7432         (mouse-drag-copy-region): Default to nil.
7434         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
7435         Cut/Copy/Paste menu bar items.
7437 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7439         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
7440         Patch applied by Karl Fogel.
7442         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
7443         and `bookmark-current-buffer' if they have been already set in
7444         another buffer (e.g gnus-art).
7446 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
7447             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7449         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
7451         * bookmark.el (bookmark-make-record-default): Allow unneeded
7452         information to be omitted from the record.
7454         Adjust declarations and calls:
7456         * info.el (bookmark-make-record-default): Adjust declaration.
7457         (Info-bookmark-make-record): Adjust call.
7459         * woman.el (bookmark-make-record-default): Adjust declaration.
7460         (woman-bookmark-make-record): Adjust call.
7462         * man.el (bookmark-make-record-default): Adjust declaration.
7463         (Man-bookmark-make-record): Adjust call.
7465         * image-mode.el (bookmark-make-record-default): Adjust declaration.
7467         * doc-view.el (bookmark-make-record-default): Adjust declaration.
7469 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
7471         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
7472         This is also from Thierry Volpiatto's patch in bug #6444.  However,
7473         because it was extraneous to the functional change in that patch,
7474         and causes a re-indendation, I am committing it separately.
7476 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7478         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
7479         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
7480         Patch applied by Karl Fogel (Bug#6444).
7482 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
7484         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
7486 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
7488         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
7489         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
7490         (ns-alternatives-map): Change S-tab binding to backtab
7491         (bug#6616).
7493         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
7494         under ns.
7496 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
7498         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
7499         (Bug#5806)
7501         * language/tv-util.el (tai-viet-re): Remove format.
7503 2010-07-12  Kenichi Handa  <handa@m17n.org>
7505         * language/hebrew.el: Remove no-byte-compile declaration.
7506         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
7507         composition-function-table for 3-character looking back.
7508         (hebrew-font-get-precomposed): New function.
7509         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
7511 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
7513         * mouse.el (mouse-drag-track): Handle select-active-regions
7514         (Bug#6612).
7516 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
7518         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7519         empty argument to gvfs-copy.
7521 2010-07-10  Glenn Morris  <rgm@gnu.org>
7523         * calendar/calendar.el (calendar-week-end-day): New function.
7524         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
7525         Respect calendar-week-start-day.  (Bug#6606)
7526         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
7527         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
7528         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
7529         respect calendar-week-start-day.
7531 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
7533         * simple.el (use-region-p): Doc fix (Bug#6607).
7535 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
7537         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7538         Add regexps for cucumber and ruby.
7540 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
7542         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
7543         (epa-file-insert-file-contents): Hack to prevent
7544         find-file from opening empty buffer when decryption failed
7545         (bug#6568).
7547 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
7549         * textmodes/ispell.el (ispell-alternate-dictionary):
7550         Use file-readable-p.
7551         Return nil if no word-list is found at default locations.
7552         (ispell-complete-word-dict): Default to nil.
7553         (ispell-command-loop): Use 'word-list' when using lookup-words.
7554         (lookup-words): Use ispell-complete-word-dict or
7555         ispell-alternate-dictionary.  Check for word-list availability
7556         and handle errors if needed with better messages (Bug#6539).
7557         (ispell-complete-word): Use ispell-complete-word-dict or
7558         ispell-alternate-dictionary.
7560 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
7562         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
7563         builtins (BufferError, BytesWarning, WindowsError; callables
7564         bin, bytearray, bytes, format, memoryview, next, print; __package__).
7566 2010-07-07  Glenn Morris  <rgm@gnu.org>
7568         * play/zone.el (top-level): Do not require timer, tabify, or cl.
7569         (zone-shift-left): Ignore intangibility, and any errors from
7570         forward-char.
7571         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
7572         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
7573         deleting, and copying text properties.
7574         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
7575         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
7576         to point-max is hard.
7577         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
7578         (zone-fill-out-screen): Ignore intangibility.
7580 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
7582         * menu-bar.el (menu-bar-mode):
7583         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
7584         if it has been set.
7586         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
7587         word/line selection (Bug#6565).
7589 2010-07-04  Martin Rudalics  <rudalics@gmx.at>
7591         * window.el (get-mru-window): New function.
7593 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
7595         * net/dbus.el (dbus-send-signal): Declare function.
7597 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
7599         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
7600         (dbus-register-property): New optional argument EMITS-SIGNAL.
7601         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
7603 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
7605         * mouse.el (mouse-drag-overlay): Variable deleted.
7606         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
7607         (mouse--remap-link-click-p): New function.
7608         (mouse-drag-track): Handle dragging by using temporary Transient
7609         Mark mode, instead of a special overlay.
7610         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
7611         mouse-show-mark.
7613         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
7614         deleted.
7616 2010-07-02  Juri Linkov  <juri@jurta.org>
7618         * autoinsert.el (auto-insert-alist): Fix readability
7619         by using dotted pair notation for lambda.
7621 2010-07-02  Juri Linkov  <juri@jurta.org>
7623         * faces.el (read-face-name): Rename arg `string-describing-default'
7624         to `default'.  Doc fix.  Display the default value in quotes
7625         in the prompt.  With empty input, return the `default' arg,
7626         unless the default value is a string (in which case return nil).
7627         (describe-face): Replace the string `default' arg of `read-face-name'
7628         with the symbol `default'.
7630 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
7632         * emulation/viper-cmd.el (viper-delete-backward-char)
7633         (viper-del-backward-char-in-insert)
7634         (viper-del-backward-char-in-replace, viper-change)
7635         (viper-backward-indent): Replace delete-backward-char with
7636         delete-char (Bug#6552).
7638 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
7640         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
7642 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
7644         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
7645         argument passed to frame-creation-function (Bug#5378).
7647         * faces.el (x-handle-named-frame-geometry)
7648         (x-handle-reverse-video, x-create-frame-with-faces)
7649         (face-set-after-frame-default, tty-create-frame-with-faces):
7650         Don't separately consult default-frame-alist.  It is now passed as the
7651         PARAMETER argument.
7653 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
7655         * startup.el (command-line): Don't call tool-bar-setup in a
7656         tty-only build.
7658 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
7660         * ruler-mode.el (ruler--save-header-line-format): New fun.
7661         (ruler-mode): Use it as a setter function, so as not to overwrite
7662         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
7664 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
7666         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
7667         (vc-root-diff, vc-print-root-log, vc-log-incoming)
7668         (vc-log-outgoing): Use it.
7669         (vc-diff-internal): Set diff-vc-backend.
7671         * vc/diff-mode.el (diff-vc-backend): New var.
7673 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
7675         * dynamic-setting.el (font-setting-change-default-font):
7676         Remove call to message.
7678 2010-06-28  Kenichi Handa  <handa@m17n.org>
7680         * international/quail.el (quail-insert-kbd-layout): Fix the
7681         showing of untranslated characters.
7683 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
7685         * simple.el (delete-active-region): New option.
7686         (delete-backward-char): Implement in Lisp.
7687         (delete-forward-char): New command.
7689         * mouse.el (mouse-region-delete-keys): Deleted.
7690         (mouse-show-mark): Simplify.
7692         * bindings.el (global-map): Bind delete and DEL, the former to
7693         delete-forward-char.
7695 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
7697         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
7698         (ruby-mode): Bind indent-line-function (Bug#5119).
7700 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
7702         * startup.el (command-line): Recognize "0" X resource value.
7704 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
7706         * startup.el (command-line): Use X resources to set the value of
7707         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
7709         * menu-bar.el (menu-bar-mode):
7710         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
7711         Set init-value to t.
7713         * frame.el (frame-notice-user-settings): Don't change
7714         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
7715         vice versa (Bug#2249).
7717 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
7719         * w32-fns.el (w32-convert-standard-filename): Doc fix.
7721 2010-06-25  Martin Rudalics  <rudalics@gmx.at>
7723         * files.el (read-buffer-to-switch)
7724         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7725         Move to window.el.
7727         * window.el (display-buffer): New customization group.
7728         (special-display-buffer-names, special-display-regexps)
7729         (same-window-buffer-names, same-window-regexps, pop-up-frames)
7730         (display-buffer-reuse-frames, pop-up-windows)
7731         (split-window-preferred-function, split-height-threshold)
7732         (split-width-threshold, even-window-heights): Move or add to
7733         display-buffer customization group.
7734         (window-size-fixed): Move down in code, rewrite doc-string.
7735         (window-right, window-left, window-child, window-internal-p)
7736         (window-any-p, normalize-live-buffer, normalize-live-frame)
7737         (normalize-any-window, normalize-live-window)
7738         (window-iso-combined-p, walk-window-tree-1, walk-window-tree)
7739         (window-in-direction-2, window-in-direction, window-tree-1)
7740         (window-size-ignore, window-sizable, window-sizable-p)
7741         (window-min-size, window-min-size-1, window-size-fixed-p)
7742         (window-size-fixed-1, window-min-delta, window-min-delta-1)
7743         (window-max-delta, window-max-delta-1, window-resizable)
7744         (window-resizable-p, window-total-height, window-height)
7745         (window-full-height-p, window-total-width, window-body-height)
7746         (window-body-width, window-width, resize-window-reset)
7747         (resize-window-reset-1, resize-window, resize-subwindows-skip-p)
7748         (resize-subwindows-normal, resize-subwindows)
7749         (resize-other-windows, resize-this-window, resize-mini-window)
7750         (resize-root-window, resize-root-window-vertically)
7751         (window-deletable-p, window-or-subwindow-p)
7752         (kill-or-unrecord-buffer, quit-restore-window)
7753         (window-split-min-size, window-children-count)
7754         (split-window-quit-restore): New functions.
7755         (ignore-window-parameters, display-buffer-window-and-buffer)
7756         (resize-window-safe-window): New variables.
7757         (window-safe-min-height, window-safe-min-width): New constants.
7758         (window-min-height, window-min-width, window-full-width-p)
7759         (get-lru-window, get-largest-window)
7760         (adjust-window-trailing-edge, window-tree, other-window)
7761         (replace-buffer-in-windows, split-window): Move here from
7762         window.c.
7763         (window-current-scroll-bars): Use normalize-live-window.
7764         (get-window-with-predicate): Use window-list-1.
7765         (get-buffer-window-list): Use normalize-live-buffer and
7766         window-list-1.
7767         (count-windows): Use window-list-1.
7768         (enlarge-window, shrink-window): Use resize-window.
7769         (maximize-window, minimize-window, frame-root-window-p)
7770         (composite-window-p, composite-root-window-p)
7771         (composite-main-window-p, composite-support-window-p)
7772         (composite-root-window, composite-major-window)
7773         (composite-main-sibling, composite-lowest-child-role)
7774         (compound-window-p, compound-main-window-p)
7775         (compound-root-window, group-window-p, group-window-main-p)
7776         (group-root-window, make-compound-window, make-window-group)
7777         (make-support-window): New functions for composite windows.
7778         (one-window-p): Rewrite doc-string.
7779         (delete-window, delete-other-windows, delete-windows-on)
7780         (bury-buffer, switch-to-buffer): Move here from buffer.c.
7781         (split-window-vertically, split-window-horizontally): Call
7782         split-window-quit-restore.
7783         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
7784         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
7785         (bw-refresh-edges, bw-balance-sub): Replace by new balance
7786         windows functions.
7787         (balance-windows, balance-windows-1, balance-windows-2): New
7788         functions for balancing windows.
7789         (bw-adjust-window): Rename to balance-windows-area-adjust.
7790         (balance-windows-area): Call balance-windows-area-adjust.
7791         (pop-up-windows): New values `selected' and `root'.
7792         (window-splittable-p): Rename to window-sensibly-splittable-p.
7793         (split-window-sensibly): Call window-sensibly-splittable-p.
7794         (window--display-buffer-1, window--display-buffer-2): Remove.
7795         (display-buffer-window-and-buffer)
7796         (window--display-buffer-in-window, window--reuse-window)
7797         (window--pop-up-window, window--pop-up-frame)
7798         (window--raise-window-frame): New helper functions for
7799         display-buffer.
7800         (display-buffer): Rewrite using the new helper functions.
7801         (read-buffer-to-switch, switch-to-buffer-other-window)
7802         (switch-to-buffer-other-frame): Move here from files.el.
7803         (set-window-text-height, fit-window-to-buffer): Use
7804         normalize-live-window and resize-window.
7805         (shrink-window-if-larger-than-buffer): Use normalize-live-window
7806         and window-iso-combined-p.
7807         (temp-buffer-max-height, temp-buffer-resize-mode): Move here
7808         from help.el.
7809         (resize-temp-buffer-window): Move here from help.el and use
7810         window-iso-combined-p.
7811         (ctl-x-map): Move bindings for non-scrolling commands here from
7812         window.c.
7814         * cus-start.el (all): Remove window-min-height and
7815         window-min-width entries.  Add recenter-redisplay and
7816         window-splits entries.
7818         * calendar/calendar.el (calendar-basic-setup):  Call
7819         window-sensibly-splittable-p instead of window-splittable-p.
7821         * dired.el (dired-pop-to-buffer): Call
7822         window-sensibly-splittable-p instead of window-splittable-p.
7824         * help-mode.el (help-mode-finish): Remove help-window and
7825         view-return-to-alist handling code.
7827         * help.el (help-window): Remove variable.
7828         (help-window-point-marker): Fix doc-string.
7829         (temp-buffer-max-height, temp-buffer-resize-mode)
7830         (resize-temp-buffer-window): Move to window.el.
7831         (help-window-display-message): Fix doc-string and handling of
7832         optional argument.
7833         (help-window-setup-finish): Remove.
7834         (help-window-setup): Remove handling of list-of-frames and
7835         list-of-window-tuples.  These are handled by the quit-restore
7836         window mechanism now.
7837         (with-help-window): Remove setup of list-of-frames and
7838         list-of-window-tuples.  Reset display-buffer-window-and-buffer
7839         and call help-window-setup when the buffr display mechanism
7840         called by with-output-to-temp-buffer has set it.
7842         * view.el (view-exits-all-viewing-windows): Fix doc-string.
7843         (view-return-to-alist): Remove variable.
7844         (view-file-other-window): Remove second argument in call of
7845         view-buffer-other-window.
7846         (view-file-other-frame): Remove second argument in call of
7847         view-buffer-other-frame.
7848         (view-buffer): Remove the undo-window mechanism and fix call of
7849         view-mode-enter.
7850         (view-buffer-other-window, view-buffer-other-frame): Remove
7851         second argument and return-to mechanism and fix call of
7852         view-mode-enter.
7853         (view-return-to-alist-update): Remove function.
7854         (view-mode-enter): Rename second argument to quit-restore and
7855         replace view-return-to-alist mechanism by quit-restore
7856         parameter.  Rewrite doc-string.
7857         (view-mode-exit): Rename arguments and replace
7858         view-return-to-alist mechanism by calling quit-restore-window.
7859         (View-exit, View-exit-and-edit, View-leave, View-quit)
7860         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
7861         appropriate argument(s).
7862         (view-end-message): Instead of checking view-return-to-alist
7863         look at quit-restore window parameter.
7865         * progmodes/ebrowse.el (ebrowse-view-file-other-frame): Adjust
7866         call of view-mode-enter to the latter's new definition.
7868         * progmodes/python.el (view-return-to-alist): Remove defvar.
7869         (python-describe-symbol): Don't set view-return-to-alist any
7870         more.
7872 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
7874         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
7875         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
7877         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
7878         default directories are expanded (Bug#6143).
7880 2010-06-24  Juri Linkov  <juri@jurta.org>
7882         * minibuffer.el (completions-format): Change default from nil to
7883         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
7885 2010-06-24  Juri Linkov  <juri@jurta.org>
7887         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
7888         buffer-locally to lambda that re-runs the vc diff command.
7889         (Bug#6447)
7891 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
7893         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
7894         echo area is in use (Bug#3412).
7896 2010-06-22  Glenn Morris  <rgm@gnu.org>
7898         * textmodes/texinfmt.el (texinfo-format-region)
7899         (texinfo-raise-lower-sections, texinfo-format-separate-node)
7900         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
7901         (texinfo-format-option, texinfo-noindent):
7902         Use line-beginning-position and line-end-position.
7904         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
7905         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
7906         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
7907         utf-8 characters.
7909 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
7911         * play/zone.el (zone-fall-through-ws): Fix next-line ->
7912         forward-line fallout.
7914 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
7916         * mouse.el (mouse-appearance-menu): Add docstring.
7918         * help.el (describe-key): Print up-event using key-description.
7920 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
7922         * net/zeroconf.el (zeroconf-resolve-service)
7923         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
7924         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
7926 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
7928         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
7930 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
7932         Avoid displaying files with a nil state in vc-dir.
7933         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
7934         cases that cause insertion.
7935         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
7936         with a nil state.
7938 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
7940         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
7942 2010-06-29  Leo  <sdl.web@gmail.com>
7944         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
7946 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
7948         * generic-x.el (bat-generic-mode): Fix regexp for command line
7949         switches (Bug#5719).
7951 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
7953         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
7954         of nconc to avoid pure storage error (Bug#6239).
7956 2010-06-27  Christoph  <cschol2112@googlemail.com>  (tiny change)
7958         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
7959         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
7960         bindings of bookmark-automatically-show-annotations (Bug#6515).
7962 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
7964         * arc-mode.el (archive-zip-extract): Don't quote the file name on
7965         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
7967 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
7969         * comint.el (make-comint, make-comint-in-buffer): Mention return
7970         value in the docstrings.  (Bug#6498)
7972 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
7974         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
7975         since it is not present when using some non-default switches.
7977 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
7979         * simple.el (compose-mail): Fix doc string to refer to
7980         `compose-mail-user-agent-warnings', instead of to the
7981         nonexistent `compose-mail-check-user-agent'.
7983 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
7985         Fix an indentation bug:
7987         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
7988         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
7989         of existing values.
7991         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
7992         (c-clear->-pair-props-if-match-before): now return t when they've
7993         cleared properties, nil otherwise.
7994         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
7995         by taking account of the existing value.
7997         * progmodes/cc-defs.el
7998         (c-clear-char-property-with-value-function): Fix this to clear the
7999         property rather than overwriting it with nil.
8001 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
8003         * emacs-lisp/package.el (package-print-package): Add link to
8004         package description via describe-package.
8005         (describe-package-1): List package requirements.  Add button to
8006         perform installation.
8007         (package-menu-describe-package): New command.
8009         * help-mode.el (help-package): New button type.
8011 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
8013         * emacs-lisp/package.el: Move package-list-packages binding to
8014         menu-bar.el.
8015         (describe-package, describe-package-1, package--dir): New funs.
8016         (package-activate-1): Use package--dir.
8018         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
8020         * help-mode.el (help-package-def): New button type.
8022         * menu-bar.el: Move package-list-packages binding here from
8023         package.el.
8025 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
8027         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
8029 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8031         * emacs-lisp/edebug.el (edebug-read-list):
8032         Phase out old-style backquotes.
8034 2010-06-17  Juri Linkov  <juri@jurta.org>
8036         * help-mode.el (help-mode): Set buffer-local variable
8037         revert-buffer-function to help-mode-revert-buffer.
8038         (help-mode-revert-buffer): New function.
8040         * info.el (Info-revert-find-node): Check for major-mode Info-mode
8041         before popping to "*info*" (like in other Info functions).
8042         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
8043         old-history-forward.  Pop to old-buffer-name or "*info*" to
8044         recreate the killed buffer.  Set Info-history-forward from
8045         old-history-forward.
8046         (Info-breadcrumbs-depth): Add :group and :version.
8048 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
8050         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
8052 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
8054         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
8055         for languages like Portuguese with pt_{BR,PT} and no plain pt.
8057 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
8059         * emacs-lisp/package.el (package-menu-mode-map):
8060         Move initialization into declaration.
8062         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
8064 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
8066         * emacs-lisp/package.el (package-archive-base): Point to
8067         elpa.gnu.org.
8068         (package-enable, package-load-list): New defcustoms.
8069         (package-user-dir, package-directory-list): Turn into defcustoms.
8070         Don't include package-user-dir in package-directory-list.
8071         (package--builtins-base): Don't include Emacs as a "package".
8072         (package-subdirectory-regexp): New var.
8073         (package-load-all-descriptors, package-compute-transaction)
8074         (package-download-transaction): Obey package-load-list.
8075         (package-activate-1): Rename from package-do-activate.
8076         (package-list-packages-internal): Check package-load-list.
8077         (package-load-descriptor, package-generate-autoloads)
8078         (package-unpack, package-unpack-single)
8079         (package--read-archive-file, package-delete):
8080         Use expand-file-name.
8082         * emacs-lisp/package-x.el: New file.  Package uploading
8083         functionality split out from package.el.
8085         * startup.el (command-line): Load packages after reading init file.
8087 2010-06-17  Tom Tromey  <tromey@redhat.com>
8089         * emacs-lisp/package.el: New file.
8091 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
8093         Fix vc-annotate for renamed files when using Git.
8094         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
8095         ls-files.  Doe not pass the object as a file name to cat-file, it
8096         is not a file name.
8097         (vc-git-annotate-command): Pass the file name using -- to avoid
8098         ambiguity with the revision.
8099         (vc-git-previous-revision): Pass a relative file name.
8101 2010-06-22  Glenn Morris  <rgm@gnu.org>
8103         * progmodes/js.el (js-mode-map): Use standard capitalization and
8104         ellipses for menu entries.
8106         * wid-edit.el (widget-complete): Doc fix.
8108 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
8110         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
8112 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
8114         Fix annotating other revisions for renamed files in vc-annotate.
8115         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
8116         VC backend.  Use it when non-nil.
8117         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
8118         (Bug#6487).
8120         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
8121         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8122         Do not pass the file name to the 'previous-revision call when we
8123         don't want a file diff.  (Bug#6489)
8125 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
8127         Fix finding revisions for renamed files in vc-annotate.
8128         * vc/vc.el (vc-find-revision): Add an optional argument for
8129         the VC backend.  Use it when non-nil.
8130         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
8131         backend to vc-find-revision.  (Bug#6487)
8133 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
8135         Fix reading file names in Git annotate buffers.
8136         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
8137         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
8139 2010-06-20  Alan Mackenzie  <acm@muc.de>
8141         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
8142         in file local variables, set it first.
8144 2010-06-19  Glenn Morris  <rgm@gnu.org>
8146         * descr-text.el (describe-char-unicode-data): Insert separating
8147         space when needed.  (Bug#6422)
8149         * progmodes/idlwave.el (idlwave-action-and-binding):
8150         Fix typo in 2009-12-03 change.  (Bug#6450)
8152 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8154         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
8155         handling for `lambda' (misunderstanding).
8157 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
8159         * calc/calc-poly.el (math-accum-factors): Make sure that
8160         constants aren't distributed after they are factored out.
8162 2010-06-16  Juri Linkov  <juri@jurta.org>
8164         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
8165         `list-colors-print'.  (Bug#6332)
8167         * subr.el (read-quoted-char): Fix up last change (bug#6290).
8169 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8171         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
8172         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
8174         * font-lock.el (font-lock-major-mode): Rename from
8175         font-lock-mode-major-mode to distinguish it from
8176         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
8177         (font-lock-set-defaults):
8178         * font-core.el (font-lock-default-function): Adjust users.
8179         (font-lock-mode): Don't set it at all.
8181 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8183         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
8185 2010-06-16  Glenn Morris  <rgm@gnu.org>
8187         * calendar/appt.el (appt-time-msg-list): Doc fix.
8188         (appt-check): Let-bind appt-warn-time.
8189         (appt-add): Make the 3rd argument optional.
8190         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
8191         Only add WARNTIME to the output list if non-nil.
8193 2010-06-16  Ivan Kanis  <apple@kanis.eu>
8195         * calendar/appt.el (appt-check): Let the 3rd element of
8196         appt-time-msg-list specify the warning time.
8197         (appt-add): Add new argument with the warning time.  (Bug#5176)
8199 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
8201         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
8202         older than version 1.6.  (Bug#6361)
8204 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
8206         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
8207         used by cl-do-arglist.  (Bug#6408)
8209 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
8211         * textmodes/ispell.el (ispell-dictionary-base-alist):
8212         Fix portuguese casechars/not-casechars for missing 'çÇ'.
8213         Suggested by Rolando Pereira (bug#6434).
8215 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
8217         * facemenu.el (list-colors-sort): Doc fix.
8219 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
8221         * progmodes/sql.el (sql-connect-mysql): Fix typo.
8223 2010-06-14  Juri Linkov  <juri@jurta.org>
8225         Add sort option `list-colors-sort'.  (Bug#6332)
8226         * facemenu.el (color-rgb-to-hsv): New function.
8227         (list-colors-sort): New defcustom.
8228         (list-colors-sort-key): New function.
8229         (list-colors-display): Doc fix.  Sort list according to the option
8230         `list-colors-sort'.
8231         (list-colors-print): Add HSV values to `help-echo' property of
8232         RGB strings.
8234 2010-06-14  Juri Linkov  <juri@jurta.org>
8236         * compare-w.el: Move to the "vc" subdirectory.
8238 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8240         * image-mode.el (image-mode-map): Remap left-char and right-char.
8242         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
8244 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
8246         * term/common-win.el (x-colors): Add all the color names defined
8247         in rgb.txt (Bug#6332).
8249         * facemenu.el (list-colors-print): Don't print extra names if it
8250         will overflow the window width.
8252         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
8253         change (Bug#6343).
8255 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
8257         * files.el (make-directory): Doc fix (bug#6396).
8259 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
8261         * net/tramp.el (tramp-remote-process-environment): Protect version
8262         string by apostroph.
8263         (tramp-shell-prompt-pattern): Do not use a shy group in case of
8264         XEmacs.
8265         (tramp-file-name-for-operation): Add `call-process-region'.
8266         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
8268         * net/tramp-compat.el (top): Do not autoload
8269         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
8270         only when `start-file-process' is not bound.
8271         (tramp-advice-file-expand-wildcards): Do not use
8272         `tramp-handle-file-remote-p'.
8273         (tramp-compat-make-temp-file): Handle the case, that
8274         `make-temp-file' has no third argument EXTENSION.
8276 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
8278         * makefile.w32-in (WINS_BASIC): Include new directory vc.
8280         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
8282 2010-06-11  Juri Linkov  <juri@jurta.org>
8284         * finder.el (finder-known-keywords): Add keyword "vc"
8285         for version control.
8287         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
8288         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
8289         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
8290         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
8292 2010-06-11  Juri Linkov  <juri@jurta.org>
8294         Move version control related files to the "vc" subdirectory.
8295         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
8296         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
8297         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
8298         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
8299         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
8300         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
8301         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
8302         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
8303         Move files to the "vc" subdirectory.
8305 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
8307         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
8308         (Bug#6367).
8310 2010-06-11  Stephen Eglen  <stephen@gnu.org>
8312         * shell.el: Bind `shell-resync-dirs' to M-RET.
8314 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
8316         * notifications.el: Move file from lisp/net, because it is
8317         supposed to talk locally to the user.
8319 2010-06-10  Julien Danjou  <julien@danjou.info>
8321         * net/notifications.el (notifications-on-action-signal)
8322         (notifications-on-closed-signal): Pass notification id as first
8323         argument to the callback functions.  Add docstrings.
8324         (notifications-notify): Fix docstring.
8326 2010-06-10  Glenn Morris  <rgm@gnu.org>
8328         * emacs-lisp/authors.el (authors-ignored-files)
8329         (authors-valid-file-names): Add some files.
8331 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8333         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
8334         merge conflict, giving preference to the emacs-23 version of the code.
8336 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8338         * emacs-lisp/advice.el (ad-compile-function):
8339         Define warning-suppress-types before we let-bind it (bug#6275).
8341         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
8342         declare it, make it buffer-local and permanent-local (bug#6324).
8343         (vc-resynch-window): Adjust name.
8344         * vc-hooks.el (vc-find-file-hook): Adjust name.
8346 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
8348         * net/notifications.el (notifications-notify): Fix docstring.
8350 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
8352         Update to Unicode 6.0.0 beta.
8353         * international/charprop.el: Update copyright.
8354         * international/mule-cmds.el (ucs-names): Update character ranges.
8355         * international/uni-bidi.el:
8356         * international/uni-category.el:
8357         * international/uni-combining.el:
8358         * international/uni-comment.el:
8359         * international/uni-decimal.el:
8360         * international/uni-decomposition.el:
8361         * international/uni-digit.el:
8362         * international/uni-lowercase.el:
8363         * international/uni-mirrored.el:
8364         * international/uni-name.el:
8365         * international/uni-numeric.el:
8366         * international/uni-old-name.el:
8367         * international/uni-titlecase.el:
8368         * international/uni-uppercase.el: Regenerate.
8370 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
8372         * emacs-lisp/smie.el (comment-string-strip): Declare function.
8373         (smie-precs-precedence-table): Fix typo in docstring.
8375         * vc-mtn.el (log-edit-extract-headers): Declare function.
8377         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
8379         * net/notifications.el (dbus-register-signal): Declare function.
8380         (notifications-notify): Fix typos and reflow docstring.
8382 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
8384         Improve VC create/retrieve tag/branch.
8385         * vc.el (vc-create-tag): Do not read the directory name for VCs
8386         with repository revision granularity.  Adjust the tag/branch
8387         prompt.  Reset VC properties.
8388         (vc-retrieve-tag): Do not read the directory name for VCs
8389         with repository revision granularity.  Reset VC properties.
8391 2010-06-09  Julien Danjou  <julien@danjou.info>
8393         * net/notifications.el: New file.
8395 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
8397         Add optional support for resetting VC properties.
8398         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
8399         call vc-file-clearprops when true.
8400         (vc-resynch-buffer): Add new optional argument, pass it down.
8401         (vc-resynch-buffers-in-directory): Likewise.
8403         Improve support for special markup in the VC commit message.
8404         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
8405         * vc-hg.el (vc-hg-checkin): Add support for Date:.
8406         * vc-git.el (vc-git-checkin):
8407         * vc-bzr.el (vc-bzr-checkin): Likewise.
8409 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8411         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
8412         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
8414 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
8416         * iimage.el: Remove images as soon as the underlying text is modified.
8417         (iimage-modification-hook): New function.
8418         (iimage-mode-buffer): Use it.
8420 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8422         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
8423         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
8424         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
8425         (smie-indent-keyword): Add handling of open-paren keywords.
8426         (smie-indent-comment-continue): Don't assume comment-continue.
8428 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
8430         * window.el (pop-to-buffer): Remove the conditional that
8431         compares new-window and old-window, so it will reselect
8432         the selected window unconditionally.
8433         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
8435 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8437         * emacs-lisp/smie.el (smie-indent-offset-after)
8438         (smie-indent-forward-token, smie-indent-backward-token): New functions.
8439         (smie-indent-after-keyword): Use them.
8440         (smie-indent-fixindent): Only applies to the indentation of the BOL.
8441         (smie-indent-keyword): Tweak the black magic.
8442         (smie-indent-comment-continue): Strip comment-continue before use.
8443         (smie-indent-functions): Indent comments before keywords.
8445 2010-06-06  Juri Linkov  <juri@jurta.org>
8447         * isearch.el (isearch-lazy-highlight-search): Fix looping
8448         by checking for empty match.  This syncs this loop with the
8449         similar loop in `isearch-search'.  (Bug#6362)
8451 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
8453         * net/dbus.el (dbus-register-method): Declare function.
8454         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
8455         (dbus-introspect): Doc fix.
8456         (dbus-event-bus-name, dbus-introspect-get-interface)
8457         (dbus-introspect-get-argument): Reflow docstrings.
8459 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
8461         vc-log-incoming/vc-log-outgoing fixes for Git.
8462         * vc-git.el (vc-git-log-view-mode): Fix font lock for
8463         incoming/outgoing logs.
8464         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
8465         instead of vc-git-compute-remote.
8466         (vc-git-compute-remote): Remove.
8468 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
8470         * term/common-win.el (x-colors): Add "dark green" and "dark
8471         turquoise" (Bug#6332).
8473 2010-06-04  Juri Linkov  <juri@jurta.org>
8475         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
8476         Instead of setting `replace' to t and replacing the same string
8477         with itself, don't do certain actions when
8478         kill-do-not-save-duplicates is non-nil and string is equal to car
8479         of kill-ring: don't call menu-bar-update-yank-menu, don't push
8480         interprogram-paste strings to kill-ring, and don't push the input
8481         argument `string' to kill-ring.
8482         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
8484 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
8486         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
8488 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
8490         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
8491         (tramp-gvfs-handler-mounted-unmounted)
8492         (tramp-gvfs-connection-mounted-p): Handle default-location.
8494         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
8495         move files to trash.
8497 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
8499         * international/mule-cmds.el (nonascii-insert-offset)
8500         (nonascii-translation-table): Add obsolescence information.
8502         * international/mule.el (make-translation-table-from-vector): Doc fix.
8504 2010-06-03  Glenn Morris  <rgm@gnu.org>
8506         * desktop.el (desktop-clear-preserve-buffers):
8507         Add "*Warnings*" buffer.  (Bug#6336)
8509 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
8511         vc-log-incoming/vc-log-outgoing improvements for Git.
8512         * vc-git.el (vc-git-log-outgoing): Use the same format as the
8513         short log.
8514         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
8516         Add bindings for vc-log-incoming and vc-log-outgoing.
8517         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
8518         and vc-log-outgoing.
8519         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
8520         and vc-log-outgoing.
8522 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
8524         * net/rcirc.el (rcirc-sort-nicknames): Remove.
8525         (rcirc-handler-366): Always sort nicknames.
8527 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
8529         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
8531 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
8533         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
8535 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8537         * net/rcirc.el (rcirc-sort-nicknames): Change default.
8538         (rcirc-sort-nicknames-join): Avoid setq.
8540 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
8542         * net/rcirc.el (rcirc-sort-nicknames): New custom.
8543         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
8544         (rcirc-handler-366): Use them.
8546 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8548         Split smie-indent-calculate into more manageable chunks.
8549         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
8550         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
8551         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
8552         (smie-indent-exps): Extract from smie-indent-calculate.
8553         (smie-indent-functions): New var.
8554         (smie-indent-functions): Use them.
8556 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8558         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
8559         (smie-indent-calculate): Simplify and cleanup.
8561 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
8563         * net/tramp-gvfs.el (top): Require url-util.
8564         (tramp-gvfs-mount-point): Remove.
8565         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
8566         New defuns.
8567         (with-tramp-dbus-call-method): Format trace message.
8568         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
8569         Implement backup call, when operation on local files fails.
8570         Use progress reporter.  Flush properties of changed files.
8571         (tramp-gvfs-handle-make-directory): Make more traces.
8572         (tramp-gvfs-url-file-name): Hexify file name in url.
8573         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
8574         into account for the resulting file name.
8575         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
8576         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
8577         (tramp-gvfs-handler-mounted-unmounted)
8578         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
8579         attribute "default_location".  Set "prefix" property.
8580         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
8581         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
8582         exists.  Raise an error, if not (due to a corresponding answer
8583         "no" in interactive questions, for example).
8585 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
8587         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
8589 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
8591         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
8592         right-*.  (Bug#6265)
8594 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
8596         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
8597         * vc-git.el (vc-git-compute-remote): New function.
8598         (vc-git-log-outgoing): Use it instead of hard coding a value.
8599         (vc-git-log-incoming): New function.
8601         Improve state updating for VC tag commands.
8602         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
8603         to update the state of all buffers in the directory.
8605         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
8607 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8609         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
8610         `file-directory-p' to the filename part rather than to the whole text.
8612 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8614         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
8616 2010-05-31  Drew Adams  <drew.adams@oracle.com>
8618         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
8620 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
8622         * subr.el (momentary-string-display): Just use read-event to read
8623         the exit event (Bug#6238).
8625 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
8627         * international/mule.el (define-coding-system): Doc fix (bug#6313).
8629 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
8631         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
8632         Suggested by Eli Zaretskii <eliz@gnu.org>.
8634 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8636         * minibuffer.el (completion-file-name-table): Don't return a boundary
8637         past the end of `string' (bug#6299).
8638         (completion--file-name-table): Delegate to completion-file-name-table
8639         for the `boundaries' case.
8641 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
8643         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
8644         movement commands.
8646         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
8647         `path-separator', but maintain compatibility with Emacs 20.2.
8649 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
8651         * server.el (server-process-filter): Receive parent-id argument
8652         from emacsclient.
8653         (server-create-window-system-frame): New arg.  Pass parent-id as
8654         frame parameter.
8656 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
8658         Bidi-sensitive word movement with arrow keys.
8659         * subr.el (right-arrow-command, left-arrow-command): Move to
8660         bindings.el.
8662         * bindings.el (right-char, left-char): Move from subr.el and
8663         rename from right-arrow-command and left-arrow-command.
8664         (right-word, left-word): New functions.
8665         (global-map) <right>: Bind to right-char.
8666         (global-map) <left>: Bind to left-char.
8667         (global-map) <C-right>: Bind to right-word.
8668         (global-map) <C-left>: Bind to left-word.
8670         * ls-lisp.el (ls-lisp-classify-file): New function.
8671         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
8672         (ls-lisp-classify): Call ls-lisp-classify-file.
8673         (insert-directory): Remove blanks from switches.
8675 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
8677         * ansi-color.el: Delete unused escape sequences (Bug#6085).
8678         (ansi-color-drop-regexp): New constant.
8679         (ansi-color-apply, ansi-color-filter-region)
8680         (ansi-color-apply-on-region): Delete unrecognized control sequences.
8681         (ansi-color-apply): Build string list before calling concat.
8683 2010-05-28  Juri Linkov  <juri@jurta.org>
8685         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8686         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
8687         (Bug#5270)
8689 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
8691         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
8692         to ignored backtrace functions.
8693         (with-progress-reporter): Expand docstring.
8694         (tramp-handle-delete-file): Implement TRASH argument.
8695         (tramp-get-remote-trash): New defun.
8697 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
8699         * net/tramp-compat.el (tramp-compat-delete-file):
8700         Use `symbol-value' for backward compatibility.
8702         * net/tramp.el (tramp-handle-make-symbolic-link)
8703         (tramp-handle-load)
8704         (tramp-do-copy-or-rename-file-via-buffer)
8705         (tramp-do-copy-or-rename-file-directly)
8706         (tramp-do-copy-or-rename-file-out-of-band)
8707         (tramp-handle-process-file, tramp-handle-call-process-region)
8708         (tramp-handle-shell-command, tramp-handle-file-local-copy)
8709         (tramp-handle-insert-file-contents, tramp-handle-write-region)
8710         (tramp-delete-temp-file-function): Use `delete-file' instead
8711         of `tramp-compat-delete-file'.
8713         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8714         (tramp-fish-handle-make-symbolic-link)
8715         (tramp-fish-handle-process-file): Use `delete-file' instead
8716         of `tramp-compat-delete-file'.
8718         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8719         Use `delete-file' instead of `tramp-compat-delete-file'.
8721         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8722         (tramp-gvfs-handle-write-region): Use `delete-file' instead of
8723         `tramp-compat-delete-file'.
8725         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
8726         Use `delete-file' instead of `tramp-compat-delete-file'.
8728         * net/tramp-smb.el (tramp-smb-handle-copy-file)
8729         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8730         (tramp-smb-handle-write-region): Use `delete-file' instead of
8731         `tramp-compat-delete-file'.
8732         (tramp-smb-handle-delete-directory): Use 'trash as arg.
8734 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
8736         * dired.el (dired-delete-file): New arg TRASH.
8737         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
8738         (dired-do-flagged-delete, dired-do-delete): Use trash.
8740         * speedbar.el (speedbar-item-delete): Allow trashing.
8742         * files.el (delete-directory): New arg TRASH.
8744         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
8745         (ange-ftp-rename-remote-to-remote)
8746         (ange-ftp-rename-local-to-remote)
8747         (ange-ftp-rename-remote-to-local, ange-ftp-load)
8748         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
8749         `delete-file'.
8750         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
8751         allow trashing.
8753         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
8754         handle new TRASH arg of `delete-file'.
8756         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
8757         (tramp-handle-make-symbolic-link, tramp-handle-load)
8758         (tramp-do-copy-or-rename-file-via-buffer)
8759         (tramp-do-copy-or-rename-file-directly)
8760         (tramp-do-copy-or-rename-file-out-of-band)
8761         (tramp-handle-process-file, tramp-handle-call-process-region)
8762         (tramp-handle-shell-command, tramp-handle-file-local-copy)
8763         (tramp-handle-insert-file-contents, tramp-handle-write-region)
8764         (tramp-delete-temp-file-function): Use null TRASH arg in
8765         tramp-compat-delete-file call.
8767         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8768         (tramp-fish-handle-delete-file)
8769         (tramp-fish-handle-make-symbolic-link)
8770         (tramp-fish-handle-process-file): Use null TRASH arg in
8771         `tramp-compat-delete-file' call.
8773         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
8774         arg in `tramp-compat-delete-file' call.
8776         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8777         (tramp-gvfs-handle-write-region): Use null TRASH arg in
8778         `tramp-compat-delete-file' call.
8780         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
8781         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
8782         `tramp-compat-delete-file' call.
8784         * net/tramp-smb.el (tramp-smb-handle-copy-file)
8785         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8786         (tramp-smb-handle-write-region): Use null TRASH arg in
8787         tramp-compat-delete-file call.
8788         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
8789         (tramp-smb-handle-delete-file): Rename arg.
8791         * diff.el (diff-sentinel):
8792         * epg.el (epg--make-temp-file, epg-decrypt-string)
8793         (epg-verify-string, epg-sign-string, epg-encrypt-string):
8794         * jka-compr.el (jka-compr-partial-uncompress)
8795         (jka-compr-call-process, jka-compr-write-region):
8796         * server.el (server-sentinel): Remove optional arg from
8797         delete-file, reverting 2010-05-03 change.
8799 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
8801         * progmodes/verilog-mode.el (verilog-type-font-keywords):
8802         Use font-lock-constant-face, not obsolete font-lock-reference-face.
8804 2010-05-27  Kenichi Handa  <handa@m17n.org>
8806         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
8807         element of GSTRING is nil.
8809 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8811         * emacs-lisp/smie.el (smie-forward-token-function)
8812         (smie-backward-token-function): New vars.
8813         (smie-backward-sexp, smie-forward-sexp)
8814         (smie-indent-hanging-p, smie-indent-calculate): Use them.
8815         (smie-default-backward-token): Rename from smie-backward-token and
8816         skip comments.
8817         (smie-default-forward-token): Rename from smie-forward-token and
8818         skip comments.
8819         (smie-next-sexp): Handle nil results from next-token.
8820         (smie-indent-calculate): Add a new case for special `fixindent' comments.
8822 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
8824         * progmodes/verilog-mode.el (verilog-type-font-keywords):
8825         Use font-lock-constant-face, not obsolete font-lock-reference-face.
8827 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
8829         * htmlfontify.el (hfy-face-resolve-face): New function.
8830         (hfy-face-to-style): Use it (Bug#6279).
8832 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8834         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
8835         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
8837 2010-05-26  Glenn Morris  <rgm@gnu.org>
8839         * emulation/edt.el (edt-load-keys): Use locate-library.
8841 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
8843         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
8844         (log-edit-changelog-entries): Doc fix.
8845         (log-edit-changelog-insert-entries): Args changed.
8846         Rename relative filenames in ChangeLog entries.  Delete tabs.
8847         (log-edit-insert-changelog-entries): Reorganize return value of
8848         `log-edit-changelog-entries' to pass filenames to
8849         log-edit-changelog-insert-entries.
8851 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8853         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
8854         `image-dired-dired-insert-marked-thumbs' to
8855         `image-dired-dired-toggle-marked-thumbs'.
8857         * image-dired.el: Require cl when compiling.
8858         (image-dired-dired-toggle-marked-thumbs): Rename from
8859         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
8860         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
8861         to 'no-dir.  Skip files whose names don't match
8862         `image-file-name-regexp'.  When file has a thumbnail overlay,
8863         delete it.  (Bug#5270)
8865 2010-05-25  Juri Linkov  <juri@jurta.org>
8867         * image-mode.el (image-mode): Add image-after-revert-hook to
8868         after-revert-hook.
8869         (image-after-revert-hook): New function.  (Bug#5669)
8871 2010-05-25  Juri Linkov  <juri@jurta.org>
8873         * image.el (image-animated-p): When delay between animated images
8874         is 0, set it to 10 (0.1 sec).  (Bug#6258)
8876 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
8878         * net/tramp.el (tramp-handle-insert-directory): Don't use
8879         `forward-word', its default syntax could be changed.
8881 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
8883         * net/tramp.el (tramp-progress-reporter-update): New defun.
8884         (with-progress-reporter): Use it.
8885         (tramp-process-actions):
8886         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
8887         Preserve current message, in order to let progress reporter continue
8888         afterwards.  (Bug#6257)
8890 2010-05-25  Glenn Morris  <rgm@gnu.org>
8892         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
8893         Add :version.
8895 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
8897         * net/rcirc.el (rcirc-default-user-name): Change to "user".
8898         (rcirc-default-full-name): Change to "unknown".
8899         (rcirc-user-name-history): Add variable.
8901 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
8902             Jonathan Rockway  <jon@jrock.us>
8904         * net/rcirc.el (rcirc-server-alist): Add :pass.
8905         (rcirc): When prompting for connection parameters, also prompt for
8906         username and password.
8907         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
8908         value to server when connecting.
8910 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8912         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
8913         (smie-merge-prec2s): Pass the tables as separate args.
8914         (smie-bnf-precedence-table): Adjust call accordingly.
8915         (smie-prec2-levels): Set levels at the end.
8917         Replace Lisp calls to delete-backward-char by delete-char.
8918         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
8919         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
8920         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
8921         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
8922         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
8923         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
8924         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
8925         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
8926         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
8927         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
8928         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
8929         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
8930         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
8931         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
8932         delete-backward-char by calls to delete-char.
8934 2010-05-25  Kenichi Handa  <handa@m17n.org>
8936         * language/hebrew.el (hebrew-shape-gstring): New function.
8937         Register it in composition-function-table for all Hebrew combining
8938         characters.
8940 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8942         * epa.el (epa--select-keys): Don't explicitly delete the window since
8943         that can fail (e.g. sole window in frame).  Use dedication instead.
8945 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
8947         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
8949 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
8951         * image.el (image-refresh): Define as an alias for image-flush.
8953         * image-mode.el (image-toggle-display-image): Caller changed.
8955 2010-05-21  Juri Linkov  <juri@jurta.org>
8957         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
8958         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
8959         whitespace, call wildcard-to-regexp on substrings and concat them
8960         with "\\|".  (Bug#6114)
8962 2010-05-21  Alan Mackenzie  <acm@muc.de>
8964         * progmodes/cc-engine.el (c-parse-state-get-strategy):
8965         Replace parameter `here' with `here-' and `here-plus', which sandwich
8966         any pertinent CPP construct.
8967         (c-remove-stale-state-cache-backwards): Fix a bug which happens
8968         when doing (c-parse-state) in a CPP construct: Exclude any "new"
8969         CPP construct from taking part in the scanning.
8971 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
8973         * net/tramp.el (tramp-do-copy-or-rename-file)
8974         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
8975         Tune `with-progress-reporter' messages.
8976         (tramp-handle-vc-registered):
8977         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
8978         (tramp-fish-handle-insert-file-contents)
8979         (tramp-fish-maybe-open-connection):
8980         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8981         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
8982         (tramp-imap-handle-insert-file-contents)
8983         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
8985 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
8987         * add-log.el (change-log-font-lock-keywords):
8988         Highlight all authors in multi-author entries.
8990         * smerge-mode.el (smerge-refine-ignore-whitespace)
8991         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
8992         Fix typos in docstrings.
8993         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
8995 2010-05-21  Glenn Morris  <rgm@gnu.org>
8997         * progmodes/fortran.el (fortran-mode):
8998         * progmodes/f90.el (f90-mode): Derive from prog-mode.
9000         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
9001         having a relative path in src/Makefile.in.
9003 2010-05-20  Kevin Ryde  <user42@zip.com.au>
9005         * help-mode.el (help-make-xrefs): For Info node links turn
9006         newlines into spaces.  Link node names with newlines are matched
9007         by help-xref-info-regexp and buttonized, this change ensures they
9008         can be followed successfully with RET.  (Bug#6206)
9010 2010-05-20  Juri Linkov  <juri@jurta.org>
9012         * locate.el (locate): Use pop-to-buffer instead of
9013         switch-to-buffer-other-window.  (Bug#6204)
9015 2010-05-20  Juri Linkov  <juri@jurta.org>
9017         * replace.el (replace-highlight): Fix lazy-highlighting
9018         for `M-s w str M-% str RET'.
9020 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
9022         * isearch.el (isearch-yank-word-or-char): Pull next subword
9023         when `subword-mode' is activated.  (Bug#6220)
9025 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
9027         * isearch.el (isearch-update-post-hook): New hook.
9028         (isearch-update): Use the new hook.  (Bug#6225)
9030 2010-05-20  Juri Linkov  <juri@jurta.org>
9032         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
9033         [f1], [help], and (char-to-string help-char) instead of "\C-h".
9034         (Bug#6222)
9036 2010-05-20  Juri Linkov  <juri@jurta.org>
9038         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
9039         (Bug#6223)
9041 2010-05-20  Juri Linkov  <juri@jurta.org>
9043         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
9044         FILE-NAME to read from the minibuffer when called interactively
9045         with prefix argument instead of using buffer-file-name.
9046         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
9048         * dired.el: Update autoloads.
9050 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
9052         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
9053         nxml-finish-element, for consistency with SGML mode.
9055         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
9056         octave-close-block.
9058 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
9060         * composite.el: Require cl when compiling.
9061         (reference-point-alist, compose-gstring-for-graphic)
9062         (compose-gstring-for-terminal): Fix typos in docstrings.
9064 2010-05-19  Juri Linkov  <juri@jurta.org>
9066         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
9067         set-window-parameter.
9069 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
9071         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
9072         where appropriate.
9073         (tramp-maybe-open-connection): Use it.
9075 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
9077         * simple.el (move-end-of-line): Make sure we are at line beginning
9078         before backing up to end of previous line.
9080 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
9082         * password-cache.el (password-cache-remove): Fix docstring.
9084         * net/secrets.el: Autoload the widget functions.
9085         (secrets-search-items, secrets-create-item)
9086         (secrets-get-attributes, secrets-expand-item): Attributes will be
9087         stored on the password database without leading ":", as all other
9088         clients do as well.
9089         (secrets-mode): Fix docstring.
9090         (secrets-show-secrets): Provide it as autoloaded command only when
9091         D-Bus support is available.  Check existence of Secret Service API.
9093 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9095         * indent.el (indent-region): Deactivate region (bug#6200).
9097 2010-05-19  Glenn Morris  <rgm@gnu.org>
9099         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
9101 2010-05-19  Kenichi Handa  <handa@m17n.org>
9103         * composite.el: Register compose-gstring-for-graphic in
9104         composition-function-table only for combining characters (Mn, Mc, Me).
9106 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
9108         * calc/calc-trail.el (calc-trail-isearch-forward)
9109         (calc-trail-isearch-backward): Ensure that the new window
9110         point is set correctly.
9112 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9114         * subr.el (read-quoted-char): Resolve modifiers after key
9115         remapping (bug#6212).
9117 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
9119         Add visualization code for secrets.
9120         * net/secrets.el (secrets-mode): New major mode.
9121         (secrets-show-secrets, secrets-show-collections)
9122         (secrets-expand-collection, secrets-expand-item)
9123         (secrets-tree-widget-after-toggle-function)
9124         (secrets-tree-widget-show-password): New defuns.
9126 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9128         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
9129         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
9130         handled in smie-next-sexp.
9131         (smie-indent-calculate): Provide a starting indentation (so the
9132         recursion is well-founded ;-).
9134         Fix handling of non-associative equal levels.
9135         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
9136         when it's not needed.
9137         (smie-op-left, smie-op-right): New functions.
9138         (smie-next-sexp): New function, extracted from smie-backward-sexp.
9139         Better handle equal levels to distinguish the associative case from
9140         the "multi-keyword construct" case.
9141         (smie-backward-sexp, smie-forward-sexp): Use it.
9143 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
9145         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
9147         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
9148         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
9150 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9152         Provide a simple generic indentation engine and use it for Prolog.
9153         * emacs-lisp/smie.el: New file.
9154         * progmodes/prolog.el (prolog-smie-op-levels)
9155         (prolog-smie-indent-rules): New var.
9156         (prolog-mode-variables): Use them to configure SMIE.
9157         (prolog-indent-line, prolog-indent-level): Remove.
9159 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
9161         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
9162         order before computing the averages.
9164 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
9166         * calc/calc-vec.el (calc-histogram):
9167         (calcFunc-histogram): Allow vectors as inputs.
9168         (math-vector-avg): New function.
9170         * calc/calc-ext.el (math-group-float): Have the number of digits
9171         being grouped depend on the radix (Bug#6189).
9173 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
9175         * version.el (emacs-copyright, emacs-version): Don't define here,
9176         now that emacs.c defines it.
9178 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
9180         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
9181         "Describe Language Environment" menu item.
9183         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
9185         Bidi-sensitive movement with arrow keys.
9186         * subr.el (right-arrow-command, left-arrow-command): New functions.
9188         * bindings.el (global-map): Bind them to right and left arrow keys.
9190         Don't override standard definition of convert-standard-filename.
9191         * files.el (convert-standard-filename):
9192         Call w32-convert-standard-filename and dos-convert-standard-filename on
9193         the corresponding systems.
9195         * w32-fns.el (w32-convert-standard-filename): Rename from
9196         convert-standard-filename.  Doc fix.
9198         * dos-fns.el (dos-convert-standard-filename): Doc fix.
9199         (convert-standard-filename): Don't defalias.
9200         (register-name-alist, make-register, register-value)
9201         (set-register-value, intdos): Obsolete aliases for the
9202         corresponding dos-* functions and variables.
9203         (dos-intdos): Add a doc string.
9205 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
9207         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
9208         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
9209         (math-compose-tex-func):
9210         * calc/calccomp.el (math-compose-expr):
9211         * calc/calc-ext.el (math-format-flat-expr-fancy):
9212         * calc/calc-store.el (calc-read-var-name):
9213         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
9215         * calc/calc.el (var-π, var-φ, var-γ): New variables.
9216         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
9217         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
9218         (math-standard-units): Add units.
9220 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9222         * progmodes/asm-mode.el (asm-mode):
9223         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
9225         * pcomplete.el (pcomplete-completions-at-point): New function,
9226         extracted from pcomplete-std-complete.
9227         (pcomplete-std-complete): Use it.
9229 2010-05-15  Glenn Morris  <rgm@gnu.org>
9231         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9232         Remove references to CVS, RCS and Old directories.
9234 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
9236         * calc/calc-bin.el (math-format-twos-complement): Group digits when
9237         appropriate.
9239 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9241         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
9242         (sh-mode-syntax-table): Give it a default value instead.
9243         (sh-header-marker): Make buffer-local.
9244         (sh-mode): Move make-local-variable to the corresponding setq.
9245         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
9246         Use complete-with-action.
9248         * simple.el (prog-mode): New (abstract) major mode.
9249         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
9250         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
9252 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
9254         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
9255         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
9256         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
9257         (sql-make-alternate-buffer-name, sql-placeholders-filter)
9258         (sql-escape-newlines-filter, sql-input-sender)
9259         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
9261 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
9263         Add TeX open-block and close-block keybindings to SGML, and vice versa.
9265         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
9266         latex-open-block and C-c / to latex-close-block.
9268         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
9269         and C-c C-e to sgml-close-tag.
9271 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
9273         * net/tramp.el (with-progress-reporter): Create reporter object
9274         only when the message would be displayed.  Handle nested calls.
9275         (tramp-handle-load, tramp-handle-file-local-copy)
9276         (tramp-handle-insert-file-contents, tramp-handle-write-region)
9277         (tramp-maybe-send-script, tramp-find-shell):
9278         Use `with-progress-reporter'.
9279         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
9280         Fix message text.
9282         * net/tramp-smb.el (tramp-smb-handle-copy-file)
9283         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9284         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
9285         Use `with-progress-reporter'.
9287 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
9289         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
9290         process everytime when spellchecking from the minibuffer (bug#6143).
9292 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9294         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
9296         * dos-fns.el: Add "dos-" prefix for namespace control.
9297         (convert-standard-filename): Define as alias for
9298         dos-convert-standard-filename but only if applicable.
9300 2010-05-12  Alan Mackenzie  <acm@muc.de>
9302         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
9303         Push the mark at the start of these functions when appropriate.
9305 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9307         * minibuffer.el (completion-cycle-threshold): New custom var.
9308         (completion--do-completion): Use it.
9309         (minibuffer-complete): Use cycling if appropriate.
9311 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
9313         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
9314         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
9316 2010-05-11  Juri Linkov  <juri@jurta.org>
9318         * scroll-all.el (scroll-all-check-to-scroll):
9319         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
9321 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9323         * iimage.el (iimage-mode-map): Move initialization into declaration.
9324         (iimage-mode-buffer): Use with-silent-modifications.
9325         Simplify calling convention.  Adjust callers.
9326         (iimage-mode): Don't run hook redundantly.
9328         * minibuffer.el (completion-pcm--pattern->regex):
9329         Fix last change (bug#6160).
9331 2010-05-10  Juri Linkov  <juri@jurta.org>
9333         Remove nodes visited during Isearch from the Info history.
9334         * info.el (Info-isearch-initial-history)
9335         (Info-isearch-initial-history-list): New variables.
9336         (Info-isearch-start): Record initial values of
9337         Info-isearch-initial-history and Info-isearch-initial-history-list.
9338         Add Info-isearch-end to isearch-mode-end-hook.
9339         (Info-isearch-end): New function.
9341 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
9343         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
9344         format string, in order to work around a bug in pdksh.
9345         Reported by Gilles Pion <gpion@lfdj.com>.
9346         (tramp-handle-verify-visited-file-modtime): Do not send a command
9347         when the connection is not established.
9348         (tramp-handle-set-file-times): Simplify the check for utc.
9350 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
9352         Fix use of `filter-buffer-substring' (rework previous change).
9353         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
9354         (cua-repeat-replace-region):
9355         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
9356         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9357         (cua-cut-region-to-global-mark): Use it.
9359 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
9361         * progmodes/sql.el: Version 2.1.
9362         (sql-product-alist): Redesign structure of product info.
9363         (sql-product, sql-user, sql-server, sql-database): Safe variables.
9364         (sql-port, sql-port-history): New variables.
9365         (sql-interactive-product): New variable.
9366         (sql-send-terminator): New variable.
9367         (sql-imenu-generic-expression): Add "Types" imenu entry.
9368         (sql-oracle-login-params, sql-sqlite-login-params)
9369         (sql-mysql-login-params, sql-solid-login-params)
9370         (sql-sybase-login-params, sql-informix-login-params)
9371         (sql-ingres-login-params, sql-ms-login-params)
9372         (sql-postgres-login-params, sql-interbase-login-params)
9373         (sql-db2-login-params, sql-linter-login-params)
9374         (sql-oracle-scan-on): New variables.
9375         (sql-mode-map): Add C-c C-i to start interactive mode.
9376         (sql-mode-menu): Update existing menu entries.
9377         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
9378         (sql-mode-oracle-font-lock-keywords)
9379         (sql-mode-postgres-font-lock-keywords)
9380         (sql-mode-ms-font-lock-keywords)
9381         (sql-mode-sybase-font-lock-keywords)
9382         (sql-mode-informix-font-lock-keywords)
9383         (sql-mode-interbase-font-lock-keywords)
9384         (sql-mode-ingres-font-lock-keywords)
9385         (sql-mode-solid-font-lock-keywords)
9386         (sql-mode-mysql-font-lock-keywords)
9387         (sql-mode-sqlite-font-lock-keywords)
9388         (sql-mode-db2-font-lock-keywords)
9389         (sql-mode-linter-font-lock-keywords): Update initialization to
9390         reduce run-time complexity.
9391         (sql-add-product, sql-del-product): New functions.
9392         (sql-set-product-feature, sql-get-product-feature): New functions.
9393         (sql-product-font-lock): Update product API.
9394         (sql-add-product-keywords): New function.
9395         (sql-highlight-product): Update product API.
9396         (sql-help-list-products): New function.
9397         (sql-help): Dynamically lists free and non-free products.
9398         (sql-get-login): Correct bug in handling history and added
9399         prompt for port.
9400         (sql-copy-column): Copy without properties.
9401         (sqli-input-sender): Apply filters to SQLi input.
9402         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
9403         Implement as a filter.
9404         (sql-escape-newlines-filter): Implement as a filter.
9405         (sql-remove-tabs-filter): New function.
9406         (sql-send-magic-terminator): New function.
9407         (sql-send-string): Implement magic terminator.
9408         (sql-send-region): Use `sql-send-string'.
9409         (sql-interactive-mode): Use product API.
9410         (sql-product-interactive): Use product API.
9411         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
9412         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
9413         (sql-db2, sql-linter): Use `sql-product-interactive'.
9414         (sql-connect): New function.
9415         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
9416         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
9417         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
9418         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
9419         Use `sql-connect'.
9421 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9423         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
9424         New custom variable.
9425         (completion-pcm--string->pattern): Use it.
9426         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
9427         Make it handle any symbol as `any'.
9428         (completion-pcm--merge-completions): Extract common suffix for the new
9429         `prefix' symbol as well.
9430         (completion-substring--all-completions): Use the new `prefix' symbol.
9432 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
9434         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
9435         not bound.
9436         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
9437         (tramp-compat-funcall): New defmacro.
9438         (tramp-compat-line-beginning-position)
9439         (tramp-compat-line-end-position)
9440         (tramp-compat-temporary-file-directory)
9441         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
9442         (tramp-compat-copy-file, tramp-compat-copy-directory)
9443         (tramp-compat-delete-file, tramp-compat-delete-directory)
9444         (tramp-compat-number-sequence, tramp-compat-process-running-p)
9445         * net/tramp.el (top, with-progress-reporter)
9446         (tramp-rfn-eshadow-setup-minibuffer)
9447         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
9448         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
9449         (tramp-completion-mode-p, tramp-check-for-regexp)
9450         (tramp-open-connection-setup-interactive-shell)
9451         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
9452         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
9453         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
9454         * net/tramp-cmds.el (tramp-cleanup-all-connections)
9455         (tramp-reporter-dump-variable, tramp-load-report-modules)
9456         (tramp-append-tramp-buffers)
9457         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
9459         * net/tramp-imap.el (top): Autoload `epg-make-context'.
9461 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9463         * progmodes/compile.el (compilation-buffer-modtime): Rename from
9464         buffer-modtime.  Adjust users.
9466 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
9468         * international/mule.el (auto-coding-alist): Only purecopy
9469         car of each item, not the whole list (Bug#6083).
9471 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
9473         * progmodes/js.el (js-mode): Make paragraph variables local before
9474         calling c-setup-paragraph-variables (Bug#6071).
9476 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
9478         * composite.el (compose-region, reference-point-alist): Fix typos
9479         in the doc strings.
9481 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
9483         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
9484         gnuplot's "set" command.
9486 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
9488         * abbrev.el (last-abbrev-text): Doc fix.
9489         (abbrev-prefix-mark): Don't escape parenthesis.
9491 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
9493         * composite.el (find-composition): Doc fix.
9495 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
9497         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
9498         (sql-oracle-program, sql-sqlite-options)
9499         (sql-query-placeholders-and-send): Doc fixes.
9500         (sql-set-product, sql-interactive-mode): Reflow docstrings.
9501         (sql-imenu-generic-expression, sql-buffer)
9502         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
9503         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
9504         (sql-mode-sybase-font-lock-keywords)
9505         (sql-mode-informix-font-lock-keywords)
9506         (sql-mode-interbase-font-lock-keywords)
9507         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
9508         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
9509         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
9510         (sql-product-feature, sql-highlight-product)
9511         (comint-line-beginning-position, sql-rename-buffer)
9512         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
9513         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
9514         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
9515         Fix typos in docstrings.
9517 2010-05-08  Juri Linkov  <juri@jurta.org>
9519         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
9520         property instead of `invisible' and `after-string' (bug#5998).
9522 2010-05-08  Juri Linkov  <juri@jurta.org>
9524         * image-mode.el (image-mode-as-text): Fix typo in docstring.
9526 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
9528         * filecache.el (file-cache-add-directory-list)
9529         (file-cache-add-directory-recursively): Fix typos in docstrings.
9531 2010-05-08  Kenichi Handa  <handa@m17n.org>
9533         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
9534         (gujarati-composable-pattern): Fix typo.
9536 2010-05-08  Kenichi Handa  <handa@m17n.org>
9538         * language/indian.el (oriya-composable-pattern)
9539         (tamil-composable-pattern, malayalam-composable-pattern):
9540         Add two-part vowels to "v" (vowel sign).
9542 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
9544         * files.el (copy-directory): Handle symlinks (Bug#5982).
9546 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
9548         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
9549         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
9550         (Bug#5846).
9552 2010-05-08  Glenn Morris  <rgm@gnu.org>
9554         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
9556         * minibuffer.el (completion-at-point): Doc fix.
9558 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9560         * electric.el (Electric-command-loop): Minor tweak.
9562         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
9563         better with dedicated windows.
9565 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
9567         * Version 23.2 released.
9569 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
9570             Stefan Monnier  <monnier@iro.umontreal.ca>
9572         Highlight vendor specific properties.
9573         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
9574         (css-proprietary-property): New face.
9575         (css-font-lock-keywords): Use them.
9577 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
9579         * cus-start.el (all): Add native condition for tool-bar-* symbols.
9581 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9583         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
9584         * files.el (auto-mode-alist): Remove redundant entries.
9586         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
9587         * simple.el (auto-save-mode): Move from files.el.
9588         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
9590 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
9592         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
9594 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
9596         * mail/binhex.el (binhex-decode-region-internal)
9597         * mail/uudecode.el (uudecode-decode-region-internal)
9598         * net/dns.el (dns-read-string-name, dns-write, dns-read)
9599         (dns-read-type, dns-query)
9600         * pgg-parse.el (pgg-parse-armor)
9601         * pgg.el (pgg-verify-region)
9602         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
9603         XEmacs.
9605         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
9607 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
9609         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
9611         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
9612         * emulation/cua-base.el (cua-repeat-replace-region):
9613         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9614         (cua-cut-region-to-global-mark):
9615         Remove text properties with `set-text-properties'.
9617 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
9619         * net/tramp.el (top, with-progress-reporter):
9620         Use `symbol-function' inside `funcall'.
9622         * net/tramp-compat.el (tramp-compat-file-attributes)
9623         (tramp-compat-delete-file, tramp-compat-delete-directory):
9624         Handle only `wrong-number-of-arguments' error.
9626         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
9627         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
9628         inside `funcall'.
9630 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9632         * minibuffer.el (completion--sreverse, completion--common-suffix):
9633         New functions.
9634         (completion-pcm--merge-completions): Extract common suffix when safe.
9636         * emacs-lisp/easy-mmode.el (define-minor-mode):
9637         Make :variable more flexible.
9638         * files.el (auto-save-mode): Use it to define using define-minor-mode.
9640 2010-05-05  Juri Linkov  <juri@jurta.org>
9642         Add `slow' and `history' tags to the desktop data.
9644         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
9645         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
9646         (Info-finder-find-node): Require `finder.el' to be able
9647         to restore node from the desktop.
9648         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
9649         data `Info-history' and `slow' tag in the assoc list.
9650         (Info-restore-desktop-buffer): Don't restore nodes with the
9651         `slow' tag.  Restore `Info-history'.
9653 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
9655         Add FORCE argument to `delete-file'.
9657         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
9658         forcing to delete the temporary file.
9659         (ange-ftp-delete-file): Add FORCE arg.
9660         (ange-ftp-rename-remote-to-remote)
9661         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
9662         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
9663         Force file deletion.
9665         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
9667         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
9668         (tramp-handle-make-symbolic-link, tramp-handle-load)
9669         (tramp-do-copy-or-rename-file-via-buffer)
9670         (tramp-do-copy-or-rename-file-directly)
9671         (tramp-do-copy-or-rename-file-out-of-band)
9672         (tramp-handle-process-file, tramp-handle-call-process-region)
9673         (tramp-handle-shell-command, tramp-handle-file-local-copy)
9674         (tramp-handle-insert-file-contents, tramp-handle-write-region)
9675         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
9677         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
9678         (tramp-fish-handle-make-symbolic-link)
9679         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
9681         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9682         Use `tramp-compat-delete-file'.
9684         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
9685         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
9687         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
9688         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
9690         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
9691         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
9692         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
9693         Use `tramp-compat-delete-file'.
9695 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9697         Minor cleanups.
9698         * subr.el (add-minor-mode): Use push.
9699         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
9700         * emulation/edt.el (edt-select-mode): Simplify.
9702         Use define-minor-mode in more cases.
9703         * term/tvi970.el (tvi970-set-keypad-mode):
9704         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9705         (normal-erase-is-backspace-mode):
9706         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
9707         (set-scroll-bar-mode-1): (Re)move to its sole caller.
9708         (get-scroll-bar-mode): New function.
9709         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
9711         Use define-minor-mode for less obvious cases.
9712         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
9713         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
9714         * international/iso-ascii.el (iso-ascii-mode):
9715         * frame.el (auto-raise-mode, auto-lower-mode):
9716         * composite.el (global-auto-composition-mode): Use define-minor-mode.
9718 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
9720         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
9721         in order to see error messages for failed logins.
9723 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
9725         * diff.el (diff-sentinel):
9727         * epg.el (epg--make-temp-file, epg-decrypt-string)
9728         (epg-verify-string, epg-sign-string, epg-encrypt-string):
9730         * jka-compr.el (jka-compr-partial-uncompress)
9731         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
9733         * server.el (server-sentinel): Use delete-file's new FORCE arg
9734         (Bug#6070).
9736 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9738         Use define-minor-mode where applicable.
9739         * view.el (view-mode):
9740         * type-break.el (type-break-query-mode)
9741         (type-break-mode-line-message-mode):
9742         * textmodes/reftex.el (reftex-mode):
9743         * term/vt100.el (vt100-wide-mode):
9744         * tar-mode.el (tar-subfile-mode):
9745         * savehist.el (savehist-mode):
9746         * ibuf-ext.el (ibuffer-auto-mode):
9747         * composite.el (auto-composition-mode):
9748         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9749         Use define-minor-mode.
9750         (vhdl-mode): Use static mode-line format.
9751         (vhdl-mode-line-update): Delete.
9752         (vhdl-create-mode-menu, vhdl-activate-customizations)
9753         (vhdl-hs-minor-mode): Don't bother calling it.
9755 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9757         * simple.el (with-wrapper-hook): Move.
9758         (buffer-substring-filters): Mark obsolete.
9759         (filter-buffer-substring-functions): New variable.
9760         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
9762 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
9763             Michael Albinus  <michael.albinus@gmx.de>
9765         Implement compression for inline methods.
9767         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
9768         (tramp-copy-size-limit): Allow also nil.
9769         (tramp-inline-compress-commands): New defconst.
9770         (tramp-find-inline-compress, tramp-get-inline-compress)
9771         (tramp-get-inline-coding): New defuns.
9772         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
9773         replaced by `tramp-get-inline-coding'.
9774         (tramp-handle-file-local-copy, tramp-handle-write-region)
9775         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
9777 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9779         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
9780         Remove unused functions.
9782         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
9783         Set find-tag-default-function as a variable rather than a property.
9785         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
9786         * progmodes/etags.el (tags-completion-at-point-function):
9787         Remove left over interactive spec.  Add autoloading stub.
9788         (complete-tag): Use tags-completion-at-point-function.
9790 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
9792         * minibuffer.el (tags-completion-at-point-function): Fix return value.
9794 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
9796         * ido.el (ido-init-completion-maps): Remove C-v binding.
9797         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
9799 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
9801         * minibuffer.el (tags-completion-at-point-function): New function.
9802         (completion-at-point-functions): Use it.
9804         * progmodes/etags.el (complete-tag): Revert last change.
9806 2010-04-29  Alan Mackenzie  <acm@muc.de>
9808         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
9809         off-by-one error (in end of macro position).
9811 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9813         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
9814         firefox is absent.  Don't autoload.
9815         (browse-url-galeon-program): Don't autoload.
9817 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
9819         * bindings.el (complete-symbol): Move into minibuffer.el.
9821         * minibuffer.el (complete-tag): Move from etags.el.  If tags
9822         completion cannot be performed, return nil instead of signalling
9823         an error.
9824         (completion-at-point): Make it an alias for complete-symbol.
9825         (complete-symbol): Move from bindings.el, and replace with the
9826         body of completion-at-point.
9828         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
9830 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
9832         * net/tramp.el (tramp-remote-selinux-p): New defun.
9833         (tramp-handle-file-selinux-context)
9834         (tramp-handle-set-file-selinux-context): Use it.
9836 2010-04-28  Sam Steingold  <sds@gnu.org>
9838         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9839         `safe-local-variable' if the value is a string or a symbol with
9840         the property `bug-reference-url-format'.
9842 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
9844         * progmodes/bug-reference.el (bug-reference-url-format):
9845         Revert 2010-04-27 change due to security risk.
9847 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9849         Make it possible to locally disable a globally enabled mode.
9850         * simple.el (fundamental-mode): Run fundamental-mode-hook.
9851         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
9852         rather than kill-all-local-variables so it runs fundamental-mode-hook.
9853         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9854         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
9855         that subsequent hooks get a chance to disable it.
9857 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9859         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9860         Avoid re-enabling a minor mode after the user turned the minor mode
9861         off if MODE-enable-in-buffers is run twice (typically once from
9862         fundamental-mode's after-change-major-mode-hook and a second time from
9863         run-mode-hook's own after-change-major-mode-hook).
9865         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
9867 2010-04-27  Sam Steingold  <sds@gnu.org>
9869         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9870         `safe-local-variable' if the value is a string or a function, as
9871         documented and implemented on 2010-04-02.
9873 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
9875         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
9876         when method is 'kill.
9878 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
9880         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
9881         condition in default directory check.
9882         (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
9883         Kill ispell process when killing its associated buffer.
9885 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
9887         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
9888         but we aren't using it.
9890 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
9892         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
9893         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
9895 2010-04-24  Glenn Morris  <rgm@gnu.org>
9897         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
9898         Ignore VCS-ignore files, and deleted nextstep preferences files.
9899         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
9900         (authors-ambiguous-files): New list.
9901         (authors-valid-file-names): Add some deleted files.
9902         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
9903         (authors-disambiguate-file-name): New function.  (Bug#5501)
9904         (authors-canonical-file-name): Doc fix.
9905         Don't warn about obsolete files.
9906         (authors-canonical-file-name, authors-scan-el):
9907         Use authors-disambiguate-file-name.
9909         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9910         Add autoload cookies.
9911         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
9912         (generated-autoload-file): Set file-local value to "htmlfontify.el".
9913         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
9914         They have definitions / compiler macros in cl.el.
9915         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9916         Replace manual autoloads with generated ones.
9917         (htmlfontify-unload-rgb-file): Remove autoload.
9918         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
9920 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9922         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
9923         (byte-compile-setq-default): Optimize for the
9924         single-var case and don't call byte-compile-form in this case to avoid
9925         inf-loop with byte-compile-set-default.
9927         * progmodes/compile.el (compilation-start): Abbreviate default directory.
9929 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
9931         Implement SELINUX backends.
9933         * net/tramp.el (tramp-file-name-handler-alist):
9934         Add `file-selinux-context' and `set-file-selinux-context'.
9935         (tramp-handle-file-selinux-context)
9936         (tramp-handle-set-file-selinux-context): New defuns.
9937         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
9938         Handle PRESERVE-SELINUX-CONTEXT.
9940         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9941         Add `file-selinux-context' and `set-file-selinux-context'.
9942         (tramp-gvfs-handle-file-selinux-context)
9943         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
9944         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
9946         * net/ange-ftp.el (ange-ftp-copy-file):
9947         * net/tramp-fish.el (tramp-fish-handle-copy-file):
9948         * net/tramp-imap.el (tramp-imap-handle-copy-file):
9949         * net/tramp-smb.el (tramp-smb-handle-copy-file):
9950         Add PRESERVE-SELINUX-CONTEXT.
9952 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
9954         Synchronize with Tramp repository.
9956         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
9957         (tramp-action-process-alive, tramp-action-out-of-band)
9958         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
9959         (tramp-exists-file-name-handler): Fix docstring.
9960         (with-progress-reporter): New defmacro.
9961         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
9962         (tramp-maybe-open-connection): Use it.
9964 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
9966         Detect ssh 'ControlMaster' argument automatically in some cases.
9968         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
9969         (tramp-default-method): Use it.
9971 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
9973         * net/tramp.el (tramp-handle-copy-file): Add new optional
9974         parameter `preserve-selinux-context'.
9975         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
9977 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
9979         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
9980         Ensure, that non remote files are still checked.  Oops.
9982 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
9984         Fix Bug#5840.
9986         * icomplete.el (icomplete-completions): Use `non-essential'.
9988         * net/tramp.el (tramp-connectable-p): New defun.
9989         (tramp-handle-expand-file-name)
9990         (tramp-completion-handle-file-name-all-completions)
9991         (tramp-completion-handle-file-name-completion): Use it.
9993 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9995         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
9997 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
9999         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
10001         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
10003         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
10004         is present.
10006         * info.el (info-tool-bar-map): Add labels.
10008         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
10010         * cus-edit.el (custom-commands): Add labels for tool bar.
10011         (custom-buffer-create-internal, Custom-mode): Adjust for
10012         labels in custom-commands.
10014         * dynamic-setting.el: Renamed from font-setting.el.
10016 2010-04-21  John Wiegley  <jwiegley@gmail.com>
10018         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
10019         toggles the use of virtual buffers.
10020         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
10021         (ido-toggle-virtual-buffers): New function.
10023 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
10025         Use `define-derived-mode'; fix window selection; doc fixes.
10026         * play/tetris.el (tetris, tetris-update-speed-function)
10027         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
10028         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
10029         (tetris-rotate-next, tetris-end-game, tetris-start-game)
10030         (tetris-pause-game): Fix typos in docstrings.
10031         (tetris-mode-map, tetris-null-map):
10032         Move initialization into declaration.
10033         (tetris-mode): Define with `define-derived-mode';
10034         set show-trailing-whitespace to nil.
10035         (tetris): Prefer window already displaying the "*Tetris*" buffer.
10037 2010-04-21  Karel Klíč  <kklic@redhat.com>
10039         * files.el (backup-buffer): Handle SELinux context, and return it
10040         if a backup was made by renaming.
10041         (backup-buffer-copy): Set SELinux context to the target file.
10042         (basic-save-buffer): Set SELinux context of the newly written file.
10043         (basic-save-buffer-1): Now it also returns any SELinux context.
10044         (basic-save-buffer-2): Set SELinux context of the newly created file,
10045         and return it.
10046         * net/tramp.el (tramp-file-name-for-operation):
10047         Add file-selinux-context.
10049 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10051         Make the log-edit comments use RFC822 format throughout.
10053         * vc.el (vc-checkin, vc-modify-change-comment):
10054         Adjust to new vc-start/finish-logentry.
10055         (vc-find-conflicted-file): New command.
10056         (vc-transfer-file): Adjust to new vc-checkin.
10057         (vc-next-action): Improve scoping.
10059         * vc-hg.el (vc-hg-log-edit-mode): Remove.
10060         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
10062         * vc-git.el (vc-git-log-edit-mode): Remove.
10063         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
10064         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
10066         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
10067         (vc-start-logentry): Remove argument `extra'.
10068         (vc-finish-logentry): Remove extra args.
10070         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
10071         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
10072         (vc-bzr-conflicted-files): New function.
10074         * log-edit.el (log-edit-extra-flags)
10075         (log-edit-before-checkin-process): Remove.
10076         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
10077         (log-edit-headers-alist): New var.
10078         (log-edit-header-contents-regexp): New const.
10079         (log-edit-match-to-eoh): New function.
10080         (log-edit-font-lock-keywords): Use them.
10081         (log-edit): Insert a "Summary:" header as default.
10082         (log-edit-mode): Mark font-lock rules as case-insensitive.
10083         (log-edit-done): Cleanup headers.
10084         (log-view-process-buffer): Remove.
10085         (log-edit-extract-headers): New function to replace it.
10087 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
10089         * subr.el (default-direction-reversed): Remove obsolescence info.
10091 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10093         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
10094         windows/frames.
10096         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
10097         I.e. include text after point in the completion region.
10098         Also, return nil when we're not after/in a symbol.
10100         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
10101         default enable-multibyte-characters.
10103 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10105         * international/mule.el: Help the user choose a valid coding-system.
10106         (read-buffer-file-coding-system): New function.
10107         (set-buffer-file-coding-system): Use it.  Prompt the user if the
10108         coding-system cannot encode all the chars.
10110         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
10111         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
10112         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
10113         Don't use *vc-bzr-shelve*.
10115 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
10117         Fix the version number for added files.
10118         * vc-hg.el (vc-hg-working-revision): Check if the file is
10119         registered after hg parent fails (Bug#5961).
10121 2010-04-19  Glenn Morris  <rgm@gnu.org>
10123         * htmlfontify.el (htmlfontify-buffer)
10124         (htmlfontify-copy-and-link-dir): Autoload entry points.
10126 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
10128         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
10129         name relative to the project root (Bug#5960).
10131 2010-04-19  Glenn Morris  <rgm@gnu.org>
10133         * vc-git.el (vc-git-print-log): Doc fix.
10135 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
10137         * ido.el (ido-file-internal): Fix 2009-12-02 change.
10139 2010-04-19  Christoph  <cschol2112@googlemail.com>  (tiny change)
10141         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
10142         default settings (Bug#5928).
10144 2010-04-19  Glenn Morris  <rgm@gnu.org>
10146         * progmodes/fortran.el (fortran-match-and-skip-declaration):
10147         New function.
10148         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
10150 2010-04-19  Kenichi Handa  <handa@m17n.org>
10152         * language/indian.el (malayalam-composable-pattern): Fix previous
10153         change (add U+0D4D "SIGN VIRAMA").
10154         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
10155         (tamil-composable-pattern): Fix typo in the regexp.
10156         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
10157         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
10158         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
10160 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
10162         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
10163         paragraph-separate (Bug#5821).
10165 2010-04-19  Juri Linkov  <juri@jurta.org>
10167         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
10169         * info.el (Info-find-node-2): Comment out code that skips
10170         breadcrumbs line.
10171         (Info-mouse-follow-link): New command.
10172         (Info-link-keymap): New keymap.
10173         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
10174         Return a string with links instead of inserting breadcrumbs
10175         to the Info buffer.
10176         (Info-fontify-node): Comment out code that inserts breadcrumbs.
10177         Instead of putting the `invisible' text property over the Info
10178         header, make an overlay over the Info header with the `invisible'
10179         property and `after-string' set to the string returned by
10180         `Info-breadcrumbs'.
10182 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
10184         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
10185         Reported by monkey@sandpframing.com.
10187 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10189         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
10190         (tmm-get-keymap): Add key-binding shortcuts now that they're not
10191         available in the "keyseq cache" any more.
10193         * custom.el (defcustom): Add edebug spec.
10195 2010-04-18  Juri Linkov  <juri@jurta.org>
10197         Test for special mode-class in view-buffer instead of view-file (bug#5513).
10199         * view.el (view-file, view-buffer): Move test for special mode-class
10200         from view-file to view-buffer.
10202         * tar-mode.el (tar-extract): Turn if's into one cond
10203         like in arc-mode.el.
10205 2010-04-18  Juri Linkov  <juri@jurta.org>
10207         Add 7z archive format support (bug#5475).
10209         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
10210         (archive-7z-extract): New defcustom.
10211         (archive-find-type): Add magic string for 7z.
10212         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
10213         If `stderr-file' is non-nil, use `(t stderr-file)' for the
10214         `buffer' arg of `call-process'.
10215         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
10216         call the function `archive-7z-extract' with the variable
10217         `archive-7z-extract' let-bound to `archive-zip-extract'.
10218         (archive-7z-summarize, archive-7z-extract): New functions.
10220         * international/mule.el (auto-coding-alist):
10221         * files.el (auto-mode-alist): Add 7z file extension.
10223 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10225         * loadup.el: Setup hash-cons for pure data.
10227         Fix duplicate entries in cedet's loaddefs.el files.
10228         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
10229         Should make most file-local generated-autoload-file unnecessary.
10230         (print-readably): Silence warnings.
10231         (autoload-find-destination): Take load-name as an arg to make sure
10232         it's the same as the one that will be in the file.
10233         (autoload-generate-file-autoloads): Adjust to above changes.
10234         Try to make the dataflow a bit simpler.
10236         * cvs-status.el (cvs-refontify): Remove unused.
10238 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
10240         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
10242         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
10243         twos-complement mode.
10245 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
10247         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
10248         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
10249         (calc-inverse): Add "Option" to message, as appropriate.
10250         (calc-hyperbolic): Add "Option" to message, as appropriate.
10251         (calc-option, calc-is-option): New functions.
10253         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
10254         (calc-option-prefix-help): New function.
10256         * calc/calc-misc.el (calc-help): Add "Option" entry.
10258         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
10259         (calc-option-flag): New variable.
10260         (calc-do): Set `calc-option-flag to nil.
10261         (calc-set-mode-line): Add "Opt " as appropriate.
10263 2010-04-16  Juri Linkov  <juri@jurta.org>
10265         Move scrolling commands from simple.el to window.el
10266         because their primitives are implemented in window.c.
10268         * simple.el (scroll-error-top-bottom)
10269         (scroll-up-command, scroll-down-command, scroll-up-line)
10270         (scroll-down-line, scroll-other-window-down)
10271         (beginning-of-buffer-other-window, end-of-buffer-other-window):
10272         * window.el (scroll-error-top-bottom)
10273         (scroll-up-command, scroll-down-command, scroll-up-line)
10274         (scroll-down-line, scroll-other-window-down)
10275         (beginning-of-buffer-other-window, end-of-buffer-other-window):
10276         Move from simple.el to window.el because their primitives are
10277         implemented in window.c.
10279 2010-04-16  Juri Linkov  <juri@jurta.org>
10281         * isearch.el (isearch-lookup-scroll-key): Check both
10282         `isearch-scroll' and `scroll-command' properties.
10283         (scroll-up, scroll-down): Remove `isearch-scroll' property.
10285         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
10287         * simple.el (scroll-up-command, scroll-down-command)
10288         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
10290 2010-04-15  Juri Linkov  <juri@jurta.org>
10292         * simple.el (scroll-up-command, scroll-down-command)
10293         (scroll-up-line, scroll-down-line): Put `scroll-command'
10294         property on the these symbols.  Remove them from
10295         `scroll-preserve-screen-position-commands'.
10297         * mwheel.el (mwheel-scroll): Put `scroll-command' and
10298         `isearch-scroll' properties on the `mwheel-scroll' symbol.
10299         Remove it from `scroll-preserve-screen-position-commands'.
10301         * isearch.el (isearch-allow-scroll): Doc fix.
10303 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
10305         * net/tramp.el (tramp-error-with-buffer): Don't show the
10306         connection buffer when we are in completion mode.
10307         (tramp-file-name-handler): Catch the error for some operations
10308         when we are in completion mode.  This gives the user the chance to
10309         correct the file name in the minibuffer.
10311 2010-04-15  Glenn Morris  <rgm@gnu.org>
10313         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
10315 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
10317         Simplify by using `define-derived-mode'.
10318         * info.el (Info-mode):
10319         * calendar/todo-mode.el (todo-mode):
10320         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
10321         (gomoku-mode-map): Move initialization into declaration.
10323 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
10325         Fix Bug#5840.
10326         * ido.el (ido-file-name-all-completions-1):
10327         * minibuffer.el (minibuffer-completion-help):
10328         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
10330 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10332         * simple.el (non-essential): New var.
10334         Add a new field `location' to bookmarks for non-file bookmarks.
10335         * bookmark.el (bookmark-location): Use the new field, if present.
10336         (bookmark-insert-location): Undo last change, not needed any more.
10337         * man.el (Man-bookmark-make-record):
10338         * woman.el (woman-bookmark-make-record): Add `location' field.
10340 2010-04-14  Juri Linkov  <juri@jurta.org>
10342         * simple.el (scroll-error-top-bottom): New defcustom.
10343         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
10345         * emulation/pc-select.el (pc-select-override-scroll-error):
10346         Obsolete in favor of `scroll-error-top-bottom'.
10348 2010-04-14  Juri Linkov  <juri@jurta.org>
10350         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
10351         `scroll-up-command' and `M-v' to `scroll-down-command'.
10353         * emulation/cua-rect.el (cua--init-rectangles):
10354         * forms.el (forms--change-commands):
10355         * image-mode.el (image-mode-map):
10356         Remap scroll-down-command and scroll-up-command
10357         in addition to scroll-down and scroll-up.
10359 2010-04-14  Juri Linkov  <juri@jurta.org>
10361         * mwheel.el (scroll-preserve-screen-position-commands):
10362         Add mwheel-scroll to this list of commands.
10364         * simple.el (scroll-preserve-screen-position-commands):
10365         Add scroll-up-command, scroll-down-command, scroll-up-line,
10366         scroll-down-line to this list of commands.
10368 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10370         * obsolete/complete.el: Move from lisp/complete.el.
10372         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
10374         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
10375         to the minor mode function now turns the mode ON unconditionally.
10377 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10379         * vc-dir.el (vc-dir-kill-line): New command.
10380         (vc-dir-mode-map): Bind it to C-k.
10382         * bookmark.el (bookmark-insert-location): Handle a nil filename.
10384         * woman.el: Add bookmark declarations to silence the compiler.
10385         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
10386         step to compatibility between man and woman bookmarks.
10387         Adjust for Man-default-bookmark-title renaming.
10388         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
10390         * man.el: Add bookmark declarations to silence the compiler.
10391         (Man-name-local-regexp): Make it match NAME as well.
10392         (Man-getpage-in-background): Return the buffer.
10393         (Man-notify-when-ready): Use `case'.
10394         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
10395         Don't hardcode "NAME".  Simplify.
10396         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
10397         Rename from Man-bookmark-make-record.
10398         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
10399         we have the actual man-args.  Use Man-getpage-in-background rather
10400         than `man' since the arg is already processed.  Let bookmark.el do the
10401         window handling.  Only wait for the relevant process.
10402         Don't forget to autoload.
10404         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
10406 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10408         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
10409         New functions.
10410         (woman-mode): Setup bookmark support.
10412         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
10413         (man-bookmark-jump): New functions.
10414         (Man-mode): Setup bookmark support.
10416 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
10418         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
10419         recognize ssh-keygen prompt (Bug#2817).
10421 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
10423         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
10425 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
10427         Synchronize with Tramp repository.
10429         * net/tramp.el (tramp-completion-function-alist)
10430         (tramp-file-name-regexp, tramp-chunksize)
10431         (tramp-local-coding-commands, tramp-remote-coding-commands):
10432         Fix docstring.
10433         (tramp-remote-process-environment): Use `format' instead of `concat'.
10434         (tramp-handle-directory-files-and-attributes)
10435         (tramp-get-remote-path): Use `copy-tree'.
10436         (tramp-handle-file-name-all-completions): Backward/ XEmacs
10437         compatibility: Use `completion-ignore-case' if
10438         `read-file-name-completion-ignore-case' does not exist.
10439         (tramp-do-copy-or-rename-file-directly): Do not use
10440         `tramp-handle-file-remote-p'.
10441         (tramp-do-copy-or-rename-file-out-of-band):
10442         Use `tramp-compat-delete-directory'.
10443         (tramp-do-copy-or-rename-file-out-of-band)
10444         (tramp-compute-multi-hops, tramp-maybe-open-connection):
10445         Use `format-spec-make'.
10446         (tramp-find-foreign-file-name-handler)
10447         (tramp-advice-make-auto-save-file-name)
10448         (tramp-set-auto-save-file-modes): Remove superfluous check for
10449         `stringp'.  This is done inside `tramp-tramp-file-p'.
10450         (tramp-debug-outline-regexp): New defconst.
10451         (tramp-get-debug-buffer): Use it.
10452         (tramp-check-for-regexp): Use (forward-line 1).
10453         (tramp-set-auto-save-file-modes): Adapt version check.
10455         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
10456         Wrap call of `featurep' for 2nd argument.
10457         (tramp-compat-make-temp-file): Simplify fallback implementation.
10458         (tramp-compat-copy-tree): Remove function.
10459         (tramp-compat-delete-directory): Provide implementation for older
10460         Emacsen.
10462         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
10463         Do not use `tramp-fish-handle-file-attributes.
10465         * net/trampver.el: Update release number.
10467 2010-04-10  Glenn Morris  <rgm@gnu.org>
10469         * progmodes/compile.el (compilation-save-buffers-predicate):
10470         Add missing :version tag.
10472 2010-04-09  Sam Steingold  <sds@gnu.org>
10474         * progmodes/compile.el (compilation-save-buffers-predicate):
10475         Remove the "autoload" cookie.
10477         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
10478         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
10479         and `bug-reference-prog-mode' can be used in hooks directly.
10481 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
10483         Add --author support to git commit.
10484         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
10485         (vc-git-log-edit-mode): New minor mode.
10486         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
10487         New declarations.
10489 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
10491         * vc-hooks.el, vc-git.el: Improve documentation comments.
10493 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10495         Fix some of the problems in defsubst* (bug#5728).
10496         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
10497         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
10499 2010-04-07  Sam Steingold  <sds@gnu.org>
10501         * progmodes/compile.el (compilation-save-buffers-predicate):
10502         New custom variable.
10503         (compile, recompile): Pass it to `save-some-buffers'.
10505 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
10507         * wid-edit.el (widget-choose): Move cursor to the second line of
10508         the buffer (Bug#5695).
10510 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
10512         Add new VC methods: vc-log-incoming and vc-log-outgoing.
10513         * vc.el (vc-print-log-setup-buttons): New function split out from
10514         vc-print-log-internal.
10515         (vc-log-internal-common): New function, a parametrized version of
10516         vc-print-log-internal.
10517         (vc-print-log-internal): Just call vc-log-internal-common with the
10518         right arguments.
10519         (vc-incoming-outgoing-internal):
10520         (vc-log-incoming, vc-log-outgoing): New functions.
10521         (vc-log-view-type): New permanent local variable.
10523         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
10525         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
10526         of the dynamic bound vc-short-log.
10527         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
10529         * vc-git.el (vc-git-log-outgoing): New function.
10530         (vc-git-log-view-mode): Use vc-log-view-type instead
10531         of the dynamic bound vc-short-log.
10533         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
10534         of the dynamic bound vc-short-log.  Highlight the tag.
10535         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
10536         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
10537         (vc-hg-incoming-mode): Remove.
10538         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
10540 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
10542         Fix default-directory for vc-root-diff.
10543         * vc.el (vc-root-diff): Bind default-directory to the root
10544         directory for the diff command.
10546 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
10548         * progmodes/verilog-mode.el (verilog-forward-sexp):
10549         (verilog-calc-1): Support "disable fork" and "fork wait" multi
10550         word keywords, suggested by Steve Pearlmutter.
10551         (verilog-pretty-declarations): Support lineup of declarations in
10552         port lists.
10553         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
10554         fix bug for /* / comments.
10555         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
10556         Speed up and simplfy as this is never called with a bound.
10557         (verilog-pretty-declarations): Enhance to line up declarations
10558         inside a parameter list, suggested by Alan Morgan.
10559         (verilog-pretty-expr): Tune assignment regular expression match
10560         string for corner cases; also use markers instead of character
10561         number as indent changes the later.
10563 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
10565         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
10566         as missing keyword.
10567         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
10568         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
10569         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
10570         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
10571         Tennant.
10572         (verilog-keywords):
10573         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
10574         1800-2009 keywords, including "global.".
10576 2010-04-06  John Wiegley  <jwiegley@gmail.com>
10578         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
10579         appearing in buffer list (if a live buffer name matched a recentf
10580         file basename).  Should use uniquify to offer a real solution.
10582 2010-04-06  John Wiegley  <jwiegley@gmail.com>
10584         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
10585         comment to code, and add a :version tag.
10586         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
10588 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
10590         Enable recentf-mode if using virtual buffers.
10591         * ido.el (recentf-list): Declare for byte-compiler.
10592         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
10593         (ido-make-buffer-list): Simplify.
10594         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
10596 2010-04-05  Juri Linkov  <juri@jurta.org>
10598         Scrolling commands which scroll a line instead of full screen.
10599         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10601         * simple.el (scroll-up-line, scroll-down-line): New commands.
10602         Put property isearch-scroll=t on them.
10604         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
10605         Remove commands.
10607 2010-04-05  Juri Linkov  <juri@jurta.org>
10609         Scrolling commands which do not signal errors at top/bottom.
10610         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10612         * simple.el (scroll-up-command, scroll-down-command): New commands.
10613         Put property isearch-scroll=t on them.
10615         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
10616         `scroll-down-command' and [next] from `scroll-up' to
10617         `scroll-up-command'.
10619         * emulation/cua-base.el: Put property CUA=move on
10620         `scroll-up-command' and `scroll-down-command'.
10621         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
10622         and `scroll-down-command' to `cua-scroll-down'.
10624 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
10626         * help.el (describe-mode): Return nil.
10628 2010-04-04  John Wiegley  <jwiegley@gmail.com>
10630         * ido.el (ido-use-virtual-buffers): New variable to indicate
10631         whether "virtual buffer" support is enabled for IDO.
10632         (ido-virtual): Face used to indicate virtual buffers in the list.
10633         (ido-buffer-internal): If a buffer is chosen, and no such buffer
10634         exists, but a virtual buffer of that name does (which would be why
10635         it was in the list), recreate the buffer by reopening the file.
10636         (ido-make-buffer-list): If virtual buffers are being used, call
10637         `ido-add-virtual-buffers-to-list' before the make list hook.
10638         (ido-virtual-buffers): New variable which contains a copy of the
10639         current contents of the `recentf-list', albeit pared down for the
10640         sake of speed, and with proper faces applied.
10641         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
10642         create a list of "virtual buffers" to present to the user in
10643         addition to the currently open set.  Note that this logic could
10644         get rather slow if that list is too large.  With the default
10645         `recentf-max-saved-items' of 200, there is little speed penalty.
10647 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10649         * font-lock.el: Require CL when compiling.
10650         (font-lock-turn-on-thing-lock): Use `case'.
10652 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
10654         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
10655         Zaretskii.
10657 2010-04-02  Juri Linkov  <juri@jurta.org>
10659         * ehelp.el (electric-help-orig-major-mode):
10660         New buffer-local variable.
10661         (electric-help-mode): Set it to original major-mode.  Doc fix.
10662         (with-electric-help): Use `electric-help-orig-major-mode' instead
10663         of (default-value 'major-mode).  Doc fix.
10664         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
10666 2010-04-02  Sam Steingold  <sds@gnu.org>
10668         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
10669         `vc-hg-command' with a list of flags.
10671         * progmodes/bug-reference.el (bug-reference-bug-regexp):
10672         Also accept "patch" and "RFE".
10673         (bug-reference-fontify): `bug-reference-url-format' can also be a
10674         function to be able to handle the bug kind.
10675         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
10677 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
10679         * tmm.el (tmm-get-keymap): Check with symbolp before passing
10680         value to fboundp, it may not be a symbol.
10682 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10684         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
10686 2010-03-31  Juri Linkov  <juri@jurta.org>
10688         * simple.el (next-line, previous-line): Re-throw a signal
10689         with `signal' instead of using `ding'.
10690         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
10692 2010-03-31  Juri Linkov  <juri@jurta.org>
10694         * simple.el (keyboard-escape-quit): Raise deselecting the active
10695         region higher than exiting the minibuffer.
10696         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
10698 2010-03-31  Juri Linkov  <juri@jurta.org>
10700         * image.el (image-animated-p): Use `image-metadata' instead of
10701         `image-extension-data'.  Get GIF extenstion data from metadata
10702         property `extension-data'.
10704 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10706         * simple.el (append-to-buffer): Simplify.
10708 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
10710         * textmodes/artist.el (artist-mode): Fix typo in docstring.
10711         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
10713 2010-03-31  Kenichi Handa  <handa@m17n.org>
10715         * language/sinhala.el (composition-function-table): Fix regexp for
10716         the new Unicode specification.
10718         * language/indian.el (devanagari-composable-pattern)
10719         (tamil-composable-pattern, kannada-composable-pattern)
10720         (malayalam-composable-pattern): Adjust for the new Unicode
10721         specification.
10722         (bengali-composable-pattern, gurmukhi-composable-pattern)
10723         (gujarati-composable-pattern, oriya-composable-pattern)
10724         (telugu-composable-pattern): New variables to cope with the new
10725         Unicode specification.  Use them in composition-function-table.
10727 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10729         Make tmm-menubar work for the Buffers menu again (bug#5726).
10730         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
10731         vectors rather than cons cells, as used in menu-bar-update-buffers.
10733 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10735         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
10736         (js-insert-and-indent): Revert 2009-08-15 change, restoring
10737         electric punctuation for "{}();,:" (Bug#5586).
10739         * mail/sendmail.el (mail-default-directory): Doc fix.
10741 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10743         * mail/sendmail.el (mail-default-directory): Doc fix.
10745 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
10747         * subr.el (version-regexp-alist, version-to-list)
10748         (version-list-<, version-list-=, version-list-<=)
10749         (version-list-not-zero, version<, version<=, version=): Doc fix.
10750         (Bug#5744).
10752 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
10754         * vc.el (vc-root-diff): Doc fix.
10756 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10758         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
10760         * simple.el (append-to-buffer): Fix last change.
10762 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10764         * simple.el (append-to-buffer): Ensure that point is preserved if
10765         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
10766         (Bug#5749)
10768 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10770         * files.el (auto-mode-case-fold): Change default to t.
10772 2010-03-30  Juri Linkov  <juri@jurta.org>
10774         * dired-x.el (dired-omit-mode): Doc fix.
10776 2010-03-30  Juri Linkov  <juri@jurta.org>
10778         * replace.el (occur-accumulate-lines): Move occur-engine related
10779         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
10780         to be located after `occur-engine'.
10782 2010-03-30  Juri Linkov  <juri@jurta.org>
10784         Make occur handle multi-line matches cleanly with context.
10785         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
10787         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
10788         (occur-engine): Add local variables `ret', `prev-after-lines',
10789         `prev-lines'.  Use more arguments for `occur-context-lines'.
10790         Set first elem of its returned list to `data', and the second elem
10791         to `prev-after-lines'.  Don't print the separator line.
10792         In the end, print remaining context after-lines.
10793         (occur-context-lines): Add new arguments `begpt', `endpt',
10794         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
10795         after-lines of the previous match with before-lines of the
10796         current match and not overlap them.  Return a list with two
10797         values: the output line and the list of context after-lines.
10799 2010-03-30  Juri Linkov  <juri@jurta.org>
10801         * replace.el (occur-accumulate-lines): Fix a bug where the first
10802         context line at the beginning of the buffer was missing.
10804 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
10806         * files.el: Make bidi-display-reordering safe variable for boolean
10807         values.
10809 2010-03-29  Phil Hagelberg  <phil@evri.com>
10810             Chong Yidong  <cyd@stupidchicken.com>
10812         * subr.el: Extend progress reporters to perform "spinning".
10813         (progress-reporter-update, progress-reporter-do-update):
10814         Handle non-numeric value arguments.
10815         (progress-reporter--pulse-characters): New var.
10817 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
10819         * progmodes/compile.el (compilation-start): Fix regexp detection
10820         of initial cd command (Bug#5771).
10822 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
10824         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
10826 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
10828         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
10829         * progmodes/gdb-mi.el: Restore.
10830         * progmodes/gdb-ui.el: Remove.
10831         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
10833 2010-03-25  Glenn Morris  <rgm@gnu.org>
10835         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
10836         all dired buffers, even tramp ones.  (Bug#5755)
10838 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10840         Add "union tags" in mpc.el.
10841         * mpc.el: Remove backward compatibility code.
10842         (mpc-browser-tags): Change default.
10843         (mpc--find-memoize-union-tags): New var.
10844         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
10845         (mpc-cmd-find): Handle the case where the playlist does not exist.
10846         Handle union-tags.
10847         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
10848         (mpc-cmd-add): Use mpc-cmd-flush.
10849         (mpc-tagbrowser-tag-name): New fun.
10850         (mpc-tagbrowser-buf): Use it.
10851         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
10853 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10855         Misc cleanup.
10856         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
10857         Use replace-regexp-in-string.
10858         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
10859         (makefile-imake-mode-syntax-table): Move init into defvar.
10860         (makefile-mode): Use define-derived-mode.
10862         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
10863         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
10864         not be present any more.
10866 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
10868         * faces.el (set-face-attribute): Fix typo in docstring.
10869         (face-valid-attribute-values): Reflow docstring.
10871 2010-03-24  Glenn Morris  <rgm@gnu.org>
10873         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
10875 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
10877         * indent.el (indent-for-tab-command): Doc fix.
10879 2010-03-24  Alan Mackenzie  <acm@muc.de>
10881         * progmodes/cc-engine.el (c-remove-stale-state-cache):
10882         Fix off-by-one error.  Fixes bug #5747.
10884 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
10886         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
10887         (image-dired-read-comment): Doc fix.
10889         * json.el (json-object-type, json-array-type, json-key-type)
10890         (json-false, json-null, json-read-number):
10891         * minibuffer.el (completion-in-region-functions):
10892         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
10893         (cal-tex-cursor-week):
10894         * emacs-lisp/trace.el (trace-function):
10895         * eshell/em-basic.el (eshell/printnl):
10896         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
10897         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
10898         * obsolete/levents.el (allocate-event, event-key, event-object)
10899         (event-point, event-process, event-timestamp, event-to-character)
10900         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
10901         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
10902         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
10903         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
10904         (reftex-highlight-selection): Fix typos in docstrings.
10906 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
10908         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
10910 2010-03-24  Glenn Morris  <rgm@gnu.org>
10912         * mail/rmail.el (rmail-highlight-face): Restore option deleted
10913         2008-02-13 without comment; mark it obsolete.
10914         (rmail-highlight-headers): Use rmail-highlight-face once more.
10916 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
10918         * woman.el (woman2-process-escapes): Only consume the newline if
10919         the filler character is on a line by itself (Bug#5729).
10921 2010-03-24  Kenichi Handa  <handa@m17n.org>
10923         * language/indian.el (devanagari-composable-pattern): Add more
10924         consonants.
10926 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
10928         * net/trampver.el: Update release number.
10930 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
10932         * net/tramp.el (tramp-find-executable):
10933         Use `tramp-get-connection-buffer'.  Make the regexp for checking
10934         output of "wc -l" more robust.
10935         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
10936         (tramp-open-connection-setup-interactive-shell): Remove workaround
10937         for OpenSolaris bug, it is not needed anymore.
10939 2010-03-24  Glenn Morris  <rgm@gnu.org>
10941         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
10943 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
10945         * files.el (auto-mode-alist): Accept more verilog file patterns.
10947 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10949         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
10951 2010-03-24  Glenn Morris  <rgm@gnu.org>
10953         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
10954         log-edit-before-checkin-process.
10956         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
10958         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
10960         * vc-dispatcher.el (vc-start-logentry): Doc fix.
10961         (log-view-process-buffer, log-edit-extra-flags): Declare.
10963         * log-edit.el (log-edit-before-checkin-process): Doc fix.
10965 2010-03-23  Sam Steingold  <sds@gnu.org>
10967         Fix bug#5620: recalculate all markers on compilation buffer
10968         modifications, not on file modifications.
10969         * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
10970         variable: the buffer modification time, for buffers not associated with
10971         files.
10972         (compilation-mode): Create it.
10973         (compilation-filter): Update it.
10974         (compilation-next-error-function): Use it instead of
10975         `visited-file-modtime' for timestamp.
10977 2010-03-23  Juri Linkov  <juri@jurta.org>
10979         Implement Occur multi-line matches.
10980         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
10982         * replace.el (occur): Doc fix.
10983         (occur-engine): Set `begpt' to the beginning of the first line.
10984         Set `endpt' to the end of the last match line.  At first, count
10985         line numbers between `origpt' and `begpt'.  Split out code from
10986         `out-line' variable to new let-bindings `match-prefix' and
10987         `match-str'.  In `out-line' add non-numeric prefix to all
10988         non-first lines of multi-line matches.  Finally, count lines
10989         between `begpt' and `endpt' and add to `lines'.
10991 2010-03-23  Juri Linkov  <juri@jurta.org>
10993         * replace.el (occur-accumulate-lines, occur-engine):
10994         Use `occur-engine-line' instead of duplicate code.
10995         (occur-engine-line): New function created from duplicate code
10996         in `occur-accumulate-lines' and `occur-engine'.
10998         * replace.el (occur-engine-line): Add optional arg `keep-props'.
10999         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
11001 2010-03-23  Juri Linkov  <juri@jurta.org>
11003         * finder.el: Remove TODO tasks.
11005         * info.el (Info-finder-find-node): Add node "all"
11006         with all package info.  Handle a list of multiple keywords
11007         separated by comma.
11008         (info-finder): In interactive use with a prefix argument,
11009         use `completing-read-multiple' to read a list of keywords
11010         separated by comma.
11012 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11014         Add a new completion style `substring'.
11015         * minibuffer.el (completion-basic--pattern): New function.
11016         (completion-basic-try-completion, completion-basic-all-completions):
11017         Use it.
11018         (completion-substring--all-completions)
11019         (completion-substring-try-completion)
11020         (completion-substring-all-completions): New functions.
11021         (completion-styles-alist): New style `substring'.
11023 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11025         Get rid of .elc files after removal of the corresponding .el.
11026         * Makefile.in (compile-clean): New target.
11027         (compile-main): Use it.
11029 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
11031         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
11032         don't do make there.  When compiling with separate object dir, there
11033         is no Makefile there.
11035 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11037         Get rid of the ELCFILES abomination, again.
11038         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11039         (all, compile): Don't call compile-last.
11040         (compile-main): Build the "elcfiles" list dynamically.
11041         (compile-targets): New (internal) target.
11043 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
11045         * Makefile.in (top_srcdir): Define.
11046         (abs_top_builddir): Define.
11047         (srcdir): Don't append `/..'.
11048         (EMACS): Use ${abs_top_builddir}.
11049         (all, compile, compile-always, compile-last): Don't set emacswd.
11050         (update-subdirs, update-authors): Use $(top_srcdir) instead of
11051         $(srcdir).
11052         (lisp): Use $(srcdir) instead of @srcdir@.
11054 2010-03-21  Juri Linkov  <juri@jurta.org>
11056         Fix message of multi-line occur regexps and multi-buffer header lines.
11057         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
11059         * replace.el (occur-1): Don't display regexp if it is longer
11060         than window-width.  Use `query-replace-descr' to display regexp.
11061         (occur-engine): Don't display regexp in the buffer header for
11062         multi-buffer occur.  Display a separate header line with total
11063         match count and regexp for multi-buffer occur.
11064         Use `query-replace-descr' to display regexp.
11066 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
11068         * net/secrets.el: Fix parenthesis.
11069         (secrets-enabled): Fix parenthesis.
11071 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11073         Use more relative file and directory names.
11074         * Makefile.in (EMACS): Arrange for it to work when we chdir.
11075         (setwins, setwins_almost, setwins_for_subdirs):
11076         Don't `cd'; output relative names.
11077         (all, compile, compile-always, compile-last): Set emacswd.
11078         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
11079         Just cd to the lisp source dir so we can use relative file names.
11081         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
11083 2010-03-20  Glenn Morris  <rgm@gnu.org>
11085         * textmodes/rst.el: Use faces for font-lock customization, and make the
11086         old -face variables obsolete.
11087         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
11088         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
11089         (rst-block-face, rst-external-face, rst-definition-face)
11090         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
11091         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
11092         Make obsolete.
11093         (rst-font-lock-keywords-function): Update for above changes.
11095 2010-03-20  Juri Linkov  <juri@jurta.org>
11097         * s-region.el:
11098         * obsolete/s-region.el: Move to obsolete.
11100 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
11102         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
11104 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
11106         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
11108 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
11110         Add special markup processing for commit logs.
11111         * log-edit.el (log-edit-extra-flags): New variable.
11112         (log-edit): Add new argument MODE.  Use that mode when non-nil
11113         instead of the log-view-mode.
11114         (log-view-process-buffer): New function.
11116         * vc.el: Document that the checkin method takes optional
11117         arguments.  Document new backend specific method: log-view-mode.
11118         (vc-default-log-edit-mode): New function.
11119         (vc-checkin): Use a backend specific log-view-mode.
11120         Pass extra arguments to the checkin method.
11121         (vc-modify-change-comment): Pass a dummy extra argument.
11123         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
11124         log-edit.
11125         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
11126         (vc-finish-logentry): Process the log buffer before passing it
11127         down.  Pass log-edit-extra-flags.
11129         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
11130         command.
11131         (log-edit-extra-flags, log-edit-before-checkin-process):
11132         New declarations.
11134         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
11135         command.
11136         (log-edit-extra-flags, log-edit-before-checkin-process):
11137         New declarations.
11138         (vc-hg-log-edit-mode): New derived mode.
11140         * vc-arch.el (vc-arch-checkin):
11141         * vc-cvs.el (vc-cvs-checkin):
11142         * vc-git.el (vc-git-checkin):
11143         * vc-mtn.el (vc-mtn-checkin):
11144         * vc-rcs.el (vc-rcs-checkin):
11145         * vc-sccs.el (vc-sccs-checkin):
11146         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
11148 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11150         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
11151         parent typo).
11153 2010-03-19  Glenn Morris  <rgm@gnu.org>
11155         * password-cache.el (password-cache, password-cache-expiry): Autoload.
11157 2010-03-18  Glenn Morris  <rgm@gnu.org>
11159         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
11161         * replace.el (query-replace-history): Give it a doc string.
11162         (map-query-replace-regexp): Use query-replace-from-history-variable
11163         and query-replace-to-history-variable.
11165         * mail/hashcash.el (declare-function): Remove duplicate definition.
11167         * mail/emacsbug.el (report-emacs-bug-pretest-address):
11168         Make it an obsolete alias for report-emacs-bug-address.
11169         (message-strip-special-text-properties): Declare.
11170         (report-emacs-bug): Remove test for a pretest bug address.
11171         Combine message-mode-specific code.
11173         * mail/supercite.el: Don't require sendmail.
11174         (mh-in-header-p): Declare rather than using with-no-warnings.
11175         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
11176         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
11178         * calendar/cal-french.el: Convert to utf-8.
11180         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
11181         Emacs scripts.
11183 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
11185         * net/secrets.el (secrets-enabled): New variable.  Use it instead
11186         of a subfeature.
11188 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
11190         * net/secrets.el (top): Register the D-Bus signals only when the
11191         service "org.freedesktop.secrets" can be pinged.
11192         Provide subfeature `enabled'.
11194 2010-03-14  Juri Linkov  <juri@jurta.org>
11196         Add finder unknown keywords.
11198         * finder.el (finder-unknown-keywords): New function.
11200         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
11201         to create a Finder node with unknown keywords.
11203 2010-03-14  Juri Linkov  <juri@jurta.org>
11205         * finder.el (finder-compile-keywords): Replace `princ' with
11206         `prin1' on a list of symbols interned from keyword strings.
11208         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
11209         a comma, then split keywords using a comma and optional whitespace.
11210         Otherwise, split by whitespace.
11212         * complete.el:
11213         * face-remap.el:
11214         * log-view.el:
11215         * net/hmac-def.el:
11216         * net/hmac-md5.el:
11217         * net/netrc.el:
11218         * progmodes/mixal-mode.el: Fix keywords.
11220 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
11222         * Makefile.in (ELCFILES): Add net/secrets.elc.
11224         * net/secrets.el: New file.
11226 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
11228         * facemenu.el (list-colors-display, list-colors-print): New arg
11229         callback.  Use it to allow selecting colors.
11231         * wid-edit.el (widget-image-insert): Insert image prop even if the
11232         current display is non-graphic.
11233         (widget-field-value-set): New fun.
11234         (editable-field): Use it.
11235         (widget-field-value-get): Clean up unused var.
11236         (widget-color-value-create, widget-color--choose-action):
11237         New funs.  Allow using list-colors-display to choose color.
11239 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
11241         * cus-edit.el: Resort topmost custom groups.
11242         (custom-buffer-sort-alphabetically): Default to t.
11243         (customize-apropos): Use apropos-parse-pattern.
11244         (custom-search-field): New var.
11245         (custom-buffer-create-internal): Add custom-apropos search field.
11246         (custom-add-parent-links): Don't display parent doc.
11247         (custom-group-value-create): Don't sort top-level custom group.
11248         (custom-magic-value-create): Show visibility button before option name.
11250         (custom-variable-state): New fun, from custom-variable-state-set.
11251         (custom-variable-state-set): Use it.
11252         (custom-group-value-create): Hide options with standard values
11253         using the :hidden-states property.  Use progress reporter.
11255         (custom-show): Simplify.
11256         (custom-visibility): Disable images by default.
11257         (custom-variable): New property :hidden-states.
11258         (custom-variable-value-create): Enable images for
11259         custom-visibility widgets.  Use :hidden-states property to
11260         determine initial visibility.
11262         * wid-edit.el (widget-image-find): Give images center ascent.
11263         (visibility): Add :on-image and :off-image properties.
11264         (widget-visibility-value-create): Use them.
11266 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
11268         * cus-edit.el (processes): Remove from development group.
11269         (oop, hypermedia): Delete group.
11270         (comm): Promote to top-level group.
11272         * net/browse-url.el (browse-url):
11273         * net/xesam.el (xesam):
11274         * net/tramp.el (tramp):
11275         * net/goto-addr.el (goto-address):
11276         * net/ange-ftp.el (ange-ftp): Put in comm group.
11278         * view.el (view): Remove from editing group.
11280         * uniquify.el (uniquify): Put in files group.
11282         * net/browse-url.el (browse-url):
11283         * ps-print.el (postscript): Put in external group.
11285         * cus-edit.el (outlines):
11286         * textmodes/text-mode.el (text-mode-hook):
11287         * textmodes/table.el (table):
11288         * textmodes/picture.el (picture):
11289         * outline.el (outlines): Put in wp group.
11291         * nxml/nxml-mode.el (nxml): Remove from wp group.
11293         * net/tramp-imap.el (tramp-imap): Put in tramp group.
11295         * mail/metamail.el (metamail): Remove from hypermedia group.
11297         * cus-edit.el (abbrev):
11298         * whitespace.el (whitespace):
11299         * vcursor.el (vcursor):
11300         * reveal.el (reveal):
11301         * hl-line.el (hl-line): Put in convenience group.
11303         * epg-config.el (epg): Put in data group.
11305         * emulation/pc-select.el (pc-select): Put in emulations group.
11307         * calculator.el (calculator): Put in applications group.
11309 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
11311         Add .dir-locals.el support for file-less buffers.
11312         * files.el (hack-local-variables): Split out code to apply local
11313         variable settings ...
11314         (hack-local-variables-apply): ... here.  New function.
11315         (hack-dir-local-variables): Use the default directory for when the
11316         buffer does not have an associated file.
11317         (hack-dir-local-variables-non-file-buffer): New function.
11318         * diff-mode.el (diff-mode):
11319         * vc-annotate.el (vc-annotate-mode):
11320         * vc-dir.el (vc-dir-mode):
11321         * log-edit.el (log-edit-mode):
11322         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
11324 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
11326         Add support for shelving snapshots and for showing shelves.
11327         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
11328         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
11329         New functions.
11330         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11331         (vc-bzr-extra-menu-map): Map them.
11333 2010-03-11  Glenn Morris  <rgm@gnu.org>
11335         * cus-edit.el (customize-changed-options-previous-release):
11336         Bump to 23.1.
11338         * image.el (image-animate-max-time): Fix :version tag.
11340 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
11342         * Branch for 23.2.
11344 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11346         * vc-git.el (vc-git-revision-table): Include remote branches.
11348 2010-03-10  Kim F. Storm  <storm@cua.dk>
11350         Animated image API.
11351         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
11353         * image.el (image-animate-max-time): New defcustom.
11354         (image-animated-types): New defconst.
11355         (create-animated-image, image-animate-timer)
11356         (image-animate-start, image-animate-stop, image-animate-timeout)
11357         (image-animated-p): New functions.
11359         * image-mode.el (image-toggle-display-image):
11360         Replace `create-image' with `create-animated-image'.
11362 2010-03-09  Miles Bader  <miles@gnu.org>
11364         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
11365         instead of "format:"; this ensures that the output is
11366         newline-terminated.
11368 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
11370         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
11371         that all errors are caught, and that the return value is always a
11372         list (Bug#5692).
11374 2010-03-08  Kenichi Handa  <handa@m17n.org>
11376         * language/misc-lang.el (windows-1256): New coding system.
11377         (cp1256): New alias of windows-1256 (bug#5690).
11379 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
11381         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
11382         call to rfc822-bad-address.  (Bug#5692)
11384 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
11386         * vc-git.el (vc-git-annotate-extract-revision-at-line):
11387         Use vc-git-root as default directory for revision path (Bug#5657).
11389 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
11391         * calculator.el (calculator): Don't bind split-window-keep-point
11392         (Bug#5674).
11394 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11396         * vc-git.el: Re-flow to fit into 80 columns.
11397         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
11398         Remove spurious `quote' element in each case alternative.
11399         (vc-git-show-log-entry): Use prog1.
11400         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
11402 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11404         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
11406 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
11408         * macros.el (insert-kbd-macro): Look up keyboard macro using the
11409         definition, not the name (Bug#5481).
11411 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
11413         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
11414         argument with a local variable.  (Bug#5670)
11416 2010-03-02  Juri Linkov  <juri@jurta.org>
11418         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
11420 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
11422         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
11423         error when FILENAME and NEWNAME are existing remote directories.
11425         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
11426         parameter DIR-FLAG.
11428 2010-03-02  Glenn Morris  <rgm@gnu.org>
11430         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
11431         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
11433 2010-03-01  Kenichi Handa  <handa@m17n.org>
11435         * language/burmese.el (burmese-composable-pattern): Rename from
11436         myanmar-composable-pattern.
11438         * international/characters.el (script-list):
11439         * international/fontset.el (script-representative-chars):
11440         Change myanmar to burmese.
11441         (otf-script-alist): Likewise.
11442         (setup-default-fontset): Likewise.  Re-fix :otf spec.
11444 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
11446         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
11448 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
11450         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
11452 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
11454         * net/tramp.el (tramp-handle-write-region): START can be a string.
11455         Take care in the checks.  Reported by Dan Davison
11456         <davison@stats.ox.ac.uk>.
11458 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
11460         * net/dbus.el (dbus-introspect, dbus-get-property)
11461         (dbus-set-property, dbus-get-all-properties):
11462         Use `dbus-call-method' when noninteractive.  (Bug#5645)
11464 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
11466         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
11467         * emacs-lisp/elint.el (elint-add-required-env):
11468         * calendar/icalendar.el (icalendar--add-diary-entry):
11469         * calc/calcalg2.el (math-tracing-integral):
11470         * files.el (recover-session-finish): Use with-current-buffer
11471         instead of save-excursion.
11473 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11475         Fix in-buffer completion when after-change-functions modify the buffer.
11476         * minibuffer.el (completion--replace): New function.
11477         (completion--do-completion): Use it and use relative movement.
11479 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
11481         * international/fontset.el (setup-default-fontset): Fix :otf spec.
11483 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
11485         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
11486         Allow the characters _<> in the stack entry (Bug#5653).
11488 2010-02-26  Kenichi Handa  <handa@m17n.org>
11490         * language/burmese.el: Fix entries in composition-function-table.
11491         (myanmar-composable-pattern): New variable.
11493         * international/fontset.el (setup-default-fontset): Add an entry
11494         for myanmar.
11496         * international/characters.el (script-list): Add Myanmar
11497         Extended-A.
11499 2010-02-26  Glenn Morris  <rgm@gnu.org>
11501         * custom.el (custom-initialize-delay): Doc fix.
11503         * mail/sendmail.el (send-mail-function): Autoload the call
11504         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
11506 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
11508         * files.el (hack-local-variables-filter): For eval forms, also
11509         check safe-local-variable-p (Bug#5636).
11511 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
11513         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
11514         setting the modes by `ignore-errors'.  It might fail, for example
11515         if the file is not owned by the user but the group.
11516         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
11518 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
11520         * files.el (directory-listing-before-filename-regexp):
11521         Use stricter matching for iso-style dates, to avoid false matches with
11522         date-like filenames (Bug#5597).
11524         * htmlfontify.el (htmlfontify): Doc fix.
11526         * eshell/eshell.el (eshell): Doc fix.
11528         * startup.el (fancy-about-screen): In mode-line, apply
11529         mode-line-buffer-id face only to the buffer name (Bug#5613).
11531 2010-02-20  Kevin Ryde  <user42@zip.com.au>
11533         * progmodes/compile.el (compilation-error-regexp-alist-alist):
11534         In `watcom' anchor regexp to start of line, to avoid slowness
11535         (Bug#5599).
11537 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
11539         * subr.el (remove-yank-excluded-properties): Explain in a comment
11540         why `category' property is removed.
11542 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
11544         * isearch.el (isearch-update-post-hook, isearch-update):
11545         Revert 2010-02-17 change.
11547 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
11549         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
11550         (icalendar--convert-weekly-to-ical)
11551         (icalendar--convert-yearly-to-ical)
11552         (icalendar--convert-block-to-ical)
11553         (icalendar--convert-cyclic-to-ical)
11554         (icalendar--convert-anniversary-to-ical): Take care of time
11555         specifications where hour has 1-digit only (Bug#5549).
11557 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
11559         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
11560         of disassemble output in GDB 7.1.
11562 2010-02-19  Glenn Morris  <rgm@gnu.org>
11564         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
11565         property.  (Bug#5593)
11567 2010-02-18  Sam Steingold  <sds@gnu.org>
11569         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
11571 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11573         Use abbreviated file names in bookmarks (bug#5591).
11574         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
11575         calls to expand-file-name.
11576         (bookmark-relocate): Use abbreviated file names in bookmarks.
11577         (bookmark-load): Use abbreviated file names in messages.
11579 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
11581         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
11582         expand "." and "..".  Reported by Thierry Volpiatto
11583         <thierry.volpiatto@gmail.com>.
11585 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
11587         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
11588         permissions of the temporary file to "0600".  In case the remote
11589         file has no read permissions for the owner, there might be
11590         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
11592 22010-02-18  Glenn Morris  <rgm@gnu.org>
11594         * emacs-lisp/authors.el (authors-renamed-files-alist):
11595         Add entries for INSTALL.CVS.
11597 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
11599         * vc-bzr.el: Fix typo in Known Bugs section.
11601         * isearch.el (isearch-update-post-hook): New hook.
11602         (isearch-update): Use the new hook.
11604 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
11606         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11607         Fix errors in copying directories.
11608         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
11609         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
11610         (tramp-handle-delete-file)
11611         (tramp-handle-dired-recursive-delete-directory)
11612         (tramp-handle-write-region): Flush also the cache for the upper
11613         directory.
11615 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
11617         * simple.el (save-interprogram-paste-before-kill): Doc fix.
11619         * cus-edit.el (hardware): Doc fix.
11621         * man.el (man): Add to external custom group.
11623         * delim-col.el (columns): Move to wp custom group.
11625         * doc-view.el (doc-view): Add to data custom group.
11627         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
11629         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
11630         by ispell-parse-output (Bug#5575).
11632 2010-02-16  Kenichi Handa  <handa@m17n.org>
11634         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
11635         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
11636         (skkdic-convert): Use `euc-japan' coding system for writing.
11638 2010-02-16  Glenn Morris  <rgm@gnu.org>
11640         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
11641         tex-main-file before using it.  (Bug#5562)
11643 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11645         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
11646         warnings, since it is annoying for the user to see them each time he
11647         runs the code.
11649 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
11651         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
11652         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
11653         instead of PROC for caching "first-password-request".  Otherwise,
11654         new processes would not profit from passwords already entered.
11656         * net/tramp-cache.el (tramp-dump-connection-properties):
11657         Don't save "first-password-request" property.
11659 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
11661         * outline.el (outline-head-from-level):
11662         * simple.el (with-wrapper-hook):
11663         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
11664         (elint-defun, elint-buffer-env, elint-top-form-logged)
11665         (elint-unbound-variable):
11666         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
11667         Fix typos in docstrings.
11669 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
11671         * files.el (insert-directory): When WILDCARD-REGEXP and
11672         FULL-DIRECTORY-P are nil, insert the file entry instead of the
11673         whole directory.  (Bug#5551)
11675         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
11676         dired's alignment sanity.  (Bug#5516)
11678 2010-02-14  Juri Linkov  <juri@jurta.org>
11680         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
11681         Remove remaining ^H with their preceding chars.  (Bug#5566)
11683 2010-02-13  Glenn Morris  <rgm@gnu.org>
11685         * simple.el (transpose-subr): Give it a doc-string.
11687         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
11688         Doc fixes.
11690 2010-02-12  Juri Linkov  <juri@jurta.org>
11692         * arc-mode.el (archive-unique-fname): Make directories for nested
11693         archives.  (Bug#5540)
11695 2010-02-12  Juri Linkov  <juri@jurta.org>
11697         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
11699 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11701         * subr.el (copy-overlay): Handle deleted overlays.
11703         * man.el (Man-completion-table): Don't signal an error if we can't run
11704         manual-program (bug#4056).
11706 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
11708         * textmodes/artist.el (artist-mt): Fix typos in docstring.
11710 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11712         * info.el (Info-bookmark-jump): Simplify.
11714         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
11715         (bookmark-default-handler): Accept new bookmark field `buffer'.
11717 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
11719         * iswitchb.el (iswitchb-completions): Revert last change.
11721 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
11723         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
11724         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
11725         This prevents file names like "~/" being listed literally.
11727 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
11729         * term/xterm.el (xterm-maybe-set-dark-background-mode):
11730         Remove dead code.  (Bug#5546)
11732 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
11734         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
11735         correctly (Bug#5548).
11737 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
11739         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
11740         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
11742 2010-02-08  Kenichi Handa  <handa@m17n.org>
11744         * international/mule-util.el (with-coding-priority): Add autoload
11745         cookie for putting `lisp-indent-function'.
11747 2010-02-07  Glenn Morris  <rgm@gnu.org>
11749         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
11750         Move F2003 named interfaces from keywords-2 to keywords-1, and
11751         use function-name-face rather than constant-face.
11752         Simplify "abstract interface" regexp.
11754 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
11756         * eshell/esh-util.el (eshell-file-attributes): New optional arg
11757         ID-FORMAT.  Pass it to `file-attributes'.
11759         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
11761 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
11763         * faces.el (set-face-attribute): Allow calling
11764         internal-set-lisp-face-attribute with 'unspecified family and
11765         foundry argument (Bug#5536).
11767 2010-02-07  Glenn Morris  <rgm@gnu.org>
11769         * progmodes/f90.el (f90-font-lock-keywords-2)
11770         (f90-looking-at-type-like, f90-looking-at-program-block-end):
11771         Handle F2003 named interfaces.
11773 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
11775         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
11776         beg and end before calling c-get-state-before-change-functions.
11778 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
11780         * vc-bzr.el (vc-bzr-dir-extra-headers):
11781         Disable the pending merges header.
11783 2010-02-05  Juri Linkov  <juri@jurta.org>
11785         * doc-view.el (doc-view-mode):
11786         * image-mode.el (image-mode): Put property mode-class=special.
11787         (Bug#4896)
11789 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
11791         * vc-svn.el (vc-svn-revision-table): New function.
11793 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
11795         * net/ange-ftp.el (ange-ftp-insert-directory):
11796         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11797         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11798         Handle also directories.  (Bug#5478)
11800 2010-02-05  Glenn Morris  <rgm@gnu.org>
11802         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
11804 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
11806         * startup.el (command-line-1): Convert options beginning with a
11807         single dash as well (Bug#5519).
11809 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11811         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
11812         * minibuffer.el (completion-initials-expand): Only check the presence
11813         of delims *within* the boundaries, since otherwise the / delim is
11814         always found for files.
11816         Fix up various corner case problems.
11817         * doc-view.el (doc-view-last-page-number): New function.
11818         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
11819         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
11820         (doc-view-kill-proc): Avoid inf-loop in freak cases.
11821         (doc-view-reconvert-doc): Use the new recursive delete-directory.
11822         (doc-view-convert-current-doc): Don't create the resolution.el file
11823         here any more.
11824         (doc-view-pdf/ps->png): Do it here instead.
11825         (doc-view-already-converted-p): Check that resolution.el is present.
11826         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
11827         windows that are not yet showing images.
11829 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
11831         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
11832         `dired-uncache' for every elemnt which is an absolute file name.
11834         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
11835         directory, handle its directory component.
11836         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
11837         function is called permanently and creates noise, otherwise.
11839         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11840         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11841         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
11843 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
11845         * macros.el (apply-macro-to-region-lines):
11846         Minor simplification.  (Bug#5485)
11848 2010-02-04  Glenn Morris  <rgm@gnu.org>
11850         * mail/rmail.el (rmail-show-message-1): Handle malformed
11851         quoted-printable text.  (Bug#5441)
11853         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
11855         * simple.el (visual-line-mode): Capitalize lighter.
11857 2010-02-03  John Wiegley  <jwiegley@gmail.com>
11859         * iswitchb.el (iswitchb-completions): Add bookmark files to the
11860         list of files considered for "virtual buffer" completions.
11862 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
11864         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
11865         also in case of (and (not full) (not wildcard)).  This is needed
11866         when dired is called with a list of files, which are not in
11867         `default-directory'.  (Bug#5478)
11869 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11871         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
11873 2010-02-02  Juri Linkov  <juri@jurta.org>
11875         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
11876         from unidiff to allow function-line after @@.
11878 2010-02-02  Juri Linkov  <juri@jurta.org>
11880         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
11881         '(RCS SCCS) with inverted condition.
11883 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
11885         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
11886         messages.
11888 2010-02-01  Juri Linkov  <juri@jurta.org>
11890         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
11891         compare with "pkunzip" and "pkzip" instead of only "pkzip".
11892         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
11893         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
11895 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11897         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
11898         (doc-view-revert-buffer): New command.
11899         (doc-view-mode-map): Use it.
11901 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
11903         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
11904         pending merge is detected.
11906 2010-01-31  Juri Linkov  <juri@jurta.org>
11908         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
11909         beginning of interactive spec like all other grep commands do.
11910         Put "all" in front of "gz".  (Bug#5260)
11912 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
11914         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
11916 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
11918         * dirtrack.el (dirtrack): Warn instead of signalling error if the
11919         regexp is incorrect (Bug#5476).
11921 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
11923         * net/tramp.el (tramp-handle-insert-directory): Handle also
11924         symlinks, when FILENAME is not in `default-directory'.
11926 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
11928         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
11929         FILE is not in `default-directory'.  (Bug#5478)
11931         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
11932         of SWITCHES.  Handle the case, FILENAME is not in
11933         `default-directory'.  (Bug#5478)
11934         (tramp-register-file-name-handlers): Add safe-magic property.
11936 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
11938         * arc-mode.el (archive-zip-extract): Quote the argument passed to
11939         unzip (Bug#5475).
11941 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
11943         * progmodes/flymake.el (flymake-allowed-file-name-masks)
11944         (flymake-master-make-header-init): Add other C++ filename masks.
11945         (flymake-find-possible-master-files)
11946         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
11948 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
11950         Fix some busybox annoyances.
11952         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
11953         not responding." string.
11954         (tramp-open-connection-setup-interactive-shell): Dump stty
11955         settings.  Enable "neveropen" arg for all `tramp-send-command'
11956         calls.  Handle "=" in variable values properly.
11957         (tramp-find-inline-encoding): Raise an error, when no encoding is
11958         found.
11959         (tramp-wait-for-output): Check, whether PROC buffer is available.
11960         Remove spurious " ^H" sequences, sent by busybox.
11961         (tramp-get-ls-command): Suppress coloring, if possible.
11963 2010-01-28  Glenn Morris  <rgm@gnu.org>
11965         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
11967         * log-edit.el (log-edit-strip-single-file-name): Add missing
11968         :safe, :group, and :version tags.
11970 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
11972         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
11973         buffers.  (Bug#5477)
11975 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
11977         * files.el (delete-directory): Handle moving to trash without
11978         first doing recursion (Bug#5436).
11980 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
11982         * vc-hooks.el (vc-path): Mark as obsolete.
11984 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
11986         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
11987         names too.
11989         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
11990         for the short log.
11991         (vc-bzr-log-view-mode): Adjust regexp for the above change.
11993 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
11995         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
11997         * vc-bzr.el (vc-bzr-revision-table): New function.
11999 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>
12001         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
12002         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
12004 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
12006         Remove support for adding --signoff on commit.
12007         Future support will use an incompatible generic mechanism.
12008         * vc-git.el (vc-git-add-signoff): Remove variable.
12009         (vc-git-toggle-signoff): Remove function.
12010         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
12012         * term/xterm.el (xterm-maybe-set-dark-background-mode):
12013         Rename from xterm-set-background-mode.  Return t if the background mode
12014         was set.
12015         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
12016         earlier, call it again in case the background mode has changed.
12018 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
12020         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
12021         (Bug#3541).
12023 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
12025         * emacs-lisp/assoc.el (aelement): Doc fix.
12026         (aput, adelete, amake): Use lexical-let (Bug#5450).
12028 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
12030         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
12031         is the same as subprogram call, not declaration.  (Bug#5435).
12033 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
12035         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
12036         (tramp-smb-maybe-open-connection): Use it.
12038 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
12040         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
12042 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12044         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
12045         just because we see "encoding: 8bit".
12046         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
12048 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
12050         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
12052 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
12054         * jka-compr.el (jka-compr-load): If load-file is not in
12055         load-history, try its file-truename version.  (bug#5447)
12057 2010-01-21  Alan Mackenzie  <acm@muc.de>
12059         Fix a situation where deletion of a cpp construct throws an error.
12060         * progmodes/cc-engine.el (c-invalidate-state-cache):
12061         Before invoking c-with-all-but-one-cpps-commented-out, check that the
12062         special cpp construct is still in the buffer.
12063         (c-parse-state): Record the special cpp with markers, not numbers.
12065 2010-01-21  Kenichi Handa  <handa@m17n.org>
12067         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
12068         process last-command-event, as it is now decoded first (Bug#5380).
12070 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
12072         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
12074 2010-01-20  Glenn Morris  <rgm@gnu.org>
12076         * indent.el (tab-always-indent): Fix custom-type.
12078 2010-01-19  Alan Mackenzie  <acm@muc.de>
12080         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
12081         buffer throws "args out of range".
12082         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
12083         playing the role of delimiter.
12085 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
12087         * progmodes/ada-mode.el: Fix bug#5400.
12088         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
12089         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
12090         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
12091         Improve comments in "is" portion.  Handle null procedure declaration.
12092         (ada-move-to-end): Improve doc string.
12094 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
12096         * ido.el (ido-cur-list): Initialize to nil.
12097         Remove obsolete information from commentary.
12098         (ido-choice-list): Initialize to nil.
12099         (ido-get-bufname): Reject minibuffers.
12100         (ido-make-buffer-list): If "default" is a nonexistent
12101         buffer, ignore it, as per the function's comment.
12102         (ido-kill-buffer-internal): New function.
12103         (ido-kill-buffer-at-head): Use it.
12104         (ido-visit-buffer): Likewise.
12106 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
12108         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
12110 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
12112         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
12113         Fix typos in chart titles.
12115         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
12116         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
12117         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
12118         (describe-class, eieio-describe-generic, describe-generic):
12119         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
12120         (eieio-speedbar-expand):
12121         * emulation/viper-cmd.el (viper-exec-form-in-vi)
12122         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
12123         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
12124         (viper-del-backward-char-in-replace, viper-backward-indent)
12125         (viper-brac-function, viper-register-to-point, viper-submit-report):
12126         * net/tramp.el (tramp-remote-coding-commands):
12127         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
12128         Fix typos in docstrings.
12130 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
12132         * mail/sendmail.el (mail-yank-original): Set the mark if the
12133         specified function for yanking does not do it.
12135 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
12137         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
12139         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
12140         resyncing a directory.
12142 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
12144         * progmodes/ada-mode.el: Fix bug#1920.
12145         (ada-ident-re): Delete ., allow multibyte characters.
12146         (ada-goto-label-re): New; matches goto labels.
12147         (ada-block-label-re): New; matches block labels.
12148         (ada-label-re): New; matches both.
12149         (ada-named-block-re): Deleted; callers changed to use
12150         `ada-block-label-re' instead.
12151         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
12152         Use `ada-block-label-re'.
12153         (ada-indent-on-previous-lines): Improve handling of goto labels.
12154         (ada-get-indent-block-start): Special-case block label.
12155         (ada-get-indent-label): Split into `ada-indent-block-label' and
12156         `ada-indent-goto-label'.
12157         (ada-goto-stmt-start, ada-goto-next-non-ws):
12158         Optionally ignore goto labels.
12159         (ada-goto-next-word): Simplify.
12160         (ada-indent-newline-indent-conditional): Insert newline before
12161         trying to fix indentation; doc fix.
12163 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
12165         * calc/calc.el (calc-command-flags): Give it an initial value.
12167 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
12169         * files.el (minibuffer-with-setup-hook):
12170         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
12171         (artist-key-draw-continously, artist-key-do-continously-continously)
12172         (artist-key-set-point-continously, artist-mouse-draw-continously):
12173         Fix typos in docstrings.
12175 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
12177         * nxml/nxml-mode.el (nxml-extend-after-change-region):
12178         Never return t (Bug#3898).
12180 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
12182         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
12183         can parse the output of the external commands (Bug#5279).
12185 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
12187         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
12189 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
12191         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
12193         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
12195         * startup.el (command-line): Remove unused --icon-type arg.
12196         Handle --display arg, passing it to command-line-1 (Bug#5392).
12198 2010-01-16  Mario Lang  <mlang@delysid.org>
12200         * emacs-lisp/chart.el (chart-translate-namezone):
12201         * textmodes/artist.el (artist-compute-popup-menu-table):
12202         Remove duplicated words in doc-strings.
12204 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
12206         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
12207         to mairix-search to suppress threading (Bug#5342).
12209 2010-01-15  Kenichi Handa  <handa@m17n.org>
12211         * international/mule-cmds.el (canonicalize-coding-system-name):
12212         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
12214 2010-01-15  Glenn Morris  <rgm@gnu.org>
12216         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
12218         * wid-edit.el (widget-keymap): Doc fix.
12220         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
12221         former seems to be more widely accepted by various svn versions.
12223 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
12225         * find-cmd.el (find-constituents):
12226         * vc-arch.el (vc-arch-root):
12227         * window.el (window-body-height, pop-up-frames):
12228         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
12229         * progmodes/ada-stmt.el (ada-if):
12230         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
12231         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
12232         (ispell-encoding8-command, ispell-aspell-supports-utf8)
12233         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
12235         * progmodes/flymake.el (flymake-post-syntax-check):
12236         Fix typo in error message.
12238 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
12240         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
12241         which is always a string.  (Bug#5313)
12243 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
12245         * progmodes/ada-xref.el (ada-default-prj-properties):
12246         Simplify previous change.
12248 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
12250         * progmodes/ada-xref.el (ada-default-prj-properties):
12251         Default ada_project_path to $ADA_PROJECT_PATH.
12253 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
12255         * progmodes/ada-mode.el (ada-create-keymap):
12256         Override `narrow-to-defun' with `ada-narrow-to-defun'.
12258 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
12260         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
12261         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
12262         (ada-get-current-indent, ada-imenu-generic-expression)
12263         (ada-which-function): Check for it.
12265 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
12267         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
12268         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
12270 2010-01-14  Glenn Morris  <rgm@gnu.org>
12272         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
12274 2010-01-14  Kenichi Handa  <handa@m17n.org>
12276         * composite.el (auto-composition-mode): Make it a buffer local
12277         variable (permanent-local).
12278         (auto-composition-function): Set the default value to
12279         auto-compose-chars.
12280         (auto-composition-mode): Make it a simple function, not a minor mode.
12281         (global-auto-composition-mode): Likewise.
12282         (turn-on-auto-composition-if-enabled): Delete it.
12284 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
12286         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
12288 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
12290         * files.el (copy-directory): Compute target for recursive
12291         directories with identical names.  (Bug#5343)
12293 2010-01-12  Glenn Morris  <rgm@gnu.org>
12295         * mail/emacsbug.el (report-emacs-bug-pretest-address):
12296         Set it to bug-gnu-emacs rather than emacs-pretest-bug.
12298 2010-01-11  Sam Steingold  <sds@gnu.org>
12300         * imenu.el (imenu-default-create-index-function): Detect infinite
12301         loops caused by imenu-prev-index-position-function.
12303 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
12305         * htmlfontify.el (htmlfontify-load-rgb-file)
12306         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
12307         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
12308         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
12309         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
12310         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
12311         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
12312         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
12313         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
12314         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
12315         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
12316         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
12317         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
12318         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
12319         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
12320         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
12321         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
12322         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
12323         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
12324         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
12325         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
12326         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
12327         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
12328         backslash-quoting from parentheses, etc.
12330 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
12332         * progmodes/js.el: Autoload javascript-mode alias.
12334 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
12336         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
12337         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
12338         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
12339         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
12340         Fix typos in docstrings.
12341         (ffap-url-regexp): Doc fix.
12342         (ffap-at-mouse): Fix typo in message.
12344 2010-01-11  Glenn Morris  <rgm@gnu.org>
12346         * version.el (emacs-copyright): Set copyright year to 2010.
12348 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
12350         * format.el (format-annotate-function): Only set
12351         write-region-post-annotation-function after running to-fn so as not to
12352         affect nested write-region calls (bug#5273).
12354 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
12356         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
12357         wisent/python.el.
12359 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
12361         * man.el (Man-goto-section): Signal error if the section is not
12362         found (Bug#5317).
12364 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
12366         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
12367         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
12369 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
12371         * progmodes/compile.el: Don't treat compile-command as safe if
12372         compilation-read-command might be nil (Bug#4218).
12374 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
12376         * startup.el (command-line-1): Use orig-argi to check for ignored X and
12377         NS options.
12379 2010-01-08  Kenichi Handa  <handa@m17n.org>
12381         * international/fontset.el (build-default-fontset-data):
12382         Exclude characters in scripts kana, hangul, han, or cjk-misc.
12384 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
12386         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
12387         to `create-file-buffer' as it expects, not just a buffer name.
12388         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
12389         to help uniquify.  (Bug#3224)
12391 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
12393         * font-setting.el (font-setting-change-default-font): Use user-spec
12394         instead of name.
12396 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
12398         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
12400 2010-01-05  Tom Tromey  <tromey@redhat.com>
12402         * progmodes/python.el (python-font-lock-keywords):
12403         Handle qualified decorators (Bug#881).
12405 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
12407         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
12408         in a lightweight checkout.
12410 2010-01-05  Kenichi Handa  <handa@m17n.org>
12412         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
12414 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
12416         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
12418 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
12420         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
12421         checkouts.  (Bug#618)
12422         (vc-bzr-log-view-mode): Also highlight the author.
12423         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
12424         (vc-bzr-shelve-menu-map):
12425         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
12426         (vc-bzr-shelve-apply): Make prompt more explicit.
12428 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
12430         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
12431         They are valid characters in URL paths (rfc3986), and at least
12432         Firefox does not understand the encoded version (Bug#3166).
12434 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
12436         * progmodes/octave-mod.el (octave-end-keywords)
12437         (octave-block-begin-or-end-regexp, octave-block-match-alist):
12438         Add "end" keyword (Bug#3061).
12439         (octave-end-as-array-index-p): New function.
12440         (calculate-octave-indent): Use it.
12442 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12444         * bookmark.el: Consistently put the text property on the bookmark name.
12445         (bookmark-bmenu-marks-width): Bump back to 2, to include
12446         annotation marks.
12447         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
12448         property on the bookmark name, instead of not putting it at all.
12449         (bookmark-bmenu-list): Fix where we put the text property.
12451 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12453         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
12454         for showing buffer modified state (as added in the previous change).
12456 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12458         * bookmark.el: Show modified state of bookmark buffer more accurately.
12459         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
12460         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
12461         (with-buffer-modified-unmodified): New macro.
12462         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12463         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
12464         Use new macro to preserve the buffer modified state.
12466 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12468         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
12469         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
12470         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
12471         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
12472         (bookmark-bmenu-rename, bookmark-bmenu-locate)
12473         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
12474         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
12476 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
12478         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12479         Make the lines in the generated doc string shorter.  (Bug#4668)
12481 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
12483         * net/rcirc.el: Add follow-link binding (Bug#4738).
12485 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
12487         * Makefile.in (bzr-update): Rename from cvs-update.
12488         (cvs-update): New target for backward compatibility.
12490         * makefile.w32-in (bzr-update): Rename from cvs-update.
12491         (cvs-update): New target for backward compatibility.
12493 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12495         * bookmark.el: Remove gratuitous gratitude.
12497 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12499         * bookmark.el (bookmark-bmenu-any-marks): New function.
12500         (bookmark-bmenu-save): Clear buffer modification if no marks.
12502 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12504         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
12505         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
12506         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
12507         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
12509         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
12510         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
12511         To: emacs-devel {_AT_} gnu.org
12512         Subject: bookmark.el bug report
12513         Date: Mon, 28 Dec 2009 14:19:16 +0800
12514         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
12516 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12518         * bookmark.el: Improvements suggested by Drew Adams:
12519         (bookmark-bmenu-ensure-position): New name for
12520         `bookmark-bmenu-check-position'.  Just ensure the position,
12521         don't return any meaningful value.
12522         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
12523         New constants.
12525 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
12527         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
12528         (bookmark-yank-point, bookmark-bmenu-check-position):
12529         Fix typos in docstrings.
12530         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
12531         (bookmark-name-from-full-record, bookmark-get-position)
12532         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
12533         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
12534         Remove useless quoting of parenthesis, etc. in docstrings.
12536         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
12537         (ediff-append-custom-diff): Fix typo in error message.
12538         (ediff-meta-mark-equal-files): Fix typos in messages.
12540         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
12542         * net/imap-hash.el (imap-hash-make): Doc fix.
12543         (imap-hash-test): Fix typo in error message; reflow docstring.
12544         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
12545         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
12546         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
12547         Fix typos in docstrings.
12548         (imap-hash-open-connection): Fix typo in error message.
12550         * play/gomoku.el (gomoku): Fix typos in docstring.
12552         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
12553         (gdb-jsonify-buffer): Fix typos in docstring.
12554         (gdb-goto-breakpoint): Fix typo in error message.
12555         ("Display Other Windows"): Fix typo in help message.
12556         (gdb-speedbar-expand-node): Fix typo in question.
12558         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
12559         (idlwave-html-system-help-location, idlwave-html-help-location)
12560         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
12561         (idlwave-help-browser-generic-args, idlwave-help-directory)
12562         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
12563         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
12564         (idlwave-online-help, idlwave-help-html-link)
12565         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
12566         Fix typos in docstrings.
12567         (idlwave-help-with-source, idlwave-help-find-routine-definition):
12568         Reflow docstrings.
12569         (idlwave-help-assistant-start): Fix typo in error message.
12571         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
12572         (octave-electric-space): Fix typos in docstrings.
12574 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
12576         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
12578 2010-01-01  Juri Linkov  <juri@jurta.org>
12580         * comint.el (comint-input-ring-size): Make it a defcustom and
12581         increase the default to 500 (Bug#5148).
12583 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
12585         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
12586         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
12587         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
12589 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
12591         Show working revision correctly for mercurial.
12592         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
12593         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
12595 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
12597         Declare some functions for the byte-compiler.
12598         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
12599         (speedbar-timer-fn, speedbar-change-expand-button-char)
12600         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
12602 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
12604         This changeset reverts GDB Graphical Interface to use annotations.
12605         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
12607 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
12609         Make vc-dir work on subdirectories of the bzr root.
12610         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
12611         Return file names relative to it.
12612         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
12613         relative directory to vc-bzr-after-dir-status.
12615 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
12617         * font-lock.el (font-lock-refresh-defaults): New function, which
12618         can be used to let font-lock react to external changes in
12619         variables like font-lock-defaults and keywords.
12620         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
12622 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
12624         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
12626         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
12628 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
12630         Supersede color.diff settings in git log (bug#5211).
12632         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
12633         escape chars in its output when the user has color.diff set to `always'.
12634         This fix works on git 1.4.2 and newer (released on 2006-08-13).
12636 2009-12-26  Kevin Ryde  <user42@zip.com.au>
12638         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
12639         node.  Keep previous "Index" name to work with past coreutils too.
12641         * man.el (man): Revise docstring a bit to show -a and -l as
12642         examples.  Add -k description since support for it has otherwise
12643         been a secret.  (Further to bug#3717.)
12644         (Man-bgproc-sentinel): When "-k foo" produces no output show error
12645         "no matches" rather than "Can't find manpage", as the latter reads
12646         like -k was interpreted as a page name, which is not so.  (Bug#5431)
12648 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
12650         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
12651         switches.  Check also for //SUBDIRED// line.
12653 2009-12-25  Kenichi Handa  <handa@m17n.org>
12655         * language/indian.el (devanagari-composable-pattern): Fix to
12656         handle ZWNJ and ZWJ.  Use it in composition-function-table for
12657         Devanagari.
12658         (malayalam-composable-pattern): Fix previous change.
12660 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
12662         * ps-print.el (ps-face-attributes): It was not returning the
12663         attribute face for faces specified as string.  Reported by harven
12664         <harven@free.fr>.  (Bug#5254)
12665         (ps-print-version): New version 7.3.5.
12667 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
12669         * calendar/icalendar.el (icalendar--convert-tz-offset):
12670         Fix timezone names.
12671         (icalendar--convert-tz-offset): Fix the "last-day-problem".
12672         (icalendar--add-diary-entry): Remove the trailing blank that
12673         diary-make-entry inserts.
12675 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
12677         Make `file-expand-wildcards' work for remote files.
12679         * files.el (file-expand-wildcards): In case of remote files, check
12680         only local file name part for wildcards.  Provide feature 'files
12681         and subfeature 'remote-wildcards.  (Bug#5198)
12683         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
12684         if there is already an established connection.
12685         (tramp-advice-file-expand-wildcards): Remove it.
12687         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
12688         (tramp-advice-file-expand-wildcards): Move from tramp.el.
12689         Activate advice for older GNU Emacs versions.  (Bug#5237)
12691 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
12693         Some doc fixes (more needed).
12695         * find-cmd.el (find-constituents): Reflow docstring.
12696         (find-cmd, find-prune, find-command): Fix typos in docstrings.
12697         (find-generic): Doc fix.
12699 2009-12-17  Juri Linkov  <juri@jurta.org>
12701         Fix regression from 23.1 to allow multiple modes in Local Variables.
12703         * files.el (hack-local-variables-filter): While ignoring duplicates,
12704         don't take `mode' into account.
12705         (hack-local-variables-filter, hack-dir-local-variables):
12706         Don't remove duplicate `mode' from local-variables-alist (like `eval').
12708 2009-12-17  Juri Linkov  <juri@jurta.org>
12710         Make `dired-diff' safer.  (Bug#5225)
12712         * dired-aux.el (dired-diff): Signal an error when `file' equals to
12713         `current' or when `file' is a directory of the `current' file.
12715 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
12717         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
12718         unconditionally preloaded files.
12720 2009-12-16  Juri Linkov  <juri@jurta.org>
12722         Revert to old 23.1 logic of using the file at the mark as default.
12723         * dired-aux.el (dired-diff): Use the file at the mark as default
12724         if it's not the same as the current file, and the target dir is
12725         the current dir or the mark is active.  Add the current file
12726         as the arg of `dired-dwim-target-defaults'.  Use the default file
12727         in the prompt.  (Bug#5225)
12729 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
12731         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
12732         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
12733         (tramp-check-for-regexp): Check also, when an echoing shell stops
12734         to echo sent commands.
12736 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
12738         * Makefile.in: Revert last change (Bug#5191).
12740 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
12742         * vc-hg.el (vc-hg-print-log): Fix argument order.
12743         (vc-hg-working-revision): Make sure the command is executed in a
12744         known environment so that we can parse the output.  (Bug#4417)
12746 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
12748         * progmodes/python.el (python-symbol-completions): Remove text
12749         properties from symbol string before calling python-send-receive.
12751 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
12753         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
12754         when there are values for both file and line.  (Bug#5060)
12756 2009-12-14  Juri Linkov  <juri@jurta.org>
12758         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
12759         whitespace after the file name of the first line of unified format,
12760         because git-diff doesn't output whitespace and file modification time
12761         after the file name.
12763 2009-12-14  David Kastrup  <dak@gnu.org>
12765         * info.el (Info-hide-cookies-node): Before hiding a cookie,
12766         check if it already has the `display' property added by
12767         `Info-display-images-node', and not put the `invisible' property
12768         in this case.
12770 2009-12-13  Glenn Morris  <rgm@gnu.org>
12772         * mail/emacsbug.el (message-sort-headers): Define for compiler.
12773         (report-emacs-bug): In message-mode, sort manually before storing
12774         original report text.  (Bug#5178)
12775         Remove superfluous save-excursion.
12777 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
12779         * net/dbus.el (dbus-property-handler): Filter lambda forms out
12780         when responding to "GetAll" properties.
12782 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
12784         * simple.el (compose-mail): Remove mail-setup-with-from from
12785         customization checks.
12787 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
12789         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
12790         RAR archives created on Unix systems.
12792 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12794         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
12795         the varalias that was accidentally removed by the 2009-11-19 change
12796         (bug#5186).
12798 2009-12-12  Kenichi Handa  <handa@m17n.org>
12800         * language/indian.el (indian-compose-regexp): New function.
12801         (malayalam-composable-pattern): Fix the pattern.
12802         (composition-function-table): Set malayalam-composable-pattern for
12803         Malayalam characters.
12805 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
12807         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
12808         rather than down-mouse-1, based on follow-link conventions.
12810         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
12811         are compiled.
12813 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
12815         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
12816         (verilog-vmm-statement-re, verilog-ovm-statement-re)
12817         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
12818         (verilog-leap-to-head, verilog-backward-token):
12819         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
12821 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
12823         * progmodes/verilog-mode.el (verilog-auto-lineup)
12824         (verilog-nameable-item-re): Cleanup user-visible spelling and
12825         documentation errors.  One reported by Gary Delp.
12826         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
12827         (verilog-read-decls): Fix AUTOWIRE with types declared in a
12828         package, bug195.  Reported by Pierre-David Pfister.
12830 2009-12-11  Glenn Morris  <rgm@gnu.org>
12832         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
12834         * mail/emacsbug.el: No longer require sendmail.
12835         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
12836         (report-emacs-bug-orig-text): Doc fix.
12837         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
12838         New local variables, to adapt to different mail-user-agents.
12839         (report-emacs-bug): Fix test for a gnu.org address.
12840         Use overlays for emphasis, since font-lock defeats 'face property.
12841         Pretest bugs also end up at the newsgroup these days.
12842         Stop message-mode stripping text properties.
12843         Set and use the new buffer-local variables.
12844         (report-emacs-bug-hook): Add doc-string.
12845         Remove some unnecessary save-excursions and simplify.
12846         Use the appropriate hook and send-command.
12848         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
12849         capitalization of some menu entries.
12851 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
12853         * whitespace.el (whitespace-display-char-on):
12854         Ensure `buffer-display-table' is unique when two or more windows are
12855         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
12856         New version 12.1.
12858 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
12860         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
12861         characters in the Attribute field.
12863 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
12865         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
12867 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
12869         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
12870         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12871         Disregard autoload-excludes.
12872         (update-directory-autoloads): Obey autoload-excludes here instead.
12873         But don't store its contents in no-autoloads and remove entries that
12874         refer to excludes files.
12876 2009-12-10  Glenn Morris  <rgm@gnu.org>
12878         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
12879         (expand-mail-aliases): Define for compiler.
12881         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
12882         Define for compiler.
12884         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
12885         appropriate for the mail-user-agent in use.
12887 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
12889         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
12891 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
12893         Fix short log parsing and fontification.
12894         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
12895         Fix fontification for the [merge] label.
12897 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
12899         Drop some properties to avoid surprises (bug#5002).
12900         * htmlfontify.el (hfy-ignored-properties): New defcustom.
12901         (hfy-fontify-buffer): Use it.
12903 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
12905         Minor cleanup.
12906         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
12907         Adjust all callers.
12908         (ffap-locate-file): Remove unused arg `dir-ok' and make other
12909         args compulsory.  Adjust callers.
12910         (ffap-gopher-at-point): Remove unused var `name'.
12912         Get rid of the ELCFILES abomination.
12913         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12914         (compile-elcfiles): New phony target.
12915         (compile-main): Compute ELCFILES dynamically.
12916         (compile-clean): New target to remove left-over elc files.
12917         (compile, all): Use it.
12919 2009-12-09  Kenichi Handa  <handa@etlken>
12921         * international/mule-diag.el: Require help-mode instead of help-fns.
12923 2009-12-09  Kenichi Handa  <handa@m17n.org>
12925         * international/mule-cmds.el (ucs-names): Supply sufficiently
12926         fine ranges instead of pre-calculating accurate ranges.
12927         Iterate with bigger gc-cons-threshold.
12929 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
12931         Add support for stashing a snapshot of the current tree.
12932         * vc-git.el (vc-git-stash-snapshot): New function.
12933         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
12935 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
12937         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
12938         instead of `(beginning|end)-of-line'.
12940 2009-12-08  Glenn Morris  <rgm@gnu.org>
12942         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
12944         * Makefile.in (ELCFILES): Regenerate.
12946 2009-12-07  Juri Linkov  <juri@jurta.org>
12948         Don't lazy-highlight the comint output in history Isearch mode.
12950         * comint.el (comint-history-isearch-search): Instead of
12951         `comint-line-beginning-position', use `comint-after-pmark-p'
12952         to check if point if before the process mark, and go to
12953         `process-mark' in this case.
12955 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12957         * textmodes/tex-mode.el (latex-complete)
12958         (latex-indent-or-complete): Remove.
12959         (latex-mode): Set completion-at-point-functions instead.
12961         Provide a standard completion command and hook it into TAB.
12962         * minibuffer.el (completion-at-point-functions): New var.
12963         (completion-at-point): New command.
12964         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
12965         * progmodes/python.el (python-mode-map): Use completion-at-point.
12966         (python-completion-at-point): Rename from python-partial-symbol and
12967         adjust for use in completion-at-point-functions.
12968         (python-mode): Setup completion-at-point for Python completion.
12969         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
12970         extracted from lisp-complete-symbol.
12971         (lisp-complete-symbol): Use it.
12972         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
12973         setup completion-at-point for Elisp completion.
12974         (emacs-lisp-mode-map, lisp-interaction-mode-map):
12975         Use completion-at-point.
12976         * ielm.el (ielm-map): Use completion-at-point.
12977         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
12978         * progmodes/sym-comp.el: Move to...
12979         * obsolete/sym-comp.el: Move from progmodes.
12981 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
12983         Prevent save-buffer in Rmail buffers from using the coding-system
12984         of the current message, and from clobbering the encoding mnemonics
12985         in the mode line (Bug#4623).
12987         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
12988         flag, too.
12989         (rmail-message-encoding): New variable.
12990         (rmail-write-region-annotate): Record the encoding of the current
12991         message in rmail-message-encoding.
12992         (rmail-after-save-hook): New function, restores the encoding of
12993         the current message after the message collection is saved.
12995 2009-12-07  Juri Linkov  <juri@jurta.org>
12997         * progmodes/grep.el (grep-read-files): Use `completing-read'
12998         instead of `read-string'.  Set its `collection' arg to
12999         `read-file-name-internal'.  (Bug#4301)
13001 2009-12-07  Juri Linkov  <juri@jurta.org>
13003         Correctly restore original Isearch point.  (Bug#4994)
13005         * isearch.el (isearch-mode): Move `isearch-push-state' after
13006         `(run-hooks 'isearch-mode-hook)'.
13007         (isearch-cancel): When `isearch-push-state-function' is defined,
13008         let-bind `isearch-cmds' to the first state (the last element of
13009         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
13010         function and restores the original point).  Otherwise, move point
13011         to `isearch-opoint'.
13013 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13015         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
13016         chars that don't have names, so the table can be built much faster at
13017         run-time.
13019 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
13021         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
13022         change.  Suggested by David Kastrup.
13024         * simple.el (compose-mail): Check for incompatibilities and warn.
13025         (compose-mail-user-agent-warnings): New option.
13027 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
13029         Support showing a single log entry from vc-annotate.
13030         * vc.el (print-log): Add a new argument: START-REVISION.
13031         (vc-print-log-internal): Add a new optional argument and
13032         pass it to the backend.
13033         (vc-print-log, vc-print-root-log): Adjust callers.
13034         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
13035         buffer already displays the requested log entry, use it.
13036         Otherwise display only the log entry in question.
13037         * vc-svn.el (vc-svn-print-log):
13038         * vc-mtn.el (vc-mtn-print-log):
13039         * vc-hg.el (vc-hg-state):
13040         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
13041         (vc-git-show-log-entry): Return t on success.
13042         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
13043         (vc-bzr-show-log-entry): Return t on success.
13044         * vc-rcs.el (vc-rcs-print-log):
13045         * vc-sccs.el (vc-sccs-print-log):
13046         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
13048 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
13050         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
13051         Add menus to the meta mode.  (Bug#5043)
13053 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
13055         * ediff-init.el (ediff-event-key): Use event-to-character instead of
13056         event-key.
13058         * ediff.el (ediff-buffers-internal): Add unwind-protect.
13060 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
13062         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
13063         Berbain <raphael.berbain@gmail.com>.
13065         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
13066         characters.
13067         (tramp-initial-end-of-output): New defconst.
13068         (tramp-methods, tramp-find-shell)
13069         (tramp-open-connection-setup-interactive-shell)
13070         (tramp-maybe-open-connection): Use it.
13071         (tramp-shell-prompt-pattern, tramp-wait-for-output):
13072         Handle existence of `#' and `$'.
13074         * net/tramp-fish.el (tramp-fish-maybe-open-connection):
13075         Use `tramp-initial-end-of-output'.
13077 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
13079         Get the background mode from the terminal for xterm, and set
13080         faces accordingly.
13081         * term/xterm.el (xterm-set-background-mode): New function.
13082         (terminal-init-xterm): Use it in case xterm supports background
13083         color queries.  Recompute faces after getting the background
13084         color.
13086 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
13088         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
13089         number comment back on its own line, for easier parsing.
13091 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13093         Make it work for non-file buffers (bug#5102).
13094         * doc-view.el (doc-view-current-cache-dir):
13095         Use doc-view-buffer-file-name rather than buffer-file-name.
13096         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
13098 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
13100         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
13101         author field is too short.
13103 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
13105         * vc-git.el (vc-git-print-log): Handle a limit argument.
13106         Display the short log in graph form and with labels.
13107         (vc-git-log-view-mode): Handle labels.
13109         Make vc-revert change VC state from 'added to 'unregistered.
13110         * vc-git.el (vc-git-revert): Call git reset first.
13112 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
13114         * net/newst-backend.el, net/newst-plainview.el:
13115         * net/newst-reader.el, net/newst-ticker.el:
13116         * net/newst-treeview.el, net/newsticker.el:
13117         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
13119 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
13121         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
13123         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
13124         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
13125         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
13126         Update annotation regexp.
13128         * simple.el (beginning-of-visual-line): Constrain to field
13129         boundaries (Bug#5106).
13131 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
13133         * xml.el (xml-substitute-numeric-entities):
13134         Move newsticker--decode-numeric-entities in newst-backend.el to
13135         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
13136         * net/newst-backend.el (newsticker--parse-generic-feed)
13137         (newsticker--parse-generic-items)
13138         (newsticker--decode-numeric-entities):
13139         Move newsticker--decode-numeric-entities in newst-backend.el to
13140         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
13142 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
13144         * progmodes/js.el (js--js-not): Add null to the list of values.
13146 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
13148         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
13150 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
13152         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
13153         delimiter if it is at the end of the current line.
13154         (bibtex-generate-url-list): Fix docstring.
13156 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
13158         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
13159         minibuffer's content with itself.
13160         Fold the confirm-after-completion case into the `confirm' case.
13161         (completion-pcm-word-delimiters): Add : and / to the delimiters.
13163 2009-12-06  Kevin Ryde  <user42@zip.com.au>
13165         * ffap.el (ffap-rfc-path): Make this a defcustom since
13166         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
13168         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
13169         manuals, similar to existing setup for help-mode.  (Bug#3913.)
13171 2009-12-05  Juri Linkov  <juri@jurta.org>
13173         Save and restore dired buffer's point positions too.  (Bug#4880)
13175         * dired.el (dired-save-positions): Return in the first element
13176         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
13177         Doc fix.
13178         (dired-restore-positions): First restore buffer's position.
13179         While restoring window's positions, check if window still displays
13180         the original buffer.
13182 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
13184         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
13185         if possible.
13187         * shell.el (shell): Require ansi-color (Bug#5113).
13189         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
13191         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
13193 2009-12-05  Alan Mackenzie  <acm@muc.de>
13195         * progmodes/cc-mode.el (c-before-hack-hook)
13196         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
13197         `c-file-style' to work again.  This reversion restores the current
13198         software to its state in Emacs 23.1.  (Bug#4146)
13200 2009-12-05  Kevin Ryde  <user42@zip.com.au>
13202         * textmodes/sgml-mode.el (sgml-lexical-context):
13203         Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
13205 2009-12-05  Juri Linkov  <juri@jurta.org>
13207         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
13208         for virtual nodes.  (Bug#4147)
13209         (Info-find-node-2): Set `Info-current-node-virtual' to nil
13210         when moving from a virtual node.
13211         (Info-mode-menu): Add `Info-virtual-index' to the menu.
13212         (Info-mode): Add `Info-virtual-index' to the docstring.
13214 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
13216         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
13217         track of the buffer position of the end of a BibTeX entry as this
13218         position may change during reformatting.
13219         (bibtex-format-entry): Remove whitespace before processing
13220         numerical fields so that we recognize the latter properly.
13221         (bibtex-reformat): Do not use push which changes the global value
13222         of bibtex-entry-format.
13223         (bibtex-field-braces-alist, bibtex-field-strings-alist)
13224         (bibtex-field-re-init): Replace only space characters by regexp
13225         for whitespace.
13226         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
13227         (bibtex-initialize): Also update bibtex-strings.
13228         (bibtex-kill-field): Preserve white space at end of entry.
13229         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
13230         Update bibtex-reference-keys.
13232 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13234         * minibuffer.el (completion-pcm--merge-try): Also consider placing
13235         point after a star, if that's the only place where modifications can
13236         make progress.
13238 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
13240         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
13241         in docstrings.
13243 2009-12-04  Juri Linkov  <juri@jurta.org>
13245         * proced.el (proced): Call `(proced-update t)' to update process
13246         information instead of only running proced-post-display-hook.
13247         (proced-send-signal): Add a leading space to the buffer name
13248         " *Marked Processes*" to make this buffer ephemeral.
13250 2009-12-04  Juri Linkov  <juri@jurta.org>
13252         * dired.el (dired-auto-revert-buffer): New defcustom.
13253         (dired-internal-noselect): Use it.
13255 2009-12-04  Juri Linkov  <juri@jurta.org>
13257         Change roles of modes and functions in image-mode.el (Bug#5062).
13259         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
13260         in `auto-mode-alist'.
13261         (image-mode-previous-major-mode): New variable.
13262         (image-minor-mode-map): Rename from `image-mode-text-map'.
13263         (image-mode): Move graceful error-handling code from
13264         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
13265         (image-minor-mode): Remove all image-handling code.
13266         Replace `image-mode-text-map' with `image-minor-mode-map'.
13267         Check for `image-type' in mode-line format string.
13268         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
13269         (image-mode-as-text): New function with most code from
13270         `image-mode-maybe'.
13271         (image-toggle-display-text): Move code that removes image
13272         properties from `image-toggle-display' to here.
13273         (image-toggle-display-image): New function with code that adds
13274         image properties copied from `image-toggle-display'.
13275         (image-toggle-display): Remove most code with leaving only code
13276         that toggles between `image-mode-as-text' and `image-mode'.
13278 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
13280         * net/newst-treeview.el
13281         (newsticker--treeview-list-highlight-start): Restored call to
13282         save-excursion: Selected item was stuck.
13283         (newsticker--treeview-list-select): New.
13284         (newsticker--treeview-item-show-text)
13285         (newsticker--treeview-item-show)
13286         (newsticker--treeview-item-update): Use new
13287         newsticker-treeview-item-mode.
13288         (newsticker-treeview-update): Keep current item.
13289         (newsticker-treeview-next-new-or-immortal-item): Doc change.
13290         (newsticker--treeview-first-feed): Doc change.
13291         (newsticker-treeview-list-menu)
13292         (newsticker-treeview-item-menu): Add menu entries.
13293         (newsticker-treeview-item-mode): New.
13295         * net/newst-backend.el (newsticker-customize): Delete other
13296         windows.
13298 2009-12-04  Sam Steingold  <sds@gnu.org>
13300         * log-view.el (log-view-mode-map): "q" calls quit-window,
13301         like in all the other non-self-insert buffers.
13303 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13305         Minor cleanup.
13306         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
13307         key decoding rather than do it manually via last-input-event +
13308         ascii-character.
13309         (term-exec): Use delete-and-extract-region.
13310         (term-handle-ansi-terminal-messages): Remove unused var `end'.
13311         (term-process-pager): Remove unused var `i'.
13312         (term-dynamic-simple-complete): Make obsolete.
13313         (serial-update-config-menu): Remove unused vars `y' and `str'.
13314         (term-update-mode-line): Remove unused var `temp'.
13316 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
13318         Limit the number of log entries displayed by default.
13319         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
13320         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
13321         using a prefix argument.
13323 2009-12-03  Glenn Morris  <rgm@gnu.org>
13325         * progmodes/idlwave.el (class): Restore still useful declaration.
13327 2009-12-03  Alan Mackenzie  <acm@muc.de>
13329         Enhance `c-parse-state' to run efficiently in "brace deserts".
13331         * progmodes/cc-mode.el (c-basic-common-init):
13332         Call c-state-cache-init.
13333         (c-neutralize-syntax-in-and-mark-CPP): Rename from
13334         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
13335         placing `category' properties value 'c-cpp-delimiter at its boundaries.
13337         * progmodes/cc-langs.el (c-before-font-lock-function):
13338         c-extend-and-neutralize-syntax-in-CPP has been renamed
13339         c-neutralize-syntax-in-and-mark-CPP.
13341         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
13342         with `category' properties now, not `syntax-table' ones.
13344         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
13345         enhanced (but slower) version of c-end-of-macro that won't land
13346         inside a literal or on another awkward character.
13347         (c-state-cache-too-far, c-state-cache-start)
13348         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
13349         (c-state-nonlit-pos-cache-limit, c-state-point-min)
13350         (c-state-point-min-lit-type, c-state-point-min-lit-start)
13351         (c-state-min-scan-pos, c-state-brace-pair-desert)
13352         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
13353         buffer local variables.
13354         (c-state-literal-at, c-state-lit-beg)
13355         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
13356         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
13357         (c-state-cache-top-paren, c-state-cache-after-top-paren)
13358         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
13359         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
13360         (c-renarrow-state-cache)
13361         (c-append-lower-brace-pair-to-state-cache)
13362         (c-state-push-any-brace-pair, c-append-to-state-cache)
13363         (c-remove-stale-state-cache)
13364         (c-remove-stale-state-cache-backwards, c-state-cache-init)
13365         (c-invalidate-state-cache-1, c-parse-state-1)
13366         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
13367         (c-parse-state): Enhance and refactor.
13368         (c-debug-parse-state): Amend to deal with all the new variables.
13370         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
13371         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
13372         modify to use category text properties rather than syntax-table ones.
13373         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
13374         to switch off/on the syntactic paren property of C++ template
13375         delimiters using the category property.
13376         (c-with-<->-as-parens-suppressed): Macro to invoke code with
13377         template delims suppressed.
13378         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
13379         New constant/macros which apply category properties to the start
13380         and end of preprocessor constructs.
13381         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
13382         "comment out" the syntactic value of characters in preprocessor
13383         constructs.
13384         (c-with-cpps-commented-out)
13385         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
13386         with characters in all or all but one preprocessor constructs
13387         "commented out".
13389 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
13391         * proced.el (proced-filter-alist): Use regexp-quote.
13393 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
13395         Cleanup.
13396         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
13397         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
13398         arguments.  Expand `default-directory'.
13400         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
13401         the benefit of returning an expanded localname.
13402         (tramp-tramp-file-p): Handle the case NAME is not a string.
13404 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
13406         Add support for bzr shelve/unshelve.
13407         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13408         (vc-bzr-extra-menu-map): New variables.
13409         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
13410         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
13411         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
13412         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
13413         (vc-bzr-dir-extra-headers): Display shelves.
13415         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
13417 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13419         * textmodes/bibtex.el (bibtex-complete-internal):
13420         Use completion-in-region.
13421         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
13423 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
13425         Support applying stashes.  Improve UI.
13426         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
13427         (vc-git-stash-apply, vc-git-stash-pop)
13428         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
13429         (vc-git-stash-menu): New functions.
13430         (vc-git-stash-menu-map): New variable.
13431         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
13433 2009-12-03  Glenn Morris  <rgm@gnu.org>
13435         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
13436         (vc-print-log-internal): Fix previous change.
13437         (vc-revert): Correct pluralization.
13439 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13441         * progmodes/make-mode.el (makefile-special-targets-list): No need for
13442         it to be an alist any more.
13443         (makefile-complete): Use completion-in-region.
13445         * progmodes/octave-mod.el (octave-complete-symbol):
13446         Use completion-in-region.
13448         Misc cleanup.
13449         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
13450         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
13451         (idlwave-complete-class): Don't quote lambda.
13452         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
13453         (idlwave-mode-map): Move initialization into declaration.
13454         (idlwave-action-and-binding): Use backquotes.
13455         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
13456         Simplify.
13457         (idlwave-is-pointer-dereference): Remove unused var `pos'.
13458         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
13459         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
13460         `parts', and `all-parts'.
13461         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
13462         (idlwave-convert-xml-system-routine-info): Remove unused string
13463         `version-string'.
13464         (idlwave-display-user-catalog-widget): Use dolist.
13465         (idlwave-scanning-lib): Declare dynamically-scoped var.
13466         (idlwave-scan-library-catalogs): Remove unused var `flags'.
13467         (completion-highlight-first-word-only): Declare to silence bytecomp.
13468         (idlwave-popup-select): Tighten scope of `resp'.
13469         (idlwave-find-struct-tag): Remove unused var `beg'.
13470         (idlwave-after-load-rinfo-hook): Declare.
13471         (idlwave-sintern-class-info): Remove unused var `taglist'.
13472         (idlwave-find-class-definition): Remove unused var `list'.
13473         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
13474         (idlwave-what-module-find-class): Remove unused var `classes'.
13476 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
13478         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
13480 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13482         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
13483         buffers visited.  Remove redundant current-buffer-saving.
13485 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13487         Use completion-in-buffer and remove uses of dynamic scoping.
13488         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
13489         (pascal-buffer-to-use, pascal-flag): Don't declare.
13490         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
13491         (pascal-get-completion-decl, pascal-keyword-completion):
13492         Add `pascal-str' argument, save-excursion,
13493         return the found completions, and don't filter with pascal-pred.
13494         (pascal-completion-cache): New var.
13495         (pascal-completion): Don't switch buffer any more (it was never
13496         necessary).  Don't save-excursion any more (it's done by the called
13497         subroutines).  Use a cache to avoid redundant computations.
13498         Use complete-with-action rather than pascal-completion-response and
13499         let it apply the predicate as well.
13500         (pascal-complete-word): Use completion-in-buffer when
13501         pascal-toggle-completions is nil.
13502         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
13503         not used any more.
13504         (pascal-comp-defun): Don't change buffer any more.
13505         Use complete-with-action rather than pascal-completion-response and
13506         let it apply the predicate as well.
13507         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
13508         when neded.
13510 2009-12-02  Kenichi Handa  <handa@m17n.org>
13512         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
13513         shape for all Indic scripts.
13515 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13517         Use completion-in-buffer.
13518         * wid-edit.el (widget-field-text-end): New function.
13519         (widget-field-value-get): Use it.
13520         (widget-string-complete, widget-file-complete)
13521         (widget-color-complete): Use it and completion-in-region.
13522         (widget-complete): Don't narrow the buffer.
13524 2009-12-02  Glenn Morris  <rgm@gnu.org>
13526         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
13527         (rmail-select-summary): Use rmail-pop-to-buffer.
13528         * mail/rmailsum.el: Replace all pop-to-buffer calls with
13529         rmail-pop-to-buffer, to prevent horizontal splits.
13531         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
13532         save-excursion with save-current-buffer.
13533         Widen before searching.  (Bug#5093)
13534         (diary-list-sexp-entries): Remove superfluous save-excursion.
13536 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
13538         * woman.el (woman-make-bufname): Handle man-pages with "." in the
13539         name.  (Bug#5038)
13541 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
13543         * ido.el (ido-file-internal): Handle filenames at point that do
13544         not have a directory part.  (Bug#5049)
13546 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
13548         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
13549         (mpc-songs-jump-to, mpc-resume): Doc fixes.
13551 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
13553         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
13554         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
13555         any more.
13557 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13559         * comint.el (comint-insert-input): Ignore clicks to the right of
13560         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
13562         * vc.el (vc-print-log-internal): Don't wait for the process to
13563         terminate before setting up the major mode.
13565         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
13566         in case.
13568         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
13569         the last element.
13571         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
13573 2009-12-01  Glenn Morris  <rgm@gnu.org>
13575         * window.el (window--display-buffer-2): Fix previous changes.
13577 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
13579         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
13581 2009-12-01  Glenn Morris  <rgm@gnu.org>
13583         * Makefile.in (ELCFILES): Add mpc.elc.
13585 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13587         * mpc.el: New file.
13589 2009-12-01  Glenn Morris  <rgm@gnu.org>
13591         * window.el (window-to-use): Define for compiler.
13593         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
13594         consistent with others (no final period).
13596         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
13597         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
13599 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
13601         Make vc-print-log buttons work.
13602         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
13604 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
13606         * savehist.el (savehist-autosave-interval): Allow setting to nil
13607         through customize.  (Bug#5056)
13609 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
13611         Fix references to jit-lock properties.
13612         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
13613         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
13614         (perl-font-lock-special-syntactic-constructs):
13615         Quote jit-lock-defer-multiline property.
13617 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
13619         * vc-git.el (vc-git-registered): Call vc-git-root only once.
13621 2009-11-30  Juri Linkov  <juri@jurta.org>
13623         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
13624         value `buffer' of `multi-isearch-next-buffer-current-function'.
13625         Use `(current-buffer)' when `buffer' is nil.
13626         (multi-isearch-next-buffer-from-list): Don't fallback to
13627         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
13629 2009-11-30  Juri Linkov  <juri@jurta.org>
13631         * misearch.el (multi-isearch-read-buffers): Move canonicalization
13632         of buffers with `get-buffer' to `multi-isearch-buffers'.
13633         (multi-isearch-buffers, multi-isearch-buffers-regexp):
13634         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
13635         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
13636         FILES with `expand-file-name' converting relative file names
13637         to absolute.  Doc fix.  (Bug#4727)
13639 2009-11-30  Juri Linkov  <juri@jurta.org>
13641         * misearch.el (multi-isearch-read-buffers)
13642         (multi-isearch-read-matching-buffers): New functions.
13643         (multi-isearch-buffers, multi-isearch-buffers-regexp):
13644         Use them in the `interactive' spec.  Doc fix.
13645         (multi-isearch-read-files, multi-isearch-read-matching-files):
13646         New functions.
13647         (multi-isearch-files, multi-isearch-files-regexp):
13648         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
13650 2009-11-30  Juri Linkov  <juri@jurta.org>
13652         * doc-view.el (doc-view-continuous):
13653         Rename from `doc-view-continuous-mode'.
13654         (doc-view-menu): Move "Toggle display" to the top.
13655         Add submenu "Continuous" with radio buttons "Off"/"On"
13656         and "Save as Default".
13657         (doc-view-scroll-up-or-next-page)
13658         (doc-view-scroll-down-or-previous-page)
13659         (doc-view-next-line-or-next-page)
13660         (doc-view-previous-line-or-previous-page):
13661         Rename `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
13663 2009-11-30  Juri Linkov  <juri@jurta.org>
13665         * comint.el (comint-mode-map): Rebind `M-r' from
13666         `comint-previous-matching-input' to
13667         `comint-history-isearch-backward-regexp'.
13668         Unbind `M-s' to allow global key binding `M-s'.
13669         Add menu items for `comint-history-isearch-backward' and
13670         `comint-history-isearch-backward-regexp'.  (Bug#3746)
13672 2009-11-30  Juri Linkov  <juri@jurta.org>
13674         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
13675         For def=recenter, replace `recenter' with `recenter-top-bottom'
13676         that is called with `this-command' and `last-command' let-bound
13677         to `recenter-top-bottom'.  When the last `def' was not `recenter',
13678         set `recenter-last-op' to nil.  (Bug#4981)
13680 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13682         Minor cleanup and simplification.
13683         * filecache.el (file-cache-add-directory)
13684         (file-cache-add-directory-recursively)
13685         (file-cache-add-from-file-cache-buffer)
13686         (file-cache-delete-file-regexp, file-cache-delete-directory)
13687         (file-cache-files-matching-internal, file-cache-display): Use dolist.
13688         (file-cache-temp-minibuffer-message): Delete function.
13689         (file-cache-minibuffer-complete): Use minibuffer-message instead.
13691         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
13692         Don't signal an error when bumping into EOB in tr, s, or y.
13694 2009-11-29  Juri Linkov  <juri@jurta.org>
13696         * startup.el (fancy-about-text): Fix wording of Guided Tour.
13697         (Bug#4960)
13699         * descr-text.el (describe-char-unidata-list): Use lowercase name
13700         for "Unicode name" like in other tags.
13702 2009-11-29  Juri Linkov  <juri@jurta.org>
13704         * ediff-util.el (ediff-minibuffer-with-setup-hook):
13705         New compatibility macro.
13706         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
13708 2009-11-29  Juri Linkov  <juri@jurta.org>
13710         Add defcustom to define the cycling order of `recenter-top-bottom'.
13711         (Bug#4981)
13713         * window.el (recenter-last-op): Doc fix.
13714         (recenter-positions): New defcustom.
13715         (recenter-top-bottom): Rewrite to use `recenter-positions'.
13716         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
13718 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
13720         Improve integration of Tramp and ange-ftp in eshell.
13722         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
13723         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
13724         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
13726         * eshell/esh-util.el (top): Require also Tramp when compiling.
13727         (eshell-directory-files-and-attributes): Check for FTP remote
13728         connection.
13729         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
13730         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
13731         (eshell-file-attributes): Handle ".".  Return `entry'.
13733         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
13734         (ange-ftp-directory-files-and-attributes)
13735         (ange-ftp-real-directory-files-and-attributes): New defuns.
13737         * net/tramp.el (tramp-maybe-open-connection): Open the remote
13738         shell with "exec" when possible.  This prevents trailing prompts
13739         in `start-file-process'.
13741 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13743         Try and remove assumptions about point-min==1.
13744         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
13745         (rng-compute-mode-line-string): Show the validation percentage in
13746         terms of the narrowed text, not the widened text.
13747         (rng-do-some-validation): Don't catch internal errors when debugging.
13748         (rng-first-error): Simplify.
13749         (rng-after-change-function): Remove work around.  AFAIK the bug has
13750         been fixed a while ago.
13752         * image-mode.el (image-minor-mode): Exit more gracefully when the image
13753         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
13755         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
13757         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
13758         `cd' doesn't always do it for us (bug#5067).
13760         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
13761         on 2009-10-25 as part of some other change (bug#5067).
13763 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13765         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
13766         `suspicious'.
13767         (byte-compile-warnings): Use byte-compile-warning-types.
13768         (byte-compile-save-excursion): Warn about use of set-buffer right
13769         after save-excursion.
13771         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
13772         the excursion as well.
13774 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
13776         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
13777         providing a Tramp related implementation of "su" and "sudo".
13778         (eshell-unix-initialize): Add "su" and "sudo".
13780 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
13782         * net/socks.el (socks-send-command): Convert binary request to
13783         unibyte before sending.  This fixes mishandling of some port
13784         numbers such as 129.
13786 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13788         * help.el (describe-bindings-internal): Remove `interactive'.
13790         * man.el (Man-completion-table): Trim a terminating "(".
13791         Remove the space between name page a section.
13792         Add the command's description on the `help-echo' property.
13793         Remove `process-connection-type' binding since it's unused by
13794         call-process.
13795         Provide completion for the "<section> <name>" format as well.
13796         (Man-default-man-entry): Remove spurious var shadowing the argument.
13798 2009-11-26  Kevin Ryde  <user42@zip.com.au>
13800         * log-view.el: Add "Keywords: tools", since its other keywords
13801         aren't in finder-known-keywords, and following vc.el.
13803         * sha1.el (sha1-string-external): default-directory "/" in case
13804         otherwise non-existent.  process-connection-type pipe for touch of
13805         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
13807 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13809         Misc coding convention cleanups.
13810         * htmlfontify.el (hfy-init-kludge-hook): Rename from
13811         hfy-init-kludge-hooks.
13812         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
13813         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
13814         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
13815         and push.
13816         (hfy-slant, hfy-weight): Use tables rather than code.
13817         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
13818         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
13819         (hfy-face-attr-for-class): Initialize `face-spec' directly.
13820         (hfy-face-to-css): Remove `nconc' with single arg.
13821         (hfy-p-to-face-lennart): Use `or'.
13822         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
13823         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
13824         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
13825         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
13826         (hfy-force-fontification): Use run-hooks.
13828 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
13830         Various minor fixes.
13831         * htmlfontify.el (hfy-default-header): Add toggle_invis since
13832         Javascript belongs in the header, not the body.
13833         (hfy-javascript): Remove.
13834         (hfy-fontify-buffer): Don't insert it any more.
13835         (hfy-face-at): Handle (face0 face1 face2) style face properties.
13836         Fix bug in invis handling when there were no invis props in a chunk.
13838 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13840         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
13842 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
13844         * finder.el (finder-mode-map): Add a menu.
13846 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
13848         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
13849         "unsigned" structs.
13851         (verilog-leap-to-head, verilog-backward-token): Handle "disable
13852         fork" statement better.
13854 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
13856         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
13857         (verilog-delete-auto, verilog-delete-empty-auto-pair)
13858         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
13859         Reported by Clay Douglass.
13861         (verilog-auto-inst, verilog-auto-star-safe)
13862         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
13863         Fix removing "// Interfaces" when saving .* expansions.
13864         Reported by Pierre-David Pfister.
13866 2009-11-26  Glenn Morris  <rgm@gnu.org>
13868         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
13869         the scope.
13871 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
13873         * vc-annotate.el (vc-annotate-revision-previous-to-line):
13874         Really use previous revision.
13876 2009-11-25  Kevin Ryde  <user42@zip.com.au>
13878         * man.el (Man-completion-table): default-directory "/" in case
13879         doesn't otherwise exist.  process-environment COLUMNS=999 so as
13880         not to truncate long names.  process-connection-type pipe to avoid
13881         any chance of hitting the pseudo-tty TIOCGWINSZ.
13882         (man): completion-ignore-case t for friendliness and since man
13883         itself is case-insensitive on the command line.
13884         Further to Bug#3717.
13886         * arc-mode.el: Add "Keywords: files", so the details in its
13887         commentary can be reached from finder-by-keyword.
13888         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
13889         editing mode, but it's comms related and sgml-mode.el has "comm"
13890         on that basis too.
13891         * textmodes/bibtex-style.el: Add "Keywords: tex".
13892         * international/isearch-x.el, international/ja-dic-cnv.el:
13893         * international/ja-dic-utl.el, international/kkc.el:
13894         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
13896 2009-11-25  Juri Linkov  <juri@jurta.org>
13898         * man.el (Man-completion-table): Modify regexp to include
13899         section names to completion strings.  (Bug#3717)
13901 2009-11-25  Juri Linkov  <juri@jurta.org>
13903         Search recursively in gzipped files.  (Bug#4982)
13905         * progmodes/grep.el (grep-highlight-matches): Add new options
13906         `always' and `auto'.  Doc fix.
13907         (grep-process-setup): Check `grep-highlight-matches' for
13908         `auto-detect' to determine the need to compute grep defaults.
13909         Move Windows/DOS specific --colors settings handling
13910         to `grep-compute-defaults'.  Check `grep-highlight-matches'
13911         to get the value of "--color=".
13912         (grep-compute-defaults): Compute `grep-highlight-matches' when it
13913         has the value `auto-detect'.  Move Windows/DOS specific settings
13914         from `grep-process-setup'.
13915         (zrgrep): New command with alias `rzgrep'.
13917 2009-11-25  Juri Linkov  <juri@jurta.org>
13919         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
13920         to nil instead of switching off view-mode.  (Bug#4896)
13922 2009-11-25  Juri Linkov  <juri@jurta.org>
13924         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
13926         * mwheel.el (mwheel-scroll-up-function)
13927         (mwheel-scroll-down-function): New defvars.
13928         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
13929         `scroll-up', and `mwheel-scroll-down-function' instead of
13930         `scroll-down'.
13932         * doc-view.el (doc-view-scroll-up-or-next-page)
13933         (doc-view-scroll-down-or-previous-page): Add optional ARG.
13934         Use this ARG in the call to image-scroll-up/image-scroll-down.
13935         Change `interactive' spec to "P".  Goto next/previous page only
13936         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
13937         SPC/DEL case).  Doc fix.
13938         (doc-view-next-line-or-next-page)
13939         (doc-view-previous-line-or-previous-page): Rename arg to ARG
13940         for consistency.
13941         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
13942         `doc-view-scroll-up-or-next-page', and buffer-local
13943         `mwheel-scroll-down-function' to
13944         `doc-view-scroll-down-or-previous-page'.
13946 2009-11-25  Juri Linkov  <juri@jurta.org>
13948         Provide additional default values (directories at other Dired
13949         windows) via M-n in the minibuffer of some Dired commands.
13951         * dired-aux.el (dired-diff, dired-compare-directories)
13952         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
13953         `minibuffer-default' in `minibuffer-with-setup-hook'.
13954         (dired-dwim-target-directory): Find a window that displays Dired
13955         buffer instead of failing when the next window is not Dired.
13956         Use `get-window-with-predicate' to find for the next Dired window.
13957         (dired-dwim-target-defaults): New function.
13959         * ediff-util.el (ediff-read-file-name):
13960         Use `dired-dwim-target-defaults' to set `minibuffer-default'
13961         in `minibuffer-with-setup-hook'.
13963 2009-11-25  Juri Linkov  <juri@jurta.org>
13965         Provide additional default values (file name at point or at the
13966         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
13968         * minibuffer.el (read-file-name-defaults): New function.
13969         (read-file-name): Reset `minibuffer-default' to nil when
13970         it duplicates initial input `insdef'.
13971         Bind `minibuffer-default-add-function' to lambda that
13972         calls `read-file-name-defaults' in `minibuffer-selected-window'.
13973         (minibuffer-insert-file-name-at-point): New command.
13975         * files.el (file-name-at-point-functions): New defcustom.
13976         (find-file-default): Remove defvar.
13977         (find-file-read-args): Don't use `find-file-default'.
13978         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13979         to `read-file-name'.
13980         (find-file-literally): Use `read-file-name' with
13981         `confirm-nonexistent-file-or-buffer'.
13983         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
13985         * dired.el (dired-read-dir-and-switches):
13986         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13987         to `read-file-name'.
13988         (dired-file-name-at-point): New function.
13989         (dired-mode): Add hook `dired-file-name-at-point' to
13990         `file-name-at-point-functions'.
13992 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13994         Really make the *Completions* window soft-dedicated (bug#5030).
13995         * window.el (window--display-buffer-2): Add `dedicated' argument.
13996         (display-buffer): Pass it when needed so the dedicated flag is set
13997         after calling set-window-buffer, which would otherwise reset it.
13999 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14001         * progmodes/meta-mode.el (meta-complete-symbol):
14002         * progmodes/etags.el (complete-tag):
14003         * mail/mailabbrev.el (mail-abbrev-complete-alias):
14004         Use completion-in-region.
14006         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
14007         (dabbrev-completion): Use completion-in-region.
14008         (dabbrev--abbrev-at-point): Simplify regexp.
14010         * abbrev.el (abbrev--before-point): Use word-motion functions
14011         if :regexp is not specified (bug#5031).
14013         * subr.el (string-prefix-p): New function.
14015         * man.el (Man-completion-cache): New var.
14016         (Man-completion-table): Use it.
14018         * vc.el (vc-print-log-internal): Make `limit' optional for better
14019         compatibility (e.g. with vc-annotate.el).
14021 2009-11-24  Kevin Ryde  <user42@zip.com.au>
14023         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
14024         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
14026         * emacs-lisp/elint.el (elint-add-required-env): Better error message
14027         when .el source file not found or other error.
14029 2009-11-24  Markus Triska  <markus.triska@gmx.at>
14031         * linum.el (linum-update-window): Ignore intangible (bug#4996).
14033 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14035         Handle the [back] button properly (bug#4979).
14036         * descr-text.el (describe-text-properties): Add a `buffer' argument.
14037         Use help-setup-xref, help-buffer, and with-help-window.
14038         (describe-char): Add `buffer' argument.
14039         Pass proper command to help-setup-xref.  Don't meddle with
14040         help-xref-stack-item directly.
14041         (describe-text-category): Use with-help-window and help-buffer.
14043         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
14044         for the displayed buffer (bug#4887).
14046         * man.el (Man-completion-table): New function.
14047         (man): Use it.
14049 2009-11-24  David Reitter  <david.reitter@gmail.com>
14051         * vc-git.el (vc-git-registered): Use checkout directory (where
14052         .git is) rather than the file's directory and a relative path spec
14053         to work around a bug in git.
14055 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
14057         Improve handling of processes on remote hosts.
14059         * eshell/esh-util.el (eshell-path-env): New defvar.
14060         (eshell-parse-colon-path): New defun.
14061         (eshell-file-attributes): Use `eshell-parse-colon-path'.
14063         * eshell/esh-ext.el (eshell-search-path):
14064         Use `eshell-parse-colon-path'.
14065         (eshell-remote-command): Remove argument HANDLER.
14066         (eshell-external-command): Check for FTP remote connection.
14068         * eshell/esh-proc.el (eshell-gather-process-output):
14069         Use `file-truename', in order to start also symlinked files.
14070         Apply `start-file-process' instead of `start-process'.
14071         Shorten `command' to the local file name part.
14073         * eshell/em-cmpl.el (eshell-complete-commands-list):
14074         Use `eshell-parse-colon-path'.
14076         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
14078         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
14079         to `eshell-directory-change-hook'.
14081 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
14083         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
14084         because it could be enabled automatically if view-read-only is non-nil.
14086 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
14088         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
14089         made on 2009-11-22.
14091 2009-11-24  Glenn Morris  <rgm@gnu.org>
14093         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
14094         deleted variable bookmark-bmenu-bookmark-column.
14096 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14098         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
14100 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
14102         * net/browse-url.el (browse-url-filename-alist): On Windows, add
14103         two slashes to the "file:" prefix.
14104         (browse-url-file-url): De-munge Cygwin filenames before passing
14105         them to Windows browser.
14106         (browse-url-default-windows-browser): Use call-process.
14108 2009-11-23  Juri Linkov  <juri@jurta.org>
14110         Implement DocView Continuous mode.  (Bug#4896)
14111         * doc-view.el (doc-view-continuous-mode): New defcustom.
14112         (doc-view-mode-map): Bind C-n/<down> to
14113         `doc-view-next-line-or-next-page', C-p/<up> to
14114         `doc-view-previous-line-or-previous-page'.
14115         (doc-view-next-line-or-next-page)
14116         (doc-view-previous-line-or-previous-page): New commands.
14118 2009-11-23  Juri Linkov  <juri@jurta.org>
14120         Implement Isearch in comint input history.  (Bug#3746)
14121         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
14122         `isearch-mode-hook'.
14123         (comint-history-isearch): New defcustom.
14124         (comint-history-isearch-backward)
14125         (comint-history-isearch-backward-regexp): New commands.
14126         (comint-history-isearch-message-overlay): New buffer-local variable.
14127         (comint-history-isearch-setup, comint-history-isearch-end)
14128         (comint-goto-input, comint-history-isearch-search)
14129         (comint-history-isearch-message, comint-history-isearch-wrap)
14130         (comint-history-isearch-push-state)
14131         (comint-history-isearch-pop-state): New functions.
14133 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
14135         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
14136         return.
14137         (tramp-handle-make-symbolic-link)
14138         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
14139         Quote file names.
14140         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
14141         (tramp-handle-process-file): Use it.
14143 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14145         * window.el (move-to-window-line-last-op): Remove.
14146         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
14148 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
14150         Make M-r mirror the new cycling behavior of C-l.
14151         * window.el (move-to-window-line-last-op): New var.
14152         (move-to-window-line-top-bottom): New command.
14153         (global-map): Bind M-r move-to-window-line-top-bottom.
14155 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
14157         * dired-x.el (dired-guess-shell-alist-default):
14158         Support xz format.  (Bug#4953)
14160 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
14162         * emulation/viper-cmd.el: Use viper-last-command-char instead of
14163         last-command-char/last-command-event.
14164         (viper-prefix-arg-value): Do correct conversion of event-char for
14165         XEmacs.
14167         * emulation/viper-util.el, emulation/viper.el:
14168         Use viper-last-command-char instead of
14169         last-command-char/last-command-event.
14171         * ediff-init.el, ediff-mult.el, ediff-util.el:
14172         Replace last-command-char and last-command-event
14173         with (ediff-last-command-char) everywhere.
14175         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
14176         created in fundamental mode.
14178         * ediff.el (ediff-version): Revert the change of interactive-p to
14179         called-interactively-p.
14181 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
14183         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
14184         generation from word-movement command names.
14186 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
14188         * cus-start.el (all): Add native condition for font-use-system-font.
14190 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
14192         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
14193         Correct the patch from 2009-11-18.  (Bug#3910)
14195 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
14197         * progmodes/subword.el: Rename from lisp/subword.el.
14199         * subword.el: Rename to progmodes/subword.el.
14201         * Makefile.in (ELCFILES): Adapt to subword.el move.
14203 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
14204             Stefan Monnier  <monnier@iro.umontreal.ca>
14206         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
14207         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
14208         (bookmark-bmenu-show-filenames): Use push.
14209         (bookmark-bmenu-hide-filenames): Use local var instead of
14210         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
14211         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
14212         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
14213         filenames now that the bookmark names are always available.
14215 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14217         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
14218         (bookmark-search-pattern): Move and leave unbound.
14219         (bookmark-bmenu-mode-map): Change binding.
14220         (bookmark-read-search-input): Simplify.
14221         Don't use text-char-description.  Don't error on non-char events.
14222         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
14223         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
14224         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
14225         Use a local var for the timer.
14226         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
14227         (i.e. bookmark-bmenu-search).
14229 2009-11-21  Glenn Morris  <rgm@gnu.org>
14231         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
14233 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
14235         * net/browse-url.el (browse-url-default-windows-browser):
14236         Use cygstart for cygwin.
14238 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
14240         * bookmark.el: Formatting and doc fixes only:
14241         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
14242         (bookmark-bmenu-search): Wrap to fit within 80 columns.
14243         Minor grammar and punctuation fixes in doc string.
14244         (bookmark-read-search-input): Adjust to fit within 80 columns.
14246 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
14248         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
14249         (c-backward-into-nomenclature): Adapt to subword renaming.
14251         * subword.el (subword-forward, subword-backward, subword-mark)
14252         (subword-kill, subword-backward-kill, subword-transpose)
14253         (subword-downcase, subword-upcase, subword-capitalize)
14254         (subword-forward-internal, subword-backward-internal):
14255         Rename from forward-subword, backward-subword, mark-subword,
14256         kill-subword, backward-kill-subword, transpose-subwords,
14257         downcase-subword, upcase-subword, capitalize-subword,
14258         forward-subword-internal, backward-subword-internal.
14260 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
14262         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
14263         New options.
14264         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
14265         New vars.
14266         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
14267         (bookmark-bmenu-filter-alist-by-regexp)
14268         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
14269         (bookmark-bmenu-search): New command.
14270         (bookmark-bmenu-mode-map): Bind it.
14272 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
14274         * progmodes/cc-cmds.el: declare-functioned forward-subword and
14275         backward-subword to quit the byte-compiler.
14277         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
14279         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
14281         * progmodes/cc-cmds.el (c-update-modeline)
14282         (c-forward-into-nomenclature, c-backward-into-nomenclature):
14283         Refer to subword.el functions instead of cc-subword.el.
14285         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
14286         subword.el functions instead of cc-subword.el.
14288         * progmodes/cc-subword.el: Rename to subword.el.
14289         * subword.el: Rename from progmodes/cc-subword.el.
14290         (subword-mode-map): Rename from c-subword-mode-map.
14291         (subword-mode): Rename from c-subword-mode.
14292         (global-subword-mode): New global minor mode.
14293         (forward-subword): Rename from c-forward-subword.
14294         (backward-subword): Rename from c-backward-subword.
14295         (mark-subword): Rename from c-mark-subword.
14296         (kill-subword): Rename from c-kill-subword.
14297         (backward-kill-subword): Rename from c-backward-kill-subword.
14298         (transpose-subwords): Rename from c-tranpose-subword.
14299         (downcase-subword): Rename from c-downcase-subword.
14300         (capitalize-subword): Rename from c-capitalize-subword.
14301         (forward-subword-internal): Rename from c-forward-subword-internal.
14302         (backward-subword-internal): Rename from c-backward-subword-internal.
14304 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
14306         * vc.el (vc-deduce-fileset): Allow non-state changing operations
14307         from a dired buffer.
14308         (vc-dired-deduce-fileset): New function.
14309         (vc-root-diff, vc-print-root-log): Use it.
14311         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
14312         nil LIMIT argument to vc-print-log-internal.
14314 2009-11-20  Glenn Morris  <rgm@gnu.org>
14316         * Makefile.in (ELCFILES): Regenerate.
14318 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
14320         * calc/calc.el (calc-set-mode-line):
14321         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14322         (math-format-number): Rename `math-format-complement-signed' to
14323         `math-format-twos-complement'.
14325         * calc/calc-bin.el (math-format-twos-complement): Rename from
14326         math-format-complement-signed.
14327         (calc-radix): Rename `calc-complement-signed-mode' to
14328         `calc-twos-complement-mode'.
14329         (calc-octal-radix, calc-hex-radix): Add an argument for
14330         two's complement.
14332         * calc/calc-embed.el (calc-embedded-mode-vars):
14333         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14335         * calc/calc-ext.el (calc-init-extensions):
14336         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14337         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
14339         * calc/calc-units.el (math-build-units-table-buffer):
14340         Let `calc-twos-complement-mode' be nil.
14342         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
14343         entries.
14345         * calc/calc-vec.el (calcFunc-vunpack):
14346         * calc/calc-aent.el (calc-do-calc-eval):
14347         * calc/calc-forms.el (math-format-date):
14348         * calc/calc-graph.el (calc-graph-plot):
14349         * calc/calc-math.el (math-use-emacs-fn):
14350         * calc/calccomp.el (math-compose-expr):
14351         Let `calc-twos-complement-mode' be nil.
14353 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14355         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
14356         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
14357         * minibuffer.el (completion-in-region-functions): New hook.
14358         (completion-in-region): New function.
14359         * emacs-lisp/lisp.el (lisp-complete-symbol):
14360         * pcomplete.el (pcomplete-std-complete): Use it.
14362 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14364         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
14365         (latex-complete-alist): New vars.
14366         (latex-string-prefix-p, latex-complete-bibtex-keys)
14367         (latex-complete-envnames, latex-complete-refkeys)
14368         (latex-complete-data): New functions.
14369         (latex-complete, latex-indent-or-complete): New commands.
14371         * window.el (display-buffer-mark-dedicated): New var.
14372         (display-buffer): Obey it.
14373         * minibuffer.el (minibuffer-completion-help): Use it.
14375         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
14377         * filecache.el (file-cache-add-file): Use push and cons.
14378         (file-cache-delete-file-regexp): Use push.
14379         (file-cache-complete): Use completion-in-region.
14381         * simple.el (with-wrapper-hook): Fix thinko.
14383         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
14384         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
14385         Use with-current-buffer and string-to-number.
14386         (hfy-fallback-colour-values): Use assoc-string.
14387         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
14388         (hfy-face-at): Remove unused var `found-face'.
14389         (hfy-compile-stylesheet): Remove unused var `css'.
14390         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
14391         and `orig-buffer'.
14392         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
14393         Use with-current-buffer.
14394         (hfy-text-p): Use expand-file-name and fewer setq.
14396 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
14398         * htmlfontify.el, hfy-cmap.el: New files.
14400 2009-11-19  Juri Linkov  <juri@jurta.org>
14402         * minibuffer.el (completions-format): New defcustom.
14403         (completion--insert-strings): Implement vertical format.
14405         * simple.el (switch-to-completions): Move point to the first
14406         completion when point was at the beginning of the buffer.
14408 2009-11-19  Juri Linkov  <juri@jurta.org>
14410         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
14412         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
14414 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
14416         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
14417         (mail-signature): Change default to t.
14418         (mail-from-style): Deprecate `system-default' value.
14419         (mail-insert-from-field): For default value of mail-from-style,
14420         default to `angles' unless `angles' needs quoting and `parens'
14421         does not.
14422         (mail-citation-prefix-regexp): Use citation regexp from
14423         message-mode.
14425 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
14427         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
14428         Set variables for computing the prompt for reading password.
14430 2009-11-19  Glenn Morris  <rgm@gnu.org>
14432         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
14434         * textmodes/flyspell.el (sgml-lexical-context): Declare.
14436         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
14437         (newsticker-treeview-listwindow-height): Fix custom type.
14439 2009-11-19  Kenichi Handa  <handa@m17n.org>
14441         * descr-text.el (describe-char-padded-string): Compose with TAB
14442         only if there's a font for CH.
14443         (describe-char): Fix the condition for detecting a trivial composition.
14445 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
14447         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
14448         more accurate version of the regexp.  (Bug#3910)
14450 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
14452         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
14454 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
14456         * font-setting.el (font-use-system-font): Declare for byte-compiler.
14457         (font-setting-change-default-font): Fix typo in docstring.
14459 2009-11-18  Alan Mackenzie  <acm@muc.de>
14461         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
14463 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
14465         * font-setting.el (font-use-system-font): Move ...
14467         * cus-start.el (all): ... to here.
14469 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
14471         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
14472         Don't set `ad-return-value' if `ad-do-it' doesn't.
14474         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
14475         modification time.
14477 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
14479         * menu-bar.el: Put "Use system font" in Option-menu.
14480         (menu-bar-options-save): Add font-use-system-font.
14482         * loadup.el: If feature system-font-setting or font-render-setting is
14483         there, load font-setting.
14485         * Makefile.in (ELCFILES): Add font-settings.el.
14486         * font-setting.el: New file.
14488 2009-11-17  Glenn Morris  <rgm@gnu.org>
14490         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
14492         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
14493         Preserve point in the list buffer.  (Bug#4939)
14494         Use point-at-eol.
14495         (newsticker--treeview-list-update-highlight)
14496         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
14498 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
14500         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
14501         Remove.
14503         * calc/calc-ext.el (calc-init-extensions): Remove references to
14504         symclip.
14506         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
14508         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
14509         * calc/calc-help.el (calc-b-prefix-help): Remove references to
14510         `calc-symclip'.
14512 2009-11-16  Kevin Ryde  <user42@zip.com.au>
14514         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
14515         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
14517         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
14518         (lm-keywords-list): Allow comma-only separator like "foo,bar".
14519         Ignore trailing spaces by omit-nulls to split-string (fixing
14520         regression from Emacs 21 due to the incompatible split-string
14521         change).  (Bug #4928.)
14523 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
14525         * vc.el (vc-log-show-limit): Default to 2000.
14526         (vc-print-log-internal): Insert buttons to request more entries
14527         when limiting the output.
14529         * vc-sccs.el (vc-sccs-print-log):
14530         * vc-rcs.el (vc-rcs-print-log):
14531         * vc-cvs.el (vc-cvs-print-log):
14532         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
14533         LIMIT is non-nil.
14535 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
14537         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
14538         error when `tramp-gvfs-dbus-event-vector' is set.
14539         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
14541 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
14543         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
14545 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
14547         * net/dbus.el (dbus-unregister-service): New defun.
14548         (dbus-register-property): Register the handlers of
14549         "org.freedesktop.DBus.Properties" for SERVICE.
14550         (dbus-property-handler): Fix docstring.
14552 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
14554         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
14555         Quote doc string reference in defvaralias as it is not in special form.
14556         (byte-compile-output-docform): Doc fix.
14558 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
14560         * calc/calc.el (math-2-word-size, math-half-2-word-size)
14561         (calc-complement-signed-mode): New variables.
14562         (calc-set-mode-line): Add indicator for twos-complements.
14563         (math-format-number): Format twos-complement notation.
14565         * calc/calc-bin.el (calc-word-size): Reset the variables
14566         `math-2-word-size' and `math-half-2-word-size'.
14567         (math-format-complement-signed, math-symclip, calcFunc-symclip)
14568         (calc-symclip): New functions.
14570         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
14572         * calc/calc-embed.el (calc-embedded-mode-vars):
14573         Add `calc-complement-signed-mode' to the list of modes.
14575         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
14576         (calc-b-oper-keys): Add `calc-symclip' to list.
14578         * calc/calc-ext.el (math-read-number-fancy): Read complement
14579         signed numbers.
14580         (calc-init-extensions): Add binding for `calc-symclip'.
14581         Add autoload for `calcFunc-symclip' and `calc-symclip'.
14583         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
14584         `calc-symclip'.
14585         (calc-modes-menu): Add item for twos complement mode.
14587         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
14589 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
14591         * register.el (jump-to-register, insert-register): Handle Semantic
14592         tags.  From commented-out advice in semantic/senator.el.
14594 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
14596         * vc.el (vc-log-show-limit): New variable.
14597         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
14598         when using a prefix argument.
14599         (vc-print-log-internal): Add new argument LIMIT.
14601         * vc-svn.el (vc-svn-print-log):
14602         * vc-mtn.el (vc-mtn-print-log):
14603         * vc-hg.el (vc-hg-print-log):
14604         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
14605         pass it to the log command when set.  Make the BUFFER argument
14606         non-optional.
14608         * vc-sccs.el (vc-sccs-print-log):
14609         * vc-rcs.el (vc-rcs-print-log):
14610         * vc-git.el (vc-git-print-log):
14611         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
14612         ignore it.  Make the BUFFER argument non-optional
14614         * bindings.el (mode-line-buffer-identification): Do not purecopy.
14616 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
14618         * dired.el (dired-mode-map): Move encryption items to "Operate"
14619         menu (Bug#4703).
14621         * strokes.el (strokes-update-window-configuration): Make strokes
14622         buffer current before erasing (Bug#4906).
14624 2009-11-15  Juri Linkov  <juri@jurta.org>
14626         * simple.el (set-mark-default-inactive): Add :type, :group
14627         and :version.  (Bug#4876)
14629 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
14631         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
14632         (archive-unique-fname): ... here.  (Bug#4929)
14634 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14636         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
14637         with a real fix.
14639         * novice.el (disabled-command-function): Add useful args.
14640         Setup the help buffer so that [back] works.
14641         Remove redundant call to help-mode.
14642         (disabled-command-function): Use `case'.
14643         (en/disable-command): New function extracted from enable-command.
14644         (enable-command, disable-command): Use it.
14646 2009-11-14  Glenn Morris  <rgm@gnu.org>
14648         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
14649         constants.  (Bug#4913)
14651         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
14653 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
14655         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
14656         defined in C that have no doc-strings.  (Bug#1063)
14658 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
14660         * cus-edit.el (data, files):
14661         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
14663 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
14665         * simple.el (shell-command): Doc fix (Bug#4891).
14667         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
14669 2009-11-14  Glenn Morris  <rgm@gnu.org>
14671         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
14672         statements for vc-diff, emerge-quit, and rmail-cease-edit.
14673         If they are already loaded, eval-after-load will do the right thing.
14675         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
14676         compiling.
14678         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
14680         * simple.el (x-selection-owner-p): Declare.
14681         (read-mail-command): Use custom radio type rather than choice.
14682         (completion-no-auto-exit): Doc fix.
14684         * custom.el (defgroup):
14685         * epg-config.el (epg): Doc fixes.
14687 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
14689         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
14690         * international/ccl.el (define-ccl-program): Do not purecopy the
14691         docstring, defconst does it anyway.
14693 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14695         * add-log.el (add-change-log-entry): Avoid displaying the changelog
14696         a second time.
14698         * x-dnd.el (x-dnd-maybe-call-test-function):
14699         * window.el (split-window-vertically):
14700         * whitespace.el (whitespace-help-on):
14701         * vc-rcs.el (vc-rcs-consult-headers):
14702         * userlock.el (ask-user-about-lock-help)
14703         (ask-user-about-supersession-help):
14704         * type-break.el (type-break-force-mode-line-update):
14705         * time-stamp.el (time-stamp-conv-warn):
14706         * terminal.el (te-set-output-log, te-more-break, te-filter)
14707         (te-sentinel, terminal-emulator):
14708         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
14709         (term-write-input-ring, term-check-source, term-start-output-log):
14710         (term-display-buffer-line, term-dynamic-list-completions):
14711         (term-ansi-make-term, serial-term):
14712         * subr.el (selective-display):
14713         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
14714         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
14715         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
14716         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
14717         (speedbar-remove-localized-speedbar-support)
14718         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
14719         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
14720         (speedbar-buffers-line-directory):
14721         * simple.el (shell-command-on-region, append-to-buffer)
14722         (prepend-to-buffer):
14723         * shadowfile.el (shadow-save-todo-file):
14724         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
14725         (scroll-bar-maybe-set-window-start):
14726         * sb-image.el (speedbar-image-dump):
14727         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
14728         (load-save-place-alist-from-file):
14729         * ps-samp.el (ps-print-message-from-summary):
14730         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
14731         (ps-background-image, ps-begin-job, ps-do-despool):
14732         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
14733         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
14734         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
14735         (pr-call-process, pr-file-list, pr-interface-save):
14736         * novice.el (disabled-command-function)
14737         (enable-command, disable-command):
14738         * mouse.el (mouse-buffer-menu-alist):
14739         * mouse-copy.el (mouse-kill-preserving-secondary):
14740         * macros.el (kbd-macro-query):
14741         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
14742         * informat.el (batch-info-validate):
14743         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
14744         * hippie-exp.el (try-expand-dabbrev-visible):
14745         * help-mode.el (help-make-xrefs):
14746         * help-fns.el (describe-variable):
14747         * generic-x.el (bat-generic-mode-run-as-comint):
14748         * finder.el (finder-mouse-select):
14749         * find-dired.el (find-dired-sentinel):
14750         * filesets.el (filesets-file-close):
14751         * files.el (list-directory):
14752         * faces.el (list-faces-display, describe-face):
14753         * facemenu.el (list-colors-display):
14754         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
14755         * epg.el (epg--process-filter, epg-cancel):
14756         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
14757         (epa--read-signature-type):
14758         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
14759         (emerge-file-names):
14760         * ehelp.el (electric-helpify):
14761         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
14762         * ediff-vers.el (rcs-ediff-view-revision):
14763         * ediff-util.el (ediff-setup):
14764         * ediff-mult.el (ediff-append-custom-diff):
14765         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
14766         (ediff-wordify):
14767         * echistory.el (Electric-command-history-redo-expression):
14768         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
14769         * disp-table.el (describe-display-table):
14770         * dired.el (dired-find-buffer-nocreate):
14771         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
14772         * dabbrev.el (dabbrev--same-major-mode-p):
14773         * chistory.el (list-command-history):
14774         * apropos.el (apropos-documentation):
14775         * allout.el (allout-obtain-passphrase):
14776         (allout-copy-exposed-to-buffer):
14777         (allout-verify-passphrase): Use with-current-buffer.
14779 2009-11-13  Glenn Morris  <rgm@gnu.org>
14781         * Makefile.in (ELCFILES): Regenerate.
14783 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
14785         * net/dbus.el (dbus-registered-objects-table): Rename from
14786         `dbus-registered-functions-table', because it contains also properties.
14787         (dbus-unregister-object): Unregister also properties.
14788         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14789         Use a timeout of 500 msec, in order to not block.
14790         (dbus-register-property, dbus-property-handler): New defuns.
14792 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14794         * simple.el (minibuffer-default-add-completions): Drop deprecated
14795         4th arg.
14797 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
14799         * textmodes/artist.el (artist-mouse-choose-operation):
14800         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
14801         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
14802         (artist-compute-up-event-key): New function.
14803         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
14805 2009-11-13  Kenichi Handa  <handa@m17n.org>
14807         * language/japan-util.el: Make sure that the value of jisx0208
14808         property is jisx0208 character.
14810 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
14812         * international/mule.el (auto-coding-regexp-alist): Only purecopy
14813         car or each item, not the whole list.
14815 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14817         * minibuffer.el (minibuffer-completion-help):
14818         Use minibuffer-hide-completions.
14820 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
14822         * dired.el (dired-save-positions, dired-restore-positions): New funs.
14823         (dired-revert): Use them (bug#4880).
14825 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
14827         * tooltip.el (tooltip-frame-parameters): Undo previous change.
14829 2009-11-12  Juri Linkov  <juri@jurta.org>
14831         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
14832         New functions.
14833         (find-file-literally-at-point): Alias of `ffap-literally'.
14835 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
14837         * textmodes/ispell.el (ispell-skip-region-alist):
14838         * textmodes/css-mode.el (auto-mode-alist):
14839         * progmodes/compile.el (auto-mode-alist):
14840         * international/mule.el (ctext-non-standard-encodings-alist)
14841         (ctext-non-standard-encodings-regexp):
14842         * simple.el (shell-command-switch, text-read-only):
14843         * replace.el (occur-mode-map):
14844         * paths.el (rmail-file-name):
14845         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
14846         * find-file.el (ff-special-constructs):
14847         * files.el (file-name-handler-alist):
14848         * composite.el: Purecopy strings.
14850         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
14852 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
14854         * widget.el (define-widget): Purecopy the docstring.
14855         * international/mule-cmds.el (charset): Do not purecopy the
14856         docstring here, define-widget does it.
14858         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
14859         * textmodes/bibtex-style.el (auto-mode-alist):
14860         * progmodes/inf-lisp.el (inferior-lisp-prompt):
14861         * progmodes/compile.el (compile-command):
14862         * language/korea-util.el (default-korean-keyboard):
14863         * international/mule-conf.el (file-coding-system-alist):
14864         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
14865         * tooltip.el (tooltip-frame-parameters):
14866         * newcomment.el (comment-end, comment-padding):
14867         * dired.el (dired-trivial-filenames):
14868         * comint.el (comint-file-name-prefix): Purecopy initial values.
14870 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
14872         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
14873         (tramp-advice-minibuffer-electric-tilde): Unload advices via
14874         `tramp-unload'.
14875         (tramp-advice-make-auto-save-file-name)
14876         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
14877         after removing the advice.
14879 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
14881         * progmodes/grep.el (grep-regexp-alist):
14882         * international/mule-cmds.el (iso-2022-control-alist):
14883         * emacs-lisp/timer.el (timer-duration-words):
14884         * subr.el (version-separator, version-regexp-alist):
14885         * minibuffer.el (completion-styles-alist):
14886         * faces.el (face-attribute-name-alist, list-faces-sample-text):
14887         Change defvars to defconsts.
14889         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
14890         * loadup.el ("international/mule-conf"): Load the byte compiled version.
14891         * international/mule-conf.el: Allow to be byte compiled.
14893         * international/mule.el (define-charset): Purecopy props.
14894         (load-with-code-conversion): Purecopy doc string and file name.
14895         (put-charset-property): Purecopy strings.
14896         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
14898         * international/mule-cmds.el (register-input-method): Purecopy arguments.
14899         (define-char-code-property): Correctly purecopy the table.
14901         * international/ccl.el (define-ccl-program): Purecopy the docstring.
14903         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
14905         * subr.el (add-hook): Purecopy strings.
14906         (eval-after-load): Purecopy load-history-regexp and the form.
14908         * custom.el (custom-declare-group): Purecopy load-file-name.
14910         * subr.el (menu-bar-separator): New defconst.
14911         * net/eudc.el (eudc-tools-menu):
14912         * international/mule-cmds.el (set-coding-system-map)
14913         (mule-menu-keymap):
14914         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14915         * vc-hooks.el (vc-menu-map):
14916         * replace.el (occur-mode-map):
14917         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
14918         (menu-bar-edit-menu, menu-bar-goto-menu)
14919         (menu-bar-custom-menu, menu-bar-showhide-menu)
14920         (menu-bar-options-menu, menu-bar-tools-menu)
14921         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
14922         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
14923         (menu-bar-help-menu):
14924         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
14925         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
14927         * term/x-win.el (x-gtk-stock-map):
14928         * progmodes/vera-mode.el (auto-mode-alist):
14929         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
14930         (inferior-lisp-program, inferior-lisp-load-command):
14931         * progmodes/hideshow.el (hs-special-modes-alist):
14932         * progmodes/gud.el (same-window-regexps):
14933         * progmodes/grep.el (grep-program, find-program, xargs-program):
14934         * net/telnet.el (same-window-regexps):
14935         * net/rlogin.el (same-window-regexps):
14936         * language/ethiopic.el (font-ccl-encoder-alist):
14937         * vc-sccs.el (vc-sccs-master-templates):
14938         * vc-rcs.el (vc-rcs-master-templates):
14939         * subr.el (cl-assertion-failed):
14940         * simple.el (next-error-overlay-arrow-position):
14941         * lpr.el (lpr-command):
14942         * locate.el (locate-ls-subdir-switches):
14943         * info.el (same-window-regexps, info)
14944         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
14945         * image-mode.el (image-mode, auto-mode-alist):
14946         * hippie-exp.el (hippie-expand-ignore-buffers):
14947         * format.el (format-alist):
14948         * find-dired.el (find-ls-subdir-switches, find-grep-options)
14949         (find-name-arg):
14950         * facemenu.el (facemenu-keybindings):
14951         * dired.el (dired-listing-switches, dired-chown-program):
14952         * diff.el (diff-switches, diff-command):
14953         * cus-edit.el (same-window-regexps):
14954         * bindings.el (mode-line-mule-info)
14955         (mode-line-buffer-identification): Purecopy strings.
14957 2009-11-11  Juri Linkov  <juri@jurta.org>
14959         * simple.el (dired-get-filename) <declare-function>:
14960         Tell the byte-compiler about dired-get-filename.
14961         (shell-command): In Dired mode, get filename from the current line
14962         as the default value.
14964 2009-11-10  Glenn Morris  <rgm@gnu.org>
14966         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
14967         * calendar/holidays.el, progmodes/cperl-mode.el:
14968         Update x-popup-menu declarations.
14970         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
14971         (list-load-path-shadows): Use dolist.
14972         (list-load-path-shadows): Use with-current-buffer.
14974 2009-11-10  Juri Linkov  <juri@jurta.org>
14976         * minibuffer.el (read-file-name): Support a list of default values
14977         in `default-filename'.  Use the first file name where only one
14978         element is required.  Doc fix.
14980 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
14982         * net/dbus.el (dbus-unregister-object): Release service, if no
14983         other method is registered for it.
14985 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
14987         * bookmark.el (bookmark-completing-read): Sort bookmark names if
14988         bookmark-sort-flag is non-nil (Bug#4653).
14990 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
14992         * emulation/cua-base.el: Add CUA property to some CC mode commands
14993         (Bug#4100).
14995 2009-11-08  Kevin Ryde  <user42@zip.com.au>
14997         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
14998         at end of sentence (Bug#4818).
15000 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
15002         * progmodes/compile.el (compilation-error-regexp-alist-alist):
15003         Handle "see declaration of" MSFT statements (Bug#4100).
15005 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
15007         * net/tramp.el (tramp-advice-make-auto-save-file-name)
15008         (tramp-advice-file-expand-wildcards): Unload via
15009         `ad-remove-advice'.
15011         * net/trampver.el: Update release number.
15013 2009-11-08  Kevin Ryde  <user42@zip.com.au>
15015         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
15016         `ad-do-it'.
15018 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
15020         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
15021         in order to keep context in SELinux.
15023 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
15025         * dired-aux.el (dired-query): Place cursor in echo area and allow
15026         C-g.
15028         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
15029         menu item if not on a directory (Bug#4701).
15031 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
15033         Sync with Tramp 2.1.17.
15035         * net/tramp.el (tramp-handle-copy-directory): Don't use
15036         `file-remote-p' (due to compatibility).
15038         * net/tramp-compat.el (tramp-compat-copy-directory)
15039         (tramp-compat-delete-directory): New defuns.
15041         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15042         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15043         Use `tramp-compat-delete-directory'.
15045         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
15046         (tramp-smb-handle-delete-directory):
15047         Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
15049         * net/trampver.el: Update release number.
15051 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
15053         * tar-mode.el (tar-copy): Call write-region on the right buffer
15054         (Bug#4857).
15056         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
15057         by hand, if necessary (Bug#4878).
15059 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
15061         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
15062         align size column (Bug#4839).
15064         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
15065         statement.
15067 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
15069         * progmodes/ld-script.el (auto-mode-alist):
15070         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
15072         * cus-face.el (custom-declare-face): Purecopy face spec.
15074 2009-11-06  Kenichi Handa  <handa@m17n.org>
15076         * international/uni-bidi.el: Re-generated.
15077         * international/uni-category.el: Re-generated.
15078         * international/uni-combining.el: Re-generated.
15079         * international/uni-mirrored.el: Re-generated.
15081 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
15083         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
15084         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
15085         (tex-start-options, slitex-run-command, latex-run-command)
15086         (tex-run-command, tex-directory):
15087         * textmodes/ispell.el (ispell-html-skip-alists)
15088         (ispell-tex-skip-alists, ispell-tex-skip-alists):
15089         * textmodes/fill.el (adaptive-fill-first-line-regexp):
15090         (adaptive-fill-regexp):
15091         * textmodes/dns-mode.el (auto-mode-alist):
15092         * progmodes/python.el (interpreter-mode-alist):
15093         * progmodes/etags.el (tags-compression-info-list):
15094         * progmodes/etags.el (tags-file-name):
15095         * net/browse-url.el (browse-url-galeon-program)
15096         (browse-url-firefox-program):
15097         * mail/sendmail.el (mail-signature-file)
15098         (mail-citation-prefix-regexp):
15099         * international/mule-conf.el (eight-bit):
15100         * international/latexenc.el (latex-inputenc-coding-alist):
15101         * international/fontset.el (x-pixel-size-width-font-regexp):
15102         * emacs-lisp/warnings.el (warning-type-format):
15103         * emacs-lisp/trace.el (trace-buffer):
15104         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
15105         (emacs-lisp-mode-map):
15106         * calendar/holidays.el (holiday-solar-holidays)
15107         (holiday-bahai-holidays, holiday-islamic-holidays)
15108         (holiday-christian-holidays, holiday-hebrew-holidays)
15109         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
15110         (hebrew-holidays-1, holiday-oriental-holidays)
15111         (holiday-general-holidays):
15112         * x-dnd.el (x-dnd-known-types):
15113         * tool-bar.el (tool-bar):
15114         * startup.el (site-run-file):
15115         * shell.el (shell-dumb-shell-regexp):
15116         * rfn-eshadow.el (file-name-shadow-tty-properties)
15117         (file-name-shadow-properties):
15118         * paths.el (remote-shell-program, news-directory):
15119         * mouse.el ([C-down-mouse-3]):
15120         * menu-bar.el (menu-bar-tools-menu):
15121         * jka-cmpr-hook.el (jka-compr-load-suffixes)
15122         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
15123         (jka-compr-compression-info-list):
15124         * isearch.el (search-whitespace-regexp):
15125         * image-file.el (image-file-name-extensions):
15126         * find-dired.el (find-ls-option):
15127         * files.el (directory-listing-before-filename-regexp)
15128         (directory-free-space-args, insert-directory-program)
15129         (list-directory-brief-switches, magic-fallback-mode-alist)
15130         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
15131         (automount-dir-prefix):
15132         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
15133         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
15134         (face-font-registry-alternatives, face-font-registry-alternatives)
15135         (face-font-family-alternatives):
15136         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
15137         (facemenu-foreground-menu, facemenu-face-menu):
15138         * epa-hook.el (epa-file-name-regexp):
15139         * dnd.el (dnd-protocol-alist):
15140         * textmodes/rst.el (auto-mode-alist):
15141         * button.el (default-button): Purecopy strings.
15143 2009-11-06  Glenn Morris  <rgm@gnu.org>
15145         * Makefile.in (ELCFILES): Update.
15147 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15149         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
15150         * emacs-lisp/levents.el: Move to obsolete/levents.el.
15152         * nxml/xsd-regexp.el (xsdre-gen-categories):
15153         * nxml/xmltok.el (xmltok-parse-entity):
15154         * nxml/rng-parse.el (rng-parse-validate-file):
15155         * nxml/rng-maint.el (rng-format-manual)
15156         (rng-manual-output-force-new-line):
15157         * nxml/rng-loc.el (rng-save-schema-location-1):
15158         * nxml/rng-cmpct.el (rng-c-parse-file):
15159         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
15160         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
15162 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
15164         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
15165         Remove extra save-excursions and make-variable-buffer-local's.
15166         Suggested by Stefan Monnier.
15168         (verilog-getopt-file, verilog-module-inside-filename-p)
15169         (verilog-set-define): Merge GNU 1.35 and repair changes from
15170         switching to using with-current-buffer.
15172         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
15173         being treated as a number and confusing AUTORESET.
15174         Reported by Dan Dever.
15176         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
15177         Add verilog-auto-ignore-concat to fix backward compatibility with
15178         older verilog-modes.  Reported by Dan Katz.
15180         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
15181         containing closing anchors "...$".
15183         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
15184         Reported by Wade Smith.
15186         (verilog-batch-execute-func): Comment on function usage.
15188 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
15190         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
15191         for labels.
15193         (verilog-label-re, verilog-calc-1): Support proper indent of named
15194         asserts.
15196         (verilog-backward-token, verilog-basic-complete-re)
15197         (verilog-beg-of-statement, verilog-indent-re): Support proper
15198         indent of the assert statement at the beginning of a block of text.
15200         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
15201         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
15202         tokens as begins.
15204 2009-11-05  Glenn Morris  <rgm@gnu.org>
15206         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
15207         Emacs 19.  (Bug#1531)
15208         (byte-compile-fix-header): Update for the above change.
15209         Drop test for epoch::version.
15211         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
15212         * cus-dep.el (custom-make-dependencies):
15213         * finder.el (finder-compile-keywords):
15214         Use autoload-rubric's feature argument.
15216         * calendar/diary-lib.el (top-level): Make load behave more like require.
15218         * vc-git.el (vc-git-stash-map): Move definition before use.
15220 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
15222         * custom.el (custom-declare-group): Purecopy standard-value.
15223         (custom-declare-group): Purecopy custom-prefix.
15225         * international/mule.el (load-with-code-conversion):
15226         Call do-after-load-evaluation unconditionally.
15228         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
15230 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15232         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
15234 2009-11-04  Glenn Morris  <rgm@gnu.org>
15236         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
15237         (byte-compile-compatibility): Remove option.
15238         (byte-compile-close-variables, byte-compile-fix-header)
15239         (byte-compile-insert-header, byte-compile-output-docform)
15240         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
15241         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
15242         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
15243         (byte-compile-insert, byte-compile-defun):
15244         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
15245         (byte-defop-compiler19): Remove.
15246         Without byte-compile-compatibility, the 'emacs19-opcode property is not
15247         used by anything.  Replace all calls with byte-defop-compiler.
15249 2009-11-04  Juri Linkov  <juri@jurta.org>
15251         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
15252         (menu-bar-options-menu): Don't quote the `prop' arg of
15253         `menu-bar-make-mm-toggle'.
15255 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
15257         * calendar/calendar.el (cal-loaddefs):
15258         * calendar/diary-lib.el (diary-loaddefs):
15259         * calendar/holidays.el (hol-loaddefs):
15260         * eshell/esh-module.el (esh-groups): Load rather than require.
15262 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15264         * calendar/todo-mode.el (todo-add-category): Don't hardcode
15265         point-min==1.
15266         (todo-top-priorities): Only display-buffer when called interactively.
15267         (todo-item-start): Don't save excursion point.
15268         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
15269         (todo-insert-item-here, todo-file-item, todo-remove-item):
15270         Adjust uses of todo-item-start and todo-item-end.
15272         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
15273         (autoload-rubric): Don't use any more.
15275         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
15276         and only put a prop if it is non-nil.
15278 2009-11-03  Juri Linkov  <juri@jurta.org>
15280         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
15281         (menu-bar-options-menu): Fix list quoting (Bug#4429).
15283         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
15284         and "Menu" to make top-level menu item visually one unit (like
15285         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
15286         multi-word menu items).  Fix :help string for quit-window.
15288 2009-11-03  Glenn Morris  <rgm@gnu.org>
15290         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
15291         (byte-compile-file-form-define-abbrev-table)
15292         (byte-compile-file-form-custom-declare-variable)
15293         (byte-compile-variable-ref, byte-compile-defvar):
15294         Whether or not a warning is enabled should only affect whether we issue
15295         the warning, not whether or not we collect the relevant data.
15296         Eg warnings can be turned on and off throughout the course of a file.
15298         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
15299         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
15301 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15303         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
15304         * play/mpuz.el (mpuz-create-buffer):
15305         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
15306         (lm-print-y,s,noise, lm-print-w0, lm-init):
15307         * play/gomoku.el (gomoku-prompt-for-move):
15308         * play/fortune.el (fortune-in-buffer):
15309         * play/dissociate.el (dissociated-press):
15310         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
15311         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
15312         * mail/supercite.el (sc-eref-show):
15313         * mail/smtpmail.el (smtpmail-send-it):
15314         * mail/rmailsum.el (rmail-summary-next-labeled-message)
15315         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
15316         (rmail-summary-undelete-many, rmail-summary-rmail-update)
15317         (rmail-summary-goto-msg, rmail-summary-expunge)
15318         (rmail-summary-get-new-mail, rmail-summary-search-backward)
15319         (rmail-summary-add-label, rmail-summary-output-menu)
15320         (rmail-summary-output-body):
15321         * mail/rfc822.el (rfc822-addresses):
15322         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
15323         * mail/mailpost.el (post-mail-send-it):
15324         * mail/hashcash.el (hashcash-generate-payment):
15325         * mail/feedmail.el (feedmail-run-the-queue)
15326         (feedmail-queue-send-edit-prompt-help-first)
15327         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
15328         (feedmail-deduce-address-list):
15329         * eshell/esh-ext.el (eshell-remote-command):
15330         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
15331         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
15332         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
15333         (viper-save-string-in-file, viper-valid-marker):
15334         * emulation/viper-keym.el (viper-toggle-key):
15335         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
15336         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
15337         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
15338         * emulation/viper-cmd.el (viper-exec-form-in-vi)
15339         (viper-exec-form-in-emacs, viper-brac-function):
15340         * emulation/viper.el (viper-delocalize-var):
15341         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
15342         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
15343         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
15344         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
15345         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
15346         * emulation/edt.el (edt-electric-helpify):
15347         * emulation/cua-rect.el (cua--rectangle-aux-replace):
15348         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
15349         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
15350         (cua-indent-to-global-mark-column):
15351         * calendar/diary-lib.el (calendar-mark-1):
15352         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
15353         Use with-current-buffer.
15354         * emulation/viper.el (viper-delocalize-var): Use dolist.
15356 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
15358         * comint.el (comint-replace-by-expanded-history-before-point):
15359         Replace !! with the previous input string literally (Bug#1795).
15361 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
15363         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
15364         to be made up of whitespace.
15366 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
15368         * minibuffer.el (read-file-name): Don't use file dialogs for
15369         remote directories (Bug#99).
15371 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
15373         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
15375 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
15377         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
15378         instead of deleting the window or frame.
15380 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
15382         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
15383         Support face colors.
15385         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
15386         New function.  Support face colors (Bug#1168).
15387         (tex-common-initialization): Use it.
15389         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
15390         mode allows it (Bug#1168).
15392 2009-10-31  Juri Linkov  <juri@jurta.org>
15394         * facemenu.el (list-colors-display): Don't mark buffer as
15395         modified (Bug#3948).
15397 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
15399         * international/mule-diag.el (list-character-sets-1):
15400         Minor message fix (Bug#3526).
15402         * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
15403         Fix face property (Bug#4834).
15404         (etags-list-tags, etags-tags-apropos-additional)
15405         (etags-tags-apropos, tags-select-tags-table): Add follow-link
15406         property.
15408         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
15409         items.
15411 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
15413         * textmodes/two-column.el (2C-split):
15414         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
15415         * textmodes/tex-mode.el (tex-set-buffer-directory):
15416         * textmodes/spell.el (spell-region, spell-string):
15417         * textmodes/reftex.el (reftex-erase-buffer):
15418         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
15419         * textmodes/reftex-toc.el (reftex-toc-promote-action):
15420         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
15421         (reftex-select-item):
15422         * textmodes/reftex-ref.el (reftex-label-info-update)
15423         (reftex-offer-label-menu):
15424         * textmodes/reftex-index.el (reftex-index-change-entry)
15425         (reftex-index-phrases-info):
15426         * textmodes/reftex-global.el (reftex-create-tags-file)
15427         (reftex-save-all-document-buffers, reftex-ensure-write-access):
15428         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
15429         (reftex-view-crossref-from-bibtex):
15430         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
15431         (reftex-extract-bib-entries-from-thebibliography)
15432         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
15433         * textmodes/refbib.el (r2b-capitalize-title):
15434         (r2b-convert-buffer, r2b-help):
15435         * textmodes/page-ext.el (pages-directory)
15436         (pages-directory-goto-with-mouse):
15437         * textmodes/bibtex.el (bibtex-validate-globally):
15438         * textmodes/bib-mode.el (bib-capitalize-title):
15439         * textmodes/artist.el (artist-clear-buffer, artist-system):
15440         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
15441         (local-set-scheme-interaction-buffer, xscheme-process-filter)
15442         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
15443         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
15444         (xscheme-send-control-g-interrupt, xscheme-start-process)
15445         (xscheme-process-sentinel, xscheme-cd):
15446         * progmodes/verilog-mode.el (verilog-read-always-signals)
15447         (verilog-set-define, verilog-getopt-file)
15448         (verilog-module-inside-filename-p):
15449         * progmodes/sh-script.el:
15450         * progmodes/python.el (python-pdbtrack-get-source-buffer)
15451         (python-pdbtrack-grub-for-buffer, python-execute-file):
15452         * progmodes/octave-inf.el (inferior-octave):
15453         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15454         (idlwave-shell-compile-helper-routines, idlwave-set-local)
15455         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
15456         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
15457         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
15458         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
15459         (idlwave-shell-filter, idlwave-shell-examine-highlight)
15460         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
15461         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
15462         (idlwave-shell-examine-display, idlwave-shell-run-region)
15463         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
15464         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
15465         * progmodes/idlw-help.el (idlwave-help-get-special-help)
15466         (idlwave-help-get-help-buffer):
15467         * progmodes/gud.el (gud-basic-call, gud-find-class)
15468         (gud-tooltip-activate-mouse-motions-if-enabled):
15469         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
15470         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
15471         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
15472         (ebrowse-tags-next-file):
15473         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
15474         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
15475         (ebnf-eps-finish-and-write):
15476         * progmodes/cpp.el (cpp-edit-save):
15477         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
15478         * progmodes/cc-defs.el (c-emacs-features):
15479         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
15480         (antlr-directory-dependencies):
15481         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
15482         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
15483         (ada-find-any-references, ada-make-filename-from-adaname)
15484         (ada-make-body-gnatstub):
15485         * obsolete/rnews.el (news-list-news-groups):
15486         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
15487         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
15488         * net/rcirc.el (rcirc-debug):
15489         * net/newst-treeview.el (newsticker--treeview-list-add-item)
15490         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
15491         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
15492         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
15493         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
15494         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
15495         (newsticker--treeview-list-clear-highlight)
15496         (newsticker--treeview-list-update-highlight)
15497         (newsticker--treeview-list-highlight-start)
15498         (newsticker--treeview-tree-update-highlight)
15499         (newsticker--treeview-get-selected-item)
15500         (newsticker-treeview-mark-list-items-old)
15501         (newsticker--treeview-set-current-node):
15502         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
15503         * net/newst-backend.el (newsticker--get-news-by-funcall)
15504         (newsticker--get-news-by-wget, newsticker--image-get)
15505         (newsticker--image-sentinel):
15506         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
15507         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
15508         (eudc-ph-close-session):
15509         * net/eudc.el (eudc-save-options):
15510         * language/thai-word.el (thai-update-word-table):
15511         * language/japan-util.el (japanese-string-conversion):
15512         * international/titdic-cnv.el (tsang-quick-converter)
15513         (ziranma-converter, ctlau-converter):
15514         * international/mule-cmds.el (describe-language-environment):
15515         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
15516         (skkdic-convert-postfix, skkdic-convert-prefix):
15517         (skkdic-convert-okuri-nasi, skkdic-convert):
15518         * emacs-lisp/re-builder.el (reb-update-overlays):
15519         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
15520         * emacs-lisp/gulp.el (gulp-send-requests):
15521         * emacs-lisp/find-gc.el (trace-call-tree):
15522         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
15523         (eieio-describe-generic):
15524         * emacs-lisp/eieio-base.el (eieio-persistent-read):
15525         * emacs-lisp/edebug.el (edebug-outside-excursion):
15526         * emacs-lisp/debug.el (debugger-make-xrefs):
15527         * emacs-lisp/cust-print.el (custom-prin1-to-string):
15528         * emacs-lisp/chart.el (chart-new-buffer):
15529         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
15530         Use with-current-buffer.
15531         * textmodes/artist.el (artist-system): Don't call
15532         copy-sequence on a fresh string.
15533         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
15535 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
15537         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
15538         is no item to edit.  (Bug#4820)
15539         (todo-top-priorities): Restore point and restore narrowing in Todo
15540         buffer.  (Bug#4820)
15542 2009-10-31  Glenn Morris  <rgm@gnu.org>
15544         * net/ange-ftp.el (top-level): Don't require dired when compiling.
15545         (comint-last-output-start, comint-last-input-start)
15546         (comint-last-input-end): Don't defvar when compiling.
15547         (ange-ftp-process-file): Use bound-and-true-p.
15549         * pcmpl-rpm.el (top-level): Move provide statement to end.
15550         (pcmpl-rpm): Remove unused custom group.
15552         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
15554         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
15556         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
15557         (byte-compile-warnings): Add `constants' as an option.
15558         (byte-compile-callargs-warn, byte-compile-arglist-warn)
15559         (display-call-tree): Update for byte-compile-fdefinition possibly
15560         returning `(macro lambda ...)'.  (Bug#4778)
15561         (byte-compile-variable-ref, byte-compile-setq-default):
15562         Respect `constants' member of byte-compile-warnings.
15564 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15566         * vc-bzr.el (vc-bzr-revision-keywords): New var.
15567         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
15568         to "submit:".
15570 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
15572         * textmodes/ispell.el (ispell-skip-region-alist):
15573         * international/mule-conf.el (eight-bit):
15574         * international/fontset.el (font-encoding-alist):
15575         * startup.el (pure-space-overflow-message):
15576         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
15577         * paths.el (gnus-nntp-service, rmail-spool-directory)
15578         (term-file-prefix):
15579         * files.el (save-some-buffers-action-alist):
15580         * cmuscheme.el (same-window-buffer-names):
15581         * ielm.el (same-window-buffer-names):
15582         * shell.el (same-window-buffer-names):
15583         * mail/sendmail.el (same-window-buffer-names):
15584         * progmodes/inf-lisp.el (same-window-buffer-names):
15585         * bindings.el (mode-line-client)
15586         (mode-line-column-line-number-mode-map):
15587         * language/tibetan.el (tibetan-precomposition-rule-regexp)
15588         (tibetan-precomposed-regexp): Purecopy string arguments.
15590 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15592         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
15593         (calcDigit-nondigit):
15594         * calc/calc-yank.el (calc-copy-to-buffer):
15595         * calc/calc-units.el (calc-invalidate-units-table):
15596         * calc/calc-trail.el (calc-trail-yank):
15597         * calc/calc-store.el (calc-insert-variables):
15598         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
15599         * calc/calc-prog.el (calc-read-parse-table):
15600         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
15601         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
15602         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
15603         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
15604         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
15605         (calc-graph-name, calc-graph-find-command, calc-graph-view)
15606         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
15607         * calc/calc-ext.el (calc-realign):
15608         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
15609         (calc-embedded-finish-edit, calc-embedded-make-info)
15610         (calc-embedded-finish-command, calc-embedded-stack-change):
15611         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
15613         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
15614         shell-dynamic-complete-filename in preference to
15615         comint-dynamic-complete-filename.
15617         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
15618         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
15619         Don't consider whether the display supports colors.
15620         (bookmark-import-new-list): Use dolist.
15621         (bookmark-bmenu-mode-map): Move initialization into declaration.
15622         (bookmark-bmenu-list): Use dolist, simplify.
15623         (bookmark-show-all-annotations): Use save-selected-window and dolist.
15624         (menu-bar-final-items): Use push.
15626 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
15628         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
15629         it works on remote files.
15630         (vc-hg-diff): Don't pass any `--cwd' argument.
15632 2009-10-27  Kevin Ryde  <user42@zip.com.au>
15634         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15635         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
15636         (Further to Bug#3921).
15638 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
15640         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
15641         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
15642         calling `tramp-imap-put-file'.  Add file size to the call.
15643         (tramp-imap-get-file-entries): Compute also user name, file size,
15644         and date.
15645         (tramp-imap-handle-insert-directory): Insert uid and gid.
15646         (tramp-imap-handle-file-attributes): Transform uid and gid
15647         according to `id-format'.
15648         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
15649         size in header X-Size.
15651 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
15653         * simple.el (transpose-subr): Give clearer error when the mark
15654         is not set.  (Bug#4807)
15656 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
15658         * net/tramp.el (tramp-perl-file-truename): New defconst.
15659         Perl code contributed by yary <not.com@gmail.com> (tiny change).
15660         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
15661         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
15662         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
15664         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
15665         Ignore `dired-call-process'.
15666         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
15668 2009-10-26  Julian Scheid  <julians37@gmail.com>
15670         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
15671         (tramp-get-remote-readlink): New defun.
15672         (tramp-handle-file-truename): Use it.
15673         (tramp-handle-file-exists-p): Check file-attributes cache, assume
15674         file exists if cache value present.
15675         (tramp-check-cached-permissions): New defun.
15676         (tramp-handle-file-readable-p): Use it.
15677         (tramp-handle-file-writable-p): Likewise.
15678         (tramp-handle-file-executable-p): Likewise.
15679         (tramp-handle-file-name-all-completions): Try using Perl to get
15680         partial completions.  When perl not available, combine `cd' and
15681         `ls' into single remote operation and use shell expansion to get
15682         partial remote directory contents.  Set `file-exists-p' cache for
15683         directory and any files returned by ls.  Change cache handling to
15684         support partial directory contents.  Use error message emitted by
15685         remote `cd' or Perl code for local tramp-error.
15686         (tramp-do-copy-or-rename-file-directly): Avoid separate
15687         tramp-send-command-and-check call.
15688         (tramp-handle-process-file): Merge three remote ops into one.
15689         Do not flush all caches when `process-file-side-effects' is set.
15690         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
15691         file-attributes shows uid/gid to be set already.
15693 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
15695         * textmodes/tex-mode.el (tex-dvi-view-command)
15696         (tex-show-queue-command, tex-open-quote):
15697         * progmodes/ruby-mode.el (auto-mode-alist)
15698         (interpreter-mode-alist): Purecopy strings.
15700         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
15702         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
15703         string for the hook, keymap and abbrev table.
15705         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
15707         * x-dnd.el (x-dnd-xdnd-to-action):
15708         * startup.el (fancy-startup-text, fancy-about-text): Change to
15709         defconst from defvar.
15711         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
15713         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
15714         Purecopy initialization strings.
15716         * mail/sendmail.el (mail-header-separator)
15717         (mail-personal-alias-file):
15718         * mail/rmail.el (rmail-default-dont-reply-to-names)
15719         (rmail-ignored-headers, rmail-retry-ignored-headers)
15720         (rmail-highlighted-headers, rmail-secondary-file-directory)
15721         (rmail-secondary-file-regexp):
15722         * files.el (null-device, file-name-invalid-regexp)
15723         (locate-dominating-stop-dir-regexp)
15724         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
15725         (interpreter-mode-alist): Use mapcar instead of mapc.
15727         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
15729         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
15730         (completion-ignored-extensions):
15731         (debug-ignored-errors): Purecopy strings.
15733 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15735         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
15736         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
15737         (pcomplete--here): Use push.
15739         * subr.el (all-completions): Declare the 4th arg obsolete.
15741 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15743         * pcomplete.el (pcomplete-unquote-argument-function): New var.
15744         (pcomplete-unquote-argument): New function.
15745         (pcomplete--common-suffix): Always pay attention to case.
15746         (pcomplete--table-subvert): Quote and unquote the text.
15747         (pcomplete--common-quoted-suffix): New function.
15748         (pcomplete-std-complete): Use it and pcomplete-begin.
15750         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
15751         we're inside a dedicated or minibuffer window.
15753 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
15755         * bookmark.el: Update documentation, especially documentation
15756         of `bookmark-alist' and of the bookmark file format.
15757         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
15759 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
15761         * mail/emacsbug.el (report-emacs-bug): Clarify that the
15762         keybindings apply to the mail buffer (Bug#4003).  Shrink help
15763         window to buffer.
15765         * whitespace.el (whitespace-mode, whitespace-newline-mode)
15766         (global-whitespace-mode, global-whitespace-newline-mode)
15767         (whitespace-toggle-options, global-whitespace-toggle-options):
15768         Doc fix (Bug#3660).
15770         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
15771         of xmltok-start before the end tag was inserted (Bug#2840).
15773         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
15774         patterns that are preceded by an open-paren (Bug#1320).
15776 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
15778         * files.el (delete-directory): Delete symlinks to directories with
15779         delete-file (Bug#4739).
15781 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
15783         * vc.el (vc-backend-for-registration): Rename from
15784         vc-get-backend-for-registration.  Update callers.
15786         * international/mule-cmds.el (set-language-info-alist):
15787         Purecopy lang-env.
15788         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
15789         (charset): Purecopy the name.
15790         (define-char-code-property): Purecopy string arguments.
15792         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15793         Purecopy string arguments.
15795         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15796         * ediff-hook.el (menu-bar-ediff-menu):
15797         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
15798         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
15800 2009-10-24  Glenn Morris  <rgm@gnu.org>
15802         * comint.el (comint-dynamic-list-completions):
15803         * term.el (term-dynamic-list-completions): Use choose-completion rather
15804         than obsolete alias mouse-choose-completion.
15806         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
15807         file-cache-choose-completion.
15808         (file-cache-choose-completion): Handle an optional event argument.
15809         (file-cache-mouse-choose-completion): Make it an obsolete alias.
15811         * progmodes/octave-mod.el (octave-complete-symbol):
15812         Use choose-completion if mouse-choose-completion is ever removed.
15814         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
15815         use.
15817         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
15818         compiler.
15820         * vc-hooks.el (vc-responsible-backend): Fix declaration.
15822 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15824         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
15825         Ignore `pred' now that we receive one.
15826         Handle test-completion specially.
15828 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
15830         * vc.el (vc-responsible-backend): Throw an error if not backend is
15831         found.  Remove the REGISTER argument.  Move the code dealing with
15832         REGISTER ...
15833         (vc-get-backend-for-registration): ... here.  New function.
15834         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
15835         of vc-responsible-backend, pass the file name instead of the
15836         directory name.
15838 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15840         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
15841         New funs.
15842         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
15843         (pcomplete-comint-setup): Don't modify a global var via
15844         accidental side-effects.
15845         (pcomplete-shell-setup): Adjust call accordingly.
15846         (pcomplete-parse-comint-arguments): Use push.
15848 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
15850         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15851         Allow uncapitalized info node names (Bug#3921).
15853         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
15854         to the DEBUG file (Bug#3781).
15856 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
15858         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
15859         dictionary entry (Bug#4579).
15861 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
15863         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
15864         from `rfn-eshadow-update-overlay-hook' when unloading.
15865         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
15866         "rsyncc".  Adjust doc string.
15867         (tramp-temp-buffer-file-name): New buffer-local defvar.
15868         (tramp-handle-insert-file-contents, tramp-handle-write-region):
15869         Keep temporary file when indicated by method ("rsync" and
15870         "rsyncc").
15871         (tramp-handle-write-region): Handle APPEND.
15872         (tramp-delete-temp-file-function): New defun.  Added to
15873         `kill-buffer-hook'.
15875 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
15877         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
15879 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
15881         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
15882         (color-name-rgb-alist, tty-standard-colors)
15883         (tty-color-mode-alist): Change to defconst.
15885         * simple.el (mark-inactive): Purecopy message.
15887         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
15888         (global-map, yank-menu):
15889         * textmodes/ispell.el (ispell-menu-map):
15890         * net/eudc.el (eudc-tools-menu):
15891         * international/mule-cmds.el (describe-language-environment-map)
15892         (setup-language-environment-map, set-coding-system-map)
15893         (mule-menu-keymap):
15894         * vc-hooks.el (vc-menu-entry, vc-menu-map):
15895         * replace.el (occur-mode-map):
15896         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
15898 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
15900         * calc/calc.el (math-read-number, math-read-number-simple):
15901         Use `save-match-data'.
15903 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
15905         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
15906         rather than fiddling with global-map bindings, since it should only
15907         affect per-terminal settings.
15908         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
15910         * minibuffer.el (completion-table-with-terminator): Allow to specify
15911         the terminator-regexp.
15913         * simple.el (switch-to-completions): Look for *Completions* in other
15914         frames as well.
15916         * pcomplete.el: Allow the use of completion-tables.
15917         (pcomplete-std-complete): New command.
15918         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
15919         (pcomplete--here): Use a function for `form' rather than an expression,
15920         so it can be byte-compiled.
15921         (pcomplete-here, pcomplete-here*): Adjust accordingly.
15922         Add edebug declaration.
15923         (pcomplete-show-completions): Remove unused var `curbuf'.
15924         (pcomplete-do-complete, pcomplete-stub):
15925         Don't assume `completions' is a list of strings any more.
15927 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
15929         * find-dired.el (find-name-arg): Fix typo in docstring.
15931 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
15933         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
15934         (pcmpl-linux-fs-types): Same, and update to new modules layout.
15936         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
15937         pcomplete-entries.
15939         * comint.el (comint-read-input-ring, comint-write-input-ring)
15940         (comint-substitute-in-file-name)
15941         (comint-dynamic-complete-as-filename)
15942         (comint-dynamic-simple-complete)
15943         (comint-dynamic-list-filename-completions)
15944         (comint-dynamic-list-completions)
15945         (comint-redirect-results-list-from-process): Minor simplifications.
15947 2009-10-21  Kevin Ryde  <user42@zip.com.au>
15949         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
15950         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
15951         the first form.  And insert a blank line after ";;; Code" since
15952         that's usual style.  (Bug#4612)
15954         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
15956 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15958         * minibuffer.el (completion-table-with-terminator): Properly implement
15959         boundaries, in case `terminator' appears in the suffix.
15960         (completion--embedded-envvar-table): Don't return boundaries if
15961         there's no valid completion.  Simplify.
15962         (completion-file-name-table): New completion table extracted from
15963         completion--file-name-table.
15964         (completion--file-name-table): Use it.
15965         (read-file-name-predicate): Declare obsolete.
15966         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
15967         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
15968         completion-file-name-table, and use the `pred' argument.
15969         * files.el (locate-file-completion-table): Use the `pred' arg rather
15970         than read-file-name-predicate.
15971         (abbreviate-file-name): Use \` rather than ^ for BOS.
15973 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
15975         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
15976         vc-responsible-backend to register, it causes problems.
15978 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15980         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
15982 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
15984         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
15985         (tramp-smb-handle-file-attributes): Use it.
15986         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
15987         (tramp-smb-handle-insert-directory): Use `mapc' rather than
15988         `mapcar'.  Use `tramp-smb-get-stat-capability'.
15989         Add `dired-filename' text properties.
15990         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
15991         (tramp-smb-maybe-open-connection): Simplify check for smbclient
15992         version.
15994 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
15996         * subr.el (read-key-delay): Reduce to 0.01.
15997         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
15998         (bug#4751).
16000 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16002         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
16004         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
16005         (Info-menu): Remove unused vars `last' and `completions'.
16006         (Info-index-nodes): Remove unused var `node'.
16008         * info.el (Info-complete-menu-item): Use complete-with-action.
16010 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
16012         Make vc-annotate work through copies and renames.
16013         * vc-annotate.el (vc-annotate-extract-revision-at-line):
16014         Return the file name too.
16015         (vc-annotate-revision-at-line)
16016         (vc-annotate-find-revision-at-line)
16017         (vc-annotate-revision-previous-to-line)
16018         (vc-annotate-show-log-revision-at-line): Update to get the file
16019         name from vc-annotate-extract-revision-at-line.
16020         (vc-annotate-show-diff-revision-at-line-internal): Change the
16021         argument to mean whether to show a file diff or not.  Get the file
16022         name from vc-annotate-extract-revision-at-line.
16023         (vc-annotate-show-diff-revision-at-line):
16024         Update vc-annotate-show-diff-revision-at-line call.
16025         (vc-annotate-warp-revision): Add an optional file argument.
16027         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
16028         (vc-git-annotate-extract-revision-at-line): Also return the file
16029         name if found.
16031         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
16032         command.  Remove unused code.
16033         (vc-hg-annotate-re): Update to match --follow output.
16034         (vc-hg-annotate-extract-revision-at-line): Also return the file
16035         name if found.
16037         * vc.el: Update annotate-extract-revision-at-line documentation.
16039 2009-10-18  Kevin Ryde  <user42@zip.com.au>
16041         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
16042         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
16044         * net/browse-url.el (browse-url): Identify alist with "consp and
16045         not functionp" and let all other things go down the `apply' leg,
16046         as suggested by Stefan.  (Further to bug#4531.)
16048 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
16050         * minibuffer.el (read-file-name): Check for repeat before putting
16051         a default argument in file-name-history (Bug#4657).
16053         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
16054         read syntax (Bug#4737).
16056         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
16058 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
16060         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
16061         (html-tag-alist, html-tag-help): Add descriptions for undocumented
16062         entries and make note of obsolete tags.
16064 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16066         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
16068 2009-10-18  Glenn Morris  <rgm@gnu.org>
16070         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
16071         grep, so that binary files (eg international/uni-bidi.el) can match.
16072         Remove test for "UnicodeData" files, since it is hopefully unnecessary
16073         now, and in any case the file header format has changed.
16075 2009-10-17  Glenn Morris  <rgm@gnu.org>
16077         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
16078         (flyspell-get-word, flyspell-large-region)
16079         (flyspell-auto-correct-previous-word): Doc/error message fixes.
16081 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
16083         * Makefile.in (ELCFILES): Add ede/shell.
16085 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
16087         * term/common-win.el (x-colors): Purecopy it.
16089 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16091         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
16092         permissive for when the buffer is empty.
16093         (tar-header-block-tokenize): Decode the username and groupname.
16094         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
16096 2009-10-17  Eric Ludlam  <zappo@gnu.org>
16098         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
16099         contains multibyte characters, choose first applicable coding
16100         system automatically.
16102 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16104         * international/mule-cmds.el (select-safe-coding-system): If the file
16105         has a coding cookie, use it regardless of any other setting (bug#4712).
16107 2009-10-17  Glenn Morris  <rgm@gnu.org>
16109         * foldout.el (foldout-mouse-swallow-events):
16110         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
16112         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
16113         (dired-keep-marker-copy, dired-keep-marker-hardlink)
16114         (dired-keep-marker-symlink, dired-dwim-target)
16115         (dired-copy-preserve-time): Do not autoload these defcustoms.
16117         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
16118         messages from messing up the file coding.  (Bug#4623)
16120 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
16122         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
16123         if no match is found for the current dictionary.  (Bug#4578)
16125         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
16126         optional, since that is how it is documented, and this is often called
16127         with a nil argument.  (Bug#4577)
16128         (flyspell-external-point-words, flyspell-auto-correct-word)
16129         (flyspell-correct-word-before-point, flyspell-word-search-forward)
16130         (flyspell-word-search-backward): Remove nil argument in calls to
16131         flyspell-get-word, since it is not needed now.
16133 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
16135         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
16137 2009-10-16  Glenn Morris  <rgm@gnu.org>
16139         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
16141 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
16143         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
16144         (ange-ftp-file-size): New function.
16145         (ange-ftp-file-attributes): Use it.
16147 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
16149         * net/tramp-smb.el (tramp-smb-version): New defvar.
16150         (tramp-smb-maybe-open-connection): Use it, in order to avoid
16151         repeated checks.
16153 2009-10-16  Glenn Morris  <rgm@gnu.org>
16155         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
16156         Maybe copy some custom properties from old to new name.  (Bug#4706)
16158 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
16160         * subr.el (error, sit-for, start-process-shell-command)
16161         (start-file-process-shell-command): Set the calling convention
16162         after the function definition.
16164 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16166         * subr.el (error, sit-for, start-process-shell-command)
16167         (start-file-process-shell-command): Use the new
16168         set-advertised-calling-convention feature.
16170 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
16172         * international/ucs-normalize.el (ucs-normalize-version):
16173         Change to 1.2.
16174         (check-range): Adjust for Unicode 5.2.
16176 2009-10-15  Juri Linkov  <juri@jurta.org>
16178         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
16179         to the `menu-item' format.
16181 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
16183         * net/tramp.el (tramp-replace-environment-variables): Do not fail
16184         if the environment variable does not exist.
16186         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16187         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
16188         parameter.
16189         (tramp-smb-handle-add-name-to-file)
16190         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16191         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16192         (tramp-smb-handle-file-attributes)
16193         (tramp-smb-do-file-attributes-with-stat)
16194         (tramp-smb-handle-file-local-copy)
16195         (tramp-smb-handle-insert-directory)
16196         (tramp-smb-handle-make-directory)
16197         (tramp-smb-handle-make-directory-internal)
16198         (tramp-smb-handle-make-symbolic-link)
16199         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
16200         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
16201         (tramp-smb-maybe-open-connection): Apply the changed parameters.
16202         (tramp-smb-read-file-entry): Read Disk names in compressed format.
16203         Handle long file names.
16204         (tramp-smb-get-cifs-capabilities): Check, whether the connection
16205         process is running.
16206         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
16207         Read share names with "-g" option.
16209 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
16211         * net/rcirc.el (rcirc-view-log-file): New command.
16212         (rcirc-track-minor-mode-map): Remove C-c ` binding.
16213         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
16214         specified.
16216 2009-10-15  Glenn Morris  <rgm@gnu.org>
16218         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
16219         from the second command-line argument.
16220         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
16221         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
16222         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
16223         w32-batch-update-autoloads.
16224         * emacs-lisp/autoload.el (autoload-make-program): New variable.
16225         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
16227         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
16228         the headers cannot be located.  Simplify, subtracting superflous
16229         save-excursions.
16231 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16233         Replace completion-base-size by completion-base-position to fix bugs
16234         such as (bug#4699).
16235         * simple.el (completion-base-position): New var.
16236         (completion-base-size): Mark as obsolete.
16237         (choose-completion): Make it work for mouse events as well.
16238         Pass the new base-position to choose-completion-string.
16239         (choose-completion-guess-base-position): New function, extracted from
16240         choose-completion-delete-max-match.
16241         (choose-completion-delete-max-match): Use it.  Make obsolete.
16242         (choose-completion-string): Use the new base-position info.
16243         (completion-root-regexp): Delete.
16244         (completion-setup-function): Preserve completion-base-position.
16245         Eliminate obsolete base-size manipulation.
16246         * minibuffer.el (display-completion-list): Don't mess with base-size.
16247         (minibuffer-completion-help): Set completion-base-position instead.
16248         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
16249         choose-completion.
16250         * textmodes/bibtex.el (bibtex-complete):
16251         * emacs-lisp/crm.el (crm--choose-completion-string):
16252         Adjust to new calling convention.
16253         * complete.el (partial-completion-mode): Use minibufferp to avoid
16254         bumping into incompatible change to choose-completion-string-functions.
16255         * ido.el (ido-choose-completion-string): Make its calling convention
16256         more permissive.
16257         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
16258         base-size manipulation.
16259         (comint-dynamic-list-input-ring): Use dotimes and push.
16260         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
16261         fundamental-mode.  Use `or'.
16263 2009-10-14  Juri Linkov  <juri@jurta.org>
16265         * misearch.el (multi-isearch-next-buffer-from-list)
16266         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
16268 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16270         * Makefile.in (compile-onefile): Load `bytecomp' rather than
16271         `bytecomp.el'.
16273         * minibuffer.el (completion-pcm--merge-completions): Make sure the
16274         string we return is all made up of text from the completions rather
16275         than part from the completions and part from the input (bug#4219).
16277         * ido.el (ido-everywhere): Use define-minor-mode.
16279         * buff-menu.el (list-buffers, ctl-x-map):
16280         Mark the entry points with ;;;###autoload cookies.
16282 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
16284         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
16285         correctly in the detached head case.
16286         (vc-git-print-log): Remove unused binding.
16288         * vc.el (vc-responsible-backend): When a directory is passed for
16289         for registration create a VC repository if no backend is
16290         responsible for the directory argument.
16291         (vc-deduce-fileset): Tell vc-responsible-backend to register.
16293         * vc.el: Move comments about RCS and SCCS ...
16294         * vc-rcs.el:
16295         * vc-sccs.el: ... here, respectively.
16297 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16299         * minibuffer.el (completion--file-name-table): Return nil if there's
16300         no file completion, even if substitute-in-file-name changed
16301         the string (bug#4708).
16303 2009-10-13  Juri Linkov  <juri@jurta.org>
16305         * files-x.el (read-file-local-variable-value): Don't filter out
16306         minor modes from mode name completion (bug#4664).
16308 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
16310         * international/mule-cmds.el (ucs-names): Remove exclusion of
16311         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
16313 2009-10-13  Kenichi Handa  <handa@m17n.org>
16315         * international/uni-name.el: Regenerated.
16317 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
16319         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
16320         should be automatically buffer-local, but isn't.)
16322 2009-10-12  Sam Steingold  <sds@gnu.org>
16324         * progmodes/compile.el (compilation-next-error-function): Fix the
16325         timestamps if the buffer has been visited before.
16326         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
16327         non-anchored patterns, like the perl one (bug#3928).
16329 2009-10-12  Glenn Morris  <rgm@gnu.org>
16331         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
16332         Let-bind `size'.
16334 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
16336         * proced.el (proced-unload-function): New function.
16338         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
16339         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
16340         Doc fix.
16342         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
16344 2009-10-11  Juri Linkov  <juri@jurta.org>
16346         * files-x.el (read-file-local-variable-value):
16347         Provide default value only for bound variables (bug#4664).
16349 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
16351         * net/tramp.el (tramp-local-host-p): Function shall return nil for
16352         connection methods like smb.
16354         * net/tramp-cache.el (tramp-flush-connection-property): The hash
16355         can be empty.
16357         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16358         (tramp-smb-file-name-handler-alist): Add handlers for
16359         `add-name-to-file', `make-symbolic-link'.
16360         (tramp-smb-handle-add-name-to-file)
16361         (tramp-smb-do-file-attributes-with-stat)
16362         (tramp-smb-handle-make-symbolic-link)
16363         (tramp-smb-get-cifs-capabilities): New defuns.
16364         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16365         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16366         (tramp-smb-handle-file-local-copy)
16367         (tramp-smb-handle-make-directory-internal)
16368         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
16369         The file name syntax depends on cifs capabilities.
16370         (tramp-smb-handle-file-attributes):
16371         Call `tramp-smb-do-file-attributes-with-stat' if possible.
16372         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
16373         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
16375 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
16377         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
16378         (eieio-defclass): Apply deftype handler and setf-method properties
16379         directly.
16380         (eieio-add-new-slot): Avoid union function from cl library.
16381         (eieio--typep): New function.
16382         (eieio-perform-slot-validation): Use it.
16384 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
16386         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
16387         Update documentation to refer to the variables documented in r1.135.
16388         (Bug#4188)
16390 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
16392         * bookmark.el (Info-suffix-list): Remove this unused variable.
16393         (bookmark-current-point): Remove this obsolete variable.
16394         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
16395         Adjust for removal of bookmark-current-point.
16397         (bookmarks-already-loaded, bookmark-current-buffer)
16398         (bookmark-yank-point): Document.  (Bug#4188)
16400 2009-10-10  Glenn Morris  <rgm@gnu.org>
16402         * frame.el (frame-height): Doc fix.
16404         * calendar/calendar.el (calendar-split-width-threshold): New option.
16405         (calendar-basic-setup): Use calendar-split-width-threshold.
16407 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
16409         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
16410         Ideographic Supplement" range (U+1F200..U+1F2FF).
16412 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
16414         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
16415         since the list will have been rebuilt anyway.  (Bug#4349)
16417 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
16419         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
16420         (bookmark-bmenu-execute-deletions): Don't save here, as
16421         bookmark-delete will now do so if necessary.
16422         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
16423         (Bug#4348)
16425 2009-10-09  Glenn Morris  <rgm@gnu.org>
16427         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
16429 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
16431         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
16432         (bookmark-jump-other-window): Just invoke bookmark-jump with new
16433         argument now, so the two function's behaviors will match.  (Bug#3645)
16435 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
16437         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
16438         (tramp-file-name-real-host, tramp-file-name-port):
16439         Apply `save-match-data'.
16441         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
16442         case both directories are remote.
16443         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
16444         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
16446 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
16448         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
16450 2009-10-07  Glenn Morris  <rgm@gnu.org>
16452         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
16453         of concat.
16455 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
16457         * files-x.el (read-file-local-variable): Include some
16458         non-user-variables in the completion table (bug#4664).
16460 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
16462         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
16463         message.
16465         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16466         (tramp-smb-file-name-handler-alist): Add handler for
16467         `copy-directory', `expand-file-name', `set-file-modes'.
16468         (tramp-smb-handle-copy-directory)
16469         (tramp-smb-handle-expand-file-name)
16470         (tramp-smb-handle-set-file-modes): New defuns.
16471         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
16472         (tramp-smb-handle-file-attributes): Simplify check for retrieving
16473         entry.
16474         (tramp-smb-handle-insert-directory): Don't flush the cache.
16475         (tramp-smb-maybe-open-connection): Check for samba client and
16476         server versions.
16478 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
16480         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
16481         to not error out of search for "^lisp=" fails.
16483 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
16485         * makefile.w32-in (WINS_UPDATES): New macro.
16486         (custom-deps, finder-data, autoloads): Use it.
16488 2009-10-07  Glenn Morris  <rgm@gnu.org>
16490         * Makefile.in (autoloads): Revert previous change.
16491         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
16492         the list of preloaded files passed on the command-line, get
16493         it from src/Makefile.
16495         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
16496         show the original buffer rather than a random one.
16498 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
16500         * help.el (describe-no-warranty): Place point in a slightly better
16501         position in the GPLv3 text.
16503 2009-10-06  Sam Steingold  <sds@gnu.org>
16505         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
16506         the comm attribute is present before calling regexp-quote.
16508 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
16510         * play/animate.el (animate-string): For good effect, make sure
16511         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
16513         * play/animate.el (animate-sequence, animate-birthday-present):
16514         * misc.el (butterfly): Don't set `indent-tabs-mode'.
16516 2009-10-06  Glenn Morris  <rgm@gnu.org>
16518         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
16520         * emacs-lisp/autoload.el (autoload-excludes): New variable.
16521         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
16522         (batch-update-autoloads): Process a string value of autoload-excludes,
16523         set during the build process.
16524         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
16526         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
16527         inside with-parsed...  macro so that `v' is defined.
16529         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
16530         * progmodes/fortran.el (fortran-end-of-block)
16531         (fortran-beginning-of-block):
16532         Also push mark in the macro case.
16534         * emerge.el (emerge-show-file-name):
16535         * calc/calc.el (calc-quit):
16536         * calc/calc-misc.el (calc-big-or-small):
16537         * calc/calc-graph.el (calc-graph-view):
16538         * calc/calc-ext.el (calc-reset):
16539         * calendar/calendar.el (calendar-basic-setup):
16540         Use window-full-height-p.
16542         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
16543         header we don't understand, don't insert another.  (Bug#4624)
16544         If changing mime charset, insert the new one in the right place.
16546 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
16548         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
16549         (cal-tex-cursor-month): Correctly increment the end date for diary and
16550         holiday listing.  (Bug#4626)
16552 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16554         * help-fns.el (describe-function-1): Don't burp if the function is not
16555         a symbol.
16557 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
16559         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
16560         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
16561         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
16562         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
16564         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
16565         (eieio-default-superclass): Reflow docstrings.
16566         (this, class-option-assoc, defclass, eieio-class-un-autoload)
16567         (eieio-unbind-method-implementations, defmethod)
16568         (eieio-validate-slot-value, eieio-validate-class-slot-value)
16569         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
16570         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
16571         (eieio-slot-originating-class-p, eieio-slot-name-index)
16572         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
16573         (constructor, initialize-instance, no-next-method, object-print)
16574         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
16575         Fix typos in docstrings.
16576         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
16577         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
16578         (next-method-p): Doc fixes.
16579         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
16580         Fix typos in error messages.
16581         (eieio-defmethod): Fix typo in description of generic method.
16583         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
16584         (eieio-persistent-save-interactive, slot-missing):
16585         Fix typos in docstrings.
16586         (eieio-instance-inheritor-slot-boundp): Doc fix.
16588         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
16589         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
16591         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
16592         (eieio-custom-object-apply-reset):
16593         Fix typos in docstrings and error messages.
16595         * emacs-lisp/eieio-datadebug.el (data-debug-show):
16596         Fix typo in docstring.
16598         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
16599         (eieio-browse-tree): Doc fix.
16600         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
16601         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
16602         Fix typos in docstrings.
16604         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
16605         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
16606         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
16607         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
16608         Reflow docstrings.
16610 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
16612         * vc-hg.el (log-view-vc-backend): Declare for compiler.
16613         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
16614         Set log-view-vc-backend so that diff can work.
16616         * log-view.el (log-view-diff): Use vc-diff-internal instead of
16617         vc-version-diff.
16618         (vc-diff-internal): Autoload this instead of vc-version-diff.
16620 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
16622         * simple.el (eval-expression): Doc fix.
16624         * progmodes/cwarn.el (cwarn-mode): Doc fix.
16626 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
16628         * files.el (directory-files-no-dot-files-regexp): New defconst.
16629         (delete-directory): Use it.
16630         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
16632         * net/tramp.el (tramp-verbose): Fix docstring.
16633         (tramp-methods): Add recursive option to `tramp-copy-args'.
16634         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
16635         "scp1_old", "scp2_old", "rsync", "rsyncc".
16636         (tramp-default-method): Check also for `auth-source-user-or-password'.
16637         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
16638         Add handler for `copy-directory'.
16639         (tramp-handle-copy-directory): New defun.
16640         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
16641         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
16642         Optimize sent command.
16644 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16646         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
16647         window if necessary.
16649         * calendar/calendar.el (calendar-basic-setup): Don't call
16650         switch-to-buffer in a dedicated window.
16652 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
16654         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
16655         don't do anything related to relocating, just return nil.
16656         (bookmark-error-no-filename): New error.
16657         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
16658         bookmark has no file.  Don't even attempt to handle things that
16659         are not files; the whole point of custom handlers is to keep that
16660         knowledge elsewhere anyway.  Tighten some comments.
16661         (bookmark-file-or-variation-thereof): Remove now-unused function.
16662         (bookmark-location): Doc string fix.
16663         (Bug#4250)
16665 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16667         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
16668         don't use a file dialog, because they usually don't know how to read
16669         a directory target from the user.  (Bug#4230)
16670         Also, make sure the prompt can display directories as well as files.
16672 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16674         * bookmark.el (bookmark-set, bookmark-buffer-name):
16675         Improve doc strings.  (Bug#1193)
16677 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16679         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
16680         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
16681         (bookmark-get-annotation, bookmark-set-annotation)
16682         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
16683         (bookmark-set-position, bookmark-get-front-context-string)
16684         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
16685         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
16686         (bookmark-jump-other-window, bookmark-handle-bookmark)
16687         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
16688         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
16689         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
16690         Improve doc strings to say whether bookmark can be a string or
16691         a record or both, and make other consistency and clarity fixes.
16692         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
16693         (bookmark-default-annotation-text, bookmark-yank-word)
16694         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
16695         (bookmark-import-new-list, bookmark-maybe-rename)
16696         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
16697         (bookmark-bmenu-bookmark): Give these doc strings.
16698         (bookmark-bmenu-check-position): Give this a doc string, but also
16699         add a FIXME comment about how the function may be pointless.
16700         (bookmark-default-handler): Rework doc string and change a
16701         parameter name, to clarify that this takes a bookmark record
16702         not a bookmark name.
16703         (bookmark-set): Change a parameter name to indicate its meaning,
16704         and improve the doc string a bit.
16705         (Bug#4188)
16707 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16709         * bookmark.el (bookmark-alist): Document the new `handler' element
16710         in the param alist.
16711         (bookmark-make-record-function): Adjust documentation for above.
16712         (Bug#4193)
16714 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16716         * info.el (Info-bookmark-make-record): Document this function.
16717         (Info-bookmark-jump): Document with a doc string, not just a comment.
16718         (Bug#4203)
16720 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
16722         * files.el (copy-directory): New defun.
16724         * dired-aux.el (dired-copy-file-recursive): Use it.
16726 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
16728         * files-x.el (modify-dir-local-variable)
16729         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
16730         docstrings.
16732         * recentf.el (recentf-unload-function): New function.
16734 2009-10-04  Glenn Morris  <rgm@gnu.org>
16736         * window.el (window-full-height-p): Add doc string.
16738 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
16740         * window.el (window-full-height-p): New function.  (Bug#4543)
16742 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
16744         * vc.el: Remove commented out code.
16745         (vc-derived-from-dir-mode): Remove, unused.
16746         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
16748 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
16750         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
16751         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
16752         there could be recursive loading when `default-directory' is a
16753         remote file name.  (Bug#4614)
16755 2009-10-03  Glenn Morris  <rgm@gnu.org>
16757         * calendar/calendar.el (calendar-basic-setup): Handle the case where
16758         the frame is wide.
16759         (calendar-generate-window): Test for shrinkability rather than width.
16761         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
16762         reusing existing buffers, in case we happen to visit two files with the
16763         same basename.  (Bug#4593)
16765 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
16767         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
16768         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
16769         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
16770         subdirs of cedet as well.
16771         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
16773 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
16775         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
16776         Obey advertised-signature-table.
16778         * help-fns.el (help-function-arglist): Don't check
16779         advertised-signature-table.
16780         (describe-function-1): Do it here instead so it also applies to subrs.
16782 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
16784         * simple.el (start-file-process): Say in the doc-string, that file
16785         handlers might not support pty association, if PROGRAM is nil.
16787         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
16788         HOST and USER are strings.  They are nil, when there are
16789         incomplete entries in ~/.netrc, for example.
16790         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
16791         root directory ("device busy" error otherwise).
16793         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
16794         Flush file properties of created directory.
16796 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
16798         * makefile.w32-in (WINS_BASIC): Remove cedet.
16799         (WINS_CEDET): Add cedet.
16800         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
16802 2009-10-02  Kevin Ryde  <user42@zip.com.au>
16804         * net/browse-url.el (browse-url): Pass any symbol in
16805         browse-url-browser-function to `apply', since if you've mistakenly put
16806         an unbound symbol then the error is clearer.  (Bug#4531)
16808 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
16810         * allout.el (allout-init, allout-back-to-current-heading)
16811         (allout-beginning-of-current-entry, allout-ascend-to-depth)
16812         (allout-ascend, allout-up-current-level, allout-end-of-level)
16813         (allout-previous-visible-heading, allout-forward-current-level)
16814         (allout-backward-current-level, allout-show-children):
16815         * apropos.el (apropos-describe-plist):
16816         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
16817         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
16818         * completion.el (add-completion, add-permanent-completion):
16819         * descr-text.el (describe-text-category, describe-char):
16820         * desktop.el (desktop-lazy-abort):
16821         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
16822         * dired.el (dired-build-subdir-alist):
16823         * ediff.el (ediff-version):
16824         * elide-head.el (elide-head, elide-head-show):
16825         * emerge.el (emerge-version):
16826         * env.el (getenv):
16827         * face-remap.el (variable-pitch-mode):
16828         * faces.el (describe-face):
16829         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
16830         (dired-at-point):
16831         * files.el (find-file-existing, auto-save-mode):
16832         * font-lock.el (font-lock-fontify-buffer):
16833         * help-fns.el (describe-function, describe-variable)
16834         (describe-syntax, describe-categories):
16835         * help.el (view-lossage, describe-bindings, describe-key)
16836         (describe-mode):
16837         * hexl.el (hexl-current-address):
16838         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
16839         * info.el (Info-goto-emacs-key-command-node):
16840         * log-edit.el (log-edit-insert-cvs-template)
16841         (log-edit-insert-cvs-rcstemplate):
16842         * menu-bar.el (menu-bar-mode):
16843         * mouse.el (mouse-appearance-menu):
16844         * newcomment.el (comment-indent-new-line):
16845         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
16846         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
16847         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
16848         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
16849         * recentf.el (recentf-mode):
16850         * savehist.el (savehist-mode, savehist-save):
16851         * shadowfile.el (shadow-copy-files):
16852         * simple.el (kill-ring-save, next-line, previous-line)
16853         (normal-erase-is-backspace-mode):
16854         * strokes.el (strokes-update-window-configuration)
16855         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
16856         (strokes-xpm-for-stroke):
16857         * time.el (emacs-uptime, emacs-init-time):
16858         * tutorial.el (tutorial--describe-nonstandard-key)
16859         (tutorial--detailed-help):
16860         * type-break.el (type-break-mode)
16861         (type-break-mode-line-message-mode, type-break-query-mode)
16862         (type-break-guesstimate-keystroke-threshold):
16863         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
16864         * version.el (emacs-version):
16865         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
16866         * winner.el (winner-mode):
16867         * calendar/timeclock.el (timeclock-in, timeclock-out)
16868         (timeclock-status-string, timeclock-change)
16869         (timeclock-workday-remaining-string)
16870         (timeclock-workday-elapsed-string)
16871         (timeclock-when-to-leave-string):
16872         * calendar/todo-mode.el (todo-add-category):
16873         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
16874         * emacs-lisp/autoload.el (update-file-autoloads):
16875         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
16876         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
16877         (checkdoc-message-text, checkdoc-defun):
16878         * emacs-lisp/debug.el (debugger-list-functions):
16879         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
16880         * emacs-lisp/eieio-opt.el (eieio-describe-class)
16881         (eieio-describe-generic):
16882         * emacs-lisp/lisp-mnt.el (lm-synopsis):
16883         * emacs-lisp/shadow.el (list-load-path-shadows):
16884         * emulation/cua-base.el (cua-mode):
16885         * emulation/edt.el (edt-set-scroll-margins):
16886         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
16887         (tpu-toggle-regexp, tpu-toggle-search-direction)
16888         (tpu-toggle-rectangle, tpu-toggle-control-keys):
16889         * emulation/tpu-extras.el (tpu-set-scroll-margins):
16890         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
16891         (viper-set-parsing-style-toggling-macro)
16892         (viper-set-emacs-state-searchstyle-macros):
16893         * emulation/viper.el (viper-set-hooks):
16894         * eshell/esh-mode.el (eshell-truncate-buffer):
16895         * international/mule-cmds.el (prefer-coding-system)
16896         (describe-input-method, describe-language-environment):
16897         * international/mule-diag.el (list-character-sets)
16898         (describe-character-set, describe-coding-system)
16899         (describe-fontset, list-fontsets, list-input-methods):
16900         * mail/sendmail.el (mail-signature):
16901         * net/ange-ftp.el (ange-ftp-copy-file):
16902         * net/browse-url.el (browse-url):
16903         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
16904         * net/quickurl.el (quickurl-add-url):
16905         * net/rcirc.el (names, topic):
16906         * net/xesam.el (xesam-mode):
16907         * play/5x5.el (5x5-new-game):
16908         * play/yow.el (apropos-zippy):
16909         * progmodes/ada-mode.el (ada-mode-version):
16910         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
16911         (f90-end-of-block)
16912         (f90-beginning-of-block):
16913         * progmodes/fortran.el (fortran-end-of-block)
16914         (fortran-beginning-of-block):
16915         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
16916         * progmodes/python.el (python-describe-symbol, python-shell):
16917         * term/ns-win.el (ns-print-buffer):
16918         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
16919         * textmodes/flyspell.el (flyspell-mode-on):
16920         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
16921         (pages-directory-for-addresses):
16922         * textmodes/table.el (table-recognize-cell)
16923         (table-query-dimension, table-generate-source)
16924         (table-insert-sequence, table--warn-incompatibility):
16925         * textmodes/tex-mode.el (tex-validate-buffer):
16926         * textmodes/texinfmt.el (texinfmt-version)
16927         (texinfo-format-buffer):
16928         Use `called-interactively-p' instead of `interactive-p'.
16930 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
16932         * image-mode.el (image-toggle-display):
16933         * emacs-lisp/elp.el (elp-instrument-function):
16934         * emacs-lisp/advice.el (ad-make-advised-definition):
16935         * emacs-lisp/easy-mmode.el (define-minor-mode):
16936         * net/browse-url.el (browse-url-maybe-new-window):
16937         * progmodes/sh-script.el (sh-learn-buffer-indent):
16938         Pass new argument 'any to `called-interactively-p'.
16940 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
16942         * international/uni-bidi.el:
16943         * international/uni-category.el:
16944         * international/uni-combining.el:
16945         * international/uni-comment.el:
16946         * international/uni-decimal.el:
16947         * international/uni-decomposition.el:
16948         * international/uni-digit.el:
16949         * international/uni-lowercase.el:
16950         * international/uni-mirrored.el:
16951         * international/uni-name.el:
16952         * international/uni-numeric.el:
16953         * international/uni-old-name.el:
16954         * international/uni-titlecase.el:
16955         * international/uni-uppercase.el:
16956         Regenerate from Unicode 5.2.0 data.
16958 2009-10-01  Glenn Morris  <rgm@gnu.org>
16960         * Makefile.in (ELCFILES): Regenerate.
16962 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16964         * subr.el (interactive-p): Mark obsolete.
16965         (called-interactively-p): Make the optional-ness of `kind' obsolete.
16966         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
16967         advertised-signature-table for subroutines as well.
16969         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
16970         (set-advertised-calling-convention): New function.
16971         (make-obsolete, define-obsolete-function-alias)
16972         (make-obsolete-variable, define-obsolete-variable-alias):
16973         Make the optional-ness of `when' obsolete.
16974         (define-obsolete-face-alias): Make `when' non-optional.
16975         * help-fns.el (help-function-arglist):
16976         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
16977         Use advertised-signature-table.
16979 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
16981         * files.el (delete-directory): New defun.  The original function
16982         in fileio.c has been renamed to `delete-directory-internal'.
16984         * dired.el (dired-delete-file): Call `delete-directory' with
16985         RECURSIVE parameter.
16987         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
16988         parameter RECURSIVE.  Implementation is missing.
16990         * net/tramp.el (tramp-handle-make-directory): Flush upper
16991         directory's file properties.
16992         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
16993         (tramp-handle-dired-recursive-delete-directory): Flush directory
16994         properties after the remove command only.
16996         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16997         Handle optional parameter RECURSIVE.
16999         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17000         Handle optional parameter RECURSIVE.
17002         * net/tramp-smb.el (tramp-smb-errors): Add error message for
17003         connection timeout.
17004         (tramp-smb-handle-delete-directory): Handle optional parameter
17005         RECURSIVE.
17007 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17009         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
17010         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
17011         (byte-compile-defmacro): Use backquotes.
17013         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
17015         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
17016         has no associated file.
17017         (vc-resynch-buffer): Use vc-dir-buffers.
17019 2009-10-01  Glenn Morris  <rgm@gnu.org>
17021         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
17022         (chart-file-count):
17023         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
17024         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
17025         * emacs-lisp/eieio-opt.el (eieio-describe-class):
17026         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
17027         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
17028         (eieio-copy-parents-into-subclass, make-instance, class-children)
17029         (eieio-generic-form):
17031         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
17032         match-data.  (Bug#4555).
17034         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
17035         rather than parsing it as a regexp.  This relaxes the layout
17036         requirements and makes errors easier to detect.
17037         (check-declare-verify): Check file is regular.
17038         (check-declare-directory): Doc fix.
17039         * subr.el (declare-function): Doc fix.
17041         * ibuffer.el (ibuffer-format-qualifier):
17042         * isearch.el (hi-lock-regexp-okay):
17043         * calc/calc.el (math-zerop):
17044         * mail/uce.el (rmail-msgbeg, rmail-msgend):
17045         * term/w32-win.el (setup-default-fontset, set-fontset-font):
17046         Remove unused declarations.
17048 2009-09-30  Eric Ludlam  <zappo@gnu.org>
17050         * emacs-lisp/eieio.el (boolean-p): Delete.
17052 2009-09-30  Glenn Morris  <rgm@gnu.org>
17054         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
17056         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
17057         filename is not a string.
17059 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
17061         * files.el (safe-local-eval-forms): Fix typo.
17063 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
17065         * vc-hooks.el (vc-dir-buffers): New var.
17066         (vc-state-refresh): New function.
17067         (vc-state): Use it.
17068         (vc-after-save): Always ask the backend to recompute the new state.
17069         Always call vc-dir if necessary, using vc-dir-buffers.
17070         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
17071         Use vc-dir-buffers.
17072         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
17073         (vc-dir-prepare-status-buffer, vc-dir-update)
17074         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
17075         Don't call expand-file-name on default-directory.
17077 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
17079         * speedbar.el (speedbar-item-delete):
17080         * calc/calc-prog.el (calc-kbd-if):
17081         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
17083         * epa.el (epa-key-list-mode-map):
17084         * hi-lock.el (hi-lock-menu): Fix typos in menus.
17086         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
17087         (hs-show-hook): Fix typo in docstring.
17089 2009-09-29  Glenn Morris  <rgm@gnu.org>
17091         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
17092         file-name-nondirectory call preventing location of cedet files.
17093         (check-declare-verify): Use literal search rather than re-search.
17094         Add basic defmethod and defclass, and define-overloadable-function.
17096         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17097         Use tramp-compat-file-attributes rather than nonexistent
17098         tramp-compat-handle-file-attributes.
17100         * Makefile.in (lisptagsfiles4): New.
17101         (AUTOGENEL): Add cedet loaddefs files.
17102         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
17103         (update-elclist, compile-always, backup-compiled-files)
17104         (bootstrap-clean): Add yet another directory level.
17105         (update-elclist): Use LC_COLLATE rather than COLLATE.
17106         (ELCFILES): Update, via `make update-elclist'.
17108 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
17110         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
17111         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
17112         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
17114 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
17116         * Makefile.in (lisptagsfiles3): Define.
17117         (TAGS, TAGS-LISP): Use it.
17118         (update-elclist): Add third directory level to look for elc files.
17119         (compile-always): Likewise.
17120         (backup-compiled-files): Likewise.
17121         (bootstrap-clean): Likewise.
17122         (ELCFILES): Update.
17124 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
17126         * Makefile.in (ELCFILES): Add CEDET files.
17128 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
17130         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
17132         * net/tramp.el (top): Require tramp-imap.
17134         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17135         Use `tramp-compat-handle-file-attributes'.
17137 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
17139         * net/tramp-imap.el: New package.
17141 2009-09-28  Eric Ludlam  <zappo@gnu.org>
17143         * emacs-lisp/chart.el:
17144         * emacs-lisp/eieio-base.el:
17145         * emacs-lisp/eieio-comp.el:
17146         * emacs-lisp/eieio-custom.el:
17147         * emacs-lisp/eieio-datadebug.el:
17148         * emacs-lisp/eieio-opt.el:
17149         * emacs-lisp/eieio-speedbar.el:
17150         * emacs-lisp/eieio.el: New files.
17152 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
17154         * whitespace.el (whitespace-trailing-regexp)
17155         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
17156         Fix doc string.
17158 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
17160         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
17161         menu.
17163         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
17164         menu-bar-ediff-menu.
17166         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
17167         define-overloadable-function.
17169         * progmodes/autoconf.el: Provide autoconf as well, so that this
17170         file can be `require'd.
17172         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
17174         * emacs-lisp/autoload.el (generated-autoload-feature)
17175         (generated-autoload-load-name): New vars.
17176         (autoload-rubric, autoload-generate-file-autoloads): Use them.
17177         (make-autoload): Recognize define-overloadable-function and
17178         defclass forms (for EIEIO).
17180         * Makefile.in (update-subdirs): Exclude cedet directory.
17182 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
17184         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
17186         * faces.el: Default light-background background for region face to
17187         ns_selection_color under NS.
17189 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
17191         * net/imap-hash.el: New library, see NEWS.
17193         * Makefile.in (ELCFILES): Add imap-hash.el.
17195 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17197         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
17198         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
17199         * help-macro.el (make-help-screen): Avoid using an ambiguous function
17200         definition where the docstring could be taken for the return value.
17202 2009-09-26  Glenn Morris  <rgm@gnu.org>
17204         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
17205         Add option to only show images below a certain size.
17206         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
17207         save-excursion calls.
17209 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
17211         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
17212         subdirectories) and eieio.
17214 2009-09-26  Alan Mackenzie  <acm@muc.de>
17216         * progmodes/cc-engine.el (c-beginning-of-statement-1):
17217         Correct buggy bracketing.  (Bug#4289)
17219         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
17220         character constants (as case labels).  (Bug#4289)
17222 2009-09-25  Juri Linkov  <juri@jurta.org>
17224         * files.el (safe-local-eval-forms): Allow time-stamp in
17225         before-save-hook (Bug#4554).
17227 2009-09-25  Drew Adams  <drew.adams@oracle.com>
17229         * menu-bar.el (list-buffers-directory): Doc fix.
17231 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17233         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
17234         Try and avoid copying twice the same paragraph.
17235         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
17236         Remove save-excursion.
17237         (log-edit-changelog-entry): Do it here instead.
17239 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
17241         * bs.el (bs--get-file-name): Use `list-buffers-directory'
17242         when available, instead of hardcoding mode names.  Doc fix.
17244         * menu-bar.el (list-buffers-directory): Add docstring.
17245         Make automatically buffer-local.
17247         * dired.el (dired-mode):
17248         * files.el (cd-absolute):
17249         * pcvs.el (cvs-temp-buffer):
17250         * pcvs-util.el (cvs-get-buffer-create):
17251         * shell.el (shell-mode):
17252         * vc-dir.el (vc-dir-mode):
17253         Don't make `list-buffers-directory' buffer local.
17255 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
17257         * comint.el (comint-exec, comint-run, make-comint):
17258         Doc fixes (Bug#4542).
17260 2009-09-25  Glenn Morris  <rgm@gnu.org>
17262         * mail/rmailmm.el (rmail-mime): New custom group.
17263         Move all defcustoms in this file into this group.
17264         (rmail-mime-media-type-handlers-alist): Revert previous change.
17265         (rmail-mime-show-images): New option.
17266         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
17267         references to it, since it wasn't actually used for anything.
17268         (rmail-mime-insert-image): New function.
17269         (rmail-mime-image): Use rmail-mime-insert-image.
17270         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
17271         obey the value of `rmail-mime-show-images' option.  Print the size of
17272         attachments.
17274 2009-09-25  David Engster  <deng@randomsample.de>
17276         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
17278 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
17280         * whitespace.el: Does not highlight trailing spaces While point is
17281         at end of line.  Does not highligt spaces at beginning of buffer
17282         while point is at beginning of buffer.  Does not highlight spaces
17283         at end of buffer while point is at end of buffer.  (Bug#4177)
17284         New version 12.0.
17285         (whitespace-display-mappings): Adjust initialization.
17286         (whitespace-point, whitespace-font-lock-refontify): New vars.
17287         (whitespace-color-on, whitespace-color-off): Adjust code.
17288         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
17289         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
17290         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
17292 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
17294         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
17296         * textmodes/sgml-mode.el: Remove xml-mode alias.
17298         * files.el (auto-mode-alist, conf-mode-maybe)
17299         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
17301 2009-09-24  Alan Mackenzie  <acm@muc.de>
17303         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
17304         c-forward-conditionals, but it doesn't move point and doesn't set
17305         the mark.
17306         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
17307         (c-down-conditional-with-else, c-backward-conditional)
17308         (c-forward-conditional): Refactor to use c-scan-conditionals.
17310 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
17312         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
17313         (help-default-arg-highlight): Remove.
17314         (help-highlight-arg): New function.
17315         (help-do-arg-highlight): Use it.
17316         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
17318 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17320         * term.el (term-set-scroll-region, term-handle-ansi-escape):
17321         Undo last change, which didn't fix the problem and introduced others.
17323 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
17325         * progmodes/gdb-mi.el: Don't require speedbar.
17326         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
17328 2009-09-24  Glenn Morris  <rgm@gnu.org>
17330         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
17332         * term/ns-win.el (ns-reg-to-script): Define for compiler.
17334         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
17335         there is no newline after the final mime boundary.  (Bug#4539)
17336         Move markers on insertion so that any buttons inserted don't end up in
17337         the next part of a multipart message.
17338         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
17339         (rmail-mime-bulk-handler): Optionally handle images.
17340         (rmail-mime-image): New button action.
17341         (rmail-mime-image-handler): New function.
17342         (rmail-mime-mode): New mode.
17343         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
17345 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17347         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
17348         than just dropping elements from it (bug#4504).
17350         * term.el (term-set-scroll-region): Don't move cursor any more.
17351         (term-handle-ansi-escape): Call term-goto here instead.
17352         Suggested by Ivan Kanis <apple@kanis.eu>.
17354         * term.el: Require CL.
17355         (term-ansi-reset): New function.
17356         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
17357         (term-handle-colors-array): Simplify.
17359 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
17361         * allout.el (allout-overlay-interior-modification-handler)
17362         (allout-obtain-passphrase):
17363         * epa-file.el (epa-file-write-region):
17364         * ps-print.el (ps-begin-job):
17365         * vc-hooks.el (vc-toggle-read-only):
17366         * vc-rcs.el (vc-rcs-rollback):
17367         * vc-sccs.el (vc-sccs-rollback):
17368         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
17369         (vc-version-diff, vc-revert, vc-rollback):
17370         * wdired.el (wdired-check-kill-buffer):
17371         * emacs-lisp/authors.el (authors):
17372         * net/socks.el (socks-open-connection):
17373         * net/zeroconf.el (zeroconf-service-add-hook):
17374         * obsolete/vc-mcvs.el (vc-mcvs-register):
17375         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
17376         (gdb-select-frame):
17377         * progmodes/grep.el (lgrep, rgrep):
17378         * progmodes/idlw-help.el (idlwave-help-check-locations)
17379         (idlwave-help-html-link, idlwave-help-assistant-open-link):
17380         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
17381         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
17382         (reftex-toc-rename-label): Fix typos in error messages.
17384         * dired-aux.el (dired-do-shell-command): Reflow docstring.
17385         (dired-copy-how-to-fn): Doc fix.
17386         (dired-files-attributes, dired-read-shell-command):
17387         Fix typos in docstrings.
17389         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
17390         (dired-x-find-file-other-window): Reflow docstrings.
17391         (dired-omit-marker-char, dired-read-shell-command)
17392         (dired-x-submit-report): Fix typos in docstrings.
17394         * shell.el (shell-mode-hook):
17395         * view.el (View-scroll-line-forward):
17396         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
17397         Fix typos in docstrings.
17399         * net/dig.el (dig-invoke): Fix typo in docstring.
17400         (query-dig): Reflow docstring.
17402         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
17403         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
17404         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
17405         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
17406         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
17407         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
17408         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
17409         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
17410         (idlwave-completion-map, idlwave-current-indent)
17411         (idlwave-custom-ampersand-surround, idlwave-customize)
17412         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
17413         (idlwave-define-abbrev, idlwave-determine-class-special)
17414         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
17415         (idlwave-end-block-reg, idlwave-end-of-statement)
17416         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
17417         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
17418         (idlwave-explicit-class-listed, idlwave-file-header)
17419         (idlwave-fill-paragraph, idlwave-find-class-definition)
17420         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
17421         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
17422         (idlwave-in-quote, idlwave-indent-action-table)
17423         (idlwave-indent-expand-table, idlwave-indent-line)
17424         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
17425         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
17426         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
17427         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
17428         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
17429         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
17430         (idlwave-outlawed-buffers, idlwave-popup-select)
17431         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
17432         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
17433         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
17434         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
17435         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
17436         (idlwave-statement-type, idlwave-struct-skip)
17437         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
17438         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
17439         (idlwave-what-module-find-class): Fix typos in docstrings.
17440         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
17441         (idlwave-calculate-cont-indent, idlwave-expand-equal)
17442         (idlwave-find-module, idlwave-find-structure-definition)
17443         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
17444         (idlwave-list-load-path-shadows, idlwave-next-statement)
17445         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
17446         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
17447         (idlwave-template): Reflow docstrings.
17449         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
17450         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
17451         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
17452         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
17453         (idlwave-shell-display-line, idlwave-shell-display-wframe)
17454         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
17455         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
17456         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
17457         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
17458         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
17459         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
17460         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
17461         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
17462         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
17463         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
17464         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
17465         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
17466         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
17467         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
17468         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
17469         Fix typos in docstrings.
17470         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
17471         (idlwave-shell-hide-output, idlwave-shell-mode)
17472         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
17473         Reflow docstrings.
17475         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
17477 2009-09-24  Ivan Kanis  <apple@kanis.eu>
17479         * term.el (term-bold-attribute): New var.
17480         (term-handle-colors-array): Use it.
17482 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
17484         * progmodes/gdb-mi.el (gdb-version): New variable.
17485         (gdb-non-stop-handler): Set gdb-version.
17486         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
17487         Condition "--thread" option on gdb-version.
17488         (gdb-invalidate-threads): Remove unused argument.
17490 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17492         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
17493         to looking-back to avoid ridiculous slow down in large files (bug#4511).
17495 2009-09-23  Glenn Morris  <rgm@gnu.org>
17497         * mail/rmail.el (rmail-reply): Don't try to add a References header when
17498         replying to mail without References or Message-Id.  (Bug#4525)
17500 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
17502         * term/ns-win.el (ns-reg-to-script): New variable.
17504 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
17506         * epg.el (epg-wait-for-status): Preserve existing 'error results.
17508 2009-09-22  Sam Steingold  <sds@gnu.org>
17510         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
17511         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
17512         to 1 because hg returns status 1 when nothing is found.
17513         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
17515 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17517         * textmodes/fill.el: Convert to utf-8 encoding.
17518         (fill-french-nobreak-p): Remove redundant » and « inherited from our
17519         pre-Unicode days.
17521         * add-log.el (change-log-fill-forward-paragraph): New function.
17522         (change-log-mode): Use it so fill-region DTRT.
17523         Set fill-indent-according-to-mode here rather than in
17524         change-log-fill-paragraph.
17525         (change-log-fill-paragraph): Remove.
17527 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
17529         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
17530         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
17532 2009-09-22  Glenn Morris  <rgm@gnu.org>
17534         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
17535         the scroll-bar scroll the calendar window rather than the buffer.
17537         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
17538         commands that move point (as opposed to scrolling).
17540         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
17542         * emacs-lisp/elint.el (elint): New custom group.
17543         (elint-log-buffer): Make it a defcustom.
17544         (elint-scan-preloaded, elint-ignored-warnings)
17545         (elint-directory-skip-re): New options.
17546         (elint-builtin-variables): Doc fix.
17547         (elint-preloaded-env): New variable.
17548         (elint-unknown-builtin-args): Add an entry for encode-time.
17549         (elint-extra-errors): Make it a variable rather than a constant.
17550         (elint-preloaded-skip-re): New constant.
17551         (elint-directory): Skip files matching elint-directory-skip-re.
17552         (elint-features): New variable, local to linted buffers.
17553         (elint-update-env): Initialize elint-features.  Possibly add
17554         elint-preloaded-env to the buffer's environment.
17555         (elint-get-top-forms): Bind elint-current-pos, for log messages.
17556         Skip quoted forms.
17557         (elint-init-form): New function, extracted from elint-init-env.
17558         Make non-list forms a warning rather than an error.
17559         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
17560         easy-menu-define, put that adds an error-condition, and provide.
17561         When requiring cl, also require cl-macs.  Really require cl, to handle
17562         some cl macros.  Store required libraries in the list elint-features,
17563         so as not to re-load them.  Treat cc-require like require.
17564         (elint-init-env): Call elint-init-form to do the work.
17565         Handle eval-and-compile and such like.
17566         (elint-add-required-env): Do not clear messages.
17567         (elint-special-forms): Add handlers for function, defalias, if, when,
17568         unless, and, or.
17569         (elint-form): Add optional argument to ignore elint-special-forms,
17570         useful to prevent recursive calls from handlers.  Doc fix.
17571         Respect elint-ignored-warnings.
17572         (elint-form): Respect elint-ignored-warnings.
17573         (elint-bound-variable, elint-bound-function): New variables.
17574         (elint-unbound-variable): Respect elint-bound-variable.
17575         (elint-get-args): Respect elint-bound-function.
17576         (elint-check-cond-form): Add some simple handling for (f)boundp and
17577         featurep tests.
17578         (elint-check-defalias-form): New handler.
17579         (elint-check-let-form): Make an empty let a warning rather than an
17580         error.
17581         (elint-check-setq-form): Make an empty setq a warning rather than an
17582         error.  Respect elint-ignored-warnings.
17583         (elint-check-defvar-form): Accept null doc-strings.
17584         (elint-check-conditional-form): New handler.  Does some simple-minded
17585         checking of featurep and (f)boundp tests.
17586         (elint-put-function-args): New function.
17587         (elint-initialize): Use elint-scan-doc-file rather than
17588         elint-find-builtin-variables.  Use elint-put-function-args.
17589         Possibly scan preloaded-file-list.
17590         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
17591         extend to handle functions as well.
17593 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
17595         * linum.el (linum-delete-overlays, linum-update-window):
17596         Do not modify the right margin.  (Bug#3971)
17598 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
17600         * files.el (conf-mode-maybe, magic-fallback-mode-alist):
17601         Use nxml-mode instead of xml-mode.
17603 2009-09-21  Kevin Ryde  <user42@zip.com.au>
17605         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
17607 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17609         * net/dig.el (dig-mode): Use define-derived-mode.
17611 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
17613         * vc-dispatcher.el (vc-do-command): Return the process object in
17614         the asynchronous case.  Use when instead of if.  Do not run
17615         vc-exec-after to display a message if not enabled.  (Bug#4463)
17617         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
17618         properties to the stash strings.
17619         (vc-git-stash-list): Return a list of strings.
17620         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
17621         (vc-git-stash-show-at-point): New functions.
17622         (vc-git-stash-map): New keymap.
17624         * register.el (ctl-x-r-map): Define the keys here instead of
17625         using autoload.
17627 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
17629         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
17630         list, to workaround performance problem (bug#4485).
17632 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
17634         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
17636 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
17638         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
17639         Document that this option is not recommended to use.
17641 2009-09-19  Glenn Morris  <rgm@gnu.org>
17643         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
17644         variable `var'.
17646         * calc/calc-alg.el (var):
17647         * calc/calcalg2.el (var): Define for compiler.
17649 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
17651         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
17652         Doc fix (Bug#3932).
17654         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
17656         * time-stamp.el (time-stamp-month-dd-yyyy)
17657         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
17658         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
17659         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
17660         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
17661         Remove functions that have been obsolete since 1995 (Bug#4436).
17663         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
17664         indent buffer only if called interactively (Bug#4452).
17666 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
17667             Eli Zaretskii  <eliz@gnu.org>
17669         This fixes bug#4197 (merged to bug#865, though not identical).
17670         * server.el (server-auth-dir): Add docstring note about FAT32.
17671         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
17672         but warn against using them.
17674 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
17676         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
17677         older GDB where there is no has_more field.
17679 2009-09-19  Glenn Morris  <rgm@gnu.org>
17681         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
17683 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
17685         * files.el (auto-mode-alist): Change default for XML files to nXML
17686         mode (Bug#4169).
17688 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
17690         * server.el (server-ensure-safe-dir): Pass 'integer
17691         to `file-attributes', as suggested.
17693 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17695         * dired-aux.el (dired-query-alist): Remove spurious backslash.
17696         (dired-query): Use read-key.
17698 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
17700         * cus-start.el (ns-use-qd-smoothing): Remove.
17702 2009-09-18  Glenn Morris  <rgm@gnu.org>
17704         * allout.el (top-level): Remove unnecessary progn.
17706         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
17708         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
17709         definition of abbrev table.
17711         * speedbar.el (speedbar-track-mouse):
17712         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
17713         * net/eudc.el (eudc-expand-inline):
17714         * net/newst-backend.el (newsticker--cache-read-feed):
17715         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
17716         condition-case handlers.
17718 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
17720         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
17721         (gdb-var-list): Add an element for has_more field.
17722         (gdb-non-stop-handler): Enable pretty printing for STL containers.
17723         (gdb-var-create-handler, gdb-var-list-children-handler-1)
17724         (gdb-var-update-handler-1): Parse output of dynamic variable
17725         objects (STL containers).
17726         (gdb-var-delete-1): Pass var1 as an explicit second argument.
17727         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
17729         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
17730         gdb-var-list.
17731         (gud-speedbar-buttons): Make node expandable if expression "has more"
17732         children.
17734 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
17736         * startup.el (emacs-quick-startup): Remove variable and all uses.
17737         (command-line): Set `inhibit-x-resources' instead.
17738         (command-line-1): Use `inhibit-x-resources' instead.
17740 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
17742         * subr.el: Fix last change to avoid using the `unless' macro,
17743         which breaks bootstrapping.
17745 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17747         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
17748         extended definitions, in case we reload subr.el after having
17749         loaded CL.
17750         (eval-next-after-load): Mark as obsolete.
17752 2009-09-17  Juri Linkov  <juri@jurta.org>
17754         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
17755         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
17756         (menu-bar-showhide-menu, menu-bar-tools-menu)
17757         (menu-bar-describe-menu, menu-bar-help-menu)
17758         (minibuffer-local-completion-map, minibuffer-local-map):
17759         Fix list quoting.
17761 2009-09-17  Glenn Morris  <rgm@gnu.org>
17763         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
17764         arguments, whether or not it has a handler.
17766         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
17768         * simple.el (hard-newline): Give it a doc-string.
17770         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17771         (lisp-mode-syntax-table): Give them doc-strings.
17773 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
17775         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
17776         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
17777         (menu-bar-options-menu, menu-bar-showhide-menu)
17778         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
17779         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
17780         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
17781         (menu-bar-options-menu, menu-bar-tools-menu)
17782         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
17783         (menu-bar-help-menu):
17784         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
17785         string arguments.
17787         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
17788         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
17789         calls for the menu names and :help.
17791 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17793         * mouse.el (minor-mode-menu-from-indicator): Pay attention
17794         to :minor-mode-function (bug#4455).
17796 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17798         * startup.el (command-line): Initialize the window-system after
17799         processing the command-line.
17801         * textmodes/page.el (what-page): Make sure we don't inf-loop if
17802         page-delimiter matches the empty string.
17804 2009-09-16  Glenn Morris  <rgm@gnu.org>
17806         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
17807         byte-compile-not-obsolete-var.  It's a list now.
17808         (byte-compile-not-obsolete-funcs): New variable.
17809         (byte-compile-warn-obsolete): Don't warn about functions if they are in
17810         byte-compile-not-obsolete-funcs.
17811         (byte-compile-variable-ref, byte-compile-defvar): Update for
17812         byte-compile-not-obsolete-vars name-change and list nature.
17813         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
17814         and variables behind (f)boundp tests.
17815         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
17817 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
17819         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
17821 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17823         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
17824         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
17825         Don't autoload.
17827 2009-09-15  Stephen Eglen  <stephen@gnu.org>
17829         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
17830         the virtual-buffers, use the name of the buffer specified by
17831         find-file-noselect, as the match may be a symlink.  (This was a
17832         problem if the target and the symlink had different names.)
17834 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17836         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
17838         * desktop.el (desktop-path): Check user-emacs-directory.
17840         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
17842         * loadup.el: Use after-load-functions to GC after loading each file.
17843         Remove the explicit GC calls that used to be sprinkled around.
17845         * subr.el (after-load-functions): New hook.
17846         (do-after-load-evaluation): Run it.  Use string-match-p to detect
17847         `obsolete' packages, rather than painfully extracting the relevant
17848         directory name.
17850 2009-09-15  Glenn Morris  <rgm@gnu.org>
17852         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
17853         free variable `doc'.
17855         * dired.el (dired-mode-map): Add menu entry for async shell command.
17857         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
17858         variables, also consider the .elc files, since the .el files are
17859         normally gzipped (subsequent code locates the .el.gz from the .elc).
17861         * calc/calc-prog.el (arglist): Define for compiler.
17863         * calendar/diary-lib.el (diary-display-function): Change the default to
17864         fancy display.
17865         (body): Define for compiler.
17867         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
17868         (byte-compile-file-form, byte-compile-lambda)
17869         (byte-compile-top-level-body, byte-compile-form)
17870         (byte-compile-variable-ref, byte-compile-setq)
17871         (byte-compile-setq-default, byte-compile-body)
17872         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
17873         (batch-byte-compile): Give some more local variables with common names
17874         a "bytecomp-" prefix to avoid masking warnings about free variables.
17876         * startup.el (command-line-1): Give local variables with common names a
17877         distinguishing prefix, so as not to hide free variable warnings during
17878         bootstrap.
17880         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
17881         clever and add a suffix to make a unique name, just let the user decide
17882         whether or not to overwrite it.  If the input is a directory, write the
17883         default filename to that directory.  (Bug#4388)
17884         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
17885         is a filename-as-a-directory.
17887 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17889         * textmodes/page.el (what-page): Don't move to beginning of line.
17890         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
17892 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
17894         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
17896 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
17898         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
17899         * help.el (help-for-help-internal): Add purecopy calls for text.
17901         * vc.el (top): print-log method now takes an optional SHORTLOG
17902         argument.  Add a new method: root.
17903         (vc-root-diff, vc-print-root-log): New functions.
17904         (vc-log-short-style): New variable.
17905         (vc-print-log-internal): Add support for showing short logs.
17907         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
17908         vc-print-root-log and vc-print-root-diff.
17910         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
17911         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
17912         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
17913         short logs.
17915         * vc-cvs.el (vc-cvs-print-log):
17916         * vc-mtn.el (vc-mtn-print-log):
17917         * vc-rcs.el (vc-rcs-print-log):
17918         * vc-sccs.el (vc-sccs-print-log):
17919         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
17920         that is ignored for now.
17922         * vc-mtn.el (vc-mtn-annotate-command):
17923         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
17925 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17927         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
17928         to function-key-map, and give them ascii-character property.
17929         * term/x-win.el (x-alternatives-map):
17930         * term/ns-win.el (ns-alternatives-map):
17931         * term/internal.el (msdos-key-remapping-map):
17932         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
17934 2009-09-14  Glenn Morris  <rgm@gnu.org>
17936         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
17937         temp-buffers (2009-09-12).
17939 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
17941         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
17942         the new read-key function.
17944 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
17946         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
17947         is defined (Bug#4405).
17949 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
17951         * recentf.el (recentf-cleanup): Use a hash table to find
17952         duplicates (Bug#4407).
17954 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
17956         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
17957         kp-0 to ascii equivalents (Bug#4325).
17959 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
17961         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
17963         * eshell/em-hist.el:
17964         * eshell/em-dirs.el (eshell-complete-user-reference):
17965         Declare pcomplete functions and variables to avoid compiler warnings.
17967 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
17969         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
17970         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
17971         * eshell/em-alias.el (eshell-aliases-file):
17972         * eshell/em-hist.el (eshell-history-file-name):
17973         Use expand-file-name instead of concat to make file names (Bug#4308).
17975 2009-09-13  Glenn Morris  <rgm@gnu.org>
17977         * ediff-merg.el (ediff-do-merge):
17978         * filesets.el (filesets-run-cmd):
17979         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
17980         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
17981         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
17982         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
17983         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
17984         Replace empty `let's with `progn'.
17986 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
17988         * mail/sendmail.el (send-mail-function):
17989         * tooltip.el (tooltip-mode):
17990         * simple.el (transient-mark-mode):
17991         * rfn-eshadow.el (file-name-shadow-mode):
17992         * frame.el (blink-cursor-mode):
17993         * font-core.el (global-font-lock-mode):
17994         * files.el (temporary-file-directory)
17995         (small-temporary-file-directory, auto-save-file-name-transforms):
17996         * epa-hook.el (auto-encryption-mode):
17997         * composite.el (global-auto-composition-mode):
17998         Use custom-initialize-delay.
17999         * startup.el (command-line): Don't explicitly call
18000         custom-reevaluate-setting for all the above vars.
18001         * custom.el (custom-initialize-safe-set)
18002         (custom-initialize-safe-default): Delete.
18004 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18006         * term/x-win.el (x-initialize-window-system):
18007         * term/w32-win.el (w32-initialize-window-system):
18008         * term/ns-win.el (ns-initialize-window-system): Don't call
18009         mouse-wheel-mode since it's enabled globally by default already.
18011         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
18012         actually define the variable, but only silences the byte-compiler.
18013         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
18014         before looking it up.
18015         (mouse-wheel-scroll-amount): Also reset the bindings if this value
18016         is changed.
18018 2009-09-12  Glenn Morris  <rgm@gnu.org>
18020         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
18021         1000.
18022         (elint-add-required-env): Don't beep on error.
18023         (elint-forms): In case of error, return ENV unchanged.
18024         (elint-init-env): Skip non-list forms.
18025         (elint-log): Handle unknown file positions.
18027 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
18029         * epg.el (epg-make-context): Add autoload cookie.
18030         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
18031         (epg-decrypt-string, epg-start-verify, epg-verify-file)
18032         (epg-verify-string, epg-start-sign, epg-sign-file)
18033         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
18034         (epg-encrypt-string, epg-start-export-keys)
18035         (epg-export-keys-to-file, epg-export-keys-to-string)
18036         (epg-start-import-keys, epg-import-keys-from-file)
18037         (epg-import-keys-from-string, epg-start-receive-keys)
18038         (epg-receive-keys, epg-import-keys-from-server)
18039         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
18040         (epg-sign-keys, epg-start-generate-key)
18041         (epg-generate-key-from-file, epg-generate-key-from-string):
18042         Remove autoload cookie.
18044 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
18046         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
18047         reevaluation of trash-directory.
18049         * mwheel.el: Fix last change.
18050         (mouse-wheel-mode): New defvar.
18051         (mouse-wheel-mode): Remove autoload cookie.
18053 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18055         * mwheel.el (mwheel-installed-bindings): New var.
18056         (mouse-wheel-mode): Use it, so as to make sure we really remove all
18057         the bindings we set last time.  Use custom-initialize-delay.
18058         * loadup.el: Load mwheel after term/*-win.el.
18059         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
18060         and mouse-wheel-up-event now that their first evaluation is done
18061         sufficiently late to be correct.
18063         * startup.el (tutorial-directory): Make it a defcustom.
18064         Use custom-initialize-delay rather than eval-at-startup to set it.
18065         * image.el (image-load-path): Make it a defcustom.
18066         Use custom-initialize-delay rather than eval-at-startup to set it.
18067         * subr.el (eval-at-startup): Remove.
18068         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
18070         * subr.el (do-after-load-evaluation): Warn the user after loading an
18071         obsolete package.
18073 2009-09-12  Glenn Morris  <rgm@gnu.org>
18075         * proced.el (proced-mark-alt): Remove alias.
18076         (proced-mode-map): Remove proced-mark-alt.
18078         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
18079         Elint file and directory.  Remove initialization entry.
18081         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
18082         commands.
18083         (elint-current-buffer): Set mode-line-process.
18084         (elint-init-env): Handle define-derived-mode.
18085         Fix declare-function with unspecified arglist.  Guard against odd
18086         defalias statements (eg iso-insert's 8859-1-map).
18087         (elint-add-required-env): Use a temp buffer.
18088         (elint-form): Just print the function/macro name, not the whole form.
18089         Return env unchanged if we fail to parse a macro.
18090         (elint-forms): Guard against parse errors.
18091         (elint-output): New function, to handle batch mode.
18092         (elint-log-message): Add optional argument.  Use elint-output.
18093         (elint-set-mode-line): New function.
18095 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
18097         * emacs-lisp/elp.el (elp-not-profilable): Add more
18098         functions (Bug#4233).
18100 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
18102         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
18103         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
18105 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
18107         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
18108         (gdb-var-list-children): Use json parsing.
18110 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
18112         * progmodes/js.el (js--proper-indentation): Handle the case where
18113         char-before is null.  Reported by Deniz Dogan.
18115 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
18117         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
18119 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
18121         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
18122         (epg-digest-algorithm-alist): Add SHA224.
18123         (epg-context-set-passphrase-callback)
18124         (epg-context-set-progress-callback): Add description about
18125         callback function.
18127 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
18129         * custom.el (custom-delayed-init-variables): New var.
18130         (custom-initialize-delay): New function.
18131         * startup.el (command-line): "Re"evaluate all vars in
18132         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
18133         explicitly any more.
18134         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
18135         to avoid creating a ~/.emacs.d at build-time (bug#4347).
18137         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
18139 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
18141         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
18142         (gdb-var-update-handler): Use json parsing.
18144 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
18146         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
18147         decode annotated text, regardless of language environment.  (Bug#2741)
18149 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
18151         * Makefile.in (autoloads): Make rmail.el writable as well.
18153 2009-09-11  Glenn Morris  <rgm@gnu.org>
18155         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
18156         loaddefs.el.
18157         * dired.el: Regenerate with extracted autoloads.
18158         * Makefile.in (autoloads): Make dired.el writable.
18160         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
18161         * ibuffer.el: Regenerate with extracted autoloads.
18162         * Makefile.in (autoloads): Make ibuffer.el writable.
18164         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
18165         * version.el (emacs-copyright, emacs-major-version)
18166         (emacs-minor-version): Reformat doc-strings for make-docfile.
18168         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
18169         functions and variables, since they must be stuff specific to some other
18170         platform.
18171         (apropos-print): Make mouse-click message less specific about button.
18173         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
18174         that records where a macro was defined.
18175         * help-fns.el (describe-function-1): Mention if a function has a
18176         compiler-macro.
18177         * help-mode.el (help-function-cmacro): New button.
18179         * locate.el (top-level): Always require dired.
18180         (locate-mode-map): Initialize inside the defvar.
18182         * net/ange-ftp.el (dired-compress-file): Declare.
18183         (ange-ftp-dired-compress-file): Add doc string.
18185         * term/ns-win.el (x-display-name, x-setup-function-keys):
18186         Unify doc-strings with X versions.
18188 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
18190         * emulation/crisp.el (crisp-mode-map): Move initialization
18191         into declaration.
18192         (crisp-mode): Use define-minor-mode.
18194         * progmodes/xscheme.el (xscheme-evaluation-commands):
18195         Put a :advertised-binding property rather than using
18196         advertised-xscheme-send-previous-expression.
18197         (advertised-xscheme-send-previous-expression): Declare obsolete.
18198         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
18199         `advertised-undo'.
18200         (crisp-mode): Add corresponding bindings to
18201         undo's :advertised-binding instead.
18202         * dired.el (dired-mode-map): Put a :advertised-binding property rather
18203         than using dired-advertised-find-file.
18204         (dired-advertised-find-file):
18205         * simple.el (advertised-undo):
18206         * wid-edit.el (advertised-widget-backward): Declare obsolete.
18207         (widget-keymap): Put a :advertised-binding property rather
18208         than using advertised-widget-backward.
18209         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
18210         than using advertised-undo.
18211         * tutorial.el (tutorial--default-keys): Adjust accordingly.
18213 2009-09-10  Simon South  <ssouth@slowcomputing.org>
18215         * progmodes/delphi.el (delphi-tab): Indent region when Transient
18216         Mark mode is enabled and region is active; otherwise indent or
18217         insert TAB as usual.
18218         (delphi-mode): Update description of TAB-key binding.
18220 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
18222         * subr.el (define-key-rebound-commands): Mark obsolete.
18223         * startup.el (precompute-menubar-bindings): Remove.
18224         (normal-top-level): Remove obsolete code that tried to precompute
18225         menubar bindings.
18226         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
18227         define-key-rebound-commands and precompute-menubar-bindings.
18229 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
18231         * net/imap.el (imap-interactive-login): Better messages.
18232         (imap-open): Fix bug with renamed buffer on reconnect.
18233         (imap-authenticate): Add buffer-local imap-last-authenticator variable
18234         for easier debugging and cleaner code.  On successful (guessed based on
18235         server capabilities) secondary authentication, set imap-state
18236         correctly.
18237         (imap-last-authenticator): Define imap-last-authenticator as a variable
18238         to avoid warnings.
18240 2009-09-10  Glenn Morris  <rgm@gnu.org>
18242         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
18244         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
18245         (byte-compile-file-form-autoload): Don't warn about unknown functions
18246         where the autoload statement comes after the use.
18247         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
18248         that any handlers inside the body (eg require) are in turn respected.
18250         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
18251         effects.
18253         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
18254         and syntax and abbrev tables basic docs, if they don't have any.
18256         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
18258         * international/mule-cmds.el (top-level): Require cl when compiling.
18259         (view-hello-file): Use default-value rather than
18260         default-enable-multibyte-characters.
18262         * progmodes/fortran.el: Move all safe and risky properties into the
18263         defcustoms.
18265         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
18266         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
18267         * mail/undigest.el:
18268         Put autoloads in rmail.el rather than loaddefs.el.
18269         * mail/rmail.el: Regenerate with extracted autoloads.
18271         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
18272         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
18274 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
18276         Reported in thread for Bug#4375.
18277         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
18278         "-data-evaluate-expression" instead of print.
18279         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
18280         (gdb-tooltip-print): Parse output from above MI command.
18281         (gdb): Revert 2009-08-11 change.  User should detach inferior
18282         manually.
18284         Remove the word "separate" from IO functions as inferior
18285         output is now never displayed in the GUD buffer.
18287 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
18289         * startup.el (command-line-normalize-file-name): On Windows and
18290         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
18292 2009-09-10  Juri Linkov  <juri@jurta.org>
18294         * isearch.el (isearch-text-char-description): Propertize escape
18295         character sequences with the `escape-glyph' face.  (Bug#4344)
18297         * simple.el (shell-command): Set asynchronous process filter to
18298         `comint-output-filter'.  (Bug#4343)
18300         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
18301         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
18302         the list.  Move "asm" to the bottom.
18303         (grep-find-ignored-directories): Add `choice' with nil value
18304         to empty the list easily.
18305         (grep-find-ignored-files): New option.
18306         (grep-files-history): Set to nil by default instead of '("ch" "el").
18307         (grep-compute-defaults): Add "<X>" to `grep-template'.
18308         (grep-read-files): Bind new local variables `default-alias' and
18309         `default-extension'.  Use a list of default values for the file prompt.
18310         (lgrep): Add `--exclude=' command line options composed from
18311         `grep-find-ignored-files'.
18312         (rgrep): Add `-name' command line options composed from
18313         `grep-find-ignored-files'.  (Bug#4301)
18315 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
18317         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
18318         (bug#4368).
18320 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
18322         * calendar/time-date.el (autoload):
18323         Expand define-obsolete-function-alias into defalias and make-obsolete
18324         for old Emacsen that Gnus supports.
18325         (with-no-warnings): Define it for old Emacsen.
18326         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
18327         is available.
18328         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
18329         float-time is available; suppress compile warning for time-to-seconds.
18331 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
18333         * net/imap.el (imap-message-map): Docstring fix.
18335 2009-09-09  Glenn Morris  <rgm@gnu.org>
18337         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
18338         line numbers too.  (Bug#4374)
18340 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
18342         * smerge-mode.el (smerge-remove-props, smerge-refine):
18343         Use with-silent-modifications (bug#4342).
18345         * subr.el (with-silent-modifications): New macro.
18347 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
18349         * files.el (top-level): Require `cl' when compiling.
18351 2009-09-07  Glenn Morris  <rgm@gnu.org>
18353         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
18355         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
18356         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
18358 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
18360         * vc-git.el (vc-git-annotate-command): Use separator to parse
18361         arguments correctly.
18363 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
18365         * proced.el (proced-mode): Doc fix.
18367 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
18369         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
18370         lstat fails.
18371         (tramp-do-file-attributes-with-ls): Check for file existence at
18372         remote end.
18373         (tramp-do-file-attributes-with-stat): Likewise.
18374         (tramp-convert-file-attributes): Return nil when attr is nil.
18376 2009-09-05  Glenn Morris  <rgm@gnu.org>
18378         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
18379         properties to this button.
18380         (diary-fancy-display): Don't extend the button to the final newline.
18381         (diary-fancy-display-mode): Continue to define "q" as a local key.
18383         * calendar/cal-china.el (holiday-chinese): Make it slightly more
18384         efficient.
18386         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
18388         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
18389         (byte-compile-dest-file-function): New option.
18390         (byte-compile-dest-file): Doc fix.
18391         Obey byte-compile-dest-file-function.
18392         (byte-compile-cl-file-p): New function.
18393         (byte-compile-eval): Only suppress noruntime warnings about cl functions
18394         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
18395         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
18396         than for file being previously loaded.
18397         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
18398         (byte-compile-file-form-require): Handle the case where requiring a file
18399         indirectly causes CL to be loaded.
18401 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
18403         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
18404         before killing the old buffer, since by the time `kill-buffer' is
18405         run so many buffer variables have been set to nil that it may not
18406         behave as expected.  (Bug#4061)
18408 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
18410         * files.el (find-alternate-file): If the old buffer is modified
18411         and visiting a file, behave similarly to `kill-buffer' when
18412         killing it, thus reverting to the pre-1.878 behavior; see
18413         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
18414         for discussion.  Also, consult `buffer-file-name' as a variable
18415         not as a function, for consistency with the rest of the code.
18417 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
18419         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
18420         also when adding a new directory.
18422         * net/tramp-compat.el (tramp-compat-line-beginning-position):
18423         New defun.
18425 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
18427         * files.el (locate-file-completion-table): Make it provide boundary
18428         information, so partial-completion works better.
18430 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
18432         * mail/footnote.el (Footnote-text-under-cursor):
18433         Check footnote-text-marker-alist before using it (bug#4324).
18435 2009-09-04  Glenn Morris  <rgm@gnu.org>
18437         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
18438         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
18439         * play/solitaire.el, play/tetris.el:
18440         Remove leading * from defcustom and defface docs.
18442         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
18443         necessary.
18444         (diary-fancy-overriding-map): New variable.
18445         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
18446         Use view-mode.
18448         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
18449         goto-line.
18451 2009-09-03  Glenn Morris  <rgm@gnu.org>
18453         * arc-mode.el (archive-mode):
18454         * dos-fns.el (set-default-process-coding-system):
18455         * man.el (Man-getpage-in-background):
18456         * menu-bar.el (menu-bar-describe-menu):
18457         * server.el (server-process-filter):
18458         * startup.el (command-line):
18459         * tar-mode.el (tar-header-block-tokenize, tar-extract):
18460         * w32-fns.el (set-default-process-coding-system):
18461         * x-dnd.el (x-dnd-handle-file-name):
18462         * international/mule-cmds.el (mule-menu-keymap)
18463         (set-default-coding-systems, language-info-alist, set-language-info)
18464         (set-language-environment, standard-display-european-internal)
18465         (set-locale-environment):
18466         * international/mule-diag.el (mule-diag):
18467         * mail/emacsbug.el (report-emacs-bug):
18468         * mail/rmail.el (rmail-mode):
18469         * mail/sendmail.el (mail-setup):
18470         Use default-value rather than default-enable-multibyte-characters.
18472         * progmodes/f90.el: Move all safe properties into the defcustoms.
18473         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
18475         * calendar/appt.el (appt-check):
18476         * calendar/diary-lib.el (diary-set-header, diary-live-p)
18477         (diary-check-diary-file, diary-list-entries)
18478         (diary-include-other-diary-files, diary-simple-display)
18479         (diary-fancy-display, diary-print-entries)
18480         (diary-mark-included-diary-files, diary-make-entry):
18481         Don't call substitute-in-file-name on diary-file.
18483 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
18484             Stefan Monnier  <monnier@iro.umontreal.ca>
18486         * mail/footnote.el (footnote-prefix): Make it a defcustom.
18487         (footnote-mode-map): Move initialization into the declaration.
18488         (footnote-minor-mode-map): Define it rather than changing global-map.
18489         (footnote-mode): Use define-minor-mode.
18491 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
18493         * net/tramp.el (tramp-handle-file-attributes-with-ls)
18494         (tramp-do-file-attributes-with-perl)
18495         (tramp-do-file-attributes-with-stat): Rename from
18496         `tramp-handle-file-attributes-with-*'.
18497         (tramp-handle-file-attributes): Use them.
18498         (tramp-do-directory-files-and-attributes-with-perl)
18499         (tramp-do-directory-files-and-attributes-with-stat): Rename from
18500         `tramp-handle-directory-files-and-attributes-with-*'.
18501         (tramp-handle-directory-files-and-attributes): Use them.
18502         (tramp-method-out-of-band-p): Additional parameter SIZE.
18503         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
18504         (tramp-handle-write-region): Use it.
18505         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
18506         (tramp-handle-vc-registered): Check, whether the first run did
18507         return files to be tested.
18508         (tramp-advice-make-auto-save-file-name): Do not call directly
18509         `tramp-handle-make-auto-save-file-name', because this would bypass
18510         the locking mechanism.
18512         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
18513         (file-remote-p, process-file, start-file-process, set-file-times)
18514         (tramp-compat-file-attributes): Compatibility functions shall not
18515         call directly `tramp-handle-*', because this would bypass the
18516         locking mechanism.
18517         (tramp-compat-number-sequence): New defun.
18519 2009-09-02  Glenn Morris  <rgm@gnu.org>
18521         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
18522         alias for float-time.
18523         (time-to-number-of-days): In Emacs, use float-time.
18524         * net/newst-backend.el (time-add): Suppress warnings from compat
18525         function.
18526         * time.el (emacs-uptime, emacs-init-time):
18527         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
18528         Use float-time rather than time-to-seconds.
18530         * minibuffer.el (completion-initials-expand): Fix typo.
18532         * faces.el (modeline, modeline-inactive, modeline-highlight)
18533         (modeline-buffer-id):
18534         * info.el (info-menu-5): Mark these face aliases as obsolete.
18536 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
18538         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
18539         space ...
18540         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
18541         no "--thread" option.
18542         (gdb-stopped): Don't print "Switched to thread" message when it is
18543         unchanged.
18545 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18547         * minibuffer.el (completion-try-completion)
18548         (completion-all-completions): Remove ill-defined (and
18549         mistakenly installed and luckily never used nor documented)
18550         `completion-styles' property.
18551         (completion-initials-expand, completion-initials-all-completions)
18552         (completion-initials-try-completion): New functions.
18553         (completion-styles-alist): Add doc to each entry.
18554         Add new `initials' entry.
18556 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
18558         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
18559         MI command -var-evaluate-expression.
18560         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
18561         and tweak for case of string child.
18562         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
18564 2009-09-01  Glenn Morris  <rgm@gnu.org>
18566         * add-log.el (change-log-date-face, change-log-name-face)
18567         (change-log-email-face, change-log-file-face, change-log-list-face)
18568         (change-log-conditionals-face, change-log-function-face)
18569         (change-log-acknowledgement-face):
18570         * cus-edit.el (custom-invalid-face, custom-rogue-face)
18571         (custom-modified-face, custom-set-face, custom-changed-face)
18572         (custom-saved-face, custom-button-face, custom-button-pressed-face)
18573         (custom-documentation-face, custom-state-face, custom-comment-face)
18574         (custom-comment-tag-face, custom-variable-tag-face)
18575         (custom-variable-button-face, custom-face-tag-face)
18576         (custom-group-tag-face-1, custom-group-tag-face):
18577         * diff-mode.el (diff-header-face, diff-file-header-face)
18578         (diff-index-face, diff-hunk-header-face, diff-removed-face)
18579         (diff-added-face, diff-changed-face, diff-function-face)
18580         (diff-context-face, diff-nonexistent-face):
18581         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
18582         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
18583         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
18584         (Info-title-4-face):
18585         * isearch.el (isearch-lazy-highlight-face):
18586         * log-view.el (log-view-file-face, log-view-message-face):
18587         * paren.el (show-paren-match-face, show-paren-mismatch-face):
18588         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
18589         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
18590         (cvs-msg-face):
18591         * smerge-mode.el (smerge-mine-face, smerge-other-face)
18592         (smerge-base-face, smerge-markers-face):
18593         * wid-edit.el (widget-documentation-face, widget-button-face)
18594         (widget-field-face, widget-single-line-field-face)
18595         (widget-inactive-face, widget-button-pressed-face):
18596         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
18597         (woman-addition-face):
18598         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
18599         (eshell-ls-executable-face, eshell-ls-readonly-face)
18600         (eshell-ls-unreadable-face, eshell-ls-special-face)
18601         (eshell-ls-missing-face, eshell-ls-archive-face)
18602         (eshell-ls-backup-face, eshell-ls-product-face)
18603         (eshell-ls-clutter-face):
18604         * eshell/em-prompt.el (eshell-prompt-face):
18605         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
18606         * obsolete/old-whitespace.el (whitespace-highlight-face):
18607         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
18608         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
18609         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
18610         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
18611         (antlr-font-lock-literal-face):
18612         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
18613         (ebrowse-root-class-face, ebrowse-file-name-face)
18614         (ebrowse-default-face, ebrowse-member-attribute-face)
18615         (ebrowse-member-class-face, ebrowse-progress-face):
18616         * progmodes/make-mode.el (makefile-space-face):
18617         * progmodes/sh-script.el (sh-heredoc-face):
18618         * textmodes/flyspell.el (flyspell-incorrect-face)
18619         (flyspell-duplicate-face):
18620         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
18621         * textmodes/texinfo.el (texinfo-heading-face):
18622         Mark face aliases with "-face" suffix as obsolete.
18624         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
18625         compiler.
18627         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
18628         (eudc-bob-sound-menu): Use defvar rather than defconst, since
18629         easy-menu-define wants to modify these.
18631         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
18633         * net/browse-url.el (browse-url-file-url):
18634         * term/internal.el (dos-codepage-setup):
18635         Use default-value rather than default-enable-multibyte-characters.
18637         * progmodes/etags.el (etags-goto-tag-location):
18638         * progmodes/flymake.el (flymake-highlight-line)
18639         (flymake-goto-file-and-line, flymake-goto-line):
18640         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
18641         (gdb-goto-breakpoint):
18642         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
18643         * progmodes/python.el (python-find-function)
18644         (python-pdbtrack-track-stack-file):
18645         * progmodes/verilog-mode.el (verilog-surelint-off):
18646         * term/ns-win.el (ns-open-file-select-line):
18647         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
18648         Use forward-line rather than goto-line.
18650         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
18651         * textmodes/reftex-index.el (reftex-display-index):
18652         * textmodes/reftex-ref.el (reftex-offer-label-menu):
18653         * textmodes/reftex-toc.el (reftex-toc):
18654         Remove unnecessary bindings of default-major-mode (all are followed by
18655         major-mode check and possible mode switch).
18657 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
18659         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
18660         Handle watchpoints (bug#4282).
18661         (def-gdb-thread-buffer-command): Enable thread to be selected by
18662         clicking without selecting threads buffer first.
18663         (gdb-current-context-command): Use selected frame so that "up",
18664         "down" etc work in the GUD buffer.
18665         (gdb-update): Find selected frame before rendering stack buffer.
18666         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
18668 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
18670         * progmodes/sym-comp.el (displayed-completions): Remove.
18671         (symbol-complete): Use minibuffer-complete.
18673 2009-08-31  Glenn Morris  <rgm@gnu.org>
18675         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
18677         * apropos.el (apropos-symbols-internal):
18678         Handle (obsolete) face aliases.
18680         * faces.el (describe-face): Adjust the output format to be more like
18681         describe-variable, and to mention (obsolete) face aliases.
18682         Adjust the whitespace so that help-setup-xref works.
18684         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
18685         * calendar/diary-lib.el (diary-button-face):
18686         Mark these face aliases as obsolete.
18688         * calendar/calendar.el (calendar-today): Doc fix.
18690 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
18692         * progmodes/gdb-mi.el (gdb-control-all-threads)
18693         (gdb-control-current-thread): Force tool bar update.
18694         (gdb-non-stop-handler): New function.
18695         (gdb-init-1): Use it to test if non-stop mode is supported.
18696         Remove unused gdbmi buffer type.
18698 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
18700         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
18701         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
18703 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
18705         * comint.el (comint-exec-1): Check command is non-null first.
18706         Part of gdb-mi.el change (2009-08-28).
18708 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
18710         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
18712 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
18714         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
18715         instead of `dolist' to avoid a recursive require when bootstrapping.
18717 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
18719         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
18721         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
18723         * net/imap.el (imap-send-command): Simplify.
18724         (imap-wait-for-tag): point-max -> buffer-size.
18726         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
18728         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
18729         with constant argument.
18731         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
18733         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
18735         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
18736         Change default, since most of our files don't have a history.
18737         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
18738         the user.
18740         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18741         Add comint-run.
18743         * calc/calc.el: Improve commenting convention.
18744         (calc-digit-map, toplevel): Simplify.
18746         * comint.el (comint-insert-input): Be careful to only set point if we
18747         don't delegate to some other command.
18749         * proced.el (proced-signal-list): Make it an alist.
18750         (proced-grammar-alist): Capitalize names.
18751         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
18752         Disable undo manually and make it read-only.
18753         Use completion-annotate-function.
18755         * minibuffer.el (minibuffer-message): If the current buffer is not
18756         a minibuffer, insert the message in the echo area rather than at the
18757         end of the buffer.
18758         (completion-annotate-function): New variable.
18759         (minibuffer-completion-help): Use it.
18760         (completion--embedded-envvar-table): Environment vars are
18761         always case-sensitive.
18763 2009-08-30  Glenn Morris  <rgm@gnu.org>
18765         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
18766         from fortran-current-defun.
18767         (fortran-beginning-of-subprogram): Be more precise about finding the
18768         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
18769         (fortran-end-of-subprogram): Simplify.
18770         (fortran-current-defun): Use fortran-start-prog-re.
18772 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
18774         * subr.el (do-after-load-evaluation): Simplify.
18776 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
18778         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
18780         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
18781         (vc-rcs-print-log): Use it.
18783         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
18785 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18787         * paths.el (abbrev-file-name): Move to abbrev.el.
18788         * abbrev.el (abbrev-file-name): Move from paths.el.
18789         Obey user-emacs-directory.
18790         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
18791         user-emacs-directory.
18792         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
18793         abbrev-file-name and calc-settings-file any more.
18794         * startup.el (command-line): Recompute abbrev-file-name and
18795         abbreviated-home-dir.
18796         (normal-no-mouse-startup-screen): Improve the generic code and get rid
18797         of the special code for when C-h bindings haven't been changed.
18798         (display-startup-echo-area-message): Use with-current-buffer.
18799         (command-line-1): Use a list of strings, rather than a list of lists
18800         of strings for longopts.
18802         * files.el (get-free-disk-space): Use / for default-directory.
18804         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
18805         Use with-current-buffer.
18807         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
18808         Recognize immutable variables like most-positive-fixnum.
18809         (byte-compile-setq-default): Check and warn if trying to assign
18810         to an immutable variable, or a non-variable.
18812         * progmodes/cc-vars.el (c-comment-continuation-stars):
18813         * progmodes/cc-engine.el (c-looking-at-bos):
18814         * progmodes/cc-cmds.el (c-toggle-auto-state)
18815         (c-forward-into-nomenclature, c-backward-into-nomenclature)
18816         (c-comment-line-break-function): Add version of obsolescence.
18818 2009-08-28  Juri Linkov  <juri@jurta.org>
18820         * files.el (magic-fallback-mode-alist): Add ZIP magic number
18821         associated with `archive-mode'.
18823         * image.el (image-type-header-regexps): Use only JPEG magic number
18824         to determine JPEG images, and don't use `image-jpeg-p' because
18825         Emacs can display non-JFIF non-Exif JPEG images.
18827 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
18829         * arc-mode.el (archive-mode):
18830         * emacs-lisp/re-builder.el (re-builder-unload-function):
18831         Protect against the default value of `major-mode' being nil.
18833 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
18835         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
18836         Fix typos in docstrings.
18838         * progmodes/js.el (js--macro-decl-re): Doc fix.
18839         (js--plain-method-re, js--split-name): Refloc docstring.
18840         (js--class-styles, js--make-merged-item, js--splice-into-items):
18841         Fix typos in docstrings; reflow docstrings.
18842         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
18843         (js--variable-decl-matcher, js--inside-pitem-p)
18844         (js--parse-state-at-point, js--get-all-known-symbols)
18845         (js--symbol-history, js-find-symbol, js--js-references)
18846         (js--moz-interactor, js--js-encode-value, js--read-tab):
18847         Fix typos in docstrings.
18849 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18851         * textmodes/reftex.el (reftex-get-file-buffer-force):
18852         * progmodes/verilog-mode.el (verilog-batch-execute-func):
18853         * emulation/viper.el (viper-go-away, viper-set-hooks):
18854         * emacs-lisp/re-builder.el (re-builder-unload-function):
18855         * emacs-lisp/bytecomp.el (byte-compile-file):
18856         * ses.el (ses-unload-function):
18857         * hexl.el (hexl-find-file):
18858         * files.el (normal-mode):
18859         * ehelp.el (with-electric-help):
18860         * autoinsert.el (auto-insert-alist):
18861         * arc-mode.el (archive-mode):
18862         Use (default-value 'major-mode) instead of default-major-mode.
18864         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
18865         * international/mule.el (load-with-code-conversion):
18866         * emacs-lisp/debug.el (debug):
18867         * ediff-vers.el (ediff-rcs-get-output-buffer):
18868         * dired.el (dired-internal-noselect): Don't let-bind
18869         default-major-mode around code that doesn't use it.
18870         E.g. buffer creation via get-buffer-create doesn't use it.
18872 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
18874         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
18875         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
18876         when writing the temp file.  Otherwise, epa-file gets confused.
18877         (tramp-register-file-name-handlers): Make it a defun.  Move also
18878         `epa-file-handler' to the front of `file-name-handler-alist'.
18880 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18882         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
18883         start right after a ^M.
18884         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
18885         (tramp-completion-file-name-regexp-separate)
18886         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
18887         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
18888         Don't modify last-coding-system-used by accident.
18889         (tramp-completion-file-name-handler): Apply the checks here,
18890         instead during registration.
18891         (tramp-register-file-name-handlers): Rename from
18892         `tramp-register-file-name-handler'.  Register both
18893         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
18894         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
18896 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
18898         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
18899         Remove variable ...
18900         (gdb-init-1, gdb-display-separate-io-buffer)
18901         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
18902         references to it.
18903         (gdb-inferior-io-mode): Use make-comint-in-buffer.
18904         (gdb-inferior-filter): Use comint-output-filter to stop
18905         echoing and remove ^M characters.
18907 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18909         * emulation/viper-init.el (viper-restore-cursor-type):
18910         * emulation/cua-base.el (cua--update-indications):
18911         Replace default-cursor-type with (default-value 'cursor-type).
18913         * mail/sendmail.el (mail-recover-1):
18914         * international/mule-diag.el (describe-current-coding-system-briefly)
18915         (describe-current-coding-system):
18916         * international/mule-cmds.el (select-safe-coding-system)
18917         (select-message-coding-system)
18918         (set-language-environment-coding-systems, set-locale-environment):
18919         * hexl.el (hexl-insert-multibyte-char):
18920         * dos-w32.el (find-buffer-file-type-coding-system):
18921         * simple.el (what-cursor-position):
18922         Replace uses of default-buffer-file-coding-system
18923         with (default-value 'buffer-file-coding-system).
18925         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
18926         Replace uses of default-cursor-in-non-selected-windows
18927         with (default-value 'cursor-in-non-selected-windows).
18928         Use with-current-buffer.
18930         * mail/feedmail.el: Use CL macros.
18931         (feedmail-run-the-queue, feedmail-send-it-immediately):
18932         * dos-w32.el (find-buffer-file-type): Replace uses of
18933         default-buffer-file-type with (default-value 'buffer-file-type).
18935 2009-08-28  Glenn Morris  <rgm@gnu.org>
18937         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
18938         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
18939         Use default-value of major-mode rather than default-major-mode.
18941 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18943         * Makefile.in (update-elcfiles): Report left over elc files.
18945         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
18946         expand-file-name and with-current-buffer.
18947         (mail-get-names, mail-directory): Use with-current-buffer.
18949         * vc.el (vc-read-revision): New function.
18950         (vc-version-diff, vc-merge): Use it.
18952 2009-08-27  Sam Steingold  <sds@gnu.org>
18954         * simple.el (kill-do-not-save-duplicates): New user option.
18955         (kill-new): When it is non-nil, and the new string is the same as
18956         the latest kill, set replace to t to avoid duplicates in kill-ring.
18958 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
18960         * net/tramp.el (tramp-handle-process-file): Do not flush all
18961         caches when `process-file-side-effects' is set.
18962         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
18963         instead of `tramp-find-file-exists-command'.
18964         Unset `process-file-side-effects'.
18966 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
18968         * net/tramp.el (tramp-methods): New method "rsyncc".
18969         (top): Add completion function for "rsyncc".
18970         (tramp-message-show-message): New defvar.
18971         (tramp-message, tramp-error): Use it.
18972         (tramp-do-copy-or-rename-file-directly): Extend check for direct
18973         remote copying.
18974         (tramp-do-copy-or-rename-file-out-of-band): Handle new
18975         `tramp-methods' entry `copy-env' of "rsyncc".
18976         (tramp-vc-registered-read-file-names): New defconst.
18977         (tramp-vc-registered-file-names): New defvar.
18978         (tramp-handle-vc-registered): Implement optimization strategy.
18979         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
18980         (tramp-vc-file-name-handler): New defun.
18981         (tramp-get-ls-command, tramp-get-test-command)
18982         (tramp-get-file-exists-command, tramp-get-remote-ln)
18983         (tramp-get-remote-perl, tramp-get-remote-stat)
18984         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
18986         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
18987         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
18988         timestamps.
18989         (tramp-get-file-property): Check for timestamps in
18990         `tramp-cache-inhibit-cache'.
18991         (tramp-set-file-property): Write timestamp.
18993 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
18995         * language/japan-util.el (japanese-symbol-table): Add entries for
18996         cp932-2-byte.
18998         * international/characters.el: Add category `j' to cp932-2-byte.
19000 2009-08-27  Kenichi Handa  <handa@m17n.org>
19002         * international/fontset.el (build-default-fontset-data): New macro.
19003         (setup-default-fontset): Use build-default-fontset-data for CJK,
19004         tibetan, ethiopic, and ipa.
19006 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
19008         * cus-start.el (default-major-mode): Customize `major-mode' instead.
19009         (enable-multibyte-characters): Not customizable any more.
19011         * subr.el (default-mode-line-format, default-header-line-format)
19012         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
19013         (default-direction-reversed, default-truncate-lines)
19014         (default-left-margin, default-tab-width, default-case-fold-search)
19015         (default-left-margin-width, default-right-margin-width)
19016         (default-left-fringe-width, default-right-fringe-width)
19017         (default-fringes-outside-margins, default-scroll-bar-width)
19018         (default-vertical-scroll-bar, default-indicate-empty-lines)
19019         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
19020         (default-fringe-cursor-alist, default-scroll-up-aggressively)
19021         (default-scroll-down-aggressively, default-fill-column)
19022         (default-cursor-type, default-buffer-file-type)
19023         (default-cursor-in-non-selected-windows)
19024         (default-buffer-file-coding-system, default-major-mode)
19025         (default-enable-multibyte-characters): Mark as obsolete.
19027 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
19029         * vc-dir.el (vc-dir-update): Remove debug helper.
19031         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
19033 2009-08-26  Sam Steingold  <sds@gnu.org>
19035         * simple.el (save-interprogram-paste-before-kill): New user option.
19036         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
19037         save the interprogram-paste into kill-ring before overriding it
19038         with the Emacs kill.
19040 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
19042         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
19043         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
19044         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
19045         and move to vc-rcs.el.
19046         (vc-default-next-revision): Rename to vc-rcs-next-revision and
19047         move to vc-rcs.el.
19048         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
19049         (vc-rcs-update-changelog): Remove.
19050         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
19051         and move to vc-rcs.el.
19053         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
19054         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
19055         renaming.
19056         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
19057         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
19058         vc.el, renamed to be RCS specific.
19060         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
19061         New functions.
19062         (vc-cvs-update-changelog): Move here from vc.el.
19064         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
19065         New functions.
19067 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
19069         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
19071 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
19073         * vc-git.el (vc-git-register): Use "git add" for directories.
19074         (vc-git-stash, vc-git-stash-show): New functions.
19075         (vc-git-extra-menu-map): Bind them.
19077         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
19078         directory correctly in case the item is a directory itself.
19080         * vc.el: Document the desired behavior for reverted files in the
19081         `added' state.
19082         (vc-default-prettify-state-info): Remove function, unused.
19084         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
19086 2009-08-26  Glenn Morris  <rgm@gnu.org>
19088         * bindings.el (standard-mode-line-format): Reposition dashes in
19089         which-func entry.  (Bug#4217)
19091         * files.el (enable-local-variables, enable-local-eval)
19092         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
19093         the defcustoms.
19094         (auto-mode-alist, ignored-local-variables)
19095         (save-some-buffers-action-alist): Move risky declarations to the
19096         definitions.
19097         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
19098         (font-lock-defaults, format-alist, imenu--index-alist)
19099         (imenu-generic-expression, input-method-alist, minor-mode-alist)
19100         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
19101         (mode-line-modified, mode-line-mule-info, mode-line-position)
19102         (mode-line-process, mode-line-remote, outline-level)
19103         (parse-time-rules, rmail-output-file-alist)
19104         (special-display-buffer-names, vc-mode):
19105         Move risky declarations to the relevant files.
19106         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
19107         (mode-line-modified, mode-line-process, mode-line-position)
19108         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
19109         * font-core.el (font-lock-defaults):
19110         * format.el (format-alist):
19111         * vc-hooks.el (vc-mode):
19112         * window.el (special-display-buffer-names):
19113         * international/mule-cmds.el (input-method-alist):
19114         Define riskiness here (dumped file) rather than in files.el.
19115         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
19116         * imenu.el (imenu-generic-expression, imenu--index-alist):
19117         * outline.el (outline-level):
19118         * time.el (display-time-string):
19119         * calendar/parse-time.el (parse-time-rules):
19120         * mail/rmailout.el (rmail-output-file-alist):
19121         Autoload riskiness here, rather than placing in files.el.
19123 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
19125         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
19127 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
19129         * simple.el (process-file-side-effects): New defvar.
19131         * dired-aux.el (dired-show-file-type):
19132         * vc.el (vc-diff-internal):
19133         * vc-arch.el (vc-arch-diff):
19134         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
19135         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
19136         * vc-git.el (vc-git-registered, vc-git-working-revision)
19137         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
19138         (vc-git--empty-db-p):
19139         * vc-hooks.el (vc-user-login-name):
19140         * vc-svn.el (vc-svn-registered, vc-svn-state)
19141         (vc-svn-dir-extra-headers, vc-svn-find-revision):
19142         * progmodes/grep.el (grep-probe): Let-bind
19143         `process-file-side-effects' with nil.
19145         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
19147         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
19148         daemon.  Replace ping by checking for running service for bluez
19149         and zeroconf.  (Bug#4239)
19151 2009-08-25  Kevin Ryde  <user42@zip.com.au>
19153         * net/dig.el (dig): Add autoload cookie.
19155 2009-08-25  Glenn Morris  <rgm@gnu.org>
19157         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
19158         load-history for absolute file-names.
19159         (byte-compile-file-form-require): Warn about use of the cl package.
19161         * format.el (format-alist): Doc fix.
19163         * play/bubbles.el (top-level): Don't require cl at run-time.
19165         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
19166         run-time cl).
19168 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
19170         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
19171         from cl package.
19172         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
19174 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
19176         * calc/calc-alg.el (math-trig-rewrite)
19177         (math-hyperbolic-trig-rewrite): New functions.
19178         (calc-simplify): Simplify trig functions when asked.
19180 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
19182         * diff-mode.el (diff-find-source-location): Avoid goto-line.
19184 2009-08-24  Kenichi Handa  <handa@m17n.org>
19186         * language/ind-util.el (mapthread): Delete it.
19187         (combinatorial): New function.
19188         (indian--puthash-cv): Use combinatorial instead of mapthread.
19190 2009-08-22  Kevin Ryde  <user42@zip.com.au>
19192         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
19193         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
19194         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
19195         Clarify docstring that the value is strings not symbols.
19196         (checkdoc-list-of-strings-p): New function.
19198 2009-08-22  Glenn Morris  <rgm@gnu.org>
19200         * files.el (auto-mode-alist):
19201         * hippie-exp.el (he-concat-directory-file-name):
19202         * lpr.el (lpr-windows-system, printer-name):
19203         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
19204         * ps-print.el (ps-windows-system):
19205         * startup.el (command-line):
19206         * emulation/viper-ex.el (viper-glob-function):
19207         * international/mule-cmds.el (set-language-environment-coding-systems):
19208         * net/ange-ftp.el (ange-ftp-write-region):
19209         * obsolete/fast-lock.el (fast-lock-cache-name):
19210         Remove code for defunct system-types emx, macos, mswindows, next-mach,
19211         unisoft-unix, vax-vms, win32, w32.
19213         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
19214         given name if the pattern is not more specific.
19216         * calendar/lunar.el (lunar-phase-names): New option.
19217         (lunar-phase): Doc fix.
19218         (lunar-cycles-per-year): New constant.
19219         (lunar-index): New function.
19220         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
19221         (lunar-phase-name): Use lunar-phase-names.
19222         (calendar-lunar-phases): Use format.
19223         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
19225         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
19226         Copy imenu-example--name-and-position function here for own use.
19227         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
19229         * bs.el (bs--redisplay):
19230         * cus-edit.el (custom-redraw):
19231         * ibuffer.el (ibuffer-bury-buffer):
19232         * server.el (server-goto-line-column):
19233         * startup.el (command-line-1):
19234         * strokes.el (strokes-xpm-for-stroke):
19235         * term.el (term-display-buffer-line):
19236         * view.el (View-goto-line):
19237         * calc/calc.el (calc-do, calc-trail-buffer):
19238         * play/gamegrid.el (gamegrid-add-score-insecure):
19239         * progmodes/ada-mode.el (ada-compile-goto-error):
19240         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
19241         (ebrowse-select-1st-to-9nth):
19242         * progmodes/cperl-mode.el (cperl-time-fontification):
19243         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
19244         * progmodes/gud.el (gud-display-line):
19245         (idlwave-shell-display-line):
19246         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
19247         * progmodes/make-mode.el (makefile-browser-toggle):
19248         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
19249         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
19250         * textmodes/picture.el (picture-draw-rectangle):
19251         * textmodes/reftex-index.el (reftex-index-goto-letter):
19252         (reftex-select-jump-to-previous):
19253         * textmodes/reftex-sel.el (reftex-find-start-point)
19254         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
19255         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
19256         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
19257         * textmodes/tex-mode.el (tex-compilation-parse-errors):
19258         * textmodes/two-column.el (2C-associated-buffer):
19259         Use forward-line rather than goto-line.
19261         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
19262         goto-line.
19264         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
19265         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
19266         (quick-check-list-to-regexp): Declare.
19268         * progmodes/make-mode.el (makefile-browser-insert-selection):
19269         Use goto-char rather than goto-line.
19271         * progmodes/prolog.el (compilation-error-regexp-alist)
19272         (compilation-forget-errors): Declare.
19274 2009-08-22  Juri Linkov  <juri@jurta.org>
19276         * progmodes/grep.el (lgrep, rgrep): At the beginning
19277         set `dir' to `default-directory' unless `dir' is a non-nil
19278         readable directory.  (Bug#4052)
19279         (lgrep, rgrep): Change a weird way to report an error
19280         from using `read-string' to using `error'.
19281         Instead of using interactive arguments in the function body,
19282         add new argument `confirm'.
19284 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
19286         * textmodes/remember.el (remember-buffer):
19287         * progmodes/cperl-mode.el (cperl-vc-header-alist):
19288         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
19289         (icalendar-extract-ical-from-buffer):
19290         * net/newst-treeview.el (newsticker-groups-filename):
19291         * net/newst-backend.el (newsticker-cache-filename):
19292         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
19293         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
19294         (speedbar-add-ignored-path-regexp, speedbar-line-path)
19295         (speedbar-buffers-line-path, speedbar-path-line)
19296         (speedbar-buffers-line-path):
19297         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
19298         (epg-sign-keys):
19299         * epa.el (epa-display-verify-result):
19300         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
19302 2009-08-21  Glenn Morris  <rgm@gnu.org>
19304         * progmodes/js.el (inferior-moz-process): Fix declaration.
19306         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
19308         * obsolete/rnewspost.el (news-mail-reply):
19309         Use goto-char rather than goto-line.
19311         * term/ns-win.el (ns-open-file-select-line):
19312         Use line-beginning-position rather than goto-line.
19314         * apropos.el (apropos-command):
19315         * ehelp.el (electric-helpify):
19316         * printing.el (pr-show-setup):
19317         * strokes.el (strokes-help):
19318         * tutorial.el (tutorial--describe-nonstandard-key)
19319         (tutorial--detailed-help):
19320         * woman.el (woman-mini-help, woman-display-extended-fonts):
19321         * calc/calc-help.el (calc-describe-key):
19322         * emulation/edt.el (edt-electric-helpify):
19323         * international/mule-diag.el (mule-diag):
19324         * play/yow.el (apropos-zippy):
19325         * progmodes/python.el (python-describe-symbol):
19326         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
19327         * textmodes/table.el (*table--cell-describe-mode)
19328         (*table--cell-describe-bindings):
19329         Use help-print-return-message rather than the now obsolete alias.
19331         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
19332         (calendar-cursor-to-visible-date):
19333         * play/5x5.el (5x5-position-cursor):
19334         * play/decipher.el (decipher):
19335         * play/gomoku.el (gomoku-goto-xy):
19336         * play/landmark.el (lm-goto-xy):
19337         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
19338         (mpuz-paint-digit):
19339         Use forward-line, not goto-line.
19341         * mail/rmail.el (rmail-obsolete): Delete custom group.
19342         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
19343         (rmail-remote-password, rmail-remote-password-required):
19344         Remove unneeded :set-after and :set properties.
19346 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
19348         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
19350 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
19352         * loadup.el: Remove leftover macos code.
19354         * vc-git.el (vc-git-annotate-command): Run asynchronously.
19355         Explicitly pass the date format to git blame so that user local
19356         so that the output format can be parsed.
19358 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
19360         * net/dbus.el (top): Don't check for (getenv
19361         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
19363 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
19365         * log-edit.el (log-edit-strip-single-file-name): New var.
19366         (log-edit-insert-changelog): Use it.  Bug#3571
19368 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
19370         * subr.el (read-passwd): Use read-key so keypad keys work as well.
19371         Bug#3287
19373         * help.el (help-print-return-message): Rename from
19374         print-help-return-message.
19376         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
19377         cvs-mode-map parent hack.
19378         (log-view-mode): Derive from special-mode.
19380         * linum.el (linum-mode): window-size-change-functions is redundant.
19381         Adapt to new window-configuration-change-hook behavior.
19382         (linum-after-size, linum-after-config): Remove.
19384         * imenu.el (imenu-example--name-and-position)
19385         (imenu-example--lisp-extract-index-name)
19386         (imenu-example--create-lisp-index, imenu-example--create-c-index):
19387         Mark as obsolete.
19389         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
19390         (inferior-prolog-mode): Use it.
19391         (inferior-prolog-load-file): Reset list of errors.
19393 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
19395         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
19397         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
19399 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
19401         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
19402         is running already.
19404 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
19406         * subr.el (listify-key-sequence-1): Use normal syntax since those
19407         integers are nowadays always represented by the same (positive) number
19408         on all platforms.
19409         (read-key-empty-map): New const.
19410         (read-key-delay): New var.
19411         (read-key): New function.
19412         (force-mode-line-update): Use with-current-buffer.
19413         (locate-user-emacs-file): Don't forget to abbreviate the file name.
19414         (start-process-shell-command, start-file-process-shell-command):
19415         Discourage the use of command-args.
19417 2009-08-19  Glenn Morris  <rgm@gnu.org>
19419         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
19421 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
19423         * simple.el (choose-completion-string): Don't rely on
19424         minibuffer-completing-file-name and ad-hoc checks to decide whether
19425         to continue completion or not.
19427         * minibuffer.el (minibuffer-hide-completions): New function.
19428         (completion--do-completion): Use it.
19429         (completions-annotations): New face.
19430         (completion--insert-strings): Use it.
19431         (completion-pcm--delim-wild-regex): Add docstring.
19432         (completion-pcm--string->pattern): Add support for 0-width delimiters
19433         in completion-pcm--delim-wild-regex.
19435 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
19437         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
19438         Remove unused var `buffer-modified-p'.
19440         * minibuffer.el (completion--do-completion): Move point for the #b001
19441         case as well (bug#4176).
19442         (minibuffer-complete, minibuffer-complete-word): Don't move point.
19444 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
19446         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
19447         and :session buses.
19449 2009-08-18  Kenichi Handa  <handa@m17n.org>
19451         * international/ucs-normalize.el (ucs-normalize-version):
19452         Change to 1.1.
19453         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
19454         (utf-8-hfs): Make it perform normalization on encoding too.
19456         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
19457         (sentence-end-without-space): Delete duplicated chars.
19458         (sentence-end-base): Likewise.
19460         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
19461         (html-mode): Delete duplicated chars from sentence-end-base.
19463         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
19464         (texinfo-mode): Delete duplicated chars from sentence-end-base.
19466 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
19468         * files.el (hack-one-local-variable): If the mode function is for
19469         a minor mode, pass it an argument (Bug#4148).
19471 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
19473         * net/tramp.el (tramp-register-completion-file-name-handler):
19474         Check also for (member 'partial-completion completion-styles).
19476 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
19478         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
19479         abbrev (Bug#3943).
19481 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
19483         * progmodes/cperl-mode.el: Merge upstream 6.2.
19484         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
19485         (cperl-forward-re): Check cperl-brace-recursing.
19486         (cperl-highlight-charclass): New function.
19487         (cperl-find-pods-heres): Use it.
19488         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
19489         (cperl-beautify-regexp-piece): Fix column calculation.
19490         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
19491         (cperl-beautify-level): Don't process entire regexp.
19492         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
19493         calling man.
19494         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
19495         (cperl-init-faces): Build a list in the normal way.
19497 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
19499         * calendar/parse-time.el (parse-time-string-chars): Save match
19500         data.
19502 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
19504         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
19505         (sql-product): Use it.
19506         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
19507         (sql-set-product): Add completion.
19508         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
19509         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
19510         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
19511         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
19512         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
19513         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
19514         (sql-highlight-db2-keywords): Remove.
19515         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
19516         (sql-highlight-product): Use derived-mode-p.
19517         (sql-set-sqli-buffer): Use with-current-buffer.
19518         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
19519         Simplify.
19521         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
19523         * term.el: Fix commenting convention, turn comments into docstrings.
19525 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
19527         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
19529 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
19531         * calendar/parse-time.el (parse-time-string-chars): Compute using
19532         character classes, to handle non-ascii characters (Bug#3190).
19534 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
19536         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
19537         another heredoc if the user adds another < (Bug#3226).
19539         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
19540         Don't initialize based on window-system (Bug#4124).
19542         * facemenu.el (facemenu-read-color): Use a completion function
19543         that accepts any defined color, such as RGB triplets (Bug#3677).
19545         * files.el (get-free-disk-space): Change fallback default
19546         directory to /.  Expand DIR argument before switching to fallback.
19547         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
19549 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
19551         * files.el (load-library): Doc fix.
19553 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
19555         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
19556         (viper-if-string): Redefine C-s in the minibuffer to insert the last
19557         incremental search string.
19559         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
19560         XEmacs.
19562         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
19563         (ediff-merge-region-is-non-clash)
19564         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
19565         Also check if the job is really a merge job.
19567         * ediff.el (ediff-current-file): New function.
19569 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
19571         * progmodes/js.el: Edit docstrings throughout to follow Emacs
19572         conventions.
19573         (js-insert-and-indent): Delete function.
19574         (js-mode-map): Don't bind keys to js-insert-and-indent.
19575         (js-beginning-of-defun): Rename from js--beginning-of-defun.
19576         (js-end-of-defun): Rename from js--end-of-defun.
19577         (js-auto-indent-flag): Delete variable.
19579 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
19581         * progmodes/js.el: Remove proclaim statement.
19582         Defvar which-func-imenu-joiner-function to silence compiler.
19584         * files.el (auto-mode-alist): Use js-mode for .js files.
19586         * progmodes/js2-mode.el: Remove file.
19588         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
19590         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
19592         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
19594 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
19595             Karl Landstrom  <karl.landstrom@brgeight.se>
19597         * progmodes/js.el: New file.
19599 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
19601         * timezone.el (timezone-parse-date): Add ability to understand ISO
19602         basic format (minimal separators) dates in addition to the
19603         already-supported extended format dates.
19605 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
19607         * international/ucs-normalize.el: Add a `coding' file variable.
19609         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
19611 2009-08-14  Sam Steingold  <sds@gnu.org>
19613         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
19615 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
19617         * faces.el (help-argument-name): Define it here instead of
19618         help-fns.el, because in daemon mode help-fns.el may be loaded when
19619         faces are still uninitialized (Bug#1078).
19621         * help-fns.el (help-argument-name): Move defface to faces.el.
19623 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
19625         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
19626         create buffer with a pty but no process so that GDB can make the
19627         inferior the controlling process.
19629 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
19631         * international/ucs-normalize.el: New file.
19633 2009-08-13  Richard Stallman  <rms@gnu.org>
19635         * mail/rmail.el (rmail-get-attr-names):
19636         Accept an attribute header that is too short.
19638         * mail/rmail.el (rmail-forget-messages):
19639         Ignore nil elt in rmail-message-vector.  Use dotimes.
19641         * progmodes/compile.el (compilation-goto-locus):
19642         Use next-error-move-function.
19644         * simple.el (next-error-move-function): New variable.
19646 2009-08-12  Juri Linkov  <juri@jurta.org>
19648         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
19649         always non-nil.  (Bug#4052)
19651         * replace.el (read-regexp): Return empty string when
19652         `default-value' is nil.
19653         (keep-lines-read-args): Don't use empty string as the
19654         default value for `read-regexp'.  (Bug#2495)
19656 2009-08-12  Juri Linkov  <juri@jurta.org>
19658         * international/mule-cmds.el (ucs-insert): Change arguments
19659         from `arg' to `character', `count', `inherit' to be the same
19660         as in `insert-char'.  Doc fix.  (Bug#4039)
19662         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
19664 2009-08-12  Juri Linkov  <juri@jurta.org>
19666         * files-x.el: New file.
19668         * files.el: Move code that deals with adding/deleting
19669         file/directory-local variables to files-x.el.
19671         * Makefile.in (ELCFILES): Add files-x.elc.
19673 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
19675         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
19676         to use `goto-line'.
19677         (gdb-place-breakpoints, gdb-get-location): Rewritten without
19678         `goto-line'.
19679         (gdb-invalidate-disassembly): Do not refresh upon receiving
19680         'update signal.  Instead, update all disassembly buffers only after
19681         threads list.
19682         (gdb): Send -target-detach when buffer is killed (Bug#3794).
19683         (gdb-starting): Move -data-list-register-names...
19684         (gdb-stopped): ...here so it's sent when first thread stops.
19685         (gdb-registers-handler-custom): Do nothing if register names are
19686         unknown yet.
19688         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
19689         from `gdb-mi.el' to avoid extra tangling.
19691         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
19692         change which breaks `gud-def' definitions used in `gdb'.
19693         (gdb-update-gud-running): No extra fuss for updating frame number.
19695 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
19697         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
19698         (describe-language-environment-map, setup-language-environment-map)
19699         (set-coding-system-map): Move initialization into declaration.
19700         (set-language-info-alist): Last arg to define-key-after can be skipped.
19702         * international/quail.el (quail-completion-1): Simplify.
19703         (quail-define-rules): Use slightly more compact code.
19704         (quail-insert-decode-map): Propertize keys, compact columns.
19706         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19707         Add goto-line.
19709 2009-08-10  Miles Bader  <miles@gnu.org>
19711         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
19712         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
19713         (js2-instance-member, js2-private-member, js2-private-function-call)
19714         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
19715         (js2-magic-paren, js2-external-variable):
19716         Remove "-face" suffix from face names.
19717         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
19718         (js2-highlight-undeclared-vars, js2-peek-token)
19719         (js2-parse-function-params, js2-mode-show-errors)
19720         (js2-mode-show-warnings, js2-make-magic-delimiter)
19721         (js2-mode-highlight-magic-parens): Update to use new face names.
19723 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
19725         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
19726         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
19728 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
19730         * subr.el: Provide hashtable-print-readable.
19732         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
19733         hs-c-like-adjust-block-beginning.
19734         (hs-hide-block-at-point): Stop hiding at the beginning of
19735         hs-block-end-regexp (Bug#700).
19737 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
19739         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
19740         a macro.
19741         (gdb-registers-handler-custom): Do not fail when register names
19742         are unavailable.
19744 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
19746         * progmodes/gdb-mi.el (gdb-control-all-threads)
19747         (gdb-control-current-thread): Interactive setters for
19748         `gdb-gud-control-all-threads' to use in menu.
19749         (gdb-show-run-p): Show «Go» when process is not active.
19750         (gud-tool-bar-map): Add non-stop/A,T indicator.
19751         Uses gud/thread.xpm and gud/all.xpm.
19753 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
19755         * net/net-utils.el (net-utils-font-lock-keywords): New var.
19756         (nslookup-font-lock-keywords): Make it a variable.
19757         (net-utils-mode): New mode for viewing diagnostic network output.
19758         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
19759         (net-utils-run-simple): New function.
19760         (ifconfig, iwconfig, netstat, arp, route): Use it.
19762 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
19764         * progmodes/gdb-mi.el (gdb-read-memory-custom)
19765         (gdb-memory-set-address, def-gdb-set-positive-number)
19766         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
19767         after changing settings.
19768         (gdb-invalidate-disassembly): Update when first shown.
19769         (gdb-edit-locals-value): Fixed.
19770         (gdb-registers-handler-custom): Print registers in right order and
19771         allow changing register values (only for current thread yet).
19772         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
19773         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
19774         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
19775         (gdb-locals-handler-custom, gdb-registers-handler-custom):
19776         Thread info in mode name.
19777         (gdb-registers-mode-map): TAB to switch to locals.
19779 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
19781         * mail/rmail.el (rmail-add-mbox-headers)
19782         (rmail-set-message-counters-counter): Search for
19783         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
19785 2009-08-08  Glenn Morris  <rgm@gnu.org>
19787         * Makefile.in (ELCFILES): Update.
19789 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
19791         * mail/sendmail.el (mail-yank-original):
19792         Set buffer-file-coding-system from the one used by the message whose
19793         text is yanked.
19795         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
19796         to "windows" when "pgnuplot" is used.
19797         (calc-graph-command, calc-gnuplot-command, calc-graph-init):
19798         Don't call accept-process-output if "pgnuplot" is used.
19799         (calc-graph-init): Don't send -display and -geometry to
19800         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
19801         running "pgnuplot -V" with shell-command-to-string.
19803         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
19804         the default.
19806 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
19808         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
19809         org/org-latex.elc.
19811 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
19813         * vc-dispatcher.el (vc-resynch-window): Update comment.
19815         * term.el (term-handle-ansi-escape): Add comments with the
19816         terminfo capabilities implemented.
19818 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
19820         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
19821         (gdb-var-create-handler): Rewritten using JSON parser.
19822         (gdb-propertize-header): Move earlier.
19823         (gdb-set-header): Remove to avoid duplication.
19824         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
19825         Refresh disassembly buffers only after threads list have been
19826         update.
19827         (gdb-threads-header, gdb-registers-header): Per-buffer header line
19828         variables.
19830 2009-08-04  Juri Linkov  <juri@jurta.org>
19832         * files.el: Commands to add/delete file/directory-local variables.
19833         (read-file-local-variable, read-file-local-variable-value)
19834         (read-file-local-variable-mode, modify-file-local-variable)
19835         (modify-file-local-variable-prop-line)
19836         (modify-dir-local-variable): New functions.
19837         (add-file-local-variable, delete-file-local-variable)
19838         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
19839         (add-dir-local-variable, delete-dir-local-variable)
19840         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
19841         (copy-dir-locals-to-file-locals-prop-line): New commands.
19843 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
19845         * abbrev.el (insert-abbrev-table-description): Prettify output.
19846         Suggested by Karl Chen.
19848 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
19850         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
19851         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
19852         (gdb-overlay-arrow-position, gdb-thread-position)
19853         (gdb-disassembly-position): Declare variables.
19854         (gdb-wait-for-pending): Function now.
19855         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
19856         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
19857         compilation goes smoothly.
19858         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
19859         (gdb-non-stop-setting): New customization setting which replaces
19860         `gdb-non-stop' so changing it doesn't break active GDB session.
19861         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
19862         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
19863         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
19864         (gdb-show-threads-by-default): New customization options.
19865         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
19866         routines.
19867         (gdb-get-buffer-create): Send buffers update signal when they are
19868         created.
19869         (gdb-invalidate-locals, gdb-invalidate-registers)
19870         (gdb-invalidate-breakpoints)
19871         (gdb-invalidate-threads, gdb-invalidate-disassembly)
19872         (gdb-invalidate-memory): Accept update signal.
19873         (gdb-current-context-command): Use --frame option.
19874         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
19875         Implement `gdb-frame-number' selection logic.
19876         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
19877         whether to show GUD toolbar buttons.
19878         (gdb-thread-exited): Unselect current thread when it exits.
19879         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
19880         (gdb-mark-line): Routine which sets overlay arrow or inverses
19881         video on fringeless displays.
19882         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
19883         to build aligned columns of data in GDB buffers and set text
19884         properties line-by-line.
19885         (gdb-invalidate-breakpoints)
19886         (gdb-breakpoints-list-handler-custom)
19887         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
19888         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
19889         (gdb-registers-handler-custom): Align data columns.
19890         (gdb-locals-handler-custom): Now prints data like in variable
19891         declarations.
19892         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
19893         Remove confusing buttons.
19894         (gdb-invalidate-threads): Append --frame.
19895         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
19896         between breakpoints/threads buffers.
19897         (gdb-set-window-buffer): Now can ignore dedicated windows.
19898         (gdb-propertize-header): Use `gdb-set-window-buffer'.
19899         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
19900         (def-gdb-thread-buffer-gud-command): Replaces
19901         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
19902         for fine thread control.
19903         (gdb-preempt-existing-or-display-buffer): New function used to
19904         display bound buffers without breaking window layout.
19905         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
19906         (gdb-select-frame): New version of `gdb-frames-select' which now
19907         sets `gdb-frame-number' so commands may use --frame option instead
19908         of inner debugger state.
19909         (gdb-frame-handler): Do not set `gdb-frame-number'.
19910         (gdb-threads-mode-map): Select threads with mouse.
19912         * progmodes/gud.el (gdb-gud-context-call): Declare function to
19913         avoid compilation warning.
19914         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
19915         `gdb-show-stop-p`.
19917         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
19918         Argument `key' renamed to `buffer-type'.
19919         (gdb-current-context-buffer-name): Do not add thread info to
19920         buffer name when no thread is selected.
19921         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
19922         command (bug 3794).
19923         (gdb-thread-selected): Handle `=thread-selected' notification.
19924         (gdb-wait-for-pending): New macro to deal with congestion problems.
19925         (gdb-breakpoints-list-handler-custom): Don't fail on pending
19926         breakpoints.
19927         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
19928         This fixes problem similar to one described in bug 3947.
19929         (gud-menu-map): More menu items.
19930         (gdb-init-1): Reset `gdb-thread-number' to nil.
19932         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
19933         non-stop settings.
19935         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
19936         (gdb-current-context-command): Do not append --thread if
19937         `gdb-thread-number' is nil.
19938         (gdb-running-threads-count, gdb-stopped-threads-count):
19939         New variables.
19940         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
19941         (gdb-stopped-hooks, gdb-switch-when-another-stopped):
19942         New customization options.
19943         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
19944         GUD commands.
19945         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
19946         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
19947         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
19948         set `gdb-thread-number' and update `gud-running' properly.
19949         (gdb-running): Update threads list when new threads appear.
19950         (gdb-stopped): Support non-stop operation and new thread switching
19951         logic.
19952         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
19953         (gdb-json-partial-output): New set of JSON routines.
19954         (def-gdb-auto-update-trigger): New `signal-list' optional
19955         argument.
19956         (gdb-thread-list-handler-custom): Update `gud-running',
19957         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
19958         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
19959         (gdb-continue-thread, gdb-step-thread): New commands for fine
19960         thread execution control.
19961         (gud-menu-map): New menu items to switch non-stop options.
19962         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
19963         (gdb-send): Mimic RET properly (bug 3794).
19965         * progmodes/gdb-mi.el (gdb-rules-name-maker)
19966         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
19967         gdb-buffer-rules.
19968         (def-gdb-auto-update-handler): New nopreserve optional argument.
19969         (gdb-stack-list-frames-custom): Print stack from top to bottom.
19971         * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
19972         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
19973         (gdb-parent-mode): New mode to derive other GDB modes from.
19974         (gdb-display-disassembly-for-thread)
19975         (gdb-frame-disassembly-for-thread): New commands for threads
19976         buffer.
19978         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
19979         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
19980         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
19981         (gdb-update): We now store all GDB buffers in a list so that they
19982         can be updated by traversing a list instead of calling invalidate
19983         triggers explicitly.
19984         (def-gdb-trigger-and-handler): New macro to define trigger-handler
19985         pair for GDB buffer.
19986         (gdb-stack-buffer-name): Add thread information.
19987         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
19988         handle pending triggers.
19989         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
19990         (def-gdb-thread-buffer-simple-command)
19991         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
19992         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
19993         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
19994         New commands which show buffers bound to thread.
19995         (gdb-stack-list-locals-regexp): Remove unused regexp.
19997         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
19998         (gdb-locals-buffer-name, gdb-registers-buffer-name)
19999         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
20000         to (gud-comint-buffer) in *-buffer-name functions
20001         because (gdb-get-target-string) already does that.
20002         (gdb-locals-handler-custom, gdb-registers-handler-custom)
20003         (gdb-changed-registers-handler): Rewritten without regexps.
20005         * progmodes/gdb-mi.el: Basic thread selection support.
20006         (gdb-thread-number): New variable.
20007         (gdb-current-context-command): New macro which adds --thread
20008         option to command.
20009         (gdb-threads-mode-map): Select thread with SPC.
20010         (gdb-thread-list-handler-custom): Mark current thread with overlay
20011         arrow.  Synchronize GDB thread and Emacs thread.
20012         (gdb-select-thread): New command which selects current thread.
20013         (gdb-invalidate-frames, gdb-invalidate-locals)
20014         (gdb-invalidate-registers): Use --thread option.
20016 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
20018         * net/tramp.el (top): Make check for tramp-gvfs loading more
20019         robust.  (Bug#3977)
20020         (tramp-handle-insert-file-contents): `unwind-protect' must be
20021         inside `with-parsed-tramp-file-name'.
20023         * net/tramp-gvfs.el (top): Remove superfluous message when loading
20024         fails.
20026 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
20028         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
20029         directory if CLASSPATH is not set.
20031 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
20033         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
20034         New defconst.
20035         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
20037 2009-08-02  Kevin Ryde  <user42@zip.com.au>
20039         * net/newst-backend.el (newsticker--raw-url-list-defaults):
20040         Update freshmeat link.  Delete newsforge.com as it seems gone.
20042 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
20044         * select.el (x-set-selection): Doc fix (Bug#4021).
20046         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
20048         * help-fns.el (describe-variable): Treat list return values from
20049         dir-locals-find-file properly (Bug#4005).
20051 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
20053         * net/tramp.el (tramp-debug-message): Print also microseconds.
20055 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
20057         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
20058         or END is non-nil.
20059         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
20060         (tramp-get-debug-buffer): Change `outline-regexp' according to new
20061         format.
20063         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
20064         (tramp-get-file-property): Use it.
20066         * autorevert.el (auto-revert-handler):
20067         Allow `auto-revert-tail-mode' for remote files.
20069 2009-08-02  Jason Rumney  <jasonr@gnu.org>
20071         * minibuffer.el (read-file-name): Treat confirm options to
20072         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
20074 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
20076         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
20077         (font-lock-variable-name-face, font-lock-constant-face):
20078         Darken the colors for light backgrounds.
20080 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
20082         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
20083         month names.  (Bug#3987)
20085 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
20087         * simple.el (line-move-finish): Pass whole number to
20088         line-move-to-column.
20089         (line-move-visual): Perform hscroll to the recorded position.
20091 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
20093         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
20095 2009-07-29  Alan Mackenzie  <acm@muc.de>
20097         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
20099 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
20101         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
20102         (gdb-place-breakpoints): Use full path when setting breakpoints.
20104 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
20106         * calc/calc.el (calc-mode-map): Add keybinding for
20107         `calc-transpose-lines'.
20109 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
20111         * calc/calc-misc.el (calc-transpose-lines): New function.
20113 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
20115         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
20116         Simplify check for out-of-band methods.
20117         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
20118         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
20120 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
20122         * vc-git.el (vc-git-checkin): Fix typo.
20124 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
20126         * progmodes/js2-mode.el: New file.
20128 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
20130         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
20131         (gud-menu-map): Adjust tooltip accordingly.
20133 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
20135         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
20136         (vc-bzr-log-view-mode): Adjust log-view-file-re.
20138         * add-log.el (change-log-mode-map): Add a menu.
20140 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
20142         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
20143         function returns nil.
20144         (dbus-handle-event): Handle special return value :ignore.
20145         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
20147 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
20149         * view.el (view-mode-enable): Don't define Helper-return-blurb if
20150         it's not needed.
20152 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
20154         Fix Bug#3888:
20156         * w32-vars.el (x-select-enable-clipboard): Doc fix.
20158         * term/pc-win.el (x-display-name, x-colors)
20159         (x-select-enable-clipboard, x-select-text): Doc fix.
20161         * term/common-win.el (x-display-name, x-colors): Doc fix.
20163         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
20164         (xw-defined-colors): Doc fix.
20166         * w32-fns.el (x-select-text, x-setup-function-keys)
20167         (x-get-selection, x-set-selection): Doc fix.
20169         * term/x-win.el (x-select-text, x-setup-function-keys)
20170         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
20172         * select.el (x-set-selection): Doc fix.
20174 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
20176         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
20177         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
20178         "IsNSSSupportAvailable" method is not available.
20179         Reported by Steve Youngs <steve@sxemacs.org>.
20181 2009-07-24  Kenichi Handa  <handa@m17n.org>
20183         * international/characters.el: Fix setting of category ?C, ?|, ?K,
20184         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
20185         (build-unicode-category-table): Fix range checks.
20187 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
20189         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
20190         the buffer we try to sync is current when calling
20191         vc-resynch-buffer.
20193         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
20194         not show up to date files.
20196 2009-07-24  Glenn Morris  <rgm@gnu.org>
20198         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
20199         Add autoload cookies.  If necessary, initialize.
20200         (elint-log): Handle non-file buffers.
20201         (elint-initialize): Add optional argument to reinitialize.
20202         (elint-find-builtin-variables): Save excursion.
20204 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
20206         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
20207         for Lint.
20209 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
20211         * vc.el (vc-print-log-internal): New function, split out from ...
20212         (vc-print-log): ... here.
20213         (vc-dir-move-to-goal-column): Declare.
20215         * vc-git.el (vc-git-add-signoff): New variable.
20216         (vc-git-checkin): Use it.
20217         (vc-git-toggle-signoff): New function.
20218         (vc-git-extra-menu-map): Bind it to menu.
20219         (vc-git--run-command-string): Accept a nil FILE argument.
20220         (vc-git-stash-list): New function.
20221         (vc-git-dir-extra-headers): Use it.
20223 2009-07-23  Glenn Morris  <rgm@gnu.org>
20225         * help-fns.el (describe-variable): Describe ignored and risky local
20226         variables in a similar way to that in which we describe safe ones.
20228         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
20229         (byte-compile-output-file-form, byte-compile-output-docform)
20230         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
20231         Give some more local variables with common names a "bytecomp-" prefix,
20232         so as not to shadow things during compilation.
20233         * emacs-lisp/cl-macs.el (load-time-value)
20234         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
20235         `outbuffer' to `bytecomp-outbuffer'.
20237         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
20238         since the next two variables cover them automatically now.
20239         (elint-builtin-variables, elint-autoloaded-variables): New.
20240         (elint-unknown-builtin-args): Remove all members, since they can be
20241         parsed automatically now.
20242         (elint-extra-errors): New.
20243         (elint-env-add-env, elint-env-add-macro): Use cadr.
20244         (elint-current-buffer): Use or.  Change final message.
20245         (elint-get-top-forms): Use line-end-position.
20246         (elint-init-env): Use cadr.  Handle autoload, declare-function,
20247         and defalias.
20248         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
20249         (regexp-assoc): Remove unused function.
20250         (elint-top-form): Set elint-current-pos, to record the start of the
20251         top-level form, for compilation-mode.
20252         (elint-form): Trap errors in macro expansion.  Use dolist.
20253         (elint-unbound-variable): Use elint-builtin-variables and
20254         elint-autoloaded-variables.
20255         (elint-get-args): Use cadr, or.
20256         (elint-check-cond-form): Use dolist, cadr.
20257         (elint-check-condition-case-form): Doc fix.  Use cadr.
20258         Use elint-extra-errors.
20259         (elint-log): New function.
20260         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
20261         Distinguish errors and warnings.
20262         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
20263         Use a bytecomp-style format.
20264         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
20265         (elint-get-log-buffer): Use compilation mode.  Disable undo.
20266         Don't truncate lines.
20267         (elint-initialize): Set builtin and autoloaded variable lists.
20268         Only process elint-unknown-builtin-args if non-nil.
20269         (elint-find-builtin-variables, elint-find-autoloaded-variables):
20270         New functions.
20271         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
20273 2009-07-22  Kevin Ryde  <user42@zip.com.au>
20275         * net/newst-backend.el (newsticker--parse-atom-1.0)
20276         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
20277         (newsticker--parse-rss-1.0):
20278         * progmodes/idlwave.el (idlwave-mode):
20279         * progmodes/idlw-shell.el (idlwave-shell-mode):
20280         * progmodes/vera-mode.el (vera-mode):
20281         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
20282         * progmodes/vhdl-mode.el (vhdl-mode):
20283         * textmodes/table.el (table-generate-source)
20284         (table--warn-incompatibility):
20285         Hyperlink urls in docstrings with URL `...'.
20287 2009-07-22  Glenn Morris  <rgm@gnu.org>
20289         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
20290         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
20291         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
20292         Remove leading * from defcustom docs.
20294         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
20296         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
20297         defcustom doc.
20298         (list-load-path-shadows): Optionally, just return shadows as a string.
20300         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
20302 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
20304         * mail/rmailedit.el (rmail-edit-mode):
20305         Use auto-save-include-big-deletions.
20307         * mail/rmail.el (rmail-variables):
20308         Use auto-save-include-big-deletions.
20310         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
20311         changes.
20313 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
20315         * calc/calc.el (calc-undo-length): New variable.
20316         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
20318 2009-07-21  Richard Stallman  <rms@gnu.org>
20320         * files.el (auto-save-mode): Handle buffer-save-size = -2
20321         for toggling mode.
20323 2009-07-21  Glenn Morris  <rgm@gnu.org>
20325         * textmodes/ispell.el (ispell-looking-back): Update declaration.
20327         * calendar/todo-mode.el (calendar-current-date): Update declaration.
20329         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
20330         silence compiler.  Instead...
20331         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
20332         (ps-print-ensure-fontified): Update for above function name changes.
20334         * printing.el (pr-mh-get-msg-num, pr-mh-show)
20335         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
20336         silence compiler.  Instead...
20337         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
20338         (mh-show-buffer): Only define for compiler.
20339         (pr-mh-current-message): Update for above function name changes.
20341         * files.el (abort-if-file-too-large): Explicitly pass `filename'
20342         as an argument.
20343         (find-file-noselect, insert-file-1): Update for above change.
20345         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
20347         * mail/mailclient.el (mailclient-send-it): Fix message.
20349         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
20350         (edebug-eval): Check cl-debug-env is bound.
20351         (print-level, print-circle): Don't redefine built-in variables.
20353         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
20354         (custom-print-vectors): Remove old comments from doc.
20356         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
20357         (emerge-version): Make the variable an obsolete alias for the
20358         emacs-version variable.  Make the function obsolete.
20359         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
20360         Emerge options, rather than merging in into the main Options menu.
20361         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
20362         and auto advance modes.  Disable edit/fast items when not relevant.
20364 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
20366         * term/vt420.el (terminal-init-vt420): Fix typo.
20368 2009-07-20  Sam Steingold  <sds@gnu.org>
20370         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
20371         variable (removed from compile.el on 2004-03-11).
20373 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
20375         * files.el (hack-local-variables-filter): Fix last change.
20377 2009-07-19  Juri Linkov  <juri@jurta.org>
20379         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
20380         (dir-local-variables-alist): New buffer-local variable.
20381         (hack-local-variables-filter): If variable is not dir-local,
20382         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
20383         because file-local overrides dir-local.
20384         (c-postprocess-file-styles) <declare-function>:
20385         Remove obsolete declaration.
20386         (hack-dir-local-variables): Add dir-local variable/value pair to
20387         `dir-local-variables-alist' and remove duplicates.  Doc fix.
20389         * help-fns.el (describe-variable): Add information about
20390         file-local and dir-local variables.
20392 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
20394         * files.el (hack-local-variables-filter): Rewrite.
20396 2009-07-19  Glenn Morris  <rgm@gnu.org>
20398         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
20399         Silence compiler by only defining on XEmacs.
20401         * international/mule.el (auto-coding-regexp-alist): Only match
20402         BABYL... at the start of buffer, not of lines.  (Bug#3790)
20404         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
20405         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
20406         (cal-menu-context-mouse-menu): Doc fix.
20408         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
20410         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
20412 2009-07-18  Juri Linkov  <juri@jurta.org>
20414         * info.el: Virtual Info keyword finder.
20415         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
20416         (Info-finder-file): New variable.
20417         (Info-finder-find-file): New function.
20418         (finder-known-keywords, finder-package-info)
20419         (find-library-name, lm-commentary): Use defvar and
20420         declare-function to silence compiler warnings.
20421         (Info-finder-find-node): New function.
20422         (info-finder): New command.
20424         * subr.el (process-kill-buffer-query-function): New function.
20425         (add-hook)<kill-buffer-query-functions>: Add hook
20426         `process-kill-buffer-query-function'.
20428 2009-07-18  Alan Mackenzie  <acm@muc.de>
20430         * progmodes/cc-mode.el (c-before-hack-hook)
20431         (c-postprocess-file-styles): Give invocation of `c-set-style'
20432         DONT-OVERRIDE parameter of t.  Already set style variables will
20433         thus not be overridden by style settings given by `c-file-syle'.
20435         * files.el (hack-local-variables-filter): Remove entries with
20436         duplicate keys from `file-local-variables-alist'.
20438 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
20440         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
20441         x-set-selection if display-selections-p returns nil for the
20442         current frame.
20444 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
20446         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
20448 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
20450         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
20451         Accept nil in addition to a regexp.
20452         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
20453         Accept nil in addition to a regexp.
20454         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
20455         buffers that have an associated file.  Handle nil values of
20456         desktop-buffers-not-to-save and desktop-files-not-to-save.
20457         (Bug#3833)
20459         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
20460         (x-disown-selection-internal): New functions.
20462 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
20464         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
20465         warning.
20466         (gdb-breakpoints-header): Move forward to avoid compiler warning.
20467         (gdb-make-header-line-mouse-map): Remove duplicate definition.
20469 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
20471         * simple.el (set-mark): Revert last change.
20473 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
20475         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
20476         rendering of pngs is not possible instead of messaging a long
20477         description.
20479 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
20481         * w32-fns.el (x-selection-owner-p): New function.
20483         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
20484         (mouse-yank-at-click, mouse-yank-primary):
20485         If select-active-regions is non-nil, deactivate the mark before
20486         insertion.
20488         * simple.el (deactivate-mark, set-mark): Only save selection if we
20489         own it.
20491 2009-07-17  Kenichi Handa  <handa@m17n.org>
20493         * case-table.el (describe-buffer-case-table): Fix for the case
20494         that KEY is a cons.
20496 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
20498         * vc-rcs.el (vc-rcs-find-file-hook):
20499         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
20501 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
20503         * net/tramp.el (tramp-wait-for-output): Handle the case when
20504         commands do not return a newline but a null byte before the shell
20505         prompt.  (Bug#3858)
20507 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
20509         * term/ns-win.el (ns-set-alpha): Don't declare.
20510         (ns-set-background-alpha): Remove function.
20512 2009-07-16  Kevin Ryde  <user42@zip.com.au>
20514         * emacs-lisp/copyright.el (copyright-update): Save match-data across
20515         y-or-n-p, for safety.
20517 2009-07-16  Richard Stallman  <rms@gnu.org>
20519         * files.el (auto-save-mode): If buffer-saved-size is -2,
20520         don't clobber it.
20522         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
20523         (rmail-retry-ignored-headers): Add more uninteresting fields.
20525 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
20527         * net/rcirc.el (rcirc): Use history variables.
20528         (rcirc-server-name-history, rcirc-nick-name-history)
20529         (rcirc-server-port-history): New variables.
20531 2009-07-15  Kenichi Handa  <handa@m17n.org>
20533         * international/mule-cmds.el (set-language-environment-charset):
20534         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
20535         ignore them.
20537         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
20538         Delete unibyte-display.
20540 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
20542         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
20544 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
20546         * simple.el (deactivate-mark): Optional argument FORCE.
20547         (set-mark): Use deactivate-mark.
20549         * info.el (Info-search): No need to check transient-mark-mode
20550         before calling deactivate-mark.
20552         * select.el (x-set-selection): Doc fix.
20553         (x-valid-simple-selection-p): Allow buffer values.
20554         (xselect--selection-bounds): Handle buffer values.
20555         Suggested by David De La Harpe Golden.
20557         * mouse.el (mouse-set-region, mouse-drag-track):
20558         Call copy-region-as-kill before setting the mark, to let
20559         select-active-regions work.
20561 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
20563         * simple.el (deactivate-mark): If select-active-regions is
20564         non-nil, copy the selection data into a string.
20565         (activate-mark): If select-active-regions is non-nil, set the
20566         selection to the current buffer.
20567         (set-mark): Update selection if select-active-regions is non-nil.
20569         * select.el (x-valid-simple-selection-p): Allow buffer values.
20571 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
20573         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
20574         and more featureful message-mode.
20576 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
20578         * select.el (x-set-selection): Doc fix.
20579         (x-valid-simple-selection-p): Disallow selection data consisting
20580         of a list or cons of integers, since that is not used.
20581         (xselect--selection-bounds, xselect--int-to-cons): New functions.
20582         (xselect-convert-to-string, xselect-convert-to-length)
20583         (xselect-convert-to-filename, xselect-convert-to-charpos)
20584         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
20586 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
20588         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
20589         output in -break-info command (Emacs bug #3794).
20591 2009-07-14  Glenn Morris  <rgm@gnu.org>
20593         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
20594         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
20595         (edebug-print-length, edebug-print-level, edebug-print-circle)
20596         (edebug-sit-for-seconds, edebug-view-outside)
20597         (edebug-bounce-point, edebug-set-global-break-condition)
20598         (edebug-Go-nonstop-mode, edebug-trace-mode)
20599         (edebug-Trace-fast-mode, edebug-continue-mode)
20600         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
20601         (edebug-visit-eval-list): Doc fixes.
20603         * subr.el (def-edebug-spec): Doc fix.
20605 2009-07-14  Kenichi Handa  <handa@m17n.org>
20607         * international/characters.el: Fix setting of category ?C.
20609 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
20611         * term/ns-win.el (x-select-font): defalias x-select-font to
20612         ns-popup-font-panel instead of generate-fontset-menu.
20614 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
20616         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
20618 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
20620         * arc-mode.el (archive-find-type): Allow for a PK00 string before
20621         the PK\003\004 header (Bug#3770).
20623 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
20625         * pcomplete.el (pcomplete-comint-setup): Check for
20626         shell-dynamic-complete-filename too.
20628 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
20630         * simple.el (temporary-goal-column): Change the value for
20631         line-move-visual to a cons cell.
20632         (line-move-visual): Record or set the window hscroll, if
20633         necessary (Bug#3494).
20634         (line-move-1): Handle cons value of temporary-goal-column.
20636 2009-07-11  Kenichi Handa  <handa@m17n.org>
20638         * international/mule-diag.el (describe-character-set): Don't show
20639         width.
20641 2009-07-10  Sam Steingold  <sds@gnu.org>
20643         * progmodes/compile.el (compilation-mode-font-lock-keywords):
20644         Omake sometimes indents the errors it prints, so allow all
20645         regexps to start with spaces.
20647 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
20649         * cus-edit.el (customize-changed-options-previous-release):
20650         Bump value to 22.1.  (Bug#3804)
20652 2009-07-08  Sam Steingold  <sds@gnu.org>
20654         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
20655         to be a cons cell (test . ignored-directory) to selectively ignore
20656         some directories depending on the location of the search.
20658 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
20660         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
20661         remote user is root, on the local host.
20662         (tramp-local-host-p): Either the local user or the remote user
20663         must be root.  (Bug#3771)
20665 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
20667         * progmodes/gdb-mi.el (gdb): Remove description of
20668         gdb-use-separate-io-buffer.
20669         (menu): Don't allow toggling of or enable
20670         gdb-use-separate-io-buffer from menubar.
20672 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
20674         * mail/unrmail.el (unrmail): Make sure the message ends with two
20675         newlines (Bug#3769).
20677 2009-07-08  Glenn Morris  <rgm@gnu.org>
20679         * calendar/calendar.el (calendar-current-date): Rework previous change.
20681 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
20683         * calendar/calendar.el (calendar-current-date):
20684         Add an optional argument giving an offset from today.
20686 2009-07-08  Glenn Morris  <rgm@gnu.org>
20688         * tutorial.el (tutorial--describe-nonstandard-key):
20689         Adjust the message for when a key has been unbound.
20690         (help-with-tutorial): Hide the arch-tag.
20692 2009-07-08  Kenichi Handa  <handa@m17n.org>
20694         * international/fontset.el (setup-default-fontset): For each
20695         script, append (not set) font-specs.
20697         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
20698         docstring.
20700 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
20702         * progmodes/gdb-mi.el (gdb-init-1): Move sending
20703         -data-list-register-names to ...
20704         (gdb-starting): ... here because GDB 7.0 requires execution to
20705         have started when using this MI command.
20706         (gdb-set-header): New function to distinguish select and
20707         unselected tabs in gdb buffers.
20708         (gdb-propertize-header): New macro that uses gdb-set-header.
20709         (gdb-breakpoints-header, gdb-locals-header): Use it.
20710         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
20712 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
20714         * Makefile.in (ELCFILES): Remove fadr.elc.
20716 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
20718         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
20719         may contain frame information, so `string-match' should be used.
20720         (gdb-update): Disassembly is invalidated through
20721         `gdb-get-selected-frame'.
20722         (gdb-pad-string): New function to pad string with spaces.
20723         (gdb-invalidate-disassembly): Invalidate only if the buffer
20724         exists.
20725         (gdb-disassembly-handler-custom): Column alignment.
20726         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
20727         placing new ones.
20728         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
20729         end of line, too.
20730         (gdb-frame-handler): Match convention to for disassembly buffer
20731         mode name.
20732         (gdb-stack-list-frames-handler): Rewritten without regexps.
20733         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
20734         not highlight breakpoints without line information.
20735         (gdb-input): Add trailing newline to command.
20737         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
20738         buffer properly.
20739         (gdb-breakpoints-list-handler-custom): Replacement for
20740         `gdb-break-list-handler'.  Using real parser instead of regexps
20741         now.
20742         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
20743         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
20744         to place breakpoints.
20745         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
20746         functions.
20747         (gdb-disassembly-handler-custom): Show overlay arrow.
20748         (gdb-disassembly-place-breakpoints): Show breakpoints in
20749         disassembly buffer.
20750         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
20751         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
20752         instead of parsing breakpoints buffer.  Fixed old menu references
20753         in `gud-menu-map'.
20755         * fadr.el: Remove.
20757         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
20758         (gdb-memory-address): New variable which holds top address of
20759         memory page shown in memory buffer.
20760         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
20761         New customization variables.
20762         New functions:
20763         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
20764         display the memory buffer.
20765         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
20766         buffer display parameters.
20767         (def-gdb-memory-format, gdb-memory-format-binary)
20768         (gdb-memory-format-octal, gdb-memory-format-unsigned)
20769         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
20770         Functions for setting memory buffer format.
20771         (gdb-memory-unit-word, gdb-memory-unit-halfword)
20772         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
20773         unit size used in memory buffer.
20774         (gdb-memory-show-next-page, gdb-memory-show-previous-page):
20775         Switch to next/previous page of memory buffer.
20776         Now using (bindat-get-field) instead of fadr functions.
20778 2009-07-07  Sam Steingold  <sds@gnu.org>
20780         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
20781         non-top-level files.
20783 2009-07-07  Kenichi Handa  <handa@m17n.org>
20785         * international/mule-cmds.el (reset-language-environment):
20786         Put the highset priority to the charset iso-8859-1.
20788 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
20790         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
20791         to the end of the line when locating the block (Bug#700).
20793 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
20795         * net/tramp.el (tramp-handle-write-region): Flush file properties
20796         in case of short track.
20798 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
20800         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
20801         Coded custom representation of verilog error regular expressions
20802         to work with Emacs-22's new format.
20803         (verilog-error-regexp-xemacs-alist): Coded custom representation
20804         of verilog error regular expressions to work with XEmacs format.
20805         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
20806         error recognition into XEmacs.
20807         (verilog-error-regexp-add-emacs): Hook routine to install verilog
20808         error recognition into Emacs-22.
20810 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
20812         * woman.el: Remove stand-alone closing parentheses.
20813         (woman-file-name, woman2-format-paragraphs)
20814         (woman-leave-blank-lines): Code cleanup.
20815         (woman-use-own-frame): Change default to nil.
20816         (woman-italic, woman-bold, woman-unknown, woman-addition):
20817         Change defaults to inherit from default faces.
20818         (woman2-process-escapes): Consume the newline after a stand-alone
20819         filler character (Bug#3651).
20821 2009-07-06  Glenn Morris  <rgm@gnu.org>
20823         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
20824         (top-level): Move provide to the end.
20825         (ffap): Remove defunct URL from custom group.
20827         * subr.el (eval-after-load): Doc fix.
20829 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
20831         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
20832         `calc-embedded-word' is called twice.
20834 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
20836         * files.el (find-alternate-file-other-window, find-alternate-file):
20837         Obey confirm-nonexistent-file-or-buffer.
20839 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
20841         * dired-aux.el (dired-show-file-type): Handle remote files.
20843 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
20845         * desktop.el (desktop-globals-to-save):
20846         Add file-name-history (Bug#2750).
20848 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
20850         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
20852 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
20854         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
20855         property on entire argument since this is what eshell-lisp-command
20856         expects.
20858 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
20860         * net/tramp-gvfs.el (tramp-gvfs-methods)
20861         (tramp-gvfs-zeroconf-domain)
20862         (tramp-bluez-discover-devices-timeout): Add version flag.
20863         (tramp-gvfs-handler-mounted-unmounted)
20864         (tramp-gvfs-connection-mounted-p): Polish handling of
20865         incompatibilities between GVFS 0.2 and 1.0.
20867 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
20869         * cus-start.el (all): Add make-pointer-invisible.
20871 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
20873         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
20874         formatted correctly.
20876 2009-07-02  Juri Linkov  <juri@jurta.org>
20878         * info.el: Virtual Info files and nodes.
20879         (Info-virtual-files, Info-virtual-nodes): New variables.
20880         (Info-current-node-virtual): New variable.
20881         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
20882         New functions.
20883         (Info-file-supports-index-cookies): Use Info-virtual-file-p
20884         to check for a virtual file instead of checking a fixed list
20885         of node names.
20886         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
20887         instead of ad-hoc processing of "dir" and (apropos history toc).
20888         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
20889         instead of ad-hoc processing of "dir" and (apropos history toc).
20890         Reread a file when moving from a virtual node.
20891         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
20892         (Info-directory-toc-nodes, Info-directory-find-file)
20893         (Info-directory-find-node): New functions.
20894         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
20895         (Info-history): Move part of code to
20896         `Info-history-find-node'.
20897         (Info-history-toc-nodes, Info-history-find-file)
20898         (Info-history-find-node): New functions.
20899         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
20900         (Info-toc): Move part of code to `Info-toc-find-node'.
20901         (Info-toc-find-node): New function.
20902         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
20903         the current Info file name to references because now the node
20904         "*TOC*" belongs to the same Info manual.
20905         (Info-toc-build): Rename from `Info-build-toc'.
20906         (Info-toc-nodes): Rename input argument `file' to `filename'.
20907         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
20908         instead of ad-hoc processing of ("dir" apropos history toc).
20909         (Info-index-nodes): Use Info-virtual-file-p
20910         to check for a virtual file instead of checking a fixed list
20911         of node names.
20912         (Info-index-node): Add check for `Info-current-node-virtual'.
20913         Raise `save-match-data' higher up the tree to contain
20914         `search-forward' too (bug fix).
20915         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
20916         (Info-virtual-index-nodes): New variable.
20917         (Info-virtual-index-find-node, Info-virtual-index): New functions.
20918         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
20919         (Info-apropos-file, Info-apropos-nodes): New variables.
20920         (Info-apropos-toc-nodes, Info-apropos-find-file)
20921         (Info-apropos-find-node, Info-apropos-matches): New functions.
20922         (info-apropos): Move part of code to `Info-apropos-find-node' and
20923         `Info-apropos-matches'.
20924         (Info-mode-map): Bind "I" to `Info-virtual-index'.
20925         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
20926         for a virtual file instead of checking a fixed list of node names.
20928         * simple.el (async-shell-command): New command.
20930         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
20932         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
20933         instead of `mount-info'.
20935 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
20937         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
20938         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
20940 2009-07-02  Kenichi Handa  <handa@m17n.org>
20942         * international/mule.el (set-keyboard-coding-system): Force *-unix
20943         coding-system to avoid eol conversion.
20945 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
20947         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20948         Add handler for `process-file', `shell-command' and
20949         `start-file-process'.
20950         (tramp-gvfs-handle-shell-command)
20951         (tramp-gvfs-handle-start-file-process)
20952         (tramp-gvfs-handle-process-file): New defuns.
20953         (tramp-synce-list-devices): Simplify check for existence of property.
20955 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
20957         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
20959 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
20961         * language/korean.el (set-language-info-alist): Add korean-cp949,
20962         cp949 to spec.
20964 2009-07-01  Kenichi Handa  <handa@m17n.org>
20966         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
20968         * international/encoded-kb.el: Deleted.
20970         * international/mule.el (set-keyboard-coding-system): Perform the
20971         necessary setup here instead of calling encoded-kbd-setup-display.
20973 2009-07-01  Glenn Morris  <rgm@gnu.org>
20975         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
20977 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
20979         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
20981 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
20983         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
20984         Handle also the 'rename case, when setting file modes.  (Bug#3712)
20985         (tramp-default-file-modes): Remove execute permissions.
20987         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
20988         (top): Add a default for "synce" in `tramp-default-user-alist'.
20989         Add completion function for "synce" method.
20990         (tramp-hal-service, tramp-hal-path-manager)
20991         (tramp-hal-interface-manager, tramp-hal-interface-device):
20992         New defconst.
20993         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
20994         (tramp-synce-list-devices, tramp-synce-parse-device-names):
20995         New defuns.
20997         * net/trampver.el: Update release number.
20999 2009-06-30  Kenichi Handa  <handa@m17n.org>
21001         * international/fontset.el (setup-default-fontset): Add CJK fonts
21002         for symbols and the other miscellaneous characters.
21004         * language/korea-util.el (setup-korean-environment-internal):
21005         Make char-width-table suitable for Korean environments.
21006         (exit-korean-environment): Cancel above.
21008         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
21009         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
21010         setup-function to make char-width-table suitable for respective
21011         environments, and an exit-function to cancel that.
21013         * language/japan-util.el (setup-japanese-environment-internal):
21014         Call use-cjk-char-width-table with arg `ja_JP'.
21016         * international/characters.el (cjk-char-width-table): Delete it.
21017         (cjk-char-width-table-list): New variable.
21018         (use-cjk-char-width-table): New arg local-name.
21019         (use-default-char-width-table): Fix for the case that Emacs is
21020         already using the default char-width-table.
21022 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
21024         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
21025         modes mandatory.  (Bug#3712)
21027 2009-06-29  Alan Mackenzie  <acm@muc.de>
21029         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
21030         correction between the visible width of TABs and their number of bytes.
21032 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
21034         * server.el (server-buffer-done): Prevent kill-buffer from
21035         prompting by clearing the buffer modification flag (Bug#3696).
21037 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
21039         * progmodes/verilog-mode.el (verilog-beg-of-statement)
21040         (verilog-endcomment-reason-re): Support unique case and priority case.
21041         (verilog-basic-complete-re): Support localparam lineup.
21042         (verilog-beg-of-statement-1): Fix for robustness, unique case.
21043         (verilog-set-auto-endcomments): Fix for unique case, always_comb
21044         commenting.
21045         (verilog-leap-to-case-head): Now support *nested* unique &
21046         priority case statements.
21047         (verilog-auto-lineup): Make just declarations the default (as it
21048         had been).
21049         (verilog-leap-to-case-head): Support priority/unique case statements.
21050         (verilog-auto-lineup): Rework to give users radio buttons to
21051         select the various styles of automatic lineup.
21052         (verilog-error-regexp-alist): Rework to support the XEmacs style
21053         of error regular expressions from compilers, lint tools &
21054         simulators.  Note that GNU Emacs has made it impossible for a mode
21055         to load such things.
21056         (electric-verilog-terminate-line, verilog-indent-declaration)
21057         (verilog-auto-wiure): Rework for radio button selection of
21058         auto-lineup selection of specification of auto lineup.
21059         (verilog-beg-of-statement-1): Redesign to support proper operation
21060         in additional code, based on testing with auto-lineup.
21061         (verilog-calculate-indent, assignments & declarations)
21062         (verilog-backward-token): Enhance to support auto-lineup of
21063         assignments & declarations.
21064         (verilog-in-directive-p, verilog-at-struct-p): New function for
21065         easy test of whether we are.
21066         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
21067         to support safe execution at almost anyline.
21068         (verilog-calc-1): Properly support indenting deep inside generate
21069         blocks.
21070         (verilog-init-font): Remove definition & use of verilog-init-font,
21071         as it is redundant with font-lock-defaults.
21072         (verilog-mode): Alter the definition of verilog-font-lock-defaults
21073         to avoid circular calls if syntax-ppss is a function (as is the
21074         case now in 22.x GNU Emacs) as that function would sometimes call
21075         itself, leading to (nearly) infinite recursion.
21076         (verilog-ovm-begin-re, verilog-ovm-end-re)
21077         (verilog-ovm-statement-re, verilog-leap-to-head)
21078         (verilog-backward-token): Add support for OVM macros.  Some are
21079         complete statements, and others open and close scopes like begin
21080         and end.
21081         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
21082         (verilog-defun-level-generate-only-re): Really fix the defun-list
21083         compilation issue.
21084         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
21085         coverpoint, constraint and cross statements.
21086         (verilog-defun-level-list, verilog-generate-defun-level-list)
21087         (verilog-all-defun-level-list): Redo these specifications - it is
21088         too hard to support eval-when compile aggregation of lists also
21089         built at when-compile time.
21090         (verilog-defun-level-list): Place defconsts of variables used in
21091         building regular expressions which are built in eval-when-compile
21092         bodies in the same eval-when-compile body to facilitate compile
21093         without load.
21094         (verilog-beg-block-re-ordered): Support indenting
21095         virtual/protected tasks and functions.
21096         (verilog-defun-level-list, verilog-in-generate-region-p)
21097         (verilog-backward-ws&directives, verilog-calc-1): Speed up
21098         indentation of some module items (generate items).
21099         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
21100         across virtual/protected tasks and functions.
21102 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
21104         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
21105         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
21106         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
21107         in concatenations.  Reported by Yishay Belkind.
21108         (verilog-auto-ascii-enum): Support one-hot state machines in
21109         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
21110         (verilog-auto-inst, verilog-auto-inst-port): Include interface
21111         modport in AUTOINST and add vl-modport for users.
21112         Reported by David Rogoff.
21113         (verilog-auto-inout-module, verilog-auto-inst)
21114         (verilog-decls-get-interfaces, verilog-insert-definition)
21115         (verilog-insert-one-definition, verilog-read-decls)
21116         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
21117         (verilog-sig-modport, verilog-signals-combine-bus)
21118         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
21119         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
21120         Suggested by David Rogoff.
21121         (verilog-repair-open-comma): Fix non-insertion of comma when
21122         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
21123         (verilog-make-width-expression): Simplify [A-1:0] expression
21124         widths to just {A{1'b0}}.
21125         (verilog-mode): Cleanup checkdoc warnings.
21126         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
21127         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
21128         inputs/outputs or data type.  Suggested by Vasu Kandadi.
21129         (next-error-last-buffer): Fix byte-compiler warning.
21130         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
21131         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
21132         or shell command text during AUTO expansion.  Suggested by Tad Truex.
21133         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
21134         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
21135         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
21136         in AUTOINOUT.  Reported by Matthew Lovell.
21137         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
21138         causing use of <= assignments.  Reported by Alex Reed.
21139         (verilog-read-decls): Fix triand, trior, wand, wor to be
21140         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
21141         (verilog-extended-complete-re): Support import "DPI-C" functions.
21142         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
21143         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
21144         (verilog-insert-date, verilog-insert-year)
21145         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
21146         Windows systems.  Reported by Michael Potts.
21147         (verilog-read-module-name): Fix AUTOINST when the child module
21148         declaration's name is a tick define.  Reported by Elliot Mednick.
21149         (verilog-read-decls): Fix V2K parameter bit subscripts getting
21150         passed to next parameter's definition.  Reported by Bruce T.
21151         (verilog-read-decls): Fix detecting "parameter int" when using
21152         AUTOINSTPARAM.  Reported by Bruce T.
21153         (verilog-goto-defun): Fix goto not finding modules unless first
21154         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
21155         (verilog-mode): Expand -f flag arguments on entry to mode so
21156         verilog-goto-defun will work.  Reported by Lawrence Butcher.
21157         (verilog-getopt): Expand environment variables in -f file
21158         arguments.  Suggested by Lawrence Butcher.
21159         (verilog-set-define): Fix "Symbol's value as variable is void"
21160         when reading enumerations.
21161         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
21162         Suggested by Stephen Peltan.
21163         (verilog-read-defines): Fix reading of enumerations in include
21164         files.  Reported by Steve Peltan.
21166 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
21168         * files.el (trash-directory): Fix defcustom type.
21170 2009-06-28  Juri Linkov  <juri@jurta.org>
21172         * help-fns.el (describe-function-1): Correctly locate adviced
21173         functions in hyperlink (Bug#2438).
21175 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
21177         * files.el (trash-directory): Change default to nil.
21178         (move-file-to-trash): If trash-directory is nil and
21179         system-move-file-to-trash is unbound, perform freedesktop-style
21180         trashing.
21182 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
21184         * files.el (move-file-to-trash): Add freedesktop trash
21185         support (Bug#973).
21187 2009-06-28  Glenn Morris  <rgm@gnu.org>
21189         * autorevert.el (global-auto-revert-non-file-buffers)
21190         (global-auto-revert-mode): Doc fixes.
21192 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
21194         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
21196 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
21198         * faces.el (x-handle-named-frame-geometry): Ensure that we have
21199         opened an X connection before calling x-get-resource (Bug#3194).
21201         * play/doctor.el: Remove reference to obsolete website.
21202         (make-doctor-variables): Correct grammar mistake (Bug#2633).
21204 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
21206         Remove find-file-not-found-hook VC method.  (Bug#2757)
21207         * vc-hooks.el (vc-file-not-found-hook)
21208         (vc-default-find-file-not-found-hook): Remove functions.
21209         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
21210         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
21211         * vc.el:
21212         * vc-hg.el:
21213         * vc-git.el: Do not mention find-file-not-found-hook VC method.
21215 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
21217         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
21218         compatibility function for `looking-back'.
21220         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
21221         Use `ispell-looking-back'.
21223 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
21225         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
21226         rather than `filename'.
21228 2009-06-23  Miles Bader  <miles@gnu.org>
21230         * face-remap.el (text-scale-set): New function.
21232 2009-06-23  Glenn Morris  <rgm@gnu.org>
21234         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
21236         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
21238         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
21240         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
21242         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
21243         Simplify Persian conditionals.
21245         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
21246         variable `filename'.
21248         * comint.el (comint-insert-input): Doc fix.
21250         * Makefile.in (ELCFILES): Fix typo in previous change.
21252 2009-06-23  Miles Bader  <miles@gnu.org>
21254         * cus-start.el: Add entry for `recenter-redisplay'.
21256 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
21258         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
21259         Add an optional argument for the backend, use it instead of
21260         calling vc-backend.
21261         (vc-mode-line): Add an optional argument for the backend.
21262         Pass the backend to vc-state and vc-working-revision.  Move code for
21263         special handling for vc-state being a buffer to ...
21265         * vc-rcs.el (vc-rcs-find-file-hook):
21266         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
21268         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
21269         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
21270         vc-stay-local-p and vc-mode-line calls.
21272         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
21273         (vc-cvs-diff, vc-cvs-annotate-command)
21274         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
21275         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
21276         vc-mode-line calls.
21278         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
21279         direct comparison.
21280         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
21281         backend when calling vc-mode-line.
21282         (vc-register): Do not create a closure for calling the vc register
21283         function, call it directly.
21285 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
21287         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
21288         to make it obvious item can be clicked.
21290         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
21292 2009-06-23  Kenichi Handa  <handa@m17n.org>
21294         * language/korea-util.el (korean-key-bindings): Change the binding
21295         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
21296         same command.
21298 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
21300         Sync with Tramp 2.1.16.
21302         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
21304         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
21305         when a loading of a package fails.  Completion function for rsync
21306         is `tramp-completion-function-alist-ssh'.
21307         (all): Replace all calls of `split-string' and
21308         `tramp-split-string' by `tramp-compat-split-string'.
21309         (tramp-default-method): Use `tramp-compat-process-running-p'.
21310         (tramp-default-proxies-alist): Allow also Lisp forms.
21311         (tramp-remote-path): Add choice "Private Directories".
21312         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
21313         (tramp-domain-regexp): Allow also "-", "_" and ".".
21314         (tramp-end-of-output): Remove newlines, and add "$" at the end.
21315         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
21316         (tramp-debug-message): Insert header line in debug buffer.
21317         (tramp-handle-directory-files-and-attributes-with-stat):
21318         Care about filenames with spaces, or starting with "-".
21319         (tramp-handle-dired-uncache): New defun.
21320         (tramp-handle-insert-directory): Don't flush the directory from
21321         cache, this is handled by `dired-uncache' now.
21322         (tramp-handle-insert-file-contents): Improve error handling.
21323         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21324         Quote `tramp-end-of-output'.
21325         (tramp-action-password): Improve trace message.
21326         (tramp-check-for-regexp): Both echoes must be present, before removing.
21327         (tramp-open-connection-setup-interactive-shell): Trace coding system.
21328         (tramp-compute-multi-hops): Eval cons cells of
21329         `tramp-default-proxies-alist'.
21330         (tramp-maybe-open-connection): Use the same command pattern for
21331         first hop and further hops.
21332         (tramp-wait-for-output): Remove handling of newlines.
21333         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
21334         (tramp-split-string): Remove function.  It is handled in
21335         tramp-compat now.
21337         * net/tramp-cmds.el (tramp-bug):
21338         Recommend `tramp-cleanup-all-connections' in the bug mail.
21340         * net/tramp-compat.el (tramp-compat-split-string)
21341         (tramp-compat-process-running-p): New defuns.
21343         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
21344         for `dired-uncache'.
21346         * net/tramp-gvfs.el: New package.
21348         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
21349         Add handler for `dired-uncache'.
21350         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
21352         * net/trampver.el: Update release number.  Make version check fit
21353         for SXEmacs 22.
21355 2009-06-22  Jim Meyering  <meyering@redhat.com>
21357         Automatically handle .xz suffix (XZ-compressed files), too.
21358         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
21359         XZ is the successor to LZMA: <http://tukaani.org/xz/>
21361 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
21362             Nick Roberts  <nickrob@snap.net.nz>
21364         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
21365         repository (http://sphinx.net.ru/hg/gdb-mi/).
21367 2009-06-22  Glenn Morris  <rgm@gnu.org>
21369         * files.el (dir-locals-collect-mode-variables): Allow for any number of
21370         `mode' and `eval' entries.  (Bug#3430)
21372         * Makefile.in (ELCFILES): Add fadr.elc.
21374         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
21375         differing behavior of \n and ^ in strings.  (Bug#3385)
21377         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
21379         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
21380         property.
21381         (lisp-indent-function): Make it a defcustom.
21383 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
21385         * progmodes/gdb-ui.el: Replace with ...
21386         * progmodes/gdb-mi.el: ... this file.
21387         * progmodes/gud.el: Modify for gdb-mi.el.
21389 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
21391         * fadr.el: New file.
21393 See ChangeLog.14 for earlier changes.
21395 ;; Local Variables:
21396 ;; coding: utf-8
21397 ;; End:
21399   Copyright (C) 2009, 2010, 2011  Free Software Foundation, Inc.
21401   This file is part of GNU Emacs.
21403   GNU Emacs is free software: you can redistribute it and/or modify
21404   it under the terms of the GNU General Public License as published by
21405   the Free Software Foundation, either version 3 of the License, or
21406   (at your option) any later version.
21408   GNU Emacs is distributed in the hope that it will be useful,
21409   but WITHOUT ANY WARRANTY; without even the implied warranty of
21410   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21411   GNU General Public License for more details.
21413   You should have received a copy of the GNU General Public License
21414   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.