* lisp/avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
[emacs.git] / lisp / ChangeLog
blob949e7d40e3d71595234f436ec06f688ae0beecba
1 2010-10-18  Julien Danjou  <julien@danjou.info>
3         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
4         hidden by `make-pointer-invisible'.
6 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8         * files.el (locate-file-completion-table): Strip non-matching elements
9         before checking length of list (bug#7238).
11 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
13         * custom.el (custom-theme-set-variables): Mark as a safe function.
14         (load-theme): Check forms using unsafep.
16         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
18 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
20         * textmodes/ispell.el (ispell-aspell-find-dictionary):
21         Fix aspell data file searching (bug#7230).
23 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
25         * cus-theme.el (custom-theme--migrate-settings): New var.
26         (customize-create-theme): Allow editing the `user' theme.
27         (custom-theme-add-variable, custom-theme-add-var-1)
28         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
29         to the front of each variable or face widget.
30         (custom-theme-write): Save theme settings in the correct order.
31         Optionally, remove saved settings from user customizations.
32         (custom-theme-write-variables, custom-theme-write-faces):
33         Save only the checked widgets.
34         (customize-themes): Add a link for migrating custom settings.
36         * custom.el (custom-declare-theme, provide-theme):
37         Use custom-theme-name-valid-p.
38         (custom-theme-name-valid-p): Remove checks that are now
39         unnecessary since themes no longer obey load-path.
41         * cus-edit.el (custom-variable-value-create): For the simple
42         style, hide documentation string when hidden.
44 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
46         * cus-edit.el (custom-variable, custom-face): Combine the
47         :inhibit-magic and :display-style properties into a single
48         :custom-style property.
49         (custom-toggle-hide-variable, custom-toggle-hide-face):
50         New functions.  If hiding an edited value, save it to :shown-value.
51         (custom-variable-value-create, custom-face-value-create): Use them.
52         (custom-magic-reset): Allow magic property to be unset.
54         * custom.el: Custom themes no longer use load-path.
55         (custom-theme-load-path): New option.  Change built-in theme
56         directory to etc/.
57         (custom-enabled-themes): Add custom-theme-load-path dependency.
58         (custom-theme--load-path): New function.
59         (load-theme, custom-available-themes): Use it.
61         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
62         (customize-themes): Link to custom-theme-load-path variable.
63         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
64         :custom-style property.
66         * themes/*.el: Moved to etc/.
68 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
70         * textmodes/reftex-cite.el
71         (reftex-extract-bib-entries-from-thebibliography): Do not move
72         point when searching for \bibitem entries.  Match entries with
73         spaces or tabs in front of arguments.
75 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
77         * cus-theme.el (customize-create-theme): Delete overlays after
78         erasing.  If given a THEME arg, display only the faces of that arg
79         instead of custom-theme--listed-faces.
80         (custom-theme-variable-menu, custom-theme-variable-action)
81         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
82         (custom-theme-add-variable, custom-theme-add-face): Apply value
83         from the theme settings, instead of the current value.
84         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
85         (custom-theme-visit-theme): Allow calling outside theme buffers.
86         (custom-theme-merge-theme): Don't enable the theme when merging.
87         (custom-theme-write-variables, custom-theme-write-faces): Use the
88         :shown-value properties to save buffer values, not global ones.
89         (customize-themes): Display a warning about user customizations.
91         * cus-edit.el (custom-variable-value-create)
92         (custom-face-value-create): Obey new special properties
93         :shown-value and :inhibit-magic.
95 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
97         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
98         Suppress expansion of tabs to spaces.
100 2010-10-14  Kenichi Handa  <handa@m17n.org>
102         * mail/rmail.el (rmail-show-message-1): Catch an error of
103         base64-decode-region and just show an error message (bug#7165).
105         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
106         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
107         a font-spec (bug#7197).
109 2010-10-14  Glenn Morris  <rgm@gnu.org>
111         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
113 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
115         * international/mule.el (define-coding-system):
116         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
117         * composite.el (compose-region): Fix typo in docstring.
119 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
121         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
122         only after checking the theme-face property.
124         * faces.el (face-spec-reset-face): Reset all attributes in one
125         single call to set-face-attribute.
126         (face-spec-match-p): Make it a defsubst.
127         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
128         (x-create-frame-with-faces, tty-create-frame-with-faces)
129         (tty-set-up-initial-frame-faces): Don't recompute face specs in
130         frame-set-background-mode, since they are recomputed immediately
131         afterwards in face-set-after-frame-default.
132         (face-set-after-frame-default): Minor optimization.
133         (cursor): Provide non-trivial defface spec.
135         * custom.el (custom-theme-recalc-face): Simplify.
137 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
139         * calc/calc-alg.el (math-var): Rename from `var'.
140         (math-is-polynomial, math-is-poly-rec): Replace `var'
141         with `math-var'.
143         * calc/calcalg2.el (math-var): Rename from `var'.
144         (calcFunc-table, math-scan-for-limits): Replace `var'
145         with `math-var'.
147 2010-10-13  Glenn Morris  <rgm@gnu.org>
149         * subr.el (last): Deal with dotted lists (reported in bug#7174).
151 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
153         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
155 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
157         * net/tls.el (tls-program): Remove spurious %s from openssl.
158         (tls-starttls-switches): Remove starttls hack.
159         (open-tls-stream): Ditto.
160         (tls-find-starttls-argument): Ditto.
162 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
164         * image.el (image-library-alist): Declare as obsolete alias.
165         (image-type-available-p): Use `dynamic-library-alist'.
167         * term/w32-win.el (dynamic-library-alist):
168         Use instead of `image-library-alist'.
170 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
172         * subr.el (last): Make it faster.  (Bug#7174)
174 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
176         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
178 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
180         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
181         (describe-theme-1): Extract doc from unloaded themes.
183         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
185         * themes/tango-theme.el:
186         * themes/tango-dark-theme.el:
187         * themes/wheatgrass-theme.el: New files.
189 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
191         * cus-theme.el (describe-theme, customize-themes)
192         (custom-theme-save): New commands.
193         (custom-new-theme-mode-map): Bind C-x C-s.
194         (custom-new-theme-mode): Use custom--initialize-widget-variables.
195         (customize-create-theme): New optional arg THEME.
196         (custom-theme-revert): Use it.
197         (custom-theme-visit-theme): Remove dead code.
198         (custom-theme-merge-theme): Use custom-available-themes.
199         (custom-theme-write): Make interactive.
200         (custom-theme-write): Use custom-theme-name-valid-p.
201         (describe-theme-1, custom-theme-choose-revert)
202         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
203         New funs.
204         (custom-theme-allow-multiple-selections): New option.
205         (custom-theme-choose-mode): New major mode.
207         * custom.el (custom-theme-set-variables): Remove dead code.
208         Obey custom--inhibit-theme-enable.
209         (custom--inhibit-theme-enable): New var.
210         (provide-theme): Obey it.
211         (load-theme): Replace load with manual read/eval, in order to
212         check for correctness.  Use custom-theme-name-valid-p.
213         (custom-theme-name-valid-p): New function.
214         (custom-available-themes): Use it.
216         * cus-edit.el (custom--initialize-widget-variables): New function.
217         (Custom-mode): Use it.
219         * cus-face.el (custom-theme-set-faces): Remove dead code.
220         Obey custom--inhibit-theme-enable.
222         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
224 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
226         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
228 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
230         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
231         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
232         (mac-right-option-modifier): New alias for ns-right-option-modifier.
234         * cus-start.el (all): ns-right-alternate-modifier is new.
236 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
238         * emacs-lisp/lisp.el (lisp-completion-at-point):
239         Use emacs-lisp-mode-syntax-table for the whole function.
241 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
243         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
244         instead of font-lock-mode before adding keywords.
245         Remove hi-lock-mode off code.  Remove inhibit hack.
246         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
247         non-nil; removed hook inhibit hack.
249 2010-10-12  Glenn Morris  <rgm@gnu.org>
251         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
252         (load-path-shadows-find): ... to this.
253         (list-load-path-shadows): Update for above change.
255         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
257 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
259         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
260         Fix comment for declare-function.
262 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
264         * custom.el (custom-fix-face-spec): New function; code moved from
265         custom-face-edit-fix-value.
266         (custom-push-theme): Use it when checking if a face has been
267         changed outside customize.
268         (custom-available-themes): New function.
269         (load-theme): Use it.
271         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
273         * custom.el (custom-push-theme): Cleanup (use cond).
274         (disable-theme): Recompute the saved-face property.
275         (custom-theme-recalc-face): Follow face alias before setting prop.
277         * image.el (image-checkbox-checked, image-checkbox-unchecked):
278         New variables, containing checkbox images.
280         * startup.el (fancy-startup-tail):
281         * wid-edit.el (checkbox): Use them.
283 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
285         * shell.el (shell-mode-map):
286         * progmodes/modula2.el (m2-mode-map):
287         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
288         * play/mpuz.el (mpuz-mode-map):
289         * play/landmark.el (lm-mode-map):
290         * play/decipher.el (decipher-mode-map):
291         * play/5x5.el (5x5-mode-map):
292         * net/telnet.el (telnet-mode-map):
293         * net/quickurl.el (quickurl-list-mode-map):
294         * net/mairix.el (mairix-searches-mode-map):
295         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
296         * net/dig.el (dig-mode-map):
297         * mail/mspools.el (mspools-mode-map):
298         * hexl.el (hexl-mode-map):
299         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
300         (wordstar-C-o-map, wordstar-C-q-map):
301         * emacs-lisp/edebug.el (edebug-eval-mode-map):
302         * emacs-lisp/chart.el (chart-map):
303         * edmacro.el (edmacro-mode-map):
304         * erc/erc-list.el (erc-list-menu-mode-map):
305         * array.el (array-mode-map): Declare and define in one step.
307         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
309 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
311         * epa.el (epa-passphrase-callback-function): Display filename
312         passed as the 3rd arg.
313         * epa-file.el (epa-file-passphrase-callback-function):
314         Pass filename to epa-passphrase-callback-function.
316 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
318         * cus-edit.el (custom-face-widget-to-spec)
319         (custom-face-get-current-spec, custom-face-state): New functions.
320         (custom-face-set, custom-face-mark-to-save)
321         (custom-face-value-create, custom-face-state-set): Use them.
323         * cus-theme.el (custom-theme--listed-faces): New var.
324         (customize-create-theme): Use *Custom Theme* as the buffer name.
325         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
326         faces listed in custom-theme--listed-faces.
327         (custom-theme-revert): New function.
328         (custom-theme-add-variable, custom-theme-add-face): Insert at the
329         bottom of the list.
330         (custom-theme-write): Prompt for theme name if empty.
331         (custom-theme-write-variables): Use dolist.
332         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
334 2010-10-09  Alan Mackenzie  <acm@muc.de>
336         Enhance fontification of declarators to take account of the
337         presence/absence of "typedef".
339         * cc-engine.el (c-forward-type): New &optional param
340         "brace-block-too".
341         (c-forward-decl-or-cast-1): cdr of return value now indicates the
342         presence of either or both of a "struct"-like keyword and "typedef".
344         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
345         fontification of declarators which follow a "}".
346         (c-font-lock-declarations): Fontify declarators according to the
347         presence/absence of "typedef".
349         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
350         for "typedef".
351         (c-typedef-decl-key): New lang variable built from
352         c-typedef-decl-kwds.
354 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
356         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
357         since that's too annoying.  Move the filter groups commands to
358         TAB/backtab.
360         * epa.el (epa-passphrase-callback-function): Say what we're
361         querying the password for.
363         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
364         behaviour, don't bury the ibuffer buffer when visiting other buffers.
366 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
368         * cus-edit.el (custom-commands, custom-buffer-create-internal)
369         (custom-magic-value-create): Pad button tags with spaces.
370         (custom-face-edit): New variable.
371         (custom-face-value-create): Determine whether to use the usual
372         face editor here, instead of using custom-face-selected.
373         Pass face defaults to custom-face-edit widget.
374         (custom-face-selected, custom-display-unselected): Delete widgets.
375         (custom-display-unselected-match): Function removed.
376         (custom-face-set, custom-face-mark-to-save):
377         Accept custom-face-edit widgets as the direct widget child.
379         * wid-edit.el (widget--completing-widget): New var.
380         (widget-default-complete): Bind it when doing completion.
381         (widget-string-complete, widget-file-complete): Use it.
383 2010-10-09  Glenn Morris  <rgm@gnu.org>
385         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
386         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
387         (holiday-hebrew-misc): Small simplifications.
389         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
391         * net/browse-url.el: Don't require thingatpt, term, dired,
392         executable, or w3-auto when compiling.
393         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
394         Declare.
395         (browse-url-text-emacs): Require term.
397 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
399         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
401 2010-10-08  Glenn Morris  <rgm@gnu.org>
403         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
405         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
406         (shadows-compare-text-p): Make it an obsolete alias for...
407         (load-path-shadows-compare-text): ... new name.
408         (find-emacs-lisp-shadows): Update for above name change.
409         (load-path-shadows-same-file-or-nonexistent): New name for the old
410         shadow-same-file-or-nonexistent.
412 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
414         * minibuffer.el (completion--some, completion--do-completion)
415         (minibuffer-complete-and-exit, minibuffer-completion-help)
416         (completion-basic-try-completion)
417         (completion-basic-all-completions)
418         (completion-pcm--find-all-completions): Use lexical-let to
419         avoid some false matches in variable completion (Bug#7056)
421 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
423         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
425 2010-10-08  Leo  <sdl.web@gmail.com>
427         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
428         return non-nil if the file exists (Bug#7090).
430 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
432         * minibuffer.el (completion--replace):
433         Better preserve markers (bug#7138).
435 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
437         * server.el (server-process-filter): Doc fix.
439 2010-10-08  Drew Adams  <drew.adams@oracle.com>
441         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
443 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
445         * Makefile.in (ELCFILES): Update.
447 2010-10-08  Glenn Morris  <rgm@gnu.org>
449         * vc/ediff-wind.el (ediff-setup-control-frame):
450         * vc/ediff-ptch.el (ediff-default-backup-extension):
451         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
452         (ediff-exec-process): Remove system-types emx, windows-95.
454         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
456 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
458         * cus-edit.el (custom-variable, custom-face): Doc fix.
459         (custom-face-edit): Add value-create attribute.
460         (custom-face-edit-value-create)
461         (custom-face-edit-value-visibility-action): New functions.
462         Hide unused face attributes by default, and add a visibility toggle.
463         (custom-face-edit-deactivate): Show empty values with shadow face.
464         (custom-face-selected): Only use this for face specs with default
465         attributes.
466         (custom-face-value-create): Cleanup.
468         * wid-edit.el (widget-checklist-value-create): Use dolist.
469         (widget-checklist-match-find): Make second arg optional.
471 2010-10-07  Glenn Morris  <rgm@gnu.org>
473         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
474         Prefix things.
476         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
477         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
478         load-path-shadows-mode, update references.
479         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
480         Rename variable and button.
481         (list-load-path-shadows): Update button caller.
483 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
485         * emacs-lisp/smie.el (smie-bnf-classify): New function.
486         (smie-bnf-precedence-table): Use it to remember the closers/openers.
487         (smie-merge-prec2s): Handle those new entries.
488         (smie-prec2-levels): Only set precedence to nil for actual
489         openers/closers.
490         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
491         that is now unnecessary.
493 2010-10-07  Miles Bader  <miles@gnu.org>
495         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
497 2010-10-07  Glenn Morris  <rgm@gnu.org>
499         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
500         (mail-position-on-field): Remove declarations.
501         (mail-position-on-field): Autoload it.
502         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
503         and mail-header-end.  Don't require sendmail.
505         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
506         (shadow-mode): New mode.
507         (shadow-find-file): New button.
508         (list-load-path-shadows): Use shadow-mode and buttons.
510         * iimage.el (iimage-version): Remove.
511         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
512         Turn into defcustoms.
513         (iimage-mode-map): Give it a doc string.
515         * calendar/appt.el (appt-activate): Give a warning rather than an error
516         if there is no diary-file.
518 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
520         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
521         Use `tramp-handle-find-backup-file-name'.
523 2010-10-06  Glenn Morris  <rgm@gnu.org>
525         * font-core.el (font-lock-defaults-alist): Remove variable.
526         (font-lock-mode): Doc fix.
527         (font-lock-default-function): Do not consult font-lock-defaults-alist.
528         * font-lock.el (font-lock-refresh-defaults): Doc fix.
529         (font-lock-set-defaults): Doc fix.
530         Do not consult font-lock-defaults-alist.
532         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
534         * emacs-lisp/cl.el: No longer provide cl-19.
536 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
538         * net/tramp.el (tramp-handle-directory-files-and-attributes)
539         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
540         New defuns, taken from tramp-smb.el.
541         (tramp-coding-system-change-eol-conversion)
542         (tramp-set-process-query-on-exit-flag): Remove.
544         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
545         (tramp-compat-coding-system-change-eol-conversion)
546         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
547         from tramp.el.
549         * net/tramp-gvfs.el:
550         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
551         by `tramp-compat-set-process-query-on-exit-flag'.
553         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
554         Use `tramp-handle-directory-files-and-attributes',
555         `tramp-handle-file-exists-p' and
556         `tramp-handle-file-newer-than-file-p'.
557         (tramp-imap-handle-file-exists-p)
558         (tramp-imap-handle-file-executable-p)
559         (tramp-imap-handle-file-readable-p)
560         (tramp-imap-handle-directory-files-and-attributes)
561         (tramp-imap-handle-file-newer-than-file-p): Remove.
563         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
564         by `tramp-compat-set-process-query-on-exit-flag' and
565         `tramp-coding-system-change-eol-conversion' by
566         `tramp-compat-coding-system-change-eol-conversion'.
568         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
569         Use `tramp-handle-directory-files-and-attributes',
570         `tramp-handle-file-exists-p' and
571         `tramp-handle-file-newer-than-file-p'.
572         (tramp-smb-handle-directory-files-and-attributes)
573         (tramp-smb-handle-file-exists-p)
574         (tramp-smb-handle-file-newer-than-file-p): Remove.
575         (tramp-smb-maybe-open-connection):
576         Replace `tramp-set-process-query-on-exit-flag' by
577         `tramp-compat-set-process-query-on-exit-flag'.
579 2010-10-05  Glenn Morris  <rgm@gnu.org>
581         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
583 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
585         Continue reorganization of load dependencies.  (Bug#7156)
587         * net/tramp.el (tramp-handle-file-local-copy-hook)
588         (tramp-delete-temp-file-function): Move down.
589         (tramp-exists-file-name-handler): Move up.
590         (tramp-register-file-name-handlers): Simplify autoload.
591         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
592         (tramp-handle-directory-files, tramp-handle-dired-uncache)
593         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
594         (tramp-handle-file-name-completion)
595         (tramp-handle-file-name-directory)
596         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
597         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
598         (tramp-handle-find-backup-file-name)
599         (tramp-handle-insert-file-contents, tramp-handle-load)
600         (tramp-handle-substitute-in-file-name)
601         (tramp-handle-unhandled-file-name-directory)
602         (tramp-mode-string-to-int, tramp-local-host-p)
603         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
605         * net/tramp-gvfs.el (top):
606         * net/tramp-smb.el (top): Do not require 'tramp-sh.
608         * net/tramp-sh.el (all): Move several objects to tramp.el, see
609         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
611 2010-10-04  Glenn Morris  <rgm@gnu.org>
613         * calendar/appt.el (appt-add): Ensure reminders are enabled.
614         (appt-activate): Give status messages.
616 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
618         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
619         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
620         `gnutls-negotiate' (formerly `starttls-negotiate').
621         Remove trivial wrapper `starttls-open-stream'.
623 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
625         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
626         log-outgoing commands.
627         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
628         to create a buffer local revert-buffer-function variable.
629         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
630         revert-buffer-function lambda.
632 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
634         * net/gnutls.el (starttls-negotiate): Use the plist interface to
635         `gnutls-boot'.  Make TYPE the only required parameter.
636         Allow TRUSTFILES and KEYFILES to be lists.
637         (open-ssl-stream): Use it.
639 2010-10-03  Glenn Morris  <rgm@gnu.org>
641         * subr.el (directory-sep-char): Remove obsolete variable.
642         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
643         it is "necessary".
645         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
646         * vc/vc.el (vc-static-header-alist): Doc fix.
647         * vc/vc-cvs.el (vc-cvs-header):
648         * vc/vc-rcs.el (vc-rcs-header):
649         * vc/vc-sccs.el (vc-sccs-header):
650         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
651         * obsolete/vc-mcvs.el (vc-mcvs-header):
652         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
653         on XEmacs.
655 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
657         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
658         Remove obsolete use of binary-overwrite-mode (Bug#7001).
660 2010-10-03  Glenn Morris  <rgm@gnu.org>
662         * obsolete/x-menu.el: Remove file, obsolete since 21.1
664         * textmodes/rst.el (rst-font-lock-keywords-function):
665         Drop Emacs 20 code.
667         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
669         * printing.el: Drop Emacs 20 code.
671         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
672         without having used appt.el already).
674         * subr.el (make-local-hook): Remove function obsolete since 21.1.
675         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
676         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
677         XEmacs.
678         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
679         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
681         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
682         (charset-width, find-charset-region, chars-in-region, forward-point)
683         (encode-coding-string, coding-system-p, ccl-execute-on-string)
684         (define-ccl-program, multibyte-string-p, string-make-multibyte):
685         Remove compatibility cruft (none of these are used by ps*.el).
687 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
689         * subr.el (booleanp): Return t instead of a list (Bug#7086).
691 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
693         * server.el (server-process-filter, server-return-error):
694         Give emacsclient time to shut down after receiving an error string.
696 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
698         * files.el (remote-file-name-inhibit-cache): New defcustom.
700         * time.el (display-time-file-nonempty-p):
701         Use `remote-file-name-inhibit-cache'.
703         * net/tramp.el (tramp-completion-reread-directory-timeout):
704         Fix docstring.
706         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
707         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
708         `remote-file-name-inhibit-cache'.  Check also for an integer
709         value.  Add/increase counter when `tramp-verbose' >= 10.
710         (tramp-set-file-property): Add/increase counter when
711         `tramp-verbose' >= 10.
713         * net/tramp-cmds.el (tramp-cleanup-all-connections)
714         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
715         (tramp-bug): Set tramp-autoload cookie.  Report all interned
716         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
717         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
718         characters only in strings.
720         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
721         to backward compatibility.
723         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
724         (tramp-handle-file-name-all-completions)
725         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
726         (tramp-open-connection-setup-interactive-shell):
727         Call `tramp-cleanup-connection' directly.
729 2010-10-02  Glenn Morris  <rgm@gnu.org>
731         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
733         * subr.el (char-bytes): Remove obsolete function.
735         * isearch.el (isearch-return-char): Remove obsolete function.
737         * mouse.el: No longer provide mldrag.
738         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
739         Remove obsolete aliases.
741         * comint.el (comint-kill-output): Remove obsolete alias.
743         * composite.el (decompose-composite-char): Remove obsolete function.
744         * ps-def.el (decompose-composite-char): Remove unused function.
746         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
748         * outline.el (outline-visible): Remove obsolete function.
750         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
751         * faces.el (internal-find-face, internal-get-face)
752         (frame-update-faces, frame-update-face-colors)
753         (x-frob-font-weight, x-frob-font-slant)
754         (internal-frob-font-weight, internal-frob-font-slant)
755         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
756         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
757         (x-make-font-bold-italic): Remove functions and aliases, obsolete
758         since Emacs 21.1.
759         * emulation/viper-util.el (viper-get-face):
760         * obsolete/lucid.el (find-face, get-face): Use facep.
761         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
762         Remove unused functions.
763         * vc/ediff-util.el (ediff-submit-report): Doc fix.
765         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
766         delete tempfile if interrupted during compilation.
768 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
770         * net/tls.el (tls-starttls-switches): Give up on using starttls with
771         gnutls-cli.
772         (tls-program): Add --insecure to be consistent with the defaults from
773         openssl s_client.  Now all three commands are insecure.
775 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
777         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
778         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
779         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
781 2010-10-01  Glenn Morris  <rgm@gnu.org>
783         * obsolete/sc.el: Remove file.
785         * files.el (temporary-file-directory): On darwin, also try
786         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
788 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
790         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
791         Let's not break compatibility gratuitously, shall we?
793 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
795         * net/tls.el (tls-starttls-switches): New variable.
796         (tls-find-starttls-argument): Use it.
797         (open-tls-stream): Ditto.
799         * net/netrc.el (netrc-credentials): Return the value of the "default"
800         entry.
801         (netrc-machine): Ditto.
803 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
805         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
807 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
809         * server.el (server-start): Don't write pid to the authentication file.
810         (server-create-tty-frame): Don't send pid.
811         (server-process-filter): Send pid at the start of every connection.
813 2010-09-30  Glenn Morris  <rgm@gnu.org>
815         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
816         (show-all-diary-entries): Remove obsolete function aliases.
818         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
819         Remove options, obsolete since 22.1.
820         (appt-display-format, appt-display-message): Remove
821         backwards-compatibility code.
822         (appt-check): No longer check appt-issue-message.
823         (appt-make-list): No longer autoload it.  Doc fix.  No longer
824         activate the package.
826 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
828         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
829         (starttls-negotiate): Just call boot, and let the handshake be
830         triggered from the read loop.
832 2010-09-29  Glenn Morris  <rgm@gnu.org>
834         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
835         not displaying the diary.
836         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
837         * calendar/appt.el (appt-check): No longer need to kill diary.
839         * calendar/diary-lib.el (diary-list-entries): Move the
840         "Preparing..." message entirely here.
841         (diary-simple-display, diary-fancy-display): Move "Preparing..."
842         messages to diary-list-entries.
843         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
844         diary-display-function.
846         * calendar/diary-lib.el (diary-include-other-diary-files):
847         Trap some recursive includes.
849         * calendar/appt.el (appt-activate): Check diary file.
851 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
853         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
854         construction.
856         * calendar/time-date.el: No need to require cl for Emacs 21.
858 2010-09-28  Glenn Morris  <rgm@gnu.org>
860         * calendar/appt.el (appt-check): Minor simplification.
862 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
864         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
865         citation prefix.
867 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
869         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
870         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
872 2010-09-27  Kenichi Handa  <handa@m17n.org>
874         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
875         "ustar" format.
877 2010-09-27  Kenichi Handa  <handa@m17n.org>
879         * international/mule.el (define-coding-system): Docstring fixed.
881         * international/mule-diag.el (describe-character-set): Use princ
882         with proper print-length and print-level instead of insert.
884 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
886         * window.el (walk-windows): Doc fix (bug#7105).
888 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
890         * emacs-lisp/float-sup.el (e): Remove.
892 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
894         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
895         variable.
896         (starttls-negotiate): Use it.
898 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
900         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
901         back.
903 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
905         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
907 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
909         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
911         * net/netrc.el (netrc-store-data): New function.
913 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
915         * net/gnutls.el: GnuTLS glue code to set up a connection.
917 2010-09-25  Julien Danjou  <julien@danjou.info>
919         * notifications.el: Call dbus-register-signal only if it is bound.
921 2010-09-25  Glenn Morris  <rgm@gnu.org>
923         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
924         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
925         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
926         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
927         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
928         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
929         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
930         * eshell/esh-util.el, eshell/esh-var.el:
931         Remove leading `*' from docs of faces and defcustoms.
933 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
935         * eshell/em-ls.el (eshell-ls-archive-regexp):
936         * eshell/esh-util.el (eshell-tar-regexp):
937         * ibuffer.el (ibuffer-compressed-file-name-regexp):
938         * info.el (Info-suffix-list):
939         * international/mule.el (auto-coding-alist):
940         * woman.el (woman-file-regexp, woman-file-compression-regexp):
941         * progmodes/etags.el (tags-compression-info-list):
942         Support xz compression.
944 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
946         * files.el (get-free-disk-space): Don't assume the "df" output
947         columns line up (Bug#6995).
949 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
951         * finder.el (finder-unknown-keywords):
952         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
953         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
955 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
957         * server.el (server-start): Revert part of 2010-08-08 change.  Using
958         address 127.0.0.1 for local host is now done in Fmake_network_process.
960 2010-09-24  Glenn Morris  <rgm@gnu.org>
962         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
963         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
964         * textmodes/css-mode.el, textmodes/dns-mode.el:
965         Move autoloaded auto-mode-alist entries to files.el.
966         * files.el (auto-mode-alist): Move entries here.
968 2010-09-23  Glenn Morris  <rgm@gnu.org>
970         * isearch.el (isearch-lazy-highlight-cleanup)
971         (isearch-lazy-highlight-initial-delay)
972         (isearch-lazy-highlight-interval)
973         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
974         * net/net-utils.el (ipconfig-program-options):
975         Move aliases to options before the associated definitions.
977 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
979         * newcomment.el (comment-normalize-vars): Better test validity of
980         comment-end-skip.
982 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
984         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
985         (float-e): New name for `e'.
986         (degrees-to-radians, radians-to-degrees):
987         * calendar/solar.el (solar-longitude):
988         * calculator.el (calculator-registers, calculator-funcall):
989         * textmodes/artist.el (artist-spray-random-points):
990         * play/bubbles.el (bubbles--initialize-images): Use new names.
992 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
994         Update to CEDET 1.0's version of EIEIO.
996         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
997         New function.
998         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
999         (eieio-default-eval-maybe): Eval val instead of unquoting only.
1000         (class-precedence-list): If class is nil, return nil.
1001         (eieio-generic-call): If class of first input arg is nil, don't
1002         look up static methods, and do check for primary methods.
1003         (initialize-instance): See if the default needs to be evaluated
1004         during the constructor.
1005         (eieio-perform-slot-validation-for-default): Don't do the check
1006         for values that will eventually be evaluated.
1007         (eieio-eval-default-p): New function.
1008         (eieio-default-eval-maybe): Use it.
1010 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
1012         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
1013         method-invocation-order.
1014         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
1015         (eieio-class-precedence-dfs): Compute class precedence list using
1016         dfs algorithm.
1017         (eieio-class-precedence-bfs): Compute class precedence list using
1018         bfs algorithm.
1019         (eieio-class-precedence-c3): Compute class precedence list using
1020         c3 algorithm.
1021         (class-precedence-list): New function.
1022         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
1023         (inconsistent-class-hierarchy): New error symbol.
1024         (call-next-method): Stow the replacement argument list for future
1025         call-next-method invocations.
1027 2010-09-23  Glenn Morris  <rgm@gnu.org>
1029         * calendar/appt.el (appt-check): If not displaying the diary,
1030         use (diary 1) to only get the entries we need.
1031         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
1032         that it is in day order.  (Bug#7019)
1034         * calendar/appt.el (appt-check): Rather than showing the diary,
1035         just turn off invisible display, and only if needed.
1037         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
1039 2010-09-23  Glenn Morris  <rgm@gnu.org>
1041         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1042         (byte-compile-defvar, byte-compile-cl-warn):
1043         Start warnings with lower-case, like the majority.
1045         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
1047         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
1049         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
1050         * files.el (auto-mode-alist): Move ld-script entries here, further down
1051         the list.
1053         * vc/add-log.el: Don't require timezone when compiling.
1054         (timezone-make-date-sortable): Autoload it.
1055         (change-log-sortable-date-at): Don't require timezone.
1056         Use `ignore-errors'.
1058         * comint.el (comint-use-prompt-regexp-instead-of-fields):
1059         Move alias before definition, so it does not need autoloading.
1061         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
1062         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
1063         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
1064         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
1065         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
1066         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
1067         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
1068         * textmodes/tex-mode.el, textmodes/two-column.el:
1069         Remove leading `*' from docs of defcustoms etc.
1071 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
1073         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
1075 2010-09-22  Dan Christensen  <jdc@uwo.ca>
1077         * calendar/time-date.el (date-to-time): Try using parse-time-string
1078         first before using the slower timezone-make-date-arpa-standard.
1080 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
1082         * calendar/time-date.el (format-seconds): Comment fix.
1084 2010-09-22  Glenn Morris  <rgm@gnu.org>
1086         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
1087         is not automatically buffer-local.
1089 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1091         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
1092         (smie-indent-comment): Be more careful with comment-start-skip.
1093         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
1094         (smie-indent-functions): Use them.
1096 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
1098         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
1100 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
1102         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
1103         tool-bar-position.  Don't modify frame parameters here.
1104         (menu-bar-options-save): Add tool-bar-position.
1106         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
1108 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1110         * textmodes/reftex-parse.el (reftex-what-macro)
1111         (reftex-context-substring): Let-bind forward-sexp-function to nil
1112         since we don't need/want to treat \begin...\end as a block (bug#7053).
1114         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
1116         * simple.el (blink-matching-open): Use syntax-class.
1118         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
1119         Set invisibility spec for pascal's outline mode.
1120         (pascal-outline-change): Clean up calling convention.
1121         (pascal-show-all, pascal-hide-other-defuns): Update callers.
1123         * progmodes/prolog.el (prolog-smie-forward-token)
1124         (prolog-smie-backward-token): New functions.
1125         (prolog-mode-variables): Use them to parse "!," correctly.
1126         Set up smie-blink-matching for ".".
1128         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
1129         and `end'.
1130         (ispell-region, ispell-process-line): Update users.
1132         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
1133         point-min==1.
1135         * textmodes/ispell.el: Fix commenting convention.
1136         (ispell-parse-output): Simplify, use push.
1137         (ispell-region): Use match-string-no-properties.
1138         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
1139         (ispell-minor-mode): Use define-minor-mode.
1140         (ispell-message): Remove unused var `skip-regexp'.
1141         (ispell-add-per-file-word-list): Use dynamic let-binding.
1142         Try and use the proper comment marker.
1144         * mail/sendmail.el: Fix commenting convention.
1145         (sendmail-send-it): Use line-beginning-position.
1147         * help-fns.el (describe-variable): Add original value, if applicable.
1149 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
1151         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
1153         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
1155 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1157         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
1158         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
1159         (smie-prec2-levels): Use them to better diagnose precedence cycles.
1160         (smie-blink-matching-check): Don't signal a mismatch if car is t.
1161         (smie-blink-matching-open): Rewrite to remove assumptions, so that
1162         something like "." can also be a closer.
1163         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
1164         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
1165         Rename internal functions to use "--".  Update callers.
1167         * frame.el (make-frame-names-alist): Don't list frames on other displays.
1169         * fringe.el (fringe-styles): New var.
1170         (fringe-mode, fringe-query-style): Use it.
1172 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
1174         * progmodes/sql.el: Version 2.8
1175         (sql-login-params): Update widget structure; changes still needed.
1176         (sql-product-alist): Add :list-all and :list-table features for
1177         SQLite, Postgres and MySQL products.
1178         (sql-redirect): Handle default value.
1179         (sql-execute, sql-execute-feature): New functions.
1180         (sql-read-table-name): New function.
1181         (sql-list-all, sql-list-table): New functions.  User API.
1182         (sql-mode-map, sql-interactive-mode-map): Add key definitions
1183         for above functions.
1184         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
1185         for above functions.
1186         (sql-postgres-login-params): Add user and database defaults.
1187         (sql-buffer-live-p): Bug fix.
1188         (sql-product-history): New variable.
1189         (sql-read-product): New function. Use it.
1190         (sql-set-product, sql-product-interactive): Use it.
1191         (sql-connection-history): New variable.
1192         (sql-read-connection): New function.  Use it.
1193         (sql-connect): New function.
1194         (sql-for-each-login): Redesign function interface.
1195         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
1196         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
1197         (sql-comint): Check for program.  Existing live buffer.
1198         (sql-comint-postgres): Add port parameter.
1200 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1202         * emacs-lisp/warnings.el: Fix commenting convention.
1203         (display-warning): Use special mode and make the buffer read-only.
1205 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
1207         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
1208         empty string when it follows a repeated or optional pattern.
1210 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1212         * indent.el (indent-according-to-mode): Apply syntax-propertize.
1213         (indent-region): Use indent-according-to-mode.
1215 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
1217         * fringe.el (fringe-mode): Doc fix.
1219 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
1221         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
1222         refreshing the preview buffer.
1224 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1226         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
1227         (latex-syntax-propertize-rules): New consts; replace
1228         tex-font-lock-syntactic-keywords.
1229         (tex-env-mark, latex-env-before-change): New functions.
1230         (latex-electric-env-pair-mode): New minor mode.
1231         (tex-font-lock-verb): Change arguments; do move point.
1232         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
1233         representation as a form of comment.
1234         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
1235         (doctex-syntax-propertize-rules): New const; replaces
1236         doctex-font-lock-syntactic-keywords.
1237         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
1239         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
1240         (fortran-make-syntax-propertize-function): New function; replaces
1241         fortran-font-lock-syntactic-keywords.
1242         (fortran-mode): Use it.
1243         (fortran-line-length): Use it.  Improve interactive spec.
1245         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
1246         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
1247         when adding surrounding \(..\).
1249         * progmodes/js.el (js-mode): Fix last change (bug#7054).
1251 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1253         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
1254         Use with-current-buffer.
1256         * isearch.el (isearch-face): Rename from `isearch'.
1257         (isearch-highlight): Use new name.
1259 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
1261         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
1262         5, for `half' width fringes.  (Bug#6933)
1264 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1266         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
1267         (byte-compile-defvar): "foo/bar" does not lack a prefix.
1269         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
1271 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
1273         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
1274         in calculating new frame position.  Add more space between new and
1275         parent on the left (Bug#7048).
1277 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
1279         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
1280         defmacro.
1282 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
1284         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
1286         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
1287         obsolete alias for x-selection-value.
1289         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
1291 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
1293         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
1294         cookie.
1296 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
1298         * net/tramp-compat.el (tramp-compat-with-temp-message)
1299         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
1300         (tramp-compat-process-put): New defuns.
1302         * net/tramp.el (top):
1303         * net/tramp-gvfs.el (top):
1304         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
1306         * net/tramp.el (tramp-progress-reporter-update):
1307         Use `tramp-compat-funcall'.
1309         * net/tramp.el (tramp-process-actions):
1310         * net/tramp-gvfs.el (tramp-handle-vc-registered):
1311         * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
1312         (tramp-get-remote-stat, tramp-get-remote-readlink):
1313         Use `tramp-compat-with-temp-message'.
1315         * net/tramp-sh.el (top): Require 'cl.
1316         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
1317         (tramp-open-connection-setup-interactive-shell):
1318         Use `tramp-compat-process-put'.
1320 2010-09-15  Alan Mackenzie  <acm@muc.de>
1322         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
1323         indentation.
1324         (c-forward-<>-arglist-recur): Fix an infinite recursion.
1326 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1328         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
1329         `lexical' for warnings related to lexical scoping.
1330         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
1331         global vars which don't have a prefix and could hence affect lexical
1332         scoping in unrelated files.
1334 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1336         * net/imap.el: Revert back to version
1337         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
1338         seem problematic.
1340 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
1342         * obsolete/old-whitespace.el (whitespace-unload-function):
1343         Explicitly pass `obarray' to `unintern' to avoid a warning.
1345 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1347         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
1348         Add `when' argument.  Update callers.
1350         * subr.el (unintern): Declare the obarray arg mandatory.
1352 2010-09-14  Glenn Morris  <rgm@gnu.org>
1354         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
1355         Doc fixes.
1357         * calendar/diary-lib.el (diary-included-files): New variable.
1358         (diary-list-entries): Maybe initialize diary-included-files.
1359         (diary-include-other-diary-files): Append to diary-included-files.
1360         * calendar/appt.el (appt-update-list): Also check the members of
1361         diary-included-files.  (Bug#6999)
1362         (appt-check): Doc fix.
1364 2010-09-14  David Reitter  <david.reitter@gmail.com>
1366         * simple.el (line-move-visual): Do not truncate goal column to
1367         integer size.  (Bug#7020)
1369 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1371         * repeat.el (repeat): Allow repeating when the last event is a click.
1372         Suggested by Drew Adams (bug#6256).
1374 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
1376         * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
1377         Replace setting HGRCPATH to "" by some less invasive --config options.
1379 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1381         * font-lock.el (font-lock-beginning-of-syntax-function):
1382         Mark as obsolete.
1384 2010-09-14  Glenn Morris  <rgm@gnu.org>
1386         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
1387         and tool-bar modes.  (Bug#6211)
1388         (menu-bar-mode): Move setting of standard-value after the
1389         minor-mode definition, otherwise it seems to have no effect.
1391 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
1393         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
1394         Fix typo.  (Bug#6976)
1396 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
1398         * whitespace.el: Allow cleaning up blanks without blank
1399         visualization (Bug#6651).  Adjust help window for
1400         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
1401         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
1402         (whitespace-style): Add new value 'face.  Adjust docstring.
1403         (whitespace-space, whitespace-hspace, whitespace-tab):
1404         Adjust foreground property face.
1405         (whitespace-line-column): Adjust docstring and type declaration.
1406         (whitespace-style-value-list, whitespace-toggle-option-alist)
1407         (whitespace-help-text): Adjust const initialization.
1408         (whitespace-toggle-options, global-whitespace-toggle-options):
1409         Adjust docstring.
1410         (whitespace-display-window, whitespace-interactive-char)
1411         (whitespace-style-face-p, whitespace-color-on): Adjust code.
1412         (whitespace-help-scroll): New fun.
1414 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
1416         * calendar/time-date.el (format-seconds): Comment fix.
1418 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
1420         * progmodes/sql.el: Version 2.7.
1421         (sql-buffer-live-p): Improve detection.
1422         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
1423         (sql-set-sqli-buffer): Use it.
1424         (sql-product-interactive): Run `sql-set-sqli-hook'.
1425         (sql-rename-buffer): Code cleanup.
1426         (sql-redirect, sql-redirect-value): New functions.  More to come.
1428 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
1430         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.
1431         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
1432         (TRAMP_SRC): New macro.
1433         ($(lisp)/net/tramp-loaddefs.el): New target.
1435 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
1437         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
1439         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
1441         * net/tramp.el (top): Don't show loading message.  Require just
1442         'tramp-compat, everything else is required there.
1443         Use `ignore-errors' where appropriate.
1444         (tramp-inline-compress-start-size, tramp-copy-size-limit)
1445         (tramp-terminal-type, tramp-end-of-output)
1446         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
1447         (tramp-completion-function-alist-ssh)
1448         (tramp-completion-function-alist-telnet)
1449         (tramp-completion-function-alist-su)
1450         (tramp-completion-function-alist-putty, tramp-remote-path)
1451         (tramp-remote-process-environment, tramp-sh-extra-args)
1452         (tramp-actions-before-shell, tramp-uudecode)
1453         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
1454         (tramp-perl-file-attributes)
1455         (tramp-perl-directory-files-and-attributes)
1456         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
1457         (tramp-perl-encode, tramp-perl-decode)
1458         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
1459         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
1460         (tramp-handle-make-symbolic-link, tramp-handle-load)
1461         (tramp-handle-file-name-as-directory)
1462         (tramp-handle-file-name-directory)
1463         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
1464         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
1465         (tramp-do-file-attributes-with-ls)
1466         (tramp-do-file-attributes-with-perl)
1467         (tramp-do-file-attributes-with-stat)
1468         (tramp-handle-set-visited-file-modtime)
1469         (tramp-handle-verify-visited-file-modtime)
1470         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
1471         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
1472         (tramp-handle-file-selinux-context)
1473         (tramp-handle-set-file-selinux-context)
1474         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
1475         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
1476         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
1477         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
1478         (tramp-handle-file-ownership-preserved-p)
1479         (tramp-handle-directory-file-name, tramp-handle-directory-files)
1480         (tramp-handle-directory-files-and-attributes)
1481         (tramp-do-directory-files-and-attributes-with-perl)
1482         (tramp-do-directory-files-and-attributes-with-stat)
1483         (tramp-handle-file-name-all-completions)
1484         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
1485         (tramp-handle-copy-file, tramp-handle-copy-directory)
1486         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
1487         (tramp-do-copy-or-rename-file-via-buffer)
1488         (tramp-do-copy-or-rename-file-directly)
1489         (tramp-do-copy-or-rename-file-out-of-band)
1490         (tramp-handle-make-directory, tramp-handle-delete-directory)
1491         (tramp-handle-delete-file)
1492         (tramp-handle-dired-recursive-delete-directory)
1493         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
1494         (tramp-handle-insert-directory)
1495         (tramp-handle-unhandled-file-name-directory)
1496         (tramp-handle-expand-file-name)
1497         (tramp-handle-substitute-in-file-name)
1498         (tramp-handle-executable-find, tramp-process-sentinel)
1499         (tramp-handle-start-file-process, tramp-handle-process-file)
1500         (tramp-handle-call-process-region, tramp-handle-shell-command)
1501         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
1502         (tramp-handle-insert-file-contents)
1503         (tramp-handle-insert-file-contents-literally)
1504         (tramp-handle-find-backup-file-name)
1505         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
1506         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
1507         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
1508         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
1509         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
1510         (tramp-find-file-exists-command, tramp-open-shell)
1511         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
1512         (tramp-open-connection-setup-interactive-shell)
1513         (tramp-local-coding-commands, tramp-remote-coding-commands)
1514         (tramp-find-inline-encoding, tramp-call-local-coding-command)
1515         (tramp-inline-compress-commands, tramp-find-inline-compress)
1516         (tramp-compute-multi-hops, tramp-maybe-open-connection)
1517         (tramp-send-command, tramp-wait-for-output)
1518         (tramp-send-command-and-check, tramp-barf-unless-okay)
1519         (tramp-send-command-and-read, tramp-mode-string-to-int)
1520         (tramp-convert-file-attributes, tramp-check-cached-permissions)
1521         (tramp-file-mode-from-int, tramp-file-mode-permissions)
1522         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
1523         (tramp-method-out-of-band-p, tramp-local-host-p)
1524         (tramp-get-remote-path, tramp-get-remote-tmpdir)
1525         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
1526         (tramp-get-test-command, tramp-get-test-nt-command)
1527         (tramp-get-file-exists-command, tramp-get-remote-ln)
1528         (tramp-get-remote-perl, tramp-get-remote-stat)
1529         (tramp-get-remote-readlink, tramp-get-remote-trash)
1530         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
1531         (tramp-get-local-uid, tramp-get-local-gid)
1532         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
1533         tramp-sh.el.
1534         (tramp-methods, tramp-default-method-alist)
1535         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
1536         Move initialization to tramp-sh.el.
1537         (tramp-temp-name-prefix): Make it a defconst.
1538         (tramp-dissect-file-name): Don't check anymore for multi-hop
1539         methods.
1540         (tramp-debug-outline-regexp): Add a docstring.
1541         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
1542         (tramp-get-debug-buffer): Use it.
1544         * net/tramp-cache.el (top): Set tramp-autoload cookie for
1545         initialization forms.
1546         (tramp-set-connection-property): Don't protect `tramp-message'
1547         call, it isn't necessary any longer.
1548         (tramp-dump-connection-properties): Use `ignore-errors'.
1550         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
1551         'password-cache and 'auth-source.
1553         * net/tramp-gvfs.el (top):
1554         * net/tramp-smb.el (top): Require 'tramp-sh.
1556         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
1558         * net/tramp-sh.el: New file, derived from tramp.el.
1559         (top): Initialize `tramp-methods', `tramp-default-method-alist',
1560         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
1561         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
1562         Use `ignore-errors' where appropriate.
1563         (tramp-sh-file-name-handler-alist): Rename from
1564         `tramp-file-name-handler-alist'.
1565         (tramp-send-command-and-check): Return t or nil.  Remove all
1566         `zerop' checks, where called.
1567         (tramp-handle-set-file-modes)
1568         (tramp-do-copy-or-rename-file-directly)
1569         (tramp-handle-delete-directory, tramp-handle-delete-file)
1570         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
1571         (tramp-sh-file-name-handler, tramp-send-command-and-check)
1572         (tramp-get-remote-ln): Set tramp-autoload cookie.
1574         * net/tramp-fish.el: Remove file.
1576 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
1578         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
1579         buffer-file-name to avoid file-locking.  (Bug#7026)
1581 2010-09-13  Julien Danjou  <julien@danjou.info>
1583         * notifications.el (notifications-notify): Add support for
1584         image-path and sound-name.
1585         (notifications-specification-version): Add this variable.
1587 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1589         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
1591 2010-09-12  Leo  <sdl.web@gmail.com>
1593         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
1594         (rcirc-completion-start): New variables.
1595         (rcirc-nick-completions): Rename to rcirc-completions.
1596         (rcirc-nick-completion-start-offset): Delete.
1597         (rcirc-completion-at-point): New function for constructing
1598         completion data for both nicks and irc commands.  Add to
1599         completion-at-point-functions in rcirc mode.
1600         (rcirc-complete): Rename from rcirc-nick-complete; use
1601         rcirc-completion-at-point.
1602         (defun-rcirc-command): Update rcirc-client-commands.
1604 2010-09-11  Glenn Morris  <rgm@gnu.org>
1606         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
1607         atomically, to avoid parallel build errors.  (Bug#4196)
1609 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
1611         * progmodes/sql.el: Version 2.6
1612         (sql-dialect): Synonym for "sql-product".
1613         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
1614         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
1615         Set "sql-buffer" to buffer name not buffer object so multiple sql
1616         interactive buffers work properly.  Reverts misguided changes in
1617         earlier work.
1618         (sql-comint): Make sure different buffer name is used if "*SQL*"
1619         buffer is for a different product.
1620         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
1621         login param.
1622         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
1623         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
1624         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
1625         Accept new buffer name or prompt for one.
1626         (sql-port): Default to zero.
1627         (sql-comint-mysql): Handle "sql-port" as a numeric.
1628         (sql-port-history): Delete unused variable.
1629         (sql-get-login): Default "sql-port" to a number.
1630         (sql-product-alist): Correct Postgres prompt and terminator regexp.
1631         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
1632         "sqlite3" executables.
1633         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
1634         (sql-buffer-live-p): New function.
1635         (sql-mode-menu, sql-send-string): Use it.
1636         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
1637         syntax pattern.
1638         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
1639         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
1641 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1643         * net/netrc.el (netrc-credentials): New convenience function.
1645 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1647         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
1648         to replace texinfo-font-lock-syntactic-keywords.
1649         (texinfo-mode): Use it.
1651         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
1652         Use syntax-propertize-function.
1654         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
1655         replace sgml-font-lock-syntactic-keywords.
1656         (sgml-mode): Use it.
1658         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
1659         since we don't use it.
1661         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
1663         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
1664         if available.
1665         (vhdl-fontify-buffer): Adjust.
1667         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
1668         replace tcl-font-lock-syntactic-keywords.
1669         (tcl-mode): Use it.
1671         * progmodes/simula.el (simula-syntax-propertize-function): New var to
1672         replace simula-font-lock-syntactic-keywords.
1673         (simula-mode): Use it.
1675         * progmodes/sh-script.el (sh-st-symbol): Remove.
1676         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
1677         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
1678         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
1679         (sh-font-lock-paren): Set syntax-multiline.
1680         (sh-font-lock-syntactic-keywords): Remove.
1681         (sh-syntax-propertize-function): New function to replace it.
1682         (sh-mode): Use it.
1684         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
1685         Define while compiling.
1686         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1687         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
1688         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
1689         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1690         (ruby-here-doc-end-syntax): Only define when
1691         syntax-propertize is not available.
1692         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
1693         New functions.
1694         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
1695         (electric-indent-chars): Silence bytecompiler.
1696         (ruby-mode): Use prog-mode, syntax-propertize-function, and
1697         electric-indent-chars.
1699         * progmodes/python.el (python-syntax-propertize-function): New var to
1700         replace python-font-lock-syntactic-keywords.
1701         (python-mode): Use it.
1702         (python-quote-syntax): Simplify and adjust to new use.
1704         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
1705         replace perl-font-lock-syntactic-keywords.
1706         (perl-syntax-propertize-special-constructs): New fun to replace
1707         perl-font-lock-special-syntactic-constructs.
1708         (perl-font-lock-syntactic-face-function): New fun.
1709         (perl-mode): Use it.
1711         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
1712         to replace octave-font-lock-close-quotes.
1713         (octave-syntax-propertize-function): New function to replace
1714         octave-font-lock-syntactic-keywords.
1715         (octave-mode): Use it.
1717         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
1718         replaces mixal-font-lock-syntactic-keywords.
1719         (mixal-mode): Use it.
1721         * progmodes/make-mode.el (makefile-syntax-propertize-function):
1722         New var; replaces makefile-font-lock-syntactic-keywords.
1723         (makefile-mode): Use it.
1724         (makefile-imake-mode): Adjust.
1726         * progmodes/js.el (js--regexp-literal): Define while compiling.
1727         (js-syntax-propertize-function): New var; replaces
1728         js-font-lock-syntactic-keywords.
1729         (js-mode): Use it.
1731         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
1732         replaces gdb-script-font-lock-syntactic-keywords.
1733         (gdb-script-mode): Use it.
1735         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
1736         (fortran--font-lock-syntactic-keywords): New var.
1737         (fortran-line-length): Update syntax-propertize-function and
1738         fortran--font-lock-syntactic-keywords.
1740         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
1742         * progmodes/cfengine.el (cfengine-mode):
1743         Use syntax-propertize-function.
1744         (cfengine-font-lock-syntactic-keywords): Remove.
1746         * progmodes/autoconf.el (autoconf-mode):
1747         Use syntax-propertize-function.
1748         (autoconf-font-lock-syntactic-keywords): Remove.
1750         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
1751         (ada-after-change-function, ada-initialize-syntax-table-properties)
1752         (ada-handle-syntax-table-properties): Only define when
1753         syntax-propertize is not available.
1754         (ada-mode): Use syntax-propertize-function.
1756         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
1757         (font-lock-fontify-syntactic-keywords-region): Move handling of
1758         font-lock-syntactically-fontified to...
1759         (font-lock-default-fontify-region): ...here.
1760         Let syntax-propertize-function take precedence.
1761         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
1763         * emacs-lisp/syntax.el (syntax-propertize-function)
1764         (syntax-propertize-chunk-size, syntax-propertize--done)
1765         (syntax-propertize-extend-region-functions): New vars.
1766         (syntax-propertize-wholelines, syntax-propertize-multiline)
1767         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
1768         (syntax-propertize): New functions.
1769         (syntax-propertize-rules): New macro.
1770         (syntax-ppss-flush-cache): Set syntax-propertize--done.
1771         (syntax-ppss): Call syntax-propertize.
1773         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
1775 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
1777         * textmodes/ispell.el (ispell-init-process): Improve comments.
1778         XEmacs compatibility changes regarding (add-hook) 'local option
1779         and (set-process-query-on-exit-flag).
1781 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
1783         * net/tramp-cache.el (tramp-parse-connection-properties):
1784         Set tramp-autoload cookie.
1786 2010-09-09  Glenn Morris  <rgm@gnu.org>
1788         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
1789         (imagemagick-register-types): Doc fix.
1791 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1793         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
1795         * progmodes/js.el (require): Require is already "eval-and-compile".
1796         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
1797         (js--re-search-backward): Use js--re-search-forward.
1799         * progmodes/fortran.el (fortran-line-length): Don't recompute
1800         syntactic keywords redundantly a second time.
1802         * progmodes/ada-mode.el: Replace "(set '" with setq.
1803         (ada-mode): Simplify.
1804         (ada-create-case-exception, ada-adjust-case-interactive)
1805         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
1806         (ada-search-ignore-string-comment, ada-move-to-start)
1807         (ada-move-to-end): Use with-syntax-table.
1809         * font-lock.el (save-buffer-state): Remove `varlist' arg.
1810         (font-lock-unfontify-region, font-lock-default-fontify-region):
1811         Update usage correspondingly.
1812         (font-lock-fontify-syntactic-keywords-region):
1813         Set parse-sexp-lookup-properties buffer-locally here.
1814         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
1816         * simple.el (blink-matching-open): Don't burp if we can't find a match.
1818 2010-09-08  Glenn Morris  <rgm@gnu.org>
1820         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
1821         Error if not compiled with -DBYTE_CODE_METER.
1823         * emacs-lisp/bytecomp.el (byte-recompile-directory):
1824         Ignore dir-locals-file.
1826 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1828         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1829         Not a const.
1830         (compilation-error-regexp-alist-alist): Rule out ": " in file names
1831         for the `gnu' messages.
1832         (compilation-set-skip-threshold): New command.
1833         (compilation-start): Use \' rather than $.
1834         (compilation-forget-errors): Use clrhash.
1836 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
1838         * textmodes/ispell.el (ispell-valid-dictionary-list):
1839         Simplify logic.
1841 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
1843         Migrate to Tramp 2.2.  Rearrange load dependencies.
1844         (Bug#1529, Bug#5448, Bug#5705)
1846         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
1847         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
1848         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
1850         * net/tramp.el (top): Remove all other tramp-* loads except
1851         tramp-compat.el.  Remove all changes to tramp-unload-hook for
1852         other tramp-* packages.  Rearrange defun order.  Change calls of
1853         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
1854         `tramp-compat-octal-to-decimal' to new function names.
1855         (tramp-terminal-type, tramp-initial-end-of-output)
1856         (tramp-methods, tramp-foreign-file-name-handler-alist)
1857         (tramp-tramp-file-p, tramp-completion-mode-p)
1858         (tramp-send-command-and-check, tramp-get-remote-path)
1859         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
1860         (tramp-shell-quote-argument): Set tramp-autoload cookie.
1861         (with-file-property, with-connection-property): Move to
1862         tramp-cache.el.
1863         (tramp-local-call-process, tramp-decimal-to-octal)
1864         (tramp-octal-to-decimal): Move to tramp-compat.el.
1865         (tramp-handle-shell-command): Do not require 'shell.
1866         (tramp-compute-multi-hops): No special handling for tramp-gw-*
1867         symbols.
1868         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
1870         * net/tramp-cache.el (top): Require 'tramp.  Add to
1871         `tramp-unload-hook'.
1872         (tramp-cache-data, tramp-get-file-property)
1873         (tramp-set-file-property, tramp-flush-file-property)
1874         (tramp-flush-directory-property, tramp-get-connection-property)
1875         (tramp-set-connection-property, tramp-flush-connection-property)
1876         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
1877         cookie.
1878         (with-file-property, with-connection-property): New defuns, moved
1879         from tramp.el.
1880         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
1881         macro.
1883         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
1884         (tramp-version): Set tramp-autoload cookie.
1886         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
1887         changes to tramp-unload-hook for other tramp-* packages.  Add to
1888         `tramp-unload-hook'.
1889         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
1890         (tramp-compat-call-process): New defuns, moved from tramp.el.
1892         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
1893         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
1894         to `tramp-unload-hook'.  Change call of
1895         `tramp-compat-decimal-to-octal' to new function name.
1896         (tramp-fish-method): Make it a defconst.
1897         (tramp-fish-file-name-p): Make it a defsubst.
1898         (tramp-fish-method, tramp-fish-file-name-handler)
1899         (tramp-fish-file-name-p): Set tramp-autoload cookie.
1901         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
1902         `tramp-foreign-file-name-handler-alist'.  Add to
1903         `tramp-unload-hook'.
1904         (tramp-ftp-method): Make it a defconst.
1905         (tramp-ftp-file-name-p): Make it a defsubst.
1906         (tramp-ftp-method, tramp-ftp-file-name-handler)
1907         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
1909         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
1910         `tramp-foreign-file-name-handler-alist'.  Add to
1911         `tramp-unload-hook'.  Change checks, whether package can be
1912         loaded.
1913         (tramp-gvfs-file-name-p): Make it a defsubst.
1914         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
1915         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
1916         (tramp-gvfs-handle-file-directory-p): New defun.
1917         (tramp-gvfs-file-name-handler-alist): Use it.
1919         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
1920         `tramp-foreign-file-name-handler-alist'.  Add to
1921         `tramp-unload-hook'.
1922         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
1923         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
1924         defconst.
1925         (tramp-gw-tunnel-method, tramp-gw-socks-method)
1926         (tramp-gw-open-connection): Set tramp-autoload cookie.
1928         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
1929         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
1930         to `tramp-unload-hook'.  Change checks, whether package can be
1931         loaded.
1932         (tramp-imap-file-name-p): Make it a defsubst.
1933         (tramp-imap-method, tramp-imaps-method)
1934         (tramp-imap-file-name-handler)
1935         (tramp-imap-file-name-p): Set tramp-autoload cookie.
1937         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
1938         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
1939         to `tramp-unload-hook'.  Change checks, whether package can be
1940         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
1941         function name.
1942         (tramp-smb-tunnel-method): Make it a defconst.
1943         (tramp-smb-file-name-p): Make it a defsubst.
1944         (tramp-smb-method, tramp-smb-file-name-handler)
1945         (tramp-smb-file-name-p): Set tramp-autoload cookie.
1947         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
1948         (tramp-uuencode-region): Set tramp-autoload cookie.
1950         * net/trampver.el (top) Add to `tramp-unload-hook'.
1951         (tramp-version, tramp-bug-report-address): Set tramp-autoload
1952         cookie.  Update release number.
1954 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
1956         * textmodes/ispell.el (ispell-start-process): Make sure original
1957         arg list is properly initialized (Bug#6993, Bug#6994).
1959 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
1961         * files.el (directory-abbrev-alist): Use \` as default regexp.
1963         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
1964         chars like - or ] (bug#6984).
1965         (rx-any-condense-range): Explode 2-char ranges.
1967 2010-09-06  Glenn Morris  <rgm@gnu.org>
1969         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
1971 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1973         * textmodes/bibtex.el:
1974         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
1976 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1978         * net/imap.el (imap-message-map): Remove optional buffer parameter,
1979         since no callers use it.
1980         (imap-message-get): Ditto.
1981         (imap-message-put): Ditto.
1982         (imap-mailbox-map): Ditto.
1983         (imap-mailbox-put): Ditto.
1984         (imap-mailbox-get): Ditto.
1985         (imap-mailbox-get): Revert last change for this function.
1987 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1989         * net/imap.el (imap-fetch-safe): Remove function, and alter all
1990         callers to use `imap-fetch' instead.  According to the comments, this
1991         should be safe, since all other IMAP clients use the 1:* syntax.
1992         (imap-enable-exchange-bug-workaround): Remove.
1993         (imap-debug): Remove -- doesn't seem very useful.
1995 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1997         * net/imap.el (imap-log): New convenience function used throughout
1998         instead of repeating the same code all over the place.
2000 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
2002         * mouse.el (mouse-save-then-kill): Save region to kill-ring
2003         when mouse-drag-copy-region is non-nil (Bug#6956).
2005 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
2007         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
2008         Improve regexps (Bug#6987).
2009         (dired-sort-toggle): Search more robustly for -t flag.
2011         * files.el (get-free-disk-space): Search more robustly for
2012         "available" column.  Suggested by Ehud Karni
2013         <ehud@unix.mvs.co.il>.
2015 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
2017         * international/uni-bidi.el:
2018         * international/uni-category.el:
2019         * international/uni-combining.el:
2020         * international/uni-decimal.el:
2021         * international/uni-mirrored.el:
2022         * international/uni-name.el: Regenerate.
2024 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2026         * electric.el (electric-indent-post-self-insert-function):
2027         Don't reindent with a sloppy indentation function.
2029         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
2030         border case in change-log-mode.
2032 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
2034         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2035         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
2036         Recognize leading tab in gcc-include regexp.  Ignore names with
2037         leading "from" or "in" in gnu regexp (Bug#6937).
2039 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2041         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
2042         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
2043         (ispell-start-process): Avoid setq and simplify logic.
2044         (ispell-init-process): Setup kill-buffer-hook locally when needed.
2045         (kill-buffer-hook): Don't use it globally with code that uses
2046         expand-file-name since that may call kill-buffer via
2047         code_conversion_restore.
2049 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
2051         * emacs-lisp/package.el (package-directory-list): Only call
2052         file-name-nondirectory on a string.
2054 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
2056         * emacs-lisp/package.el (package--download-one-archive):
2057         Ensure that archive-contents is valid before saving it.
2058         (package-activate-1, package-mark-obsolete, define-package)
2059         (package-compute-transaction, package-list-maybe-add): Use push.
2061 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2063         Use SMIE's blink-paren for octave-mode.
2064         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
2065         Backslashes do not escape single-quotes, single-quotes do.
2066         (octave-block-else-regexp, octave-block-end-regexp)
2067         (octave-block-match-alist): Remove.
2068         (octave-smie-bnf-table): New var, with old content.
2069         (octave-smie-op-levels): Use it.
2070         (octave-smie-closer-alist): New var.
2071         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
2072         (octave-blink-matching-block-open): Remove.
2073         (octave-reindent-then-newline-and-indent, octave-electric-semi)
2074         (octave-electric-space): Let self-insert-command run expand-abbrev and
2075         blink parens.
2077         * electric.el (electricity): New group.
2078         (electric-indent-chars): New var.
2079         (electric-indent-post-self-insert-function): New fun.
2080         (electric-indent-mode): New minor mode.
2081         (electric-pair-skip-self): New custom.
2082         (electric-pair-post-self-insert-function): New function.
2083         (electric-pair-mode): New minor mode.
2085         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
2086         calcAlg-blink-matching-open.
2087         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
2088         (calc-do-alg-entry): Only touch the part of the keymap that varies.
2089         Use the new blink-matching-check-function.
2091         Provide blink-matching support to SMIE.
2092         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
2093         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
2094         (smie-blink-matching-check, smie-blink-matching-open): New functions.
2096         * simple.el (newline): Fix last change to properly remove itself from
2097         the hook.
2099 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2101         * simple.el (newline): Eliminate optimization.
2102         Use post-self-insert-hook to set hard-newline and things before
2103         running post-self-insert-hook.
2104         (blink-matching-check-mismatch): New function.
2105         (blink-matching-check-function): New variable.
2106         (blink-matching-open): Use them.
2107         Skip back forward over prefix chars skipped by forward-sexp.
2108         Don't check if the parens are backslash escaped.
2109         (blink-paren-post-self-insert-function): Check backslash escaping here.
2111 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
2113         * emacs-lisp/package.el (package-menu-mode-map):
2114         Change package-menu-revert bindings to revert-buffer.
2115         (package-menu-mode): Set revert-buffer-function.
2116         (package-menu-revert): Doc fix.
2118 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
2120         * textmodes/ispell.el (ispell-init-process): Use "~/" as
2121         `default-directory' unless using Ispell per-directory personal
2122         dictionaries and not in a mini-buffer under XEmacs.
2123         (kill-buffer-hook): Do not kill ispell process on exit when
2124         `ispell-process-directory' is "~/".  (Bug#6143)
2126 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
2128         * simple.el (kill-new): Call interprogram-cut-function with only
2129         one argument.
2131         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
2132         Remove cut buffer from error message.
2134         * term/x-win.el (x-select-text):
2135         * term/pc-win.el (x-selection-value):
2136         * term/ns-win.el (x-selection-value):
2137         * eshell/em-term.el:
2138         * w32-fns.el (x-get-selection-value):
2139         * mouse-sel.el (mouse-sel-set-selection-function):
2140         * frame.el (display-selections-p): Remove cut-buffer in documentation.
2142         * term/x-win.el: Update documentation for x-last-selected-text-*.
2143         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
2144         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
2145         (x-select-text): Remove argument PUSH, update documentation.  Remove
2146         cut-buffer code.
2147         (x-selection-value-internal): Was previously x-selection-value.
2148         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
2149         Update documentation, remove cut-buffer code.  Call
2150         x-selection-value-internal.
2151         (x-clipboard-yank): Call x-selection-value-internal.
2152         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
2154         * term/pc-win.el (x-last-selected-text):
2155         x-cut-buffer-or-selection-value renamed to x-selection-value
2156         (x-select-text): Remove argument PUSH, update documentation.
2158         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
2159         x-cut-buffer-or-selection-value renamed to x-selection-value
2160         (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
2161         (x-select-text): Remove argument PUSH, update documentation.
2163         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
2165         * w32-fns.el (x-last-selected-text):
2166         x-cut-buffer-or-selection-value renamed to x-selection-value.
2167         (x-cut-buffer-max): Remove.
2168         (x-select-text): Remove argument PUSH, update documentation.
2170         * simple.el (interprogram-cut-function): Remove mention of PUSH.
2172         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
2174         * mouse-sel.el (mouse-sel-get-selection-function):
2175         x-cut-buffer-or-selection-value renamed to x-selection-value.
2176         (x-select-text): Remove optional push.
2178 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2180         * simple.el (blink-paren-function): Move from C to here.
2181         (blink-paren-post-self-insert-function): New function.
2182         (post-self-insert-hook): Use it.
2184         * emacs-lisp/pcase.el (pcase-split-memq):
2185         Fix overenthusiastic optimisation.
2186         (pcase-u1): Handle the case of a lambda pred.
2188 2010-08-31  Kenichi Handa  <handa@m17n.org>
2190         * international/mule-cmds.el (standard-display-european-internal):
2191         Setup standard-display-table for 8-bit characters by storing 8-bit
2192         characters in the element vector.
2194         * disp-table.el (standard-display-8bit):
2195         Setup standard-display-table for 8-bit characters by storing 8-bit
2196         characters in the element vector.
2197         (standard-display-european): Likewise.
2199 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
2201         * textmodes/nroff-mode.el (nroff-view): New command.
2202         (nroff-mode-map): Bind it to C-c C-c.
2204 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2206         * emacs-lisp/smie.el (smie-down-list): New command.
2208         Remove old indentation and navigation code on octave-mode.
2209         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
2210         smie-down-list rather than add a binding for octave-down-block.
2211         (octave-mark-block, octave-blink-matching-block-open):
2212         Rely on forward-sexp-function.
2213         (octave-fill-paragraph): Don't narrow, so you can use
2214         indent-according-to-mode.
2215         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
2216         (octave-in-block-p, octave-re-search-forward-kw)
2217         (octave-re-search-backward-kw, octave-indent-calculate)
2218         (octave-end-as-array-index-p, octave-block-end-offset)
2219         (octave-scan-blocks, octave-forward-block, octave-backward-block)
2220         (octave-down-block, octave-backward-up-block, octave-up-block)
2221         (octave-before-magic-comment-p, octave-indent-line): Remove.
2223 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
2225         * emacs-lisp/package.el (package--read-archive-file): Just use
2226         `read', to avoid copying an additional string.
2227         (package-menu-mode): Set header-line-format here.
2228         (package-menu-refresh, package-menu-revert): Signal an error if
2229         not in the Package Menu.
2230         (package-menu-package-list): New var.
2231         (package--generate-package-list): Operate on the current buffer;
2232         don't assume that it is *Packages*, since the user may rename it.
2233         Allow persistent package listings and sort keys using
2234         package-menu-package-list and package-menu-package-sort-key.
2235         (package-menu--version-predicate): Fix version calculation.
2236         (package-menu-sort-by-column): Don't select the window.
2237         (package--list-packages): Create the *Packages* buffer.
2238         Set package-menu-package-list-key.
2239         (list-packages): Sorting by status is now the default.
2240         (package-buffer-info): Use match-string-no-properties.
2241         (define-package): Add a &rest argument for future proofing, but
2242         don't use it yet.
2243         (package-install-from-buffer, package-install-buffer-internal):
2244         Merge into a single function, package-install-from-buffer.
2245         (package-install-file): Change caller.
2247         * finder.el: Load finder-inf using `require'.
2248         (finder-list-matches): Sorting by status is now the default.
2249         (finder-compile-keywords): Simpify printing.
2251 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2253         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
2254         (octave-mode-map): Remove special bindings for forward/backward-block
2255         and octave-backward-up-block.  Use smie-close-block.
2256         (octave-continuation-marker-regexp): New var.
2257         (octave-continuation-regexp): Use it.
2258         (octave-operator-table, octave-smie-op-levels)
2259         (octave-operator-regexp, octave-smie-indent-rules): New vars.
2260         (octave-smie-backward-token, octave-smie-forward-token): New funs.
2261         (octave-mode): Use SMIE.
2262         (octave-close-block): Delete.
2264 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
2266         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
2267         CLIPBOARD, not in PRIMARY.  (Bug#6944)
2269 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2271         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
2272         a list of parents.
2273         (smie-indent-column): Allow indirection through variables.
2275         * composite.el (save-buffer-state): Delete, unused.
2276         * font-lock.el (save-buffer-state): Use with-silent-modifications.
2277         (font-lock-default-fontify-region): Use with-syntax-table.
2278         * jit-lock.el (with-buffer-unmodified): Remove.
2279         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
2281         Use `declare' in defmacros.
2282         * window.el (save-selected-window):
2283         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
2284         * progmodes/python.el (def-python-skeleton):
2285         * net/dbus.el (dbus-ignore-errors):
2286         * jka-cmpr-hook.el (with-auto-compression-mode):
2287         * international/mule.el (with-category-table):
2288         * emacs-lisp/timer.el (with-timeout):
2289         * emacs-lisp/lisp-mnt.el (lm-with-file):
2290         * emacs-lisp/eieio.el (with-slots):
2291         * emacs-lisp/easymenu.el (easy-menu-define):
2292         * emacs-lisp/debug.el (debugger-env-macro):
2293         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
2294         (Multiple-value-call, Multiple-value-prog1):
2295         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
2296         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
2297         edebug rule to definition.
2298         * emacs-lisp/lisp-mode.el (save-selected-window)
2299         (with-current-buffer, combine-after-change-calls)
2300         (with-output-to-string, with-temp-file, with-temp-buffer)
2301         (with-temp-message, with-syntax-table, read-if, eval-after-load)
2302         (dolist, dotimes, when, unless):
2303         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
2305 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
2307         * finder.el: Require `package'.
2308         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
2309         (finder-package-info): Var deleted.
2310         (finder-keywords-hash, finder--builtins-alist): New vars.
2311         (finder-compile-keywords): Compute package--builtins and
2312         finder-keywords-hash instead of finder-keywords-hash, respecting
2313         the "Package" header.
2314         (finder-unknown-keywords, finder-list-matches):
2315         Use finder-keywords-hash and package--list-packages.
2316         (finder-mode): Don't set font-lock-defaults.
2317         (finder-exit): We don't use "*Finder-package*" and "*Finder
2318         Category*" buffers anymore.
2320         * emacs-lisp/package.el (package--builtins-base): Var deleted.
2321         (package--builtins): Set default value to nil.
2322         (package-initialize): Load precomputed value of package--builtins
2323         from finder-inf.el.
2324         (package-alist, package-compute-transaction)
2325         (package-download-transaction): Improve docstring.
2326         (package-read-all-archive-contents): Do not change
2327         package--builtins here.
2328         (list-packages): Make package-list-packages an alias for this.
2329         Sort by status by default.
2330         (package--list-packages): Add optional PACKAGES arg.
2331         (describe-package-1): Use font-lock-face property.  For built-in
2332         packages, insert file commentary.
2333         (package--generate-package-list): Rename from
2334         package-list-packages-internal; all callers changed.  Add optional
2335         PACKAGES arg.  Add alphabetical sort fallbacks.
2336         (package-menu--version-predicate, package-menu--status-predicate)
2337         (package-menu--description-predicate)
2338         (package-menu--name-predicate): New functions.
2340         * info.el (Info-finder-find-node): Search package-alist instead of
2341         finder-package-info.
2343 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
2345         * subr.el (version-regexp-alist): Don't use "a" and "b" for
2346         "alpha" and "beta".
2347         (version-to-list): Handle versions like "10.3d".
2349 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2351         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
2352         (macroexp-accumulate): Use `declare'.
2354 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2356         * whitespace.el (whitespace-style): Adjust type declaration.
2358 2010-08-26  Magnus Henoch  <magnus.henoch@gmail.com>
2360         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
2361         empty argument to gvfs-copy.
2363 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
2365         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
2366         handle new TRASH arg of `delete-file'.
2368 2010-08-26  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
2370         * net/tramp.el (tramp-handle-insert-directory): Don't use
2371         `forward-word', its default syntax could be changed.
2373 2010-08-26  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
2374             Michael Albinus  <michael.albinus@gmx.de>
2376         Implement compression for inline methods.
2378         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
2379         (tramp-copy-size-limit): Allow also nil.
2380         (tramp-inline-compress-commands): New defconst.
2381         (tramp-find-inline-compress, tramp-get-inline-compress)
2382         (tramp-get-inline-coding): New defuns.
2383         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
2384         replaced by `tramp-get-inline-coding'.
2385         (tramp-handle-file-local-copy, tramp-handle-write-region)
2386         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
2388 2010-08-26  Noah Lavine  <noah549@gmail.com>  (tiny change)
2390         Detect ssh 'ControlMaster' argument automatically in some cases.
2392         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
2393         (tramp-default-method): Use it.
2395 2010-08-26  Karel Klíč  <kklic@redhat.com>
2397         * net/tramp.el (tramp-file-name-for-operation):
2398         Add file-selinux-context.
2400 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
2402         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
2404 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
2406         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
2407         (Bug#6907).
2409 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
2411         * progmodes/js.el: Make indentation more customizable (Bug#6914).
2412         (js-paren-indent-offset, js-square-indent-offset)
2413         (js-curly-indent-offset): New options.
2414         (js--proper-indentation): Use them.
2416 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
2418         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
2419         instead of inspecting font-lock properties (Bug#6916).
2421 2010-08-26  David Reitter  <david.reitter@gmail.com>
2423         * server.el (server-visit-files): Run pre-command-hook and
2424         post-command-hook for each buffer while it is current (Bug#6910).
2425         (server-execute): Do not run hooks here.
2427 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
2429         Sync with Tramp 2.1.19.
2431         * net/tramp-cmds.el (tramp-cleanup-all-connections)
2432         (tramp-reporter-dump-variable, tramp-load-report-modules)
2433         (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
2434         (tramp-bug): Recommend setting of `tramp-verbose' to 9.
2436         * net/tramp-compat.el (top): Do not autoload
2437         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
2438         only when `start-file-process' is not bound.
2439         (byte-compile-not-obsolete-vars): Define if not bound.
2440         (tramp-compat-funcall): New defmacro.
2441         (tramp-compat-line-beginning-position)
2442         (tramp-compat-line-end-position)
2443         (tramp-compat-temporary-file-directory)
2444         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
2445         (tramp-compat-copy-file, tramp-compat-copy-directory)
2446         (tramp-compat-delete-file, tramp-compat-delete-directory)
2447         (tramp-compat-number-sequence, tramp-compat-process-running-p):
2448         Use it.
2449         (tramp-advice-file-expand-wildcards): Do not use
2450         `tramp-handle-file-remote-p'.
2451         (tramp-compat-make-temp-file): Simplify fallback implementation.
2452         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
2453         (tramp-compat-copy-tree): Remove function.
2454         (tramp-compat-delete-file): New defun.
2455         (tramp-compat-delete-directory): Provide implementation for older
2456         Emacsen.
2457         (tramp-compat-file-attributes): Handle only
2458         `wrong-number-of-arguments' error.
2460         * net/tramp-fish.el (tramp-fish-handle-copy-file):
2461         Add PRESERVE_SELINUX_CONTEXT.
2462         (tramp-fish-handle-delete-file): Add TRASH arg.
2463         (tramp-fish-handle-directory-files-and-attributes):
2464         Do not use `tramp-fish-handle-file-attributes.
2465         (tramp-fish-handle-file-local-copy)
2466         (tramp-fish-handle-insert-file-contents)
2467         (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
2469         * net/tramp-gvfs.el (top): Require url-util.
2470         (tramp-gvfs-mount-point): Remove.
2471         (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
2472         and `set-file-selinux-context'.
2473         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
2474         (tramp-gvfs-handle-file-selinux-context)
2475         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
2476         (with-tramp-dbus-call-method): Format trace message.
2477         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
2478         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
2479         Implement backup call, when operation on local files fails.
2480         Use progress reporter.  Flush properties of changed files.
2481         (tramp-gvfs-handle-delete-file): Add TRASH arg.  Use
2482         `tramp-compat-delete-file'.
2483         (tramp-gvfs-handle-expand-file-name): Expand "~/".
2484         (tramp-gvfs-handle-make-directory): Make more traces.
2485         (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
2486         (tramp-gvfs-url-file-name): Hexify file name in url.
2487         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
2488         into account for the resulting file name.
2489         (tramp-gvfs-handler-askquestion): Preserve current message, in
2490         order to let progress reporter continue afterwards.  (Bug#6257)
2491         Return dummy mountpoint, when the answer is "no".
2492         See `tramp-gvfs-maybe-open-connection'.
2493         (tramp-gvfs-handler-mounted-unmounted)
2494         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
2495         attribute "default_location".  Set "prefix" property.
2496         Handle default-location.
2497         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
2498         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
2499         exists.  Raise an error, if not (due to a corresponding answer
2500         "no" in interactive questions, for example).
2501         Use `tramp-compat-funcall'.
2503         * net/tramp-imap.el (top): Autoload `epg-make-context'.
2504         (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
2505         (tramp-imap-do-copy-or-rename-file)
2506         (tramp-imap-handle-insert-file-contents)
2507         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
2508         (tramp-imap-handle-delete-file): Add TRASH arg.
2510         * net/tramp-smb.el (tramp-smb-handle-copy-file):
2511         Add PRESERVE-SELINUX-CONTEXT.
2512         (tramp-smb-handle-copy-file)
2513         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
2514         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
2515         Use `with-progress-reporter'.
2516         (tramp-smb-handle-delete-file): Add TRASH arg.
2518         * net/tramp.el (tramp-methods): Move hostname to the end in all
2519         ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
2520         appropriate.
2521         (tramp-verbose): Describe verbose level 9.
2522         (tramp-completion-function-alist)
2523         (tramp-file-name-regexp, tramp-chunksize)
2524         (tramp-local-coding-commands, tramp-remote-coding-commands)
2525         (with-connection-property, tramp-completion-mode-p)
2526         (tramp-action-process-alive, tramp-action-out-of-band)
2527         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
2528         (tramp-exists-file-name-handler): Fix docstring.
2529         (tramp-remote-process-environment): Use `format' instead of
2530         `concat'.  Protect version string by apostroph.
2531         (tramp-shell-prompt-pattern): Do not use a shy group in case of
2532         XEmacs.
2533         (tramp-file-name-regexp-unified)
2534         (tramp-completion-file-name-regexp-unified): On W32 systems, do
2535         not regard the volume letter as remote filename.  (Bug#5447)
2536         (tramp-perl-file-attributes)
2537         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
2538         (tramp-vc-registered-read-file-names): Read input as
2539         here-document, otherwise the command could exceed maximum length
2540         of command line.
2541         (tramp-file-name-handler-alist): Add `file-selinux-context' and
2542         `set-file-selinux-context'.
2543         (tramp-debug-message): Add `tramp-compat-funcall' to ignored
2544         backtrace functions.
2545         (tramp-error-with-buffer): Don't show the connection buffer when
2546         we are in completion mode.
2547         (tramp-progress-reporter-update, tramp-remote-selinux-p)
2548         (tramp-handle-file-selinux-context)
2549         (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
2550         (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
2551         New defuns.
2552         (with-progress-reporter): New defmacro.
2553         (tramp-debug-outline-regexp): New defconst.
2554         (top, tramp-rfn-eshadow-setup-minibuffer)
2555         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
2556         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
2557         (tramp-completion-mode-p, tramp-check-for-regexp)
2558         (tramp-open-connection-setup-interactive-shell)
2559         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
2560         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
2561         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
2562         Use `tramp-compat-funcall'.
2563         (tramp-handle-make-symbolic-link): Flush file properties.
2564         (tramp-handle-load, tramp-handle-file-local-copy)
2565         (tramp-handle-insert-file-contents, tramp-handle-write-region)
2566         (tramp-handle-vc-registered, tramp-maybe-send-script)
2567         (tramp-find-shell): Use `with-progress-reporter'.
2568         (tramp-do-file-attributes-with-stat): Add space in format string,
2569         in order to work around a bug in pdksh.  Reported by Gilles Pion
2570         <gpion@lfdj.com>.
2571         (tramp-handle-verify-visited-file-modtime): Do not send a command
2572         when the connection is not established.
2573         (tramp-handle-set-file-times): Simplify the check for utc.
2574         (tramp-handle-directory-files-and-attributes)
2575         (tramp-get-remote-path): Use `copy-tree'.
2576         (tramp-completion-handle-file-name-all-completions): Ensure, that
2577         non remote files are still checked.  Oops.
2578         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
2579         Handle PRESERVE-SELINUX-CONTEXT.
2580         (tramp-do-copy-or-rename-file): Add progress reporter.
2581         (tramp-do-copy-or-rename-file-directly): Do not use
2582         `tramp-handle-file-remote-p'.
2583         (tramp-do-copy-or-rename-file-out-of-band):
2584         Use `tramp-compat-delete-directory'.
2585         (tramp-do-copy-or-rename-file-out-of-band)
2586         (tramp-compute-multi-hops, tramp-maybe-open-connection):
2587         Use `format-spec-make'.
2588         (tramp-handle-delete-file): Add TRASH arg.
2589         (tramp-handle-dired-uncache): Flush directory cache, not only file
2590         cache.
2591         (tramp-handle-expand-file-name)
2592         (tramp-completion-handle-file-name-all-completions)
2593         (tramp-completion-handle-file-name-completion):
2594         Use `tramp-connectable-p'.
2595         (tramp-handle-start-file-process): Set connection property "vec".
2596         Use it, in order to invalidate file caches.  Check only for
2597         `remote-tty' process property.
2598         Implement tty setting.  (Bug#4604, Bug#6360)
2599         (tramp-file-name-for-operation): Add `call-process-region' and
2600         `set-file-selinux-context'.
2601         (tramp-find-foreign-file-name-handler)
2602         (tramp-advice-make-auto-save-file-name)
2603         (tramp-set-auto-save-file-modes): Remove superfluous check for
2604         `stringp'.  This is done inside `tramp-tramp-file-p'.
2605         (tramp-file-name-handler): Trace 'quit.  Catch the error for some
2606         operations when we are in completion mode.  This gives the user
2607         the chance to correct the file name in the minibuffer.
2608         (tramp-completion-mode-p): Use `non-essential'.
2609         (tramp-handle-file-name-all-completions): Backward/ XEmacs
2610         compatibility: Use `completion-ignore-case' if
2611         `read-file-name-completion-ignore-case' does not exist.
2612         (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
2613         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2614         `tramp-open-shell'.
2615         (tramp-action-password): Hide password prompt before next run.
2616         (tramp-process-actions): Widen connection buffer for the trace.
2617         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
2618         process property.  Trace stty settings if `tramp-verbose' >= 9.
2619         Apply workaround for IRIX64 bug.  Move argument of last
2620         `tramp-send-command' where it belongs to.
2621         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
2622         front of `login-args'.
2623         (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
2624         on "/dev/null" instead of "/".
2625         (tramp-get-ls-command-with-dired): Make test for "--dired"
2626         stronger.
2627         (tramp-set-auto-save-file-modes): Adapt version check.
2628         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
2629         (tramp-handle-process-file): Call the program in a subshell, in
2630         order to preserve working directory.
2631         (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
2632         `tramp-remote-sh' from `tramp-methods'.
2633         (tramp-get-ls-command): Make test for "--color=never" stronger.
2634         (tramp-check-for-regexp): Use (forward-line 1).
2636         * net/trampver.el: Update release number.
2638 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
2640         * help.el (help-map): Bind `C-h P' to describe-package.
2642         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
2644         * emacs-lisp/package.el (package-refresh-contents): Catch errors
2645         when downloading archives.
2646         (describe-package-1): Add package commentary.
2647         (package-install-button-action): New function.
2648         (package-menu-mode-map): Bind ? to package-menu-describe-package.
2649         (package-menu-view-commentary): Function removed.
2650         (package-list-packages-internal): Hide the `package' package too.
2652 2010-08-25  Kenichi Handa  <handa@m17n.org>
2654         * language/misc-lang.el ("Arabic"): New language environment.
2655         Setup composition-function-table for Arabic characters.
2657         * international/fontset.el (setup-default-fontset): Fix typo for
2658         arabic OTF spec (fini->fina).
2660 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
2662         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
2663         on all frames.
2665 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2667         * whitespace.el: Allow cleaning up blanks without blank
2668         visualization (Bug#6651).  Adjust help window for
2669         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
2670         instead of whitespace-line-column (from EmacsWiki).  New version
2671         13.1.
2672         (whitespace-style): Added new value 'face.  Adjust docstring.
2673         (whitespace-space, whitespace-hspace, whitespace-tab): Adjust
2674         foreground property face.
2675         (whitespace-line-column): Adjust docstring and type declaration.
2676         (whitespace-style-value-list, whitespace-toggle-option-alist)
2677         (whitespace-help-text): Adjust const initialization.
2678         (whitespace-toggle-options, global-whitespace-toggle-options):
2679         Adjust docstring.
2680         (whitespace-display-window, whitespace-interactive-char)
2681         (whitespace-style-face-p, whitespace-color-on): Adjust code.
2682         (whitespace-help-scroll): New fun.
2684 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
2686         * emacs-lisp/package.el (list-packages): Alias for
2687         package-list-packages.
2689 2010-08-24  Kevin Ryde  <user42@zip.com.au>
2691         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
2692         (Bug#5651).
2694         * progmodes/ruby-mode.el (ruby): Add defgroup.
2696 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
2698         * progmodes/python.el: Add Ipython support (Bug#5390).
2699         (python-shell-prompt-alist)
2700         (python-shell-continuation-prompt-alist): New options.
2701         (python--set-prompt-regexp): New function.
2702         (inferior-python-mode, run-python, python-shell): Require
2703         ansi-color.  Use python--set-prompt-regexp to set the comint
2704         prompt based on the Python interpreter.
2705         (python--prompt-regexp): New var.
2706         (python-check-comint-prompt)
2707         (python-comint-output-filter-function): Use it.
2708         (run-python): Use a pipe (Bug#5694).
2710 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
2712         * progmodes/python.el (python-send-region): Send a different
2713         Python command if Ipython is in use.
2714         (python-check-version): Use a Python command to find the version.
2716 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
2718         * mouse.el (mouse-yank-primary): Avoid setting primary when
2719         deactivating the mark (Bug#6872).
2721 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
2723         * progmodes/python.el (python-block-pairs): Allow use of "finally"
2724         with "else" (Bug#3991).
2726 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
2728         * net/dbus.el: Accept UNIX domain sockets as bus address.
2729         (top): Don't initialize `dbus-registered-objects-table' anymore,
2730         this is done in dbusbind,c.
2731         (dbus-check-event): Adapt test for bus.
2732         (dbus-return-values-table, dbus-unregister-service)
2733         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
2734         Adapt doc string.
2736 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
2738         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
2740 2010-08-22  Juri Linkov  <juri@jurta.org>
2742         * simple.el (read-extended-command): New function with the logic
2743         for `completing-read' moved to Elisp from `execute-extended-command'.
2744         Use `function-called-at-point' in `minibuffer-default-add-function'
2745         to get a command name for M-n (bug#5364, bug#5214).
2747 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
2749         * startup.el (command-line-1): Issue warning for ignored arguments
2750         --unibyte, etc (Bug#6886).
2752 2010-08-22  Leo  <sdl.web@gmail.com>
2754         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
2755         (ignore, bright, dim, keyword): Split list of nicknames before
2756         passing to rcirc-add-or-remove (Bug#6894).
2758 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
2760         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
2762 2010-08-22  Leo  <sdl.web@gmail.com>
2764         Fix buffer-list rename&refresh after killing a buffer in ido.
2765         * ido.el: Revert Óscar's.
2766         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
2767         Remember the buffers at head, rather than their name.
2768         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
2770 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
2771             Stefan Monnier  <monnier@iro.umontreal.ca>
2773         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
2774         extra backslash added to each line (bug#6890).
2776 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2778         * subr.el (read-key): Don't echo keystrokes (bug#6883).
2780 2010-08-22  Glenn Morris  <rgm@gnu.org>
2782         * menu-bar.el (menu-bar-games-menu): Add landmark.
2784 2010-08-22  Glenn Morris  <rgm@gnu.org>
2786         * align.el (align-regexp): Make group and spacing arguments
2787         use the interactive defaults when non-interactive.  (Bug#6698)
2789         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
2790         expansion, so as not to need sendmail.
2791         (mail-text-start): Remove declaration.
2792         (rmail-retry-failure): Require sendmail.
2794 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
2796         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
2798 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
2800         * progmodes/flymake.el (flymake-start-syntax-check-process):
2801         Use `start-file-process' in order to let it run also on remote hosts.
2803 2010-08-22  Kenichi Handa  <handa@m17n.org>
2805         * files.el: Add `word-wrap' as safe local variable.
2807 2010-08-22  Glenn Morris  <rgm@gnu.org>
2809         * woman.el (woman-translate): Case matters.  (Bug#6849)
2811 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
2813         * simple.el (kill-region): Doc fix (Bug#6787).
2815 2010-08-22  Glenn Morris  <rgm@gnu.org>
2817         * calendar/diary-lib.el (diary-header-line-format):
2818         Fit it to the window, not the frame.
2820 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
2822         * subr.el (ignore-errors): Add debug declaration.
2824 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
2826         * whitespace.el (whitespace-color-off): Remove post-command-hook
2827         locally.
2829 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2831         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
2833 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
2835         * cus-edit.el (custom-group-value-create): Add extra newline
2836         before end line (Bug#6876).
2838 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
2840         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
2841         when extending it.  Before killing on the second click, check if
2842         the buffer is the correct one.  Doc fix.
2843         (mouse-secondary-save-then-kill): Allow usage without first
2844         calling mouse-start-secondary, by defaulting to point.  Don't save
2845         an empty secondary selection.  Doc fix.
2847 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2849         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
2850         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
2851         New version 13.0.
2852         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
2853         Adjust initialization.
2854         (whitespace-bob-marker, whitespace-eob-marker)
2855         (whitespace-buffer-changed): New vars.
2856         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
2857         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
2858         (whitespace-post-command-hook, whitespace-display-char-on):
2859         Adjust code.
2860         (whitespace-looking-back, whitespace-buffer-changed): New funs.
2861         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
2863 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2865         * files.el (locate-file-completion-table): Only list the .el and .elc
2866         extensions if there's no other choice (bug#5955).
2868         * facemenu.el (facemenu-self-insert-data): New var.
2869         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
2870         New functions.
2871         (facemenu-add-face): Use them.
2873         * simple.el (blink-matching-open): Obey forward-sexp-function.
2875 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2877         * simple.el (prog-mode-map): New var.
2878         (prog-indent-sexp): New command.
2880         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
2882         * progmodes/prolog.el (smie): Require.
2884         * emacs-lisp/smie.el (smie-default-backward-token)
2885         (smie-default-forward-token): Strip properties.
2886         (smie-next-sexp): Be more careful with associative operators.
2887         (smie-forward-sexp-command): Generalize.
2888         (smie-backward-sexp-command): Simplify.
2889         (smie-closer-alist): New var.
2890         (smie-close-block): New command.
2891         (smie-indent-debug-log): New var.
2892         (smie-indent-offset-rule): Add a few more cases.
2893         (smie-indent-column): New function.
2894         (smie-indent-after-keyword): Use it.
2895         (smie-indent-keyword): Use it.
2896         Fix up the opener code's point position.
2897         (smie-indent-comment): Only applies at BOL.
2898         (smie-indent-debug): New command.
2900         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
2901         declarations that are useful before running the macro.
2903 2010-08-18  Joakim Verona  <joakim@verona.se>
2905         * image.el (imagemagick-types-inhibit): New variable.
2906         (imagemagick-register-types): New function.
2907         * image-mode.el (image-transform-properties): New function.
2908         (image-transform-set-scale, image-transform-fit-to-height)
2909         (image-transform-set-rotation, image-transform-set-resize)
2910         (image-transform-fit-to-width, image-transform-fit-to-height):
2911         New functions.
2912         (image-toggle-display-image): Support image transforms.
2914 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
2916         * image.el (create-animated-image): Don't add heuristic mask to image
2917         (Bug#6839).
2919 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
2921         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
2922         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
2924 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2926         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
2928         Font-lock '...' strings, plus various simplifications and fixes.
2929         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
2930         (octave-font-lock-close-quotes): New function.
2931         (octave-font-lock-syntactic-keywords): New var.
2932         (octave-mode): Use it.  Set beginning-of-defun-function.
2933         (octave-mode-map): Don't override the <foo>-defun commands.
2934         (octave-mode-menu): Pass it directly to easy-menu-define;
2935         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
2936         (octave-block-match-alist): Fix up last change so that
2937         octave-close-block uses the more specific keyword.
2938         (info-lookup-mode): Silence byte-compiler.
2939         (octave-beginning-of-defun): Not interactive any more.
2940         Optimize slightly.
2941         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
2942         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
2943         (octave-completion-at-point-function): Make sure point is within
2944         beg..end.
2945         (octave-reindent-then-newline-and-indent):
2946         Use reindent-then-newline-and-indent.
2947         (octave-add-octave-menu): Remove.
2949 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
2951         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
2952         (report-emacs-bug-can-use-xdg-email): New functions.
2953         (report-emacs-bug): Set can-xdg-email to result of
2954         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
2955         \C-cm to report-emacs-bug-insert-to-mailer and add help text
2956         about it.
2958         * net/browse-url.el (browse-url-default-browser): Add cond
2959         for browse-url-xdg-open.
2960         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
2962 2010-08-17  Glenn Morris  <rgm@gnu.org>
2964         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
2965         (c-fontify-recorded-types-and-refs): Define for compiler.
2966         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
2967         before use.
2969         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
2970         Fix format call.
2972 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
2974         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
2975         properties.
2976         (tramp-handle-process-file): Call the program in a subshell, in
2977         order to preserve working directory.
2978         (tramp-action-password): Hide password prompt before next run.
2979         (tramp-process-actions): Widen connection buffer for the trace.
2981 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
2983         * net/rcirc.el (rcirc-log-process-buffers): New option.
2984         (rcirc-print): Use it.
2985         (rcirc-generate-log-filename): New function.
2986         (rcirc-log-filename-function): Change default to
2987         rcirc-generate-log-filename (Bug#6828).
2989 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
2991         * simple.el (deactivate-mark): If select-active-regions is `only',
2992         only set selection for temporarily active regions.
2994         * cus-start.el: Change defcustom for select-active-regions.
2996 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
2998         * mouse.el (mouse--drag-set-mark-and-point): New function.
2999         (mouse-drag-track): Use LOCATION arg to push-mark.
3000         Use mouse--drag-set-mark-and-point to take click-count into
3001         consideration when updating point and mark (Bug#6840).
3003 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
3005         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3006         Give the Ruby rule a lower priority than Gnu (Bug#6778).
3008 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
3010         * font-lock.el (lisp-font-lock-keywords-2):
3011         Add combine-after-change-calls, condition-case-no-debug,
3012         with-demoted-errors, and with-silent-modifications (Bug#6025).
3014 2010-08-14  Kevin Ryde  <user42@zip.com.au>
3016         * emacs-lisp/copyright.el (copyright-update-year)
3017         (copyright-update): Temporary switch-to-buffer to ensure the
3018         buffer change being queried is visible (Bug#5394).
3020 2010-08-14  Tom Tromey  <tromey@redhat.com>
3022         * progmodes/etags.el (tags-file-name): Mark safe if stringp
3023         (Bug#6733).
3025 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
3027         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
3028         MS-DOS.  (Bug#6689)
3030 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
3032         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
3033         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
3034         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
3035         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
3036         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
3037         Call menu-bar-set-tool-bar-position.
3039 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3041         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
3042         comment style (bug#6834).
3043         * progmodes/scheme.el (scheme-mode-syntax-table):
3044         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
3045         "b" flag in "' 14b" syntax.
3047         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
3048         for (un)commenting the region and performing completion.
3049         (octave-mode-menu): Use standard commands for help and completion.
3050         (octave-mode-syntax-table): Support %{..%} comments (sort of).
3051         (octave-mode): Use define-derived-mode.
3052         Set completion-at-point-functions and don't set columns.
3053         Don't disable adaptive-fill-regexp.
3054         (octave-describe-major-mode, octave-comment-region)
3055         (octave-uncomment-region, octave-comment-indent)
3056         (octave-indent-for-comment): Remove.
3057         (octave-indent-calculate): Rename from calculate-octave-indent.
3058         (octave-indent-line, octave-fill-paragraph): Update caller.
3059         (octave-initialize-completions): No need to make an alist.
3060         (octave-completion-at-point-function): New function.
3061         (octave-complete-symbol): Use it.
3062         (octave-insert-defun): Use define-skeleton.
3064         * progmodes/octave-mod.el (octave-mode): Set comment-add.
3065         (octave-mode-map): Use comment-dwim (bug#6829).
3067 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
3069         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
3070         indentation of inserted comment.
3072 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
3074         * faces.el (region): Add type gtk that uses gtk colors.
3076         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
3077         Handle theme-name change.
3079 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
3081         * progmodes/sql.el: Version 2.5
3082         (sql-product-alist): Add :prompt-cont-regexp property for several
3083         database products.
3084         (sql-prompt-cont-regexp): New variable.
3085         (sql-output-newline-count, sql-output-by-send):
3086         New variables.  Record number of newlines in input text.
3087         (sql-send-string): Handle multiple filters and count newlines.
3088         (sql-send-magic-terminator): Count terminator newline.
3089         (sql-interactive-remove-continuation-prompt): Filters output to
3090         remove continuation prompts; one for each newline.
3091         (sql-interactive-mode): Set up new variables, prompt regexp and
3092         output filter.
3093         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
3094         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
3096 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3098         * emacs-lisp/pcase.el: New file.
3100 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
3102         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
3103         as here-document, otherwise the command could exceed maximum
3104         length of command line.
3105         (tramp-handle-vc-registered): Call script accordingly.
3106         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
3108 2010-08-10  Kenichi Handa  <handa@m17n.org>
3110         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
3111         composable pattern.
3113 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
3115         * emacs-lisp/package.el (package-version-split)
3116         (package--version-first-nonzero, package-version-compare):
3117         Functions removed.
3118         (package-directory-list, package-load-all-descriptors)
3119         (package--built-in, package-activate, define-package)
3120         (package-installed-p, package-compute-transaction)
3121         (package-read-all-archive-contents)
3122         (package--add-to-archive-contents, package-buffer-info)
3123         (package-tar-file-info, package-list-packages-internal):
3124         Use version-to-list and version-list-*.
3126         * emacs-lisp/package-x.el (package-upload-buffer-internal):
3127         Use version-to-list.
3128         (package-upload-buffer-internal): Use version-list-<=.
3130 2010-08-09  Kenichi Handa  <handa@m17n.org>
3132         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
3133         composable pattern.
3135 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
3137         * tutorial.el (tutorial--default-keys): C-d is now bound to
3138         delete-forward-char (Bug#6826).
3140         * mouse.el (mouse-drag-track): Remove accidentally-removed check
3141         for `double' value of mouse-1-click-follows-link (Bug#6807).
3143 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
3145         * replace.el (replace-highlight): Bind isearch-forward and
3146         isearch-error, ensuring that highlighting is updated if the user
3147         switches the search direction (Bug#6808).
3149         * isearch.el (isearch-lazy-highlight-forward): New var.
3150         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
3151         (isearch-lazy-highlight-update): Use it.
3153 2010-08-08  Kenichi Handa  <handa@m17n.org>
3155         * international/mule.el (define-charset): Store NAME as :base property.
3156         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
3157         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
3158         current priority.  Force using the designation of the specific
3159         charset by adding `charset' text property.  Improve the whole algorithm.
3161 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
3163         * emulation/pc-select.el (pc-selection-mode-hook)
3164         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
3165         (pc-selection-mode): Fix typos in docstrings.
3167 2010-08-08  Kenichi Handa  <handa@m17n.org>
3169         * language/cyrillic.el: Don't add "microsoft-cp1251" to
3170         ctext-non-standard-encodings-alist here.
3172         * international/mule.el (ctext-non-standard-encodings-alist):
3173         Add "koi8-r" and "microsoft-cp1251".
3174         (ctext-standard-encodings): New variable.
3175         (ctext-non-standard-encodings-table): List only elements for
3176         non-standard encodings.
3177         (ctext-pre-write-conversion): Adjust for the above change.
3178         Check ctext-standard-encodings.
3180         * international/mule-conf.el (compound-text): Doc fix.
3181         (ctext-no-compositions): Doc fix.
3182         (compound-text-with-extensions): Doc fix.
3184 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3186         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
3188 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
3190         * progmodes/which-func.el (which-func-format): Split help-echo text
3191         into lines, like other mode-line tooltips.
3193         * server.el (server-start): When using TCP sockets, force IPv4
3194         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
3196 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3198         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
3200 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
3202         * term.el (term-delimiter-argument-list): Reflow docstring.
3203         (term-read-input-ring, term-write-input-ring, term-send-input)
3204         (term-bol, term-erase-in-display, serial-supported-or-barf):
3205         Fix typos in docstrings.
3207 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3209         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
3211 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
3213         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
3215 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
3217         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
3218         Fix typo in docstring (bug#6747).
3220 2010-08-08  Leo  <sdl.web@gmail.com>
3222         * eshell/esh-io.el (eshell-get-target): Better detection of
3223         read-only file (Bug#6762).
3225 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
3227         * align.el (align-default-spacing): Doc fix.
3228         (align-region-heuristic, align-regexp): Fix typos in docstrings.
3230 2010-08-08  Stephen Peters  <speters@itasoftware.com>
3232         * calendar/icalendar.el
3233         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
3234         (icalendar--get-weekday-numbers): New.
3235         (icalendar--convert-recurring-to-diary): Handle multiple byday
3236         values in weekly rules.  (Bug#6766)
3238 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
3240         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
3241         (icalendar--create-uid, icalendar-export-region)
3242         (icalendar--parse-summary-and-rest): Code formatting.
3244 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
3246         * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
3247         to italicize headers.
3248         (calc-highlight-selections-with-faces): New variable.
3249         (calc-selected-face, calc-nonselected-face): New faces.
3251         * calc/calccomp.el (math-comp-highlight-string): Use
3252         `calc-highlight-selections-with-faces' to determine how to highlight
3253         sub-formulas.
3255         * calc/calc-sel.el (calc-show-selections): Change message to when
3256         using faces to highlight selections.
3258 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
3260         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
3261         Add SQLite 3 keywords, functions and datatypes.
3262         (sql-interactive-mode): Remove `comint-process-echoes' set to t
3263         (Bug#6686).
3265 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
3267         * simple.el (select-active-regions): Move to keyboard.c.
3268         (deactivate-mark): Used saved-region-selection.
3269         (select-active-region): Function removed.
3270         (activate-mark, set-mark, push-mark-command)
3271         (handle-shift-selection): Don't call it.
3272         (keyboard-quit): Avoid adding the region to the window selection.
3274         * mouse.el (mouse-drag-track): Remove hacks to deal with old
3275         select-active-regions implementation.
3276         (mouse-yank-at-click): Doc fix.
3278         * cus-start.el: Add custom declaration for select-active-regions.
3280 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
3282         * simple.el (delete-forward-char): Doc fix.
3284         * tutorial.el (help-with-tutorial): Hack safe file-local variables
3285         after reading the tutorial.
3287 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
3289         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
3290         for the case that a C style comment has its delimiters alone on
3291         their respective lines.
3293 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
3295         * net/tramp.el (tramp-handle-start-file-process): Set connection
3296         property "vec".
3297         (tramp-process-sentinel): Use it for flushing the cache.  We
3298         cannot do it via the process buffer, the buffer could be deleted
3299         already when running the sentinel.
3301 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
3303         * comint.el (comint-mode): Make directory tracking functions
3304         functional on remote files.  (Bug#6764)
3306 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
3308         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
3310 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
3312         * emacs-lisp/find-gc.el (find-gc-source-files): Rename
3313         unexec.c => unexcoff.c.
3315         * emacs-lisp/authors.el (authors-fixed-entries): Rename
3316         unexec.c => unexcoff.c.
3318 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
3320         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
3321         cache, not only file cache.
3322         (tramp-process-sentinel): New defun.
3323         (tramp-handle-start-file-process): Use it, in order to invalidate
3324         file caches.
3326 2010-08-03  Leo  <sdl.web@gmail.com>
3328         * server.el (server-start): Simplify loop.
3330 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3332         * frame.el (screen-height, screen-width, set-screen-width)
3333         (set-screen-height): Remove ancient compatibility aliases.
3335         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
3336         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
3338         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
3339         that change current buffer.
3341 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
3343         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
3344         beginning of the string.  Use `string-match-p'.  (Bug#6765)
3346 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
3348         * cus-start.el (x-gtk-use-system-tooltips): New variable.
3350 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
3352         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
3353         (package--builtins): Tweak descriptions.
3354         (package-print-package): Upcase descriptions if necessary.
3355         Show all built-in packages in font-lock-builtin-face.
3356         (package-list-packages-internal): Omit "emacs" package.
3357         Show status of built-in packages as "built-in".
3359 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
3361         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
3362         before killing to preserve the primary selection (Bug#6701).
3364         * term/x-win.el (x-select-text): Doc fix.
3366 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
3368         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
3369         The following functions were modified or created:
3371         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
3372         (objc-font-lock-extra-types):
3373         * progmodes/cc-mode.el (c-basic-common-init):
3374         * progmodes/cc-langs.el (c-make-mode-syntax-table)
3375         (c++-make-template-syntax-table)
3376         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
3377         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
3378         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
3379         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
3380         * progmodes/cc-fonts.el (c-make-inverse-face)
3381         (c-basic-matchers-after):
3382         * progmodes/cc-engine.el (c-forward-keyword-clause)
3383         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
3384         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
3385         (c-guess-continued-construct, c-guess-basic-syntax):
3387 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
3389         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
3391 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
3393         * files.el (bidi-paragraph-direction): Define safe local values.
3395         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
3396         language-info-alist.  Remove outdated FIXME in a comment.
3398 2010-07-31  Alan Mackenzie  <acm@muc.de>
3400         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
3401         Auto-fill broken in C/C++ modes.
3403 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
3405         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
3406         (menu-bar-showhide-tool-bar-menu-customize-disable)
3407         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
3408         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
3409         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
3410         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
3411         make a menu for Options => toolbar that can move it.
3413 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
3415         * emacs-lisp/package-x.el (package--make-rss-entry):
3416         (package-maint-add-news-item, package--update-news)
3417         (package-upload-buffer-internal): New arg ARCHIVE-URL.
3419         * emacs-lisp/package.el (package-archive-url): Rename from
3420         package-archive-id.
3421         (package-install): Doc fix.
3422         (package-download-single, package-download-tar, package-install)
3423         (package-menu-view-commentary): Callers changed.
3425 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
3427         * net/tramp.el (tramp-handle-start-file-process): Check only for
3428         `remote-tty' process property.
3429         (tramp-open-shell): Don't check for tty.
3430         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
3431         process property.
3433         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
3434         host.
3436 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
3438         * emacs-lisp/package.el (package-load-list, package-archives)
3439         (package-archive-contents, package-user-dir)
3440         (package-directory-list, package--builtins, package-alist)
3441         (package-activated-list, package-obsolete-alist): Mark as risky.
3443 2010-07-28  Phil Hagelberg  <phil@evri.com>
3445         Add support for non-default package repositories.
3446         * emacs-lisp/package.el (package-archive-base): Var deleted.
3447         (package-archives): New variable.
3448         (package-archive-contents): Doc fix.
3449         (package-load-descriptor): Do nothing if descriptor file is missing.
3450         (package--write-file-no-coding): New function.
3451         (package-unpack-single): Use it.
3452         (package-archive-id): New function.
3453         (package-download-single, package-download-tar)
3454         (package-menu-view-commentary): Use it.
3455         (package-installed-p): Make second argument optional.
3456         (package-read-all-archive-contents): New function.
3457         (package-initialize): Use it.
3458         (package-read-archive-contents): Add ARCHIVE argument.
3459         (package--add-to-archive-contents): New function.
3460         (package-install): Don't call package-read-archive-contents.
3461         (package--download-one-archive): Store archive file in a
3462         subdirectory of package-user-dir.
3463         (package-menu-execute): Remove spurious line movement.
3465 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
3467         * cus-start.el (tool-bar-style): Add text-image-horiz.
3469 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
3471         * progmodes/gud.el (gud-common-init): Check for remoteness of
3472         `file', and not of `default-directory'.
3474 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
3476         * net/tramp.el (tramp-methods): Move hostname to the end in all
3477         ssh `tramp-login-args'.
3478         (tramp-verbose): Describe verbose level 9.
3479         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
3480         (tramp-open-connection-setup-interactive-shell): Trace stty
3481         settings if `tramp-verbose' >= 9.
3482         (tramp-handle-start-file-process): Implement tty setting.
3483         (Bug#4604, Bug#6360)
3485         * net/tramp-cmds.el (tramp-bug): Recommend setting of
3486         `tramp-verbose' to 9.
3488 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
3490         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
3491         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
3492         Remove references to package `lisp-re' (bug#4369).
3494 2010-07-27  Tom Tromey  <tromey@redhat.com>
3496         * progmodes/js.el (js-mode):
3497         * progmodes/make-mode.el (makefile-mode):
3498         * progmodes/simula.el (simula-mode):
3499         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
3501 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
3503         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
3505         * time.el (display-time-day-and-date): Remove spurious * in docstring.
3506         (display-time-world-buffer-name, display-time-world-mode-map):
3507         Fix typos in docstrings.
3509 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
3511         * image-mode.el (image-display-size): New function.
3512         (image-forward-hscroll, image-next-line, image-eol, image-eob)
3513         (image-mode-fit-frame): Use it (Bug#6639).
3515 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
3517         * dired.el (dired-buffers-for-dir): Handle list values of
3518         dired-directory (Bug#6636).
3520 2010-07-26  Sam Steingold  <sds@gnu.org>
3522         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
3523         Do not call `x-get-selection' the second time, reuse the value.
3525 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
3527         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
3528         which consist of control chars only.  Suggested by Richard Stallman.
3530 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
3532         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
3533         exists before passing an error to find-file-not-found-functions
3534         (bug#6723).
3536 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
3538         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
3539         Remove leading nil element, adjust values.
3540         (tetris-shapes, tetris-shape-scores):
3541         Change representation of shapes and remove some redundancy.
3542         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
3543         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
3544         Adjust for working with new representation of shapes.
3545         (tetris-shape-rotations): New function.
3546         (tetris-move-bottom, tetris-move-left, tetris-move-right)
3547         (tetris-rotate-prev, tetris-rotate-next):
3548         Adjust for working with the new version of tetris-test-shape.
3550 2010-07-23  Markus Triska  <markus.triska@gmx.at>
3552         * progmodes/ps-mode.el: Use comint (bug#5954).
3553         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
3554         (ps-mode-other-newline): Simplify.
3555         (ps-run-mode): Derive from comint-mode instead of
3556         fundamental-mode, yielding input history etc.
3557         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
3558         (ps-run-send-string): Adapt for comint-mode.
3559         (ps-run-newline): Remove now unneeded function.
3561 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
3563         * net/tramp.el (tramp-methods): Move hostname to the end in all
3564         plink `tramp-login-args'.
3566 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
3568         * net/tramp.el (tramp-open-shell): New defun.
3569         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3570         Use it.
3572 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
3574         * net/tramp.el (tramp-file-name-regexp-unified)
3575         (tramp-completion-file-name-regexp-unified): On W32 systems, do
3576         not regard the volume letter as remote filename.  (Bug#5447)
3578 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
3580         * custom.el (custom-declare-variable): Give a clearer error message
3581         when the docstring is missing (bug#6476).
3583 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
3585         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
3586         (sql-login-params): New widget definition.
3587         (sql-oracle-login-params, sql-mysql-login-params)
3588         (sql-solid-login-params, sql-sybase-login-params)
3589         (sql-informix-login-params, sql-ingres-login-params)
3590         (sql-ms-login-params, sql-postgres-login-params)
3591         (sql-interbase-login-params, sql-db2-login-params)
3592         (sql-linter-login-params): Use it.
3593         (sql-sqlite-login-params): Use it; Define "database" parameter as
3594         a file name.
3595         (sql-sqlite-program): Change to "sqlite3".
3596         (sql-comint-sqlite): Make sure database name is complete.
3597         (sql-for-each-login): New function.
3598         (sql-connect, sql-save-connection): Use it.
3599         (sql-get-login-ext): New function.
3600         (sql-get-login): Use it.
3601         (sql-make-alternate-buffer-name): Handle :file parameters.
3603 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
3605         * dired.el (dired-no-confirm): Document value t and fix defcustom to
3606         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
3608 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
3610         * dired.el (dired-mode-map): Use command remapping (bug#6632).
3612 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
3614         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
3616 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
3618         * net/tramp.el (tramp-get-ls-command)
3619         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
3620         instead of "/".
3622 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
3624         * progmodes/sql.el: Version 2.3.
3625         (sql-connection-alist): Changed keys from symbols to strings;
3626         enhanced the widget definition.
3627         (sql-mode-menu): Added submenu to select connections.
3628         (sql-interactive-mode-menu): Added "Save Connection" item.
3629         (sql-add-product): Fixed menu item.
3630         (sql-get-product-feature): Improved error handling.
3631         (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
3632         (sql-make-alternate-buffer-name): Simplified.
3633         (sql-product-interactive): Handle missing product.
3634         (sql-connect): Support string keys, minor improvements.
3635         (sql-save-connection): New function.
3636         (sql-connection-menu-filter): New function.
3638 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
3640         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
3641         (tramp-open-connection-setup-interactive-shell): Apply
3642         workaround for IRIX64 bug.  Move argument of last
3643         `tramp-send-command' where it belongs to.
3645 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
3647         * net/tramp.el (tramp-perl-file-attributes)
3648         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
3649         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
3650         front of `login-args'.
3652 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
3654         * time.el (display-time-world-mode): Define with `define-derived-mode'.
3655         Set `show-trailing-whitespace' to nil.
3656         (display-time-world-display): Simplify.
3658 2010-07-18  Alan Mackenzie  <acm@muc.de>
3660         Enhance `c-file-style' in file/directory local variables.
3661         * progmodes/cc-mode.el (c-count-cfss): New function.
3662         (c-before-hack-hook): Call `c-set-style' differently according to
3663         whether c-file-style was set in file or directory local
3664         variables.
3666 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
3668         * progmodes/sql.el: Version 2.2.
3669         (sql-product, sql-user, sql-database, sql-server, sql-port): Use
3670         defcustom :safe keyword rather than putting safe-local-variable
3671         property.
3672         (sql-password): Use defcustom :risky keyword rather than putting
3673         risky-local-variable property.
3674         (sql-oracle-login-params, sql-sqlite-login-params)
3675         (sql-solid-login-params, sql-sybase-login-params)
3676         (sql-informix-login-params, sql-ingres-login-params)
3677         (sql-ms-login-params, sql-postgres-login-params)
3678         (sql-interbase-login-params, sql-db2-login-params)
3679         (sql-linter-login-params): Add `port' option.
3680         (sql-get-product-feature): Added NO-INDIRECT parameter.
3681         (sql-comint-oracle, sql-comint-sybase)
3682         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
3683         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
3684         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
3685         (sql-comint-linter): Renamed sql-connect-* functions to
3686         sql-comint-*.
3687         (sql-product-alist, sql-mode-menu): Renamed as above and
3688         :sqli-connect-func to :sqli-comint-func.
3689         (sql-connection): New variable.
3690         (sql-interactive-mode): Set it.
3691         (sql-connection-alist): New variable.
3692         (sql-connect): New function.
3693         (sql--alt-buffer-part, sql--alt-if-not-empty)
3694         (sql-make-alternate-buffer-name): Improved alternative buffer name.
3696 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3698         * image-mode.el (image-bookmark-make-record): Do not set context
3699         in an image (Bug#6650).
3701 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
3703         * simple.el (select-active-region): New function.
3704         (push-mark-command, set-mark, activate-mark)
3705         (handle-shift-selection): Use it.
3706         (deactivate-mark): Don't check for size of region.
3708         * mouse.el (mouse-drag-track): Use select-active-region.
3710 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
3712         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
3713         "--dired" stronger.
3715 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
3717         * term/x-win.el (x-select-enable-primary): Change default to nil.
3718         (x-select-enable-clipboard): Add :version keyword.
3720         * mouse.el (mouse-drag-copy-region):
3721         * simple.el (select-active-regions): Likewise.
3723 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
3725         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
3726         (vc-coding-system-for-diff): Use it to decide whether to inherit
3727         from the file the EOL format for reading the diffs of that file.
3728         (Bug#4451)
3730 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
3732         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
3733         unibyte, so compressed attachments are not compressed again.
3735 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
3737         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
3738         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
3739         (tramp-find-shell): Simplify setting connection property.
3740         (tramp-get-ls-command): Make test for "--color=never" stronger.
3742 2010-07-15  Simon South  <ssouth@member.fsf.org>
3744         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
3745         blocks within record declarations (i.e. variant parts) correctly.
3747 2010-07-15  Simon South  <ssouth@member.fsf.org>
3749         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
3750         over literal tokens when parsing so newlines aren't "absorbed" by
3751         single-line comments.  Corrects the indentation of case blocks
3752         that have a comment on the first line.
3754 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
3756         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
3757         by Drew Adams (Bug#5504).
3759 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
3761         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
3762         now that Unicode is used (Bug#6594).
3764 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
3766         * term/x-win.el (x-select-enable-clipboard): Default to t.
3767         (x-initialize-window-system): Don't overwrite Paste menu item.
3769         * simple.el (select-active-regions): Default to t.
3770         (push-mark-command): Don't overwrite primary with empty string.
3772         * mouse.el: Bind mouse-2 to mouse-yank-primary.
3773         (mouse-drag-copy-region): Default to nil.
3775         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
3776         Cut/Copy/Paste menu bar items.
3778 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3780         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
3781         Patch applied by Karl Fogel.
3783         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
3784         and `bookmark-current-buffer' if they have been already set in
3785         another buffer (e.g gnus-art).
3787 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
3788             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3790         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
3792         * bookmark.el (bookmark-make-record-default): Allow unneeded
3793         information to be omitted from the record.
3795         Adjust declarations and calls:
3797         * info.el (bookmark-make-record-default): Adjust declaration.
3798         (Info-bookmark-make-record): Adjust call.
3800         * woman.el (bookmark-make-record-default): Adjust declaration.
3801         (woman-bookmark-make-record): Adjust call.
3803         * man.el (bookmark-make-record-default): Adjust declaration.
3804         (Man-bookmark-make-record): Adjust call.
3806         * image-mode.el (bookmark-make-record-default): Adjust declaration.
3808         * doc-view.el (bookmark-make-record-default): Adjust declaration.
3810 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
3812         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
3813         This is also from Thierry Volpiatto's patch in bug #6444.  However,
3814         because it was extraneous to the functional change in that patch,
3815         and causes a re-indendation, I am committing it separately.
3817 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3819         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
3820         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
3821         Patch applied by Karl Fogel (Bug#6444).
3823 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
3825         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
3827 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
3829         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
3830         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
3831         (ns-alternatives-map): Change S-tab binding to backtab
3832         (bug#6616).
3834         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
3835         under ns.
3837 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
3839         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
3840         (Bug#5806)
3842         * language/tv-util.el (tai-viet-re): Remove format.
3844 2010-07-12  Kenichi Handa  <handa@m17n.org>
3846         * language/hebrew.el: Remove no-byte-compile declaration.
3847         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
3848         composition-function-table for 3-character looking back.
3849         (hebrew-font-get-precomposed): New function.
3850         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
3852 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
3854         * mouse.el (mouse-drag-track): Handle select-active-regions
3855         (Bug#6612).
3857 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
3859         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
3860         empty argument to gvfs-copy.
3862 2010-07-10  Glenn Morris  <rgm@gnu.org>
3864         * calendar/calendar.el (calendar-week-end-day): New function.
3865         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
3866         Respect calendar-week-start-day.  (Bug#6606)
3867         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
3868         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
3869         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
3870         respect calendar-week-start-day.
3872 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
3874         * simple.el (use-region-p): Doc fix (Bug#6607).
3876 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
3878         * progmodes/compile.el (compilation-error-regexp-alist-alist): Add
3879         regexps for cucumber and ruby.
3881 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
3883         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
3884         (epa-file-insert-file-contents): Hack to prevent
3885         find-file from opening empty buffer when decryption failed
3886         (bug#6568).
3888 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
3890         * textmodes/ispell.el (ispell-alternate-dictionary):
3891         Use file-readable-p.
3892         Return nil if no word-list is found at default locations.
3893         (ispell-complete-word-dict): Default to nil.
3894         (ispell-command-loop): Use 'word-list' when using lookup-words.
3895         (lookup-words): Use ispell-complete-word-dict or
3896         ispell-alternate-dictionary.  Check for word-list availability
3897         and handle errors if needed with better messages (Bug#6539).
3898         (ispell-complete-word): Use ispell-complete-word-dict or
3899         ispell-alternate-dictionary.
3901 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
3903         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
3904         builtins (BufferError, BytesWarning, WindowsError; callables
3905         bin, bytearray, bytes, format, memoryview, next, print; __package__).
3907 2010-07-07  Glenn Morris  <rgm@gnu.org>
3909         * play/zone.el (top-level): Do not require timer, tabify, or cl.
3910         (zone-shift-left): Ignore intangibility, and any errors from
3911         forward-char.
3912         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
3913         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
3914         deleting, and copying text properties.
3915         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
3916         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
3917         to point-max is hard.
3918         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
3919         (zone-fill-out-screen): Ignore intangibility.
3921 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
3923         * menu-bar.el (menu-bar-mode):
3924         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
3925         if it has been set.
3927         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
3928         word/line selection (Bug#6565).
3930 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
3932         * net/dbus.el (dbus-send-signal): Declare function.
3934 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
3936         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
3937         (dbus-register-property): New optional argument EMITS-SIGNAL.
3938         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
3940 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
3942         * mouse.el (mouse-drag-overlay): Variable deleted.
3943         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
3944         (mouse--remap-link-click-p): New function.
3945         (mouse-drag-track): Handle dragging by using temporary Transient
3946         Mark mode, instead of a special overlay.
3947         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
3948         mouse-show-mark.
3950         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
3951         deleted.
3953 2010-07-02  Juri Linkov  <juri@jurta.org>
3955         * autoinsert.el (auto-insert-alist): Fix readability
3956         by using dotted pair notation for lambda.
3958 2010-07-02  Juri Linkov  <juri@jurta.org>
3960         * faces.el (read-face-name): Rename arg `string-describing-default'
3961         to `default'.  Doc fix.  Display the default value in quotes
3962         in the prompt.  With empty input, return the `default' arg,
3963         unless the default value is a string (in which case return nil).
3964         (describe-face): Replace the string `default' arg of `read-face-name'
3965         with the symbol `default'.
3967 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
3969         * emulation/viper-cmd.el (viper-delete-backward-char)
3970         (viper-del-backward-char-in-insert)
3971         (viper-del-backward-char-in-replace, viper-change)
3972         (viper-backward-indent): Replace delete-backward-char with
3973         delete-char (Bug#6552).
3975 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
3977         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
3979 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
3981         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
3982         argument passed to frame-creation-function (Bug#5378).
3984         * faces.el (x-handle-named-frame-geometry)
3985         (x-handle-reverse-video, x-create-frame-with-faces)
3986         (face-set-after-frame-default, tty-create-frame-with-faces): Don't
3987         separately consult default-frame-alist.  It is now passed as the
3988         PARAMETER argument.
3990 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
3992         * startup.el (command-line): Don't call tool-bar-setup in a
3993         tty-only build.
3995 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
3997         * ruler-mode.el (ruler--save-header-line-format): New fun.
3998         (ruler-mode): Use it as a setter function, so as not to overwrite
3999         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
4001 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
4003         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
4004         (vc-root-diff, vc-print-root-log, vc-log-incoming)
4005         (vc-log-outgoing): Use it.
4006         (vc-diff-internal): Set diff-vc-backend.
4008         * vc/diff-mode.el (diff-vc-backend): New var.
4010 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
4012         * dynamic-setting.el (font-setting-change-default-font): Remove
4013         call to message.
4015 2010-06-28  Kenichi Handa  <handa@m17n.org>
4017         * international/quail.el (quail-insert-kbd-layout): Fix the
4018         showing of untranslated characters.
4020 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
4022         * simple.el (delete-active-region): New option.
4023         (delete-backward-char): Implement in Lisp.
4024         (delete-forward-char): New command.
4026         * mouse.el (mouse-region-delete-keys): Deleted.
4027         (mouse-show-mark): Simplify.
4029         * bindings.el (global-map): Bind delete and DEL, the former to
4030         delete-forward-char.
4032 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
4034         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
4035         (ruby-mode): Bind indent-line-function (Bug#5119).
4037 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
4039         * startup.el (command-line): Recognize "0" X resource value.
4041 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
4043         * startup.el (command-line): Use X resources to set the value of
4044         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
4046         * menu-bar.el (menu-bar-mode):
4047         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
4048         Set init-value to t.
4050         * frame.el (frame-notice-user-settings): Don't change
4051         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
4052         vice versa (Bug#2249).
4054 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
4056         * w32-fns.el (w32-convert-standard-filename): Doc fix.
4058 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
4060         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
4061         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
4063         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
4064         default directories are expanded (Bug#6143).
4066 2010-06-24  Juri Linkov  <juri@jurta.org>
4068         * minibuffer.el (completions-format): Change default from nil to
4069         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
4071 2010-06-24  Juri Linkov  <juri@jurta.org>
4073         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
4074         buffer-locally to lambda that re-runs the vc diff command.
4075         (Bug#6447)
4077 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
4079         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
4080         echo area is in use (Bug#3412).
4082 2010-06-22  Glenn Morris  <rgm@gnu.org>
4084         * textmodes/texinfmt.el (texinfo-format-region)
4085         (texinfo-raise-lower-sections, texinfo-format-separate-node)
4086         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
4087         (texinfo-format-option, texinfo-noindent):
4088         Use line-beginning-position and line-end-position.
4090         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
4091         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
4092         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
4093         utf-8 characters.
4095 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
4097         * play/zone.el (zone-fall-through-ws): Fix next-line ->
4098         forward-line fallout.
4100 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
4102         * mouse.el (mouse-appearance-menu): Add docstring.
4104         * help.el (describe-key): Print up-event using key-description.
4106 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
4108         * net/zeroconf.el (zeroconf-resolve-service)
4109         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
4110         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
4112 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
4114         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
4116 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
4118         Avoid displaying files with a nil state in vc-dir.
4119         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
4120         cases that cause insertion.
4121         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
4122         with a nil state.
4124 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
4126         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
4128 2010-06-29  Leo  <sdl.web@gmail.com>
4130         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
4132 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
4134         * generic-x.el (bat-generic-mode): Fix regexp for command line
4135         switches (Bug#5719).
4137 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
4139         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
4140         of nconc to avoid pure storage error (Bug#6239).
4142 2010-06-27  Christoph  <cschol2112@googlemail.com>  (tiny change)
4144         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
4145         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
4146         bindings of bookmark-automatically-show-annotations (Bug#6515).
4148 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
4150         * arc-mode.el (archive-zip-extract): Don't quote the file name on
4151         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
4153 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
4155         * comint.el (make-comint, make-comint-in-buffer): Mention return
4156         value in the docstrings.  (Bug#6498)
4158 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
4160         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
4161         since it is not present when using some non-default switches.
4163 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
4165         * simple.el (compose-mail): Fix doc string to refer to
4166         `compose-mail-user-agent-warnings', instead of to the
4167         nonexistent `compose-mail-check-user-agent'.
4169 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
4171         Fix an indentation bug:
4173         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
4174         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
4175         of existing values.
4177         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
4178         (c-clear->-pair-props-if-match-before): now return t when they've
4179         cleared properties, nil otherwise.
4180         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
4181         by taking account of the existing value.
4183         * progmodes/cc-defs.el
4184         (c-clear-char-property-with-value-function): Fix this to clear the
4185         property rather than overwriting it with nil.
4187 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
4189         * emacs-lisp/package.el (package-print-package): Add link to
4190         package description via describe-package.
4191         (describe-package-1): List package requirements.  Add button to
4192         perform installation.
4193         (package-menu-describe-package): New command.
4195         * help-mode.el (help-package): New button type.
4197 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
4199         * emacs-lisp/package.el: Move package-list-packages binding to
4200         menu-bar.el.
4201         (describe-package, describe-package-1, package--dir): New funs.
4202         (package-activate-1): Use package--dir.
4204         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
4206         * help-mode.el (help-package-def): New button type.
4208         * menu-bar.el: Move package-list-packages binding here from
4209         package.el.
4211 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
4213         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
4215 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4217         * emacs-lisp/edebug.el (edebug-read-list):
4218         Phase out old-style backquotes.
4220 2010-06-17  Juri Linkov  <juri@jurta.org>
4222         * help-mode.el (help-mode): Set buffer-local variable
4223         revert-buffer-function to help-mode-revert-buffer.
4224         (help-mode-revert-buffer): New function.
4226         * info.el (Info-revert-find-node): Check for major-mode Info-mode
4227         before popping to "*info*" (like in other Info functions).
4228         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
4229         old-history-forward.  Pop to old-buffer-name or "*info*" to
4230         recreate the killed buffer.  Set Info-history-forward from
4231         old-history-forward.
4232         (Info-breadcrumbs-depth): Add :group and :version.
4234 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
4236         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
4238 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
4240         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
4241         for languages like Portuguese with pt_{BR,PT} and no plain pt.
4243 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
4245         * emacs-lisp/package.el (package-menu-mode-map):
4246         Move initialization into declaration.
4248         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
4250 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
4252         * emacs-lisp/package.el (package-archive-base): Point to
4253         elpa.gnu.org.
4254         (package-enable, package-load-list): New defcustoms.
4255         (package-user-dir, package-directory-list): Turn into defcustoms.
4256         Don't include package-user-dir in package-directory-list.
4257         (package--builtins-base): Don't include Emacs as a "package".
4258         (package-subdirectory-regexp): New var.
4259         (package-load-all-descriptors, package-compute-transaction)
4260         (package-download-transaction): Obey package-load-list.
4261         (package-activate-1): Rename from package-do-activate.
4262         (package-list-packages-internal): Check package-load-list.
4263         (package-load-descriptor, package-generate-autoloads)
4264         (package-unpack, package-unpack-single)
4265         (package--read-archive-file, package-delete): Use
4266         expand-file-name.
4268         * emacs-lisp/package-x.el: New file.  Package uploading
4269         functionality split out from package.el.
4271         * startup.el (command-line): Load packages after reading init file.
4273 2010-06-17  Tom Tromey  <tromey@redhat.com>
4275         * emacs-lisp/package.el: New file.
4277 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
4279         Fix vc-annotate for renamed files when using Git.
4280         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
4281         ls-files.  Doe not pass the object as a file name to cat-file, it
4282         is not a file name.
4283         (vc-git-annotate-command): Pass the file name using -- to avoid
4284         ambiguity with the revision.
4285         (vc-git-previous-revision): Pass a relative file name.
4287 2010-06-22  Glenn Morris  <rgm@gnu.org>
4289         * progmodes/js.el (js-mode-map): Use standard capitalization and
4290         ellipses for menu entries.
4292         * wid-edit.el (widget-complete): Doc fix.
4294 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
4296         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
4298 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
4300         Fix annotating other revisions for renamed files in vc-annotate.
4301         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
4302         VC backend.  Use it when non-nil.
4303         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
4304         (Bug#6487)
4306         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
4307         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4308         Do not pass the file name to the 'previous-revision call when we
4309         don't want a file diff.  (Bug#6489)
4311 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
4313         Fix finding revisions for renamed files in vc-annotate.
4314         * vc/vc.el (vc-find-revision): Add an optional argument for
4315         the VC backend.  Use it when non-nil.
4316         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
4317         backend to vc-find-revision.  (Bug#6487)
4319 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
4321         Fix reading file names in Git annotate buffers.
4322         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
4323         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
4325 2010-06-20  Alan Mackenzie  <acm@muc.de>
4327         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
4328         in file local variables, set it first.
4330 2010-06-19  Glenn Morris  <rgm@gnu.org>
4332         * descr-text.el (describe-char-unicode-data): Insert separating
4333         space when needed.  (Bug#6422)
4335         * progmodes/idlwave.el (idlwave-action-and-binding):
4336         Fix typo in 2009-12-03 change.  (Bug#6450)
4338 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4340         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
4341         handling for `lambda' (misunderstanding).
4343 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
4345         * calc/calc-poly.el (math-accum-factors): Make sure that
4346         constants aren't distributed after they are factored out.
4348 2010-06-16  Juri Linkov  <juri@jurta.org>
4350         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
4351         `list-colors-print'.  (Bug#6332)
4353         * subr.el (read-quoted-char): Fix up last change (bug#6290).
4355 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4357         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
4358         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
4360         * font-lock.el (font-lock-major-mode): Rename from
4361         font-lock-mode-major-mode to distinguish it from
4362         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
4363         (font-lock-set-defaults):
4364         * font-core.el (font-lock-default-function): Adjust users.
4365         (font-lock-mode): Don't set it at all.
4367 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4369         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
4371 2010-06-16  Glenn Morris  <rgm@gnu.org>
4373         * calendar/appt.el (appt-time-msg-list): Doc fix.
4374         (appt-check): Let-bind appt-warn-time.
4375         (appt-add): Make the 3rd argument optional.
4376         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
4377         Only add WARNTIME to the output list if non-nil.
4379 2010-06-16  Ivan Kanis  <apple@kanis.eu>
4381         * calendar/appt.el (appt-check): Let the 3rd element of
4382         appt-time-msg-list specify the warning time.
4383         (appt-add): Add new argument with the warning time.  (Bug#5176)
4385 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>  (tiny change)
4387         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
4388         older than version 1.6.  (Bug#6361)
4390 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
4392         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
4393         used by cl-do-arglist.  (Bug#6408)
4395 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
4397         * textmodes/ispell.el (ispell-dictionary-base-alist): Fix
4398         portuguese casechars/not-casechars for missing 'çÇ'.
4399         Suggested by Rolando Pereira (bug#6434).
4401 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
4403         * facemenu.el (list-colors-sort): Doc fix.
4405 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>  (tiny change)
4407         * progmodes/sql.el (sql-connect-mysql): Fix typo.
4409 2010-06-14  Juri Linkov  <juri@jurta.org>
4411         Add sort option `list-colors-sort'.  (Bug#6332)
4412         * facemenu.el (color-rgb-to-hsv): New function.
4413         (list-colors-sort): New defcustom.
4414         (list-colors-sort-key): New function.
4415         (list-colors-display): Doc fix.  Sort list according to the option
4416         `list-colors-sort'.
4417         (list-colors-print): Add HSV values to `help-echo' property of
4418         RGB strings.
4420 2010-06-14  Juri Linkov  <juri@jurta.org>
4422         * compare-w.el: Move to the "vc" subdirectory.
4424 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4426         * image-mode.el (image-mode-map): Remap left-char and right-char.
4428         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
4430 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
4432         * term/common-win.el (x-colors): Add all the color names defined
4433         in rgb.txt (Bug#6332).
4435         * facemenu.el (list-colors-print): Don't print extra names if it
4436         will overflow the window width.
4438         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
4439         change (Bug#6343).
4441 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
4443         * files.el (make-directory): Doc fix (bug#6396).
4445 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
4447         * net/tramp.el (tramp-remote-process-environment): Protect version
4448         string by apostroph.
4449         (tramp-shell-prompt-pattern): Do not use a shy group in case of
4450         XEmacs.
4451         (tramp-file-name-for-operation): Add `call-process-region'.
4452         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
4454         * net/tramp-compat.el (top): Do not autoload
4455         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
4456         only when `start-file-process' is not bound.
4457         (tramp-advice-file-expand-wildcards): Do not use
4458         `tramp-handle-file-remote-p'.
4459         (tramp-compat-make-temp-file): Handle the case, that
4460         `make-temp-file' has no third argument EXTENSION.
4462 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
4464         * makefile.w32-in (WINS_BASIC): Include new directory vc.
4466         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
4468 2010-06-11  Juri Linkov  <juri@jurta.org>
4470         * finder.el (finder-known-keywords): Add keyword "vc"
4471         for version control.
4473         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
4474         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
4475         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
4476         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
4478 2010-06-11  Juri Linkov  <juri@jurta.org>
4480         Move version control related files to the "vc" subdirectory.
4481         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
4482         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
4483         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
4484         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
4485         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
4486         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
4487         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
4488         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
4489         Move files to the "vc" subdirectory.
4491 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
4493         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
4494         (Bug#6367).
4496 2010-06-11  Stephen Eglen  <stephen@gnu.org>
4498         * shell.el: Bind `shell-resync-dirs' to M-RET.
4500 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
4502         * notifications.el: Move file from lisp/net, because it is
4503         supposed to talk locally to the user.
4505 2010-06-10  Julien Danjou  <julien@danjou.info>
4507         * net/notifications.el (notifications-on-action-signal)
4508         (notifications-on-closed-signal): Pass notification id as first
4509         argument to the callback functions.  Add docstrings.
4510         (notifications-notify): Fix docstring.
4512 2010-06-10  Glenn Morris  <rgm@gnu.org>
4514         * emacs-lisp/authors.el (authors-ignored-files)
4515         (authors-valid-file-names): Add some files.
4517 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4519         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
4520         merge conflict, giving preference to the emacs-23 version of the code.
4522 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4524         * emacs-lisp/advice.el (ad-compile-function):
4525         Define warning-suppress-types before we let-bind it (bug#6275).
4527         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
4528         declare it, make it buffer-local and permanent-local (bug#6324).
4529         (vc-resynch-window): Adjust name.
4530         * vc-hooks.el (vc-find-file-hook): Adjust name.
4532 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
4534         * net/notifications.el (notifications-notify): Fix docstring.
4536 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
4538         Update to Unicode 6.0.0 beta.
4539         * international/charprop.el: Update copyright.
4540         * international/mule-cmds.el (ucs-names): Update character ranges.
4541         * international/uni-bidi.el:
4542         * international/uni-category.el:
4543         * international/uni-combining.el:
4544         * international/uni-comment.el:
4545         * international/uni-decimal.el:
4546         * international/uni-decomposition.el:
4547         * international/uni-digit.el:
4548         * international/uni-lowercase.el:
4549         * international/uni-mirrored.el:
4550         * international/uni-name.el:
4551         * international/uni-numeric.el:
4552         * international/uni-old-name.el:
4553         * international/uni-titlecase.el:
4554         * international/uni-uppercase.el: Regenerate.
4556 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
4558         * emacs-lisp/smie.el (comment-string-strip): Declare function.
4559         (smie-precs-precedence-table): Fix typo in docstring.
4561         * vc-mtn.el (log-edit-extract-headers): Declare function.
4563         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
4565         * net/notifications.el (dbus-register-signal): Declare function.
4566         (notifications-notify): Fix typos and reflow docstring.
4568 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
4570         Improve VC create/retrieve tag/branch.
4571         * vc.el (vc-create-tag): Do not read the directory name for VCs
4572         with repository revision granularity.  Adjust the tag/branch
4573         prompt.  Reset VC properties.
4574         (vc-retrieve-tag): Do not read the directory name for VCs
4575         with repository revision granularity.  Reset VC properties.
4577 2010-06-09  Julien Danjou  <julien@danjou.info>
4579         * net/notifications.el: New file.
4581 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
4583         Add optional support for resetting VC properties.
4584         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
4585         call vc-file-clearprops when true.
4586         (vc-resynch-buffer): Add new optional argument, pass it down.
4587         (vc-resynch-buffers-in-directory): Likewise.
4589         Improve support for special markup in the VC commit message.
4590         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
4591         * vc-hg.el (vc-hg-checkin): Add support for Date:.
4592         * vc-git.el (vc-git-checkin):
4593         * vc-bzr.el (vc-bzr-checkin): Likewise.
4595 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4597         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
4598         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
4600 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
4602         * iimage.el: Remove images as soon as the underlying text is modified.
4603         (iimage-modification-hook): New function.
4604         (iimage-mode-buffer): Use it.
4606 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4608         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
4609         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
4610         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
4611         (smie-indent-keyword): Add handling of open-paren keywords.
4612         (smie-indent-comment-continue): Don't assume comment-continue.
4614 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
4616         * window.el (pop-to-buffer): Remove the conditional that
4617         compares new-window and old-window, so it will reselect
4618         the selected window unconditionally.
4619         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
4621 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4623         * emacs-lisp/smie.el (smie-indent-offset-after)
4624         (smie-indent-forward-token, smie-indent-backward-token): New functions.
4625         (smie-indent-after-keyword): Use them.
4626         (smie-indent-fixindent): Only applies to the indentation of the BOL.
4627         (smie-indent-keyword): Tweak the black magic.
4628         (smie-indent-comment-continue): Strip comment-continue before use.
4629         (smie-indent-functions): Indent comments before keywords.
4631 2010-06-06  Juri Linkov  <juri@jurta.org>
4633         * isearch.el (isearch-lazy-highlight-search): Fix looping
4634         by checking for empty match.  This syncs this loop with the
4635         similar loop in `isearch-search'.  (Bug#6362)
4637 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
4639         * net/dbus.el (dbus-register-method): Declare function.
4640         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
4641         (dbus-introspect): Doc fix.
4642         (dbus-event-bus-name, dbus-introspect-get-interface)
4643         (dbus-introspect-get-argument): Reflow docstrings.
4645 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
4647         vc-log-incoming/vc-log-outgoing fixes for Git.
4648         * vc-git.el (vc-git-log-view-mode): Fix font lock for
4649         incoming/outgoing logs.
4650         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
4651         instead of vc-git-compute-remote.
4652         (vc-git-compute-remote): Remove.
4654 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
4656         * term/common-win.el (x-colors): Add "dark green" and "dark
4657         turquoise" (Bug#6332).
4659 2010-06-04  Juri Linkov  <juri@jurta.org>
4661         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
4662         Instead of setting `replace' to t and replacing the same string
4663         with itself, don't do certain actions when
4664         kill-do-not-save-duplicates is non-nil and string is equal to car
4665         of kill-ring: don't call menu-bar-update-yank-menu, don't push
4666         interprogram-paste strings to kill-ring, and don't push the input
4667         argument `string' to kill-ring.
4668         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
4670 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
4672         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
4674 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
4676         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
4677         (tramp-gvfs-handler-mounted-unmounted)
4678         (tramp-gvfs-connection-mounted-p): Handle default-location.
4680         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
4681         move files to trash.
4683 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
4685         * international/mule-cmds.el (nonascii-insert-offset)
4686         (nonascii-translation-table): Add obsolescence information.
4688         * international/mule.el (make-translation-table-from-vector): Doc fix.
4690 2010-06-03  Glenn Morris  <rgm@gnu.org>
4692         * desktop.el (desktop-clear-preserve-buffers):
4693         Add "*Warnings*" buffer.  (Bug#6336)
4695 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
4697         vc-log-incoming/vc-log-outgoing improvements for Git.
4698         * vc-git.el (vc-git-log-outgoing): Use the same format as the
4699         short log.
4700         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
4702         Add bindings for vc-log-incoming and vc-log-outgoing.
4703         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
4704         and vc-log-outgoing.
4705         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
4706         and vc-log-outgoing.
4708 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
4710         * net/rcirc.el (rcirc-sort-nicknames): Remove.
4711         (rcirc-handler-366): Always sort nicknames.
4713 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
4715         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
4717 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
4719         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
4721 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4723         * net/rcirc.el (rcirc-sort-nicknames): Change default.
4724         (rcirc-sort-nicknames-join): Avoid setq.
4726 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
4728         * net/rcirc.el (rcirc-sort-nicknames): New custom.
4729         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
4730         (rcirc-handler-366): Use them.
4732 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4734         Split smie-indent-calculate into more manageable chunks.
4735         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
4736         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
4737         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
4738         (smie-indent-exps): Extract from smie-indent-calculate.
4739         (smie-indent-functions): New var.
4740         (smie-indent-functions): Use them.
4742 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4744         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
4745         (smie-indent-calculate): Simplify and cleanup.
4747 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
4749         * net/tramp-gvfs.el (top): Require url-util.
4750         (tramp-gvfs-mount-point): Remove.
4751         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
4752         New defuns.
4753         (with-tramp-dbus-call-method): Format trace message.
4754         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
4755         Implement backup call, when operation on local files fails.
4756         Use progress reporter.  Flush properties of changed files.
4757         (tramp-gvfs-handle-make-directory): Make more traces.
4758         (tramp-gvfs-url-file-name): Hexify file name in url.
4759         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
4760         into account for the resulting file name.
4761         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
4762         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
4763         (tramp-gvfs-handler-mounted-unmounted)
4764         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
4765         attribute "default_location".  Set "prefix" property.
4766         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
4767         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
4768         exists.  Raise an error, if not (due to a corresponding answer
4769         "no" in interactive questions, for example).
4771 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
4773         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
4775 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
4777         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
4778         right-*.  (Bug#6265)
4780 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
4782         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
4783         * vc-git.el (vc-git-compute-remote): New function.
4784         (vc-git-log-outgoing): Use it instead of hard coding a value.
4785         (vc-git-log-incoming): New function.
4787         Improve state updating for VC tag commands.
4788         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
4789         to update the state of all buffers in the directory.
4791         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
4793 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4795         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
4796         `file-directory-p' to the filename part rather than to the whole text.
4798 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4800         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
4802 2010-05-31  Drew Adams  <drew.adams@oracle.com>
4804         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
4806 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
4808         * subr.el (momentary-string-display): Just use read-event to read
4809         the exit event (Bug#6238).
4811 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
4813         * international/mule.el (define-coding-system): Doc fix (bug#6313).
4815 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
4817         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
4818         Suggested by Eli Zaretskii <eliz@gnu.org>.
4820 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4822         * minibuffer.el (completion-file-name-table): Don't return a boundary
4823         past the end of `string' (bug#6299).
4824         (completion--file-name-table): Delegate to completion-file-name-table
4825         for the `boundaries' case.
4827 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
4829         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
4830         movement commands.
4832         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
4833         `path-separator', but maintain compatibility with Emacs 20.2.
4835 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
4837         * server.el (server-process-filter): Receive parent-id argument
4838         from emacsclient.
4839         (server-create-window-system-frame): New arg.  Pass parent-id as
4840         frame parameter.
4842 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
4844         Bidi-sensitive word movement with arrow keys.
4845         * subr.el (right-arrow-command, left-arrow-command): Move to
4846         bindings.el.
4848         * bindings.el (right-char, left-char): Move from subr.el and
4849         rename from right-arrow-command and left-arrow-command.
4850         (right-word, left-word): New functions.
4851         (global-map) <right>: Bind to right-char.
4852         (global-map) <left>: Bind to left-char.
4853         (global-map) <C-right>: Bind to right-word.
4854         (global-map) <C-left>: Bind to left-word.
4856         * ls-lisp.el (ls-lisp-classify-file): New function.
4857         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
4858         (ls-lisp-classify): Call ls-lisp-classify-file.
4859         (insert-directory): Remove blanks from switches.
4861 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
4863         * ansi-color.el: Delete unused escape sequences (Bug#6085).
4864         (ansi-color-drop-regexp): New constant.
4865         (ansi-color-apply, ansi-color-filter-region)
4866         (ansi-color-apply-on-region): Delete unrecognized control sequences.
4867         (ansi-color-apply): Build string list before calling concat.
4869 2010-05-28  Juri Linkov  <juri@jurta.org>
4871         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
4872         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
4873         (Bug#5270)
4875 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
4877         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
4878         to ignored backtrace functions.
4879         (with-progress-reporter): Expand docstring.
4880         (tramp-handle-delete-file): Implement TRASH argument.
4881         (tramp-get-remote-trash): New defun.
4883 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
4885         * net/tramp-compat.el (tramp-compat-delete-file): Use
4886         `symbol-value' for backward compatibility.
4888         * net/tramp.el (tramp-handle-make-symbolic-link)
4889         (tramp-handle-load)
4890         (tramp-do-copy-or-rename-file-via-buffer)
4891         (tramp-do-copy-or-rename-file-directly)
4892         (tramp-do-copy-or-rename-file-out-of-band)
4893         (tramp-handle-process-file, tramp-handle-call-process-region)
4894         (tramp-handle-shell-command, tramp-handle-file-local-copy)
4895         (tramp-handle-insert-file-contents, tramp-handle-write-region)
4896         (tramp-delete-temp-file-function): Use `delete-file' instead
4897         of `tramp-compat-delete-file'.
4899         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
4900         (tramp-fish-handle-make-symbolic-link)
4901         (tramp-fish-handle-process-file): Use `delete-file' instead
4902         of `tramp-compat-delete-file'.
4904         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
4905         `delete-file' instead of `tramp-compat-delete-file'.
4907         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
4908         (tramp-gvfs-handle-write-region): Use `delete-file' instead of
4909         `tramp-compat-delete-file'.
4911         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
4912         `delete-file' instead of `tramp-compat-delete-file'.
4914         * net/tramp-smb.el (tramp-smb-handle-copy-file)
4915         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4916         (tramp-smb-handle-write-region): Use `delete-file' instead of
4917         `tramp-compat-delete-file'.
4918         (tramp-smb-handle-delete-directory): Use 'trash as arg.
4920 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
4922         * dired.el (dired-delete-file): New arg TRASH.
4923         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
4924         (dired-do-flagged-delete, dired-do-delete): Use trash.
4926         * speedbar.el (speedbar-item-delete): Allow trashing.
4928         * files.el (delete-directory): New arg TRASH.
4930         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
4931         (ange-ftp-rename-remote-to-remote)
4932         (ange-ftp-rename-local-to-remote)
4933         (ange-ftp-rename-remote-to-local, ange-ftp-load)
4934         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
4935         `delete-file'.
4936         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
4937         allow trashing.
4939         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
4940         handle new TRASH arg of `delete-file'.
4942         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
4943         (tramp-handle-make-symbolic-link, tramp-handle-load)
4944         (tramp-do-copy-or-rename-file-via-buffer)
4945         (tramp-do-copy-or-rename-file-directly)
4946         (tramp-do-copy-or-rename-file-out-of-band)
4947         (tramp-handle-process-file, tramp-handle-call-process-region)
4948         (tramp-handle-shell-command, tramp-handle-file-local-copy)
4949         (tramp-handle-insert-file-contents, tramp-handle-write-region)
4950         (tramp-delete-temp-file-function): Use null TRASH arg in
4951         tramp-compat-delete-file call.
4953         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
4954         (tramp-fish-handle-delete-file)
4955         (tramp-fish-handle-make-symbolic-link)
4956         (tramp-fish-handle-process-file): Use null TRASH arg in
4957         `tramp-compat-delete-file' call.
4959         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
4960         arg in `tramp-compat-delete-file' call.
4962         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
4963         (tramp-gvfs-handle-write-region): Use null TRASH arg in
4964         `tramp-compat-delete-file' call.
4966         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
4967         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
4968         `tramp-compat-delete-file' call.
4970         * net/tramp-smb.el (tramp-smb-handle-copy-file)
4971         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4972         (tramp-smb-handle-write-region): Use null TRASH arg in
4973         tramp-compat-delete-file call.
4974         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
4975         (tramp-smb-handle-delete-file): Rename arg.
4977         * diff.el (diff-sentinel):
4978         * epg.el (epg--make-temp-file, epg-decrypt-string)
4979         (epg-verify-string, epg-sign-string, epg-encrypt-string):
4980         * jka-compr.el (jka-compr-partial-uncompress)
4981         (jka-compr-call-process, jka-compr-write-region):
4982         * server.el (server-sentinel): Remove optional arg from
4983         delete-file, reverting 2010-05-03 change.
4985 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
4987         * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
4988         font-lock-constant-face, not obsolete font-lock-reference-face.
4990 2010-05-27  Kenichi Handa  <handa@m17n.org>
4992         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
4993         element of GSTRING is nil.
4995 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4997         * emacs-lisp/smie.el (smie-forward-token-function)
4998         (smie-backward-token-function): New vars.
4999         (smie-backward-sexp, smie-forward-sexp)
5000         (smie-indent-hanging-p, smie-indent-calculate): Use them.
5001         (smie-default-backward-token): Rename from smie-backward-token and
5002         skip comments.
5003         (smie-default-forward-token): Rename from smie-forward-token and
5004         skip comments.
5005         (smie-next-sexp): Handle nil results from next-token.
5006         (smie-indent-calculate): Add a new case for special `fixindent' comments.
5008 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
5010         * progmodes/verilog-mode.el (verilog-type-font-keywords):
5011         Use font-lock-constant-face, not obsolete font-lock-reference-face.
5013 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
5015         * htmlfontify.el (hfy-face-resolve-face): New function.
5016         (hfy-face-to-style): Use it (Bug#6279).
5018 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5020         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
5021         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
5023 2010-05-26  Glenn Morris  <rgm@gnu.org>
5025         * emulation/edt.el (edt-load-keys): Use locate-library.
5027 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
5029         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
5030         (log-edit-changelog-entries): Doc fix.
5031         (log-edit-changelog-insert-entries): Args changed.
5032         Rename relative filenames in ChangeLog entries.  Delete tabs.
5033         (log-edit-insert-changelog-entries): Reorganize return value of
5034         `log-edit-changelog-entries' to pass filenames to
5035         log-edit-changelog-insert-entries.
5037 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5039         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
5040         `image-dired-dired-insert-marked-thumbs' to
5041         `image-dired-dired-toggle-marked-thumbs'.
5043         * image-dired.el: Require cl when compiling.
5044         (image-dired-dired-toggle-marked-thumbs): Rename from
5045         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
5046         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
5047         to 'no-dir.  Skip files whose names don't match
5048         `image-file-name-regexp'.  When file has a thumbnail overlay,
5049         delete it.  (Bug#5270)
5051 2010-05-25  Juri Linkov  <juri@jurta.org>
5053         * image-mode.el (image-mode): Add image-after-revert-hook to
5054         after-revert-hook.
5055         (image-after-revert-hook): New function.  (Bug#5669)
5057 2010-05-25  Juri Linkov  <juri@jurta.org>
5059         * image.el (image-animated-p): When delay between animated images
5060         is 0, set it to 10 (0.1 sec).  (Bug#6258)
5062 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
5064         * net/tramp.el (tramp-handle-insert-directory): Don't use
5065         `forward-word', its default syntax could be changed.
5067 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
5069         * net/tramp.el (tramp-progress-reporter-update): New defun.
5070         (with-progress-reporter): Use it.
5071         (tramp-process-actions):
5072         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
5073         current message, in order to let progress reporter continue
5074         afterwards.  (Bug#6257)
5076 2010-05-25  Glenn Morris  <rgm@gnu.org>
5078         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
5079         Add :version.
5081 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
5083         * net/rcirc.el (rcirc-default-user-name): Change to "user".
5084         (rcirc-default-full-name): Change to "unknown".
5085         (rcirc-user-name-history): Add variable.
5087 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
5088             Jonathan Rockway  <jon@jrock.us>
5090         * net/rcirc.el (rcirc-server-alist): Add :pass.
5091         (rcirc): When prompting for connection parameters, also prompt for
5092         username and password.
5093         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
5094         value to server when connecting.
5096 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5098         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
5099         (smie-merge-prec2s): Pass the tables as separate args.
5100         (smie-bnf-precedence-table): Adjust call accordingly.
5101         (smie-prec2-levels): Set levels at the end.
5103         Replace Lisp calls to delete-backward-char by delete-char.
5104         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
5105         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
5106         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
5107         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
5108         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
5109         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
5110         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
5111         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
5112         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
5113         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
5114         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
5115         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
5116         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
5117         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
5118         delete-backward-char by calls to delete-char.
5120 2010-05-25  Kenichi Handa  <handa@m17n.org>
5122         * language/hebrew.el (hebrew-shape-gstring): New function.
5123         Register it in composition-function-table for all Hebrew combining
5124         characters.
5126 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5128         * epa.el (epa--select-keys): Don't explicitly delete the window since
5129         that can fail (e.g. sole window in frame).  Use dedication instead.
5131 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
5133         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
5135 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
5137         * image.el (image-refresh): Define as an alias for image-flush.
5139         * image-mode.el (image-toggle-display-image): Caller changed.
5141 2010-05-21  Juri Linkov  <juri@jurta.org>
5143         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
5144         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
5145         whitespace, call wildcard-to-regexp on substrings and concat them
5146         with "\\|".  (Bug#6114)
5148 2010-05-21  Alan Mackenzie  <acm@muc.de>
5150         * progmodes/cc-engine.el (c-parse-state-get-strategy):
5151         Replace parameter `here' with `here-' and `here-plus', which sandwich
5152         any pertinent CPP construct.
5153         (c-remove-stale-state-cache-backwards): Fix a bug which happens
5154         when doing (c-parse-state) in a CPP construct: Exclude any "new"
5155         CPP construct from taking part in the scanning.
5157 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
5159         * net/tramp.el (tramp-do-copy-or-rename-file)
5160         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
5161         Tune `with-progress-reporter' messages.
5162         (tramp-handle-vc-registered):
5163         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
5164         (tramp-fish-handle-insert-file-contents)
5165         (tramp-fish-maybe-open-connection):
5166         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5167         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
5168         (tramp-imap-handle-insert-file-contents)
5169         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
5171 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
5173         * add-log.el (change-log-font-lock-keywords):
5174         Highlight all authors in multi-author entries.
5176         * smerge-mode.el (smerge-refine-ignore-whitespace)
5177         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
5178         Fix typos in docstrings.
5179         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
5181 2010-05-21  Glenn Morris  <rgm@gnu.org>
5183         * progmodes/fortran.el (fortran-mode):
5184         * progmodes/f90.el (f90-mode): Derive from prog-mode.
5186         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
5187         having a relative path in src/Makefile.in.
5189 2010-05-20  Kevin Ryde  <user42@zip.com.au>
5191         * help-mode.el (help-make-xrefs): For Info node links turn
5192         newlines into spaces.  Link node names with newlines are matched
5193         by help-xref-info-regexp and buttonized, this change ensures they
5194         can be followed successfully with RET.  (Bug#6206)
5196 2010-05-20  Juri Linkov  <juri@jurta.org>
5198         * locate.el (locate): Use pop-to-buffer instead of
5199         switch-to-buffer-other-window.  (Bug#6204)
5201 2010-05-20  Juri Linkov  <juri@jurta.org>
5203         * replace.el (replace-highlight): Fix lazy-highlighting
5204         for `M-s w str M-% str RET'.
5206 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
5208         * isearch.el (isearch-yank-word-or-char): Pull next subword
5209         when `subword-mode' is activated.  (Bug#6220)
5211 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
5213         * isearch.el (isearch-update-post-hook): New hook.
5214         (isearch-update): Use the new hook.  (Bug#6225)
5216 2010-05-20  Juri Linkov  <juri@jurta.org>
5218         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
5219         [f1], [help], and (char-to-string help-char) instead of "\C-h".
5220         (Bug#6222)
5222 2010-05-20  Juri Linkov  <juri@jurta.org>
5224         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
5225         (Bug#6223)
5227 2010-05-20  Juri Linkov  <juri@jurta.org>
5229         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
5230         FILE-NAME to read from the minibuffer when called interactively
5231         with prefix argument instead of using buffer-file-name.
5232         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
5234         * dired.el: Update autoloads.
5236 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
5238         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
5239         nxml-finish-element, for consistency with SGML mode.
5241         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
5242         octave-close-block.
5244 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
5246         * composite.el: Require cl when compiling.
5247         (reference-point-alist, compose-gstring-for-graphic)
5248         (compose-gstring-for-terminal): Fix typos in docstrings.
5250 2010-05-19  Juri Linkov  <juri@jurta.org>
5252         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
5253         set-window-parameter.
5255 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
5257         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
5258         where appropriate.
5259         (tramp-maybe-open-connection): Use it.
5261 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
5263         * simple.el (move-end-of-line): Make sure we are at line beginning
5264         before backing up to end of previous line.
5266 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
5268         * password-cache.el (password-cache-remove): Fix docstring.
5270         * net/secrets.el: Autoload the widget functions.
5271         (secrets-search-items, secrets-create-item)
5272         (secrets-get-attributes, secrets-expand-item): Attributes will be
5273         stored on the password database without leading ":", as all other
5274         clients do as well.
5275         (secrets-mode): Fix docstring.
5276         (secrets-show-secrets): Provide it as autoloaded command only when
5277         D-Bus support is available.  Check existence of Secret Service API.
5279 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5281         * indent.el (indent-region): Deactivate region (bug#6200).
5283 2010-05-19  Glenn Morris  <rgm@gnu.org>
5285         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
5287 2010-05-19  Kenichi Handa  <handa@m17n.org>
5289         * composite.el: Register compose-gstring-for-graphic in
5290         composition-function-table only for combining characters (Mn, Mc, Me).
5292 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
5294         * calc/calc-trail.el (calc-trail-isearch-forward)
5295         (calc-trail-isearch-backward): Ensure that the new window
5296         point is set correctly.
5298 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5300         * subr.el (read-quoted-char): Resolve modifiers after key
5301         remapping (bug#6212).
5303 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
5305         Add visualization code for secrets.
5306         * net/secrets.el (secrets-mode): New major mode.
5307         (secrets-show-secrets, secrets-show-collections)
5308         (secrets-expand-collection, secrets-expand-item)
5309         (secrets-tree-widget-after-toggle-function)
5310         (secrets-tree-widget-show-password): New defuns.
5312 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5314         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
5315         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
5316         handled in smie-next-sexp.
5317         (smie-indent-calculate): Provide a starting indentation (so the
5318         recursion is well-founded ;-).
5320         Fix handling of non-associative equal levels.
5321         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
5322         when it's not needed.
5323         (smie-op-left, smie-op-right): New functions.
5324         (smie-next-sexp): New function, extracted from smie-backward-sexp.
5325         Better handle equal levels to distinguish the associative case from
5326         the "multi-keyword construct" case.
5327         (smie-backward-sexp, smie-forward-sexp): Use it.
5329 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
5331         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
5333         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
5334         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
5336 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5338         Provide a simple generic indentation engine and use it for Prolog.
5339         * emacs-lisp/smie.el: New file.
5340         * progmodes/prolog.el (prolog-smie-op-levels)
5341         (prolog-smie-indent-rules): New var.
5342         (prolog-mode-variables): Use them to configure SMIE.
5343         (prolog-indent-line, prolog-indent-level): Remove.
5345 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
5347         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
5348         order before computing the averages.
5350 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
5352         * calc/calc-vec.el (calc-histogram):
5353         (calcFunc-histogram): Allow vectors as inputs.
5354         (math-vector-avg): New function.
5356         * calc/calc-ext.el (math-group-float): Have the number of digits
5357         being grouped depend on the radix (Bug#6189).
5359 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
5361         * version.el (emacs-copyright, emacs-version): Don't define here,
5362         now that emacs.c defines it.
5364 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
5366         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
5367         "Describe Language Environment" menu item.
5369         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
5371         Bidi-sensitive movement with arrow keys.
5372         * subr.el (right-arrow-command, left-arrow-command): New functions.
5374         * bindings.el (global-map): Bind them to right and left arrow keys.
5376         Don't override standard definition of convert-standard-filename.
5377         * files.el (convert-standard-filename): Call
5378         w32-convert-standard-filename and dos-convert-standard-filename on
5379         the corresponding systems.
5381         * w32-fns.el (w32-convert-standard-filename): Rename from
5382         convert-standard-filename.  Doc fix.
5384         * dos-fns.el (dos-convert-standard-filename): Doc fix.
5385         (convert-standard-filename): Don't defalias.
5386         (register-name-alist, make-register, register-value)
5387         (set-register-value, intdos): Obsolete aliases for the
5388         corresponding dos-* functions and variables.
5389         (dos-intdos): Add a doc string.
5391 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
5393         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
5394         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
5395         (math-compose-tex-func):
5396         * calc/calccomp.el (math-compose-expr):
5397         * calc/calc-ext.el (math-format-flat-expr-fancy):
5398         * calc/calc-store.el (calc-read-var-name):
5399         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
5401         * calc/calc.el (var-π, var-φ, var-γ): New variables.
5402         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
5403         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
5404         (math-standard-units): Add units.
5406 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5408         * progmodes/asm-mode.el (asm-mode):
5409         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
5411         * pcomplete.el (pcomplete-completions-at-point): New function,
5412         extracted from pcomplete-std-complete.
5413         (pcomplete-std-complete): Use it.
5415 2010-05-15  Glenn Morris  <rgm@gnu.org>
5417         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5418         Remove references to CVS, RCS and Old directories.
5420 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
5422         * calc/calc-bin.el (math-format-twos-complement): Group digits when
5423         appropriate.
5425 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5427         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
5428         (sh-mode-syntax-table): Give it a default value instead.
5429         (sh-header-marker): Make buffer-local.
5430         (sh-mode): Move make-local-variable to the corresponding setq.
5431         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
5432         Use complete-with-action.
5434         * simple.el (prog-mode): New (abstract) major mode.
5435         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
5436         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
5438 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
5440         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
5441         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
5442         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
5443         (sql-make-alternate-buffer-name, sql-placeholders-filter)
5444         (sql-escape-newlines-filter, sql-input-sender)
5445         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
5447 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
5449         Add TeX open-block and close-block keybindings to SGML, and vice versa.
5451         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
5452         latex-open-block and C-c / to latex-close-block.
5454         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
5455         and C-c C-e to sgml-close-tag.
5457 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
5459         * net/tramp.el (with-progress-reporter): Create reporter object
5460         only when the message would be displayed.  Handle nested calls.
5461         (tramp-handle-load, tramp-handle-file-local-copy)
5462         (tramp-handle-insert-file-contents, tramp-handle-write-region)
5463         (tramp-maybe-send-script, tramp-find-shell):
5464         Use `with-progress-reporter'.
5465         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
5466         Fix message text.
5468         * net/tramp-smb.el (tramp-smb-handle-copy-file)
5469         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5470         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
5471         Use `with-progress-reporter'.
5473 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
5475         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
5476         process everytime when spellchecking from the minibuffer (bug#6143).
5478 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5480         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
5482         * dos-fns.el: Add "dos-" prefix for namespace control.
5483         (convert-standard-filename): Define as alias for
5484         dos-convert-standard-filename but only if applicable.
5486 2010-05-12  Alan Mackenzie  <acm@muc.de>
5488         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
5489         Push the mark at the start of these functions when appropriate.
5491 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5493         * minibuffer.el (completion-cycle-threshold): New custom var.
5494         (completion--do-completion): Use it.
5495         (minibuffer-complete): Use cycling if appropriate.
5497 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
5499         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
5500         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
5502 2010-05-11  Juri Linkov  <juri@jurta.org>
5504         * scroll-all.el (scroll-all-check-to-scroll):
5505         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
5507 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5509         * iimage.el (iimage-mode-map): Move initialization into declaration.
5510         (iimage-mode-buffer): Use with-silent-modifications.
5511         Simplify calling convention.  Adjust callers.
5512         (iimage-mode): Don't run hook redundantly.
5514         * minibuffer.el (completion-pcm--pattern->regex):
5515         Fix last change (bug#6160).
5517 2010-05-10  Juri Linkov  <juri@jurta.org>
5519         Remove nodes visited during Isearch from the Info history.
5520         * info.el (Info-isearch-initial-history)
5521         (Info-isearch-initial-history-list): New variables.
5522         (Info-isearch-start): Record initial values of
5523         Info-isearch-initial-history and Info-isearch-initial-history-list.
5524         Add Info-isearch-end to isearch-mode-end-hook.
5525         (Info-isearch-end): New function.
5527 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
5529         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
5530         format string, in order to work around a bug in pdksh.
5531         Reported by Gilles Pion <gpion@lfdj.com>.
5532         (tramp-handle-verify-visited-file-modtime): Do not send a command
5533         when the connection is not established.
5534         (tramp-handle-set-file-times): Simplify the check for utc.
5536 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
5538         Fix use of `filter-buffer-substring' (rework previous change).
5539         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
5540         (cua-repeat-replace-region):
5541         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
5542         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
5543         (cua-cut-region-to-global-mark): Use it.
5545 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
5547         * progmodes/sql.el: Version 2.1.
5548         (sql-product-alist): Redesign structure of product info.
5549         (sql-product, sql-user, sql-server, sql-database): Safe variables.
5550         (sql-port, sql-port-history): New variables.
5551         (sql-interactive-product): New variable.
5552         (sql-send-terminator): New variable.
5553         (sql-imenu-generic-expression): Add "Types" imenu entry.
5554         (sql-oracle-login-params, sql-sqlite-login-params)
5555         (sql-mysql-login-params, sql-solid-login-params)
5556         (sql-sybase-login-params, sql-informix-login-params)
5557         (sql-ingres-login-params, sql-ms-login-params)
5558         (sql-postgres-login-params, sql-interbase-login-params)
5559         (sql-db2-login-params, sql-linter-login-params)
5560         (sql-oracle-scan-on): New variables.
5561         (sql-mode-map): Add C-c C-i to start interactive mode.
5562         (sql-mode-menu): Update existing menu entries.
5563         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
5564         (sql-mode-oracle-font-lock-keywords)
5565         (sql-mode-postgres-font-lock-keywords)
5566         (sql-mode-ms-font-lock-keywords)
5567         (sql-mode-sybase-font-lock-keywords)
5568         (sql-mode-informix-font-lock-keywords)
5569         (sql-mode-interbase-font-lock-keywords)
5570         (sql-mode-ingres-font-lock-keywords)
5571         (sql-mode-solid-font-lock-keywords)
5572         (sql-mode-mysql-font-lock-keywords)
5573         (sql-mode-sqlite-font-lock-keywords)
5574         (sql-mode-db2-font-lock-keywords)
5575         (sql-mode-linter-font-lock-keywords): Update initialization to
5576         reduce run-time complexity.
5577         (sql-add-product, sql-del-product): New functions.
5578         (sql-set-product-feature, sql-get-product-feature): New functions.
5579         (sql-product-font-lock): Update product API.
5580         (sql-add-product-keywords): New function.
5581         (sql-highlight-product): Update product API.
5582         (sql-help-list-products): New function.
5583         (sql-help): Dynamically lists free and non-free products.
5584         (sql-get-login): Correct bug in handling history and added
5585         prompt for port.
5586         (sql-copy-column): Copy without properties.
5587         (sqli-input-sender): Apply filters to SQLi input.
5588         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
5589         Implement as a filter.
5590         (sql-escape-newlines-filter): Implement as a filter.
5591         (sql-remove-tabs-filter): New function.
5592         (sql-send-magic-terminator): New function.
5593         (sql-send-string): Implement magic terminator.
5594         (sql-send-region): Use `sql-send-string'.
5595         (sql-interactive-mode): Use product API.
5596         (sql-product-interactive): Use product API.
5597         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5598         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5599         (sql-db2, sql-linter): Use `sql-product-interactive'.
5600         (sql-connect): New function.
5601         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
5602         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
5603         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
5604         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
5605         Use `sql-connect'.
5607 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5609         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
5610         New custom variable.
5611         (completion-pcm--string->pattern): Use it.
5612         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
5613         Make it handle any symbol as `any'.
5614         (completion-pcm--merge-completions): Extract common suffix for the new
5615         `prefix' symbol as well.
5616         (completion-substring--all-completions): Use the new `prefix' symbol.
5618 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
5620         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
5621         not bound.
5622         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5623         (tramp-compat-funcall): New defmacro.
5624         (tramp-compat-line-beginning-position)
5625         (tramp-compat-line-end-position)
5626         (tramp-compat-temporary-file-directory)
5627         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
5628         (tramp-compat-copy-file, tramp-compat-copy-directory)
5629         (tramp-compat-delete-file, tramp-compat-delete-directory)
5630         (tramp-compat-number-sequence, tramp-compat-process-running-p)
5631         * net/tramp.el (top, with-progress-reporter)
5632         (tramp-rfn-eshadow-setup-minibuffer)
5633         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
5634         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
5635         (tramp-completion-mode-p, tramp-check-for-regexp)
5636         (tramp-open-connection-setup-interactive-shell)
5637         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
5638         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
5639         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
5640         * net/tramp-cmds.el (tramp-cleanup-all-connections)
5641         (tramp-reporter-dump-variable, tramp-load-report-modules)
5642         (tramp-append-tramp-buffers)
5643         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
5645         * net/tramp-imap.el (top): Autoload `epg-make-context'.
5647 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5649         * progmodes/compile.el (compilation-buffer-modtime): Rename from
5650         buffer-modtime.  Adjust users.
5652 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
5654         * international/mule.el (auto-coding-alist): Only purecopy
5655         car of each item, not the whole list (Bug#6083).
5657 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
5659         * progmodes/js.el (js-mode): Make paragraph variables local before
5660         calling c-setup-paragraph-variables (Bug#6071).
5662 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
5664         * composite.el (compose-region, reference-point-alist): Fix typos
5665         in the doc strings.
5667 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
5669         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
5670         gnuplot's "set" command.
5672 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
5674         * abbrev.el (last-abbrev-text): Doc fix.
5675         (abbrev-prefix-mark): Don't escape parenthesis.
5677 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
5679         * composite.el (find-composition): Doc fix.
5681 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
5683         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
5684         (sql-oracle-program, sql-sqlite-options)
5685         (sql-query-placeholders-and-send): Doc fixes.
5686         (sql-set-product, sql-interactive-mode): Reflow docstrings.
5687         (sql-imenu-generic-expression, sql-buffer)
5688         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
5689         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
5690         (sql-mode-sybase-font-lock-keywords)
5691         (sql-mode-informix-font-lock-keywords)
5692         (sql-mode-interbase-font-lock-keywords)
5693         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
5694         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
5695         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
5696         (sql-product-feature, sql-highlight-product)
5697         (comint-line-beginning-position, sql-rename-buffer)
5698         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
5699         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
5700         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
5701         Fix typos in docstrings.
5703 2010-05-08  Juri Linkov  <juri@jurta.org>
5705         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
5706         property instead of `invisible' and `after-string' (bug#5998).
5708 2010-05-08  Juri Linkov  <juri@jurta.org>
5710         * image-mode.el (image-mode-as-text): Fix typo in docstring.
5712 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
5714         * filecache.el (file-cache-add-directory-list)
5715         (file-cache-add-directory-recursively): Fix typos in docstrings.
5717 2010-05-08  Kenichi Handa  <handa@m17n.org>
5719         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
5720         (gujarati-composable-pattern): Fix typo.
5722 2010-05-08  Kenichi Handa  <handa@m17n.org>
5724         * language/indian.el (oriya-composable-pattern)
5725         (tamil-composable-pattern, malayalam-composable-pattern):
5726         Add two-part vowels to "v" (vowel sign).
5728 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
5730         * files.el (copy-directory): Handle symlinks (Bug#5982).
5732 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
5734         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
5735         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
5736         (Bug#5846).
5738 2010-05-08  Glenn Morris  <rgm@gnu.org>
5740         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
5742         * minibuffer.el (completion-at-point): Doc fix.
5744 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5746         * electric.el (Electric-command-loop): Minor tweak.
5748         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
5749         better with dedicated windows.
5751 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
5753         * Version 23.2 released.
5755 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
5756             Stefan Monnier  <monnier@iro.umontreal.ca>
5758         Highlight vendor specific properties.
5759         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
5760         (css-proprietary-property): New face.
5761         (css-font-lock-keywords): Use them.
5763 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
5765         * cus-start.el (all): Add native condition for tool-bar-* symbols.
5767 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5769         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
5770         * files.el (auto-mode-alist): Remove redundant entries.
5772         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
5773         * simple.el (auto-save-mode): Move from files.el.
5774         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
5776 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
5778         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
5780 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
5782         * mail/binhex.el (binhex-decode-region-internal)
5783         * mail/uudecode.el (uudecode-decode-region-internal)
5784         * net/dns.el (dns-read-string-name, dns-write, dns-read)
5785         (dns-read-type, dns-query)
5786         * pgg-parse.el (pgg-parse-armor)
5787         * pgg.el (pgg-verify-region)
5788         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
5789         XEmacs.
5791         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
5793 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
5795         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
5797         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
5798         * emulation/cua-base.el (cua-repeat-replace-region):
5799         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
5800         (cua-cut-region-to-global-mark):
5801         Remove text properties with `set-text-properties'.
5803 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
5805         * net/tramp.el (top, with-progress-reporter):
5806         Use `symbol-function' inside `funcall'.
5808         * net/tramp-compat.el (tramp-compat-file-attributes)
5809         (tramp-compat-delete-file, tramp-compat-delete-directory):
5810         Handle only `wrong-number-of-arguments' error.
5812         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
5813         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
5814         inside `funcall'.
5816 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5818         * minibuffer.el (completion--sreverse, completion--common-suffix):
5819         New functions.
5820         (completion-pcm--merge-completions): Extract common suffix when safe.
5822         * emacs-lisp/easy-mmode.el (define-minor-mode):
5823         Make :variable more flexible.
5824         * files.el (auto-save-mode): Use it to define using define-minor-mode.
5826 2010-05-05  Juri Linkov  <juri@jurta.org>
5828         Add `slow' and `history' tags to the desktop data.
5830         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
5831         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
5832         (Info-finder-find-node): Require `finder.el' to be able
5833         to restore node from the desktop.
5834         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
5835         data `Info-history' and `slow' tag in the assoc list.
5836         (Info-restore-desktop-buffer): Don't restore nodes with the
5837         `slow' tag.  Restore `Info-history'.
5839 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
5841         Add FORCE argument to `delete-file'.
5843         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
5844         forcing to delete the temporary file.
5845         (ange-ftp-delete-file): Add FORCE arg.
5846         (ange-ftp-rename-remote-to-remote)
5847         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
5848         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
5849         Force file deletion.
5851         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
5853         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
5854         (tramp-handle-make-symbolic-link, tramp-handle-load)
5855         (tramp-do-copy-or-rename-file-via-buffer)
5856         (tramp-do-copy-or-rename-file-directly)
5857         (tramp-do-copy-or-rename-file-out-of-band)
5858         (tramp-handle-process-file, tramp-handle-call-process-region)
5859         (tramp-handle-shell-command, tramp-handle-file-local-copy)
5860         (tramp-handle-insert-file-contents, tramp-handle-write-region)
5861         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
5863         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
5864         (tramp-fish-handle-make-symbolic-link)
5865         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
5867         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
5868         Use `tramp-compat-delete-file'.
5870         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
5871         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
5873         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
5874         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
5876         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
5877         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
5878         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
5879         `tramp-compat-delete-file'.
5881 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5883         Minor cleanups.
5884         * subr.el (add-minor-mode): Use push.
5885         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
5886         * emulation/edt.el (edt-select-mode): Simplify.
5888         Use define-minor-mode in more cases.
5889         * term/tvi970.el (tvi970-set-keypad-mode):
5890         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5891         (normal-erase-is-backspace-mode):
5892         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
5893         (set-scroll-bar-mode-1): (Re)move to its sole caller.
5894         (get-scroll-bar-mode): New function.
5895         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
5897         Use define-minor-mode for less obvious cases.
5898         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
5899         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
5900         * international/iso-ascii.el (iso-ascii-mode):
5901         * frame.el (auto-raise-mode, auto-lower-mode):
5902         * composite.el (global-auto-composition-mode): Use define-minor-mode.
5904 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
5906         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
5907         in order to see error messages for failed logins.
5909 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
5911         * diff.el (diff-sentinel):
5913         * epg.el (epg--make-temp-file, epg-decrypt-string)
5914         (epg-verify-string, epg-sign-string, epg-encrypt-string):
5916         * jka-compr.el (jka-compr-partial-uncompress)
5917         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
5919         * server.el (server-sentinel): Use delete-file's new FORCE arg
5920         (Bug#6070).
5922 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5924         Use define-minor-mode where applicable.
5925         * view.el (view-mode):
5926         * type-break.el (type-break-query-mode)
5927         (type-break-mode-line-message-mode):
5928         * textmodes/reftex.el (reftex-mode):
5929         * term/vt100.el (vt100-wide-mode):
5930         * tar-mode.el (tar-subfile-mode):
5931         * savehist.el (savehist-mode):
5932         * ibuf-ext.el (ibuffer-auto-mode):
5933         * composite.el (auto-composition-mode):
5934         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5935         Use define-minor-mode.
5936         (vhdl-mode): Use static mode-line format.
5937         (vhdl-mode-line-update): Delete.
5938         (vhdl-create-mode-menu, vhdl-activate-customizations)
5939         (vhdl-hs-minor-mode): Don't bother calling it.
5941 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5943         * simple.el (with-wrapper-hook): Move.
5944         (buffer-substring-filters): Mark obsolete.
5945         (filter-buffer-substring-functions): New variable.
5946         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
5948 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
5949             Michael Albinus  <michael.albinus@gmx.de>
5951         Implement compression for inline methods.
5953         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
5954         (tramp-copy-size-limit): Allow also nil.
5955         (tramp-inline-compress-commands): New defconst.
5956         (tramp-find-inline-compress, tramp-get-inline-compress)
5957         (tramp-get-inline-coding): New defuns.
5958         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
5959         replaced by `tramp-get-inline-coding'.
5960         (tramp-handle-file-local-copy, tramp-handle-write-region)
5961         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
5963 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5965         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
5966         Remove unused functions.
5968         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
5969         Set find-tag-default-function as a variable rather than a property.
5971         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
5972         * progmodes/etags.el (tags-completion-at-point-function):
5973         Remove left over interactive spec.  Add autoloading stub.
5974         (complete-tag): Use tags-completion-at-point-function.
5976 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
5978         * minibuffer.el (tags-completion-at-point-function): Fix return value.
5980 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
5982         * ido.el (ido-init-completion-maps): Remove C-v binding.
5983         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
5985 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
5987         * minibuffer.el (tags-completion-at-point-function): New function.
5988         (completion-at-point-functions): Use it.
5990         * progmodes/etags.el (complete-tag): Revert last change.
5992 2010-04-29  Alan Mackenzie  <acm@muc.de>
5994         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
5995         off-by-one error (in end of macro position).
5997 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5999         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
6000         firefox is absent.  Don't autoload.
6001         (browse-url-galeon-program): Don't autoload.
6003 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
6005         * bindings.el (complete-symbol): Move into minibuffer.el.
6007         * minibuffer.el (complete-tag): Move from etags.el.  If tags
6008         completion cannot be performed, return nil instead of signalling
6009         an error.
6010         (completion-at-point): Make it an alias for complete-symbol.
6011         (complete-symbol): Move from bindings.el, and replace with the
6012         body of completion-at-point.
6014         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
6016 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
6018         * net/tramp.el (tramp-remote-selinux-p): New defun.
6019         (tramp-handle-file-selinux-context)
6020         (tramp-handle-set-file-selinux-context): Use it.
6022 2010-04-28  Sam Steingold  <sds@gnu.org>
6024         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
6025         `safe-local-variable' if the value is a string or a symbol with
6026         the property `bug-reference-url-format'.
6028 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
6030         * progmodes/bug-reference.el (bug-reference-url-format):
6031         Revert 2010-04-27 change due to security risk.
6033 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6035         Make it possible to locally disable a globally enabled mode.
6036         * simple.el (fundamental-mode): Run fundamental-mode-hook.
6037         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
6038         rather than kill-all-local-variables so it runs fundamental-mode-hook.
6039         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6040         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
6041         that subsequent hooks get a chance to disable it.
6043 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6045         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6046         Avoid re-enabling a minor mode after the user turned the minor mode
6047         off if MODE-enable-in-buffers is run twice (typically once from
6048         fundamental-mode's after-change-major-mode-hook and a second time from
6049         run-mode-hook's own after-change-major-mode-hook).
6051         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
6053 2010-04-27  Sam Steingold  <sds@gnu.org>
6055         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
6056         `safe-local-variable' if the value is a string or a function, as
6057         documented and implemented on 2010-04-02.
6059 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
6061         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
6062         when method is 'kill.
6064 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
6066         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
6067         condition in default directory check.
6068         (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
6069         Kill ispell process when killing its associated buffer.
6071 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
6073         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
6074         but we aren't using it.
6076 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
6078         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
6079         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
6081 2010-04-24  Glenn Morris  <rgm@gnu.org>
6083         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
6084         Ignore VCS-ignore files, and deleted nextstep preferences files.
6085         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
6086         (authors-ambiguous-files): New list.
6087         (authors-valid-file-names): Add some deleted files.
6088         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
6089         (authors-disambiguate-file-name): New function.  (Bug#5501)
6090         (authors-canonical-file-name): Doc fix.
6091         Don't warn about obsolete files.
6092         (authors-canonical-file-name, authors-scan-el):
6093         Use authors-disambiguate-file-name.
6095         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
6096         Add autoload cookies.
6097         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
6098         (generated-autoload-file): Set file-local value to "htmlfontify.el".
6099         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
6100         They have definitions / compiler macros in cl.el.
6101         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
6102         Replace manual autoloads with generated ones.
6103         (htmlfontify-unload-rgb-file): Remove autoload.
6104         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
6106 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6108         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
6109         (byte-compile-setq-default): Optimize for the
6110         single-var case and don't call byte-compile-form in this case to avoid
6111         inf-loop with byte-compile-set-default.
6113         * progmodes/compile.el (compilation-start): Abbreviate default directory.
6115 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
6117         Implement SELINUX backends.
6119         * net/tramp.el (tramp-file-name-handler-alist):
6120         Add `file-selinux-context' and `set-file-selinux-context'.
6121         (tramp-handle-file-selinux-context)
6122         (tramp-handle-set-file-selinux-context): New defuns.
6123         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6124         Handle PRESERVE-SELINUX-CONTEXT.
6126         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6127         Add `file-selinux-context' and `set-file-selinux-context'.
6128         (tramp-gvfs-handle-file-selinux-context)
6129         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6130         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6132         * net/ange-ftp.el (ange-ftp-copy-file):
6133         * net/tramp-fish.el (tramp-fish-handle-copy-file):
6134         * net/tramp-imap.el (tramp-imap-handle-copy-file):
6135         * net/tramp-smb.el (tramp-smb-handle-copy-file):
6136         Add PRESERVE-SELINUX-CONTEXT.
6138 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
6140         Synchronize with Tramp repository.
6142         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
6143         (tramp-action-process-alive, tramp-action-out-of-band)
6144         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6145         (tramp-exists-file-name-handler): Fix docstring.
6146         (with-progress-reporter): New defmacro.
6147         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
6148         (tramp-maybe-open-connection): Use it.
6150 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
6152         Detect ssh 'ControlMaster' argument automatically in some cases.
6154         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6155         (tramp-default-method): Use it.
6157 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
6159         * net/tramp.el (tramp-handle-copy-file): Add new optional
6160         parameter `preserve-selinux-context'.
6161         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
6163 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
6165         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
6166         Ensure, that non remote files are still checked.  Oops.
6168 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
6170         Fix Bug#5840.
6172         * icomplete.el (icomplete-completions): Use `non-essential'.
6174         * net/tramp.el (tramp-connectable-p): New defun.
6175         (tramp-handle-expand-file-name)
6176         (tramp-completion-handle-file-name-all-completions)
6177         (tramp-completion-handle-file-name-completion): Use it.
6179 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6181         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
6183 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
6185         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
6187         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
6189         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
6190         is present.
6192         * info.el (info-tool-bar-map): Add labels.
6194         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
6196         * cus-edit.el (custom-commands): Add labels for tool bar.
6197         (custom-buffer-create-internal, Custom-mode): Adjust for
6198         labels in custom-commands.
6200         * dynamic-setting.el: Renamed from font-setting.el.
6202 2010-04-21  John Wiegley  <jwiegley@gmail.com>
6204         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
6205         toggles the use of virtual buffers.
6206         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
6207         (ido-toggle-virtual-buffers): New function.
6209 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
6211         Use `define-derived-mode'; fix window selection; doc fixes.
6212         * play/tetris.el (tetris, tetris-update-speed-function)
6213         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
6214         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
6215         (tetris-rotate-next, tetris-end-game, tetris-start-game)
6216         (tetris-pause-game): Fix typos in docstrings.
6217         (tetris-mode-map, tetris-null-map):
6218         Move initialization into declaration.
6219         (tetris-mode): Define with `define-derived-mode';
6220         set show-trailing-whitespace to nil.
6221         (tetris): Prefer window already displaying the "*Tetris*" buffer.
6223 2010-04-21  Karel Klíč  <kklic@redhat.com>
6225         * files.el (backup-buffer): Handle SELinux context, and return it
6226         if a backup was made by renaming.
6227         (backup-buffer-copy): Set SELinux context to the target file.
6228         (basic-save-buffer): Set SELinux context of the newly written file.
6229         (basic-save-buffer-1): Now it also returns any SELinux context.
6230         (basic-save-buffer-2): Set SELinux context of the newly created file,
6231         and return it.
6232         * net/tramp.el (tramp-file-name-for-operation):
6233         Add file-selinux-context.
6235 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6237         Make the log-edit comments use RFC822 format throughout.
6239         * vc.el (vc-checkin, vc-modify-change-comment):
6240         Adjust to new vc-start/finish-logentry.
6241         (vc-find-conflicted-file): New command.
6242         (vc-transfer-file): Adjust to new vc-checkin.
6243         (vc-next-action): Improve scoping.
6245         * vc-hg.el (vc-hg-log-edit-mode): Remove.
6246         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
6248         * vc-git.el (vc-git-log-edit-mode): Remove.
6249         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
6250         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
6252         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
6253         (vc-start-logentry): Remove argument `extra'.
6254         (vc-finish-logentry): Remove extra args.
6256         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
6257         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
6258         (vc-bzr-conflicted-files): New function.
6260         * log-edit.el (log-edit-extra-flags)
6261         (log-edit-before-checkin-process): Remove.
6262         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
6263         (log-edit-headers-alist): New var.
6264         (log-edit-header-contents-regexp): New const.
6265         (log-edit-match-to-eoh): New function.
6266         (log-edit-font-lock-keywords): Use them.
6267         (log-edit): Insert a "Summary:" header as default.
6268         (log-edit-mode): Mark font-lock rules as case-insensitive.
6269         (log-edit-done): Cleanup headers.
6270         (log-view-process-buffer): Remove.
6271         (log-edit-extract-headers): New function to replace it.
6273 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
6275         * subr.el (default-direction-reversed): Remove obsolescence info.
6277 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6279         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
6280         windows/frames.
6282         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
6283         I.e. include text after point in the completion region.
6284         Also, return nil when we're not after/in a symbol.
6286         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
6287         default enable-multibyte-characters.
6289 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6291         * international/mule.el: Help the user choose a valid coding-system.
6292         (read-buffer-file-coding-system): New function.
6293         (set-buffer-file-coding-system): Use it.  Prompt the user if the
6294         coding-system cannot encode all the chars.
6296         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
6297         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
6298         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
6299         Don't use *vc-bzr-shelve*.
6301 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
6303         Fix the version number for added files.
6304         * vc-hg.el (vc-hg-working-revision): Check if the file is
6305         registered after hg parent fails (Bug#5961).
6307 2010-04-19  Glenn Morris  <rgm@gnu.org>
6309         * htmlfontify.el (htmlfontify-buffer)
6310         (htmlfontify-copy-and-link-dir): Autoload entry points.
6312 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
6314         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
6315         name relative to the project root (Bug#5960).
6317 2010-04-19  Glenn Morris  <rgm@gnu.org>
6319         * vc-git.el (vc-git-print-log): Doc fix.
6321 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
6323         * ido.el (ido-file-internal): Fix 2009-12-02 change.
6325 2010-04-19  Christoph  <cschol2112@googlemail.com>  (tiny change)
6327         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
6328         default settings (Bug#5928).
6330 2010-04-19  Glenn Morris  <rgm@gnu.org>
6332         * progmodes/fortran.el (fortran-match-and-skip-declaration):
6333         New function.
6334         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
6336 2010-04-19  Kenichi Handa  <handa@m17n.org>
6338         * language/indian.el (malayalam-composable-pattern): Fix previous
6339         change (add U+0D4D "SIGN VIRAMA").
6340         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
6341         (tamil-composable-pattern): Fix typo in the regexp.
6342         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
6343         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
6344         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
6346 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
6348         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
6349         paragraph-separate (Bug#5821).
6351 2010-04-19  Juri Linkov  <juri@jurta.org>
6353         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
6355         * info.el (Info-find-node-2): Comment out code that skips
6356         breadcrumbs line.
6357         (Info-mouse-follow-link): New command.
6358         (Info-link-keymap): New keymap.
6359         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
6360         Return a string with links instead of inserting breadcrumbs
6361         to the Info buffer.
6362         (Info-fontify-node): Comment out code that inserts breadcrumbs.
6363         Instead of putting the `invisible' text property over the Info
6364         header, make an overlay over the Info header with the `invisible'
6365         property and `after-string' set to the string returned by
6366         `Info-breadcrumbs'.
6368 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
6370         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
6371         Reported by monkey@sandpframing.com.
6373 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6375         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
6376         (tmm-get-keymap): Add key-binding shortcuts now that they're not
6377         available in the "keyseq cache" any more.
6379         * custom.el (defcustom): Add edebug spec.
6381 2010-04-18  Juri Linkov  <juri@jurta.org>
6383         Test for special mode-class in view-buffer instead of view-file (bug#5513).
6385         * view.el (view-file, view-buffer): Move test for special mode-class
6386         from view-file to view-buffer.
6388         * tar-mode.el (tar-extract): Turn if's into one cond
6389         like in arc-mode.el.
6391 2010-04-18  Juri Linkov  <juri@jurta.org>
6393         Add 7z archive format support (bug#5475).
6395         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
6396         (archive-7z-extract): New defcustom.
6397         (archive-find-type): Add magic string for 7z.
6398         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
6399         If `stderr-file' is non-nil, use `(t stderr-file)' for the
6400         `buffer' arg of `call-process'.
6401         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
6402         call the function `archive-7z-extract' with the variable
6403         `archive-7z-extract' let-bound to `archive-zip-extract'.
6404         (archive-7z-summarize, archive-7z-extract): New functions.
6406         * international/mule.el (auto-coding-alist):
6407         * files.el (auto-mode-alist): Add 7z file extension.
6409 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6411         * loadup.el: Setup hash-cons for pure data.
6413         Fix duplicate entries in cedet's loaddefs.el files.
6414         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
6415         Should make most file-local generated-autoload-file unnecessary.
6416         (print-readably): Silence warnings.
6417         (autoload-find-destination): Take load-name as an arg to make sure
6418         it's the same as the one that will be in the file.
6419         (autoload-generate-file-autoloads): Adjust to above changes.
6420         Try to make the dataflow a bit simpler.
6422         * cvs-status.el (cvs-refontify): Remove unused.
6424 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
6426         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
6428         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
6429         twos-complement mode.
6431 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
6433         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
6434         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
6435         (calc-inverse): Add "Option" to message, as appropriate.
6436         (calc-hyperbolic): Add "Option" to message, as appropriate.
6437         (calc-option, calc-is-option): New functions.
6439         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
6440         (calc-option-prefix-help): New function.
6442         * calc/calc-misc.el (calc-help): Add "Option" entry.
6444         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
6445         (calc-option-flag): New variable.
6446         (calc-do): Set `calc-option-flag to nil.
6447         (calc-set-mode-line): Add "Opt " as appropriate.
6449 2010-04-16  Juri Linkov  <juri@jurta.org>
6451         Move scrolling commands from simple.el to window.el
6452         because their primitives are implemented in window.c.
6454         * simple.el (scroll-error-top-bottom)
6455         (scroll-up-command, scroll-down-command, scroll-up-line)
6456         (scroll-down-line, scroll-other-window-down)
6457         (beginning-of-buffer-other-window, end-of-buffer-other-window):
6458         * window.el (scroll-error-top-bottom)
6459         (scroll-up-command, scroll-down-command, scroll-up-line)
6460         (scroll-down-line, scroll-other-window-down)
6461         (beginning-of-buffer-other-window, end-of-buffer-other-window):
6462         Move from simple.el to window.el because their primitives are
6463         implemented in window.c.
6465 2010-04-16  Juri Linkov  <juri@jurta.org>
6467         * isearch.el (isearch-lookup-scroll-key): Check both
6468         `isearch-scroll' and `scroll-command' properties.
6469         (scroll-up, scroll-down): Remove `isearch-scroll' property.
6471         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
6473         * simple.el (scroll-up-command, scroll-down-command)
6474         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
6476 2010-04-15  Juri Linkov  <juri@jurta.org>
6478         * simple.el (scroll-up-command, scroll-down-command)
6479         (scroll-up-line, scroll-down-line): Put `scroll-command'
6480         property on the these symbols.  Remove them from
6481         `scroll-preserve-screen-position-commands'.
6483         * mwheel.el (mwheel-scroll): Put `scroll-command' and
6484         `isearch-scroll' properties on the `mwheel-scroll' symbol.
6485         Remove it from `scroll-preserve-screen-position-commands'.
6487         * isearch.el (isearch-allow-scroll): Doc fix.
6489 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
6491         * net/tramp.el (tramp-error-with-buffer): Don't show the
6492         connection buffer when we are in completion mode.
6493         (tramp-file-name-handler): Catch the error for some operations
6494         when we are in completion mode.  This gives the user the chance to
6495         correct the file name in the minibuffer.
6497 2010-04-15  Glenn Morris  <rgm@gnu.org>
6499         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
6501 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
6503         Simplify by using `define-derived-mode'.
6504         * info.el (Info-mode):
6505         * calendar/todo-mode.el (todo-mode):
6506         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
6507         (gomoku-mode-map): Move initialization into declaration.
6509 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
6511         Fix Bug#5840.
6512         * ido.el (ido-file-name-all-completions-1):
6513         * minibuffer.el (minibuffer-completion-help):
6514         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
6516 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6518         * simple.el (non-essential): New var.
6520         Add a new field `location' to bookmarks for non-file bookmarks.
6521         * bookmark.el (bookmark-location): Use the new field, if present.
6522         (bookmark-insert-location): Undo last change, not needed any more.
6523         * man.el (Man-bookmark-make-record):
6524         * woman.el (woman-bookmark-make-record): Add `location' field.
6526 2010-04-14  Juri Linkov  <juri@jurta.org>
6528         * simple.el (scroll-error-top-bottom): New defcustom.
6529         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
6531         * emulation/pc-select.el (pc-select-override-scroll-error):
6532         Obsolete in favor of `scroll-error-top-bottom'.
6534 2010-04-14  Juri Linkov  <juri@jurta.org>
6536         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
6537         `scroll-up-command' and `M-v' to `scroll-down-command'.
6539         * emulation/cua-rect.el (cua--init-rectangles):
6540         * forms.el (forms--change-commands):
6541         * image-mode.el (image-mode-map):
6542         Remap scroll-down-command and scroll-up-command
6543         in addition to scroll-down and scroll-up.
6545 2010-04-14  Juri Linkov  <juri@jurta.org>
6547         * mwheel.el (scroll-preserve-screen-position-commands):
6548         Add mwheel-scroll to this list of commands.
6550         * simple.el (scroll-preserve-screen-position-commands):
6551         Add scroll-up-command, scroll-down-command, scroll-up-line,
6552         scroll-down-line to this list of commands.
6554 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6556         * obsolete/complete.el: Move from lisp/complete.el.
6558         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
6560         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
6561         to the minor mode function now turns the mode ON unconditionally.
6563 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6565         * vc-dir.el (vc-dir-kill-line): New command.
6566         (vc-dir-mode-map): Bind it to C-k.
6568         * bookmark.el (bookmark-insert-location): Handle a nil filename.
6570         * woman.el: Add bookmark declarations to silence the compiler.
6571         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
6572         step to compatibility between man and woman bookmarks.
6573         Adjust for Man-default-bookmark-title renaming.
6574         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
6576         * man.el: Add bookmark declarations to silence the compiler.
6577         (Man-name-local-regexp): Make it match NAME as well.
6578         (Man-getpage-in-background): Return the buffer.
6579         (Man-notify-when-ready): Use `case'.
6580         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
6581         Don't hardcode "NAME".  Simplify.
6582         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
6583         Rename from Man-bookmark-make-record.
6584         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
6585         we have the actual man-args.  Use Man-getpage-in-background rather
6586         than `man' since the arg is already processed.  Let bookmark.el do the
6587         window handling.  Only wait for the relevant process.
6588         Don't forget to autoload.
6590         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
6592 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6594         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
6595         New functions.
6596         (woman-mode): Setup bookmark support.
6598         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
6599         (man-bookmark-jump): New functions.
6600         (Man-mode): Setup bookmark support.
6602 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
6604         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
6605         recognize ssh-keygen prompt (Bug#2817).
6607 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
6609         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
6611 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
6613         Synchronize with Tramp repository.
6615         * net/tramp.el (tramp-completion-function-alist)
6616         (tramp-file-name-regexp, tramp-chunksize)
6617         (tramp-local-coding-commands, tramp-remote-coding-commands):
6618         Fix docstring.
6619         (tramp-remote-process-environment): Use `format' instead of `concat'.
6620         (tramp-handle-directory-files-and-attributes)
6621         (tramp-get-remote-path): Use `copy-tree'.
6622         (tramp-handle-file-name-all-completions): Backward/ XEmacs
6623         compatibility: Use `completion-ignore-case' if
6624         `read-file-name-completion-ignore-case' does not exist.
6625         (tramp-do-copy-or-rename-file-directly): Do not use
6626         `tramp-handle-file-remote-p'.
6627         (tramp-do-copy-or-rename-file-out-of-band):
6628         Use `tramp-compat-delete-directory'.
6629         (tramp-do-copy-or-rename-file-out-of-band)
6630         (tramp-compute-multi-hops, tramp-maybe-open-connection):
6631         Use `format-spec-make'.
6632         (tramp-find-foreign-file-name-handler)
6633         (tramp-advice-make-auto-save-file-name)
6634         (tramp-set-auto-save-file-modes): Remove superfluous check for
6635         `stringp'.  This is done inside `tramp-tramp-file-p'.
6636         (tramp-debug-outline-regexp): New defconst.
6637         (tramp-get-debug-buffer): Use it.
6638         (tramp-check-for-regexp): Use (forward-line 1).
6639         (tramp-set-auto-save-file-modes): Adapt version check.
6641         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
6642         Wrap call of `featurep' for 2nd argument.
6643         (tramp-compat-make-temp-file): Simplify fallback implementation.
6644         (tramp-compat-copy-tree): Remove function.
6645         (tramp-compat-delete-directory): Provide implementation for older
6646         Emacsen.
6648         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
6649         Do not use `tramp-fish-handle-file-attributes.
6651         * net/trampver.el: Update release number.
6653 2010-04-10  Glenn Morris  <rgm@gnu.org>
6655         * progmodes/compile.el (compilation-save-buffers-predicate):
6656         Add missing :version tag.
6658 2010-04-09  Sam Steingold  <sds@gnu.org>
6660         * progmodes/compile.el (compilation-save-buffers-predicate):
6661         Remove the "autoload" cookie.
6663         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
6664         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
6665         and `bug-reference-prog-mode' can be used in hooks directly.
6667 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
6669         Add --author support to git commit.
6670         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
6671         (vc-git-log-edit-mode): New minor mode.
6672         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
6673         New declarations.
6675 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
6677         * vc-hooks.el, vc-git.el: Improve documentation comments.
6679 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6681         Fix some of the problems in defsubst* (bug#5728).
6682         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
6683         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
6685 2010-04-07  Sam Steingold  <sds@gnu.org>
6687         * progmodes/compile.el (compilation-save-buffers-predicate):
6688         New custom variable.
6689         (compile, recompile): Pass it to `save-some-buffers'.
6691 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
6693         * wid-edit.el (widget-choose): Move cursor to the second line of
6694         the buffer (Bug#5695).
6696 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
6698         Add new VC methods: vc-log-incoming and vc-log-outgoing.
6699         * vc.el (vc-print-log-setup-buttons): New function split out from
6700         vc-print-log-internal.
6701         (vc-log-internal-common): New function, a parametrized version of
6702         vc-print-log-internal.
6703         (vc-print-log-internal): Just call vc-log-internal-common with the
6704         right arguments.
6705         (vc-incoming-outgoing-internal):
6706         (vc-log-incoming, vc-log-outgoing): New functions.
6707         (vc-log-view-type): New permanent local variable.
6709         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
6711         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
6712         of the dynamic bound vc-short-log.
6713         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
6715         * vc-git.el (vc-git-log-outgoing): New function.
6716         (vc-git-log-view-mode): Use vc-log-view-type instead
6717         of the dynamic bound vc-short-log.
6719         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
6720         of the dynamic bound vc-short-log.  Highlight the tag.
6721         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
6722         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
6723         (vc-hg-incoming-mode): Remove.
6724         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
6726 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
6728         Fix default-directory for vc-root-diff.
6729         * vc.el (vc-root-diff): Bind default-directory to the root
6730         directory for the diff command.
6732 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
6734         * progmodes/verilog-mode.el (verilog-forward-sexp):
6735         (verilog-calc-1): Support "disable fork" and "fork wait" multi
6736         word keywords, suggested by Steve Pearlmutter.
6737         (verilog-pretty-declarations): Support lineup of declarations in
6738         port lists.
6739         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
6740         fix bug for /* / comments.
6741         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
6742         Speed up and simplfy as this is never called with a bound.
6743         (verilog-pretty-declarations): Enhance to line up declarations
6744         inside a parameter list, suggested by Alan Morgan.
6745         (verilog-pretty-expr): Tune assignment regular expression match
6746         string for corner cases; also use markers instead of character
6747         number as indent changes the later.
6749 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
6751         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
6752         as missing keyword.
6753         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
6754         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
6755         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
6756         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
6757         Tennant.
6758         (verilog-keywords):
6759         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
6760         1800-2009 keywords, including "global.".
6762 2010-04-06  John Wiegley  <jwiegley@gmail.com>
6764         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
6765         appearing in buffer list (if a live buffer name matched a recentf
6766         file basename).  Should use uniquify to offer a real solution.
6768 2010-04-06  John Wiegley  <jwiegley@gmail.com>
6770         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
6771         comment to code, and add a :version tag.
6772         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
6774 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
6776         Enable recentf-mode if using virtual buffers.
6777         * ido.el (recentf-list): Declare for byte-compiler.
6778         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
6779         (ido-make-buffer-list): Simplify.
6780         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
6782 2010-04-05  Juri Linkov  <juri@jurta.org>
6784         Scrolling commands which scroll a line instead of full screen.
6785         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
6787         * simple.el (scroll-up-line, scroll-down-line): New commands.
6788         Put property isearch-scroll=t on them.
6790         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
6791         Remove commands.
6793 2010-04-05  Juri Linkov  <juri@jurta.org>
6795         Scrolling commands which do not signal errors at top/bottom.
6796         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
6798         * simple.el (scroll-up-command, scroll-down-command): New commands.
6799         Put property isearch-scroll=t on them.
6801         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
6802         `scroll-down-command' and [next] from `scroll-up' to
6803         `scroll-up-command'.
6805         * emulation/cua-base.el: Put property CUA=move on
6806         `scroll-up-command' and `scroll-down-command'.
6807         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
6808         and `scroll-down-command' to `cua-scroll-down'.
6810 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
6812         * help.el (describe-mode): Return nil.
6814 2010-04-04  John Wiegley  <jwiegley@gmail.com>
6816         * ido.el (ido-use-virtual-buffers): New variable to indicate
6817         whether "virtual buffer" support is enabled for IDO.
6818         (ido-virtual): Face used to indicate virtual buffers in the list.
6819         (ido-buffer-internal): If a buffer is chosen, and no such buffer
6820         exists, but a virtual buffer of that name does (which would be why
6821         it was in the list), recreate the buffer by reopening the file.
6822         (ido-make-buffer-list): If virtual buffers are being used, call
6823         `ido-add-virtual-buffers-to-list' before the make list hook.
6824         (ido-virtual-buffers): New variable which contains a copy of the
6825         current contents of the `recentf-list', albeit pared down for the
6826         sake of speed, and with proper faces applied.
6827         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
6828         create a list of "virtual buffers" to present to the user in
6829         addition to the currently open set.  Note that this logic could
6830         get rather slow if that list is too large.  With the default
6831         `recentf-max-saved-items' of 200, there is little speed penalty.
6833 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6835         * font-lock.el: Require CL when compiling.
6836         (font-lock-turn-on-thing-lock): Use `case'.
6838 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
6840         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
6841         Zaretskii.
6843 2010-04-02  Juri Linkov  <juri@jurta.org>
6845         * ehelp.el (electric-help-orig-major-mode):
6846         New buffer-local variable.
6847         (electric-help-mode): Set it to original major-mode.  Doc fix.
6848         (with-electric-help): Use `electric-help-orig-major-mode' instead
6849         of (default-value 'major-mode).  Doc fix.
6850         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
6852 2010-04-02  Sam Steingold  <sds@gnu.org>
6854         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
6855         `vc-hg-command' with a list of flags.
6857         * progmodes/bug-reference.el (bug-reference-bug-regexp):
6858         Also accept "patch" and "RFE".
6859         (bug-reference-fontify): `bug-reference-url-format' can also be a
6860         function to be able to handle the bug kind.
6861         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
6863 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
6865         * tmm.el (tmm-get-keymap): Check with symbolp before passing
6866         value to fboundp, it may not be a symbol.
6868 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
6870         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
6872 2010-03-31  Juri Linkov  <juri@jurta.org>
6874         * simple.el (next-line, previous-line): Re-throw a signal
6875         with `signal' instead of using `ding'.
6876         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
6878 2010-03-31  Juri Linkov  <juri@jurta.org>
6880         * simple.el (keyboard-escape-quit): Raise deselecting the active
6881         region higher than exiting the minibuffer.
6882         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
6884 2010-03-31  Juri Linkov  <juri@jurta.org>
6886         * image.el (image-animated-p): Use `image-metadata' instead of
6887         `image-extension-data'.  Get GIF extenstion data from metadata
6888         property `extension-data'.
6890 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6892         * simple.el (append-to-buffer): Simplify.
6894 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
6896         * textmodes/artist.el (artist-mode): Fix typo in docstring.
6897         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
6899 2010-03-31  Kenichi Handa  <handa@m17n.org>
6901         * language/sinhala.el (composition-function-table): Fix regexp for
6902         the new Unicode specification.
6904         * language/indian.el (devanagari-composable-pattern)
6905         (tamil-composable-pattern, kannada-composable-pattern)
6906         (malayalam-composable-pattern): Adjust for the new Unicode
6907         specification.
6908         (bengali-composable-pattern, gurmukhi-composable-pattern)
6909         (gujarati-composable-pattern, oriya-composable-pattern)
6910         (telugu-composable-pattern): New variables to cope with the new
6911         Unicode specification.  Use them in composition-function-table.
6913 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6915         Make tmm-menubar work for the Buffers menu again (bug#5726).
6916         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
6917         vectors rather than cons cells, as used in menu-bar-update-buffers.
6919 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
6921         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
6922         (js-insert-and-indent): Revert 2009-08-15 change, restoring
6923         electric punctuation for "{}();,:" (Bug#5586).
6925         * mail/sendmail.el (mail-default-directory): Doc fix.
6927 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
6929         * mail/sendmail.el (mail-default-directory): Doc fix.
6931 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
6933         * subr.el (version-regexp-alist, version-to-list)
6934         (version-list-<, version-list-=, version-list-<=)
6935         (version-list-not-zero, version<, version<=, version=): Doc fix.
6936         (Bug#5744).
6938 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
6940         * vc.el (vc-root-diff): Doc fix.
6942 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
6944         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
6946         * simple.el (append-to-buffer): Fix last change.
6948 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
6950         * simple.el (append-to-buffer): Ensure that point is preserved if
6951         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
6952         (Bug#5749)
6954 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6956         * files.el (auto-mode-case-fold): Change default to t.
6958 2010-03-30  Juri Linkov  <juri@jurta.org>
6960         * dired-x.el (dired-omit-mode): Doc fix.
6962 2010-03-30  Juri Linkov  <juri@jurta.org>
6964         * replace.el (occur-accumulate-lines): Move occur-engine related
6965         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
6966         to be located after `occur-engine'.
6968 2010-03-30  Juri Linkov  <juri@jurta.org>
6970         Make occur handle multi-line matches cleanly with context.
6971         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
6973         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
6974         (occur-engine): Add local variables `ret', `prev-after-lines',
6975         `prev-lines'.  Use more arguments for `occur-context-lines'.
6976         Set first elem of its returned list to `data', and the second elem
6977         to `prev-after-lines'.  Don't print the separator line.
6978         In the end, print remaining context after-lines.
6979         (occur-context-lines): Add new arguments `begpt', `endpt',
6980         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
6981         after-lines of the previous match with before-lines of the
6982         current match and not overlap them.  Return a list with two
6983         values: the output line and the list of context after-lines.
6985 2010-03-30  Juri Linkov  <juri@jurta.org>
6987         * replace.el (occur-accumulate-lines): Fix a bug where the first
6988         context line at the beginning of the buffer was missing.
6990 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
6992         * files.el: Make bidi-display-reordering safe variable for boolean
6993         values.
6995 2010-03-29  Phil Hagelberg  <phil@evri.com>
6996             Chong Yidong  <cyd@stupidchicken.com>
6998         * subr.el: Extend progress reporters to perform "spinning".
6999         (progress-reporter-update, progress-reporter-do-update):
7000         Handle non-numeric value arguments.
7001         (progress-reporter--pulse-characters): New var.
7003 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
7005         * progmodes/compile.el (compilation-start): Fix regexp detection
7006         of initial cd command (Bug#5771).
7008 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
7010         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
7012 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
7014         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
7015         * progmodes/gdb-mi.el: Restore.
7016         * progmodes/gdb-ui.el: Remove.
7017         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
7019 2010-03-25  Glenn Morris  <rgm@gnu.org>
7021         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
7022         all dired buffers, even tramp ones.  (Bug#5755)
7024 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7026         Add "union tags" in mpc.el.
7027         * mpc.el: Remove backward compatibility code.
7028         (mpc-browser-tags): Change default.
7029         (mpc--find-memoize-union-tags): New var.
7030         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
7031         (mpc-cmd-find): Handle the case where the playlist does not exist.
7032         Handle union-tags.
7033         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
7034         (mpc-cmd-add): Use mpc-cmd-flush.
7035         (mpc-tagbrowser-tag-name): New fun.
7036         (mpc-tagbrowser-buf): Use it.
7037         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
7039 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7041         Misc cleanup.
7042         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
7043         Use replace-regexp-in-string.
7044         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
7045         (makefile-imake-mode-syntax-table): Move init into defvar.
7046         (makefile-mode): Use define-derived-mode.
7048         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
7049         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
7050         not be present any more.
7052 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
7054         * faces.el (set-face-attribute): Fix typo in docstring.
7055         (face-valid-attribute-values): Reflow docstring.
7057 2010-03-24  Glenn Morris  <rgm@gnu.org>
7059         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
7061 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
7063         * indent.el (indent-for-tab-command): Doc fix.
7065 2010-03-24  Alan Mackenzie  <acm@muc.de>
7067         * progmodes/cc-engine.el (c-remove-stale-state-cache):
7068         Fix off-by-one error.  Fixes bug #5747.
7070 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
7072         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
7073         (image-dired-read-comment): Doc fix.
7075         * json.el (json-object-type, json-array-type, json-key-type)
7076         (json-false, json-null, json-read-number):
7077         * minibuffer.el (completion-in-region-functions):
7078         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
7079         (cal-tex-cursor-week):
7080         * emacs-lisp/trace.el (trace-function):
7081         * eshell/em-basic.el (eshell/printnl):
7082         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
7083         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
7084         * obsolete/levents.el (allocate-event, event-key, event-object)
7085         (event-point, event-process, event-timestamp, event-to-character)
7086         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
7087         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
7088         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
7089         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
7090         (reftex-highlight-selection): Fix typos in docstrings.
7092 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
7094         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
7096 2010-03-24  Glenn Morris  <rgm@gnu.org>
7098         * mail/rmail.el (rmail-highlight-face): Restore option deleted
7099         2008-02-13 without comment; mark it obsolete.
7100         (rmail-highlight-headers): Use rmail-highlight-face once more.
7102 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
7104         * woman.el (woman2-process-escapes): Only consume the newline if
7105         the filler character is on a line by itself (Bug#5729).
7107 2010-03-24  Kenichi Handa  <handa@m17n.org>
7109         * language/indian.el (devanagari-composable-pattern): Add more
7110         consonants.
7112 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
7114         * net/trampver.el: Update release number.
7116 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
7118         * net/tramp.el (tramp-find-executable):
7119         Use `tramp-get-connection-buffer'.  Make the regexp for checking
7120         output of "wc -l" more robust.
7121         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
7122         (tramp-open-connection-setup-interactive-shell): Remove workaround
7123         for OpenSolaris bug, it is not needed anymore.
7125 2010-03-24  Glenn Morris  <rgm@gnu.org>
7127         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
7129 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
7131         * files.el (auto-mode-alist): Accept more verilog file patterns.
7133 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7135         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
7137 2010-03-24  Glenn Morris  <rgm@gnu.org>
7139         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
7140         log-edit-before-checkin-process.
7142         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
7144         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
7146         * vc-dispatcher.el (vc-start-logentry): Doc fix.
7147         (log-view-process-buffer, log-edit-extra-flags): Declare.
7149         * log-edit.el (log-edit-before-checkin-process): Doc fix.
7151 2010-03-23  Sam Steingold  <sds@gnu.org>
7153         Fix bug#5620: recalculate all markers on compilation buffer
7154         modifications, not on file modifications.
7155         * progmodes/compile.el (buffer-modtime): New buffer-local variable:
7156         the buffer modification time, for buffers not associated with files.
7157         (compilation-mode): Create it.
7158         (compilation-filter): Update it.
7159         (compilation-next-error-function): Use it instead of
7160         `visited-file-modtime' for timestamp.
7162 2010-03-23  Juri Linkov  <juri@jurta.org>
7164         Implement Occur multi-line matches.
7165         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
7167         * replace.el (occur): Doc fix.
7168         (occur-engine): Set `begpt' to the beginning of the first line.
7169         Set `endpt' to the end of the last match line.  At first, count
7170         line numbers between `origpt' and `begpt'.  Split out code from
7171         `out-line' variable to new let-bindings `match-prefix' and
7172         `match-str'.  In `out-line' add non-numeric prefix to all
7173         non-first lines of multi-line matches.  Finally, count lines
7174         between `begpt' and `endpt' and add to `lines'.
7176 2010-03-23  Juri Linkov  <juri@jurta.org>
7178         * replace.el (occur-accumulate-lines, occur-engine):
7179         Use `occur-engine-line' instead of duplicate code.
7180         (occur-engine-line): New function created from duplicate code
7181         in `occur-accumulate-lines' and `occur-engine'.
7183         * replace.el (occur-engine-line): Add optional arg `keep-props'.
7184         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
7186 2010-03-23  Juri Linkov  <juri@jurta.org>
7188         * finder.el: Remove TODO tasks.
7190         * info.el (Info-finder-find-node): Add node "all"
7191         with all package info.  Handle a list of multiple keywords
7192         separated by comma.
7193         (info-finder): In interactive use with a prefix argument,
7194         use `completing-read-multiple' to read a list of keywords
7195         separated by comma.
7197 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7199         Add a new completion style `substring'.
7200         * minibuffer.el (completion-basic--pattern): New function.
7201         (completion-basic-try-completion, completion-basic-all-completions):
7202         Use it.
7203         (completion-substring--all-completions)
7204         (completion-substring-try-completion)
7205         (completion-substring-all-completions): New functions.
7206         (completion-styles-alist): New style `substring'.
7208 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7210         Get rid of .elc files after removal of the corresponding .el.
7211         * Makefile.in (compile-clean): New target.
7212         (compile-main): Use it.
7214 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
7216         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
7217         don't do make there.  When compiling with separate object dir, there
7218         is no Makefile there.
7220 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7222         Get rid of the ELCFILES abomination, again.
7223         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
7224         (all, compile): Don't call compile-last.
7225         (compile-main): Build the "elcfiles" list dynamically.
7226         (compile-targets): New (internal) target.
7228 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
7230         * Makefile.in (top_srcdir): Define.
7231         (abs_top_builddir): Define.
7232         (srcdir): Don't append `/..'.
7233         (EMACS): Use ${abs_top_builddir}.
7234         (all, compile, compile-always, compile-last): Don't set emacswd.
7235         (update-subdirs, update-authors): Use $(top_srcdir) instead of
7236         $(srcdir).
7237         (lisp): Use $(srcdir) instead of @srcdir@.
7239 2010-03-21  Juri Linkov  <juri@jurta.org>
7241         Fix message of multi-line occur regexps and multi-buffer header lines.
7242         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
7244         * replace.el (occur-1): Don't display regexp if it is longer
7245         than window-width.  Use `query-replace-descr' to display regexp.
7246         (occur-engine): Don't display regexp in the buffer header for
7247         multi-buffer occur.  Display a separate header line with total
7248         match count and regexp for multi-buffer occur.
7249         Use `query-replace-descr' to display regexp.
7251 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
7253         * net/secrets.el: Fix parenthesis.
7254         (secrets-enabled): Fix parenthesis.
7256 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7258         Use more relative file and directory names.
7259         * Makefile.in (EMACS): Arrange for it to work when we chdir.
7260         (setwins, setwins_almost, setwins_for_subdirs):
7261         Don't `cd'; output relative names.
7262         (all, compile, compile-always, compile-last): Set emacswd.
7263         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
7264         Just cd to the lisp source dir so we can use relative file names.
7266         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
7268 2010-03-20  Glenn Morris  <rgm@gnu.org>
7270         * textmodes/rst.el: Use faces for font-lock customization, and make the
7271         old -face variables obsolete.
7272         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
7273         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
7274         (rst-block-face, rst-external-face, rst-definition-face)
7275         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
7276         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
7277         Make obsolete.
7278         (rst-font-lock-keywords-function): Update for above changes.
7280 2010-03-20  Juri Linkov  <juri@jurta.org>
7282         * s-region.el:
7283         * obsolete/s-region.el: Move to obsolete.
7285 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
7287         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
7289 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
7291         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
7293 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
7295         Add special markup processing for commit logs.
7296         * log-edit.el (log-edit-extra-flags): New variable.
7297         (log-edit): Add new argument MODE.  Use that mode when non-nil
7298         instead of the log-view-mode.
7299         (log-view-process-buffer): New function.
7301         * vc.el: Document that the checkin method takes optional
7302         arguments.  Document new backend specific method: log-view-mode.
7303         (vc-default-log-edit-mode): New function.
7304         (vc-checkin): Use a backend specific log-view-mode.
7305         Pass extra arguments to the checkin method.
7306         (vc-modify-change-comment): Pass a dummy extra argument.
7308         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
7309         log-edit.
7310         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
7311         (vc-finish-logentry): Process the log buffer before passing it
7312         down.  Pass log-edit-extra-flags.
7314         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
7315         command.
7316         (log-edit-extra-flags, log-edit-before-checkin-process):
7317         New declarations.
7319         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
7320         command.
7321         (log-edit-extra-flags, log-edit-before-checkin-process):
7322         New declarations.
7323         (vc-hg-log-edit-mode): New derived mode.
7325         * vc-arch.el (vc-arch-checkin):
7326         * vc-cvs.el (vc-cvs-checkin):
7327         * vc-git.el (vc-git-checkin):
7328         * vc-mtn.el (vc-mtn-checkin):
7329         * vc-rcs.el (vc-rcs-checkin):
7330         * vc-sccs.el (vc-sccs-checkin):
7331         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
7333 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7335         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
7336         parent typo).
7338 2010-03-19  Glenn Morris  <rgm@gnu.org>
7340         * password-cache.el (password-cache, password-cache-expiry): Autoload.
7342 2010-03-18  Glenn Morris  <rgm@gnu.org>
7344         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
7346         * replace.el (query-replace-history): Give it a doc string.
7347         (map-query-replace-regexp): Use query-replace-from-history-variable
7348         and query-replace-to-history-variable.
7350         * mail/hashcash.el (declare-function): Remove duplicate definition.
7352         * mail/emacsbug.el (report-emacs-bug-pretest-address):
7353         Make it an obsolete alias for report-emacs-bug-address.
7354         (message-strip-special-text-properties): Declare.
7355         (report-emacs-bug): Remove test for a pretest bug address.
7356         Combine message-mode-specific code.
7358         * mail/supercite.el: Don't require sendmail.
7359         (mh-in-header-p): Declare rather than using with-no-warnings.
7360         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
7361         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
7363         * calendar/cal-french.el: Convert to utf-8.
7365         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
7366         Emacs scripts.
7368 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
7370         * net/secrets.el (secrets-enabled): New variable.  Use it instead
7371         of a subfeature.
7373 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
7375         * net/secrets.el (top): Register the D-Bus signals only when the
7376         service "org.freedesktop.secrets" can be pinged.
7377         Provide subfeature `enabled'.
7379 2010-03-14  Juri Linkov  <juri@jurta.org>
7381         Add finder unknown keywords.
7383         * finder.el (finder-unknown-keywords): New function.
7385         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
7386         to create a Finder node with unknown keywords.
7388 2010-03-14  Juri Linkov  <juri@jurta.org>
7390         * finder.el (finder-compile-keywords): Replace `princ' with
7391         `prin1' on a list of symbols interned from keyword strings.
7393         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
7394         a comma, then split keywords using a comma and optional whitespace.
7395         Otherwise, split by whitespace.
7397         * complete.el:
7398         * face-remap.el:
7399         * log-view.el:
7400         * net/hmac-def.el:
7401         * net/hmac-md5.el:
7402         * net/netrc.el:
7403         * progmodes/mixal-mode.el: Fix keywords.
7405 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
7407         * Makefile.in (ELCFILES): Add net/secrets.elc.
7409         * net/secrets.el: New file.
7411 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
7413         * facemenu.el (list-colors-display, list-colors-print): New arg
7414         callback.  Use it to allow selecting colors.
7416         * wid-edit.el (widget-image-insert): Insert image prop even if the
7417         current display is non-graphic.
7418         (widget-field-value-set): New fun.
7419         (editable-field): Use it.
7420         (widget-field-value-get): Clean up unused var.
7421         (widget-color-value-create, widget-color--choose-action):
7422         New funs.  Allow using list-colors-display to choose color.
7424 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
7426         * cus-edit.el: Resort topmost custom groups.
7427         (custom-buffer-sort-alphabetically): Default to t.
7428         (customize-apropos): Use apropos-parse-pattern.
7429         (custom-search-field): New var.
7430         (custom-buffer-create-internal): Add custom-apropos search field.
7431         (custom-add-parent-links): Don't display parent doc.
7432         (custom-group-value-create): Don't sort top-level custom group.
7433         (custom-magic-value-create): Show visibility button before option name.
7435         (custom-variable-state): New fun, from custom-variable-state-set.
7436         (custom-variable-state-set): Use it.
7437         (custom-group-value-create): Hide options with standard values
7438         using the :hidden-states property.  Use progress reporter.
7440         (custom-show): Simplify.
7441         (custom-visibility): Disable images by default.
7442         (custom-variable): New property :hidden-states.
7443         (custom-variable-value-create): Enable images for
7444         custom-visibility widgets.  Use :hidden-states property to
7445         determine initial visibility.
7447         * wid-edit.el (widget-image-find): Give images center ascent.
7448         (visibility): Add :on-image and :off-image properties.
7449         (widget-visibility-value-create): Use them.
7451 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
7453         * cus-edit.el (processes): Remove from development group.
7454         (oop, hypermedia): Delete group.
7455         (comm): Promote to top-level group.
7457         * net/browse-url.el (browse-url):
7458         * net/xesam.el (xesam):
7459         * net/tramp.el (tramp):
7460         * net/goto-addr.el (goto-address):
7461         * net/ange-ftp.el (ange-ftp): Put in comm group.
7463         * view.el (view): Remove from editing group.
7465         * uniquify.el (uniquify): Put in files group.
7467         * net/browse-url.el (browse-url):
7468         * ps-print.el (postscript): Put in external group.
7470         * cus-edit.el (outlines):
7471         * textmodes/text-mode.el (text-mode-hook):
7472         * textmodes/table.el (table):
7473         * textmodes/picture.el (picture):
7474         * outline.el (outlines): Put in wp group.
7476         * nxml/nxml-mode.el (nxml): Remove from wp group.
7478         * net/tramp-imap.el (tramp-imap): Put in tramp group.
7480         * mail/metamail.el (metamail): Remove from hypermedia group.
7482         * cus-edit.el (abbrev):
7483         * whitespace.el (whitespace):
7484         * vcursor.el (vcursor):
7485         * reveal.el (reveal):
7486         * hl-line.el (hl-line): Put in convenience group.
7488         * epg-config.el (epg): Put in data group.
7490         * emulation/pc-select.el (pc-select): Put in emulations group.
7492         * calculator.el (calculator): Put in applications group.
7494 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
7496         Add .dir-locals.el support for file-less buffers.
7497         * files.el (hack-local-variables): Split out code to apply local
7498         variable settings ...
7499         (hack-local-variables-apply): ... here.  New function.
7500         (hack-dir-local-variables): Use the default directory for when the
7501         buffer does not have an associated file.
7502         (hack-dir-local-variables-non-file-buffer): New function.
7503         * diff-mode.el (diff-mode):
7504         * vc-annotate.el (vc-annotate-mode):
7505         * vc-dir.el (vc-dir-mode):
7506         * log-edit.el (log-edit-mode):
7507         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
7509 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
7511         Add support for shelving snapshots and for showing shelves.
7512         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
7513         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
7514         New functions.
7515         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
7516         (vc-bzr-extra-menu-map): Map them.
7518 2010-03-11  Glenn Morris  <rgm@gnu.org>
7520         * cus-edit.el (customize-changed-options-previous-release):
7521         Bump to 23.1.
7523         * image.el (image-animate-max-time): Fix :version tag.
7525 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
7527         * Branch for 23.2.
7529 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7531         * vc-git.el (vc-git-revision-table): Include remote branches.
7533 2010-03-10  Kim F. Storm  <storm@cua.dk>
7535         Animated image API.
7536         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
7538         * image.el (image-animate-max-time): New defcustom.
7539         (image-animated-types): New defconst.
7540         (create-animated-image, image-animate-timer)
7541         (image-animate-start, image-animate-stop, image-animate-timeout)
7542         (image-animated-p): New functions.
7544         * image-mode.el (image-toggle-display-image):
7545         Replace `create-image' with `create-animated-image'.
7547 2010-03-09  Miles Bader  <miles@gnu.org>
7549         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
7550         instead of "format:"; this ensures that the output is
7551         newline-terminated.
7553 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
7555         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
7556         that all errors are caught, and that the return value is always a
7557         list (Bug#5692).
7559 2010-03-08  Kenichi Handa  <handa@m17n.org>
7561         * language/misc-lang.el (windows-1256): New coding system.
7562         (cp1256): New alias of windows-1256 (bug#5690).
7564 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
7566         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
7567         call to rfc822-bad-address.  (Bug#5692)
7569 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
7571         * vc-git.el (vc-git-annotate-extract-revision-at-line):
7572         Use vc-git-root as default directory for revision path (Bug#5657).
7574 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
7576         * calculator.el (calculator): Don't bind split-window-keep-point
7577         (Bug#5674).
7579 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7581         * vc-git.el: Re-flow to fit into 80 columns.
7582         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
7583         Remove spurious `quote' element in each case alternative.
7584         (vc-git-show-log-entry): Use prog1.
7585         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
7587 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7589         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
7591 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
7593         * macros.el (insert-kbd-macro): Look up keyboard macro using the
7594         definition, not the name (Bug#5481).
7596 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
7598         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
7599         argument with a local variable.  (Bug#5670)
7601 2010-03-02  Juri Linkov  <juri@jurta.org>
7603         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
7605 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
7607         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
7608         error when FILENAME and NEWNAME are existing remote directories.
7610         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
7611         parameter DIR-FLAG.
7613 2010-03-02  Glenn Morris  <rgm@gnu.org>
7615         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
7616         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
7618 2010-03-01  Kenichi Handa  <handa@m17n.org>
7620         * language/burmese.el (burmese-composable-pattern): Rename from
7621         myanmar-composable-pattern.
7623         * international/characters.el (script-list):
7624         * international/fontset.el (script-representative-chars):
7625         Change myanmar to burmese.
7626         (otf-script-alist): Likewise.
7627         (setup-default-fontset): Likewise.  Re-fix :otf spec.
7629 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
7631         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
7633 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
7635         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
7637 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
7639         * net/tramp.el (tramp-handle-write-region): START can be a string.
7640         Take care in the checks.  Reported by Dan Davison
7641         <davison@stats.ox.ac.uk>.
7643 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
7645         * net/dbus.el (dbus-introspect, dbus-get-property)
7646         (dbus-set-property, dbus-get-all-properties):
7647         Use `dbus-call-method' when noninteractive.  (Bug#5645)
7649 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
7651         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
7652         * emacs-lisp/elint.el (elint-add-required-env):
7653         * calendar/icalendar.el (icalendar--add-diary-entry):
7654         * calc/calcalg2.el (math-tracing-integral):
7655         * files.el (recover-session-finish): Use with-current-buffer
7656         instead of save-excursion.
7658 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7660         Fix in-buffer completion when after-change-functions modify the buffer.
7661         * minibuffer.el (completion--replace): New function.
7662         (completion--do-completion): Use it and use relative movement.
7664 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
7666         * international/fontset.el (setup-default-fontset): Fix :otf spec.
7668 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
7670         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
7671         Allow the characters _<> in the stack entry (Bug#5653).
7673 2010-02-26  Kenichi Handa  <handa@m17n.org>
7675         * language/burmese.el: Fix entries in composition-function-table.
7676         (myanmar-composable-pattern): New variable.
7678         * international/fontset.el (setup-default-fontset): Add an entry
7679         for myanmar.
7681         * international/characters.el (script-list): Add Myanmar
7682         Extended-A.
7684 2010-02-26  Glenn Morris  <rgm@gnu.org>
7686         * custom.el (custom-initialize-delay): Doc fix.
7688         * mail/sendmail.el (send-mail-function): Autoload the call
7689         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
7691 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
7693         * files.el (hack-local-variables-filter): For eval forms, also
7694         check safe-local-variable-p (Bug#5636).
7696 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
7698         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
7699         setting the modes by `ignore-errors'.  It might fail, for example
7700         if the file is not owned by the user but the group.
7701         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
7703 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
7705         * files.el (directory-listing-before-filename-regexp): Use
7706         stricter matching for iso-style dates, to avoid false matches with
7707         date-like filenames (Bug#5597).
7709         * htmlfontify.el (htmlfontify): Doc fix.
7711         * eshell/eshell.el (eshell): Doc fix.
7713         * startup.el (fancy-about-screen): In mode-line, apply
7714         mode-line-buffer-id face only to the buffer name (Bug#5613).
7716 2010-02-20  Kevin Ryde  <user42@zip.com.au>
7718         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7719         In `watcom' anchor regexp to start of line, to avoid slowness
7720         (Bug#5599).
7722 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
7724         * subr.el (remove-yank-excluded-properties): Explain in a comment
7725         why `category' property is removed.
7727 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
7729         * isearch.el (isearch-update-post-hook, isearch-update): Revert
7730         2010-02-17 change.
7732 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
7734         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
7735         (icalendar--convert-weekly-to-ical)
7736         (icalendar--convert-yearly-to-ical)
7737         (icalendar--convert-block-to-ical)
7738         (icalendar--convert-cyclic-to-ical)
7739         (icalendar--convert-anniversary-to-ical): Take care of time
7740         specifications where hour has 1-digit only (Bug#5549).
7742 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
7744         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
7745         of disassemble output in GDB 7.1.
7747 2010-02-19  Glenn Morris  <rgm@gnu.org>
7749         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
7750         property.  (Bug#5593)
7752 2010-02-18  Sam Steingold  <sds@gnu.org>
7754         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
7756 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7758         Use abbreviated file names in bookmarks (bug#5591).
7759         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
7760         calls to expand-file-name.
7761         (bookmark-relocate): Use abbreviated file names in bookmarks.
7762         (bookmark-load): Use abbreviated file names in messages.
7764 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
7766         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
7767         expand "." and "..".  Reported by Thierry Volpiatto
7768         <thierry.volpiatto@gmail.com>.
7770 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
7772         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
7773         permissions of the temporary file to "0600".  In case the remote
7774         file has no read permissions for the owner, there might be
7775         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
7777 22010-02-18  Glenn Morris  <rgm@gnu.org>
7779         * emacs-lisp/authors.el (authors-renamed-files-alist):
7780         Add entries for INSTALL.CVS.
7782 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
7784         * vc-bzr.el: Fix typo in Known Bugs section.
7786         * isearch.el (isearch-update-post-hook): New hook.
7787         (isearch-update): Use the new hook.
7789 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
7791         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
7792         Fix errors in copying directories.
7793         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
7794         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
7795         (tramp-handle-delete-file)
7796         (tramp-handle-dired-recursive-delete-directory)
7797         (tramp-handle-write-region): Flush also the cache for the upper
7798         directory.
7800 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
7802         * simple.el (save-interprogram-paste-before-kill): Doc fix.
7804         * cus-edit.el (hardware): Doc fix.
7806         * man.el (man): Add to external custom group.
7808         * delim-col.el (columns): Move to wp custom group.
7810         * doc-view.el (doc-view): Add to data custom group.
7812         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
7814         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
7815         by ispell-parse-output (Bug#5575).
7817 2010-02-16  Kenichi Handa  <handa@m17n.org>
7819         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
7820         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
7821         (skkdic-convert): Use `euc-japan' coding system for writing.
7823 2010-02-16  Glenn Morris  <rgm@gnu.org>
7825         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
7826         tex-main-file before using it.  (Bug#5562)
7828 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7830         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
7831         warnings, since it is annoying for the user to see them each time he
7832         runs the code.
7834 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
7836         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
7837         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
7838         instead of PROC for caching "first-password-request".  Otherwise,
7839         new processes would not profit from passwords already entered.
7841         * net/tramp-cache.el (tramp-dump-connection-properties):
7842         Don't save "first-password-request" property.
7844 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
7846         * outline.el (outline-head-from-level):
7847         * simple.el (with-wrapper-hook):
7848         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
7849         (elint-defun, elint-buffer-env, elint-top-form-logged)
7850         (elint-unbound-variable):
7851         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
7852         Fix typos in docstrings.
7854 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
7856         * files.el (insert-directory): When WILDCARD-REGEXP and
7857         FULL-DIRECTORY-P are nil, insert the file entry instead of the
7858         whole directory.  (Bug#5551)
7860         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
7861         dired's alignment sanity.  (Bug#5516)
7863 2010-02-14  Juri Linkov  <juri@jurta.org>
7865         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
7866         Remove remaining ^H with their preceding chars.  (Bug#5566)
7868 2010-02-13  Glenn Morris  <rgm@gnu.org>
7870         * simple.el (transpose-subr): Give it a doc-string.
7872         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
7873         Doc fixes.
7875 2010-02-12  Juri Linkov  <juri@jurta.org>
7877         * arc-mode.el (archive-unique-fname): Make directories for nested
7878         archives.  (Bug#5540)
7880 2010-02-12  Juri Linkov  <juri@jurta.org>
7882         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
7884 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7886         * subr.el (copy-overlay): Handle deleted overlays.
7888         * man.el (Man-completion-table): Don't signal an error if we can't run
7889         manual-program (bug#4056).
7891 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
7893         * textmodes/artist.el (artist-mt): Fix typos in docstring.
7895 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7897         * info.el (Info-bookmark-jump): Simplify.
7899         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
7900         (bookmark-default-handler): Accept new bookmark field `buffer'.
7902 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
7904         * iswitchb.el (iswitchb-completions): Revert last change.
7906 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
7908         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
7909         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
7910         This prevents file names like "~/" being listed literally.
7912 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
7914         * term/xterm.el (xterm-maybe-set-dark-background-mode):
7915         Remove dead code.  (Bug#5546)
7917 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
7919         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
7920         correctly (Bug#5548).
7922 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
7924         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
7925         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
7927 2010-02-08  Kenichi Handa  <handa@m17n.org>
7929         * international/mule-util.el (with-coding-priority): Add autoload
7930         cookie for putting `lisp-indent-function'.
7932 2010-02-07  Glenn Morris  <rgm@gnu.org>
7934         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
7935         Move F2003 named interfaces from keywords-2 to keywords-1, and
7936         use function-name-face rather than constant-face.
7937         Simplify "abstract interface" regexp.
7939 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
7941         * eshell/esh-util.el (eshell-file-attributes): New optional arg
7942         ID-FORMAT.  Pass it to `file-attributes'.
7944         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
7946 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
7948         * faces.el (set-face-attribute): Allow calling
7949         internal-set-lisp-face-attribute with 'unspecified family and
7950         foundry argument (Bug#5536).
7952 2010-02-07  Glenn Morris  <rgm@gnu.org>
7954         * progmodes/f90.el (f90-font-lock-keywords-2)
7955         (f90-looking-at-type-like, f90-looking-at-program-block-end):
7956         Handle F2003 named interfaces.
7958 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
7960         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
7961         beg and end before calling c-get-state-before-change-functions.
7963 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
7965         * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
7967 2010-02-05  Juri Linkov  <juri@jurta.org>
7969         * doc-view.el (doc-view-mode):
7970         * image-mode.el (image-mode): Put property mode-class=special.
7971         (Bug#4896)
7973 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
7975         * vc-svn.el (vc-svn-revision-table): New function.
7977 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
7979         * net/ange-ftp.el (ange-ftp-insert-directory):
7980         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
7981         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
7982         Handle also directories.  (Bug#5478)
7984 2010-02-05  Glenn Morris  <rgm@gnu.org>
7986         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
7988 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
7990         * startup.el (command-line-1): Convert options beginning with a
7991         single dash as well (Bug#5519).
7993 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7995         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
7996         * minibuffer.el (completion-initials-expand): Only check the presence
7997         of delims *within* the boundaries, since otherwise the / delim is
7998         always found for files.
8000         Fix up various corner case problems.
8001         * doc-view.el (doc-view-last-page-number): New function.
8002         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
8003         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
8004         (doc-view-kill-proc): Avoid inf-loop in freak cases.
8005         (doc-view-reconvert-doc): Use the new recursive delete-directory.
8006         (doc-view-convert-current-doc): Don't create the resolution.el file
8007         here any more.
8008         (doc-view-pdf/ps->png): Do it here instead.
8009         (doc-view-already-converted-p): Check that resolution.el is present.
8010         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
8011         windows that are not yet showing images.
8013 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
8015         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
8016         `dired-uncache' for every elemnt which is an absolute file name.
8018         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
8019         directory, handle its directory component.
8020         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
8021         function is called permanently and creates noise, otherwise.
8023         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
8024         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
8025         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
8027 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
8029         * macros.el (apply-macro-to-region-lines):
8030         Minor simplification.  (Bug#5485)
8032 2010-02-04  Glenn Morris  <rgm@gnu.org>
8034         * mail/rmail.el (rmail-show-message-1): Handle malformed
8035         quoted-printable text.  (Bug#5441)
8037         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
8039         * simple.el (visual-line-mode): Capitalize lighter.
8041 2010-02-03  John Wiegley  <jwiegley@gmail.com>
8043         * iswitchb.el (iswitchb-completions): Add bookmark files to the
8044         list of files considered for "virtual buffer" completions.
8046 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
8048         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
8049         also in case of (and (not full) (not wildcard)).  This is needed
8050         when dired is called with a list of files, which are not in
8051         `default-directory'.  (Bug#5478)
8053 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8055         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
8057 2010-02-02  Juri Linkov  <juri@jurta.org>
8059         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
8060         from unidiff to allow function-line after @@.
8062 2010-02-02  Juri Linkov  <juri@jurta.org>
8064         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
8065         '(RCS SCCS) with inverted condition.
8067 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
8069         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
8070         messages.
8072 2010-02-01  Juri Linkov  <juri@jurta.org>
8074         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
8075         compare with "pkunzip" and "pkzip" instead of only "pkzip".
8076         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
8077         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
8079 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8081         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
8082         (doc-view-revert-buffer): New command.
8083         (doc-view-mode-map): Use it.
8085 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
8087         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
8088         pending merge is detected.
8090 2010-01-31  Juri Linkov  <juri@jurta.org>
8092         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
8093         beginning of interactive spec like all other grep commands do.
8094         Put "all" in front of "gz".  (Bug#5260)
8096 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
8098         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
8100 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
8102         * dirtrack.el (dirtrack): Warn instead of signalling error if the
8103         regexp is incorrect (Bug#5476).
8105 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
8107         * net/tramp.el (tramp-handle-insert-directory): Handle also
8108         symlinks, when FILENAME is not in `default-directory'.
8110 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
8112         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
8113         FILE is not in `default-directory'.  (Bug#5478)
8115         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
8116         of SWITCHES.  Handle the case, FILENAME is not in
8117         `default-directory'.  (Bug#5478)
8118         (tramp-register-file-name-handlers): Add safe-magic property.
8120 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
8122         * arc-mode.el (archive-zip-extract): Quote the argument passed to
8123         unzip (Bug#5475).
8125 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
8127         * progmodes/flymake.el (flymake-allowed-file-name-masks)
8128         (flymake-master-make-header-init): Add other C++ filename masks.
8129         (flymake-find-possible-master-files)
8130         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
8132 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
8134         Fix some busybox annoyances.
8136         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
8137         not responding." string.
8138         (tramp-open-connection-setup-interactive-shell): Dump stty
8139         settings.  Enable "neveropen" arg for all `tramp-send-command'
8140         calls.  Handle "=" in variable values properly.
8141         (tramp-find-inline-encoding): Raise an error, when no encoding is
8142         found.
8143         (tramp-wait-for-output): Check, whether PROC buffer is available.
8144         Remove spurious " ^H" sequences, sent by busybox.
8145         (tramp-get-ls-command): Suppress coloring, if possible.
8147 2010-01-28  Glenn Morris  <rgm@gnu.org>
8149         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
8151         * log-edit.el (log-edit-strip-single-file-name): Add missing
8152         :safe, :group, and :version tags.
8154 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
8156         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
8157         buffers.  (Bug#5477)
8159 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
8161         * files.el (delete-directory): Handle moving to trash without
8162         first doing recursion (Bug#5436).
8164 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
8166         * vc-hooks.el (vc-path): Mark as obsolete.
8168 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
8170         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
8171         names too.
8173         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
8174         for the short log.
8175         (vc-bzr-log-view-mode): Adjust regexp for the above change.
8177 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
8179         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
8181         * vc-bzr.el (vc-bzr-revision-table): New function.
8183 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>  (tiny change)
8185         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
8186         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
8188 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
8190         Remove support for adding --signoff on commit.
8191         Future support will use an incompatible generic mechanism.
8192         * vc-git.el (vc-git-add-signoff): Remove variable.
8193         (vc-git-toggle-signoff): Remove function.
8194         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
8196         * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
8197         from xterm-set-background-mode.  Return t if the background mode
8198         was set.
8199         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
8200         earlier, call it again in case the background mode has changed.
8202 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
8204         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
8205         (Bug#3541).
8207 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
8209         * emacs-lisp/assoc.el (aelement): Doc fix.
8210         (aput, adelete, amake): Use lexical-let (Bug#5450).
8212 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
8214         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
8215         is the same as subprogram call, not declaration.  (Bug#5435).
8217 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
8219         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
8220         (tramp-smb-maybe-open-connection): Use it.
8222 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
8224         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
8226 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8228         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
8229         just because we see "encoding: 8bit".
8230         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
8232 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
8234         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
8236 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
8238         * jka-compr.el (jka-compr-load): If load-file is not in
8239         load-history, try its file-truename version.  (bug#5447)
8241 2010-01-21  Alan Mackenzie  <acm@muc.de>
8243         Fix a situation where deletion of a cpp construct throws an error.
8244         * progmodes/cc-engine.el (c-invalidate-state-cache):
8245         Before invoking c-with-all-but-one-cpps-commented-out, check that the
8246         special cpp construct is still in the buffer.
8247         (c-parse-state): Record the special cpp with markers, not numbers.
8249 2010-01-21  Kenichi Handa  <handa@m17n.org>
8251         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
8252         process last-command-event, as it is now decoded first (Bug#5380).
8254 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
8256         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
8258 2010-01-20  Glenn Morris  <rgm@gnu.org>
8260         * indent.el (tab-always-indent): Fix custom-type.
8262 2010-01-19  Alan Mackenzie  <acm@muc.de>
8264         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
8265         buffer throws "args out of range".
8266         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
8267         playing the role of delimiter.
8269 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
8271         * progmodes/ada-mode.el: Fix bug#5400.
8272         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
8273         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
8274         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
8275         Improve comments in "is" portion.  Handle null procedure declaration.
8276         (ada-move-to-end): Improve doc string.
8278 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
8280         * ido.el (ido-cur-list): Initialize to nil.
8281         Remove obsolete information from commentary.
8282         (ido-choice-list): Initialize to nil.
8283         (ido-get-bufname): Reject minibuffers.
8284         (ido-make-buffer-list): If "default" is a nonexistent
8285         buffer, ignore it, as per the function's comment.
8286         (ido-kill-buffer-internal): New function.
8287         (ido-kill-buffer-at-head): Use it.
8288         (ido-visit-buffer): Likewise.
8290 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
8292         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
8294 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
8296         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
8297         Fix typos in chart titles.
8299         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
8300         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
8301         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
8302         (describe-class, eieio-describe-generic, describe-generic):
8303         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
8304         (eieio-speedbar-expand):
8305         * emulation/viper-cmd.el (viper-exec-form-in-vi)
8306         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
8307         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
8308         (viper-del-backward-char-in-replace, viper-backward-indent)
8309         (viper-brac-function, viper-register-to-point, viper-submit-report):
8310         * net/tramp.el (tramp-remote-coding-commands):
8311         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
8312         Fix typos in docstrings.
8314 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
8316         * mail/sendmail.el (mail-yank-original): Set the mark if the
8317         specified function for yanking does not do it.
8319 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
8321         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
8323         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
8324         resyncing a directory.
8326 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
8328         * progmodes/ada-mode.el: Fix bug#1920.
8329         (ada-ident-re): Delete ., allow multibyte characters.
8330         (ada-goto-label-re): New; matches goto labels.
8331         (ada-block-label-re): New; matches block labels.
8332         (ada-label-re): New; matches both.
8333         (ada-named-block-re): Deleted; callers changed to use
8334         `ada-block-label-re' instead.
8335         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
8336         Use `ada-block-label-re'.
8337         (ada-indent-on-previous-lines): Improve handling of goto labels.
8338         (ada-get-indent-block-start): Special-case block label.
8339         (ada-get-indent-label): Split into `ada-indent-block-label' and
8340         `ada-indent-goto-label'.
8341         (ada-goto-stmt-start, ada-goto-next-non-ws):
8342         Optionally ignore goto labels.
8343         (ada-goto-next-word): Simplify.
8344         (ada-indent-newline-indent-conditional): Insert newline before
8345         trying to fix indentation; doc fix.
8347 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
8349         * calc/calc.el (calc-command-flags): Give it an initial value.
8351 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
8353         * files.el (minibuffer-with-setup-hook):
8354         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
8355         (artist-key-draw-continously, artist-key-do-continously-continously)
8356         (artist-key-set-point-continously, artist-mouse-draw-continously):
8357         Fix typos in docstrings.
8359 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
8361         * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
8362         return t (Bug#3898).
8364 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
8366         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
8367         can parse the output of the external commands (Bug#5279).
8369 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
8371         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
8373 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
8375         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
8377         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
8379         * startup.el (command-line): Remove unused --icon-type arg.
8380         Handle --display arg, passing it to command-line-1 (Bug#5392).
8382 2010-01-16  Mario Lang  <mlang@delysid.org>
8384         * emacs-lisp/chart.el (chart-translate-namezone):
8385         * textmodes/artist.el (artist-compute-popup-menu-table):
8386         Remove duplicated words in doc-strings.
8388 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
8390         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
8391         to mairix-search to suppress threading (Bug#5342).
8393 2010-01-15  Kenichi Handa  <handa@m17n.org>
8395         * international/mule-cmds.el (canonicalize-coding-system-name):
8396         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
8398 2010-01-15  Glenn Morris  <rgm@gnu.org>
8400         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
8402         * wid-edit.el (widget-keymap): Doc fix.
8404         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
8405         former seems to be more widely accepted by various svn versions.
8407 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
8409         * find-cmd.el (find-constituents):
8410         * vc-arch.el (vc-arch-root):
8411         * window.el (window-body-height, pop-up-frames):
8412         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
8413         * progmodes/ada-stmt.el (ada-if):
8414         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
8415         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
8416         (ispell-encoding8-command, ispell-aspell-supports-utf8)
8417         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
8419         * progmodes/flymake.el (flymake-post-syntax-check):
8420         Fix typo in error message.
8422 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
8424         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
8425         which is always a string.  (Bug#5313)
8427 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
8429         * progmodes/ada-xref.el (ada-default-prj-properties):
8430         Simplify previous change.
8432 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
8434         * progmodes/ada-xref.el (ada-default-prj-properties):
8435         Default ada_project_path to $ADA_PROJECT_PATH.
8437 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
8439         * progmodes/ada-mode.el (ada-create-keymap):
8440         Override `narrow-to-defun' with `ada-narrow-to-defun'.
8442 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
8444         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
8445         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
8446         (ada-get-current-indent, ada-imenu-generic-expression)
8447         (ada-which-function): Check for it.
8449 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
8451         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
8452         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
8454 2010-01-14  Glenn Morris  <rgm@gnu.org>
8456         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
8458 2010-01-14  Kenichi Handa  <handa@m17n.org>
8460         * composite.el (auto-composition-mode): Make it a buffer local
8461         variable (permanent-local).
8462         (auto-composition-function): Set the default value to
8463         auto-compose-chars.
8464         (auto-composition-mode): Make it a simple function, not a minor mode.
8465         (global-auto-composition-mode): Likewise.
8466         (turn-on-auto-composition-if-enabled): Delete it.
8468 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
8470         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
8472 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
8474         * files.el (copy-directory): Compute target for recursive
8475         directories with identical names.  (Bug#5343)
8477 2010-01-12  Glenn Morris  <rgm@gnu.org>
8479         * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
8480         it to bug-gnu-emacs rather than emacs-pretest-bug.
8482 2010-01-11  Sam Steingold  <sds@gnu.org>
8484         * imenu.el (imenu-default-create-index-function): Detect infinite
8485         loops caused by imenu-prev-index-position-function.
8487 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
8489         * htmlfontify.el (htmlfontify-load-rgb-file)
8490         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
8491         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
8492         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
8493         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
8494         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
8495         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
8496         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
8497         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
8498         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
8499         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
8500         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
8501         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
8502         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
8503         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
8504         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
8505         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
8506         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
8507         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
8508         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
8509         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
8510         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
8511         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
8512         backslash-quoting from parentheses, etc.
8514 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
8516         * progmodes/js.el: Autoload javascript-mode alias.
8518 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
8520         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
8521         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
8522         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
8523         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
8524         Fix typos in docstrings.
8525         (ffap-url-regexp): Doc fix.
8526         (ffap-at-mouse): Fix typo in message.
8528 2010-01-11  Glenn Morris  <rgm@gnu.org>
8530         * version.el (emacs-copyright): Set copyright year to 2010.
8532 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8534         * format.el (format-annotate-function): Only set
8535         write-region-post-annotation-function after running to-fn so as not to
8536         affect nested write-region calls (bug#5273).
8538 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
8540         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
8541         wisent/python.el.
8543 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
8545         * man.el (Man-goto-section): Signal error if the section is not
8546         found (Bug#5317).
8548 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
8550         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
8551         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
8553 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
8555         * progmodes/compile.el: Don't treat compile-command as safe if
8556         compilation-read-command might be nil (Bug#4218).
8558 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
8560         * startup.el (command-line-1): Use orig-argi to check for ignored X and
8561         NS options.
8563 2010-01-08  Kenichi Handa  <handa@m17n.org>
8565         * international/fontset.el (build-default-fontset-data):
8566         Exclude characters in scripts kana, hangul, han, or cjk-misc.
8568 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
8570         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
8571         to `create-file-buffer' as it expects, not just a buffer name.
8572         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
8573         to help uniquify.  (Bug#3224)
8575 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
8577         * font-setting.el (font-setting-change-default-font): Use user-spec
8578         instead of name.
8580 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
8582         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
8584 2010-01-05  Tom Tromey  <tromey@redhat.com>
8586         * progmodes/python.el (python-font-lock-keywords):
8587         Handle qualified decorators (Bug#881).
8589 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
8591         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
8592         in a lightweight checkout.
8594 2010-01-05  Kenichi Handa  <handa@m17n.org>
8596         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
8598 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
8600         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
8602 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
8604         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
8605         checkouts.  (Bug#618)
8606         (vc-bzr-log-view-mode): Also highlight the author.
8607         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
8608         (vc-bzr-shelve-menu-map):
8609         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
8610         (vc-bzr-shelve-apply): Make prompt more explicit.
8612 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
8614         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
8615         They are valid characters in URL paths (rfc3986), and at least
8616         Firefox does not understand the encoded version (Bug#3166).
8618 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
8620         * progmodes/octave-mod.el (octave-end-keywords)
8621         (octave-block-begin-or-end-regexp, octave-block-match-alist):
8622         Add "end" keyword (Bug#3061).
8623         (octave-end-as-array-index-p): New function.
8624         (calculate-octave-indent): Use it.
8626 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
8628         * bookmark.el: Consistently put the text property on the bookmark name.
8629         (bookmark-bmenu-marks-width): Bump back to 2, to include
8630         annotation marks.
8631         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
8632         property on the bookmark name, instead of not putting it at all.
8633         (bookmark-bmenu-list): Fix where we put the text property.
8635 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
8637         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
8638         for showing buffer modified state (as added in the previous change).
8640 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
8642         * bookmark.el: Show modified state of bookmark buffer more accurately.
8643         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
8644         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
8645         (with-buffer-modified-unmodified): New macro.
8646         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
8647         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
8648         Use new macro to preserve the buffer modified state.
8650 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
8652         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
8653         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
8654         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
8655         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
8656         (bookmark-bmenu-rename, bookmark-bmenu-locate)
8657         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
8658         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
8660 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
8662         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8663         Make the lines in the generated doc string shorter.  (Bug#4668)
8665 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
8667         * net/rcirc.el: Add follow-link binding (Bug#4738).
8669 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
8671         * Makefile.in (bzr-update): Rename from cvs-update.
8672         (cvs-update): New target for backward compatibility.
8674         * makefile.w32-in (bzr-update): Rename from cvs-update.
8675         (cvs-update): New target for backward compatibility.
8677 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
8679         * bookmark.el: Remove gratuitous gratitude.
8681 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
8683         * bookmark.el (bookmark-bmenu-any-marks): New function.
8684         (bookmark-bmenu-save): Clear buffer modification if no marks.
8686 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
8688         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
8689         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
8690         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
8691         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
8693         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
8694         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
8695         To: emacs-devel {_AT_} gnu.org
8696         Subject: bookmark.el bug report
8697         Date: Mon, 28 Dec 2009 14:19:16 +0800
8698         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
8700 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
8702         * bookmark.el: Improvements suggested by Drew Adams:
8703         (bookmark-bmenu-ensure-position): New name for
8704         `bookmark-bmenu-check-position'.  Just ensure the position,
8705         don't return any meaningful value.
8706         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
8707         New constants.
8709 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
8711         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
8712         (bookmark-yank-point, bookmark-bmenu-check-position):
8713         Fix typos in docstrings.
8714         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
8715         (bookmark-name-from-full-record, bookmark-get-position)
8716         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
8717         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
8718         Remove useless quoting of parenthesis, etc. in docstrings.
8720         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
8721         (ediff-append-custom-diff): Fix typo in error message.
8722         (ediff-meta-mark-equal-files): Fix typos in messages.
8724         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
8726         * net/imap-hash.el (imap-hash-make): Doc fix.
8727         (imap-hash-test): Fix typo in error message; reflow docstring.
8728         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
8729         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
8730         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
8731         Fix typos in docstrings.
8732         (imap-hash-open-connection): Fix typo in error message.
8734         * play/gomoku.el (gomoku): Fix typos in docstring.
8736         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
8737         (gdb-jsonify-buffer): Fix typos in docstring.
8738         (gdb-goto-breakpoint): Fix typo in error message.
8739         ("Display Other Windows"): Fix typo in help message.
8740         (gdb-speedbar-expand-node): Fix typo in question.
8742         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
8743         (idlwave-html-system-help-location, idlwave-html-help-location)
8744         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
8745         (idlwave-help-browser-generic-args, idlwave-help-directory)
8746         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
8747         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
8748         (idlwave-online-help, idlwave-help-html-link)
8749         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
8750         Fix typos in docstrings.
8751         (idlwave-help-with-source, idlwave-help-find-routine-definition):
8752         Reflow docstrings.
8753         (idlwave-help-assistant-start): Fix typo in error message.
8755         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
8756         (octave-electric-space): Fix typos in docstrings.
8758 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
8760         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
8762 2010-01-01  Juri Linkov  <juri@jurta.org>
8764         * comint.el (comint-input-ring-size): Make it a defcustom and
8765         increase the default to 500 (Bug#5148).
8767 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
8769         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
8770         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
8771         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
8773 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
8775         Show working revision correctly for mercurial.
8776         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
8777         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
8779 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
8781         Declare some functions for the byte-compiler.
8782         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
8783         (speedbar-timer-fn, speedbar-change-expand-button-char)
8784         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
8786 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
8788         This changeset reverts GDB Graphical Interface to use annotations.
8789         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
8791 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
8793         Make vc-dir work on subdirectories of the bzr root.
8794         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.  Return
8795         file names relative to it.
8796         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
8797         relative directory to vc-bzr-after-dir-status.
8799 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
8801         * font-lock.el (font-lock-refresh-defaults): New function, which
8802         can be used to let font-lock react to external changes in
8803         variables like font-lock-defaults and keywords.
8804         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
8806 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
8808         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
8810         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
8812 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
8814         Supersede color.diff settings in git log (bug#5211).
8816         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
8817         escape chars in its output when the user has color.diff set to `always'.
8818         This fix works on git 1.4.2 and newer (released on 2006-08-13).
8820 2009-12-26  Kevin Ryde  <user42@zip.com.au>
8822         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
8823         node.  Keep previous "Index" name to work with past coreutils too.
8825         * man.el (man): Revise docstring a bit to show -a and -l as
8826         examples.  Add -k description since support for it has otherwise
8827         been a secret.  (Further to bug#3717.)
8828         (Man-bgproc-sentinel): When "-k foo" produces no output show error
8829         "no matches" rather than "Can't find manpage", as the latter reads
8830         like -k was interpreted as a page name, which is not so.  (Bug#5431)
8832 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
8834         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
8835         switches.  Check also for //SUBDIRED// line.
8837 2009-12-25  Kenichi Handa  <handa@m17n.org>
8839         * language/indian.el (devanagari-composable-pattern): Fixed to
8840         handle ZWNJ and ZWJ.  Use it in composition-function-table for
8841         Devanagari.
8842         (malayalam-composable-pattern): Fix previous change.
8844 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8846         * ps-print.el (ps-face-attributes): It was not returning the
8847         attribute face for faces specified as string.  Reported by harven
8848         <harven@free.fr>.  (Bug#5254)
8849         (ps-print-version): New version 7.3.5.
8851 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
8853         * calendar/icalendar.el (icalendar--convert-tz-offset):
8854         Fix timezone names.
8855         (icalendar--convert-tz-offset): Fix the "last-day-problem".
8856         (icalendar--add-diary-entry): Remove the trailing blank that
8857         diary-make-entry inserts.
8859 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
8861         Make `file-expand-wildcards' work for remote files.
8863         * files.el (file-expand-wildcards): In case of remote files, check
8864         only local file name part for wildcards.  Provide feature 'files
8865         and subfeature 'remote-wildcards.  (Bug#5198)
8867         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
8868         if there is already an established connection.
8869         (tramp-advice-file-expand-wildcards): Remove it.
8871         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
8872         (tramp-advice-file-expand-wildcards): Move from tramp.el.
8873         Activate advice for older GNU Emacs versions.  (Bug#5237)
8875 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
8877         Some doc fixes (more needed).
8879         * find-cmd.el (find-constituents): Reflow docstring.
8880         (find-cmd, find-prune, find-command): Fix typos in docstrings.
8881         (find-generic): Doc fix.
8883 2009-12-17  Juri Linkov  <juri@jurta.org>
8885         Fix regression from 23.1 to allow multiple modes in Local Variables.
8887         * files.el (hack-local-variables-filter): While ignoring duplicates,
8888         don't take `mode' into account.
8889         (hack-local-variables-filter, hack-dir-local-variables):
8890         Don't remove duplicate `mode' from local-variables-alist (like `eval').
8892 2009-12-17  Juri Linkov  <juri@jurta.org>
8894         Make `dired-diff' safer.  (Bug#5225)
8896         * dired-aux.el (dired-diff): Signal an error when `file' equals to
8897         `current' or when `file' is a directory of the `current' file.
8899 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
8901         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
8902         unconditionally preloaded files.
8904 2009-12-16  Juri Linkov  <juri@jurta.org>
8906         Revert to old 23.1 logic of using the file at the mark as default.
8907         * dired-aux.el (dired-diff): Use the file at the mark as default
8908         if it's not the same as the current file, and the target dir is
8909         the current dir or the mark is active.  Add the current file
8910         as the arg of `dired-dwim-target-defaults'.  Use the default file
8911         in the prompt.  (Bug#5225)
8913 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
8915         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
8916         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
8917         (tramp-check-for-regexp): Check also, when an echoing shell stops
8918         to echo sent commands.
8920 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
8922         * Makefile.in: Revert last change (Bug#5191).
8924 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
8926         * vc-hg.el (vc-hg-print-log): Fix argument order.
8927         (vc-hg-working-revision): Make sure the command is executed in a
8928         known environment so that we can parse the output.  (Bug#4417)
8930 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
8932         * progmodes/python.el (python-symbol-completions): Remove text
8933         properties from symbol string before calling python-send-receive.
8935 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
8937         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
8938         when there are values for both file and line.  (Bug#5060)
8940 2009-12-14  Juri Linkov  <juri@jurta.org>
8942         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
8943         whitespace after the file name of the first line of unified format,
8944         because git-diff doesn't output whitespace and file modification time
8945         after the file name.
8947 2009-12-14  David Kastrup  <dak@gnu.org>
8949         * info.el (Info-hide-cookies-node): Before hiding a cookie,
8950         check if it already has the `display' property added by
8951         `Info-display-images-node', and not put the `invisible' property
8952         in this case.
8954 2009-12-13  Glenn Morris  <rgm@gnu.org>
8956         * mail/emacsbug.el (message-sort-headers): Define for compiler.
8957         (report-emacs-bug): In message-mode, sort manually before storing
8958         original report text.  (Bug#5178)
8959         Remove superfluous save-excursion.
8961 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
8963         * net/dbus.el (dbus-property-handler): Filter lambda forms out
8964         when responding to "GetAll" properties.
8966 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
8968         * simple.el (compose-mail): Remove mail-setup-with-from from
8969         customization checks.
8971 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
8973         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
8974         RAR archives created on Unix systems.
8976 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8978         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
8979         the varalias that was accidentally removed by the 2009-11-19 change
8980         (bug#5186).
8982 2009-12-12  Kenichi Handa  <handa@m17n.org>
8984         * language/indian.el (indian-compose-regexp): New function.
8985         (malayalam-composable-pattern): Fix the pattern.
8986         (composition-function-table): Set malayalam-composable-pattern for
8987         Malayalam characters.
8989 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
8991         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
8992         rather than down-mouse-1, based on follow-link conventions.
8994         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
8995         are compiled.
8997 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
8999         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
9000         (verilog-vmm-statement-re, verilog-ovm-statement-re)
9001         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
9002         (verilog-leap-to-head, verilog-backward-token):
9003         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
9005 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
9007         * progmodes/verilog-mode.el (verilog-auto-lineup)
9008         (verilog-nameable-item-re): Cleanup user-visible spelling and
9009         documentation errors.  One reported by Gary Delp.
9010         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
9011         (verilog-read-decls): Fix AUTOWIRE with types declared in a
9012         package, bug195.  Reported by Pierre-David Pfister.
9014 2009-12-11  Glenn Morris  <rgm@gnu.org>
9016         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
9018         * mail/emacsbug.el: No longer require sendmail.
9019         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
9020         (report-emacs-bug-orig-text): Doc fix.
9021         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
9022         New local variables, to adapt to different mail-user-agents.
9023         (report-emacs-bug): Fix test for a gnu.org address.
9024         Use overlays for emphasis, since font-lock defeats 'face property.
9025         Pretest bugs also end up at the newsgroup these days.
9026         Stop message-mode stripping text properties.
9027         Set and use the new buffer-local variables.
9028         (report-emacs-bug-hook): Add doc-string.
9029         Remove some unnecessary save-excursions and simplify.
9030         Use the appropriate hook and send-command.
9032         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
9033         capitalization of some menu entries.
9035 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
9037         * whitespace.el (whitespace-display-char-on):
9038         Ensure `buffer-display-table' is unique when two or more windows are
9039         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
9040         New version 12.1.
9042 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
9044         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
9045         characters in the Attribute field.
9047 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
9049         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
9051 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9053         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
9054         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9055         Disregard autoload-excludes.
9056         (update-directory-autoloads): Obey autoload-excludes here instead.
9057         But don't store its contents in no-autoloads and remove entries that
9058         refer to excludes files.
9060 2009-12-10  Glenn Morris  <rgm@gnu.org>
9062         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
9063         (expand-mail-aliases): Define for compiler.
9065         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
9066         Define for compiler.
9068         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
9069         appropriate for the mail-user-agent in use.
9071 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
9073         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
9075 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
9077         Fix short log parsing and fontification.
9078         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
9079         Fix fontification for the [merge] label.
9081 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
9083         Drop some properties to avoid surprises (bug#5002).
9084         * htmlfontify.el (hfy-ignored-properties): New defcustom.
9085         (hfy-fontify-buffer): Use it.
9087 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9089         Minor cleanup.
9090         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
9091         Adjust all callers.
9092         (ffap-locate-file): Remove unused arg `dir-ok' and make other
9093         args compulsory.  Adjust callers.
9094         (ffap-gopher-at-point): Remove unused var `name'.
9096         Get rid of the ELCFILES abomination.
9097         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
9098         (compile-elcfiles): New phony target.
9099         (compile-main): Compute ELCFILES dynamically.
9100         (compile-clean): New target to remove left-over elc files.
9101         (compile, all): Use it.
9103 2009-12-09  Kenichi Handa  <handa@etlken>
9105         * international/mule-diag.el: Require help-mode instead of help-fns.
9107 2009-12-09  Kenichi Handa  <handa@m17n.org>
9109         * international/mule-cmds.el (ucs-names): Supply sufficiently
9110         fine ranges instead of pre-calculating accurate ranges.
9111         Iterate with bigger gc-cons-threshold.
9113 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
9115         Add support for stashing a snapshot of the current tree.
9116         * vc-git.el (vc-git-stash-snapshot): New function.
9117         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
9119 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
9121         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
9122         instead of `(beginning|end)-of-line'.
9124 2009-12-08  Glenn Morris  <rgm@gnu.org>
9126         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
9128         * Makefile.in (ELCFILES): Regenerate.
9130 2009-12-07  Juri Linkov  <juri@jurta.org>
9132         Don't lazy-highlight the comint output in history Isearch mode.
9134         * comint.el (comint-history-isearch-search): Instead of
9135         `comint-line-beginning-position', use `comint-after-pmark-p'
9136         to check if point if before the process mark, and go to
9137         `process-mark' in this case.
9139 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9141         * textmodes/tex-mode.el (latex-complete)
9142         (latex-indent-or-complete): Remove.
9143         (latex-mode): Set completion-at-point-functions instead.
9145         Provide a standard completion command and hook it into TAB.
9146         * minibuffer.el (completion-at-point-functions): New var.
9147         (completion-at-point): New command.
9148         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
9149         * progmodes/python.el (python-mode-map): Use completion-at-point.
9150         (python-completion-at-point): Rename from python-partial-symbol and
9151         adjust for use in completion-at-point-functions.
9152         (python-mode): Setup completion-at-point for Python completion.
9153         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
9154         extracted from lisp-complete-symbol.
9155         (lisp-complete-symbol): Use it.
9156         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
9157         setup completion-at-point for Elisp completion.
9158         (emacs-lisp-mode-map, lisp-interaction-mode-map):
9159         Use completion-at-point.
9160         * ielm.el (ielm-map): Use completion-at-point.
9161         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
9162         * progmodes/sym-comp.el: Move to...
9163         * obsolete/sym-comp.el: Move from progmodes.
9165 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
9167         Prevent save-buffer in Rmail buffers from using the coding-system
9168         of the current message, and from clobbering the encoding mnemonics
9169         in the mode line (Bug#4623).
9171         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
9172         flag, too.
9173         (rmail-message-encoding): New variable.
9174         (rmail-write-region-annotate): Record the encoding of the current
9175         message in rmail-message-encoding.
9176         (rmail-after-save-hook): New function, restores the encoding of
9177         the current message after the message collection is saved.
9179 2009-12-07  Juri Linkov  <juri@jurta.org>
9181         * progmodes/grep.el (grep-read-files): Use `completing-read'
9182         instead of `read-string'.  Set its `collection' arg to
9183         `read-file-name-internal'.  (Bug#4301)
9185 2009-12-07  Juri Linkov  <juri@jurta.org>
9187         Correctly restore original Isearch point.  (Bug#4994)
9189         * isearch.el (isearch-mode): Move `isearch-push-state' after
9190         `(run-hooks 'isearch-mode-hook)'.
9191         (isearch-cancel): When `isearch-push-state-function' is defined,
9192         let-bind `isearch-cmds' to the first state (the last element of
9193         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
9194         function and restores the original point).  Otherwise, move point
9195         to `isearch-opoint'.
9197 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9199         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
9200         chars that don't have names, so the table can be built much faster at
9201         run-time.
9203 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
9205         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
9206         change.  Suggested by David Kastrup.
9208         * simple.el (compose-mail): Check for incompatibilities and warn.
9209         (compose-mail-user-agent-warnings): New option.
9211 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
9213         Support showing a single log entry from vc-annotate.
9214         * vc.el (print-log): Add a new argument: START-REVISION.
9215         (vc-print-log-internal): Add a new optional argument and
9216         pass it to the backend.
9217         (vc-print-log, vc-print-root-log): Adjust callers.
9218         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
9219         buffer already displays the requested log entry, use it.
9220         Otherwise display only the log entry in question.
9221         * vc-svn.el (vc-svn-print-log):
9222         * vc-mtn.el (vc-mtn-print-log):
9223         * vc-hg.el (vc-hg-state):
9224         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
9225         (vc-git-show-log-entry): Return t on success.
9226         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
9227         (vc-bzr-show-log-entry): Return t on success.
9228         * vc-rcs.el (vc-rcs-print-log):
9229         * vc-sccs.el (vc-sccs-print-log):
9230         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
9232 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
9234         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
9235         Add menus to the meta mode.  (Bug#5043)
9237 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
9239         * ediff-init.el (ediff-event-key): Use event-to-character instead of
9240         event-key.
9242         * ediff.el (ediff-buffers-internal): Add unwind-protect.
9244 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
9246         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
9247         Berbain <raphael.berbain@gmail.com>.
9249         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
9250         characters.
9251         (tramp-initial-end-of-output): New defconst.
9252         (tramp-methods, tramp-find-shell)
9253         (tramp-open-connection-setup-interactive-shell)
9254         (tramp-maybe-open-connection): Use it.
9255         (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
9256         existence of `#' and `$'.
9258         * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
9259         `tramp-initial-end-of-output'.
9261 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
9263         Get the background mode from the terminal for xterm, and set
9264         faces accordingly.
9265         * term/xterm.el (xterm-set-background-mode): New function.
9266         (terminal-init-xterm): Use it in case xterm supports background
9267         color queries.  Recompute faces after getting the background
9268         color.
9270 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
9272         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
9273         number comment back on its own line, for easier parsing.
9275 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9277         Make it work for non-file buffers (bug#5102).
9278         * doc-view.el (doc-view-current-cache-dir):
9279         Use doc-view-buffer-file-name rather than buffer-file-name.
9280         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
9282 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
9284         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
9285         author field is too short.
9287 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
9289         * vc-git.el (vc-git-print-log): Handle a limit argument.
9290         Display the short log in graph form and with labels.
9291         (vc-git-log-view-mode): Handle labels.
9293         Make vc-revert change VC state from 'added to 'unregistered.
9294         * vc-git.el (vc-git-revert): Call git reset first.
9296 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
9298         * net/newst-backend.el, net/newst-plainview.el:
9299         * net/newst-reader.el, net/newst-ticker.el:
9300         * net/newst-treeview.el, net/newsticker.el:
9301         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
9303 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
9305         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
9307         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
9308         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
9309         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
9310         Update annotation regexp.
9312         * simple.el (beginning-of-visual-line): Constrain to field
9313         boundaries (Bug#5106).
9315 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
9317         * xml.el (xml-substitute-numeric-entities): Move
9318         newsticker--decode-numeric-entities in newst-backend.el to
9319         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
9320         * net/newst-backend.el (newsticker--parse-generic-feed)
9321         (newsticker--parse-generic-items)
9322         (newsticker--decode-numeric-entities): Move
9323         newsticker--decode-numeric-entities in newst-backend.el to
9324         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
9326 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
9328         * progmodes/js.el (js--js-not): Add null to the list of values.
9330 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
9332         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
9334 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
9336         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
9337         delimiter if it is at the end of the current line.
9338         (bibtex-generate-url-list): Fix docstring.
9340 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9342         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
9343         minibuffer's content with itself.
9344         Fold the confirm-after-completion case into the `confirm' case.
9345         (completion-pcm-word-delimiters): Add : and / to the delimiters.
9347 2009-12-06  Kevin Ryde  <user42@zip.com.au>
9349         * ffap.el (ffap-rfc-path): Make this a defcustom since
9350         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
9352         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
9353         manuals, similar to existing setup for help-mode.  (Bug#3913.)
9355 2009-12-05  Juri Linkov  <juri@jurta.org>
9357         Save and restore dired buffer's point positions too.  (Bug#4880)
9359         * dired.el (dired-save-positions): Return in the first element
9360         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
9361         Doc fix.
9362         (dired-restore-positions): First restore buffer's position.
9363         While restoring window's positions, check if window still displays
9364         the original buffer.
9366 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
9368         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
9369         if possible.
9371         * shell.el (shell): Require ansi-color (Bug#5113).
9373         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
9375         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
9377 2009-12-05  Alan Mackenzie  <acm@muc.de>
9379         * progmodes/cc-mode.el (c-before-hack-hook)
9380         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
9381         `c-file-style' to work again.  This reversion restores the current
9382         software to its state in Emacs 23.1.  (Bug#4146)
9384 2009-12-05  Kevin Ryde  <user42@zip.com.au>
9386         * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
9387         comment-start-skip to comment-end-skip as comment (Bug#4781).
9389 2009-12-05  Juri Linkov  <juri@jurta.org>
9391         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
9392         for virtual nodes.  (Bug#4147)
9393         (Info-find-node-2): Set `Info-current-node-virtual' to nil
9394         when moving from a virtual node.
9395         (Info-mode-menu): Add `Info-virtual-index' to the menu.
9396         (Info-mode): Add `Info-virtual-index' to the docstring.
9398 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
9400         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
9401         track of the buffer position of the end of a BibTeX entry as this
9402         position may change during reformatting.
9403         (bibtex-format-entry): Remove whitespace before processing
9404         numerical fields so that we recognize the latter properly.
9405         (bibtex-reformat): Do not use push which changes the global value
9406         of bibtex-entry-format.
9407         (bibtex-field-braces-alist, bibtex-field-strings-alist)
9408         (bibtex-field-re-init): Replace only space characters by regexp
9409         for whitespace.
9410         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
9411         (bibtex-initialize): Also update bibtex-strings.
9412         (bibtex-kill-field): Preserve white space at end of entry.
9413         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
9414         Update bibtex-reference-keys.
9416 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9418         * minibuffer.el (completion-pcm--merge-try): Also consider placing
9419         point after a star, if that's the only place where modifications can
9420         make progress.
9422 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
9424         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
9425         in docstrings.
9427 2009-12-04  Juri Linkov  <juri@jurta.org>
9429         * proced.el (proced): Call `(proced-update t)' to update process
9430         information instead of only running proced-post-display-hook.
9431         (proced-send-signal): Add a leading space to the buffer name
9432         " *Marked Processes*" to make this buffer ephemeral.
9434 2009-12-04  Juri Linkov  <juri@jurta.org>
9436         * dired.el (dired-auto-revert-buffer): New defcustom.
9437         (dired-internal-noselect): Use it.
9439 2009-12-04  Juri Linkov  <juri@jurta.org>
9441         Change roles of modes and functions in image-mode.el (Bug#5062).
9443         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
9444         in `auto-mode-alist'.
9445         (image-mode-previous-major-mode): New variable.
9446         (image-minor-mode-map): Rename from `image-mode-text-map'.
9447         (image-mode): Move graceful error-handling code from
9448         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
9449         (image-minor-mode): Remove all image-handling code.
9450         Replace `image-mode-text-map' with `image-minor-mode-map'.
9451         Check for `image-type' in mode-line format string.
9452         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
9453         (image-mode-as-text): New function with most code from
9454         `image-mode-maybe'.
9455         (image-toggle-display-text): Move code that removes image
9456         properties from `image-toggle-display' to here.
9457         (image-toggle-display-image): New function with code that adds
9458         image properties copied from `image-toggle-display'.
9459         (image-toggle-display): Remove most code with leaving only code
9460         that toggles between `image-mode-as-text' and `image-mode'.
9462 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
9464         * net/newst-treeview.el
9465         (newsticker--treeview-list-highlight-start): Restored call to
9466         save-excursion: Selected item was stuck.
9467         (newsticker--treeview-list-select): New.
9468         (newsticker--treeview-item-show-text)
9469         (newsticker--treeview-item-show)
9470         (newsticker--treeview-item-update): Use new
9471         newsticker-treeview-item-mode.
9472         (newsticker-treeview-update): Keep current item.
9473         (newsticker-treeview-next-new-or-immortal-item): Doc change.
9474         (newsticker--treeview-first-feed): Doc change.
9475         (newsticker-treeview-list-menu)
9476         (newsticker-treeview-item-menu): Added menu entries.
9477         (newsticker-treeview-item-mode): New.
9479         * net/newst-backend.el (newsticker-customize): Delete other
9480         windows.
9482 2009-12-04  Sam Steingold  <sds@gnu.org>
9484         * log-view.el (log-view-mode-map): "q" calls quit-window,
9485         like in all the other non-self-insert buffers.
9487 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9489         Minor cleanup.
9490         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
9491         key decoding rather than do it manually via last-input-event +
9492         ascii-character.
9493         (term-exec): Use delete-and-extract-region.
9494         (term-handle-ansi-terminal-messages): Remove unused var `end'.
9495         (term-process-pager): Remove unused var `i'.
9496         (term-dynamic-simple-complete): Make obsolete.
9497         (serial-update-config-menu): Remove unused vars `y' and `str'.
9498         (term-update-mode-line): Remove unused var `temp'.
9500 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
9502         Limit the number of log entries displayed by default.
9503         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
9504         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
9505         using a prefix argument.
9507 2009-12-03  Glenn Morris  <rgm@gnu.org>
9509         * progmodes/idlwave.el (class): Restore still useful declaration.
9511 2009-12-03  Alan Mackenzie  <acm@muc.de>
9513         Enhance `c-parse-state' to run efficiently in "brace deserts".
9515         * progmodes/cc-mode.el (c-basic-common-init):
9516         Call c-state-cache-init.
9517         (c-neutralize-syntax-in-and-mark-CPP): Rename from
9518         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
9519         placing `category' properties value 'c-cpp-delimiter at its boundaries.
9521         * progmodes/cc-langs.el (c-before-font-lock-function):
9522         c-extend-and-neutralize-syntax-in-CPP has been renamed
9523         c-neutralize-syntax-in-and-mark-CPP.
9525         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
9526         with `category' properties now, not `syntax-table' ones.
9528         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
9529         enhanced (but slower) version of c-end-of-macro that won't land
9530         inside a literal or on another awkward character.
9531         (c-state-cache-too-far, c-state-cache-start)
9532         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
9533         (c-state-nonlit-pos-cache-limit, c-state-point-min)
9534         (c-state-point-min-lit-type, c-state-point-min-lit-start)
9535         (c-state-min-scan-pos, c-state-brace-pair-desert)
9536         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
9537         buffer local variables.
9538         (c-state-literal-at, c-state-lit-beg)
9539         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
9540         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
9541         (c-state-cache-top-paren, c-state-cache-after-top-paren)
9542         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
9543         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
9544         (c-renarrow-state-cache)
9545         (c-append-lower-brace-pair-to-state-cache)
9546         (c-state-push-any-brace-pair, c-append-to-state-cache)
9547         (c-remove-stale-state-cache)
9548         (c-remove-stale-state-cache-backwards, c-state-cache-init)
9549         (c-invalidate-state-cache-1, c-parse-state-1)
9550         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
9551         (c-parse-state): Enhance and refactor.
9552         (c-debug-parse-state): Amend to deal with all the new variables.
9554         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
9555         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
9556         modify to use category text properties rather than syntax-table ones.
9557         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
9558         to switch off/on the syntactic paren property of C++ template
9559         delimiters using the category property.
9560         (c-with-<->-as-parens-suppressed): Macro to invoke code with
9561         template delims suppressed.
9562         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
9563         New constant/macros which apply category properties to the start
9564         and end of preprocessor constructs.
9565         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
9566         "comment out" the syntactic value of characters in preprocessor
9567         constructs.
9568         (c-with-cpps-commented-out)
9569         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
9570         with characters in all or all but one preprocessor constructs
9571         "commented out".
9573 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
9575         * proced.el (proced-filter-alist): Use regexp-quote.
9577 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
9579         Cleanup.
9580         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
9581         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
9582         arguments.  Expand `default-directory'.
9584         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
9585         the benefit of returning an expanded localname.
9586         (tramp-tramp-file-p): Handle the case NAME is not a string.
9588 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
9590         Add support for bzr shelve/unshelve.
9591         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
9592         (vc-bzr-extra-menu-map): New variables.
9593         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
9594         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
9595         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
9596         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
9597         (vc-bzr-dir-extra-headers): Display shelves.
9599         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
9601 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9603         * textmodes/bibtex.el (bibtex-complete-internal):
9604         Use completion-in-region.
9605         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
9607 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
9609         Support applying stashes.  Improve UI.
9610         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
9611         (vc-git-stash-apply, vc-git-stash-pop)
9612         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
9613         (vc-git-stash-menu): New functions.
9614         (vc-git-stash-menu-map): New variable.
9615         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
9617 2009-12-03  Glenn Morris  <rgm@gnu.org>
9619         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
9620         (vc-print-log-internal): Fix previous change.
9621         (vc-revert): Correct pluralization.
9623 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9625         * progmodes/make-mode.el (makefile-special-targets-list): No need for
9626         it to be an alist any more.
9627         (makefile-complete): Use completion-in-region.
9629         * progmodes/octave-mod.el (octave-complete-symbol):
9630         Use completion-in-region.
9632         Misc cleanup.
9633         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
9634         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
9635         (idlwave-complete-class): Don't quote lambda.
9636         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
9637         (idlwave-mode-map): Move initialization into declaration.
9638         (idlwave-action-and-binding): Use backquotes.
9639         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
9640         Simplify.
9641         (idlwave-is-pointer-dereference): Remove unused var `pos'.
9642         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
9643         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
9644         `parts', and `all-parts'.
9645         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
9646         (idlwave-convert-xml-system-routine-info): Remove unused string
9647         `version-string'.
9648         (idlwave-display-user-catalog-widget): Use dolist.
9649         (idlwave-scanning-lib): Declare dynamically-scoped var.
9650         (idlwave-scan-library-catalogs): Remove unused var `flags'.
9651         (completion-highlight-first-word-only): Declare to silence bytecomp.
9652         (idlwave-popup-select): Tighten scope of `resp'.
9653         (idlwave-find-struct-tag): Remove unused var `beg'.
9654         (idlwave-after-load-rinfo-hook): Declare.
9655         (idlwave-sintern-class-info): Remove unused var `taglist'.
9656         (idlwave-find-class-definition): Remove unused var `list'.
9657         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
9658         (idlwave-what-module-find-class): Remove unused var `classes'.
9660 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
9662         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
9664 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9666         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
9667         buffers visited.  Remove redundant current-buffer-saving.
9669 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9671         Use completion-in-buffer and remove uses of dynamic scoping.
9672         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
9673         (pascal-buffer-to-use, pascal-flag): Don't declare.
9674         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
9675         (pascal-get-completion-decl, pascal-keyword-completion):
9676         Add `pascal-str' argument, save-excursion,
9677         return the found completions, and don't filter with pascal-pred.
9678         (pascal-completion-cache): New var.
9679         (pascal-completion): Don't switch buffer any more (it was never
9680         necessary).  Don't save-excursion any more (it's done by the called
9681         subroutines).  Use a cache to avoid redundant computations.
9682         Use complete-with-action rather than pascal-completion-response and
9683         let it apply the predicate as well.
9684         (pascal-complete-word): Use completion-in-buffer when
9685         pascal-toggle-completions is nil.
9686         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
9687         not used any more.
9688         (pascal-comp-defun): Don't change buffer any more.
9689         Use complete-with-action rather than pascal-completion-response and
9690         let it apply the predicate as well.
9691         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
9692         when neded.
9694 2009-12-02  Kenichi Handa  <handa@m17n.org>
9696         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
9697         shape for all Indic scripts.
9699 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9701         Use completion-in-buffer.
9702         * wid-edit.el (widget-field-text-end): New function.
9703         (widget-field-value-get): Use it.
9704         (widget-string-complete, widget-file-complete)
9705         (widget-color-complete): Use it and completion-in-region.
9706         (widget-complete): Don't narrow the buffer.
9708 2009-12-02  Glenn Morris  <rgm@gnu.org>
9710         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
9711         (rmail-select-summary): Use rmail-pop-to-buffer.
9712         * mail/rmailsum.el: Replace all pop-to-buffer calls with
9713         rmail-pop-to-buffer, to prevent horizontal splits.
9715         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
9716         save-excursion with save-current-buffer.
9717         Widen before searching.  (Bug#5093)
9718         (diary-list-sexp-entries): Remove superfluous save-excursion.
9720 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
9722         * woman.el (woman-make-bufname): Handle man-pages with "." in the
9723         name.  (Bug#5038)
9725 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
9727         * ido.el (ido-file-internal): Handle filenames at point that do
9728         not have a directory part.  (Bug#5049)
9730 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
9732         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
9733         (mpc-songs-jump-to, mpc-resume): Doc fixes.
9735 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
9737         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
9738         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
9739         any more.
9741 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9743         * comint.el (comint-insert-input): Ignore clicks to the right of
9744         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
9746         * vc.el (vc-print-log-internal): Don't wait for the process to
9747         terminate before setting up the major mode.
9749         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
9750         in case.
9752         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
9753         the last element.
9755         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
9757 2009-12-01  Glenn Morris  <rgm@gnu.org>
9759         * window.el (window--display-buffer-2): Fix previous changes.
9761 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
9763         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
9765 2009-12-01  Glenn Morris  <rgm@gnu.org>
9767         * Makefile.in (ELCFILES): Add mpc.elc.
9769 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9771         * mpc.el: New file.
9773 2009-12-01  Glenn Morris  <rgm@gnu.org>
9775         * window.el (window-to-use): Define for compiler.
9777         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
9778         consistent with others (no final period).
9780         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
9781         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
9783 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
9785         Make vc-print-log buttons work.
9786         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
9788 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
9790         * savehist.el (savehist-autosave-interval): Allow setting to nil
9791         through customize.  (Bug#5056)
9793 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
9795         Fix references to jit-lock properties.
9796         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
9797         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
9798         (perl-font-lock-special-syntactic-constructs):
9799         Quote jit-lock-defer-multiline property.
9801 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
9803         * vc-git.el (vc-git-registered): Call vc-git-root only once.
9805 2009-11-30  Juri Linkov  <juri@jurta.org>
9807         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
9808         value `buffer' of `multi-isearch-next-buffer-current-function'.
9809         Use `(current-buffer)' when `buffer' is nil.
9810         (multi-isearch-next-buffer-from-list): Don't fallback to
9811         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
9813 2009-11-30  Juri Linkov  <juri@jurta.org>
9815         * misearch.el (multi-isearch-read-buffers): Move canonicalization
9816         of buffers with `get-buffer' to `multi-isearch-buffers'.
9817         (multi-isearch-buffers, multi-isearch-buffers-regexp):
9818         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
9819         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
9820         FILES with `expand-file-name' converting relative file names
9821         to absolute.  Doc fix.  (Bug#4727)
9823 2009-11-30  Juri Linkov  <juri@jurta.org>
9825         * misearch.el (multi-isearch-read-buffers)
9826         (multi-isearch-read-matching-buffers): New functions.
9827         (multi-isearch-buffers, multi-isearch-buffers-regexp):
9828         Use them in the `interactive' spec.  Doc fix.
9829         (multi-isearch-read-files, multi-isearch-read-matching-files):
9830         New functions.
9831         (multi-isearch-files, multi-isearch-files-regexp):
9832         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
9834 2009-11-30  Juri Linkov  <juri@jurta.org>
9836         * doc-view.el (doc-view-continuous):
9837         Rename from `doc-view-continuous-mode'.
9838         (doc-view-menu): Move "Toggle display" to the top.
9839         Add submenu "Continuous" with radio buttons "Off"/"On"
9840         and "Save as Default".
9841         (doc-view-scroll-up-or-next-page)
9842         (doc-view-scroll-down-or-previous-page)
9843         (doc-view-next-line-or-next-page)
9844         (doc-view-previous-line-or-previous-page): Rename
9845         `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
9847 2009-11-30  Juri Linkov  <juri@jurta.org>
9849         * comint.el (comint-mode-map): Rebind `M-r' from
9850         `comint-previous-matching-input' to
9851         `comint-history-isearch-backward-regexp'.
9852         Unbind `M-s' to allow global key binding `M-s'.
9853         Add menu items for `comint-history-isearch-backward' and
9854         `comint-history-isearch-backward-regexp'.  (Bug#3746)
9856 2009-11-30  Juri Linkov  <juri@jurta.org>
9858         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
9859         For def=recenter, replace `recenter' with `recenter-top-bottom'
9860         that is called with `this-command' and `last-command' let-bound
9861         to `recenter-top-bottom'.  When the last `def' was not `recenter',
9862         set `recenter-last-op' to nil.  (Bug#4981)
9864 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9866         Minor cleanup and simplification.
9867         * filecache.el (file-cache-add-directory)
9868         (file-cache-add-directory-recursively)
9869         (file-cache-add-from-file-cache-buffer)
9870         (file-cache-delete-file-regexp, file-cache-delete-directory)
9871         (file-cache-files-matching-internal, file-cache-display): Use dolist.
9872         (file-cache-temp-minibuffer-message): Delete function.
9873         (file-cache-minibuffer-complete): Use minibuffer-message instead.
9875         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
9876         Don't signal an error when bumping into EOB in tr, s, or y.
9878 2009-11-29  Juri Linkov  <juri@jurta.org>
9880         * startup.el (fancy-about-text): Fix wording of Guided Tour.
9881         (Bug#4960)
9883         * descr-text.el (describe-char-unidata-list): Use lowercase name
9884         for "Unicode name" like in other tags.
9886 2009-11-29  Juri Linkov  <juri@jurta.org>
9888         * ediff-util.el (ediff-minibuffer-with-setup-hook):
9889         New compatibility macro.
9890         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
9892 2009-11-29  Juri Linkov  <juri@jurta.org>
9894         Add defcustom to define the cycling order of `recenter-top-bottom'.
9895         (Bug#4981)
9897         * window.el (recenter-last-op): Doc fix.
9898         (recenter-positions): New defcustom.
9899         (recenter-top-bottom): Rewrite to use `recenter-positions'.
9900         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
9902 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
9904         Improve integration of Tramp and ange-ftp in eshell.
9906         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
9907         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
9908         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
9910         * eshell/esh-util.el (top): Require also Tramp when compiling.
9911         (eshell-directory-files-and-attributes): Check for FTP remote
9912         connection.
9913         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
9914         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
9915         (eshell-file-attributes): Handle ".".  Return `entry'.
9917         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
9918         (ange-ftp-directory-files-and-attributes)
9919         (ange-ftp-real-directory-files-and-attributes): New defuns.
9921         * net/tramp.el (tramp-maybe-open-connection): Open the remote
9922         shell with "exec" when possible.  This prevents trailing prompts
9923         in `start-file-process'.
9925 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9927         Try and remove assumptions about point-min==1.
9928         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
9929         (rng-compute-mode-line-string): Show the validation percentage in
9930         terms of the narrowed text, not the widened text.
9931         (rng-do-some-validation): Don't catch internal errors when debugging.
9932         (rng-first-error): Simplify.
9933         (rng-after-change-function): Remove work around.  AFAIK the bug has
9934         been fixed a while ago.
9936         * image-mode.el (image-minor-mode): Exit more gracefully when the image
9937         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
9939         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
9941         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
9942         `cd' doesn't always do it for us (bug#5067).
9944         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
9945         on 2009-10-25 as part of some other change (bug#5067).
9947 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9949         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
9950         `suspicious'.
9951         (byte-compile-warnings): Use byte-compile-warning-types.
9952         (byte-compile-save-excursion): Warn about use of set-buffer right
9953         after save-excursion.
9955         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
9956         the excursion as well.
9958 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
9960         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
9961         providing a Tramp related implementation of "su" and "sudo".
9962         (eshell-unix-initialize): Add "su" and "sudo".
9964 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
9966         * net/socks.el (socks-send-command): Convert binary request to
9967         unibyte before sending.  This fixes mishandling of some port
9968         numbers such as 129.
9970 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9972         * help.el (describe-bindings-internal): Remove `interactive'.
9974         * man.el (Man-completion-table): Trim a terminating "(".
9975         Remove the space between name page a section.
9976         Add the command's description on the `help-echo' property.
9977         Remove `process-connection-type' binding since it's unused by
9978         call-process.
9979         Provide completion for the "<section> <name>" format as well.
9980         (Man-default-man-entry): Remove spurious var shadowing the argument.
9982 2009-11-26  Kevin Ryde  <user42@zip.com.au>
9984         * log-view.el: Add "Keywords: tools", since its other keywords
9985         aren't in finder-known-keywords, and following vc.el.
9987         * sha1.el (sha1-string-external): default-directory "/" in case
9988         otherwise non-existent.  process-connection-type pipe for touch of
9989         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
9991 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9993         Misc coding convention cleanups.
9994         * htmlfontify.el (hfy-init-kludge-hook): Rename from
9995         hfy-init-kludge-hooks.
9996         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
9997         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
9998         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
9999         and push.
10000         (hfy-slant, hfy-weight): Use tables rather than code.
10001         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
10002         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
10003         (hfy-face-attr-for-class): Initialize `face-spec' directly.
10004         (hfy-face-to-css): Remove `nconc' with single arg.
10005         (hfy-p-to-face-lennart): Use `or'.
10006         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
10007         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
10008         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
10009         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
10010         (hfy-force-fontification): Use run-hooks.
10012 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
10014         Various minor fixes.
10015         * htmlfontify.el (hfy-default-header): Add toggle_invis since
10016         Javascript belongs in the header, not the body.
10017         (hfy-javascript): Remove.
10018         (hfy-fontify-buffer): Don't insert it any more.
10019         (hfy-face-at): Handle (face0 face1 face2) style face properties.
10020         Fix bug in invis handling when there were no invis props in a chunk.
10022 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10024         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
10026 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
10028         * finder.el (finder-mode-map): Add a menu.
10030 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
10032         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
10033         "unsigned" structs.
10035         (verilog-leap-to-head, verilog-backward-token): Handle "disable
10036         fork" statement better.
10038 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
10040         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
10041         (verilog-delete-auto, verilog-delete-empty-auto-pair)
10042         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
10043         Reported by Clay Douglass.
10045         (verilog-auto-inst, verilog-auto-star-safe)
10046         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
10047         Fix removing "// Interfaces" when saving .* expansions.  Reported by
10048         Pierre-David Pfister.
10050 2009-11-26  Glenn Morris  <rgm@gnu.org>
10052         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
10053         the scope.
10055 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
10057         * vc-annotate.el (vc-annotate-revision-previous-to-line):
10058         Really use previous revision.
10060 2009-11-25  Kevin Ryde  <user42@zip.com.au>
10062         * man.el (Man-completion-table): default-directory "/" in case
10063         doesn't otherwise exist.  process-environment COLUMNS=999 so as
10064         not to truncate long names.  process-connection-type pipe to avoid
10065         any chance of hitting the pseudo-tty TIOCGWINSZ.
10066         (man): completion-ignore-case t for friendliness and since man
10067         itself is case-insensitive on the command line.
10068         Further to Bug#3717.
10070         * arc-mode.el: Add "Keywords: files", so the details in its
10071         commentary can be reached from finder-by-keyword.
10072         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
10073         editing mode, but it's comms related and sgml-mode.el has "comm"
10074         on that basis too.
10075         * textmodes/bibtex-style.el: Add "Keywords: tex".
10076         * international/isearch-x.el, international/ja-dic-cnv.el:
10077         * international/ja-dic-utl.el, international/kkc.el:
10078         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
10080 2009-11-25  Juri Linkov  <juri@jurta.org>
10082         * man.el (Man-completion-table): Modify regexp to include
10083         section names to completion strings.  (Bug#3717)
10085 2009-11-25  Juri Linkov  <juri@jurta.org>
10087         Search recursively in gzipped files.  (Bug#4982)
10089         * progmodes/grep.el (grep-highlight-matches): Add new options
10090         `always' and `auto'.  Doc fix.
10091         (grep-process-setup): Check `grep-highlight-matches' for
10092         `auto-detect' to determine the need to compute grep defaults.
10093         Move Windows/DOS specific --colors settings handling
10094         to `grep-compute-defaults'.  Check `grep-highlight-matches'
10095         to get the value of "--color=".
10096         (grep-compute-defaults): Compute `grep-highlight-matches' when it
10097         has the value `auto-detect'.  Move Windows/DOS specific settings
10098         from `grep-process-setup'.
10099         (zrgrep): New command with alias `rzgrep'.
10101 2009-11-25  Juri Linkov  <juri@jurta.org>
10103         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
10104         to nil instead of switching off view-mode.  (Bug#4896)
10106 2009-11-25  Juri Linkov  <juri@jurta.org>
10108         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
10110         * mwheel.el (mwheel-scroll-up-function)
10111         (mwheel-scroll-down-function): New defvars.
10112         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
10113         `scroll-up', and `mwheel-scroll-down-function' instead of
10114         `scroll-down'.
10116         * doc-view.el (doc-view-scroll-up-or-next-page)
10117         (doc-view-scroll-down-or-previous-page): Add optional ARG.
10118         Use this ARG in the call to image-scroll-up/image-scroll-down.
10119         Change `interactive' spec to "P".  Goto next/previous page only
10120         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
10121         SPC/DEL case).  Doc fix.
10122         (doc-view-next-line-or-next-page)
10123         (doc-view-previous-line-or-previous-page): Rename arg to ARG
10124         for consistency.
10125         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
10126         `doc-view-scroll-up-or-next-page', and buffer-local
10127         `mwheel-scroll-down-function' to
10128         `doc-view-scroll-down-or-previous-page'.
10130 2009-11-25  Juri Linkov  <juri@jurta.org>
10132         Provide additional default values (directories at other Dired
10133         windows) via M-n in the minibuffer of some Dired commands.
10135         * dired-aux.el (dired-diff, dired-compare-directories)
10136         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
10137         `minibuffer-default' in `minibuffer-with-setup-hook'.
10138         (dired-dwim-target-directory): Find a window that displays Dired
10139         buffer instead of failing when the next window is not Dired.
10140         Use `get-window-with-predicate' to find for the next Dired window.
10141         (dired-dwim-target-defaults): New function.
10143         * ediff-util.el (ediff-read-file-name):
10144         Use `dired-dwim-target-defaults' to set `minibuffer-default'
10145         in `minibuffer-with-setup-hook'.
10147 2009-11-25  Juri Linkov  <juri@jurta.org>
10149         Provide additional default values (file name at point or at the
10150         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
10152         * minibuffer.el (read-file-name-defaults): New function.
10153         (read-file-name): Reset `minibuffer-default' to nil when
10154         it duplicates initial input `insdef'.
10155         Bind `minibuffer-default-add-function' to lambda that
10156         calls `read-file-name-defaults' in `minibuffer-selected-window'.
10157         (minibuffer-insert-file-name-at-point): New command.
10159         * files.el (file-name-at-point-functions): New defcustom.
10160         (find-file-default): Remove defvar.
10161         (find-file-read-args): Don't use `find-file-default'.
10162         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
10163         to `read-file-name'.
10164         (find-file-literally): Use `read-file-name' with
10165         `confirm-nonexistent-file-or-buffer'.
10167         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
10169         * dired.el (dired-read-dir-and-switches):
10170         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
10171         to `read-file-name'.
10172         (dired-file-name-at-point): New function.
10173         (dired-mode): Add hook `dired-file-name-at-point' to
10174         `file-name-at-point-functions'.
10176 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10178         Really make the *Completions* window soft-dedicated (bug#5030).
10179         * window.el (window--display-buffer-2): Add `dedicated' argument.
10180         (display-buffer): Pass it when needed so the dedicated flag is set
10181         after calling set-window-buffer, which would otherwise reset it.
10183 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10185         * progmodes/meta-mode.el (meta-complete-symbol):
10186         * progmodes/etags.el (complete-tag):
10187         * mail/mailabbrev.el (mail-abbrev-complete-alias):
10188         Use completion-in-region.
10190         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
10191         (dabbrev-completion): Use completion-in-region.
10192         (dabbrev--abbrev-at-point): Simplify regexp.
10194         * abbrev.el (abbrev--before-point): Use word-motion functions
10195         if :regexp is not specified (bug#5031).
10197         * subr.el (string-prefix-p): New function.
10199         * man.el (Man-completion-cache): New var.
10200         (Man-completion-table): Use it.
10202         * vc.el (vc-print-log-internal): Make `limit' optional for better
10203         compatibility (e.g. with vc-annotate.el).
10205 2009-11-24  Kevin Ryde  <user42@zip.com.au>
10207         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
10208         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
10210         * emacs-lisp/elint.el (elint-add-required-env): Better error message
10211         when .el source file not found or other error.
10213 2009-11-24  Markus Triska  <markus.triska@gmx.at>
10215         * linum.el (linum-update-window): Ignore intangible (bug#4996).
10217 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10219         Handle the [back] button properly (bug#4979).
10220         * descr-text.el (describe-text-properties): Add a `buffer' argument.
10221         Use help-setup-xref, help-buffer, and with-help-window.
10222         (describe-char): Add `buffer' argument.
10223         Pass proper command to help-setup-xref.  Don't meddle with
10224         help-xref-stack-item directly.
10225         (describe-text-category): Use with-help-window and help-buffer.
10227         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
10228         for the displayed buffer (bug#4887).
10230         * man.el (Man-completion-table): New function.
10231         (man): Use it.
10233 2009-11-24  David Reitter  <david.reitter@gmail.com>
10235         * vc-git.el (vc-git-registered): Use checkout directory (where
10236         .git is) rather than the file's directory and a relative path spec
10237         to work around a bug in git.
10239 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
10241         Improve handling of processes on remote hosts.
10243         * eshell/esh-util.el (eshell-path-env): New defvar.
10244         (eshell-parse-colon-path): New defun.
10245         (eshell-file-attributes): Use `eshell-parse-colon-path'.
10247         * eshell/esh-ext.el (eshell-search-path):
10248         Use `eshell-parse-colon-path'.
10249         (eshell-remote-command): Remove argument HANDLER.
10250         (eshell-external-command): Check for FTP remote connection.
10252         * eshell/esh-proc.el (eshell-gather-process-output):
10253         Use `file-truename', in order to start also symlinked files.
10254         Apply `start-file-process' instead of `start-process'.
10255         Shorten `command' to the local file name part.
10257         * eshell/em-cmpl.el (eshell-complete-commands-list):
10258         Use `eshell-parse-colon-path'.
10260         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
10262         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
10263         to `eshell-directory-change-hook'.
10265 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
10267         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
10268         because it could be enabled automatically if view-read-only is non-nil.
10270 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
10272         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
10273         made on 2009-11-22.
10275 2009-11-24  Glenn Morris  <rgm@gnu.org>
10277         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
10278         deleted variable bookmark-bmenu-bookmark-column.
10280 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10282         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
10284 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
10286         * net/browse-url.el (browse-url-filename-alist): On Windows, add
10287         two slashes to the "file:" prefix.
10288         (browse-url-file-url): De-munge Cygwin filenames before passing
10289         them to Windows browser.
10290         (browse-url-default-windows-browser): Use call-process.
10292 2009-11-23  Juri Linkov  <juri@jurta.org>
10294         Implement DocView Continuous mode.  (Bug#4896)
10295         * doc-view.el (doc-view-continuous-mode): New defcustom.
10296         (doc-view-mode-map): Bind C-n/<down> to
10297         `doc-view-next-line-or-next-page', C-p/<up> to
10298         `doc-view-previous-line-or-previous-page'.
10299         (doc-view-next-line-or-next-page)
10300         (doc-view-previous-line-or-previous-page): New commands.
10302 2009-11-23  Juri Linkov  <juri@jurta.org>
10304         Implement Isearch in comint input history.  (Bug#3746)
10305         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
10306         `isearch-mode-hook'.
10307         (comint-history-isearch): New defcustom.
10308         (comint-history-isearch-backward)
10309         (comint-history-isearch-backward-regexp): New commands.
10310         (comint-history-isearch-message-overlay): New buffer-local variable.
10311         (comint-history-isearch-setup, comint-history-isearch-end)
10312         (comint-goto-input, comint-history-isearch-search)
10313         (comint-history-isearch-message, comint-history-isearch-wrap)
10314         (comint-history-isearch-push-state)
10315         (comint-history-isearch-pop-state): New functions.
10317 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
10319         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
10320         return.
10321         (tramp-handle-make-symbolic-link)
10322         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
10323         Quote file names.
10324         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
10325         (tramp-handle-process-file): Use it.
10327 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10329         * window.el (move-to-window-line-last-op): Remove.
10330         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
10332 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
10334         Make M-r mirror the new cycling behavior of C-l.
10335         * window.el (move-to-window-line-last-op): New var.
10336         (move-to-window-line-top-bottom): New command.
10337         (global-map): Bind M-r move-to-window-line-top-bottom.
10339 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
10341         * dired-x.el (dired-guess-shell-alist-default):
10342         Support xz format.  (Bug#4953)
10344 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
10346         * emulation/viper-cmd.el: Use viper-last-command-char instead of
10347         last-command-char/last-command-event.
10348         (viper-prefix-arg-value): Do correct conversion of event-char for
10349         XEmacs.
10351         * emulation/viper-util.el, emulation/viper.el:
10352         Use viper-last-command-char instead of
10353         last-command-char/last-command-event.
10355         * ediff-init.el, ediff-mult.el, ediff-util.el:
10356         Replace last-command-char and last-command-event
10357         with (ediff-last-command-char) everywhere.
10359         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
10360         created in fundamental mode.
10362         * ediff.el (ediff-version): Revert the change of interactive-p to
10363         called-interactively-p.
10365 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
10367         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
10368         generation from word-movement command names.
10370 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
10372         * cus-start.el (all): Add native condition for font-use-system-font.
10374 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
10376         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
10377         Correct the patch from 2009-11-18.  (Bug#3910)
10379 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
10381         * progmodes/subword.el: Rename from lisp/subword.el.
10383         * subword.el: Rename to progmodes/subword.el.
10385         * Makefile.in (ELCFILES): Adapt to subword.el move.
10387 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10388             Stefan Monnier  <monnier@iro.umontreal.ca>
10390         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
10391         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
10392         (bookmark-bmenu-show-filenames): Use push.
10393         (bookmark-bmenu-hide-filenames): Use local var instead of
10394         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
10395         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
10396         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
10397         filenames now that the bookmark names are always available.
10399 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10401         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
10402         (bookmark-search-pattern): Move and leave unbound.
10403         (bookmark-bmenu-mode-map): Change binding.
10404         (bookmark-read-search-input): Simplify.
10405         Don't use text-char-description.  Don't error on non-char events.
10406         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
10407         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
10408         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
10409         Use a local var for the timer.
10410         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
10411         (i.e. bookmark-bmenu-search).
10413 2009-11-21  Glenn Morris  <rgm@gnu.org>
10415         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
10417 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
10419         * net/browse-url.el (browse-url-default-windows-browser):
10420         Use cygstart for cygwin.
10422 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
10424         * bookmark.el: Formatting and doc fixes only:
10425         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
10426         (bookmark-bmenu-search): Wrap to fit within 80 columns.
10427         Minor grammar and punctuation fixes in doc string.
10428         (bookmark-read-search-input): Adjust to fit within 80 columns.
10430 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
10432         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
10433         (c-backward-into-nomenclature): Adapt to subword renaming.
10435         * subword.el (subword-forward, subword-backward, subword-mark)
10436         (subword-kill, subword-backward-kill, subword-transpose)
10437         (subword-downcase, subword-upcase, subword-capitalize)
10438         (subword-forward-internal, subword-backward-internal):
10439         Rename from forward-subword, backward-subword, mark-subword,
10440         kill-subword, backward-kill-subword, transpose-subwords,
10441         downcase-subword, upcase-subword, capitalize-subword,
10442         forward-subword-internal, backward-subword-internal.
10444 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10446         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
10447         New options.
10448         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
10449         New vars.
10450         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
10451         (bookmark-bmenu-filter-alist-by-regexp)
10452         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
10453         (bookmark-bmenu-search): New command.
10454         (bookmark-bmenu-mode-map): Bind it.
10456 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
10458         * progmodes/cc-cmds.el: declare-functioned forward-subword and
10459         backward-subword to quit the byte-compiler.
10461         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
10463         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
10465         * progmodes/cc-cmds.el (c-update-modeline)
10466         (c-forward-into-nomenclature, c-backward-into-nomenclature):
10467         Refer to subword.el functions instead of cc-subword.el.
10469         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
10470         subword.el functions instead of cc-subword.el.
10472         * progmodes/cc-subword.el: Rename to subword.el.
10473         * subword.el: Rename from progmodes/cc-subword.el.
10474         (subword-mode-map): Rename from c-subword-mode-map.
10475         (subword-mode): Rename from c-subword-mode.
10476         (global-subword-mode): New global minor mode.
10477         (forward-subword): Rename from c-forward-subword.
10478         (backward-subword): Rename from c-backward-subword.
10479         (mark-subword): Rename from c-mark-subword.
10480         (kill-subword): Rename from c-kill-subword.
10481         (backward-kill-subword): Rename from c-backward-kill-subword.
10482         (transpose-subwords): Rename from c-tranpose-subword.
10483         (downcase-subword): Rename from c-downcase-subword.
10484         (capitalize-subword): Rename from c-capitalize-subword.
10485         (forward-subword-internal): Rename from c-forward-subword-internal.
10486         (backward-subword-internal): Rename from c-backward-subword-internal.
10488 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
10490         * vc.el (vc-deduce-fileset): Allow non-state changing operations
10491         from a dired buffer.
10492         (vc-dired-deduce-fileset): New function.
10493         (vc-root-diff, vc-print-root-log): Use it.
10495         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
10496         nil LIMIT argument to vc-print-log-internal.
10498 2009-11-20  Glenn Morris  <rgm@gnu.org>
10500         * Makefile.in (ELCFILES): Regenerate.
10502 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
10504         * calc/calc.el (calc-set-mode-line):
10505         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
10506         (math-format-number): Rename `math-format-complement-signed' to
10507         `math-format-twos-complement'.
10509         * calc/calc-bin.el (math-format-twos-complement): Rename from
10510         math-format-complement-signed.
10511         (calc-radix): Rename `calc-complement-signed-mode' to
10512         `calc-twos-complement-mode'.
10513         (calc-octal-radix, calc-hex-radix): Add an argument for
10514         two's complement.
10516         * calc/calc-embed.el (calc-embedded-mode-vars):
10517         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
10519         * calc/calc-ext.el (calc-init-extensions):
10520         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
10521         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
10523         * calc/calc-units.el (math-build-units-table-buffer):
10524         Let `calc-twos-complement-mode' be nil.
10526         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
10527         entries.
10529         * calc/calc-vec.el (calcFunc-vunpack):
10530         * calc/calc-aent.el (calc-do-calc-eval):
10531         * calc/calc-forms.el (math-format-date):
10532         * calc/calc-graph.el (calc-graph-plot):
10533         * calc/calc-math.el (math-use-emacs-fn):
10534         * calc/calccomp.el (math-compose-expr):
10535         Let `calc-twos-complement-mode' be nil.
10537 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10539         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
10540         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
10541         * minibuffer.el (completion-in-region-functions): New hook.
10542         (completion-in-region): New function.
10543         * emacs-lisp/lisp.el (lisp-complete-symbol):
10544         * pcomplete.el (pcomplete-std-complete): Use it.
10546 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10548         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
10549         (latex-complete-alist): New vars.
10550         (latex-string-prefix-p, latex-complete-bibtex-keys)
10551         (latex-complete-envnames, latex-complete-refkeys)
10552         (latex-complete-data): New functions.
10553         (latex-complete, latex-indent-or-complete): New commands.
10555         * window.el (display-buffer-mark-dedicated): New var.
10556         (display-buffer): Obey it.
10557         * minibuffer.el (minibuffer-completion-help): Use it.
10559         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
10561         * filecache.el (file-cache-add-file): Use push and cons.
10562         (file-cache-delete-file-regexp): Use push.
10563         (file-cache-complete): Use completion-in-region.
10565         * simple.el (with-wrapper-hook): Fix thinko.
10567         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
10568         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
10569         Use with-current-buffer and string-to-number.
10570         (hfy-fallback-colour-values): Use assoc-string.
10571         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
10572         (hfy-face-at): Remove unused var `found-face'.
10573         (hfy-compile-stylesheet): Remove unused var `css'.
10574         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
10575         and `orig-buffer'.
10576         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
10577         Use with-current-buffer.
10578         (hfy-text-p): Use expand-file-name and fewer setq.
10580 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
10582         * htmlfontify.el, hfy-cmap.el: New files.
10584 2009-11-19  Juri Linkov  <juri@jurta.org>
10586         * minibuffer.el (completions-format): New defcustom.
10587         (completion--insert-strings): Implement vertical format.
10589         * simple.el (switch-to-completions): Move point to the first
10590         completion when point was at the beginning of the buffer.
10592 2009-11-19  Juri Linkov  <juri@jurta.org>
10594         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
10596         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
10598 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
10600         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
10601         (mail-signature): Change default to t.
10602         (mail-from-style): Deprecate `system-default' value.
10603         (mail-insert-from-field): For default value of mail-from-style,
10604         default to `angles' unless `angles' needs quoting and `parens'
10605         does not.
10606         (mail-citation-prefix-regexp): Use citation regexp from
10607         message-mode.
10609 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
10611         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
10612         Set variables for computing the prompt for reading password.
10614 2009-11-19  Glenn Morris  <rgm@gnu.org>
10616         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
10618         * textmodes/flyspell.el (sgml-lexical-context): Declare.
10620         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
10621         (newsticker-treeview-listwindow-height): Fix custom type.
10623 2009-11-19  Kenichi Handa  <handa@m17n.org>
10625         * descr-text.el (describe-char-padded-string): Compose with TAB
10626         only if there's a font for CH.
10627         (describe-char): Fix the condition for detecting a trivial composition.
10629 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
10631         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
10632         more accurate version of the regexp.  (Bug#3910)
10634 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
10636         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
10638 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
10640         * font-setting.el (font-use-system-font): Declare for byte-compiler.
10641         (font-setting-change-default-font): Fix typo in docstring.
10643 2009-11-18  Alan Mackenzie  <acm@muc.de>
10645         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
10647 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
10649         * font-setting.el (font-use-system-font): Move ...
10651         * cus-start.el (all): ... to here.
10653 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
10655         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
10656         Don't set `ad-return-value' if `ad-do-it' doesn't.
10658         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
10659         modification time.
10661 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
10663         * menu-bar.el: Put "Use system font" in Option-menu.
10664         (menu-bar-options-save): Add font-use-system-font.
10666         * loadup.el: If feature system-font-setting or font-render-setting is
10667         there, load font-setting.
10669         * Makefile.in (ELCFILES): Add font-settings.el.
10670         * font-setting.el: New file.
10672 2009-11-17  Glenn Morris  <rgm@gnu.org>
10674         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
10676         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
10677         Preserve point in the list buffer.  (Bug#4939)
10678         Use point-at-eol.
10679         (newsticker--treeview-list-update-highlight)
10680         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
10682 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
10684         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
10685         Remove.
10687         * calc/calc-ext.el (calc-init-extensions): Remove references to
10688         symclip.
10690         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
10692         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
10693         * calc/calc-help.el (calc-b-prefix-help): Remove references to
10694         `calc-symclip'.
10696 2009-11-16  Kevin Ryde  <user42@zip.com.au>
10698         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
10699         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
10701         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
10702         (lm-keywords-list): Allow comma-only separator like "foo,bar".
10703         Ignore trailing spaces by omit-nulls to split-string (fixing
10704         regression from Emacs 21 due to the incompatible split-string
10705         change).  (Bug #4928.)
10707 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
10709         * vc.el (vc-log-show-limit): Default to 2000.
10710         (vc-print-log-internal): Insert buttons to request more entries
10711         when limiting the output.
10713         * vc-sccs.el (vc-sccs-print-log):
10714         * vc-rcs.el (vc-rcs-print-log):
10715         * vc-cvs.el (vc-cvs-print-log):
10716         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
10717         LIMIT is non-nil.
10719 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
10721         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
10722         error when `tramp-gvfs-dbus-event-vector' is set.
10723         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
10725 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10727         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
10729 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
10731         * net/dbus.el (dbus-unregister-service): New defun.
10732         (dbus-register-property): Register the handlers of
10733         "org.freedesktop.DBus.Properties" for SERVICE.
10734         (dbus-property-handler): Fix docstring.
10736 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
10738         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
10739         Quote doc string reference in defvaralias as it is not in special form.
10740         (byte-compile-output-docform): Doc fix.
10742 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
10744         * calc/calc.el (math-2-word-size, math-half-2-word-size)
10745         (calc-complement-signed-mode): New variables.
10746         (calc-set-mode-line): Add indicator for twos-complements.
10747         (math-format-number): Format twos-complement notation.
10749         * calc/calc-bin.el (calc-word-size): Reset the variables
10750         `math-2-word-size' and `math-half-2-word-size'.
10751         (math-format-complement-signed, math-symclip, calcFunc-symclip)
10752         (calc-symclip): New functions.
10754         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
10756         * calc/calc-embed.el (calc-embedded-mode-vars):
10757         Add `calc-complement-signed-mode' to the list of modes.
10759         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
10760         (calc-b-oper-keys): Add `calc-symclip' to list.
10762         * calc/calc-ext.el (math-read-number-fancy): Read complement
10763         signed numbers.
10764         (calc-init-extensions): Add binding for `calc-symclip'.
10765         Add autoload for `calcFunc-symclip' and `calc-symclip'.
10767         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
10768         `calc-symclip'.
10769         (calc-modes-menu): Add item for twos complement mode.
10771         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
10773 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
10775         * register.el (jump-to-register, insert-register): Handle Semantic
10776         tags.  From commented-out advice in semantic/senator.el.
10778 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
10780         * vc.el (vc-log-show-limit): New variable.
10781         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
10782         when using a prefix argument.
10783         (vc-print-log-internal): Add new argument LIMIT.
10785         * vc-svn.el (vc-svn-print-log):
10786         * vc-mtn.el (vc-mtn-print-log):
10787         * vc-hg.el (vc-hg-print-log):
10788         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
10789         pass it to the log command when set.  Make the BUFFER argument
10790         non-optional.
10792         * vc-sccs.el (vc-sccs-print-log):
10793         * vc-rcs.el (vc-rcs-print-log):
10794         * vc-git.el (vc-git-print-log):
10795         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
10796         ignore it.  Make the BUFFER argument non-optional
10798         * bindings.el (mode-line-buffer-identification): Do not purecopy.
10800 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
10802         * dired.el (dired-mode-map): Move encryption items to "Operate"
10803         menu (Bug#4703).
10805         * strokes.el (strokes-update-window-configuration): Make strokes
10806         buffer current before erasing (Bug#4906).
10808 2009-11-15  Juri Linkov  <juri@jurta.org>
10810         * simple.el (set-mark-default-inactive): Add :type, :group
10811         and :version.  (Bug#4876)
10813 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
10815         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
10816         (archive-unique-fname): ... here.  (Bug#4929)
10818 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10820         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
10821         with a real fix.
10823         * novice.el (disabled-command-function): Add useful args.
10824         Setup the help buffer so that [back] works.
10825         Remove redundant call to help-mode.
10826         (disabled-command-function): Use `case'.
10827         (en/disable-command): New function extracted from enable-command.
10828         (enable-command, disable-command): Use it.
10830 2009-11-14  Glenn Morris  <rgm@gnu.org>
10832         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
10833         constants.  (Bug#4913)
10835         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
10837 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
10839         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
10840         defined in C that have no doc-strings.  (Bug#1063)
10842 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
10844         * cus-edit.el (data, files):
10845         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
10847 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
10849         * simple.el (shell-command): Doc fix (Bug#4891).
10851         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
10853 2009-11-14  Glenn Morris  <rgm@gnu.org>
10855         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
10856         statements for vc-diff, emerge-quit, and rmail-cease-edit.
10857         If they are already loaded, eval-after-load will do the right thing.
10859         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
10860         compiling.
10862         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
10864         * simple.el (x-selection-owner-p): Declare.
10865         (read-mail-command): Use custom radio type rather than choice.
10866         (completion-no-auto-exit): Doc fix.
10868         * custom.el (defgroup):
10869         * epg-config.el (epg): Doc fixes.
10871 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
10873         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
10874         * international/ccl.el (define-ccl-program): Do not purecopy the
10875         docstring, defconst does it anyway.
10877 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10879         * add-log.el (add-change-log-entry): Avoid displaying the changelog
10880         a second time.
10882         * x-dnd.el (x-dnd-maybe-call-test-function):
10883         * window.el (split-window-vertically):
10884         * whitespace.el (whitespace-help-on):
10885         * vc-rcs.el (vc-rcs-consult-headers):
10886         * userlock.el (ask-user-about-lock-help)
10887         (ask-user-about-supersession-help):
10888         * type-break.el (type-break-force-mode-line-update):
10889         * time-stamp.el (time-stamp-conv-warn):
10890         * terminal.el (te-set-output-log, te-more-break, te-filter)
10891         (te-sentinel, terminal-emulator):
10892         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
10893         (term-write-input-ring, term-check-source, term-start-output-log):
10894         (term-display-buffer-line, term-dynamic-list-completions):
10895         (term-ansi-make-term, serial-term):
10896         * subr.el (selective-display):
10897         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
10898         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
10899         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
10900         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
10901         (speedbar-remove-localized-speedbar-support)
10902         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
10903         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
10904         (speedbar-buffers-line-directory):
10905         * simple.el (shell-command-on-region, append-to-buffer)
10906         (prepend-to-buffer):
10907         * shadowfile.el (shadow-save-todo-file):
10908         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
10909         (scroll-bar-maybe-set-window-start):
10910         * sb-image.el (speedbar-image-dump):
10911         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
10912         (load-save-place-alist-from-file):
10913         * ps-samp.el (ps-print-message-from-summary):
10914         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
10915         (ps-background-image, ps-begin-job, ps-do-despool):
10916         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
10917         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
10918         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
10919         (pr-call-process, pr-file-list, pr-interface-save):
10920         * novice.el (disabled-command-function)
10921         (enable-command, disable-command):
10922         * mouse.el (mouse-buffer-menu-alist):
10923         * mouse-copy.el (mouse-kill-preserving-secondary):
10924         * macros.el (kbd-macro-query):
10925         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
10926         * informat.el (batch-info-validate):
10927         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
10928         * hippie-exp.el (try-expand-dabbrev-visible):
10929         * help-mode.el (help-make-xrefs):
10930         * help-fns.el (describe-variable):
10931         * generic-x.el (bat-generic-mode-run-as-comint):
10932         * finder.el (finder-mouse-select):
10933         * find-dired.el (find-dired-sentinel):
10934         * filesets.el (filesets-file-close):
10935         * files.el (list-directory):
10936         * faces.el (list-faces-display, describe-face):
10937         * facemenu.el (list-colors-display):
10938         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
10939         * epg.el (epg--process-filter, epg-cancel):
10940         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
10941         (epa--read-signature-type):
10942         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
10943         (emerge-file-names):
10944         * ehelp.el (electric-helpify):
10945         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
10946         * ediff-vers.el (rcs-ediff-view-revision):
10947         * ediff-util.el (ediff-setup):
10948         * ediff-mult.el (ediff-append-custom-diff):
10949         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
10950         (ediff-wordify):
10951         * echistory.el (Electric-command-history-redo-expression):
10952         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
10953         * disp-table.el (describe-display-table):
10954         * dired.el (dired-find-buffer-nocreate):
10955         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
10956         * dabbrev.el (dabbrev--same-major-mode-p):
10957         * chistory.el (list-command-history):
10958         * apropos.el (apropos-documentation):
10959         * allout.el (allout-obtain-passphrase):
10960         (allout-copy-exposed-to-buffer):
10961         (allout-verify-passphrase): Use with-current-buffer.
10963 2009-11-13  Glenn Morris  <rgm@gnu.org>
10965         * Makefile.in (ELCFILES): Regenerate.
10967 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
10969         * net/dbus.el (dbus-registered-objects-table): Rename from
10970         `dbus-registered-functions-table', because it contains also properties.
10971         (dbus-unregister-object): Unregister also properties.
10972         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
10973         Use a timeout of 500 msec, in order to not block.
10974         (dbus-register-property, dbus-property-handler): New defuns.
10976 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10978         * simple.el (minibuffer-default-add-completions): Drop deprecated
10979         4th arg.
10981 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
10983         * textmodes/artist.el (artist-mouse-choose-operation):
10984         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
10985         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
10986         (artist-compute-up-event-key): New function.
10987         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
10989 2009-11-13  Kenichi Handa  <handa@m17n.org>
10991         * language/japan-util.el: Make sure that the value of jisx0208
10992         property is jisx0208 character.
10994 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
10996         * international/mule.el (auto-coding-regexp-alist): Only purecopy
10997         car or each item, not the whole list.
10999 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11001         * minibuffer.el (minibuffer-completion-help):
11002         Use minibuffer-hide-completions.
11004 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
11006         * dired.el (dired-save-positions, dired-restore-positions): New funs.
11007         (dired-revert): Use them (bug#4880).
11009 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
11011         * tooltip.el (tooltip-frame-parameters): Undo previous change.
11013 2009-11-12  Juri Linkov  <juri@jurta.org>
11015         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
11016         New functions.
11017         (find-file-literally-at-point): Alias of `ffap-literally'.
11019 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
11021         * textmodes/ispell.el (ispell-skip-region-alist):
11022         * textmodes/css-mode.el (auto-mode-alist):
11023         * progmodes/compile.el (auto-mode-alist):
11024         * international/mule.el (ctext-non-standard-encodings-alist)
11025         (ctext-non-standard-encodings-regexp):
11026         * simple.el (shell-command-switch, text-read-only):
11027         * replace.el (occur-mode-map):
11028         * paths.el (rmail-file-name):
11029         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
11030         * find-file.el (ff-special-constructs):
11031         * files.el (file-name-handler-alist):
11032         * composite.el: Purecopy strings.
11034         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
11036 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
11038         * widget.el (define-widget): Purecopy the docstring.
11039         * international/mule-cmds.el (charset): Do not purecopy the
11040         docstring here, define-widget does it.
11042         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
11043         * textmodes/bibtex-style.el (auto-mode-alist):
11044         * progmodes/inf-lisp.el (inferior-lisp-prompt):
11045         * progmodes/compile.el (compile-command):
11046         * language/korea-util.el (default-korean-keyboard):
11047         * international/mule-conf.el (file-coding-system-alist):
11048         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
11049         * tooltip.el (tooltip-frame-parameters):
11050         * newcomment.el (comment-end, comment-padding):
11051         * dired.el (dired-trivial-filenames):
11052         * comint.el (comint-file-name-prefix): Purecopy initial values.
11054 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
11056         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
11057         (tramp-advice-minibuffer-electric-tilde): Unload advices via
11058         `tramp-unload'.
11059         (tramp-advice-make-auto-save-file-name)
11060         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
11061         after removing the advice.
11063 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
11065         * progmodes/grep.el (grep-regexp-alist):
11066         * international/mule-cmds.el (iso-2022-control-alist):
11067         * emacs-lisp/timer.el (timer-duration-words):
11068         * subr.el (version-separator, version-regexp-alist):
11069         * minibuffer.el (completion-styles-alist):
11070         * faces.el (face-attribute-name-alist, list-faces-sample-text):
11071         Change defvars to defconsts.
11073         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
11074         * loadup.el ("international/mule-conf"): Load the byte compiled version.
11075         * international/mule-conf.el: Allow to be byte compiled.
11077         * international/mule.el (define-charset): Purecopy props.
11078         (load-with-code-conversion): Purecopy doc string and file name.
11079         (put-charset-property): Purecopy strings.
11080         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
11082         * international/mule-cmds.el (register-input-method): Purecopy arguments.
11083         (define-char-code-property): Correctly purecopy the table.
11085         * international/ccl.el (define-ccl-program): Purecopy the docstring.
11087         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
11089         * subr.el (add-hook): Purecopy strings.
11090         (eval-after-load): Purecopy load-history-regexp and the form.
11092         * custom.el (custom-declare-group): Purecopy load-file-name.
11094         * subr.el (menu-bar-separator): New defconst.
11095         * net/eudc.el (eudc-tools-menu):
11096         * international/mule-cmds.el (set-coding-system-map)
11097         (mule-menu-keymap):
11098         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
11099         * vc-hooks.el (vc-menu-map):
11100         * replace.el (occur-mode-map):
11101         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
11102         (menu-bar-edit-menu, menu-bar-goto-menu)
11103         (menu-bar-custom-menu, menu-bar-showhide-menu)
11104         (menu-bar-options-menu, menu-bar-tools-menu)
11105         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
11106         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
11107         (menu-bar-help-menu):
11108         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
11109         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
11111         * term/x-win.el (x-gtk-stock-map):
11112         * progmodes/vera-mode.el (auto-mode-alist):
11113         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
11114         (inferior-lisp-program, inferior-lisp-load-command):
11115         * progmodes/hideshow.el (hs-special-modes-alist):
11116         * progmodes/gud.el (same-window-regexps):
11117         * progmodes/grep.el (grep-program, find-program, xargs-program):
11118         * net/telnet.el (same-window-regexps):
11119         * net/rlogin.el (same-window-regexps):
11120         * language/ethiopic.el (font-ccl-encoder-alist):
11121         * vc-sccs.el (vc-sccs-master-templates):
11122         * vc-rcs.el (vc-rcs-master-templates):
11123         * subr.el (cl-assertion-failed):
11124         * simple.el (next-error-overlay-arrow-position):
11125         * lpr.el (lpr-command):
11126         * locate.el (locate-ls-subdir-switches):
11127         * info.el (same-window-regexps, info)
11128         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
11129         * image-mode.el (image-mode, auto-mode-alist):
11130         * hippie-exp.el (hippie-expand-ignore-buffers):
11131         * format.el (format-alist):
11132         * find-dired.el (find-ls-subdir-switches, find-grep-options)
11133         (find-name-arg):
11134         * facemenu.el (facemenu-keybindings):
11135         * dired.el (dired-listing-switches, dired-chown-program):
11136         * diff.el (diff-switches, diff-command):
11137         * cus-edit.el (same-window-regexps):
11138         * bindings.el (mode-line-mule-info)
11139         (mode-line-buffer-identification): Purecopy strings.
11141 2009-11-11  Juri Linkov  <juri@jurta.org>
11143         * simple.el (dired-get-filename) <declare-function>:
11144         Tell the byte-compiler about dired-get-filename.
11145         (shell-command): In Dired mode, get filename from the current line
11146         as the default value.
11148 2009-11-10  Glenn Morris  <rgm@gnu.org>
11150         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
11151         * calendar/holidays.el, progmodes/cperl-mode.el:
11152         Update x-popup-menu declarations.
11154         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
11155         (list-load-path-shadows): Use dolist.
11156         (list-load-path-shadows): Use with-current-buffer.
11158 2009-11-10  Juri Linkov  <juri@jurta.org>
11160         * minibuffer.el (read-file-name): Support a list of default values
11161         in `default-filename'.  Use the first file name where only one
11162         element is required.  Doc fix.
11164 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
11166         * net/dbus.el (dbus-unregister-object): Release service, if no
11167         other method is registered for it.
11169 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
11171         * bookmark.el (bookmark-completing-read): Sort bookmark names if
11172         bookmark-sort-flag is non-nil (Bug#4653).
11174 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
11176         * emulation/cua-base.el: Add CUA property to some CC mode commands
11177         (Bug#4100).
11179 2009-11-08  Kevin Ryde  <user42@zip.com.au>
11181         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
11182         at end of sentence (Bug#4818).
11184 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
11186         * progmodes/compile.el (compilation-error-regexp-alist-alist):
11187         Handle "see declaration of" MSFT statements (Bug#4100).
11189 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
11191         * net/tramp.el (tramp-advice-make-auto-save-file-name)
11192         (tramp-advice-file-expand-wildcards): Unload via
11193         `ad-remove-advice'.
11195         * net/trampver.el: Update release number.
11197 2009-11-08  Kevin Ryde  <user42@zip.com.au>
11199         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
11200         `ad-do-it'.
11202 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
11204         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
11205         in order to keep context in SELinux.
11207 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
11209         * dired-aux.el (dired-query): Place cursor in echo area and allow
11210         C-g.
11212         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
11213         menu item if not on a directory (Bug#4701).
11215 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
11217         Sync with Tramp 2.1.17.
11219         * net/tramp.el (tramp-handle-copy-directory): Don't use
11220         `file-remote-p' (due to compatibility).
11222         * net/tramp-compat.el (tramp-compat-copy-directory)
11223         (tramp-compat-delete-directory): New defuns.
11225         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
11226         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
11227         `tramp-compat-delete-directory'.
11229         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
11230         (tramp-smb-handle-delete-directory): Use
11231         `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
11233         * net/trampver.el: Update release number.
11235 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
11237         * tar-mode.el (tar-copy): Call write-region on the right buffer
11238         (Bug#4857).
11240         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
11241         by hand, if necessary (Bug#4878).
11243 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
11245         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
11246         align size column (Bug#4839).
11248         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
11249         statement.
11251 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
11253         * progmodes/ld-script.el (auto-mode-alist):
11254         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
11256         * cus-face.el (custom-declare-face): Purecopy face spec.
11258 2009-11-06  Kenichi Handa  <handa@m17n.org>
11260         * international/uni-bidi.el: Re-generated.
11261         * international/uni-category.el: Re-generated.
11262         * international/uni-combining.el: Re-generated.
11263         * international/uni-mirrored.el: Re-generated.
11265 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
11267         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
11268         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
11269         (tex-start-options, slitex-run-command, latex-run-command)
11270         (tex-run-command, tex-directory):
11271         * textmodes/ispell.el (ispell-html-skip-alists)
11272         (ispell-tex-skip-alists, ispell-tex-skip-alists):
11273         * textmodes/fill.el (adaptive-fill-first-line-regexp):
11274         (adaptive-fill-regexp):
11275         * textmodes/dns-mode.el (auto-mode-alist):
11276         * progmodes/python.el (interpreter-mode-alist):
11277         * progmodes/etags.el (tags-compression-info-list):
11278         * progmodes/etags.el (tags-file-name):
11279         * net/browse-url.el (browse-url-galeon-program)
11280         (browse-url-firefox-program):
11281         * mail/sendmail.el (mail-signature-file)
11282         (mail-citation-prefix-regexp):
11283         * international/mule-conf.el (eight-bit):
11284         * international/latexenc.el (latex-inputenc-coding-alist):
11285         * international/fontset.el (x-pixel-size-width-font-regexp):
11286         * emacs-lisp/warnings.el (warning-type-format):
11287         * emacs-lisp/trace.el (trace-buffer):
11288         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
11289         (emacs-lisp-mode-map):
11290         * calendar/holidays.el (holiday-solar-holidays)
11291         (holiday-bahai-holidays, holiday-islamic-holidays)
11292         (holiday-christian-holidays, holiday-hebrew-holidays)
11293         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
11294         (hebrew-holidays-1, holiday-oriental-holidays)
11295         (holiday-general-holidays):
11296         * x-dnd.el (x-dnd-known-types):
11297         * tool-bar.el (tool-bar):
11298         * startup.el (site-run-file):
11299         * shell.el (shell-dumb-shell-regexp):
11300         * rfn-eshadow.el (file-name-shadow-tty-properties)
11301         (file-name-shadow-properties):
11302         * paths.el (remote-shell-program, news-directory):
11303         * mouse.el ([C-down-mouse-3]):
11304         * menu-bar.el (menu-bar-tools-menu):
11305         * jka-cmpr-hook.el (jka-compr-load-suffixes)
11306         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
11307         (jka-compr-compression-info-list):
11308         * isearch.el (search-whitespace-regexp):
11309         * image-file.el (image-file-name-extensions):
11310         * find-dired.el (find-ls-option):
11311         * files.el (directory-listing-before-filename-regexp)
11312         (directory-free-space-args, insert-directory-program)
11313         (list-directory-brief-switches, magic-fallback-mode-alist)
11314         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
11315         (automount-dir-prefix):
11316         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
11317         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
11318         (face-font-registry-alternatives, face-font-registry-alternatives)
11319         (face-font-family-alternatives):
11320         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
11321         (facemenu-foreground-menu, facemenu-face-menu):
11322         * epa-hook.el (epa-file-name-regexp):
11323         * dnd.el (dnd-protocol-alist):
11324         * textmodes/rst.el (auto-mode-alist):
11325         * button.el (default-button): Purecopy strings.
11327 2009-11-06  Glenn Morris  <rgm@gnu.org>
11329         * Makefile.in (ELCFILES): Update.
11331 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11333         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
11334         * emacs-lisp/levents.el: Move to obsolete/levents.el.
11336         * nxml/xsd-regexp.el (xsdre-gen-categories):
11337         * nxml/xmltok.el (xmltok-parse-entity):
11338         * nxml/rng-parse.el (rng-parse-validate-file):
11339         * nxml/rng-maint.el (rng-format-manual)
11340         (rng-manual-output-force-new-line):
11341         * nxml/rng-loc.el (rng-save-schema-location-1):
11342         * nxml/rng-cmpct.el (rng-c-parse-file):
11343         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
11344         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
11346 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
11348         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
11349         Remove extra save-excursions and make-variable-buffer-local's.
11350         Suggested by Stefan Monnier.
11352         (verilog-getopt-file, verilog-module-inside-filename-p)
11353         (verilog-set-define): Merge GNU 1.35 and repair changes from
11354         switching to using with-current-buffer.
11356         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
11357         being treated as a number and confusing AUTORESET.
11358         Reported by Dan Dever.
11360         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
11361         Add verilog-auto-ignore-concat to fix backward compatibility with
11362         older verilog-modes.  Reported by Dan Katz.
11364         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
11365         containing closing anchors "...$".
11367         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
11368         Reported by Wade Smith.
11370         (verilog-batch-execute-func): Comment on function usage.
11372 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
11374         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
11375         for labels.
11377         (verilog-label-re, verilog-calc-1): Support proper indent of named
11378         asserts.
11380         (verilog-backward-token, verilog-basic-complete-re)
11381         (verilog-beg-of-statement, verilog-indent-re): Support proper
11382         indent of the assert statement at the beginning of a block of text.
11384         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
11385         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
11386         tokens as begins.
11388 2009-11-05  Glenn Morris  <rgm@gnu.org>
11390         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
11391         Emacs 19.  (Bug#1531)
11392         (byte-compile-fix-header): Update for the above change.
11393         Drop test for epoch::version.
11395         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
11396         * cus-dep.el (custom-make-dependencies):
11397         * finder.el (finder-compile-keywords):
11398         Use autoload-rubric's feature argument.
11400         * calendar/diary-lib.el (top-level): Make load behave more like require.
11402         * vc-git.el (vc-git-stash-map): Move definition before use.
11404 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
11406         * custom.el (custom-declare-group): Purecopy standard-value.
11407         (custom-declare-group): Purecopy custom-prefix.
11409         * international/mule.el (load-with-code-conversion):
11410         Call do-after-load-evaluation unconditionally.
11412         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
11414 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11416         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
11418 2009-11-04  Glenn Morris  <rgm@gnu.org>
11420         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
11421         (byte-compile-compatibility): Remove option.
11422         (byte-compile-close-variables, byte-compile-fix-header)
11423         (byte-compile-insert-header, byte-compile-output-docform)
11424         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
11425         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
11426         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
11427         (byte-compile-insert, byte-compile-defun):
11428         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
11429         (byte-defop-compiler19): Remove.
11430         Without byte-compile-compatibility, the 'emacs19-opcode property is not
11431         used by anything.  Replace all calls with byte-defop-compiler.
11433 2009-11-04  Juri Linkov  <juri@jurta.org>
11435         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
11436         (menu-bar-options-menu): Don't quote the `prop' arg of
11437         `menu-bar-make-mm-toggle'.
11439 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
11441         * calendar/calendar.el (cal-loaddefs):
11442         * calendar/diary-lib.el (diary-loaddefs):
11443         * calendar/holidays.el (hol-loaddefs):
11444         * eshell/esh-module.el (esh-groups): Load rather than require.
11446 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11448         * calendar/todo-mode.el (todo-add-category): Don't hardcode
11449         point-min==1.
11450         (todo-top-priorities): Only display-buffer when called interactively.
11451         (todo-item-start): Don't save excursion point.
11452         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
11453         (todo-insert-item-here, todo-file-item, todo-remove-item):
11454         Adjust uses of todo-item-start and todo-item-end.
11456         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
11457         (autoload-rubric): Don't use any more.
11459         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
11460         and only put a prop if it is non-nil.
11462 2009-11-03  Juri Linkov  <juri@jurta.org>
11464         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
11465         (menu-bar-options-menu): Fix list quoting (Bug#4429).
11467         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
11468         and "Menu" to make top-level menu item visually one unit (like
11469         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
11470         multi-word menu items).  Fix :help string for quit-window.
11472 2009-11-03  Glenn Morris  <rgm@gnu.org>
11474         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
11475         (byte-compile-file-form-define-abbrev-table)
11476         (byte-compile-file-form-custom-declare-variable)
11477         (byte-compile-variable-ref, byte-compile-defvar):
11478         Whether or not a warning is enabled should only affect whether we issue
11479         the warning, not whether or not we collect the relevant data.
11480         Eg warnings can be turned on and off throughout the course of a file.
11482         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
11483         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
11485 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11487         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
11488         * play/mpuz.el (mpuz-create-buffer):
11489         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
11490         (lm-print-y,s,noise, lm-print-w0, lm-init):
11491         * play/gomoku.el (gomoku-prompt-for-move):
11492         * play/fortune.el (fortune-in-buffer):
11493         * play/dissociate.el (dissociated-press):
11494         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
11495         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
11496         * mail/supercite.el (sc-eref-show):
11497         * mail/smtpmail.el (smtpmail-send-it):
11498         * mail/rmailsum.el (rmail-summary-next-labeled-message)
11499         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
11500         (rmail-summary-undelete-many, rmail-summary-rmail-update)
11501         (rmail-summary-goto-msg, rmail-summary-expunge)
11502         (rmail-summary-get-new-mail, rmail-summary-search-backward)
11503         (rmail-summary-add-label, rmail-summary-output-menu)
11504         (rmail-summary-output-body):
11505         * mail/rfc822.el (rfc822-addresses):
11506         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
11507         * mail/mailpost.el (post-mail-send-it):
11508         * mail/hashcash.el (hashcash-generate-payment):
11509         * mail/feedmail.el (feedmail-run-the-queue)
11510         (feedmail-queue-send-edit-prompt-help-first)
11511         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
11512         (feedmail-deduce-address-list):
11513         * eshell/esh-ext.el (eshell-remote-command):
11514         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
11515         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
11516         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
11517         (viper-save-string-in-file, viper-valid-marker):
11518         * emulation/viper-keym.el (viper-toggle-key):
11519         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
11520         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
11521         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
11522         * emulation/viper-cmd.el (viper-exec-form-in-vi)
11523         (viper-exec-form-in-emacs, viper-brac-function):
11524         * emulation/viper.el (viper-delocalize-var):
11525         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
11526         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
11527         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
11528         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
11529         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
11530         * emulation/edt.el (edt-electric-helpify):
11531         * emulation/cua-rect.el (cua--rectangle-aux-replace):
11532         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
11533         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
11534         (cua-indent-to-global-mark-column):
11535         * calendar/diary-lib.el (calendar-mark-1):
11536         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
11537         Use with-current-buffer.
11538         * emulation/viper.el (viper-delocalize-var): Use dolist.
11540 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
11542         * comint.el (comint-replace-by-expanded-history-before-point):
11543         Replace !! with the previous input string literally (Bug#1795).
11545 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
11547         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
11548         to be made up of whitespace.
11550 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
11552         * minibuffer.el (read-file-name): Don't use file dialogs for
11553         remote directories (Bug#99).
11555 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
11557         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
11559 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
11561         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
11562         instead of deleting the window or frame.
11564 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
11566         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
11567         Support face colors.
11569         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
11570         New function.  Support face colors (Bug#1168).
11571         (tex-common-initialization): Use it.
11573         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
11574         mode allows it (Bug#1168).
11576 2009-10-31  Juri Linkov  <juri@jurta.org>
11578         * facemenu.el (list-colors-display): Don't mark buffer as
11579         modified (Bug#3948).
11581 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
11583         * international/mule-diag.el (list-character-sets-1): Minor
11584         message fix (Bug#3526).
11586         * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
11587         face property (Bug#4834).
11588         (etags-list-tags, etags-tags-apropos-additional)
11589         (etags-tags-apropos, tags-select-tags-table): Add follow-link
11590         property.
11592         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
11593         items.
11595 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11597         * textmodes/two-column.el (2C-split):
11598         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
11599         * textmodes/tex-mode.el (tex-set-buffer-directory):
11600         * textmodes/spell.el (spell-region, spell-string):
11601         * textmodes/reftex.el (reftex-erase-buffer):
11602         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
11603         * textmodes/reftex-toc.el (reftex-toc-promote-action):
11604         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
11605         (reftex-select-item):
11606         * textmodes/reftex-ref.el (reftex-label-info-update)
11607         (reftex-offer-label-menu):
11608         * textmodes/reftex-index.el (reftex-index-change-entry)
11609         (reftex-index-phrases-info):
11610         * textmodes/reftex-global.el (reftex-create-tags-file)
11611         (reftex-save-all-document-buffers, reftex-ensure-write-access):
11612         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
11613         (reftex-view-crossref-from-bibtex):
11614         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
11615         (reftex-extract-bib-entries-from-thebibliography)
11616         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
11617         * textmodes/refbib.el (r2b-capitalize-title):
11618         (r2b-convert-buffer, r2b-help):
11619         * textmodes/page-ext.el (pages-directory)
11620         (pages-directory-goto-with-mouse):
11621         * textmodes/bibtex.el (bibtex-validate-globally):
11622         * textmodes/bib-mode.el (bib-capitalize-title):
11623         * textmodes/artist.el (artist-clear-buffer, artist-system):
11624         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
11625         (local-set-scheme-interaction-buffer, xscheme-process-filter)
11626         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
11627         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
11628         (xscheme-send-control-g-interrupt, xscheme-start-process)
11629         (xscheme-process-sentinel, xscheme-cd):
11630         * progmodes/verilog-mode.el (verilog-read-always-signals)
11631         (verilog-set-define, verilog-getopt-file)
11632         (verilog-module-inside-filename-p):
11633         * progmodes/sh-script.el:
11634         * progmodes/python.el (python-pdbtrack-get-source-buffer)
11635         (python-pdbtrack-grub-for-buffer, python-execute-file):
11636         * progmodes/octave-inf.el (inferior-octave):
11637         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11638         (idlwave-shell-compile-helper-routines, idlwave-set-local)
11639         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
11640         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
11641         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
11642         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
11643         (idlwave-shell-filter, idlwave-shell-examine-highlight)
11644         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
11645         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
11646         (idlwave-shell-examine-display, idlwave-shell-run-region)
11647         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
11648         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
11649         * progmodes/idlw-help.el (idlwave-help-get-special-help)
11650         (idlwave-help-get-help-buffer):
11651         * progmodes/gud.el (gud-basic-call, gud-find-class)
11652         (gud-tooltip-activate-mouse-motions-if-enabled):
11653         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
11654         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
11655         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
11656         (ebrowse-tags-next-file):
11657         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
11658         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
11659         (ebnf-eps-finish-and-write):
11660         * progmodes/cpp.el (cpp-edit-save):
11661         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
11662         * progmodes/cc-defs.el (c-emacs-features):
11663         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
11664         (antlr-directory-dependencies):
11665         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
11666         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
11667         (ada-find-any-references, ada-make-filename-from-adaname)
11668         (ada-make-body-gnatstub):
11669         * obsolete/rnews.el (news-list-news-groups):
11670         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
11671         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
11672         * net/rcirc.el (rcirc-debug):
11673         * net/newst-treeview.el (newsticker--treeview-list-add-item)
11674         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
11675         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
11676         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
11677         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
11678         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
11679         (newsticker--treeview-list-clear-highlight)
11680         (newsticker--treeview-list-update-highlight)
11681         (newsticker--treeview-list-highlight-start)
11682         (newsticker--treeview-tree-update-highlight)
11683         (newsticker--treeview-get-selected-item)
11684         (newsticker-treeview-mark-list-items-old)
11685         (newsticker--treeview-set-current-node):
11686         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
11687         * net/newst-backend.el (newsticker--get-news-by-funcall)
11688         (newsticker--get-news-by-wget, newsticker--image-get)
11689         (newsticker--image-sentinel):
11690         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
11691         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
11692         (eudc-ph-close-session):
11693         * net/eudc.el (eudc-save-options):
11694         * language/thai-word.el (thai-update-word-table):
11695         * language/japan-util.el (japanese-string-conversion):
11696         * international/titdic-cnv.el (tsang-quick-converter)
11697         (ziranma-converter, ctlau-converter):
11698         * international/mule-cmds.el (describe-language-environment):
11699         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
11700         (skkdic-convert-postfix, skkdic-convert-prefix):
11701         (skkdic-convert-okuri-nasi, skkdic-convert):
11702         * emacs-lisp/re-builder.el (reb-update-overlays):
11703         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
11704         * emacs-lisp/gulp.el (gulp-send-requests):
11705         * emacs-lisp/find-gc.el (trace-call-tree):
11706         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
11707         (eieio-describe-generic):
11708         * emacs-lisp/eieio-base.el (eieio-persistent-read):
11709         * emacs-lisp/edebug.el (edebug-outside-excursion):
11710         * emacs-lisp/debug.el (debugger-make-xrefs):
11711         * emacs-lisp/cust-print.el (custom-prin1-to-string):
11712         * emacs-lisp/chart.el (chart-new-buffer):
11713         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
11714         Use with-current-buffer.
11715         * textmodes/artist.el (artist-system): Don't call
11716         copy-sequence on a fresh string.
11717         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
11719 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
11721         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
11722         is no item to edit.  (Bug#4820)
11723         (todo-top-priorities): Restore point and restore narrowing in Todo
11724         buffer.  (Bug#4820)
11726 2009-10-31  Glenn Morris  <rgm@gnu.org>
11728         * net/ange-ftp.el (top-level): Don't require dired when compiling.
11729         (comint-last-output-start, comint-last-input-start)
11730         (comint-last-input-end): Don't defvar when compiling.
11731         (ange-ftp-process-file): Use bound-and-true-p.
11733         * pcmpl-rpm.el (top-level): Move provide statement to end.
11734         (pcmpl-rpm): Remove unused custom group.
11736         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
11738         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
11740         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
11741         (byte-compile-warnings): Add `constants' as an option.
11742         (byte-compile-callargs-warn, byte-compile-arglist-warn)
11743         (display-call-tree): Update for byte-compile-fdefinition possibly
11744         returning `(macro lambda ...)'.  (Bug#4778)
11745         (byte-compile-variable-ref, byte-compile-setq-default):
11746         Respect `constants' member of byte-compile-warnings.
11748 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
11750         * vc-bzr.el (vc-bzr-revision-keywords): New var.
11751         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
11752         to "submit:".
11754 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
11756         * textmodes/ispell.el (ispell-skip-region-alist):
11757         * international/mule-conf.el (eight-bit):
11758         * international/fontset.el (font-encoding-alist):
11759         * startup.el (pure-space-overflow-message):
11760         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
11761         * paths.el (gnus-nntp-service, rmail-spool-directory)
11762         (term-file-prefix):
11763         * files.el (save-some-buffers-action-alist):
11764         * cmuscheme.el (same-window-buffer-names):
11765         * ielm.el (same-window-buffer-names):
11766         * shell.el (same-window-buffer-names):
11767         * mail/sendmail.el (same-window-buffer-names):
11768         * progmodes/inf-lisp.el (same-window-buffer-names):
11769         * bindings.el (mode-line-client)
11770         (mode-line-column-line-number-mode-map):
11771         * language/tibetan.el (tibetan-precomposition-rule-regexp)
11772         (tibetan-precomposed-regexp): Purecopy string arguments.
11774 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11776         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
11777         (calcDigit-nondigit):
11778         * calc/calc-yank.el (calc-copy-to-buffer):
11779         * calc/calc-units.el (calc-invalidate-units-table):
11780         * calc/calc-trail.el (calc-trail-yank):
11781         * calc/calc-store.el (calc-insert-variables):
11782         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
11783         * calc/calc-prog.el (calc-read-parse-table):
11784         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
11785         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
11786         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
11787         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
11788         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
11789         (calc-graph-name, calc-graph-find-command, calc-graph-view)
11790         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
11791         * calc/calc-ext.el (calc-realign):
11792         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
11793         (calc-embedded-finish-edit, calc-embedded-make-info)
11794         (calc-embedded-finish-command, calc-embedded-stack-change):
11795         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
11797         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
11798         shell-dynamic-complete-filename in preference to
11799         comint-dynamic-complete-filename.
11801         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
11802         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
11803         Don't consider whether the display supports colors.
11804         (bookmark-import-new-list): Use dolist.
11805         (bookmark-bmenu-mode-map): Move initialization into declaration.
11806         (bookmark-bmenu-list): Use dolist, simplify.
11807         (bookmark-show-all-annotations): Use save-selected-window and dolist.
11808         (menu-bar-final-items): Use push.
11810 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
11812         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
11813         it works on remote files.
11814         (vc-hg-diff): Don't pass any `--cwd' argument.
11816 2009-10-27  Kevin Ryde  <user42@zip.com.au>
11818         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
11819         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
11820         (Further to Bug#3921).
11822 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
11824         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
11825         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
11826         calling `tramp-imap-put-file'.  Add file size to the call.
11827         (tramp-imap-get-file-entries): Compute also user name, file size,
11828         and date.
11829         (tramp-imap-handle-insert-directory): Insert uid and gid.
11830         (tramp-imap-handle-file-attributes): Transform uid and gid
11831         according to `id-format'.
11832         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
11833         size in header X-Size.
11835 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
11837         * simple.el (transpose-subr): Give clearer error when the mark
11838         is not set.  (Bug#4807)
11840 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
11842         * net/tramp.el (tramp-perl-file-truename): New defconst.
11843         Perl code contributed by yary <not.com@gmail.com> (tiny change).
11844         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
11845         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
11846         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
11848         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
11849         Ignore `dired-call-process'.
11850         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
11852 2009-10-26  Julian Scheid  <julians37@gmail.com>
11854         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
11855         (tramp-get-remote-readlink): New defun.
11856         (tramp-handle-file-truename): Use it.
11857         (tramp-handle-file-exists-p): Check file-attributes cache, assume
11858         file exists if cache value present.
11859         (tramp-check-cached-permissions): New defun.
11860         (tramp-handle-file-readable-p): Use it.
11861         (tramp-handle-file-writable-p): Likewise.
11862         (tramp-handle-file-executable-p): Likewise.
11863         (tramp-handle-file-name-all-completions): Try using Perl to get
11864         partial completions.  When perl not available, combine `cd' and
11865         `ls' into single remote operation and use shell expansion to get
11866         partial remote directory contents.  Set `file-exists-p' cache for
11867         directory and any files returned by ls.  Change cache handling to
11868         support partial directory contents.  Use error message emitted by
11869         remote `cd' or Perl code for local tramp-error.
11870         (tramp-do-copy-or-rename-file-directly): Avoid separate
11871         tramp-send-command-and-check call.
11872         (tramp-handle-process-file): Merge three remote ops into one.
11873         Do not flush all caches when `process-file-side-effects' is set.
11874         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
11875         file-attributes shows uid/gid to be set already.
11877 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
11879         * textmodes/tex-mode.el (tex-dvi-view-command)
11880         (tex-show-queue-command, tex-open-quote):
11881         * progmodes/ruby-mode.el (auto-mode-alist)
11882         (interpreter-mode-alist): Purecopy strings.
11884         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
11886         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
11887         string for the hook, keymap and abbrev table.
11889         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
11891         * x-dnd.el (x-dnd-xdnd-to-action):
11892         * startup.el (fancy-startup-text, fancy-about-text): Change to
11893         defconst from defvar.
11895         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
11897         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
11898         Purecopy initialization strings.
11900         * mail/sendmail.el (mail-header-separator)
11901         (mail-personal-alias-file):
11902         * mail/rmail.el (rmail-default-dont-reply-to-names)
11903         (rmail-ignored-headers, rmail-retry-ignored-headers)
11904         (rmail-highlighted-headers, rmail-secondary-file-directory)
11905         (rmail-secondary-file-regexp):
11906         * files.el (null-device, file-name-invalid-regexp)
11907         (locate-dominating-stop-dir-regexp)
11908         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
11909         (interpreter-mode-alist): Use mapcar instead of mapc.
11911         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
11913         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
11914         (completion-ignored-extensions):
11915         (debug-ignored-errors): Purecopy strings.
11917 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11919         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
11920         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
11921         (pcomplete--here): Use push.
11923         * subr.el (all-completions): Declare the 4th arg obsolete.
11925 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11927         * pcomplete.el (pcomplete-unquote-argument-function): New var.
11928         (pcomplete-unquote-argument): New function.
11929         (pcomplete--common-suffix): Always pay attention to case.
11930         (pcomplete--table-subvert): Quote and unquote the text.
11931         (pcomplete--common-quoted-suffix): New function.
11932         (pcomplete-std-complete): Use it and pcomplete-begin.
11934         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
11935         we're inside a dedicated or minibuffer window.
11937 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
11939         * bookmark.el: Update documentation, especially documentation
11940         of `bookmark-alist' and of the bookmark file format.
11941         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
11943 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
11945         * mail/emacsbug.el (report-emacs-bug): Clarify that the
11946         keybindings apply to the mail buffer (Bug#4003).  Shrink help
11947         window to buffer.
11949         * whitespace.el (whitespace-mode, whitespace-newline-mode)
11950         (global-whitespace-mode, global-whitespace-newline-mode)
11951         (whitespace-toggle-options, global-whitespace-toggle-options):
11952         Doc fix (Bug#3660).
11954         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
11955         of xmltok-start before the end tag was inserted (Bug#2840).
11957         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
11958         patterns that are preceded by an open-paren (Bug#1320).
11960 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
11962         * files.el (delete-directory): Delete symlinks to directories with
11963         delete-file (Bug#4739).
11965 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
11967         * vc.el (vc-backend-for-registration): Rename from
11968         vc-get-backend-for-registration.  Update callers.
11970         * international/mule-cmds.el (set-language-info-alist):
11971         Purecopy lang-env.
11972         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
11973         (charset): Purecopy the name.
11974         (define-char-code-property): Purecopy string arguments.
11976         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11977         Purecopy string arguments.
11979         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
11980         * ediff-hook.el (menu-bar-ediff-menu):
11981         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
11982         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
11984 2009-10-24  Glenn Morris  <rgm@gnu.org>
11986         * comint.el (comint-dynamic-list-completions):
11987         * term.el (term-dynamic-list-completions): Use choose-completion rather
11988         than obsolete alias mouse-choose-completion.
11990         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
11991         file-cache-choose-completion.
11992         (file-cache-choose-completion): Handle an optional event argument.
11993         (file-cache-mouse-choose-completion): Make it an obsolete alias.
11995         * progmodes/octave-mod.el (octave-complete-symbol):
11996         Use choose-completion if mouse-choose-completion is ever removed.
11998         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
11999         use.
12001         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
12002         compiler.
12004         * vc-hooks.el (vc-responsible-backend): Fix declaration.
12006 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12008         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
12009         Ignore `pred' now that we receive one.
12010         Handle test-completion specially.
12012 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
12014         * vc.el (vc-responsible-backend): Throw an error if not backend is
12015         found.  Remove the REGISTER argument.  Move the code dealing with
12016         REGISTER ...
12017         (vc-get-backend-for-registration): ... here.  New function.
12018         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
12019         of vc-responsible-backend, pass the file name instead of the
12020         directory name.
12022 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12024         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
12025         New funs.
12026         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
12027         (pcomplete-comint-setup): Don't modify a global var via
12028         accidental side-effects.
12029         (pcomplete-shell-setup): Adjust call accordingly.
12030         (pcomplete-parse-comint-arguments): Use push.
12032 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
12034         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
12035         Allow uncapitalized info node names (Bug#3921).
12037         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
12038         to the DEBUG file (Bug#3781).
12040 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
12042         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
12043         dictionary entry (Bug#4579).
12045 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
12047         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
12048         from `rfn-eshadow-update-overlay-hook' when unloading.
12049         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
12050         "rsyncc".  Adjust doc string.
12051         (tramp-temp-buffer-file-name): New buffer-local defvar.
12052         (tramp-handle-insert-file-contents, tramp-handle-write-region):
12053         Keep temporary file when indicated by method ("rsync" and
12054         "rsyncc").
12055         (tramp-handle-write-region): Handle APPEND.
12056         (tramp-delete-temp-file-function): New defun.  Added to
12057         `kill-buffer-hook'.
12059 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
12061         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
12063 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
12065         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
12066         (color-name-rgb-alist, tty-standard-colors)
12067         (tty-color-mode-alist): Change to defconst.
12069         * simple.el (mark-inactive): Purecopy message.
12071         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
12072         (global-map, yank-menu):
12073         * textmodes/ispell.el (ispell-menu-map):
12074         * net/eudc.el (eudc-tools-menu):
12075         * international/mule-cmds.el (describe-language-environment-map)
12076         (setup-language-environment-map, set-coding-system-map)
12077         (mule-menu-keymap):
12078         * vc-hooks.el (vc-menu-entry, vc-menu-map):
12079         * replace.el (occur-mode-map):
12080         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
12082 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
12084         * calc/calc.el (math-read-number, math-read-number-simple): Use
12085         `save-match-data'.
12087 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12089         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
12090         rather than fiddling with global-map bindings, since it should only
12091         affect per-terminal settings.
12092         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
12094         * minibuffer.el (completion-table-with-terminator): Allow to specify
12095         the terminator-regexp.
12097         * simple.el (switch-to-completions): Look for *Completions* in other
12098         frames as well.
12100         * pcomplete.el: Allow the use of completion-tables.
12101         (pcomplete-std-complete): New command.
12102         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
12103         (pcomplete--here): Use a function for `form' rather than an expression,
12104         so it can be byte-compiled.
12105         (pcomplete-here, pcomplete-here*): Adjust accordingly.
12106         Add edebug declaration.
12107         (pcomplete-show-completions): Remove unused var `curbuf'.
12108         (pcomplete-do-complete, pcomplete-stub):
12109         Don't assume `completions' is a list of strings any more.
12111 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
12113         * find-dired.el (find-name-arg): Fix typo in docstring.
12115 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12117         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
12118         (pcmpl-linux-fs-types): Same, and update to new modules layout.
12120         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
12121         pcomplete-entries.
12123         * comint.el (comint-read-input-ring, comint-write-input-ring)
12124         (comint-substitute-in-file-name)
12125         (comint-dynamic-complete-as-filename)
12126         (comint-dynamic-simple-complete)
12127         (comint-dynamic-list-filename-completions)
12128         (comint-dynamic-list-completions)
12129         (comint-redirect-results-list-from-process): Minor simplifications.
12131 2009-10-21  Kevin Ryde  <user42@zip.com.au>
12133         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
12134         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
12135         the first form.  And insert a blank line after ";;; Code" since
12136         that's usual style.  (Bug#4612)
12138         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
12140 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12142         * minibuffer.el (completion-table-with-terminator): Properly implement
12143         boundaries, in case `terminator' appears in the suffix.
12144         (completion--embedded-envvar-table): Don't return boundaries if
12145         there's no valid completion.  Simplify.
12146         (completion-file-name-table): New completion table extracted from
12147         completion--file-name-table.
12148         (completion--file-name-table): Use it.
12149         (read-file-name-predicate): Declare obsolete.
12150         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
12151         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
12152         completion-file-name-table, and use the `pred' argument.
12153         * files.el (locate-file-completion-table): Use the `pred' arg rather
12154         than read-file-name-predicate.
12155         (abbreviate-file-name): Use \` rather than ^ for BOS.
12157 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
12159         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
12160         vc-responsible-backend to register, it causes problems.
12162 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12164         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
12166 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
12168         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
12169         (tramp-smb-handle-file-attributes): Use it.
12170         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
12171         (tramp-smb-handle-insert-directory): Use `mapc' rather than
12172         `mapcar'.  Use `tramp-smb-get-stat-capability'.
12173         Add `dired-filename' text properties.
12174         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
12175         (tramp-smb-maybe-open-connection): Simplify check for smbclient
12176         version.
12178 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12180         * subr.el (read-key-delay): Reduce to 0.01.
12181         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
12182         (bug#4751).
12184 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12186         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
12188         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
12189         (Info-menu): Remove unused vars `last' and `completions'.
12190         (Info-index-nodes): Remove unused var `node'.
12192         * info.el (Info-complete-menu-item): Use complete-with-action.
12194 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
12196         Make vc-annotate work through copies and renames.
12197         * vc-annotate.el (vc-annotate-extract-revision-at-line):
12198         Return the file name too.
12199         (vc-annotate-revision-at-line)
12200         (vc-annotate-find-revision-at-line)
12201         (vc-annotate-revision-previous-to-line)
12202         (vc-annotate-show-log-revision-at-line): Update to get the file
12203         name from vc-annotate-extract-revision-at-line.
12204         (vc-annotate-show-diff-revision-at-line-internal): Change the
12205         argument to mean whether to show a file diff or not.  Get the file
12206         name from vc-annotate-extract-revision-at-line.
12207         (vc-annotate-show-diff-revision-at-line):
12208         Update vc-annotate-show-diff-revision-at-line call.
12209         (vc-annotate-warp-revision): Add an optional file argument.
12211         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
12212         (vc-git-annotate-extract-revision-at-line): Also return the file
12213         name if found.
12215         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
12216         command.  Remove unused code.
12217         (vc-hg-annotate-re): Update to match --follow output.
12218         (vc-hg-annotate-extract-revision-at-line): Also return the file
12219         name if found.
12221         * vc.el: Update annotate-extract-revision-at-line documentation.
12223 2009-10-18  Kevin Ryde  <user42@zip.com.au>
12225         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
12226         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
12228         * net/browse-url.el (browse-url): Identify alist with "consp and
12229         not functionp" and let all other things go down the `apply' leg,
12230         as suggested by Stefan.  (Further to bug#4531.)
12232 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
12234         * minibuffer.el (read-file-name): Check for repeat before putting
12235         a default argument in file-name-history (Bug#4657).
12237         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
12238         read syntax (Bug#4737).
12240         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
12242 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
12244         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
12245         (html-tag-alist, html-tag-help): Add descriptions for undocumented
12246         entries and make note of obsolete tags.
12248 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12250         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
12252 2009-10-18  Glenn Morris  <rgm@gnu.org>
12254         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
12255         grep, so that binary files (eg international/uni-bidi.el) can match.
12256         Remove test for "UnicodeData" files, since it is hopefully unnecessary
12257         now, and in any case the file header format has changed.
12259 2009-10-17  Glenn Morris  <rgm@gnu.org>
12261         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
12262         (flyspell-get-word, flyspell-large-region)
12263         (flyspell-auto-correct-previous-word): Doc/error message fixes.
12265 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
12267         * Makefile.in (ELCFILES): Add ede/shell.
12269 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
12271         * term/common-win.el (x-colors): Purecopy it.
12273 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12275         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
12276         permissive for when the buffer is empty.
12277         (tar-header-block-tokenize): Decode the username and groupname.
12278         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
12280 2009-10-17  Eric Ludlam  <zappo@gnu.org>
12282         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
12283         contains multibyte characters, choose first applicable coding
12284         system automatically.
12286 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12288         * international/mule-cmds.el (select-safe-coding-system): If the file
12289         has a coding cookie, use it regardless of any other setting (bug#4712).
12291 2009-10-17  Glenn Morris  <rgm@gnu.org>
12293         * foldout.el (foldout-mouse-swallow-events):
12294         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
12296         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
12297         (dired-keep-marker-copy, dired-keep-marker-hardlink)
12298         (dired-keep-marker-symlink, dired-dwim-target)
12299         (dired-copy-preserve-time): Do not autoload these defcustoms.
12301         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
12302         messages from messing up the file coding.  (Bug#4623)
12304 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
12306         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
12307         if no match is found for the current dictionary.  (Bug#4578)
12309         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
12310         optional, since that is how it is documented, and this is often called
12311         with a nil argument.  (Bug#4577)
12312         (flyspell-external-point-words, flyspell-auto-correct-word)
12313         (flyspell-correct-word-before-point, flyspell-word-search-forward)
12314         (flyspell-word-search-backward): Remove nil argument in calls to
12315         flyspell-get-word, since it is not needed now.
12317 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
12319         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
12321 2009-10-16  Glenn Morris  <rgm@gnu.org>
12323         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
12325 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
12327         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
12328         (ange-ftp-file-size): New function.
12329         (ange-ftp-file-attributes): Use it.
12331 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
12333         * net/tramp-smb.el (tramp-smb-version): New defvar.
12334         (tramp-smb-maybe-open-connection): Use it, in order to avoid
12335         repeated checks.
12337 2009-10-16  Glenn Morris  <rgm@gnu.org>
12339         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
12340         Maybe copy some custom properties from old to new name.  (Bug#4706)
12342 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
12344         * subr.el (error, sit-for, start-process-shell-command)
12345         (start-file-process-shell-command): Set the calling convention
12346         after the function definition.
12348 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12350         * subr.el (error, sit-for, start-process-shell-command)
12351         (start-file-process-shell-command): Use the new
12352         set-advertised-calling-convention feature.
12354 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
12356         * international/ucs-normalize.el (ucs-normalize-version):
12357         Change to 1.2.
12358         (check-range): Adjust for Unicode 5.2.
12360 2009-10-15  Juri Linkov  <juri@jurta.org>
12362         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
12363         to the `menu-item' format.
12365 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
12367         * net/tramp.el (tramp-replace-environment-variables): Do not fail
12368         if the environment variable does not exist.
12370         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
12371         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
12372         parameter.
12373         (tramp-smb-handle-add-name-to-file)
12374         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
12375         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
12376         (tramp-smb-handle-file-attributes)
12377         (tramp-smb-do-file-attributes-with-stat)
12378         (tramp-smb-handle-file-local-copy)
12379         (tramp-smb-handle-insert-directory)
12380         (tramp-smb-handle-make-directory)
12381         (tramp-smb-handle-make-directory-internal)
12382         (tramp-smb-handle-make-symbolic-link)
12383         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
12384         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
12385         (tramp-smb-maybe-open-connection): Apply the changed parameters.
12386         (tramp-smb-read-file-entry): Read Disk names in compressed format.
12387         Handle long file names.
12388         (tramp-smb-get-cifs-capabilities): Check, whether the connection
12389         process is running.
12390         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
12391         Read share names with "-g" option.
12393 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
12395         * net/rcirc.el (rcirc-view-log-file): New command.
12396         (rcirc-track-minor-mode-map): Remove C-c ` binding.
12397         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
12398         specified.
12400 2009-10-15  Glenn Morris  <rgm@gnu.org>
12402         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
12403         from the second command-line argument.
12404         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
12405         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
12406         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
12407         w32-batch-update-autoloads.
12408         * emacs-lisp/autoload.el (autoload-make-program): New variable.
12409         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
12411         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
12412         the headers cannot be located.  Simplify, subtracting superflous
12413         save-excursions.
12415 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12417         Replace completion-base-size by completion-base-position to fix bugs
12418         such as (bug#4699).
12419         * simple.el (completion-base-position): New var.
12420         (completion-base-size): Mark as obsolete.
12421         (choose-completion): Make it work for mouse events as well.
12422         Pass the new base-position to choose-completion-string.
12423         (choose-completion-guess-base-position): New function, extracted from
12424         choose-completion-delete-max-match.
12425         (choose-completion-delete-max-match): Use it.  Make obsolete.
12426         (choose-completion-string): Use the new base-position info.
12427         (completion-root-regexp): Delete.
12428         (completion-setup-function): Preserve completion-base-position.
12429         Eliminate obsolete base-size manipulation.
12430         * minibuffer.el (display-completion-list): Don't mess with base-size.
12431         (minibuffer-completion-help): Set completion-base-position instead.
12432         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
12433         choose-completion.
12434         * textmodes/bibtex.el (bibtex-complete):
12435         * emacs-lisp/crm.el (crm--choose-completion-string):
12436         Adjust to new calling convention.
12437         * complete.el (partial-completion-mode): Use minibufferp to avoid
12438         bumping into incompatible change to choose-completion-string-functions.
12439         * ido.el (ido-choose-completion-string): Make its calling convention
12440         more permissive.
12441         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
12442         base-size manipulation.
12443         (comint-dynamic-list-input-ring): Use dotimes and push.
12444         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
12445         fundamental-mode.  Use `or'.
12447 2009-10-14  Juri Linkov  <juri@jurta.org>
12449         * misearch.el (multi-isearch-next-buffer-from-list)
12450         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
12452 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12454         * Makefile.in (compile-onefile): Load `bytecomp' rather than
12455         `bytecomp.el'.
12457         * minibuffer.el (completion-pcm--merge-completions): Make sure the
12458         string we return is all made up of text from the completions rather
12459         than part from the completions and part from the input (bug#4219).
12461         * ido.el (ido-everywhere): Use define-minor-mode.
12463         * buff-menu.el (list-buffers, ctl-x-map):
12464         Mark the entry points with ;;;###autoload cookies.
12466 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
12468         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
12469         correctly in the detached head case.
12470         (vc-git-print-log): Remove unused binding.
12472         * vc.el (vc-responsible-backend): When a directory is passed for
12473         for registration create a VC repository if no backend is
12474         responsible for the directory argument.
12475         (vc-deduce-fileset): Tell vc-responsible-backend to register.
12477         * vc.el: Move comments about RCS and SCCS ...
12478         * vc-rcs.el:
12479         * vc-sccs.el: ... here, respectively.
12481 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12483         * minibuffer.el (completion--file-name-table): Return nil if there's
12484         no file completion, even if substitute-in-file-name changed
12485         the string (bug#4708).
12487 2009-10-13  Juri Linkov  <juri@jurta.org>
12489         * files-x.el (read-file-local-variable-value): Don't filter out
12490         minor modes from mode name completion (bug#4664).
12492 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
12494         * international/mule-cmds.el (ucs-names): Remove exclusion of
12495         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
12497 2009-10-13  Kenichi Handa  <handa@m17n.org>
12499         * international/uni-name.el: Regenerated.
12501 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
12503         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
12504         should be automatically buffer-local, but isn't.)
12506 2009-10-12  Sam Steingold  <sds@gnu.org>
12508         * progmodes/compile.el (compilation-next-error-function): Fix the
12509         timestamps if the buffer has been visited before.
12510         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
12511         non-anchored patterns, like the perl one (bug#3928).
12513 2009-10-12  Glenn Morris  <rgm@gnu.org>
12515         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
12516         Let-bind `size'.
12518 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
12520         * proced.el (proced-unload-function): New function.
12522         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
12523         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
12524         Doc fix.
12526         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
12528 2009-10-11  Juri Linkov  <juri@jurta.org>
12530         * files-x.el (read-file-local-variable-value):
12531         Provide default value only for bound variables (bug#4664).
12533 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
12535         * net/tramp.el (tramp-local-host-p): Function shall return nil for
12536         connection methods like smb.
12538         * net/tramp-cache.el (tramp-flush-connection-property): The hash
12539         can be empty.
12541         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
12542         (tramp-smb-file-name-handler-alist): Add handlers for
12543         `add-name-to-file', `make-symbolic-link'.
12544         (tramp-smb-handle-add-name-to-file)
12545         (tramp-smb-do-file-attributes-with-stat)
12546         (tramp-smb-handle-make-symbolic-link)
12547         (tramp-smb-get-cifs-capabilities): New defuns.
12548         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
12549         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
12550         (tramp-smb-handle-file-local-copy)
12551         (tramp-smb-handle-make-directory-internal)
12552         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
12553         The file name syntax depends on cifs capabilities.
12554         (tramp-smb-handle-file-attributes):
12555         Call `tramp-smb-do-file-attributes-with-stat' if possible.
12556         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
12557         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
12559 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
12561         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
12562         (eieio-defclass): Apply deftype handler and setf-method properties
12563         directly.
12564         (eieio-add-new-slot): Avoid union function from cl library.
12565         (eieio--typep): New function.
12566         (eieio-perform-slot-validation): Use it.
12568 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
12570         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
12571         Update documentation to refer to the variables documented in r1.135.
12572         (Bug#4188)
12574 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
12576         * bookmark.el (Info-suffix-list): Remove this unused variable.
12577         (bookmark-current-point): Remove this obsolete variable.
12578         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
12579         Adjust for removal of bookmark-current-point.
12581         (bookmarks-already-loaded, bookmark-current-buffer)
12582         (bookmark-yank-point): Document.  (Bug#4188)
12584 2009-10-10  Glenn Morris  <rgm@gnu.org>
12586         * frame.el (frame-height): Doc fix.
12588         * calendar/calendar.el (calendar-split-width-threshold): New option.
12589         (calendar-basic-setup): Use calendar-split-width-threshold.
12591 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
12593         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
12594         Ideographic Supplement" range (U+1F200..U+1F2FF).
12596 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
12598         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
12599         since the list will have been rebuilt anyway.  (Bug#4349)
12601 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
12603         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
12604         (bookmark-bmenu-execute-deletions): Don't save here, as
12605         bookmark-delete will now do so if necessary.
12606         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
12607         (Bug#4348)
12609 2009-10-09  Glenn Morris  <rgm@gnu.org>
12611         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
12613 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
12615         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
12616         (bookmark-jump-other-window): Just invoke bookmark-jump with new
12617         argument now, so the two function's behaviors will match.  (Bug#3645)
12619 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
12621         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
12622         (tramp-file-name-real-host, tramp-file-name-port):
12623         Apply `save-match-data'.
12625         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
12626         case both directories are remote.
12627         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
12628         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
12630 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
12632         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
12634 2009-10-07  Glenn Morris  <rgm@gnu.org>
12636         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
12637         of concat.
12639 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12641         * files-x.el (read-file-local-variable): Include some
12642         non-user-variables in the completion table (bug#4664).
12644 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
12646         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
12647         message.
12649         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
12650         (tramp-smb-file-name-handler-alist): Add handler for
12651         `copy-directory', `expand-file-name', `set-file-modes'.
12652         (tramp-smb-handle-copy-directory)
12653         (tramp-smb-handle-expand-file-name)
12654         (tramp-smb-handle-set-file-modes): New defuns.
12655         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
12656         (tramp-smb-handle-file-attributes): Simplify check for retrieving
12657         entry.
12658         (tramp-smb-handle-insert-directory): Don't flush the cache.
12659         (tramp-smb-maybe-open-connection): Check for samba client and
12660         server versions.
12662 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
12664         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
12665         to not error out of search for "^lisp=" fails.
12667 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
12669         * makefile.w32-in (WINS_UPDATES): New macro.
12670         (custom-deps, finder-data, autoloads): Use it.
12672 2009-10-07  Glenn Morris  <rgm@gnu.org>
12674         * Makefile.in (autoloads): Revert previous change.
12675         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
12676         the list of preloaded files passed on the command-line, get
12677         it from src/Makefile.
12679         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
12680         show the original buffer rather than a random one.
12682 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
12684         * help.el (describe-no-warranty): Place point in a slightly better
12685         position in the GPLv3 text.
12687 2009-10-06  Sam Steingold  <sds@gnu.org>
12689         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
12690         the comm attribute is present before calling regexp-quote.
12692 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
12694         * play/animate.el (animate-string): For good effect, make sure
12695         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
12697         * play/animate.el (animate-sequence, animate-birthday-present):
12698         * misc.el (butterfly): Don't set `indent-tabs-mode'.
12700 2009-10-06  Glenn Morris  <rgm@gnu.org>
12702         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
12704         * emacs-lisp/autoload.el (autoload-excludes): New variable.
12705         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
12706         (batch-update-autoloads): Process a string value of autoload-excludes,
12707         set during the build process.
12708         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
12710         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
12711         inside with-parsed...  macro so that `v' is defined.
12713         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
12714         * progmodes/fortran.el (fortran-end-of-block)
12715         (fortran-beginning-of-block):
12716         Also push mark in the macro case.
12718         * emerge.el (emerge-show-file-name):
12719         * calc/calc.el (calc-quit):
12720         * calc/calc-misc.el (calc-big-or-small):
12721         * calc/calc-graph.el (calc-graph-view):
12722         * calc/calc-ext.el (calc-reset):
12723         * calendar/calendar.el (calendar-basic-setup):
12724         Use window-full-height-p.
12726         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
12727         header we don't understand, don't insert another.  (Bug#4624)
12728         If changing mime charset, insert the new one in the right place.
12730 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
12732         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
12733         (cal-tex-cursor-month): Correctly increment the end date for diary and
12734         holiday listing.  (Bug#4626)
12736 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12738         * help-fns.el (describe-function-1): Don't burp if the function is not
12739         a symbol.
12741 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
12743         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
12744         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
12745         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
12746         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
12748         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
12749         (eieio-default-superclass): Reflow docstrings.
12750         (this, class-option-assoc, defclass, eieio-class-un-autoload)
12751         (eieio-unbind-method-implementations, defmethod)
12752         (eieio-validate-slot-value, eieio-validate-class-slot-value)
12753         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
12754         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
12755         (eieio-slot-originating-class-p, eieio-slot-name-index)
12756         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
12757         (constructor, initialize-instance, no-next-method, object-print)
12758         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
12759         Fix typos in docstrings.
12760         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
12761         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
12762         (next-method-p): Doc fixes.
12763         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
12764         Fix typos in error messages.
12765         (eieio-defmethod): Fix typo in description of generic method.
12767         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
12768         (eieio-persistent-save-interactive, slot-missing):
12769         Fix typos in docstrings.
12770         (eieio-instance-inheritor-slot-boundp): Doc fix.
12772         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
12773         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
12775         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
12776         (eieio-custom-object-apply-reset):
12777         Fix typos in docstrings and error messages.
12779         * emacs-lisp/eieio-datadebug.el (data-debug-show):
12780         Fix typo in docstring.
12782         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
12783         (eieio-browse-tree): Doc fix.
12784         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
12785         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
12786         Fix typos in docstrings.
12788         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
12789         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
12790         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
12791         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
12792         Reflow docstrings.
12794 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
12796         * vc-hg.el (log-view-vc-backend): Declare for compiler.
12797         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
12798         Set log-view-vc-backend so that diff can work.
12800         * log-view.el (log-view-diff): Use vc-diff-internal instead of
12801         vc-version-diff.
12802         (vc-diff-internal): Autoload this instead of vc-version-diff.
12804 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
12806         * simple.el (eval-expression): Doc fix.
12808         * progmodes/cwarn.el (cwarn-mode): Doc fix.
12810 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
12812         * files.el (directory-files-no-dot-files-regexp): New defconst.
12813         (delete-directory): Use it.
12814         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
12816         * net/tramp.el (tramp-verbose): Fix docstring.
12817         (tramp-methods): Add recursive option to `tramp-copy-args'.
12818         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
12819         "scp1_old", "scp2_old", "rsync", "rsyncc".
12820         (tramp-default-method): Check also for `auth-source-user-or-password'.
12821         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
12822         Add handler for `copy-directory'.
12823         (tramp-handle-copy-directory): New defun.
12824         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
12825         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
12826         Optimize sent command.
12828 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12830         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
12831         window if necessary.
12833         * calendar/calendar.el (calendar-basic-setup): Don't call
12834         switch-to-buffer in a dedicated window.
12836 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
12838         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
12839         don't do anything related to relocating, just return nil.
12840         (bookmark-error-no-filename): New error.
12841         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
12842         bookmark has no file.  Don't even attempt to handle things that
12843         are not files; the whole point of custom handlers is to keep that
12844         knowledge elsewhere anyway.  Tighten some comments.
12845         (bookmark-file-or-variation-thereof): Remove now-unused function.
12846         (bookmark-location): Doc string fix.
12847         (Bug#4250)
12849 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
12851         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
12852         don't use a file dialog, because they usually don't know how to read
12853         a directory target from the user.  (Bug#4230)
12854         Also, make sure the prompt can display directories as well as files.
12856 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
12858         * bookmark.el (bookmark-set, bookmark-buffer-name):
12859         Improve doc strings.  (Bug#1193)
12861 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
12863         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
12864         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
12865         (bookmark-get-annotation, bookmark-set-annotation)
12866         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
12867         (bookmark-set-position, bookmark-get-front-context-string)
12868         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
12869         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
12870         (bookmark-jump-other-window, bookmark-handle-bookmark)
12871         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
12872         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
12873         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
12874         Improve doc strings to say whether bookmark can be a string or
12875         a record or both, and make other consistency and clarity fixes.
12876         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
12877         (bookmark-default-annotation-text, bookmark-yank-word)
12878         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
12879         (bookmark-import-new-list, bookmark-maybe-rename)
12880         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12881         (bookmark-bmenu-bookmark): Give these doc strings.
12882         (bookmark-bmenu-check-position): Give this a doc string, but also
12883         add a FIXME comment about how the function may be pointless.
12884         (bookmark-default-handler): Rework doc string and change a
12885         parameter name, to clarify that this takes a bookmark record
12886         not a bookmark name.
12887         (bookmark-set): Change a parameter name to indicate its meaning,
12888         and improve the doc string a bit.
12889         (Bug#4188)
12891 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
12893         * bookmark.el (bookmark-alist): Document the new `handler' element
12894         in the param alist.
12895         (bookmark-make-record-function): Adjust documentation for above.
12896         (Bug#4193)
12898 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
12900         * info.el (Info-bookmark-make-record): Document this function.
12901         (Info-bookmark-jump): Document with a doc string, not just a comment.
12902         (Bug#4203)
12904 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
12906         * files.el (copy-directory): New defun.
12908         * dired-aux.el (dired-copy-file-recursive): Use it.
12910 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
12912         * files-x.el (modify-dir-local-variable)
12913         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
12914         docstrings.
12916         * recentf.el (recentf-unload-function): New function.
12918 2009-10-04  Glenn Morris  <rgm@gnu.org>
12920         * window.el (window-full-height-p): Add doc string.
12922 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
12924         * window.el (window-full-height-p): New function.  (Bug#4543)
12926 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
12928         * vc.el: Remove commented out code.
12929         (vc-derived-from-dir-mode): Remove, unused.
12930         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
12932 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
12934         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
12935         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
12936         there could be recursive loading when `default-directory' is a
12937         remote file name.  (Bug#4614)
12939 2009-10-03  Glenn Morris  <rgm@gnu.org>
12941         * calendar/calendar.el (calendar-basic-setup): Handle the case where
12942         the frame is wide.
12943         (calendar-generate-window): Test for shrinkability rather than width.
12945         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
12946         reusing existing buffers, in case we happen to visit two files with the
12947         same basename.  (Bug#4593)
12949 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
12951         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
12952         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
12953         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
12954         subdirs of cedet as well.
12955         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
12957 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12959         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
12960         Obey advertised-signature-table.
12962         * help-fns.el (help-function-arglist): Don't check
12963         advertised-signature-table.
12964         (describe-function-1): Do it here instead so it also applies to subrs.
12966 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
12968         * simple.el (start-file-process): Say in the doc-string, that file
12969         handlers might not support pty association, if PROGRAM is nil.
12971         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
12972         HOST and USER are strings.  They are nil, when there are
12973         incomplete entries in ~/.netrc, for example.
12974         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
12975         root directory ("device busy" error otherwise).
12977         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
12978         Flush file properties of created directory.
12980 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
12982         * makefile.w32-in (WINS_BASIC): Remove cedet.
12983         (WINS_CEDET): Add cedet.
12984         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
12986 2009-10-02  Kevin Ryde  <user42@zip.com.au>
12988         * net/browse-url.el (browse-url): Pass any symbol in
12989         browse-url-browser-function to `apply', since if you've mistakenly put
12990         an unbound symbol then the error is clearer.  (Bug#4531)
12992 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
12994         * allout.el (allout-init, allout-back-to-current-heading)
12995         (allout-beginning-of-current-entry, allout-ascend-to-depth)
12996         (allout-ascend, allout-up-current-level, allout-end-of-level)
12997         (allout-previous-visible-heading, allout-forward-current-level)
12998         (allout-backward-current-level, allout-show-children):
12999         * apropos.el (apropos-describe-plist):
13000         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
13001         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
13002         * completion.el (add-completion, add-permanent-completion):
13003         * descr-text.el (describe-text-category, describe-char):
13004         * desktop.el (desktop-lazy-abort):
13005         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
13006         * dired.el (dired-build-subdir-alist):
13007         * ediff.el (ediff-version):
13008         * elide-head.el (elide-head, elide-head-show):
13009         * emerge.el (emerge-version):
13010         * env.el (getenv):
13011         * face-remap.el (variable-pitch-mode):
13012         * faces.el (describe-face):
13013         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
13014         (dired-at-point):
13015         * files.el (find-file-existing, auto-save-mode):
13016         * font-lock.el (font-lock-fontify-buffer):
13017         * help-fns.el (describe-function, describe-variable)
13018         (describe-syntax, describe-categories):
13019         * help.el (view-lossage, describe-bindings, describe-key)
13020         (describe-mode):
13021         * hexl.el (hexl-current-address):
13022         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
13023         * info.el (Info-goto-emacs-key-command-node):
13024         * log-edit.el (log-edit-insert-cvs-template)
13025         (log-edit-insert-cvs-rcstemplate):
13026         * menu-bar.el (menu-bar-mode):
13027         * mouse.el (mouse-appearance-menu):
13028         * newcomment.el (comment-indent-new-line):
13029         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
13030         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
13031         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
13032         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
13033         * recentf.el (recentf-mode):
13034         * savehist.el (savehist-mode, savehist-save):
13035         * shadowfile.el (shadow-copy-files):
13036         * simple.el (kill-ring-save, next-line, previous-line)
13037         (normal-erase-is-backspace-mode):
13038         * strokes.el (strokes-update-window-configuration)
13039         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
13040         (strokes-xpm-for-stroke):
13041         * time.el (emacs-uptime, emacs-init-time):
13042         * tutorial.el (tutorial--describe-nonstandard-key)
13043         (tutorial--detailed-help):
13044         * type-break.el (type-break-mode)
13045         (type-break-mode-line-message-mode, type-break-query-mode)
13046         (type-break-guesstimate-keystroke-threshold):
13047         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
13048         * version.el (emacs-version):
13049         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
13050         * winner.el (winner-mode):
13051         * calendar/timeclock.el (timeclock-in, timeclock-out)
13052         (timeclock-status-string, timeclock-change)
13053         (timeclock-workday-remaining-string)
13054         (timeclock-workday-elapsed-string)
13055         (timeclock-when-to-leave-string):
13056         * calendar/todo-mode.el (todo-add-category):
13057         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
13058         * emacs-lisp/autoload.el (update-file-autoloads):
13059         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
13060         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
13061         (checkdoc-message-text, checkdoc-defun):
13062         * emacs-lisp/debug.el (debugger-list-functions):
13063         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
13064         * emacs-lisp/eieio-opt.el (eieio-describe-class)
13065         (eieio-describe-generic):
13066         * emacs-lisp/lisp-mnt.el (lm-synopsis):
13067         * emacs-lisp/shadow.el (list-load-path-shadows):
13068         * emulation/cua-base.el (cua-mode):
13069         * emulation/edt.el (edt-set-scroll-margins):
13070         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
13071         (tpu-toggle-regexp, tpu-toggle-search-direction)
13072         (tpu-toggle-rectangle, tpu-toggle-control-keys):
13073         * emulation/tpu-extras.el (tpu-set-scroll-margins):
13074         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13075         (viper-set-parsing-style-toggling-macro)
13076         (viper-set-emacs-state-searchstyle-macros):
13077         * emulation/viper.el (viper-set-hooks):
13078         * eshell/esh-mode.el (eshell-truncate-buffer):
13079         * international/mule-cmds.el (prefer-coding-system)
13080         (describe-input-method, describe-language-environment):
13081         * international/mule-diag.el (list-character-sets)
13082         (describe-character-set, describe-coding-system)
13083         (describe-fontset, list-fontsets, list-input-methods):
13084         * mail/sendmail.el (mail-signature):
13085         * net/ange-ftp.el (ange-ftp-copy-file):
13086         * net/browse-url.el (browse-url):
13087         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
13088         * net/quickurl.el (quickurl-add-url):
13089         * net/rcirc.el (names, topic):
13090         * net/xesam.el (xesam-mode):
13091         * play/5x5.el (5x5-new-game):
13092         * play/yow.el (apropos-zippy):
13093         * progmodes/ada-mode.el (ada-mode-version):
13094         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
13095         (f90-end-of-block)
13096         (f90-beginning-of-block):
13097         * progmodes/fortran.el (fortran-end-of-block)
13098         (fortran-beginning-of-block):
13099         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
13100         * progmodes/python.el (python-describe-symbol, python-shell):
13101         * term/ns-win.el (ns-print-buffer):
13102         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
13103         * textmodes/flyspell.el (flyspell-mode-on):
13104         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
13105         (pages-directory-for-addresses):
13106         * textmodes/table.el (table-recognize-cell)
13107         (table-query-dimension, table-generate-source)
13108         (table-insert-sequence, table--warn-incompatibility):
13109         * textmodes/tex-mode.el (tex-validate-buffer):
13110         * textmodes/texinfmt.el (texinfmt-version)
13111         (texinfo-format-buffer):
13112         Use `called-interactively-p' instead of `interactive-p'.
13114 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
13116         * image-mode.el (image-toggle-display):
13117         * emacs-lisp/elp.el (elp-instrument-function):
13118         * emacs-lisp/advice.el (ad-make-advised-definition):
13119         * emacs-lisp/easy-mmode.el (define-minor-mode):
13120         * net/browse-url.el (browse-url-maybe-new-window):
13121         * progmodes/sh-script.el (sh-learn-buffer-indent):
13122         Pass new argument 'any to `called-interactively-p'.
13124 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
13126         * international/uni-bidi.el:
13127         * international/uni-category.el:
13128         * international/uni-combining.el:
13129         * international/uni-comment.el:
13130         * international/uni-decimal.el:
13131         * international/uni-decomposition.el:
13132         * international/uni-digit.el:
13133         * international/uni-lowercase.el:
13134         * international/uni-mirrored.el:
13135         * international/uni-name.el:
13136         * international/uni-numeric.el:
13137         * international/uni-old-name.el:
13138         * international/uni-titlecase.el:
13139         * international/uni-uppercase.el:
13140         Regenerate from Unicode 5.2.0 data.
13142 2009-10-01  Glenn Morris  <rgm@gnu.org>
13144         * Makefile.in (ELCFILES): Regenerate.
13146 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13148         * subr.el (interactive-p): Mark obsolete.
13149         (called-interactively-p): Make the optional-ness of `kind' obsolete.
13150         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
13151         advertised-signature-table for subroutines as well.
13153         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
13154         (set-advertised-calling-convention): New function.
13155         (make-obsolete, define-obsolete-function-alias)
13156         (make-obsolete-variable, define-obsolete-variable-alias):
13157         Make the optional-ness of `when' obsolete.
13158         (define-obsolete-face-alias): Make `when' non-optional.
13159         * help-fns.el (help-function-arglist):
13160         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
13161         Use advertised-signature-table.
13163 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
13165         * files.el (delete-directory): New defun.  The original function
13166         in fileio.c has been renamed to `delete-directory-internal'.
13168         * dired.el (dired-delete-file): Call `delete-directory' with
13169         RECURSIVE parameter.
13171         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
13172         parameter RECURSIVE.  Implementation is missing.
13174         * net/tramp.el (tramp-handle-make-directory): Flush upper
13175         directory's file properties.
13176         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
13177         (tramp-handle-dired-recursive-delete-directory): Flush directory
13178         properties after the remove command only.
13180         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
13181         Handle optional parameter RECURSIVE.
13183         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
13184         Handle optional parameter RECURSIVE.
13186         * net/tramp-smb.el (tramp-smb-errors): Add error message for
13187         connection timeout.
13188         (tramp-smb-handle-delete-directory): Handle optional parameter
13189         RECURSIVE.
13191 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13193         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
13194         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
13195         (byte-compile-defmacro): Use backquotes.
13197         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
13199         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
13200         has no associated file.
13201         (vc-resynch-buffer): Use vc-dir-buffers.
13203 2009-10-01  Glenn Morris  <rgm@gnu.org>
13205         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
13206         (chart-file-count):
13207         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
13208         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
13209         * emacs-lisp/eieio-opt.el (eieio-describe-class):
13210         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
13211         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
13212         (eieio-copy-parents-into-subclass, make-instance, class-children)
13213         (eieio-generic-form):
13215         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
13216         match-data.  (Bug#4555).
13218         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
13219         rather than parsing it as a regexp.  This relaxes the layout
13220         requirements and makes errors easier to detect.
13221         (check-declare-verify): Check file is regular.
13222         (check-declare-directory): Doc fix.
13223         * subr.el (declare-function): Doc fix.
13225         * ibuffer.el (ibuffer-format-qualifier):
13226         * isearch.el (hi-lock-regexp-okay):
13227         * calc/calc.el (math-zerop):
13228         * mail/uce.el (rmail-msgbeg, rmail-msgend):
13229         * term/w32-win.el (setup-default-fontset, set-fontset-font):
13230         Remove unused declarations.
13232 2009-09-30  Eric Ludlam  <zappo@gnu.org>
13234         * emacs-lisp/eieio.el (boolean-p): Delete.
13236 2009-09-30  Glenn Morris  <rgm@gnu.org>
13238         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
13240         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
13241         filename is not a string.
13243 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
13245         * files.el (safe-local-eval-forms): Fix typo.
13247 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
13249         * vc-hooks.el (vc-dir-buffers): New var.
13250         (vc-state-refresh): New function.
13251         (vc-state): Use it.
13252         (vc-after-save): Always ask the backend to recompute the new state.
13253         Always call vc-dir if necessary, using vc-dir-buffers.
13254         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
13255         Use vc-dir-buffers.
13256         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
13257         (vc-dir-prepare-status-buffer, vc-dir-update)
13258         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
13259         Don't call expand-file-name on default-directory.
13261 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
13263         * speedbar.el (speedbar-item-delete):
13264         * calc/calc-prog.el (calc-kbd-if):
13265         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
13267         * epa.el (epa-key-list-mode-map):
13268         * hi-lock.el (hi-lock-menu): Fix typos in menus.
13270         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
13271         (hs-show-hook): Fix typo in docstring.
13273 2009-09-29  Glenn Morris  <rgm@gnu.org>
13275         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
13276         file-name-nondirectory call preventing location of cedet files.
13277         (check-declare-verify): Use literal search rather than re-search.
13278         Add basic defmethod and defclass, and define-overloadable-function.
13280         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
13281         Use tramp-compat-file-attributes rather than nonexistent
13282         tramp-compat-handle-file-attributes.
13284         * Makefile.in (lisptagsfiles4): New.
13285         (AUTOGENEL): Add cedet loaddefs files.
13286         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
13287         (update-elclist, compile-always, backup-compiled-files)
13288         (bootstrap-clean): Add yet another directory level.
13289         (update-elclist): Use LC_COLLATE rather than COLLATE.
13290         (ELCFILES): Update, via `make update-elclist'.
13292 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
13294         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
13295         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
13296         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
13298 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
13300         * Makefile.in (lisptagsfiles3): Define.
13301         (TAGS, TAGS-LISP): Use it.
13302         (update-elclist): Add third directory level to look for elc files.
13303         (compile-always): Likewise.
13304         (backup-compiled-files): Likewise.
13305         (bootstrap-clean): Likewise.
13306         (ELCFILES): Update.
13308 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
13310         * Makefile.in (ELCFILES): Add CEDET files.
13312 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
13314         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
13316         * net/tramp.el (top): Require tramp-imap.
13318         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
13319         Use `tramp-compat-handle-file-attributes'.
13321 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
13323         * net/tramp-imap.el: New package.
13325 2009-09-28  Eric Ludlam  <zappo@gnu.org>
13327         * emacs-lisp/chart.el:
13328         * emacs-lisp/eieio-base.el:
13329         * emacs-lisp/eieio-comp.el:
13330         * emacs-lisp/eieio-custom.el:
13331         * emacs-lisp/eieio-datadebug.el:
13332         * emacs-lisp/eieio-opt.el:
13333         * emacs-lisp/eieio-speedbar.el:
13334         * emacs-lisp/eieio.el: New files.
13336 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
13338         * whitespace.el (whitespace-trailing-regexp)
13339         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
13340         Fix doc string.
13342 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
13344         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
13345         menu.
13347         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
13348         menu-bar-ediff-menu.
13350         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
13351         define-overloadable-function.
13353         * progmodes/autoconf.el: Provide autoconf as well, so that this
13354         file can be `require'd.
13356         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
13358         * emacs-lisp/autoload.el (generated-autoload-feature)
13359         (generated-autoload-load-name): New vars.
13360         (autoload-rubric, autoload-generate-file-autoloads): Use them.
13361         (make-autoload): Recognize define-overloadable-function and
13362         defclass forms (for EIEIO).
13364         * Makefile.in (update-subdirs): Exclude cedet directory.
13366 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
13368         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
13370         * faces.el: Default light-background background for region face to
13371         ns_selection_color under NS.
13373 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
13375         * net/imap-hash.el: New library, see NEWS.
13377         * Makefile.in (ELCFILES): Add imap-hash.el.
13379 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13381         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
13382         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
13383         * help-macro.el (make-help-screen): Avoid using an ambiguous function
13384         definition where the docstring could be taken for the return value.
13386 2009-09-26  Glenn Morris  <rgm@gnu.org>
13388         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
13389         Add option to only show images below a certain size.
13390         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
13391         save-excursion calls.
13393 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
13395         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
13396         subdirectories) and eieio.
13398 2009-09-26  Alan Mackenzie  <acm@muc.de>
13400         * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
13401         buggy bracketing.  (Bug#4289)
13403         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
13404         character constants (as case labels).  (Bug#4289)
13406 2009-09-25  Juri Linkov  <juri@jurta.org>
13408         * files.el (safe-local-eval-forms): Allow time-stamp in
13409         before-save-hook (Bug#4554).
13411 2009-09-25  Drew Adams  <drew.adams@oracle.com>
13413         * menu-bar.el (list-buffers-directory): Doc fix.
13415 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13417         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
13418         Try and avoid copying twice the same paragraph.
13419         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
13420         Remove save-excursion.
13421         (log-edit-changelog-entry): Do it here instead.
13423 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
13425         * bs.el (bs--get-file-name): Use `list-buffers-directory'
13426         when available, instead of hardcoding mode names.  Doc fix.
13428         * menu-bar.el (list-buffers-directory): Add docstring.
13429         Make automatically buffer-local.
13431         * dired.el (dired-mode):
13432         * files.el (cd-absolute):
13433         * pcvs.el (cvs-temp-buffer):
13434         * pcvs-util.el (cvs-get-buffer-create):
13435         * shell.el (shell-mode):
13436         * vc-dir.el (vc-dir-mode):
13437         Don't make `list-buffers-directory' buffer local.
13439 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
13441         * comint.el (comint-exec, comint-run, make-comint):
13442         Doc fixes (Bug#4542).
13444 2009-09-25  Glenn Morris  <rgm@gnu.org>
13446         * mail/rmailmm.el (rmail-mime): New custom group.
13447         Move all defcustoms in this file into this group.
13448         (rmail-mime-media-type-handlers-alist): Revert previous change.
13449         (rmail-mime-show-images): New option.
13450         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
13451         references to it, since it wasn't actually used for anything.
13452         (rmail-mime-insert-image): New function.
13453         (rmail-mime-image): Use rmail-mime-insert-image.
13454         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
13455         obey the value of `rmail-mime-show-images' option.  Print the size of
13456         attachments.
13458 2009-09-25  David Engster  <deng@randomsample.de>
13460         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
13462 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
13464         * whitespace.el: Does not highlight trailing spaces While point is
13465         at end of line.  Does not highligt spaces at beginning of buffer
13466         while point is at beginning of buffer.  Does not highlight spaces
13467         at end of buffer while point is at end of buffer.  (Bug#4177)
13468         New version 12.0.
13469         (whitespace-display-mappings): Adjust initialization.
13470         (whitespace-point, whitespace-font-lock-refontify): New vars.
13471         (whitespace-color-on, whitespace-color-off): Adjust code.
13472         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
13473         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
13474         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
13476 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
13478         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
13480         * textmodes/sgml-mode.el: Remove xml-mode alias.
13482         * files.el (auto-mode-alist, conf-mode-maybe)
13483         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
13485 2009-09-24  Alan Mackenzie  <acm@muc.de>
13487         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
13488         c-forward-conditionals, but it doesn't move point and doesn't set
13489         the mark.
13490         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
13491         (c-down-conditional-with-else, c-backward-conditional)
13492         (c-forward-conditional): Refactor to use c-scan-conditionals.
13494 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
13496         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
13497         (help-default-arg-highlight): Remove.
13498         (help-highlight-arg): New function.
13499         (help-do-arg-highlight): Use it.
13500         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
13502 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13504         * term.el (term-set-scroll-region, term-handle-ansi-escape):
13505         Undo last change, which didn't fix the problem and introduced others.
13507 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
13509         * progmodes/gdb-mi.el: Don't require speedbar.
13510         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
13512 2009-09-24  Glenn Morris  <rgm@gnu.org>
13514         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
13516         * term/ns-win.el (ns-reg-to-script): Define for compiler.
13518         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
13519         there is no newline after the final mime boundary.  (Bug#4539)
13520         Move markers on insertion so that any buttons inserted don't end up in
13521         the next part of a multipart message.
13522         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
13523         (rmail-mime-bulk-handler): Optionally handle images.
13524         (rmail-mime-image): New button action.
13525         (rmail-mime-image-handler): New function.
13526         (rmail-mime-mode): New mode.
13527         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
13529 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13531         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
13532         than just dropping elements from it (bug#4504).
13534         * term.el (term-set-scroll-region): Don't move cursor any more.
13535         (term-handle-ansi-escape): Call term-goto here instead.
13536         Suggested by Ivan Kanis <apple@kanis.eu>.
13538         * term.el: Require CL.
13539         (term-ansi-reset): New function.
13540         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
13541         (term-handle-colors-array): Simplify.
13543 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
13545         * allout.el (allout-overlay-interior-modification-handler)
13546         (allout-obtain-passphrase):
13547         * epa-file.el (epa-file-write-region):
13548         * ps-print.el (ps-begin-job):
13549         * vc-hooks.el (vc-toggle-read-only):
13550         * vc-rcs.el (vc-rcs-rollback):
13551         * vc-sccs.el (vc-sccs-rollback):
13552         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
13553         (vc-version-diff, vc-revert, vc-rollback):
13554         * wdired.el (wdired-check-kill-buffer):
13555         * emacs-lisp/authors.el (authors):
13556         * net/socks.el (socks-open-connection):
13557         * net/zeroconf.el (zeroconf-service-add-hook):
13558         * obsolete/vc-mcvs.el (vc-mcvs-register):
13559         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
13560         (gdb-select-frame):
13561         * progmodes/grep.el (lgrep, rgrep):
13562         * progmodes/idlw-help.el (idlwave-help-check-locations)
13563         (idlwave-help-html-link, idlwave-help-assistant-open-link):
13564         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13565         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
13566         (reftex-toc-rename-label): Fix typos in error messages.
13568         * dired-aux.el (dired-do-shell-command): Reflow docstring.
13569         (dired-copy-how-to-fn): Doc fix.
13570         (dired-files-attributes, dired-read-shell-command):
13571         Fix typos in docstrings.
13573         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
13574         (dired-x-find-file-other-window): Reflow docstrings.
13575         (dired-omit-marker-char, dired-read-shell-command)
13576         (dired-x-submit-report): Fix typos in docstrings.
13578         * shell.el (shell-mode-hook):
13579         * view.el (View-scroll-line-forward):
13580         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
13581         Fix typos in docstrings.
13583         * net/dig.el (dig-invoke): Fix typo in docstring.
13584         (query-dig): Reflow docstring.
13586         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
13587         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
13588         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
13589         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
13590         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
13591         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
13592         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
13593         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
13594         (idlwave-completion-map, idlwave-current-indent)
13595         (idlwave-custom-ampersand-surround, idlwave-customize)
13596         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
13597         (idlwave-define-abbrev, idlwave-determine-class-special)
13598         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
13599         (idlwave-end-block-reg, idlwave-end-of-statement)
13600         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
13601         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
13602         (idlwave-explicit-class-listed, idlwave-file-header)
13603         (idlwave-fill-paragraph, idlwave-find-class-definition)
13604         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
13605         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
13606         (idlwave-in-quote, idlwave-indent-action-table)
13607         (idlwave-indent-expand-table, idlwave-indent-line)
13608         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
13609         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
13610         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
13611         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
13612         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
13613         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
13614         (idlwave-outlawed-buffers, idlwave-popup-select)
13615         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
13616         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
13617         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
13618         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
13619         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
13620         (idlwave-statement-type, idlwave-struct-skip)
13621         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
13622         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
13623         (idlwave-what-module-find-class): Fix typos in docstrings.
13624         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
13625         (idlwave-calculate-cont-indent, idlwave-expand-equal)
13626         (idlwave-find-module, idlwave-find-structure-definition)
13627         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
13628         (idlwave-list-load-path-shadows, idlwave-next-statement)
13629         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
13630         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
13631         (idlwave-template): Reflow docstrings.
13633         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
13634         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
13635         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
13636         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
13637         (idlwave-shell-display-line, idlwave-shell-display-wframe)
13638         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
13639         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
13640         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
13641         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
13642         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
13643         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
13644         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
13645         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
13646         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
13647         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
13648         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
13649         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
13650         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
13651         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
13652         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
13653         Fix typos in docstrings.
13654         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
13655         (idlwave-shell-hide-output, idlwave-shell-mode)
13656         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
13657         Reflow docstrings.
13659         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
13661 2009-09-24  Ivan Kanis  <apple@kanis.eu>
13663         * term.el (term-bold-attribute): New var.
13664         (term-handle-colors-array): Use it.
13666 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
13668         * progmodes/gdb-mi.el (gdb-version): New variable.
13669         (gdb-non-stop-handler): Set gdb-version.
13670         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
13671         Condition "--thread" option on gdb-version.
13672         (gdb-invalidate-threads): Remove unused argument.
13674 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13676         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
13677         to looking-back to avoid ridiculous slow down in large files (bug#4511).
13679 2009-09-23  Glenn Morris  <rgm@gnu.org>
13681         * mail/rmail.el (rmail-reply): Don't try to add a References header when
13682         replying to mail without References or Message-Id.  (Bug#4525)
13684 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
13686         * term/ns-win.el (ns-reg-to-script): New variable.
13688 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
13690         * epg.el (epg-wait-for-status): Preserve existing 'error results.
13692 2009-09-22  Sam Steingold  <sds@gnu.org>
13694         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
13695         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
13696         to 1 because hg returns status 1 when nothing is found.
13697         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
13699 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13701         * textmodes/fill.el: Convert to utf-8 encoding.
13702         (fill-french-nobreak-p): Remove redundant » and « inherited from our
13703         pre-Unicode days.
13705         * add-log.el (change-log-fill-forward-paragraph): New function.
13706         (change-log-mode): Use it so fill-region DTRT.
13707         Set fill-indent-according-to-mode here rather than in
13708         change-log-fill-paragraph.
13709         (change-log-fill-paragraph): Remove.
13711 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
13713         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
13714         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
13716 2009-09-22  Glenn Morris  <rgm@gnu.org>
13718         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
13719         the scroll-bar scroll the calendar window rather than the buffer.
13721         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
13722         commands that move point (as opposed to scrolling).
13724         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
13726         * emacs-lisp/elint.el (elint): New custom group.
13727         (elint-log-buffer): Make it a defcustom.
13728         (elint-scan-preloaded, elint-ignored-warnings)
13729         (elint-directory-skip-re): New options.
13730         (elint-builtin-variables): Doc fix.
13731         (elint-preloaded-env): New variable.
13732         (elint-unknown-builtin-args): Add an entry for encode-time.
13733         (elint-extra-errors): Make it a variable rather than a constant.
13734         (elint-preloaded-skip-re): New constant.
13735         (elint-directory): Skip files matching elint-directory-skip-re.
13736         (elint-features): New variable, local to linted buffers.
13737         (elint-update-env): Initialize elint-features.  Possibly add
13738         elint-preloaded-env to the buffer's environment.
13739         (elint-get-top-forms): Bind elint-current-pos, for log messages.
13740         Skip quoted forms.
13741         (elint-init-form): New function, extracted from elint-init-env.
13742         Make non-list forms a warning rather than an error.
13743         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
13744         easy-menu-define, put that adds an error-condition, and provide.
13745         When requiring cl, also require cl-macs.  Really require cl, to handle
13746         some cl macros.  Store required libraries in the list elint-features,
13747         so as not to re-load them.  Treat cc-require like require.
13748         (elint-init-env): Call elint-init-form to do the work.
13749         Handle eval-and-compile and such like.
13750         (elint-add-required-env): Do not clear messages.
13751         (elint-special-forms): Add handlers for function, defalias, if, when,
13752         unless, and, or.
13753         (elint-form): Add optional argument to ignore elint-special-forms,
13754         useful to prevent recursive calls from handlers.  Doc fix.
13755         Respect elint-ignored-warnings.
13756         (elint-form): Respect elint-ignored-warnings.
13757         (elint-bound-variable, elint-bound-function): New variables.
13758         (elint-unbound-variable): Respect elint-bound-variable.
13759         (elint-get-args): Respect elint-bound-function.
13760         (elint-check-cond-form): Add some simple handling for (f)boundp and
13761         featurep tests.
13762         (elint-check-defalias-form): New handler.
13763         (elint-check-let-form): Make an empty let a warning rather than an
13764         error.
13765         (elint-check-setq-form): Make an empty setq a warning rather than an
13766         error.  Respect elint-ignored-warnings.
13767         (elint-check-defvar-form): Accept null doc-strings.
13768         (elint-check-conditional-form): New handler.  Does some simple-minded
13769         checking of featurep and (f)boundp tests.
13770         (elint-put-function-args): New function.
13771         (elint-initialize): Use elint-scan-doc-file rather than
13772         elint-find-builtin-variables.  Use elint-put-function-args.
13773         Possibly scan preloaded-file-list.
13774         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
13775         extend to handle functions as well.
13777 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
13779         * linum.el (linum-delete-overlays, linum-update-window):
13780         Do not modify the right margin.  (Bug#3971)
13782 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
13784         * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
13785         nxml-mode instead of xml-mode.
13787 2009-09-21  Kevin Ryde  <user42@zip.com.au>
13789         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
13791 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13793         * net/dig.el (dig-mode): Use define-derived-mode.
13795 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
13797         * vc-dispatcher.el (vc-do-command): Return the process object in
13798         the asynchronous case.  Use when instead of if.  Do not run
13799         vc-exec-after to display a message if not enabled.  (Bug#4463)
13801         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
13802         properties to the stash strings.
13803         (vc-git-stash-list): Return a list of strings.
13804         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
13805         (vc-git-stash-show-at-point): New functions.
13806         (vc-git-stash-map): New keymap.
13808         * register.el (ctl-x-r-map): Define the keys here instead of
13809         using autoload.
13811 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
13813         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
13814         list, to workaround performance problem (bug#4485).
13816 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
13818         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
13820 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
13822         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
13823         Document that this option is not recommended to use.
13825 2009-09-19  Glenn Morris  <rgm@gnu.org>
13827         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
13828         variable `var'.
13830         * calc/calc-alg.el (var):
13831         * calc/calcalg2.el (var): Define for compiler.
13833 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
13835         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
13836         Doc fix (Bug#3932).
13838         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
13840         * time-stamp.el (time-stamp-month-dd-yyyy)
13841         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
13842         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
13843         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
13844         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
13845         Remove functions that have been obsolete since 1995 (Bug#4436).
13847         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
13848         indent buffer only if called interactively (Bug#4452).
13850 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
13851             Eli Zaretskii  <eliz@gnu.org>
13853         This fixes bug#4197 (merged to bug#865, though not identical).
13854         * server.el (server-auth-dir): Add docstring note about FAT32.
13855         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
13856         but warn against using them.
13858 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
13860         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
13861         older GDB where there is no has_more field.
13863 2009-09-19  Glenn Morris  <rgm@gnu.org>
13865         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
13867 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
13869         * files.el (auto-mode-alist): Change default for XML files to nXML
13870         mode (Bug#4169).
13872 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
13874         * server.el (server-ensure-safe-dir): Pass 'integer
13875         to `file-attributes', as suggested.
13877 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13879         * dired-aux.el (dired-query-alist): Remove spurious backslash.
13880         (dired-query): Use read-key.
13882 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
13884         * cus-start.el (ns-use-qd-smoothing): Remove.
13886 2009-09-18  Glenn Morris  <rgm@gnu.org>
13888         * allout.el (top-level): Remove unnecessary progn.
13890         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
13892         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
13893         definition of abbrev table.
13895         * speedbar.el (speedbar-track-mouse):
13896         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
13897         * net/eudc.el (eudc-expand-inline):
13898         * net/newst-backend.el (newsticker--cache-read-feed):
13899         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
13900         condition-case handlers.
13902 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
13904         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
13905         (gdb-var-list): Add an element for has_more field.
13906         (gdb-non-stop-handler): Enable pretty printing for STL containers.
13907         (gdb-var-create-handler, gdb-var-list-children-handler-1)
13908         (gdb-var-update-handler-1): Parse output of dynamic variable
13909         objects (STL containers).
13910         (gdb-var-delete-1): Pass var1 as an explicit second argument.
13911         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
13913         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
13914         gdb-var-list.
13915         (gud-speedbar-buttons): Make node expandable if expression "has more"
13916         children.
13918 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
13920         * startup.el (emacs-quick-startup): Remove variable and all uses.
13921         (command-line): Set `inhibit-x-resources' instead.
13922         (command-line-1): Use `inhibit-x-resources' instead.
13924 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
13926         * subr.el: Fix last change to avoid using the `unless' macro,
13927         which breaks bootstrapping.
13929 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13931         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
13932         extended definitions, in case we reload subr.el after having
13933         loaded CL.
13934         (eval-next-after-load): Mark as obsolete.
13936 2009-09-17  Juri Linkov  <juri@jurta.org>
13938         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
13939         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
13940         (menu-bar-showhide-menu, menu-bar-tools-menu)
13941         (menu-bar-describe-menu, menu-bar-help-menu)
13942         (minibuffer-local-completion-map, minibuffer-local-map):
13943         Fix list quoting.
13945 2009-09-17  Glenn Morris  <rgm@gnu.org>
13947         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
13948         arguments, whether or not it has a handler.
13950         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
13952         * simple.el (hard-newline): Give it a doc-string.
13954         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13955         (lisp-mode-syntax-table): Give them doc-strings.
13957 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
13959         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
13960         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
13961         (menu-bar-options-menu, menu-bar-showhide-menu)
13962         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
13963         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
13964         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
13965         (menu-bar-options-menu, menu-bar-tools-menu)
13966         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
13967         (menu-bar-help-menu):
13968         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
13969         string arguments.
13971         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
13972         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
13973         calls for the menu names and :help.
13975 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13977         * mouse.el (minor-mode-menu-from-indicator): Pay attention
13978         to :minor-mode-function (bug#4455).
13980 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13982         * startup.el (command-line): Initialize the window-system after
13983         processing the command-line.
13985         * textmodes/page.el (what-page): Make sure we don't inf-loop if
13986         page-delimiter matches the empty string.
13988 2009-09-16  Glenn Morris  <rgm@gnu.org>
13990         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
13991         byte-compile-not-obsolete-var.  It's a list now.
13992         (byte-compile-not-obsolete-funcs): New variable.
13993         (byte-compile-warn-obsolete): Don't warn about functions if they are in
13994         byte-compile-not-obsolete-funcs.
13995         (byte-compile-variable-ref, byte-compile-defvar): Update for
13996         byte-compile-not-obsolete-vars name-change and list nature.
13997         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
13998         and variables behind (f)boundp tests.
13999         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
14001 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
14003         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
14005 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14007         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
14008         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
14009         Don't autoload.
14011 2009-09-15  Stephen Eglen  <stephen@gnu.org>
14013         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
14014         the virtual-buffers, use the name of the buffer specified by
14015         find-file-noselect, as the match may be a symlink.  (This was a
14016         problem if the target and the symlink had different names.)
14018 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14020         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
14022         * desktop.el (desktop-path): Check user-emacs-directory.
14024         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
14026         * loadup.el: Use after-load-functions to GC after loading each file.
14027         Remove the explicit GC calls that used to be sprinkled around.
14029         * subr.el (after-load-functions): New hook.
14030         (do-after-load-evaluation): Run it.  Use string-match-p to detect
14031         `obsolete' packages, rather than painfully extracting the relevant
14032         directory name.
14034 2009-09-15  Glenn Morris  <rgm@gnu.org>
14036         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
14037         free variable `doc'.
14039         * dired.el (dired-mode-map): Add menu entry for async shell command.
14041         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
14042         variables, also consider the .elc files, since the .el files are
14043         normally gzipped (subsequent code locates the .el.gz from the .elc).
14045         * calc/calc-prog.el (arglist): Define for compiler.
14047         * calendar/diary-lib.el (diary-display-function): Change the default to
14048         fancy display.
14049         (body): Define for compiler.
14051         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
14052         (byte-compile-file-form, byte-compile-lambda)
14053         (byte-compile-top-level-body, byte-compile-form)
14054         (byte-compile-variable-ref, byte-compile-setq)
14055         (byte-compile-setq-default, byte-compile-body)
14056         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
14057         (batch-byte-compile): Give some more local variables with common names
14058         a "bytecomp-" prefix to avoid masking warnings about free variables.
14060         * startup.el (command-line-1): Give local variables with common names a
14061         distinguishing prefix, so as not to hide free variable warnings during
14062         bootstrap.
14064         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
14065         clever and add a suffix to make a unique name, just let the user decide
14066         whether or not to overwrite it.  If the input is a directory, write the
14067         default filename to that directory.  (Bug#4388)
14068         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
14069         is a filename-as-a-directory.
14071 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14073         * textmodes/page.el (what-page): Don't move to beginning of line.
14074         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
14076 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
14078         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
14080 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
14082         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
14083         * help.el (help-for-help-internal): Add purecopy calls for text.
14085         * vc.el (top): print-log method now takes an optional SHORTLOG
14086         argument.  Add a new method: root.
14087         (vc-root-diff, vc-print-root-log): New functions.
14088         (vc-log-short-style): New variable.
14089         (vc-print-log-internal): Add support for showing short logs.
14091         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
14092         vc-print-root-log and vc-print-root-diff.
14094         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
14095         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
14096         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
14097         short logs.
14099         * vc-cvs.el (vc-cvs-print-log):
14100         * vc-mtn.el (vc-mtn-print-log):
14101         * vc-rcs.el (vc-rcs-print-log):
14102         * vc-sccs.el (vc-sccs-print-log):
14103         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
14104         that is ignored for now.
14106         * vc-mtn.el (vc-mtn-annotate-command):
14107         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
14109 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14111         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
14112         to function-key-map, and give them ascii-character property.
14113         * term/x-win.el (x-alternatives-map):
14114         * term/ns-win.el (ns-alternatives-map):
14115         * term/internal.el (msdos-key-remapping-map):
14116         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
14118 2009-09-14  Glenn Morris  <rgm@gnu.org>
14120         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
14121         temp-buffers (2009-09-12).
14123 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14125         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
14126         the new read-key function.
14128 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
14130         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
14131         is defined (Bug#4405).
14133 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
14135         * recentf.el (recentf-cleanup): Use a hash table to find
14136         duplicates (Bug#4407).
14138 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
14140         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
14141         kp-0 to ascii equivalents (Bug#4325).
14143 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
14145         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
14147         * eshell/em-hist.el:
14148         * eshell/em-dirs.el (eshell-complete-user-reference):
14149         Declare pcomplete functions and variables to avoid compiler warnings.
14151 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
14153         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
14154         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
14155         * eshell/em-alias.el (eshell-aliases-file):
14156         * eshell/em-hist.el (eshell-history-file-name):
14157         Use expand-file-name instead of concat to make file names (Bug#4308).
14159 2009-09-13  Glenn Morris  <rgm@gnu.org>
14161         * ediff-merg.el (ediff-do-merge):
14162         * filesets.el (filesets-run-cmd):
14163         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
14164         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
14165         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
14166         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
14167         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
14168         Replace empty `let's with `progn'.
14170 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14172         * mail/sendmail.el (send-mail-function):
14173         * tooltip.el (tooltip-mode):
14174         * simple.el (transient-mark-mode):
14175         * rfn-eshadow.el (file-name-shadow-mode):
14176         * frame.el (blink-cursor-mode):
14177         * font-core.el (global-font-lock-mode):
14178         * files.el (temporary-file-directory)
14179         (small-temporary-file-directory, auto-save-file-name-transforms):
14180         * epa-hook.el (auto-encryption-mode):
14181         * composite.el (global-auto-composition-mode):
14182         Use custom-initialize-delay.
14183         * startup.el (command-line): Don't explicitly call
14184         custom-reevaluate-setting for all the above vars.
14185         * custom.el (custom-initialize-safe-set)
14186         (custom-initialize-safe-default): Delete.
14188 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14190         * term/x-win.el (x-initialize-window-system):
14191         * term/w32-win.el (w32-initialize-window-system):
14192         * term/ns-win.el (ns-initialize-window-system): Don't call
14193         mouse-wheel-mode since it's enabled globally by default already.
14195         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
14196         actually define the variable, but only silences the byte-compiler.
14197         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
14198         before looking it up.
14199         (mouse-wheel-scroll-amount): Also reset the bindings if this value
14200         is changed.
14202 2009-09-12  Glenn Morris  <rgm@gnu.org>
14204         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
14205         1000.
14206         (elint-add-required-env): Don't beep on error.
14207         (elint-forms): In case of error, return ENV unchanged.
14208         (elint-init-env): Skip non-list forms.
14209         (elint-log): Handle unknown file positions.
14211 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
14213         * epg.el (epg-make-context): Add autoload cookie.
14214         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
14215         (epg-decrypt-string, epg-start-verify, epg-verify-file)
14216         (epg-verify-string, epg-start-sign, epg-sign-file)
14217         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
14218         (epg-encrypt-string, epg-start-export-keys)
14219         (epg-export-keys-to-file, epg-export-keys-to-string)
14220         (epg-start-import-keys, epg-import-keys-from-file)
14221         (epg-import-keys-from-string, epg-start-receive-keys)
14222         (epg-receive-keys, epg-import-keys-from-server)
14223         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
14224         (epg-sign-keys, epg-start-generate-key)
14225         (epg-generate-key-from-file, epg-generate-key-from-string):
14226         Remove autoload cookie.
14228 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
14230         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
14231         reevaluation of trash-directory.
14233         * mwheel.el: Fix last change.
14234         (mouse-wheel-mode): New defvar.
14235         (mouse-wheel-mode): Remove autoload cookie.
14237 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14239         * mwheel.el (mwheel-installed-bindings): New var.
14240         (mouse-wheel-mode): Use it, so as to make sure we really remove all
14241         the bindings we set last time.  Use custom-initialize-delay.
14242         * loadup.el: Load mwheel after term/*-win.el.
14243         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
14244         and mouse-wheel-up-event now that their first evaluation is done
14245         sufficiently late to be correct.
14247         * startup.el (tutorial-directory): Make it a defcustom.
14248         Use custom-initialize-delay rather than eval-at-startup to set it.
14249         * image.el (image-load-path): Make it a defcustom.
14250         Use custom-initialize-delay rather than eval-at-startup to set it.
14251         * subr.el (eval-at-startup): Remove.
14252         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
14254         * subr.el (do-after-load-evaluation): Warn the user after loading an
14255         obsolete package.
14257 2009-09-12  Glenn Morris  <rgm@gnu.org>
14259         * proced.el (proced-mark-alt): Remove alias.
14260         (proced-mode-map): Remove proced-mark-alt.
14262         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
14263         Elint file and directory.  Remove initialization entry.
14265         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
14266         commands.
14267         (elint-current-buffer): Set mode-line-process.
14268         (elint-init-env): Handle define-derived-mode.
14269         Fix declare-function with unspecified arglist.  Guard against odd
14270         defalias statements (eg iso-insert's 8859-1-map).
14271         (elint-add-required-env): Use a temp buffer.
14272         (elint-form): Just print the function/macro name, not the whole form.
14273         Return env unchanged if we fail to parse a macro.
14274         (elint-forms): Guard against parse errors.
14275         (elint-output): New function, to handle batch mode.
14276         (elint-log-message): Add optional argument.  Use elint-output.
14277         (elint-set-mode-line): New function.
14279 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
14281         * emacs-lisp/elp.el (elp-not-profilable): Add more
14282         functions (Bug#4233).
14284 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
14286         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
14287         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
14289 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
14291         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
14292         (gdb-var-list-children): Use json parsing.
14294 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
14296         * progmodes/js.el (js--proper-indentation): Handle the case where
14297         char-before is null.  Reported by Deniz Dogan.
14299 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
14301         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
14303 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
14305         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
14306         (epg-digest-algorithm-alist): Add SHA224.
14307         (epg-context-set-passphrase-callback)
14308         (epg-context-set-progress-callback): Add description about
14309         callback function.
14311 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
14313         * custom.el (custom-delayed-init-variables): New var.
14314         (custom-initialize-delay): New function.
14315         * startup.el (command-line): "Re"evaluate all vars in
14316         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
14317         explicitly any more.
14318         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
14319         to avoid creating a ~/.emacs.d at build-time (bug#4347).
14321         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
14323 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
14325         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
14326         (gdb-var-update-handler): Use json parsing.
14328 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
14330         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
14331         decode annotated text, regardless of language environment.  (Bug#2741)
14333 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
14335         * Makefile.in (autoloads): Make rmail.el writable as well.
14337 2009-09-11  Glenn Morris  <rgm@gnu.org>
14339         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
14340         loaddefs.el.
14341         * dired.el: Regenerate with extracted autoloads.
14342         * Makefile.in (autoloads): Make dired.el writable.
14344         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
14345         * ibuffer.el: Regenerate with extracted autoloads.
14346         * Makefile.in (autoloads): Make ibuffer.el writable.
14348         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
14349         * version.el (emacs-copyright, emacs-major-version)
14350         (emacs-minor-version): Reformat doc-strings for make-docfile.
14352         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
14353         functions and variables, since they must be stuff specific to some other
14354         platform.
14355         (apropos-print): Make mouse-click message less specific about button.
14357         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
14358         that records where a macro was defined.
14359         * help-fns.el (describe-function-1): Mention if a function has a
14360         compiler-macro.
14361         * help-mode.el (help-function-cmacro): New button.
14363         * locate.el (top-level): Always require dired.
14364         (locate-mode-map): Initialize inside the defvar.
14366         * net/ange-ftp.el (dired-compress-file): Declare.
14367         (ange-ftp-dired-compress-file): Add doc string.
14369         * term/ns-win.el (x-display-name, x-setup-function-keys):
14370         Unify doc-strings with X versions.
14372 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
14374         * emulation/crisp.el (crisp-mode-map): Move initialization
14375         into declaration.
14376         (crisp-mode): Use define-minor-mode.
14378         * progmodes/xscheme.el (xscheme-evaluation-commands):
14379         Put a :advertised-binding property rather than using
14380         advertised-xscheme-send-previous-expression.
14381         (advertised-xscheme-send-previous-expression): Declare obsolete.
14382         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
14383         `advertised-undo'.
14384         (crisp-mode): Add corresponding bindings to
14385         undo's :advertised-binding instead.
14386         * dired.el (dired-mode-map): Put a :advertised-binding property rather
14387         than using dired-advertised-find-file.
14388         (dired-advertised-find-file):
14389         * simple.el (advertised-undo):
14390         * wid-edit.el (advertised-widget-backward): Declare obsolete.
14391         (widget-keymap): Put a :advertised-binding property rather
14392         than using advertised-widget-backward.
14393         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
14394         than using advertised-undo.
14395         * tutorial.el (tutorial--default-keys): Adjust accordingly.
14397 2009-09-10  Simon South  <ssouth@slowcomputing.org>
14399         * progmodes/delphi.el (delphi-tab): Indent region when Transient
14400         Mark mode is enabled and region is active; otherwise indent or
14401         insert TAB as usual.
14402         (delphi-mode): Update description of TAB-key binding.
14404 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
14406         * subr.el (define-key-rebound-commands): Mark obsolete.
14407         * startup.el (precompute-menubar-bindings): Remove.
14408         (normal-top-level): Remove obsolete code that tried to precompute
14409         menubar bindings.
14410         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
14411         define-key-rebound-commands and precompute-menubar-bindings.
14413 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
14415         * net/imap.el (imap-interactive-login): Better messages.
14416         (imap-open): Fix bug with renamed buffer on reconnect.
14417         (imap-authenticate): Add buffer-local imap-last-authenticator variable
14418         for easier debugging and cleaner code.  On successful (guessed based on
14419         server capabilities) secondary authentication, set imap-state
14420         correctly.
14421         (imap-last-authenticator): Define imap-last-authenticator as a variable
14422         to avoid warnings.
14424 2009-09-10  Glenn Morris  <rgm@gnu.org>
14426         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
14428         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
14429         (byte-compile-file-form-autoload): Don't warn about unknown functions
14430         where the autoload statement comes after the use.
14431         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
14432         that any handlers inside the body (eg require) are in turn respected.
14434         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
14435         effects.
14437         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
14438         and syntax and abbrev tables basic docs, if they don't have any.
14440         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
14442         * international/mule-cmds.el (top-level): Require cl when compiling.
14443         (view-hello-file): Use default-value rather than
14444         default-enable-multibyte-characters.
14446         * progmodes/fortran.el: Move all safe and risky properties into the
14447         defcustoms.
14449         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
14450         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
14451         * mail/undigest.el:
14452         Put autoloads in rmail.el rather than loaddefs.el.
14453         * mail/rmail.el: Regenerate with extracted autoloads.
14455         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
14456         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
14458 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
14460         Reported in thread for Bug#4375.
14461         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
14462         "-data-evaluate-expression" instead of print.
14463         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
14464         (gdb-tooltip-print): Parse output from above MI command.
14465         (gdb): Revert 2009-08-11 change.  User should detach inferior
14466         manually.
14468         Remove the word "separate" from IO functions as inferior
14469         output is now never displayed in the GUD buffer.
14471 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
14473         * startup.el (command-line-normalize-file-name): On Windows and
14474         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
14476 2009-09-10  Juri Linkov  <juri@jurta.org>
14478         * isearch.el (isearch-text-char-description): Propertize escape
14479         character sequences with the `escape-glyph' face.  (Bug#4344)
14481         * simple.el (shell-command): Set asynchronous process filter to
14482         `comint-output-filter'.  (Bug#4343)
14484         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
14485         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
14486         the list.  Move "asm" to the bottom.
14487         (grep-find-ignored-directories): Add `choice' with nil value
14488         to empty the list easily.
14489         (grep-find-ignored-files): New option.
14490         (grep-files-history): Set to nil by default instead of '("ch" "el").
14491         (grep-compute-defaults): Add "<X>" to `grep-template'.
14492         (grep-read-files): Bind new local variables `default-alias' and
14493         `default-extension'.  Use a list of default values for the file prompt.
14494         (lgrep): Add `--exclude=' command line options composed from
14495         `grep-find-ignored-files'.
14496         (rgrep): Add `-name' command line options composed from
14497         `grep-find-ignored-files'.  (Bug#4301)
14499 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
14501         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
14502         (bug#4368).
14504 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
14506         * calendar/time-date.el (autoload):
14507         Expand define-obsolete-function-alias into defalias and make-obsolete
14508         for old Emacsen that Gnus supports.
14509         (with-no-warnings): Define it for old Emacsen.
14510         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
14511         is available.
14512         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
14513         float-time is available; suppress compile warning for time-to-seconds.
14515 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
14517         * net/imap.el (imap-message-map): Docstring fix.
14519 2009-09-09  Glenn Morris  <rgm@gnu.org>
14521         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
14522         line numbers too.  (Bug#4374)
14524 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
14526         * smerge-mode.el (smerge-remove-props, smerge-refine):
14527         Use with-silent-modifications (bug#4342).
14529         * subr.el (with-silent-modifications): New macro.
14531 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
14533         * files.el (top-level): Require `cl' when compiling.
14535 2009-09-07  Glenn Morris  <rgm@gnu.org>
14537         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
14539         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
14540         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
14542 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
14544         * vc-git.el (vc-git-annotate-command): Use separator to parse
14545         arguments correctly.
14547 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
14549         * proced.el (proced-mode): Doc fix.
14551 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
14553         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
14554         lstat fails.
14555         (tramp-do-file-attributes-with-ls): Check for file existence at
14556         remote end.
14557         (tramp-do-file-attributes-with-stat): Likewise.
14558         (tramp-convert-file-attributes): Return nil when attr is nil.
14560 2009-09-05  Glenn Morris  <rgm@gnu.org>
14562         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
14563         properties to this button.
14564         (diary-fancy-display): Don't extend the button to the final newline.
14565         (diary-fancy-display-mode): Continue to define "q" as a local key.
14567         * calendar/cal-china.el (holiday-chinese): Make it slightly more
14568         efficient.
14570         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
14572         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
14573         (byte-compile-dest-file-function): New option.
14574         (byte-compile-dest-file): Doc fix.
14575         Obey byte-compile-dest-file-function.
14576         (byte-compile-cl-file-p): New function.
14577         (byte-compile-eval): Only suppress noruntime warnings about cl functions
14578         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
14579         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
14580         than for file being previously loaded.
14581         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
14582         (byte-compile-file-form-require): Handle the case where requiring a file
14583         indirectly causes CL to be loaded.
14585 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
14587         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
14588         before killing the old buffer, since by the time `kill-buffer' is
14589         run so many buffer variables have been set to nil that it may not
14590         behave as expected.  (Bug#4061)
14592 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
14594         * files.el (find-alternate-file): If the old buffer is modified
14595         and visiting a file, behave similarly to `kill-buffer' when
14596         killing it, thus reverting to the pre-1.878 behavior; see
14597         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
14598         for discussion.  Also, consult `buffer-file-name' as a variable
14599         not as a function, for consistency with the rest of the code.
14601 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
14603         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
14604         also when adding a new directory.
14606         * net/tramp-compat.el (tramp-compat-line-beginning-position): New
14607         defun.
14609 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14611         * files.el (locate-file-completion-table): Make it provide boundary
14612         information, so partial-completion works better.
14614 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
14616         * mail/footnote.el (Footnote-text-under-cursor):
14617         Check footnote-text-marker-alist before using it (bug#4324).
14619 2009-09-04  Glenn Morris  <rgm@gnu.org>
14621         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
14622         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
14623         * play/solitaire.el, play/tetris.el:
14624         Remove leading * from defcustom and defface docs.
14626         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
14627         necessary.
14628         (diary-fancy-overriding-map): New variable.
14629         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
14630         Use view-mode.
14632         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
14633         goto-line.
14635 2009-09-03  Glenn Morris  <rgm@gnu.org>
14637         * arc-mode.el (archive-mode):
14638         * dos-fns.el (set-default-process-coding-system):
14639         * man.el (Man-getpage-in-background):
14640         * menu-bar.el (menu-bar-describe-menu):
14641         * server.el (server-process-filter):
14642         * startup.el (command-line):
14643         * tar-mode.el (tar-header-block-tokenize, tar-extract):
14644         * w32-fns.el (set-default-process-coding-system):
14645         * x-dnd.el (x-dnd-handle-file-name):
14646         * international/mule-cmds.el (mule-menu-keymap)
14647         (set-default-coding-systems, language-info-alist, set-language-info)
14648         (set-language-environment, standard-display-european-internal)
14649         (set-locale-environment):
14650         * international/mule-diag.el (mule-diag):
14651         * mail/emacsbug.el (report-emacs-bug):
14652         * mail/rmail.el (rmail-mode):
14653         * mail/sendmail.el (mail-setup):
14654         Use default-value rather than default-enable-multibyte-characters.
14656         * progmodes/f90.el: Move all safe properties into the defcustoms.
14657         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
14659         * calendar/appt.el (appt-check):
14660         * calendar/diary-lib.el (diary-set-header, diary-live-p)
14661         (diary-check-diary-file, diary-list-entries)
14662         (diary-include-other-diary-files, diary-simple-display)
14663         (diary-fancy-display, diary-print-entries)
14664         (diary-mark-included-diary-files, diary-make-entry):
14665         Don't call substitute-in-file-name on diary-file.
14667 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
14668             Stefan Monnier  <monnier@iro.umontreal.ca>
14670         * mail/footnote.el (footnote-prefix): Make it a defcustom.
14671         (footnote-mode-map): Move initialization into the declaration.
14672         (footnote-minor-mode-map): Define it rather than changing global-map.
14673         (footnote-mode): Use define-minor-mode.
14675 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
14677         * net/tramp.el (tramp-handle-file-attributes-with-ls)
14678         (tramp-do-file-attributes-with-perl)
14679         (tramp-do-file-attributes-with-stat): Rename from
14680         `tramp-handle-file-attributes-with-*'.
14681         (tramp-handle-file-attributes): Use them.
14682         (tramp-do-directory-files-and-attributes-with-perl)
14683         (tramp-do-directory-files-and-attributes-with-stat): Rename from
14684         `tramp-handle-directory-files-and-attributes-with-*'.
14685         (tramp-handle-directory-files-and-attributes): Use them.
14686         (tramp-method-out-of-band-p): Additional parameter SIZE.
14687         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
14688         (tramp-handle-write-region): Use it.
14689         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
14690         (tramp-handle-vc-registered): Check, whether the first run did
14691         return files to be tested.
14692         (tramp-advice-make-auto-save-file-name): Do not call directly
14693         `tramp-handle-make-auto-save-file-name', because this would bypass
14694         the locking mechanism.
14696         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
14697         (file-remote-p, process-file, start-file-process, set-file-times)
14698         (tramp-compat-file-attributes): Compatibility functions shall not
14699         call directly `tramp-handle-*', because this would bypass the
14700         locking mechanism.
14701         (tramp-compat-number-sequence): New defun.
14703 2009-09-02  Glenn Morris  <rgm@gnu.org>
14705         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
14706         alias for float-time.
14707         (time-to-number-of-days): In Emacs, use float-time.
14708         * net/newst-backend.el (time-add): Suppress warnings from compat
14709         function.
14710         * time.el (emacs-uptime, emacs-init-time):
14711         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
14712         Use float-time rather than time-to-seconds.
14714         * minibuffer.el (completion-initials-expand): Fix typo.
14716         * faces.el (modeline, modeline-inactive, modeline-highlight)
14717         (modeline-buffer-id):
14718         * info.el (info-menu-5): Mark these face aliases as obsolete.
14720 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
14722         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
14723         space ...
14724         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
14725         no "--thread" option.
14726         (gdb-stopped): Don't print "Switched to thread" message when it is
14727         unchanged.
14729 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14731         * minibuffer.el (completion-try-completion)
14732         (completion-all-completions): Remove ill-defined (and
14733         mistakenly installed and luckily never used nor documented)
14734         `completion-styles' property.
14735         (completion-initials-expand, completion-initials-all-completions)
14736         (completion-initials-try-completion): New functions.
14737         (completion-styles-alist): Add doc to each entry.
14738         Add new `initials' entry.
14740 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
14742         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
14743         MI command -var-evaluate-expression.
14744         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
14745         and tweak for case of string child.
14746         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
14748 2009-09-01  Glenn Morris  <rgm@gnu.org>
14750         * add-log.el (change-log-date-face, change-log-name-face)
14751         (change-log-email-face, change-log-file-face, change-log-list-face)
14752         (change-log-conditionals-face, change-log-function-face)
14753         (change-log-acknowledgement-face):
14754         * cus-edit.el (custom-invalid-face, custom-rogue-face)
14755         (custom-modified-face, custom-set-face, custom-changed-face)
14756         (custom-saved-face, custom-button-face, custom-button-pressed-face)
14757         (custom-documentation-face, custom-state-face, custom-comment-face)
14758         (custom-comment-tag-face, custom-variable-tag-face)
14759         (custom-variable-button-face, custom-face-tag-face)
14760         (custom-group-tag-face-1, custom-group-tag-face):
14761         * diff-mode.el (diff-header-face, diff-file-header-face)
14762         (diff-index-face, diff-hunk-header-face, diff-removed-face)
14763         (diff-added-face, diff-changed-face, diff-function-face)
14764         (diff-context-face, diff-nonexistent-face):
14765         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
14766         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
14767         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
14768         (Info-title-4-face):
14769         * isearch.el (isearch-lazy-highlight-face):
14770         * log-view.el (log-view-file-face, log-view-message-face):
14771         * paren.el (show-paren-match-face, show-paren-mismatch-face):
14772         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
14773         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
14774         (cvs-msg-face):
14775         * smerge-mode.el (smerge-mine-face, smerge-other-face)
14776         (smerge-base-face, smerge-markers-face):
14777         * wid-edit.el (widget-documentation-face, widget-button-face)
14778         (widget-field-face, widget-single-line-field-face)
14779         (widget-inactive-face, widget-button-pressed-face):
14780         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
14781         (woman-addition-face):
14782         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
14783         (eshell-ls-executable-face, eshell-ls-readonly-face)
14784         (eshell-ls-unreadable-face, eshell-ls-special-face)
14785         (eshell-ls-missing-face, eshell-ls-archive-face)
14786         (eshell-ls-backup-face, eshell-ls-product-face)
14787         (eshell-ls-clutter-face):
14788         * eshell/em-prompt.el (eshell-prompt-face):
14789         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
14790         * obsolete/old-whitespace.el (whitespace-highlight-face):
14791         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
14792         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
14793         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
14794         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
14795         (antlr-font-lock-literal-face):
14796         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
14797         (ebrowse-root-class-face, ebrowse-file-name-face)
14798         (ebrowse-default-face, ebrowse-member-attribute-face)
14799         (ebrowse-member-class-face, ebrowse-progress-face):
14800         * progmodes/make-mode.el (makefile-space-face):
14801         * progmodes/sh-script.el (sh-heredoc-face):
14802         * textmodes/flyspell.el (flyspell-incorrect-face)
14803         (flyspell-duplicate-face):
14804         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
14805         * textmodes/texinfo.el (texinfo-heading-face):
14806         Mark face aliases with "-face" suffix as obsolete.
14808         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
14809         compiler.
14811         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
14812         (eudc-bob-sound-menu): Use defvar rather than defconst, since
14813         easy-menu-define wants to modify these.
14815         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
14817         * net/browse-url.el (browse-url-file-url):
14818         * term/internal.el (dos-codepage-setup):
14819         Use default-value rather than default-enable-multibyte-characters.
14821         * progmodes/etags.el (etags-goto-tag-location):
14822         * progmodes/flymake.el (flymake-highlight-line)
14823         (flymake-goto-file-and-line, flymake-goto-line):
14824         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
14825         (gdb-goto-breakpoint):
14826         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
14827         * progmodes/python.el (python-find-function)
14828         (python-pdbtrack-track-stack-file):
14829         * progmodes/verilog-mode.el (verilog-surelint-off):
14830         * term/ns-win.el (ns-open-file-select-line):
14831         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
14832         Use forward-line rather than goto-line.
14834         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
14835         * textmodes/reftex-index.el (reftex-display-index):
14836         * textmodes/reftex-ref.el (reftex-offer-label-menu):
14837         * textmodes/reftex-toc.el (reftex-toc):
14838         Remove unnecessary bindings of default-major-mode (all are followed by
14839         major-mode check and possible mode switch).
14841 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
14843         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14844         Handle watchpoints (bug#4282).
14845         (def-gdb-thread-buffer-command): Enable thread to be selected by
14846         clicking without selecting threads buffer first.
14847         (gdb-current-context-command): Use selected frame so that "up",
14848         "down" etc work in the GUD buffer.
14849         (gdb-update): Find selected frame before rendering stack buffer.
14850         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
14852 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
14854         * progmodes/sym-comp.el (displayed-completions): Remove.
14855         (symbol-complete): Use minibuffer-complete.
14857 2009-08-31  Glenn Morris  <rgm@gnu.org>
14859         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
14861         * apropos.el (apropos-symbols-internal):
14862         Handle (obsolete) face aliases.
14864         * faces.el (describe-face): Adjust the output format to be more like
14865         describe-variable, and to mention (obsolete) face aliases.
14866         Adjust the whitespace so that help-setup-xref works.
14868         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
14869         * calendar/diary-lib.el (diary-button-face):
14870         Mark these face aliases as obsolete.
14872         * calendar/calendar.el (calendar-today): Doc fix.
14874 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
14876         * progmodes/gdb-mi.el (gdb-control-all-threads)
14877         (gdb-control-current-thread): Force tool bar update.
14878         (gdb-non-stop-handler): New function.
14879         (gdb-init-1): Use it to test if non-stop mode is supported.
14880         Remove unused gdbmi buffer type.
14882 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
14884         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
14885         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
14887 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
14889         * comint.el (comint-exec-1): Check command is non-null first.
14890         Part of gdb-mi.el change (2009-08-28).
14892 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14894         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
14896 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
14898         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
14899         instead of `dolist' to avoid a recursive require when bootstrapping.
14901 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14903         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
14905         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
14907         * net/imap.el (imap-send-command): Simplify.
14908         (imap-wait-for-tag): point-max -> buffer-size.
14910         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
14912         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
14913         with constant argument.
14915         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
14917         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
14919         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
14920         Change default, since most of our files don't have a history.
14921         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
14922         the user.
14924         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14925         Add comint-run.
14927         * calc/calc.el: Improve commenting convention.
14928         (calc-digit-map, toplevel): Simplify.
14930         * comint.el (comint-insert-input): Be careful to only set point if we
14931         don't delegate to some other command.
14933         * proced.el (proced-signal-list): Make it an alist.
14934         (proced-grammar-alist): Capitalize names.
14935         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
14936         Disable undo manually and make it read-only.
14937         Use completion-annotate-function.
14939         * minibuffer.el (minibuffer-message): If the current buffer is not
14940         a minibuffer, insert the message in the echo area rather than at the
14941         end of the buffer.
14942         (completion-annotate-function): New variable.
14943         (minibuffer-completion-help): Use it.
14944         (completion--embedded-envvar-table): Environment vars are
14945         always case-sensitive.
14947 2009-08-30  Glenn Morris  <rgm@gnu.org>
14949         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
14950         from fortran-current-defun.
14951         (fortran-beginning-of-subprogram): Be more precise about finding the
14952         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
14953         (fortran-end-of-subprogram): Simplify.
14954         (fortran-current-defun): Use fortran-start-prog-re.
14956 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
14958         * subr.el (do-after-load-evaluation): Simplify.
14960 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
14962         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
14964         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
14965         (vc-rcs-print-log): Use it.
14967         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
14969 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
14971         * paths.el (abbrev-file-name): Move to abbrev.el.
14972         * abbrev.el (abbrev-file-name): Move from paths.el.
14973         Obey user-emacs-directory.
14974         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
14975         user-emacs-directory.
14976         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
14977         abbrev-file-name and calc-settings-file any more.
14978         * startup.el (command-line): Recompute abbrev-file-name and
14979         abbreviated-home-dir.
14980         (normal-no-mouse-startup-screen): Improve the generic code and get rid
14981         of the special code for when C-h bindings haven't been changed.
14982         (display-startup-echo-area-message): Use with-current-buffer.
14983         (command-line-1): Use a list of strings, rather than a list of lists
14984         of strings for longopts.
14986         * files.el (get-free-disk-space): Use / for default-directory.
14988         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
14989         Use with-current-buffer.
14991         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
14992         Recognize immutable variables like most-positive-fixnum.
14993         (byte-compile-setq-default): Check and warn if trying to assign
14994         to an immutable variable, or a non-variable.
14996         * progmodes/cc-vars.el (c-comment-continuation-stars):
14997         * progmodes/cc-engine.el (c-looking-at-bos):
14998         * progmodes/cc-cmds.el (c-toggle-auto-state)
14999         (c-forward-into-nomenclature, c-backward-into-nomenclature)
15000         (c-comment-line-break-function): Add version of obsolescence.
15002 2009-08-28  Juri Linkov  <juri@jurta.org>
15004         * files.el (magic-fallback-mode-alist): Add ZIP magic number
15005         associated with `archive-mode'.
15007         * image.el (image-type-header-regexps): Use only JPEG magic number
15008         to determine JPEG images, and don't use `image-jpeg-p' because
15009         Emacs can display non-JFIF non-Exif JPEG images.
15011 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
15013         * arc-mode.el (archive-mode):
15014         * emacs-lisp/re-builder.el (re-builder-unload-function):
15015         Protect against the default value of `major-mode' being nil.
15017 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
15019         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
15020         Fix typos in docstrings.
15022         * progmodes/js.el (js--macro-decl-re): Doc fix.
15023         (js--plain-method-re, js--split-name): Refloc docstring.
15024         (js--class-styles, js--make-merged-item, js--splice-into-items):
15025         Fix typos in docstrings; reflow docstrings.
15026         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
15027         (js--variable-decl-matcher, js--inside-pitem-p)
15028         (js--parse-state-at-point, js--get-all-known-symbols)
15029         (js--symbol-history, js-find-symbol, js--js-references)
15030         (js--moz-interactor, js--js-encode-value, js--read-tab):
15031         Fix typos in docstrings.
15033 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15035         * textmodes/reftex.el (reftex-get-file-buffer-force):
15036         * progmodes/verilog-mode.el (verilog-batch-execute-func):
15037         * emulation/viper.el (viper-go-away, viper-set-hooks):
15038         * emacs-lisp/re-builder.el (re-builder-unload-function):
15039         * emacs-lisp/bytecomp.el (byte-compile-file):
15040         * ses.el (ses-unload-function):
15041         * hexl.el (hexl-find-file):
15042         * files.el (normal-mode):
15043         * ehelp.el (with-electric-help):
15044         * autoinsert.el (auto-insert-alist):
15045         * arc-mode.el (archive-mode):
15046         Use (default-value 'major-mode) instead of default-major-mode.
15048         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
15049         * international/mule.el (load-with-code-conversion):
15050         * emacs-lisp/debug.el (debug):
15051         * ediff-vers.el (ediff-rcs-get-output-buffer):
15052         * dired.el (dired-internal-noselect): Don't let-bind
15053         default-major-mode around code that doesn't use it.
15054         E.g. buffer creation via get-buffer-create doesn't use it.
15056 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
15058         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
15059         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
15060         when writing the temp file.  Otherwise, epa-file gets confused.
15061         (tramp-register-file-name-handlers): Make it a defun.  Move also
15062         `epa-file-handler' to the front of `file-name-handler-alist'.
15064 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15066         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
15067         start right after a ^M.
15068         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
15069         (tramp-completion-file-name-regexp-separate)
15070         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
15071         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
15072         Don't modify last-coding-system-used by accident.
15073         (tramp-completion-file-name-handler): Apply the checks here,
15074         instead during registration.
15075         (tramp-register-file-name-handlers): Renamed from
15076         `tramp-register-file-name-handler'.  Register both
15077         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
15078         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
15080 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
15082         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
15083         Remove variable ...
15084         (gdb-init-1, gdb-display-separate-io-buffer)
15085         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
15086         references to it.
15087         (gdb-inferior-io-mode): Use make-comint-in-buffer.
15088         (gdb-inferior-filter): Use comint-output-filter to stop
15089         echoing and remove ^M characters.
15091 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15093         * emulation/viper-init.el (viper-restore-cursor-type):
15094         * emulation/cua-base.el (cua--update-indications):
15095         Replace default-cursor-type with (default-value 'cursor-type).
15097         * mail/sendmail.el (mail-recover-1):
15098         * international/mule-diag.el (describe-current-coding-system-briefly)
15099         (describe-current-coding-system):
15100         * international/mule-cmds.el (select-safe-coding-system)
15101         (select-message-coding-system)
15102         (set-language-environment-coding-systems, set-locale-environment):
15103         * hexl.el (hexl-insert-multibyte-char):
15104         * dos-w32.el (find-buffer-file-type-coding-system):
15105         * simple.el (what-cursor-position):
15106         Replace uses of default-buffer-file-coding-system
15107         with (default-value 'buffer-file-coding-system).
15109         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
15110         Replace uses of default-cursor-in-non-selected-windows
15111         with (default-value 'cursor-in-non-selected-windows).
15112         Use with-current-buffer.
15114         * mail/feedmail.el: Use CL macros.
15115         (feedmail-run-the-queue, feedmail-send-it-immediately):
15116         * dos-w32.el (find-buffer-file-type): Replace uses of
15117         default-buffer-file-type with (default-value 'buffer-file-type).
15119 2009-08-28  Glenn Morris  <rgm@gnu.org>
15121         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
15122         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
15123         Use default-value of major-mode rather than default-major-mode.
15125 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15127         * Makefile.in (update-elcfiles): Report left over elc files.
15129         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
15130         expand-file-name and with-current-buffer.
15131         (mail-get-names, mail-directory): Use with-current-buffer.
15133         * vc.el (vc-read-revision): New function.
15134         (vc-version-diff, vc-merge): Use it.
15136 2009-08-27  Sam Steingold  <sds@gnu.org>
15138         * simple.el (kill-do-not-save-duplicates): New user option.
15139         (kill-new): When it is non-nil, and the new string is the same as
15140         the latest kill, set replace to t to avoid duplicates in kill-ring.
15142 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
15144         * net/tramp.el (tramp-handle-process-file): Do not flush all
15145         caches when `process-file-side-effects' is set.
15146         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
15147         instead of `tramp-find-file-exists-command'.
15148         Unset `process-file-side-effects'.
15150 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
15152         * net/tramp.el (tramp-methods): New method "rsyncc".
15153         (top): Add completion function for "rsyncc".
15154         (tramp-message-show-message): New defvar.
15155         (tramp-message, tramp-error): Use it.
15156         (tramp-do-copy-or-rename-file-directly): Extend check for direct
15157         remote copying.
15158         (tramp-do-copy-or-rename-file-out-of-band): Handle new
15159         `tramp-methods' entry `copy-env' of "rsyncc".
15160         (tramp-vc-registered-read-file-names): New defconst.
15161         (tramp-vc-registered-file-names): New defvar.
15162         (tramp-handle-vc-registered): Implement optimization strategy.
15163         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
15164         (tramp-vc-file-name-handler): New defun.
15165         (tramp-get-ls-command, tramp-get-test-command)
15166         (tramp-get-file-exists-command, tramp-get-remote-ln)
15167         (tramp-get-remote-perl, tramp-get-remote-stat)
15168         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
15170         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
15171         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
15172         timestamps.
15173         (tramp-get-file-property): Check for timestamps in
15174         `tramp-cache-inhibit-cache'.
15175         (tramp-set-file-property): Write timestamp.
15177 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
15179         * language/japan-util.el (japanese-symbol-table): Add entries for
15180         cp932-2-byte.
15182         * international/characters.el: Add category `j' to cp932-2-byte.
15184 2009-08-27  Kenichi Handa  <handa@m17n.org>
15186         * international/fontset.el (build-default-fontset-data): New macro.
15187         (setup-default-fontset): Use build-default-fontset-data for CJK,
15188         tibetan, ethiopic, and ipa.
15190 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15192         * cus-start.el (default-major-mode): Customize `major-mode' instead.
15193         (enable-multibyte-characters): Not customizable any more.
15195         * subr.el (default-mode-line-format, default-header-line-format)
15196         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
15197         (default-direction-reversed, default-truncate-lines)
15198         (default-left-margin, default-tab-width, default-case-fold-search)
15199         (default-left-margin-width, default-right-margin-width)
15200         (default-left-fringe-width, default-right-fringe-width)
15201         (default-fringes-outside-margins, default-scroll-bar-width)
15202         (default-vertical-scroll-bar, default-indicate-empty-lines)
15203         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
15204         (default-fringe-cursor-alist, default-scroll-up-aggressively)
15205         (default-scroll-down-aggressively, default-fill-column)
15206         (default-cursor-type, default-buffer-file-type)
15207         (default-cursor-in-non-selected-windows)
15208         (default-buffer-file-coding-system, default-major-mode)
15209         (default-enable-multibyte-characters): Mark as obsolete.
15211 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
15213         * vc-dir.el (vc-dir-update): Remove debug helper.
15215         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
15217 2009-08-26  Sam Steingold  <sds@gnu.org>
15219         * simple.el (save-interprogram-paste-before-kill): New user option.
15220         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
15221         save the interprogram-paste into kill-ring before overriding it
15222         with the Emacs kill.
15224 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
15226         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
15227         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
15228         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
15229         and move to vc-rcs.el.
15230         (vc-default-next-revision): Rename to vc-rcs-next-revision and
15231         move to vc-rcs.el.
15232         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
15233         (vc-rcs-update-changelog): Remove.
15234         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
15235         and move to vc-rcs.el.
15237         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
15238         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
15239         renaming.
15240         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
15241         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
15242         vc.el, renamed to be RCS specific.
15244         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
15245         New functions.
15246         (vc-cvs-update-changelog): Move here from vc.el.
15248         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
15249         New functions.
15251 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15253         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
15255 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
15257         * vc-git.el (vc-git-register): Use "git add" for directories.
15258         (vc-git-stash, vc-git-stash-show): New functions.
15259         (vc-git-extra-menu-map): Bind them.
15261         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
15262         directory correctly in case the item is a directory itself.
15264         * vc.el: Document the desired behavior for reverted files in the
15265         `added' state.
15266         (vc-default-prettify-state-info): Remove function, unused.
15268         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
15270 2009-08-26  Glenn Morris  <rgm@gnu.org>
15272         * bindings.el (standard-mode-line-format): Reposition dashes in
15273         which-func entry.  (Bug#4217)
15275         * files.el (enable-local-variables, enable-local-eval)
15276         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
15277         the defcustoms.
15278         (auto-mode-alist, ignored-local-variables)
15279         (save-some-buffers-action-alist): Move risky declarations to the
15280         definitions.
15281         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
15282         (font-lock-defaults, format-alist, imenu--index-alist)
15283         (imenu-generic-expression, input-method-alist, minor-mode-alist)
15284         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
15285         (mode-line-modified, mode-line-mule-info, mode-line-position)
15286         (mode-line-process, mode-line-remote, outline-level)
15287         (parse-time-rules, rmail-output-file-alist)
15288         (special-display-buffer-names, vc-mode):
15289         Move risky declarations to the relevant files.
15290         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
15291         (mode-line-modified, mode-line-process, mode-line-position)
15292         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
15293         * font-core.el (font-lock-defaults):
15294         * format.el (format-alist):
15295         * vc-hooks.el (vc-mode):
15296         * window.el (special-display-buffer-names):
15297         * international/mule-cmds.el (input-method-alist):
15298         Define riskiness here (dumped file) rather than in files.el.
15299         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
15300         * imenu.el (imenu-generic-expression, imenu--index-alist):
15301         * outline.el (outline-level):
15302         * time.el (display-time-string):
15303         * calendar/parse-time.el (parse-time-rules):
15304         * mail/rmailout.el (rmail-output-file-alist):
15305         Autoload riskiness here, rather than placing in files.el.
15307 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
15309         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
15311 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
15313         * simple.el (process-file-side-effects): New defvar.
15315         * dired-aux.el (dired-show-file-type):
15316         * vc.el (vc-diff-internal):
15317         * vc-arch.el (vc-arch-diff):
15318         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
15319         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
15320         * vc-git.el (vc-git-registered, vc-git-working-revision)
15321         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
15322         (vc-git--empty-db-p):
15323         * vc-hooks.el (vc-user-login-name):
15324         * vc-svn.el (vc-svn-registered, vc-svn-state)
15325         (vc-svn-dir-extra-headers, vc-svn-find-revision):
15326         * progmodes/grep.el (grep-probe): Let-bind
15327         `process-file-side-effects' with nil.
15329         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
15331         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
15332         daemon.  Replace ping by checking for running service for bluez
15333         and zeroconf.  (Bug#4239)
15335 2009-08-25  Kevin Ryde  <user42@zip.com.au>
15337         * net/dig.el (dig): Add autoload cookie.
15339 2009-08-25  Glenn Morris  <rgm@gnu.org>
15341         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
15342         load-history for absolute file-names.
15343         (byte-compile-file-form-require): Warn about use of the cl package.
15345         * format.el (format-alist): Doc fix.
15347         * play/bubbles.el (top-level): Don't require cl at run-time.
15349         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
15350         run-time cl).
15352 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
15354         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
15355         from cl package.
15356         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
15358 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
15360         * calc/calc-alg.el (math-trig-rewrite)
15361         (math-hyperbolic-trig-rewrite): New functions.
15362         (calc-simplify): Simplify trig functions when asked.
15364 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15366         * diff-mode.el (diff-find-source-location): Avoid goto-line.
15368 2009-08-24  Kenichi Handa  <handa@m17n.org>
15370         * language/ind-util.el (mapthread): Delete it.
15371         (combinatorial): New function.
15372         (indian--puthash-cv): Use combinatorial instead of mapthread.
15374 2009-08-22  Kevin Ryde  <user42@zip.com.au>
15376         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
15377         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
15378         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
15379         Clarify docstring that the value is strings not symbols.
15380         (checkdoc-list-of-strings-p): New function.
15382 2009-08-22  Glenn Morris  <rgm@gnu.org>
15384         * files.el (auto-mode-alist):
15385         * hippie-exp.el (he-concat-directory-file-name):
15386         * lpr.el (lpr-windows-system, printer-name):
15387         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
15388         * ps-print.el (ps-windows-system):
15389         * startup.el (command-line):
15390         * emulation/viper-ex.el (viper-glob-function):
15391         * international/mule-cmds.el (set-language-environment-coding-systems):
15392         * net/ange-ftp.el (ange-ftp-write-region):
15393         * obsolete/fast-lock.el (fast-lock-cache-name):
15394         Remove code for defunct system-types emx, macos, mswindows, next-mach,
15395         unisoft-unix, vax-vms, win32, w32.
15397         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
15398         given name if the pattern is not more specific.
15400         * calendar/lunar.el (lunar-phase-names): New option.
15401         (lunar-phase): Doc fix.
15402         (lunar-cycles-per-year): New constant.
15403         (lunar-index): New function.
15404         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
15405         (lunar-phase-name): Use lunar-phase-names.
15406         (calendar-lunar-phases): Use format.
15407         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
15409         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
15410         Copy imenu-example--name-and-position function here for own use.
15411         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
15413         * bs.el (bs--redisplay):
15414         * cus-edit.el (custom-redraw):
15415         * ibuffer.el (ibuffer-bury-buffer):
15416         * server.el (server-goto-line-column):
15417         * startup.el (command-line-1):
15418         * strokes.el (strokes-xpm-for-stroke):
15419         * term.el (term-display-buffer-line):
15420         * view.el (View-goto-line):
15421         * calc/calc.el (calc-do, calc-trail-buffer):
15422         * play/gamegrid.el (gamegrid-add-score-insecure):
15423         * progmodes/ada-mode.el (ada-compile-goto-error):
15424         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
15425         (ebrowse-select-1st-to-9nth):
15426         * progmodes/cperl-mode.el (cperl-time-fontification):
15427         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
15428         * progmodes/gud.el (gud-display-line):
15429         (idlwave-shell-display-line):
15430         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
15431         * progmodes/make-mode.el (makefile-browser-toggle):
15432         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
15433         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
15434         * textmodes/picture.el (picture-draw-rectangle):
15435         * textmodes/reftex-index.el (reftex-index-goto-letter):
15436         (reftex-select-jump-to-previous):
15437         * textmodes/reftex-sel.el (reftex-find-start-point)
15438         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
15439         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
15440         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
15441         * textmodes/tex-mode.el (tex-compilation-parse-errors):
15442         * textmodes/two-column.el (2C-associated-buffer):
15443         Use forward-line rather than goto-line.
15445         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
15446         goto-line.
15448         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
15449         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
15450         (quick-check-list-to-regexp): Declare.
15452         * progmodes/make-mode.el (makefile-browser-insert-selection):
15453         Use goto-char rather than goto-line.
15455         * progmodes/prolog.el (compilation-error-regexp-alist)
15456         (compilation-forget-errors): Declare.
15458 2009-08-22  Juri Linkov  <juri@jurta.org>
15460         * progmodes/grep.el (lgrep, rgrep): At the beginning
15461         set `dir' to `default-directory' unless `dir' is a non-nil
15462         readable directory.  (Bug#4052)
15463         (lgrep, rgrep): Change a weird way to report an error
15464         from using `read-string' to using `error'.
15465         Instead of using interactive arguments in the function body,
15466         add new argument `confirm'.
15468 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15470         * textmodes/remember.el (remember-buffer):
15471         * progmodes/cperl-mode.el (cperl-vc-header-alist):
15472         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
15473         (icalendar-extract-ical-from-buffer):
15474         * net/newst-treeview.el (newsticker-groups-filename):
15475         * net/newst-backend.el (newsticker-cache-filename):
15476         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
15477         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
15478         (speedbar-add-ignored-path-regexp, speedbar-line-path)
15479         (speedbar-buffers-line-path, speedbar-path-line)
15480         (speedbar-buffers-line-path):
15481         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
15482         (epg-sign-keys):
15483         * epa.el (epa-display-verify-result):
15484         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
15486 2009-08-21  Glenn Morris  <rgm@gnu.org>
15488         * progmodes/js.el (inferior-moz-process): Fix declaration.
15490         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
15492         * obsolete/rnewspost.el (news-mail-reply):
15493         Use goto-char rather than goto-line.
15495         * term/ns-win.el (ns-open-file-select-line):
15496         Use line-beginning-position rather than goto-line.
15498         * apropos.el (apropos-command):
15499         * ehelp.el (electric-helpify):
15500         * printing.el (pr-show-setup):
15501         * strokes.el (strokes-help):
15502         * tutorial.el (tutorial--describe-nonstandard-key)
15503         (tutorial--detailed-help):
15504         * woman.el (woman-mini-help, woman-display-extended-fonts):
15505         * calc/calc-help.el (calc-describe-key):
15506         * emulation/edt.el (edt-electric-helpify):
15507         * international/mule-diag.el (mule-diag):
15508         * play/yow.el (apropos-zippy):
15509         * progmodes/python.el (python-describe-symbol):
15510         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
15511         * textmodes/table.el (*table--cell-describe-mode)
15512         (*table--cell-describe-bindings):
15513         Use help-print-return-message rather than the now obsolete alias.
15515         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
15516         (calendar-cursor-to-visible-date):
15517         * play/5x5.el (5x5-position-cursor):
15518         * play/decipher.el (decipher):
15519         * play/gomoku.el (gomoku-goto-xy):
15520         * play/landmark.el (lm-goto-xy):
15521         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
15522         (mpuz-paint-digit):
15523         Use forward-line, not goto-line.
15525         * mail/rmail.el (rmail-obsolete): Delete custom group.
15526         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
15527         (rmail-remote-password, rmail-remote-password-required):
15528         Remove unneeded :set-after and :set properties.
15530 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
15532         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
15534 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
15536         * loadup.el: Remove leftover macos code.
15538         * vc-git.el (vc-git-annotate-command): Run asynchronously.
15539         Explicitly pass the date format to git blame so that user local
15540         so that the output format can be parsed.
15542 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
15544         * net/dbus.el (top): Don't check for (getenv
15545         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
15547 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
15549         * log-edit.el (log-edit-strip-single-file-name): New var.
15550         (log-edit-insert-changelog): Use it.  Bug#3571
15552 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15554         * subr.el (read-passwd): Use read-key so keypad keys work as well.
15555         Bug#3287
15557         * help.el (help-print-return-message): Rename from
15558         print-help-return-message.
15560         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
15561         cvs-mode-map parent hack.
15562         (log-view-mode): Derive from special-mode.
15564         * linum.el (linum-mode): window-size-change-functions is redundant.
15565         Adapt to new window-configuration-change-hook behavior.
15566         (linum-after-size, linum-after-config): Remove.
15568         * imenu.el (imenu-example--name-and-position)
15569         (imenu-example--lisp-extract-index-name)
15570         (imenu-example--create-lisp-index, imenu-example--create-c-index):
15571         Mark as obsolete.
15573         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
15574         (inferior-prolog-mode): Use it.
15575         (inferior-prolog-load-file): Reset list of errors.
15577 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
15579         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
15581         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
15583 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
15585         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
15586         is running already.
15588 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15590         * subr.el (listify-key-sequence-1): Use normal syntax since those
15591         integers are nowadays always represented by the same (positive) number
15592         on all platforms.
15593         (read-key-empty-map): New const.
15594         (read-key-delay): New var.
15595         (read-key): New function.
15596         (force-mode-line-update): Use with-current-buffer.
15597         (locate-user-emacs-file): Don't forget to abbreviate the file name.
15598         (start-process-shell-command, start-file-process-shell-command):
15599         Discourage the use of command-args.
15601 2009-08-19  Glenn Morris  <rgm@gnu.org>
15603         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
15605 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15607         * simple.el (choose-completion-string): Don't rely on
15608         minibuffer-completing-file-name and ad-hoc checks to decide whether
15609         to continue completion or not.
15611         * minibuffer.el (minibuffer-hide-completions): New function.
15612         (completion--do-completion): Use it.
15613         (completions-annotations): New face.
15614         (completion--insert-strings): Use it.
15615         (completion-pcm--delim-wild-regex): Add docstring.
15616         (completion-pcm--string->pattern): Add support for 0-width delimiters
15617         in completion-pcm--delim-wild-regex.
15619 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
15621         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
15622         Remove unused var `buffer-modified-p'.
15624         * minibuffer.el (completion--do-completion): Move point for the #b001
15625         case as well (bug#4176).
15626         (minibuffer-complete, minibuffer-complete-word): Don't move point.
15628 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
15630         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
15631         and :session buses.
15633 2009-08-18  Kenichi Handa  <handa@m17n.org>
15635         * international/ucs-normalize.el (ucs-normalize-version):
15636         Change to 1.1.
15637         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
15638         (utf-8-hfs): Make it perform normalization on encoding too.
15640         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
15641         (sentence-end-without-space): Delete duplicated chars.
15642         (sentence-end-base): Likewise.
15644         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
15645         (html-mode): Delete duplicated chars from sentence-end-base.
15647         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
15648         (texinfo-mode): Delete duplicated chars from sentence-end-base.
15650 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
15652         * files.el (hack-one-local-variable): If the mode function is for
15653         a minor mode, pass it an argument (Bug#4148).
15655 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
15657         * net/tramp.el (tramp-register-completion-file-name-handler):
15658         Check also for (member 'partial-completion completion-styles).
15660 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
15662         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
15663         abbrev (Bug#3943).
15665 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
15667         * progmodes/cperl-mode.el: Merge upstream 6.2.
15668         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
15669         (cperl-forward-re): Check cperl-brace-recursing.
15670         (cperl-highlight-charclass): New function.
15671         (cperl-find-pods-heres): Use it.
15672         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
15673         (cperl-beautify-regexp-piece): Fix column calculation.
15674         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
15675         (cperl-beautify-level): Don't process entire regexp.
15676         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
15677         calling man.
15678         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
15679         (cperl-init-faces): Build a list in the normal way.
15681 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
15683         * calendar/parse-time.el (parse-time-string-chars): Save match
15684         data.
15686 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15688         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
15689         (sql-product): Use it.
15690         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
15691         (sql-set-product): Add completion.
15692         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
15693         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
15694         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
15695         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
15696         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
15697         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
15698         (sql-highlight-db2-keywords): Remove.
15699         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
15700         (sql-highlight-product): Use derived-mode-p.
15701         (sql-set-sqli-buffer): Use with-current-buffer.
15702         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
15703         Simplify.
15705         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
15707         * term.el: Fix commenting convention, turn comments into docstrings.
15709 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
15711         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
15713 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
15715         * calendar/parse-time.el (parse-time-string-chars): Compute using
15716         character classes, to handle non-ascii characters (Bug#3190).
15718 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
15720         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
15721         another heredoc if the user adds another < (Bug#3226).
15723         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
15724         Don't initialize based on window-system (Bug#4124).
15726         * facemenu.el (facemenu-read-color): Use a completion function
15727         that accepts any defined color, such as RGB triplets (Bug#3677).
15729         * files.el (get-free-disk-space): Change fallback default
15730         directory to /.  Expand DIR argument before switching to fallback.
15731         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
15733 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
15735         * files.el (load-library): Doc fix.
15737 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
15739         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
15740         (viper-if-string): Redefine C-s in the minibuffer to insert the last
15741         incremental search string.
15743         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
15744         XEmacs.
15746         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
15747         (ediff-merge-region-is-non-clash)
15748         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
15749         Also check if the job is really a merge job.
15751         * ediff.el (ediff-current-file): New function.
15753 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
15755         * progmodes/js.el: Edit docstrings throughout to follow Emacs
15756         conventions.
15757         (js-insert-and-indent): Delete function.
15758         (js-mode-map): Don't bind keys to js-insert-and-indent.
15759         (js-beginning-of-defun): Rename from js--beginning-of-defun.
15760         (js-end-of-defun): Rename from js--end-of-defun.
15761         (js-auto-indent-flag): Delete variable.
15763 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
15765         * progmodes/js.el: Remove proclaim statement.
15766         Defvar which-func-imenu-joiner-function to silence compiler.
15768         * files.el (auto-mode-alist): Use js-mode for .js files.
15770         * progmodes/js2-mode.el: Remove file.
15772         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
15774         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
15776         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
15778 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
15779             Karl Landstrom  <karl.landstrom@brgeight.se>
15781         * progmodes/js.el: New file.
15783 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
15785         * timezone.el (timezone-parse-date): Add ability to understand ISO
15786         basic format (minimal separators) dates in addition to the
15787         already-supported extended format dates.
15789 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
15791         * international/ucs-normalize.el: Add a `coding' file variable.
15793         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
15795 2009-08-14  Sam Steingold  <sds@gnu.org>
15797         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
15799 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
15801         * faces.el (help-argument-name): Define it here instead of
15802         help-fns.el, because in daemon mode help-fns.el may be loaded when
15803         faces are still uninitialized (Bug#1078).
15805         * help-fns.el (help-argument-name): Move defface to faces.el.
15807 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
15809         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
15810         create buffer with a pty but no process so that GDB can make the
15811         inferior the controlling process.
15813 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
15815         * international/ucs-normalize.el: New file.
15817 2009-08-13  Richard Stallman  <rms@gnu.org>
15819         * mail/rmail.el (rmail-get-attr-names):
15820         Accept an attribute header that is too short.
15822         * mail/rmail.el (rmail-forget-messages):
15823         Ignore nil elt in rmail-message-vector.  Use dotimes.
15825         * progmodes/compile.el (compilation-goto-locus):
15826         Use next-error-move-function.
15828         * simple.el (next-error-move-function): New variable.
15830 2009-08-12  Juri Linkov  <juri@jurta.org>
15832         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
15833         always non-nil.  (Bug#4052)
15835         * replace.el (read-regexp): Return empty string when
15836         `default-value' is nil.
15837         (keep-lines-read-args): Don't use empty string as the
15838         default value for `read-regexp'.  (Bug#2495)
15840 2009-08-12  Juri Linkov  <juri@jurta.org>
15842         * international/mule-cmds.el (ucs-insert): Change arguments
15843         from `arg' to `character', `count', `inherit' to be the same
15844         as in `insert-char'.  Doc fix.  (Bug#4039)
15846         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
15848 2009-08-12  Juri Linkov  <juri@jurta.org>
15850         * files-x.el: New file.
15852         * files.el: Move code that deals with adding/deleting
15853         file/directory-local variables to files-x.el.
15855         * Makefile.in (ELCFILES): Add files-x.elc.
15857 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
15859         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
15860         to use `goto-line'.
15861         (gdb-place-breakpoints, gdb-get-location): Rewritten without
15862         `goto-line'.
15863         (gdb-invalidate-disassembly): Do not refresh upon receiving
15864         'update signal.  Instead, update all disassembly buffers only after
15865         threads list.
15866         (gdb): Send -target-detach when buffer is killed (Bug#3794).
15867         (gdb-starting): Moved -data-list-register-names...
15868         (gdb-stopped): ...here so it's sent when first thread stops.
15869         (gdb-registers-handler-custom): Do nothing if register names are
15870         unknown yet.
15872         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
15873         from `gdb-mi.el' to avoid extra tangling.
15875         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
15876         change which breaks `gud-def' definitions used in `gdb'.
15877         (gdb-update-gud-running): No extra fuss for updating frame number.
15879 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
15881         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
15882         (describe-language-environment-map, setup-language-environment-map)
15883         (set-coding-system-map): Move initialization into declaration.
15884         (set-language-info-alist): Last arg to define-key-after can be skipped.
15886         * international/quail.el (quail-completion-1): Simplify.
15887         (quail-define-rules): Use slightly more compact code.
15888         (quail-insert-decode-map): Propertize keys, compact columns.
15890         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15891         Add goto-line.
15893 2009-08-10  Miles Bader  <miles@gnu.org>
15895         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
15896         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
15897         (js2-instance-member, js2-private-member, js2-private-function-call)
15898         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
15899         (js2-magic-paren, js2-external-variable):
15900         Remove "-face" suffix from face names.
15901         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
15902         (js2-highlight-undeclared-vars, js2-peek-token)
15903         (js2-parse-function-params, js2-mode-show-errors)
15904         (js2-mode-show-warnings, js2-make-magic-delimiter)
15905         (js2-mode-highlight-magic-parens): Update to use new face names.
15907 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
15909         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
15910         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
15912 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
15914         * subr.el: Provide hashtable-print-readable.
15916         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
15917         hs-c-like-adjust-block-beginning.
15918         (hs-hide-block-at-point): Stop hiding at the beginning of
15919         hs-block-end-regexp (Bug#700).
15921 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
15923         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
15924         a macro.
15925         (gdb-registers-handler-custom): Do not fail when register names
15926         are unavailable.
15928 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
15930         * progmodes/gdb-mi.el (gdb-control-all-threads)
15931         (gdb-control-current-thread): Interactive setters for
15932         `gdb-gud-control-all-threads' to use in menu.
15933         (gdb-show-run-p): Show «Go» when process is not active.
15934         (gud-tool-bar-map): Add non-stop/A,T indicator.  Uses
15935         gud/thread.xpm and gud/all.xpm.
15937 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
15939         * net/net-utils.el (net-utils-font-lock-keywords): New var.
15940         (nslookup-font-lock-keywords): Make it a variable.
15941         (net-utils-mode): New mode for viewing diagnostic network output.
15942         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
15943         (net-utils-run-simple): New function.
15944         (ifconfig, iwconfig, netstat, arp, route): Use it.
15946 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
15948         * progmodes/gdb-mi.el (gdb-read-memory-custom)
15949         (gdb-memory-set-address, def-gdb-set-positive-number)
15950         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
15951         after changing settings.
15952         (gdb-invalidate-disassembly): Update when first shown.
15953         (gdb-edit-locals-value): Fixed.
15954         (gdb-registers-handler-custom): Print registers in right order and
15955         allow changing register values (only for current thread yet).
15956         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
15957         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
15958         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
15959         (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
15960         info in mode name.
15961         (gdb-registers-mode-map): TAB to switch to locals.
15963 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
15965         * mail/rmail.el (rmail-add-mbox-headers)
15966         (rmail-set-message-counters-counter): Search for
15967         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
15969 2009-08-08  Glenn Morris  <rgm@gnu.org>
15971         * Makefile.in (ELCFILES): Update.
15973 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
15975         * mail/sendmail.el (mail-yank-original): Set
15976         buffer-file-coding-system from the one used by the message whose
15977         text is yanked.
15979         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
15980         to "windows" when "pgnuplot" is used.
15981         (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
15982         call accept-process-output if "pgnuplot" is used.
15983         (calc-graph-init): Don't send -display and -geometry to
15984         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
15985         running "pgnuplot -V" with shell-command-to-string.
15987         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
15988         the default.
15990 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
15992         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
15993         org/org-latex.elc.
15995 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
15997         * vc-dispatcher.el (vc-resynch-window): Update comment.
15999         * term.el (term-handle-ansi-escape): Add comments with the
16000         terminfo capabilities implemented.
16002 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
16004         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
16005         (gdb-var-create-handler): Rewritten using JSON parser.
16006         (gdb-propertize-header): Moved earlier.
16007         (gdb-set-header): Removed to avoid duplication.
16008         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
16009         Refresh disassembly buffers only after threads list have been
16010         update.
16011         (gdb-threads-header, gdb-registers-header): Per-buffer header line
16012         variables.
16014 2009-08-04  Juri Linkov  <juri@jurta.org>
16016         * files.el: Commands to add/delete file/directory-local variables.
16017         (read-file-local-variable, read-file-local-variable-value)
16018         (read-file-local-variable-mode, modify-file-local-variable)
16019         (modify-file-local-variable-prop-line)
16020         (modify-dir-local-variable): New functions.
16021         (add-file-local-variable, delete-file-local-variable)
16022         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
16023         (add-dir-local-variable, delete-dir-local-variable)
16024         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
16025         (copy-dir-locals-to-file-locals-prop-line): New commands.
16027 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
16029         * abbrev.el (insert-abbrev-table-description): Prettify output.
16030         Suggested by Karl Chen.
16032 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
16034         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
16035         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
16036         (gdb-overlay-arrow-position, gdb-thread-position)
16037         (gdb-disassembly-position): Declare variables.
16038         (gdb-wait-for-pending): Function now.
16039         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
16040         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
16041         compilation goes smoothly.
16042         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
16043         (gdb-non-stop-setting): New customization setting which replaces
16044         `gdb-non-stop' so changing it doesn't break active GDB session.
16045         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
16046         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
16047         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
16048         (gdb-show-threads-by-default): New customization options.
16049         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
16050         routines.
16051         (gdb-get-buffer-create): Send buffers update signal when they are
16052         created.
16053         (gdb-invalidate-locals, gdb-invalidate-registers)
16054         (gdb-invalidate-breakpoints)
16055         (gdb-invalidate-threads, gdb-invalidate-disassembly)
16056         (gdb-invalidate-memory): Accept update signal.
16057         (gdb-current-context-command): Use --frame option.
16058         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
16059         Implement `gdb-frame-number' selection logic.
16060         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
16061         whether to show GUD toolbar buttons.
16062         (gdb-thread-exited): Unselect current thread when it exits.
16063         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
16064         (gdb-mark-line): Routine which sets overlay arrow or inverses
16065         video on fringeless displays.
16066         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
16067         to build aligned columns of data in GDB buffers and set text
16068         properties line-by-line.
16069         (gdb-invalidate-breakpoints)
16070         (gdb-breakpoints-list-handler-custom)
16071         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
16072         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
16073         (gdb-registers-handler-custom): Align data columns.
16074         (gdb-locals-handler-custom): Now prints data like in variable
16075         declarations.
16076         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
16077         Removed confusing buttons.
16078         (gdb-invalidate-threads): Append --frame.
16079         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
16080         between breakpoints/threads buffers.
16081         (gdb-set-window-buffer): Now can ignore dedicated windows.
16082         (gdb-propertize-header): Use `gdb-set-window-buffer'.
16083         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
16084         (def-gdb-thread-buffer-gud-command): Replaces
16085         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
16086         for fine thread control.
16087         (gdb-preempt-existing-or-display-buffer): New function used to
16088         display bound buffers without breaking window layout.
16089         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
16090         (gdb-select-frame): New version of `gdb-frames-select' which now
16091         sets `gdb-frame-number' so commands may use --frame option instead
16092         of inner debugger state.
16093         (gdb-frame-handler): Do not set `gdb-frame-number'.
16094         (gdb-threads-mode-map): Select threads with mouse.
16096         * progmodes/gud.el (gdb-gud-context-call): Declare function to
16097         avoid compilation warning.
16098         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
16099         `gdb-show-stop-p`.
16101         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
16102         Argument `key' renamed to `buffer-type'.
16103         (gdb-current-context-buffer-name): Do not add thread info to
16104         buffer name when no thread is selected.
16105         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
16106         command (bug 3794).
16107         (gdb-thread-selected): Handle `=thread-selected' notification.
16108         (gdb-wait-for-pending): New macro to deal with congestion problems.
16109         (gdb-breakpoints-list-handler-custom): Don't fail on pending
16110         breakpoints.
16111         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
16112         This fixes problem similar to one described in bug 3947.
16113         (gud-menu-map): More menu items.
16114         (gdb-init-1): Reset `gdb-thread-number' to nil.
16116         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
16117         non-stop settings.
16119         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
16120         (gdb-current-context-command): Do not append --thread if
16121         `gdb-thread-number' is nil.
16122         (gdb-running-threads-count, gdb-stopped-threads-count): New
16123         variables.
16124         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
16125         (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
16126         customization options.
16127         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
16128         GUD commands.
16129         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
16130         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
16131         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
16132         set `gdb-thread-number' and update `gud-running' properly.
16133         (gdb-running): Update threads list when new threads appear.
16134         (gdb-stopped): Support non-stop operation and new thread switching
16135         logic.
16136         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
16137         (gdb-json-partial-output): New set of JSON routines.
16138         (def-gdb-auto-update-trigger): New `signal-list' optional
16139         argument.
16140         (gdb-thread-list-handler-custom): Update `gud-running',
16141         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
16142         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
16143         (gdb-continue-thread, gdb-step-thread): New commands for fine
16144         thread execution control.
16145         (gud-menu-map): New menu items to switch non-stop options.
16146         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
16147         (gdb-send): Mimic RET properly (bug 3794).
16149         * progmodes/gdb-mi.el (gdb-rules-name-maker)
16150         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
16151         gdb-buffer-rules.
16152         (def-gdb-auto-update-handler): New nopreserve optional argument.
16153         (gdb-stack-list-frames-custom): Print stack from top to bottom.
16155         * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
16156         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
16157         (gdb-parent-mode): New mode to derive other GDB modes from.
16158         (gdb-display-disassembly-for-thread)
16159         (gdb-frame-disassembly-for-thread): New commands for threads
16160         buffer.
16162         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
16163         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
16164         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
16165         (gdb-update): We now store all GDB buffers in a list so that they
16166         can be updated by traversing a list instead of calling invalidate
16167         triggers explicitly.
16168         (def-gdb-trigger-and-handler): New macro to define trigger-handler
16169         pair for GDB buffer.
16170         (gdb-stack-buffer-name): Add thread information.
16171         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
16172         handle pending triggers.
16173         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
16174         (def-gdb-thread-buffer-simple-command)
16175         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
16176         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
16177         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
16178         New commands which show buffers bound to thread.
16179         (gdb-stack-list-locals-regexp): Removed unused regexp.
16181         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
16182         (gdb-locals-buffer-name, gdb-registers-buffer-name)
16183         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
16184         to (gud-comint-buffer) in *-buffer-name functions
16185         because (gdb-get-target-string) already does that.
16186         (gdb-locals-handler-custom, gdb-registers-handler-custom)
16187         (gdb-changed-registers-handler): Rewritten without regexps.
16189         * progmodes/gdb-mi.el: Basic thread selection support.
16190         (gdb-thread-number): New variable.
16191         (gdb-current-context-command): New macro which adds --thread
16192         option to command.
16193         (gdb-threads-mode-map): Select thread with SPC.
16194         (gdb-thread-list-handler-custom): Mark current thread with overlay
16195         arrow.  Synchronize GDB thread and Emacs thread.
16196         (gdb-select-thread): New command which selects current thread.
16197         (gdb-invalidate-frames, gdb-invalidate-locals)
16198         (gdb-invalidate-registers): Use --thread option.
16200 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
16202         * net/tramp.el (top): Make check for tramp-gvfs loading more
16203         robust.  (Bug#3977)
16204         (tramp-handle-insert-file-contents): `unwind-protect' must be
16205         inside `with-parsed-tramp-file-name'.
16207         * net/tramp-gvfs.el (top): Remove superfluous message when loading
16208         fails.
16210 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
16212         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
16213         directory if CLASSPATH is not set.
16215 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
16217         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
16218         New defconst.
16219         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
16221 2009-08-02  Kevin Ryde  <user42@zip.com.au>
16223         * net/newst-backend.el (newsticker--raw-url-list-defaults):
16224         Update freshmeat link.  Delete newsforge.com as it seems gone.
16226 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
16228         * select.el (x-set-selection): Doc fix (Bug#4021).
16230         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
16232         * help-fns.el (describe-variable): Treat list return values from
16233         dir-locals-find-file properly (Bug#4005).
16235 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
16237         * net/tramp.el (tramp-debug-message): Print also microseconds.
16239 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
16241         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
16242         or END is non-nil.
16243         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
16244         (tramp-get-debug-buffer): Change `outline-regexp' according to new
16245         format.
16247         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
16248         (tramp-get-file-property): Use it.
16250         * autorevert.el (auto-revert-handler): Allow
16251         `auto-revert-tail-mode' for remote files.
16253 2009-08-02  Jason Rumney  <jasonr@gnu.org>
16255         * minibuffer.el (read-file-name): Treat confirm options to
16256         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
16258 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
16260         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
16261         (font-lock-variable-name-face, font-lock-constant-face): Darken
16262         the colors for light backgrounds.
16264 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
16266         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
16267         month names.  (Bug#3987)
16269 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
16271         * simple.el (line-move-finish): Pass whole number to
16272         line-move-to-column.
16273         (line-move-visual): Perform hscroll to the recorded position.
16275 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
16277         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
16279 2009-07-29  Alan Mackenzie  <acm@muc.de>
16281         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
16283 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
16285         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
16286         (gdb-place-breakpoints): Use full path when setting breakpoints.
16288 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
16290         * calc/calc.el (calc-mode-map): Add keybinding for
16291         `calc-transpose-lines'.
16293 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
16295         * calc/calc-misc.el (calc-transpose-lines): New function.
16297 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
16299         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
16300         Simplify check for out-of-band methods.
16301         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
16302         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
16304 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
16306         * vc-git.el (vc-git-checkin): Fix typo.
16308 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
16310         * progmodes/js2-mode.el: New file.
16312 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
16314         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
16315         (gud-menu-map): Adjust tooltip accordingly.
16317 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
16319         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
16320         (vc-bzr-log-view-mode): Adjust log-view-file-re.
16322         * add-log.el (change-log-mode-map): Add a menu.
16324 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
16326         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
16327         function returns nil.
16328         (dbus-handle-event): Handle special return value :ignore.
16329         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
16331 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
16333         * view.el (view-mode-enable): Don't define Helper-return-blurb if
16334         it's not needed.
16336 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
16338         Fix Bug#3888:
16340         * w32-vars.el (x-select-enable-clipboard): Doc fix.
16342         * term/pc-win.el (x-display-name, x-colors)
16343         (x-select-enable-clipboard, x-select-text): Doc fix.
16345         * term/common-win.el (x-display-name, x-colors): Doc fix.
16347         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
16348         (xw-defined-colors): Doc fix.
16350         * w32-fns.el (x-select-text, x-setup-function-keys)
16351         (x-get-selection, x-set-selection): Doc fix.
16353         * term/x-win.el (x-select-text, x-setup-function-keys)
16354         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
16356         * select.el (x-set-selection): Doc fix.
16358 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
16360         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
16361         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
16362         "IsNSSSupportAvailable" method is not available.  Reported by
16363         Steve Youngs <steve@sxemacs.org>.
16365 2009-07-24  Kenichi Handa  <handa@m17n.org>
16367         * international/characters.el: Fix setting of category ?C, ?|, ?K,
16368         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
16369         (build-unicode-category-table): Fix range checks.
16371 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
16373         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
16374         the buffer we try to sync is current when calling
16375         vc-resynch-buffer.
16377         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
16378         not show up to date files.
16380 2009-07-24  Glenn Morris  <rgm@gnu.org>
16382         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
16383         Add autoload cookies.  If necessary, initialize.
16384         (elint-log): Handle non-file buffers.
16385         (elint-initialize): Add optional argument to reinitialize.
16386         (elint-find-builtin-variables): Save excursion.
16388 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
16390         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
16391         for Lint.
16393 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
16395         * vc.el (vc-print-log-internal): New function, split out from ...
16396         (vc-print-log): ... here.
16397         (vc-dir-move-to-goal-column): Declare.
16399         * vc-git.el (vc-git-add-signoff): New variable.
16400         (vc-git-checkin): Use it.
16401         (vc-git-toggle-signoff): New function.
16402         (vc-git-extra-menu-map): Bind it to menu.
16403         (vc-git--run-command-string): Accept a nil FILE argument.
16404         (vc-git-stash-list): New function.
16405         (vc-git-dir-extra-headers): Use it.
16407 2009-07-23  Glenn Morris  <rgm@gnu.org>
16409         * help-fns.el (describe-variable): Describe ignored and risky local
16410         variables in a similar way to that in which we describe safe ones.
16412         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
16413         (byte-compile-output-file-form, byte-compile-output-docform)
16414         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
16415         Give some more local variables with common names a "bytecomp-" prefix,
16416         so as not to shadow things during compilation.
16417         * emacs-lisp/cl-macs.el (load-time-value)
16418         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
16419         `outbuffer' to `bytecomp-outbuffer'.
16421         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
16422         since the next two variables cover them automatically now.
16423         (elint-builtin-variables, elint-autoloaded-variables): New.
16424         (elint-unknown-builtin-args): Remove all members, since they can be
16425         parsed automatically now.
16426         (elint-extra-errors): New.
16427         (elint-env-add-env, elint-env-add-macro): Use cadr.
16428         (elint-current-buffer): Use or.  Change final message.
16429         (elint-get-top-forms): Use line-end-position.
16430         (elint-init-env): Use cadr.  Handle autoload, declare-function,
16431         and defalias.
16432         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
16433         (regexp-assoc): Remove unused function.
16434         (elint-top-form): Set elint-current-pos, to record the start of the
16435         top-level form, for compilation-mode.
16436         (elint-form): Trap errors in macro expansion.  Use dolist.
16437         (elint-unbound-variable): Use elint-builtin-variables and
16438         elint-autoloaded-variables.
16439         (elint-get-args): Use cadr, or.
16440         (elint-check-cond-form): Use dolist, cadr.
16441         (elint-check-condition-case-form): Doc fix.  Use cadr.
16442         Use elint-extra-errors.
16443         (elint-log): New function.
16444         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
16445         Distinguish errors and warnings.
16446         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
16447         Use a bytecomp-style format.
16448         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
16449         (elint-get-log-buffer): Use compilation mode.  Disable undo.
16450         Don't truncate lines.
16451         (elint-initialize): Set builtin and autoloaded variable lists.
16452         Only process elint-unknown-builtin-args if non-nil.
16453         (elint-find-builtin-variables, elint-find-autoloaded-variables):
16454         New functions.
16455         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
16457 2009-07-22  Kevin Ryde  <user42@zip.com.au>
16459         * net/newst-backend.el (newsticker--parse-atom-1.0)
16460         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
16461         (newsticker--parse-rss-1.0):
16462         * progmodes/idlwave.el (idlwave-mode):
16463         * progmodes/idlw-shell.el (idlwave-shell-mode):
16464         * progmodes/vera-mode.el (vera-mode):
16465         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
16466         * progmodes/vhdl-mode.el (vhdl-mode):
16467         * textmodes/table.el (table-generate-source)
16468         (table--warn-incompatibility):
16469         Hyperlink urls in docstrings with URL `...'.
16471 2009-07-22  Glenn Morris  <rgm@gnu.org>
16473         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
16474         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
16475         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
16476         Remove leading * from defcustom docs.
16478         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
16480         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
16481         defcustom doc.
16482         (list-load-path-shadows): Optionally, just return shadows as a string.
16484         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
16486 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
16488         * mail/rmailedit.el (rmail-edit-mode): Use
16489         auto-save-include-big-deletions.
16491         * mail/rmail.el (rmail-variables): Use
16492         auto-save-include-big-deletions.
16494         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
16495         changes.
16497 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
16499         * calc/calc.el (calc-undo-length): New variable.
16500         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
16502 2009-07-21  Richard Stallman  <rms@gnu.org>
16504         * files.el (auto-save-mode): Handle buffer-save-size = -2
16505         for toggling mode.
16507 2009-07-21  Glenn Morris  <rgm@gnu.org>
16509         * textmodes/ispell.el (ispell-looking-back): Update declaration.
16511         * calendar/todo-mode.el (calendar-current-date): Update declaration.
16513         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
16514         silence compiler.  Instead...
16515         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
16516         (ps-print-ensure-fontified): Update for above function name changes.
16518         * printing.el (pr-mh-get-msg-num, pr-mh-show)
16519         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
16520         silence compiler.  Instead...
16521         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
16522         (mh-show-buffer): Only define for compiler.
16523         (pr-mh-current-message): Update for above function name changes.
16525         * files.el (abort-if-file-too-large): Explicitly pass `filename'
16526         as an argument.
16527         (find-file-noselect, insert-file-1): Update for above change.
16529         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
16531         * mail/mailclient.el (mailclient-send-it): Fix message.
16533         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
16534         (edebug-eval): Check cl-debug-env is bound.
16535         (print-level, print-circle): Don't redefine built-in variables.
16537         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
16538         (custom-print-vectors): Remove old comments from doc.
16540         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
16541         (emerge-version): Make the variable an obsolete alias for the
16542         emacs-version variable.  Make the function obsolete.
16543         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
16544         Emerge options, rather than merging in into the main Options menu.
16545         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
16546         and auto advance modes.  Disable edit/fast items when not relevant.
16548 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
16550         * term/vt420.el (terminal-init-vt420): Fix typo.
16552 2009-07-20  Sam Steingold  <sds@gnu.org>
16554         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
16555         variable (removed from compile.el on 2004-03-11).
16557 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
16559         * files.el (hack-local-variables-filter): Fix last change.
16561 2009-07-19  Juri Linkov  <juri@jurta.org>
16563         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
16564         (dir-local-variables-alist): New buffer-local variable.
16565         (hack-local-variables-filter): If variable is not dir-local,
16566         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
16567         because file-local overrides dir-local.
16568         (c-postprocess-file-styles) <declare-function>:
16569         Remove obsolete declaration.
16570         (hack-dir-local-variables): Add dir-local variable/value pair to
16571         `dir-local-variables-alist' and remove duplicates.  Doc fix.
16573         * help-fns.el (describe-variable): Add information about
16574         file-local and dir-local variables.
16576 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
16578         * files.el (hack-local-variables-filter): Rewrite.
16580 2009-07-19  Glenn Morris  <rgm@gnu.org>
16582         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
16583         Silence compiler by only defining on XEmacs.
16585         * international/mule.el (auto-coding-regexp-alist): Only match
16586         BABYL... at the start of buffer, not of lines.  (Bug#3790)
16588         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
16589         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
16590         (cal-menu-context-mouse-menu): Doc fix.
16592         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
16594         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
16596 2009-07-18  Juri Linkov  <juri@jurta.org>
16598         * info.el: Virtual Info keyword finder.
16599         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
16600         (Info-finder-file): New variable.
16601         (Info-finder-find-file): New function.
16602         (finder-known-keywords, finder-package-info)
16603         (find-library-name, lm-commentary): Use defvar and
16604         declare-function to silence compiler warnings.
16605         (Info-finder-find-node): New function.
16606         (info-finder): New command.
16608         * subr.el (process-kill-buffer-query-function): New function.
16609         (add-hook)<kill-buffer-query-functions>: Add hook
16610         `process-kill-buffer-query-function'.
16612 2009-07-18  Alan Mackenzie  <acm@muc.de>
16614         * progmodes/cc-mode.el (c-before-hack-hook)
16615         (c-postprocess-file-styles): Give invocation of `c-set-style'
16616         DONT-OVERRIDE parameter of t.  Already set style variables will
16617         thus not be overridden by style settings given by `c-file-syle'.
16619         * files.el (hack-local-variables-filter): Remove entries with
16620         duplicate keys from `file-local-variables-alist'.
16622 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
16624         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
16625         x-set-selection if display-selections-p returns nil for the
16626         current frame.
16628 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
16630         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
16632 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
16634         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
16635         Accept nil in addition to a regexp.
16636         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
16637         Accept nil in addition to a regexp.
16638         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
16639         buffers that have an associated file.  Handle nil values of
16640         desktop-buffers-not-to-save and desktop-files-not-to-save.
16641         (Bug#3833)
16643         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16644         (x-disown-selection-internal): New functions.
16646 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
16648         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
16649         warning.
16650         (gdb-breakpoints-header): Move forward to avoid compiler warning.
16651         (gdb-make-header-line-mouse-map): Remove duplicate definition.
16653 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
16655         * simple.el (set-mark): Revert last change.
16657 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
16659         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
16660         rendering of pngs is not possible instead of messaging a long
16661         description.
16663 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
16665         * w32-fns.el (x-selection-owner-p): New function.
16667         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
16668         (mouse-yank-at-click, mouse-yank-primary): If
16669         select-active-regions is non-nil, deactivate the mark before
16670         insertion.
16672         * simple.el (deactivate-mark, set-mark): Only save selection if we
16673         own it.
16675 2009-07-17  Kenichi Handa  <handa@m17n.org>
16677         * case-table.el (describe-buffer-case-table): Fix for the case
16678         that KEY is a cons.
16680 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
16682         * vc-rcs.el (vc-rcs-find-file-hook):
16683         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
16685 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
16687         * net/tramp.el (tramp-wait-for-output): Handle the case when
16688         commands do not return a newline but a null byte before the shell
16689         prompt.  (Bug#3858)
16691 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
16693         * term/ns-win.el (ns-set-alpha): Don't declare.
16694         (ns-set-background-alpha): Remove function.
16696 2009-07-16  Kevin Ryde  <user42@zip.com.au>
16698         * emacs-lisp/copyright.el (copyright-update): Save match-data across
16699         y-or-n-p, for safety.
16701 2009-07-16  Richard Stallman  <rms@gnu.org>
16703         * files.el (auto-save-mode): If buffer-saved-size is -2,
16704         don't clobber it.
16706         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
16707         (rmail-retry-ignored-headers): Add more uninteresting fields.
16709 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
16711         * net/rcirc.el (rcirc): Use history variables.
16712         (rcirc-server-name-history, rcirc-nick-name-history)
16713         (rcirc-server-port-history): New variables.
16715 2009-07-15  Kenichi Handa  <handa@m17n.org>
16717         * international/mule-cmds.el (set-language-environment-charset):
16718         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
16719         ignore them.
16721         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
16722         Delete unibyte-display.
16724 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
16726         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
16728 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
16730         * simple.el (deactivate-mark): Optional argument FORCE.
16731         (set-mark): Use deactivate-mark.
16733         * info.el (Info-search): No need to check transient-mark-mode
16734         before calling deactivate-mark.
16736         * select.el (x-set-selection): Doc fix.
16737         (x-valid-simple-selection-p): Allow buffer values.
16738         (xselect--selection-bounds): Handle buffer values.  Suggested by
16739         David De La Harpe Golden.
16741         * mouse.el (mouse-set-region, mouse-drag-track): Call
16742         copy-region-as-kill before setting the mark, to let
16743         select-active-regions work.
16745 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
16747         * simple.el (deactivate-mark): If select-active-regions is
16748         non-nil, copy the selection data into a string.
16749         (activate-mark): If select-active-regions is non-nil, set the
16750         selection to the current buffer.
16751         (set-mark): Update selection if select-active-regions is non-nil.
16753         * select.el (x-valid-simple-selection-p): Allow buffer values.
16755 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16757         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
16758         and more featureful message-mode.
16760 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
16762         * select.el (x-set-selection): Doc fix.
16763         (x-valid-simple-selection-p): Disallow selection data consisting
16764         of a list or cons of integers, since that is not used.
16765         (xselect--selection-bounds, xselect--int-to-cons): New functions.
16766         (xselect-convert-to-string, xselect-convert-to-length)
16767         (xselect-convert-to-filename, xselect-convert-to-charpos)
16768         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
16770 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
16772         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
16773         output in -break-info command (Emacs bug #3794).
16775 2009-07-14  Glenn Morris  <rgm@gnu.org>
16777         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
16778         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
16779         (edebug-print-length, edebug-print-level, edebug-print-circle)
16780         (edebug-sit-for-seconds, edebug-view-outside)
16781         (edebug-bounce-point, edebug-set-global-break-condition)
16782         (edebug-Go-nonstop-mode, edebug-trace-mode)
16783         (edebug-Trace-fast-mode, edebug-continue-mode)
16784         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
16785         (edebug-visit-eval-list): Doc fixes.
16787         * subr.el (def-edebug-spec): Doc fix.
16789 2009-07-14  Kenichi Handa  <handa@m17n.org>
16791         * international/characters.el: Fix setting of category ?C.
16793 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
16795         * term/ns-win.el (x-select-font): defalias x-select-font to
16796         ns-popup-font-panel instead of generate-fontset-menu.
16798 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
16800         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
16802 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
16804         * arc-mode.el (archive-find-type): Allow for a PK00 string before
16805         the PK\003\004 header (Bug#3770).
16807 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
16809         * pcomplete.el (pcomplete-comint-setup): Check for
16810         shell-dynamic-complete-filename too.
16812 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
16814         * simple.el (temporary-goal-column): Change the value for
16815         line-move-visual to a cons cell.
16816         (line-move-visual): Record or set the window hscroll, if
16817         necessary (Bug#3494).
16818         (line-move-1): Handle cons value of temporary-goal-column.
16820 2009-07-11  Kenichi Handa  <handa@m17n.org>
16822         * international/mule-diag.el (describe-character-set): Don't show
16823         width.
16825 2009-07-10  Sam Steingold  <sds@gnu.org>
16827         * progmodes/compile.el (compilation-mode-font-lock-keywords):
16828         Omake sometimes indents the errors it prints, so allow all
16829         regexps to start with spaces.
16831 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
16833         * cus-edit.el (customize-changed-options-previous-release):
16834         Bump value to 22.1.  (Bug#3804)
16836 2009-07-08  Sam Steingold  <sds@gnu.org>
16838         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
16839         to be a cons cell (test . ignored-directory) to selectively ignore
16840         some directories depending on the location of the search.
16842 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
16844         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
16845         remote user is root, on the local host.
16846         (tramp-local-host-p): Either the local user or the remote user
16847         must be root.  (Bug#3771)
16849 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
16851         * progmodes/gdb-mi.el (gdb): Remove description of
16852         gdb-use-separate-io-buffer.
16853         (menu): Don't allow toggling of or enable
16854         gdb-use-separate-io-buffer from menubar.
16856 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
16858         * mail/unrmail.el (unrmail): Make sure the message ends with two
16859         newlines (Bug#3769).
16861 2009-07-08  Glenn Morris  <rgm@gnu.org>
16863         * calendar/calendar.el (calendar-current-date): Rework previous change.
16865 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
16867         * calendar/calendar.el (calendar-current-date):
16868         Add an optional argument giving an offset from today.
16870 2009-07-08  Glenn Morris  <rgm@gnu.org>
16872         * tutorial.el (tutorial--describe-nonstandard-key):
16873         Adjust the message for when a key has been unbound.
16874         (help-with-tutorial): Hide the arch-tag.
16876 2009-07-08  Kenichi Handa  <handa@m17n.org>
16878         * international/fontset.el (setup-default-fontset): For each
16879         script, append (not set) font-specs.
16881         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
16882         docstring.
16884 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
16886         * progmodes/gdb-mi.el (gdb-init-1): Move sending
16887         -data-list-register-names to ...
16888         (gdb-starting): ... here because GDB 7.0 requires execution to
16889         have started when using this MI command.
16890         (gdb-set-header): New function to distinguish select and
16891         unselected tabs in gdb buffers.
16892         (gdb-propertize-header): New macro that uses gdb-set-header.
16893         (gdb-breakpoints-header, gdb-locals-header): Use it.
16894         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
16896 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
16898         * Makefile.in (ELCFILES): Remove fadr.elc.
16900 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
16902         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
16903         may contain frame information, so `string-match' should be used.
16904         (gdb-update): Disassembly is invalidated through
16905         `gdb-get-selected-frame'.
16906         (gdb-pad-string): New function to pad string with spaces.
16907         (gdb-invalidate-disassembly): Invalidate only if the buffer
16908         exists.
16909         (gdb-disassembly-handler-custom): Column alignment.
16910         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
16911         placing new ones.
16912         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
16913         end of line, too.
16914         (gdb-frame-handler): Match convention to for disassembly buffer
16915         mode name.
16916         (gdb-stack-list-frames-handler): Rewritten without regexps.
16917         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
16918         not highlight breakpoints without line information.
16919         (gdb-input): Add trailing newline to command.
16921         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
16922         buffer properly.
16923         (gdb-breakpoints-list-handler-custom): Replacement for
16924         `gdb-break-list-handler'.  Using real parser instead of regexps
16925         now.
16926         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
16927         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
16928         to place breakpoints.
16929         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
16930         functions.
16931         (gdb-disassembly-handler-custom): Show overlay arrow.
16932         (gdb-disassembly-place-breakpoints): Show breakpoints in
16933         disassembly buffer.
16934         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
16935         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
16936         instead of parsing breakpoints buffer.  Fixed old menu references
16937         in `gud-menu-map'.
16939         * fadr.el: Remove.
16941         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
16942         (gdb-memory-address): New variable which holds top address of
16943         memory page shown in memory buffer.
16944         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
16945         customization variables.
16946         New functions:
16947         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
16948         display the memory buffer.
16949         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
16950         buffer display parameters.
16951         (def-gdb-memory-format, gdb-memory-format-binary)
16952         (gdb-memory-format-octal, gdb-memory-format-unsigned)
16953         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
16954         Functions for setting memory buffer format.
16955         (gdb-memory-unit-word, gdb-memory-unit-halfword)
16956         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
16957         unit size used in memory buffer.
16958         (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
16959         to next/previous page of memory buffer.
16960         Now using (bindat-get-field) instead of fadr functions.
16962 2009-07-07  Sam Steingold  <sds@gnu.org>
16964         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
16965         non-top-level files.
16967 2009-07-07  Kenichi Handa  <handa@m17n.org>
16969         * international/mule-cmds.el (reset-language-environment): Put
16970         the highset priority to the charset iso-8859-1.
16972 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
16974         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
16975         to the end of the line when locating the block (Bug#700).
16977 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
16979         * net/tramp.el (tramp-handle-write-region): Flush file properties
16980         in case of short track.
16982 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
16984         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
16985         Coded custom representation of verilog error regular expressions
16986         to work with Emacs-22's new format.
16987         (verilog-error-regexp-xemacs-alist): Coded custom representation
16988         of verilog error regular expressions to work with XEmacs format.
16989         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
16990         error recognition into XEmacs.
16991         (verilog-error-regexp-add-emacs): Hook routine to install verilog
16992         error recognition into Emacs-22.
16994 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
16996         * woman.el: Remove stand-alone closing parentheses.
16997         (woman-file-name, woman2-format-paragraphs)
16998         (woman-leave-blank-lines): Code cleanup.
16999         (woman-use-own-frame): Change default to nil.
17000         (woman-italic, woman-bold, woman-unknown, woman-addition): Change
17001         defaults to inherit from default faces.
17002         (woman2-process-escapes): Consume the newline after a stand-alone
17003         filler character (Bug#3651).
17005 2009-07-06  Glenn Morris  <rgm@gnu.org>
17007         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
17008         (top-level): Move provide to the end.
17009         (ffap): Remove defunct URL from custom group.
17011         * subr.el (eval-after-load): Doc fix.
17013 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
17015         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
17016         `calc-embedded-word' is called twice.
17018 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17020         * files.el (find-alternate-file-other-window, find-alternate-file):
17021         Obey confirm-nonexistent-file-or-buffer.
17023 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
17025         * dired-aux.el (dired-show-file-type): Handle remote files.
17027 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
17029         * desktop.el (desktop-globals-to-save):
17030         Add file-name-history (Bug#2750).
17032 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
17034         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
17036 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
17038         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
17039         property on entire argument since this is what eshell-lisp-command
17040         expects.
17042 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
17044         * net/tramp-gvfs.el (tramp-gvfs-methods)
17045         (tramp-gvfs-zeroconf-domain)
17046         (tramp-bluez-discover-devices-timeout): Add version flag.
17047         (tramp-gvfs-handler-mounted-unmounted)
17048         (tramp-gvfs-connection-mounted-p): Polish handling of
17049         incompatibilities between GVFS 0.2 and 1.0.
17051 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
17053         * cus-start.el (all): Add make-pointer-invisible.
17055 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
17057         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
17058         formatted correctly.
17060 2009-07-02  Juri Linkov  <juri@jurta.org>
17062         * info.el: Virtual Info files and nodes.
17063         (Info-virtual-files, Info-virtual-nodes): New variables.
17064         (Info-current-node-virtual): New variable.
17065         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
17066         New functions.
17067         (Info-file-supports-index-cookies): Use Info-virtual-file-p
17068         to check for a virtual file instead of checking a fixed list
17069         of node names.
17070         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
17071         instead of ad-hoc processing of "dir" and (apropos history toc).
17072         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
17073         instead of ad-hoc processing of "dir" and (apropos history toc).
17074         Reread a file when moving from a virtual node.
17075         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
17076         (Info-directory-toc-nodes, Info-directory-find-file)
17077         (Info-directory-find-node): New functions.
17078         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
17079         (Info-history): Move part of code to
17080         `Info-history-find-node'.
17081         (Info-history-toc-nodes, Info-history-find-file)
17082         (Info-history-find-node): New functions.
17083         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
17084         (Info-toc): Move part of code to `Info-toc-find-node'.
17085         (Info-toc-find-node): New function.
17086         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
17087         the current Info file name to references because now the node
17088         "*TOC*" belongs to the same Info manual.
17089         (Info-toc-build): Rename from `Info-build-toc'.
17090         (Info-toc-nodes): Rename input argument `file' to `filename'.
17091         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
17092         instead of ad-hoc processing of ("dir" apropos history toc).
17093         (Info-index-nodes): Use Info-virtual-file-p
17094         to check for a virtual file instead of checking a fixed list
17095         of node names.
17096         (Info-index-node): Add check for `Info-current-node-virtual'.
17097         Raise `save-match-data' higher up the tree to contain
17098         `search-forward' too (bug fix).
17099         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
17100         (Info-virtual-index-nodes): New variable.
17101         (Info-virtual-index-find-node, Info-virtual-index): New functions.
17102         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
17103         (Info-apropos-file, Info-apropos-nodes): New variables.
17104         (Info-apropos-toc-nodes, Info-apropos-find-file)
17105         (Info-apropos-find-node, Info-apropos-matches): New functions.
17106         (info-apropos): Move part of code to `Info-apropos-find-node' and
17107         `Info-apropos-matches'.
17108         (Info-mode-map): Bind "I" to `Info-virtual-index'.
17109         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
17110         for a virtual file instead of checking a fixed list of node names.
17112         * simple.el (async-shell-command): New command.
17114         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
17116         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
17117         instead of `mount-info'.
17119 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
17121         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
17122         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
17124 2009-07-02  Kenichi Handa  <handa@m17n.org>
17126         * international/mule.el (set-keyboard-coding-system): Force *-unix
17127         coding-system to avoid eol conversion.
17129 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
17131         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17132         Add handler for `process-file', `shell-command' and
17133         `start-file-process'.
17134         (tramp-gvfs-handle-shell-command)
17135         (tramp-gvfs-handle-start-file-process)
17136         (tramp-gvfs-handle-process-file): New defuns.
17137         (tramp-synce-list-devices): Simplify check for existence of property.
17139 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
17141         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
17143 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
17145         * language/korean.el (set-language-info-alist): Add korean-cp949,
17146         cp949 to spec.
17148 2009-07-01  Kenichi Handa  <handa@m17n.org>
17150         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
17152         * international/encoded-kb.el: Deleted.
17154         * international/mule.el (set-keyboard-coding-system): Perform the
17155         necessary setup here instead of calling encoded-kbd-setup-display.
17157 2009-07-01  Glenn Morris  <rgm@gnu.org>
17159         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
17161 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
17163         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
17165 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
17167         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
17168         Handle also the 'rename case, when setting file modes.  (Bug#3712)
17169         (tramp-default-file-modes): Remove execute permissions.
17171         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
17172         (top): Add a default for "synce" in `tramp-default-user-alist'.
17173         Add completion function for "synce" method.
17174         (tramp-hal-service, tramp-hal-path-manager)
17175         (tramp-hal-interface-manager, tramp-hal-interface-device):
17176         New defconst.
17177         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
17178         (tramp-synce-list-devices, tramp-synce-parse-device-names):
17179         New defuns.
17181         * net/trampver.el: Update release number.
17183 2009-06-30  Kenichi Handa  <handa@m17n.org>
17185         * international/fontset.el (setup-default-fontset): Add CJK fonts
17186         for symbols and the other miscellaneous characters.
17188         * language/korea-util.el (setup-korean-environment-internal):
17189         Make char-width-table suitable for Korean environments.
17190         (exit-korean-environment): Cancel above.
17192         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
17193         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
17194         setup-function to make char-width-table suitable for respective
17195         environments, and an exit-function to cancel that.
17197         * language/japan-util.el (setup-japanese-environment-internal):
17198         Call use-cjk-char-width-table with arg `ja_JP'.
17200         * international/characters.el (cjk-char-width-table): Delete it.
17201         (cjk-char-width-table-list): New variable.
17202         (use-cjk-char-width-table): New arg local-name.
17203         (use-default-char-width-table): Fix for the case that Emacs is
17204         already using the default char-width-table.
17206 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
17208         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
17209         modes mandatory.  (Bug#3712)
17211 2009-06-29  Alan Mackenzie  <acm@muc.de>
17213         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
17214         correction between the visible width of TABs and their number of bytes.
17216 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
17218         * server.el (server-buffer-done): Prevent kill-buffer from
17219         prompting by clearing the buffer modification flag (Bug#3696).
17221 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
17223         * progmodes/verilog-mode.el (verilog-beg-of-statement)
17224         (verilog-endcomment-reason-re): Support unique case and priority case.
17225         (verilog-basic-complete-re): Support localparam lineup.
17226         (verilog-beg-of-statement-1): Fix for robustness, unique case.
17227         (verilog-set-auto-endcomments): Fix for unique case, always_comb
17228         commenting.
17229         (verilog-leap-to-case-head): Now support *nested* unique &
17230         priority case statements.
17231         (verilog-auto-lineup): Make just declarations the default (as it
17232         had been).
17233         (verilog-leap-to-case-head): Support priority/unique case statements.
17234         (verilog-auto-lineup): Rework to give users radio buttons to
17235         select the various styles of automatic lineup.
17236         (verilog-error-regexp-alist): Rework to support the XEmacs style
17237         of error regular expressions from compilers, lint tools &
17238         simulators.  Note that GNU Emacs has made it impossible for a mode
17239         to load such things.
17240         (electric-verilog-terminate-line, verilog-indent-declaration)
17241         (verilog-auto-wiure): Rework for radio button selection of
17242         auto-lineup selection of specification of auto lineup.
17243         (verilog-beg-of-statement-1): Redesign to support proper operation
17244         in additional code, based on testing with auto-lineup.
17245         (verilog-calculate-indent, assignments & declarations)
17246         (verilog-backward-token): Enhance to support auto-lineup of
17247         assignments & declarations.
17248         (verilog-in-directive-p, verilog-at-struct-p): New function for
17249         easy test of whether we are.
17250         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
17251         to support safe execution at almost anyline.
17252         (verilog-calc-1): Properly support indenting deep inside generate
17253         blocks.
17254         (verilog-init-font): Remove definition & use of verilog-init-font,
17255         as it is redundant with font-lock-defaults.
17256         (verilog-mode): Alter the definition of verilog-font-lock-defaults
17257         to avoid circular calls if syntax-ppss is a function (as is the
17258         case now in 22.x GNU Emacs) as that function would sometimes call
17259         itself, leading to (nearly) infinite recursion.
17260         (verilog-ovm-begin-re, verilog-ovm-end-re)
17261         (verilog-ovm-statement-re, verilog-leap-to-head)
17262         (verilog-backward-token): Add support for OVM macros.  Some are
17263         complete statements, and others open and close scopes like begin
17264         and end.
17265         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
17266         (verilog-defun-level-generate-only-re): Really fix the defun-list
17267         compilation issue.
17268         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
17269         coverpoint, constraint and cross statements.
17270         (verilog-defun-level-list, verilog-generate-defun-level-list)
17271         (verilog-all-defun-level-list): Redo these specifications - it is
17272         too hard to support eval-when compile aggregation of lists also
17273         built at when-compile time.
17274         (verilog-defun-level-list): Place defconsts of variables used in
17275         building regular expressions which are built in eval-when-compile
17276         bodies in the same eval-when-compile body to facilitate compile
17277         without load.
17278         (verilog-beg-block-re-ordered): Support indenting
17279         virtual/protected tasks and functions.
17280         (verilog-defun-level-list, verilog-in-generate-region-p)
17281         (verilog-backward-ws&directives, verilog-calc-1): Speed up
17282         indentation of some module items (generate items).
17283         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
17284         across virtual/protected tasks and functions.
17286 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
17288         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
17289         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
17290         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
17291         in concatenations.  Reported by Yishay Belkind.
17292         (verilog-auto-ascii-enum): Support one-hot state machines in
17293         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
17294         (verilog-auto-inst, verilog-auto-inst-port): Include interface
17295         modport in AUTOINST and add vl-modport for users.  Reported by
17296         David Rogoff.
17297         (verilog-auto-inout-module, verilog-auto-inst)
17298         (verilog-decls-get-interfaces, verilog-insert-definition)
17299         (verilog-insert-one-definition, verilog-read-decls)
17300         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
17301         (verilog-sig-modport, verilog-signals-combine-bus)
17302         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
17303         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
17304         Suggested by David Rogoff.
17305         (verilog-repair-open-comma): Fix non-insertion of comma when
17306         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
17307         (verilog-make-width-expression): Simplify [A-1:0] expression
17308         widths to just {A{1'b0}}.
17309         (verilog-mode): Cleanup checkdoc warnings.
17310         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
17311         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
17312         inputs/outputs or data type.  Suggested by Vasu Kandadi.
17313         (next-error-last-buffer): Fix byte-compiler warning.
17314         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
17315         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
17316         or shell command text during AUTO expansion.  Suggested by Tad Truex.
17317         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
17318         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
17319         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
17320         in AUTOINOUT.  Reported by Matthew Lovell.
17321         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
17322         causing use of <= assignments.  Reported by Alex Reed.
17323         (verilog-read-decls): Fix triand, trior, wand, wor to be
17324         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
17325         (verilog-extended-complete-re): Support import "DPI-C" functions.
17326         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
17327         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
17328         (verilog-insert-date, verilog-insert-year)
17329         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
17330         Windows systems.  Reported by Michael Potts.
17331         (verilog-read-module-name): Fix AUTOINST when the child module
17332         declaration's name is a tick define.  Reported by Elliot Mednick.
17333         (verilog-read-decls): Fix V2K parameter bit subscripts getting
17334         passed to next parameter's definition.  Reported by Bruce T.
17335         (verilog-read-decls): Fix detecting "parameter int" when using
17336         AUTOINSTPARAM.  Reported by Bruce T.
17337         (verilog-goto-defun): Fix goto not finding modules unless first
17338         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
17339         (verilog-mode): Expand -f flag arguments on entry to mode so
17340         verilog-goto-defun will work.  Reported by Lawrence Butcher.
17341         (verilog-getopt): Expand environment variables in -f file
17342         arguments.  Suggested by Lawrence Butcher.
17343         (verilog-set-define): Fix "Symbol's value as variable is void"
17344         when reading enumerations.
17345         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
17346         Suggested by Stephen Peltan.
17347         (verilog-read-defines): Fix reading of enumerations in include
17348         files.  Reported by Steve Peltan.
17350 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
17352         * files.el (trash-directory): Fix defcustom type.
17354 2009-06-28  Juri Linkov  <juri@jurta.org>
17356         * help-fns.el (describe-function-1): Correctly locate adviced
17357         functions in hyperlink (Bug#2438).
17359 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
17361         * files.el (trash-directory): Change default to nil.
17362         (move-file-to-trash): If trash-directory is nil and
17363         system-move-file-to-trash is unbound, perform freedesktop-style
17364         trashing.
17366 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
17368         * files.el (move-file-to-trash): Add freedesktop trash
17369         support (Bug#973).
17371 2009-06-28  Glenn Morris  <rgm@gnu.org>
17373         * autorevert.el (global-auto-revert-non-file-buffers)
17374         (global-auto-revert-mode): Doc fixes.
17376 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
17378         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
17380 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
17382         * faces.el (x-handle-named-frame-geometry): Ensure that we have
17383         opened an X connection before calling x-get-resource (Bug#3194).
17385         * play/doctor.el: Remove reference to obsolete website.
17386         (make-doctor-variables): Correct grammar mistake (Bug#2633).
17388 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
17390         Remove find-file-not-found-hook VC method.  (Bug#2757)
17391         * vc-hooks.el (vc-file-not-found-hook)
17392         (vc-default-find-file-not-found-hook): Remove functions.
17393         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
17394         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
17395         * vc.el:
17396         * vc-hg.el:
17397         * vc-git.el: Do not mention find-file-not-found-hook VC method.
17399 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
17401         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
17402         compatibility function for `looking-back'.
17404         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
17405         Use `ispell-looking-back'.
17407 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
17409         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
17410         rather than `filename'.
17412 2009-06-23  Miles Bader  <miles@gnu.org>
17414         * face-remap.el (text-scale-set): New function.
17416 2009-06-23  Glenn Morris  <rgm@gnu.org>
17418         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
17420         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
17422         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
17424         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
17426         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
17427         Simplify Persian conditionals.
17429         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
17430         variable `filename'.
17432         * comint.el (comint-insert-input): Doc fix.
17434         * Makefile.in (ELCFILES): Fix typo in previous change.
17436 2009-06-23  Miles Bader  <miles@gnu.org>
17438         * cus-start.el: Add entry for `recenter-redisplay'.
17440 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
17442         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
17443         Add an optional argument for the backend, use it instead of
17444         calling vc-backend.
17445         (vc-mode-line): Add an optional argument for the backend.
17446         Pass the backend to vc-state and vc-working-revision.  Move code for
17447         special handling for vc-state being a buffer to ...
17449         * vc-rcs.el (vc-rcs-find-file-hook):
17450         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
17452         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
17453         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
17454         vc-stay-local-p and vc-mode-line calls.
17456         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
17457         (vc-cvs-diff, vc-cvs-annotate-command)
17458         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
17459         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
17460         vc-mode-line calls.
17462         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
17463         direct comparison.
17464         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
17465         backend when calling vc-mode-line.
17466         (vc-register): Do not create a closure for calling the vc register
17467         function, call it directly.
17469 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
17471         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
17472         to make it obvious item can be clicked.
17474         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
17476 2009-06-23  Kenichi Handa  <handa@m17n.org>
17478         * language/korea-util.el (korean-key-bindings): Change the binding
17479         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
17480         same command.
17482 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
17484         Sync with Tramp 2.1.16.
17486         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
17488         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
17489         when a loading of a package fails.  Completion function for rsync
17490         is `tramp-completion-function-alist-ssh'.
17491         (all): Replace all calls of `split-string' and
17492         `tramp-split-string' by `tramp-compat-split-string'.
17493         (tramp-default-method): Use `tramp-compat-process-running-p'.
17494         (tramp-default-proxies-alist): Allow also Lisp forms.
17495         (tramp-remote-path): Add choice "Private Directories".
17496         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
17497         (tramp-domain-regexp): Allow also "-", "_" and ".".
17498         (tramp-end-of-output): Remove newlines, and add "$" at the end.
17499         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
17500         (tramp-debug-message): Insert header line in debug buffer.
17501         (tramp-handle-directory-files-and-attributes-with-stat):
17502         Care about filenames with spaces, or starting with "-".
17503         (tramp-handle-dired-uncache): New defun.
17504         (tramp-handle-insert-directory): Don't flush the directory from
17505         cache, this is handled by `dired-uncache' now.
17506         (tramp-handle-insert-file-contents): Improve error handling.
17507         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17508         Quote `tramp-end-of-output'.
17509         (tramp-action-password): Improve trace message.
17510         (tramp-check-for-regexp): Both echoes must be present, before removing.
17511         (tramp-open-connection-setup-interactive-shell): Trace coding system.
17512         (tramp-compute-multi-hops): Eval cons cells of
17513         `tramp-default-proxies-alist'.
17514         (tramp-maybe-open-connection): Use the same command pattern for
17515         first hop and further hops.
17516         (tramp-wait-for-output): Remove handling of newlines.
17517         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
17518         (tramp-split-string): Remove function.  It is handled in
17519         tramp-compat now.
17521         * net/tramp-cmds.el (tramp-bug):
17522         Recommend `tramp-cleanup-all-connections' in the bug mail.
17524         * net/tramp-compat.el (tramp-compat-split-string)
17525         (tramp-compat-process-running-p): New defuns.
17527         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
17528         for `dired-uncache'.
17530         * net/tramp-gvfs.el: New package.
17532         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
17533         Add handler for `dired-uncache'.
17534         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
17536         * net/trampver.el: Update release number.  Make version check fit
17537         for SXEmacs 22.
17539 2009-06-22  Jim Meyering  <meyering@redhat.com>
17541         Automatically handle .xz suffix (XZ-compressed files), too.
17542         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
17543         XZ is the successor to LZMA: <http://tukaani.org/xz/>
17545 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
17546             Nick Roberts  <nickrob@snap.net.nz>
17548         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
17549         repository (http://sphinx.net.ru/hg/gdb-mi/).
17551 2009-06-22  Glenn Morris  <rgm@gnu.org>
17553         * files.el (dir-locals-collect-mode-variables): Allow for any number of
17554         `mode' and `eval' entries.  (Bug#3430)
17556         * Makefile.in (ELCFILES): Add fadr.elc.
17558         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
17559         differing behavior of \n and ^ in strings.  (Bug#3385)
17561         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
17563         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
17564         property.
17565         (lisp-indent-function): Make it a defcustom.
17567 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
17569         * progmodes/gdb-ui.el: Replace with ...
17570         * progmodes/gdb-mi.el: ... this file.
17571         * progmodes/gud.el: Modify for gdb-mi.el.
17573 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
17575         * fadr.el: New file.
17577 See ChangeLog.14 for earlier changes.
17579 ;; Local Variables:
17580 ;; coding: utf-8
17581 ;; End:
17583   Copyright (C) 2009, 2010  Free Software Foundation, Inc.
17585   This file is part of GNU Emacs.
17587   GNU Emacs is free software: you can redistribute it and/or modify
17588   it under the terms of the GNU General Public License as published by
17589   the Free Software Foundation, either version 3 of the License, or
17590   (at your option) any later version.
17592   GNU Emacs is distributed in the hope that it will be useful,
17593   but WITHOUT ANY WARRANTY; without even the implied warranty of
17594   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17595   GNU General Public License for more details.
17597   You should have received a copy of the GNU General Public License
17598   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.