play/doctor.el: bugfix for `doctor-mode'.
[emacs.git] / lisp / ChangeLog
blobce58c47ad1271a77e327b00e3bdda8225cbc1d32
1 2011-02-16  Bastien Guerry  <bzg@altern.org>
3         * play/doctor.el (doctor-mode): Bugfix: escape the "," character
4         in a `doctor-type' argument.
6 2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
8         * net/soap-client.el:
9         * net/soap-inspect.el: New files.
11 2011-02-16  Leo  <sdl.web@gmail.com>
13         * dired-x.el (dired-mode-map, dired-extra-startup):
14         Remove dired-copy-filename-as-kill since it's already in dired.el.
16 2011-02-16  Glenn Morris  <rgm@gnu.org>
18         * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
19         Doc fixes.  Add :set property, replacing top-level calls.
20         (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
21         (dired-guess-shell-gnutar): Test tar version rather than system-type.
22         (dired-extra-startup, dired-man, dired-info): Doc fixes.
23         (dired-clean-up-after-deletion): Use when and dolist.
24         (dired-jump): Use unless and when.
25         (dired-virtual): Use line-end-position.
26         (dired-default-directory-alist): Rename from default-directory-alist.
27         (dired-default-directory): Update for above name change.
28         (dired-vm): Drop VM < 5 and simplify.
29         (dired-buffer-more-recently-used-p): Rewrite.
30         (dired-filename-at-point): Use when and or.
31         (dired-x-read-filename-at-point): Rename from read-filename-at-point.
32         Update callers.
34 2011-02-15  Glenn Morris  <rgm@gnu.org>
36         * dired-x.el: Use easymenu for menu items.  Fix item capitalization.
38 2011-02-14  Chong Yidong  <cyd@stupidchicken.com>
40         * vc/vc-git.el (vc-git-root-log-format): New option for
41         customizing log format.
42         (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
43         (vc-git-log-view-mode): Use it.
44         (vc-git-expanded-log-entry): New function.
45         (vc-git-log-view-mode): Use it.  Truncate lines in root log.
47         * vc/vc-hg.el (vc-hg-root-log-template): New option for
48         customizing log format.
49         (vc-hg-print-log): Use it.
50         (vc-hg-expanded-log-entry): New function.
51         (vc-hg-log-view-mode): Use vc-hg-root-log-template and
52         vc-hg-expanded-log-entry.  Truncate lines in root log.
54         * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
56         * vc/log-view.el (log-view-mode-menu): Add
57         log-view-toggle-entry-display.
59 2011-02-14  Glenn Morris  <rgm@gnu.org>
61         * dired-x.el: Don't require man when compiling.
62         (dired-omit-extensions, dired-local-variables-file)
63         (dired-x-hands-off-my-keys): Make them defcustoms.
64         (Man-support-local-filenames, Man-getpage-in-background): Declare.
65         (vm-visit-folder): Declare rather than defining.
66         (dired-x-help-address, dired-x-variable-list): Remove.
67         (dired-x-submit-report): Make it an obsolete alias.
69 2011-02-14  Juanma Barranquero  <lekktu@gmail.com>
71         * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
73 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
75         * net/imap.el: Bring it back.
77 2011-02-13  Alan Mackenzie  <acm@muc.de>
79         * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
80         narrow-to-region call that cuts context off the end (Bug#7722).
82         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Refactor
83         nested if-forms with a simple cond.
84         (c-forward-<>-arglist): Revert 2011-01-31 change.
86 2011-02-13  Chong Yidong  <cyd@stupidchicken.com>
88         * vc/log-view.el: New command log-view-toggle-entry-display for
89         toggling log entries between concise and detailed forms.
90         (log-view-toggle-entry-display): New command.
91         (log-view-mode-map): Bind RET to it.
92         (log-view-expanded-log-entry-function): New variable.
93         (log-view-current-entry, log-view-inside-comment-p)
94         (log-view-current-tag): New functions.
95         (log-view-toggle-mark-entry): Use log-view-current-entry and
96         log-view-end-of-defun instead of searching directly with
97         log-view-message-re.
98         (log-view-end-of-defun): Likewise.  Add optional ARG for
99         compatibility with end-of-defun.
100         (log-view-end-of-defun): Ignore comments and VC buttons.
102         * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
103         (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
105 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
107         * net/imap.el: Remove file.  All the functionality is in nnimap.el.
109         * net/imap-hash.el: Remove file.
111 2011-02-13  Michael Albinus  <michael.albinus@gmx.de>
113         * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
115         * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
116         call.
118         * net/tramp-imap.el: Remove file.
120 2011-02-13  Chong Yidong  <cyd@stupidchicken.com>
122         * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
123         widget library for buttons, just use button.el.
125         * vc/log-view.el (log-view-mode-map): Don't inherit from
126         widget-keymap.
128 2011-02-12  Glenn Morris  <rgm@gnu.org>
130         * emacs-lisp/cl-seq.el (union, nunion, intersection)
131         (nintersection, set-difference, nset-difference)
132         (set-exclusive-or, nset-exclusive-or): Doc fix.
134         * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
136         * faces.el (face-attr-match-p): Handle the obsolete :bold and
137         :italic props, so that frame-set-background-mode works.  (Bug#7966)
139         * simple.el (next-error): Doc fix.
141 2011-02-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
143         * dired-aux.el (dired-create-files): Adapt destination name to
144         match the new behavior of copy-directory.
146 2011-02-12  Chong Yidong  <cyd@stupidchicken.com>
148         * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
149         from rmail-dont-reply-to-names.  Callers changed.
150         (mail-dont-reply-to): Rename from mail-dont-reply-to.
151         (rmail-dont-reply-to): Make it an obsolete alias.
153         * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
154         nil, and make obsolete (Bug#7888).
155         (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
157         * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
159         * mail/rmailsort.el (rmail-sort-by-correspondent)
160         (rmail-select-correspondent): Doc fix.  Use mail-dont-reply-to.
162         * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
164 2011-02-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
166         * files.el (copy-directory): New argument COPY-CONTENTS for
167         copying directory contents into another existing directory.
169 2011-02-12  Tassilo Horn  <tassilo@member.fsf.org>
171         * minibuffer.el (completion-table-case-fold): New function for
172         creating a case-insensitive completion table.
174 2011-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
176         * net/tramp.el (tramp-default-method): Also check if
177         `auth-source-search' is bound.
178         (tramp-read-passwd): Use `auth-source-search' instead of
179         `auto-source-user-or-password'.
181         * net/tramp-imap.el: Autoload `auto-source-search' instead of
182         `auto-source-user-or-password.
183         (tramp-imap-passphrase-callback-function): Use it.
185         * net/imap-hash.el: Autoload `auto-source-search' instead of
186         `auto-source-user-or-password.
187         (imap-hash-open-connection): Use it.
189         * mail/smtpmail.el: Autoload `auto-source-search' instead of
190         `auto-source-user-or-password.
191         (smtpmail-try-auth-methods): Use it.
193 2011-02-12  Phil Hagelberg  <phil@hagelb.org>
195         * emacs-lisp/package.el: Allow packages to be reinstalled.
196         (package--write-file-no-coding): Remove EXCL arg.
197         (package-unpack-single): Don't use it.
199 2011-02-12  Karl Pflästerer  <k@rl.pflaesterer.de>  (tiny change)
201         * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
202         in each sub directory.
203         (vc-svn-registered): Use vc-svn-root.
204         (vc-svn-root): New function.  Make vc-svn-responsible-p an alias.
205         (vc-svn-repository-hostname): Use "svn info".
207 2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
209         * simple.el (delete-trailing-whitespace): New optional buffer
210         bound parameters.
212 2011-02-11  Bastien Guerry  <bzg@altern.org>
214         * files.el (basic-save-buffer): save unmodified buffers when
215         the file pointed by buffer-file-name doesn't exist.
217 2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
219         * net/rcirc.el (defun-rcirc-join): Accept multiple channels.
221 2011-02-11  Glenn Morris  <rgm@gnu.org>
223         * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
225 2011-02-11  Juanma Barranquero  <lekktu@gmail.com>
227         * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
229 2011-02-10  Stefan Monnier  <monnier@iro.umontreal.ca>
231         * server.el (server-process-filter): Use pcase.
233         * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
234         conflicting ways.
235         (smie-indent--parent): Extend to "parent of arg".
236         (smie-indent-inside-string): New function.
237         (smie-indent-functions): Use it.
239         * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
240         bzr locking race condition.
242         * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
243         still valid before using it.
245         * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
246         `message' -> `compilation-message' rename (bug#8004).
248         Move keymap initialization into declaration.
249         * textmodes/enriched.el (enriched-mode-map):
250         * textmodes/bib-mode.el (bib-mode-map):
251         * term/lk201.el (lk201-function-map):
252         * tar-mode.el (tar-mode-map):
253         * replace.el (occur-mode-map):
254         * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
255         * progmodes/idlw-help.el (idlwave-help-mode-map):
256         * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
257         * play/solitaire.el (solitaire-mode-map):
258         * play/snake.el (snake-mode-map, snake-null-map):
259         * play/pong.el (pong-mode-map):
260         * play/handwrite.el (menu-bar-handwrite-map):
261         * play/gametree.el (gametree-mode-map):
262         * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map
263         (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
264         * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
265         (newsticker--url-keymap):
266         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
267         * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
268         (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
269         (menu-bar-edit-menu, menu-bar-custom-menu)
270         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
271         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
272         (menu-bar-line-wrapping-menu, menu-bar-options-menu)
273         (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
274         (menu-bar-tools-menu, menu-bar-describe-menu)
275         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
276         (menu-bar-help-menu):
277         * mail/rmailsum.el (rmail-summary-mode-map):
278         * kmacro.el (kmacro-step-edit-map):
279         * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
280         (ibuffer-mode-operate-map):
281         * hi-lock.el (hi-lock-menu, hi-lock-map):
282         * emulation/vip.el (vip-mode-map):
283         * emacs-lisp/re-builder.el (reb-lisp-mode-map):
284         * bookmark.el (bookmark-bmenu-mode-map):
285         * help-mode.el (help-mode-map): Move initialization into declaration.
287 2011-02-10  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
289         * net/rcirc.el: Add PRIVMSG and CTCP functions.
290         (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
291         (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
292         (rcirc-cmd-me, rcirc-authenticate): Use them.
294 2011-02-10  Ken Manheimer  <ken.manheimer@gmail.com>
296         * allout.el: Synopsis: Change allout user configuration so
297         auto-activation is controlled solely by customization
298         `allout-auto-activation'.
300         (allout-auto-activation-helper) (allout-setup): New autoloads
301         implement new custom set procedure for allout-auto-activation.
302         Also, explicitly invoke
303         (allout-setup) after allout-auto-activation is custom-defined, to
304         effect the settings in emacs sessions besides the few where
305         allout-auto-activation customization is donea.
306         (allout-auto-activation): Use allout-auto-activation-helper to
307         :set.  Revise the docstring.
308         (allout-init): Reduce functionality to just customizing
309         allout-auto-activation, and mark obsolete.
310         (allout-mode): Respect string values for allout-auto-activation.
311         Run allout-after-copy-or-kill-hook without any args.
312         (allout-mode) (allout-layout) (allout-default-layout)
313         (outlineify-sticky): Adjust docstring for new scheme.
314         (allout-after-copy-or-kill-hook): No arguments - hook implementers
315         should concentrate on the kill ring.
317 2011-02-09  Teodor Zlatanov  <tzz@lifelogs.com>
319         * password-cache.el (password-cache-remove): Accept secrets that are
320         not strings.
322 2011-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
324         * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
325         of here-doc that immediately follows a comment.
327 2011-02-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
329         * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
331         * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
332         available.
333         (rcirc-ctcp-sender-PING): New function.
335 2011-02-08  Stefan Monnier  <monnier@iro.umontreal.ca>
337         * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
338         Remove the mark/nomark handling, and activate shift-select-mode instead.
340         * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
342 2011-02-07  Jay Belanger  <jay.p.belanger@gmail.com>
344         * calc/calc-units.el (math-logunits-quant): Add support for
345         non-logarithmic units.
347 2011-02-07  Ken Manheimer  <ken.manheimer@gmail.com>
349         * allout.el (allout-after-copy-or-kill-hook): New hook for
350         extension-specific processing of killed text.
351         (allout-mode): Include new allout-after-copy-or-kill-hook among
352         mentioned hooks.
353         (allout-kill-line) (allout-kill-topic): Ensure that processing
354         after kill happens even if barf-if-buffer-read-only is raised.
355         Include new allout-after-copy-or-kill-hook among that subsequent
356         processing.
357         (allout-deannotate-hidden): Actually remove the annotation text
358         properties.
360         * allout.el (allout-listify-exposed): Copy text sans text properties.
362 2011-02-07  Michael Albinus  <michael.albinus@gmx.de>
364         * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
366 2011-02-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
368         * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
370 2011-02-06  Jay Belanger  <jay.p.belanger@gmail.com>
372         * calc/calc.el (calc-logunits-field-reference): Rename from
373         `calc-default-field-reference-level'.
374         (calc-logunits-power-reference): Rename from
375         `calc-default-power-reference-level'
377         * calc/calc-units.el (math-logunits-quant): Rename from
378         `math-logunits-level'
379         (math-logunits-plus): Rename from math-logcombine.
380         (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
381         (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
382         (calcFunc-lufieldsub,calc-logunits-add calc-logunits-sub):
383         New functions.
384         (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
385         (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
386         (calc-logunits-quantity): Rename from `calc-level'.
387         (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
388         (calcFunc-nppowerlevel,calc-logunits-dblevel, calc-logunits-nplevel)
389         (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
390         (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
391         (calcFunc-lupowerdiv,calc-logunits-divide,math-logunits-level):
392         New functions.
394         * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
395         (calc-ul-prefix-help): Remove.
396         (calc-l-prefix-help): New function.
397         (calc-full-help): Add reference to `calc-l-prefix-help'.
399         * calc/calc-ext.el (calc-init-extensions): Update autoloads.
401         * calc/README: Mention logarithmic units.
403 2011-02-06  Chong Yidong  <cyd@stupidchicken.com>
405         * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
406         non-ASCII characters (Bug#7925).
408 2011-02-05  Glenn Morris  <rgm@gnu.org>
410         * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
412         * calendar/diary-lib.el (diary-font-lock-keywords):
413         Tweak diary-time-regexp match.  (Bug#7891)
415         * progmodes/f90.el (f90-find-tag-default): New function.  (Bug#7919)
416         (f90-mode): Use it for mode's `find-tag-default-function' property.
418         * ibuf-ext.el (ibuffer-filter-disable): Make it work.  (Bug#7969)
420         * faces.el (set-face-attribute): Doc fix.  (Bug#2659)
422 2011-02-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
424         * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
425         (Bug#6386).
427 2011-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
429         * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
430         font-lock-syntax-table remappings.
431         (sh-here-doc-markers, sh-here-doc-re): Remove.
432         (sh-font-lock-close-heredoc): Remove.
433         (sh-syntax-propertize-here-doc): New function.
434         (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
435         instead of the sh-here-doc-re.
436         (sh-font-lock-paren): Don't do anything in comments or strings.
437         Handle line continuations.  Accept a few more chars.
438         Don't rely on the font-lock-syntax-table remappings.
439         `esac' is not a valid pattern.
440         (sh-syntax-propertize-function): Handle here-docs differently, so we
441         don't bother syntax-propertizing the insides.
443         * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
444         Handle new bashisms ";&" and ";;&" (bug#7947).
446 2011-02-05  Michael Albinus  <michael.albinus@gmx.de>
448         * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
449         Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
451 2011-02-05  Era Eriksson  <era+tramp@iki.fi>  (tiny change)
453         * net/tramp.el (tramp-postfix-method-format)
454         (tramp-postfix-method-regexp, tramp-prefix-domain-format)
455         (tramp-prefix-domain-regexp, tramp-postfix-user-format)
456         (tramp-postfix-user-regexp, tramp-prefix-port-format)
457         (tramp-prefix-port-regexp, tramp-postfix-host-format)
458         (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
459         Doc fix.
461 2011-02-04  Sam Steingold  <sds@gnu.org>
463         * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
465 2011-02-04  Andreas Schwab  <schwab@linux-m68k.org>
467         * international/mule-util.el (with-coding-priority): Doc fix.
469 2011-02-04  Eli Zaretskii  <eliz@gnu.org>
471         * arc-mode.el (archive-mode-map): Fix a typo in last change.
473 2011-02-03  Sam Steingold  <sds@gnu.org>
475         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
476         Do not error out when `func' is nil.
478 2011-02-03  Michael Albinus  <michael.albinus@gmx.de>
480         * net/tramp-sh.el (tramp-remote-path): Add default settings for
481         `tramp-default-remote-path' to the docstring.
482         (tramp-get-remote-path): Suppress error message when `getconf
483         PATH' fails.
485         * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
487 2011-02-03  Glenn Morris  <rgm@gnu.org>
489         * vc/vc-hg.el (vc-hg-command): Doc fix.
491         * term/w32-win.el (libpng-version): Declare for compiler.
493         * msb.el: No need to load dired while compiling.
495         * emacs-lisp/elint.el (elint-standard-variables):
496         Remove a couple of built-ins that now have doc-strings.
498         * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
499         `require' is automatically `eval-and-compile'd.
501         * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
502         (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
504         * strokes.el (strokes-fill-current-buffer-with-whitespace):
505         Move definition before use.
506         (strokes-report-bug): Make it obsolete.
508 2011-02-02  Sam Steingold  <sds@gnu.org>
510         * apropos.el (apropos-print): Now that `apropos-mode' inherits
511         from `special-mode', entering it makes the buffer read-only, so
512         call it only when everything has been already inserted.
513         * emacs-lisp/ert.el (ert--setup-results-buffer)
514         (ert-results-pop-to-backtrace-for-test-at-point)
515         (ert-results-pop-to-messages-for-test-at-point)
516         (ert-results-pop-to-timings): Ditto.
517         * emacs-lisp/package.el (package--list-packages): Ditto.
518         * play/solitaire.el (solitaire): Ditto.
520 2011-02-02  Chong Yidong  <cyd@stupidchicken.com>
522         * progmodes/compile.el: Make all faces inherit.
523         (compilation-warning): Inherit from font-lock-variable-name-face.
524         (compilation-info): Inherit from font-lock-type-face.
525         (compilation-line-number): Reassign to font-lock-keyword-face.
526         (compilation-column-number): Reassign to font-lock-doc-face.
527         (compilation-leave-directory-face): Reassign to
528         font-lock-builtin-face.
530 2011-02-02  Eli Zaretskii  <eliz@gnu.org>
532         * dired.el (dired-insert-directory): Don't invoke `ls' when
533         ls-lisp.el is used to emulate it.
535 2011-02-01  Julien Danjou  <julien@danjou.info>
537         * color.el (color-gradient): Add a color-gradient function.
539 2011-02-01  Sam Steingold  <sds@gnu.org>
541         * simple.el (special-mode-map): Bind "h" to `describe-mode';
542         bind "z" to `kill-this-buffer'.
543         (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
544         * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
545         (apropos-mode): Inherit from `special-mode'.
546         * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
547         * bookmark.el (bookmark-bmenu-mode): Define using
548         `define-derived-mode' inheriting from `special-mode'.
549         * dired.el (dired-mode-map): Inherit from `special-mode-map'.
550         * image-mode.el (image-mode-map): Ditto.
551         * replace.el (occur-mode): Define using
552         `define-derived-mode' inheriting from `special-mode'.
553         * tar-mode.el (tar-mode): Inherit from `special-mode'.
554         * calendar/diary-lib.el (diary-fancy-display-mode):
555         Inherit from `special-mode-map'.
556         * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
557         Inherit from `special-mode'.
558         * emacs-lisp/package.el (package-menu-mode-map): Copy from
559         `special-mode-map'.
560         (package-menu-mode): Define using `define-derived-mode'
561         inheriting from `special-mode'.
562         * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
563         * net/xesam.el (xesam-mode): Inherit from `special-mode'.
564         (xesam-mode-map): Define separately.
565         * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
566         * progmodes/compile.el (compilation-minor-mode-map)
567         (compilation-mode-map): Inherit from `special-mode-map'.
568         * vc/diff-mode.el (diff-mode-shared-map):
569         Inherit from `special-mode-map'.
570         * vc/log-view.el (log-view-mode-map): Add a comment.
572 2011-02-01  Chong Yidong  <cyd@stupidchicken.com>
574         * custom.el (load-theme): Define return value.  Drop use of
575         unsafep; call custom-theme-load-confirm for non-known-safe themes.
576         (custom-theme-load-confirm): Scroll in the correct window.
577         (custom-enabled-themes): Add custom-safe-themes to :set-after.
579         * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
580         checkbox if load-theme fails.
582 2011-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
584         * progmodes/compile.el (compilation-next-error): Check there's
585         a message before using it (bug#7941).
587 2011-02-01  Jay Belanger  <jay.p.belanger@gmail.com>
589         * calc/calc-mtx.el (math-lud-pivot-check): New function.
590         (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
591         of potential pivots.
593 2011-01-31  Alan Mackenzie  <acm@muc.de>
595         * progmodes/cc-cmds.el (c-forward-over-illiterals):
596         Continue parsing if we encounter a naked # (Bug#7595).
597         (c-beginning-of-statement): Avoid loop in locating the beginning
598         of a macro.
600 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
602         * files.el (copy-directory): Fix arguments to recursive call.
604 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
606         * files.el (copy-directory): If destination is an existing
607         directory, copy into a subdirectory there.
609 2011-01-31  Andreas Schwab  <schwab@linux-m68k.org>
611         * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
612         files.
614 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
616         * image-dired.el (image-dired-mouse-display-image): No-op if no
617         file is found (Bug#7817).
619         * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
621 2011-01-31  Kenichi Handa  <handa@m17n.org>
623         * international/quail.el (quail-keyboard-layout-alist):
624         Remove superfluous SPC for "pc105-uk" (bug#7927).
626 2011-01-31  Glenn Morris  <rgm@gnu.org>
628         * msb.el (msb-menu-bar-update-buffers): Update for changed
629         argument handling of menu-bar-select-frame.  (Bug#7902)
631 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
633         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
634         to the recursion depth (Bug#7722).
636 2011-01-31  Roy Liu  <carsomyr@gmail.com>  (tiny change)
638         * term/ns-win.el (ns-find-file): Expand ns-input-file with
639         command-line-default-directory (Bug#7872).
641 2011-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>
643         * progmodes/compile.el (compilation--flush-directory-cache):
644         New function, extracted from compilation--remove-properties.
645         (compilation--remove-properties, compilation--parse-region): Use it.
646         (compilation--previous-directory): Handle one more case.
647         (compilation-enable-debug-messages): Remove.
648         (compilation-parse-errors, compilation--flush-parse): Just remove the
649         left over debug messages.
651 2011-01-31  Sam Steingold  <sds@gnu.org>
653         * progmodes/compile.el (compilation-enable-debug-messages):
654         Add a variable to make the parsing messages introduced in
655         2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
656         (compilation-parse-errors, compilation--flush-parse): Use it.
658 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
660         * net/rcirc.el: New customizable nick completion format.  (Bug#6314)
661         (rcirc-nick-completion-format): New defcustom.
662         (rcirc-complete): Use it.
664 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
666         * net/rcirc.el: Clean log filenames (Bug#7933).
667         (rcirc-log-write): Use convert-standard-filename.
668         (rcirc-log-filename-function): Documentation updates.
670 2011-01-30  Jan Djärv  <jan.h.d@swipnet.se>
672         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
673         Check report-emacs-bug-can-use-osx-open and use that if t.
674         (report-emacs-bug-can-use-osx-open): New function.
675         (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
676         Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
678 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
680         * vc/vc-dispatcher.el (vc-set-async-update): New function for
681         updating Dired or VC-dir buffers after async command completes.
683         * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
684         (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
686         * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
687         completions if it exists.  Use vc-set-async-update.
688         (vc-git-pull): Use vc-set-async-update.
690         * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
691         read-shell-command.  Use vc-set-async-update.
692         (vc-hg-merge-branch): Use vc-set-async-update.
694 2011-01-29  Daiki Ueno  <ueno@unixuser.org>
696         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
697         Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
698         (Bug#7931).
700 2011-01-29  Stefan Monnier  <monnier@iro.umontreal.ca>
702         * progmodes/compile.el: Avoid an N² behavior in grep.
703         (compilation--previous-directory): New fun.
704         (compilation--previous-directory-cache): New var.
705         (compilation--remove-properties): Flush it.
706         (compilation-directory-properties, compilation-error-properties):
707         Use the new fun to speed up looking for the current directory.
709 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
711         * vc/vc-hg.el (vc-hg-history): New var.
712         (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
713         (vc-hg-merge-branch): New function.
715         * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
716         the other way around.
718         * vc/vc-git.el (vc-git-branches, vc-git-pull)
719         (vc-git-merge-branch): New functions.
720         (vc-git-history): New var.
722 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
724         * vc/vc-dispatcher.el (vc-do-async-command): New function.
726         * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
727         vc-do-async-command.
729         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
730         Callers changed.
732 2011-01-28  Leo  <sdl.web@gmail.com>
734         * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
735         highlighting to the "this function is advised" message.
737         * help-mode.el (help-mode-finish): Apply highlighting here, to
738         avoid clobbering by substitute-command-keys (Bug#6304).
740 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
742         * woman.el (woman0-roff-buffer): Process roff escape sequences
743         occurring prior to the first request (Bug#7843).
745 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
747         * progmodes/compile.el: Don't use font-lock any more.
748         (compilation-error-regexp-alist-alist): Change handling of makepp
749         so it preserves the warning/error distinction on subsequent files.
750         Simplify various rules.
751         (compilation-directory-properties): Use font-lock-face.
752         Add a compilation-message property.
753         (compilation-internal-error-properties): Use font-lock-face.
754         Don't set the compilation-debug property here.
755         (compilation--put-prop, compilation--remove-properties)
756         (compilation--parse-region, compilation--ensure-parse)
757         (compilation--ensure-parse): New functions.
758         (compilation-parse-errors): New function, largely inspired of
759         compilation-mode-font-lock-keywords.  Set compilation-debug here.
760         (compilation--parsed): New var.
761         (compilation--flush-parse): Use compilation--ensure-parse.
762         (compilation-start): Don't call font-lock.
763         (compilation-turn-on-font-lock): Remove.
764         (compilation-setup): Don't set font-lock-extra-managed-props not change
765         other font-lock settings, other than keywords.
766         Don't activate font-lock-mode.
767         Set change-major-mode-hook and before-change-functions.
768         (compilation--unsetup): Remove properties and hooks.
769         (compilation-next-single-property-change): New function.
770         (compilation-next-error): Use it to parse when needed.
771         (compile-goto-error): Parse buffer as needed.
772         (compilation--compat-error-properties): Don't need a dummy `face'
773         property any more.
775 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
777         * progmodes/compile.el: Use accessors for clarity and fix omake hack.
778         (compilation-process-setup-function): Fix docstring's false promises.
779         (compilation-error-regexp-alist-alist): Catch omake's continuous
780         recompilation message and avoid reuse of old markers.
781         (compilation-parse-errors-function): Declare obsolete.
782         (compilation-buffer-modtime): Remove.
783         (compilation--make-cdrloc, compilation--loc->col)
784         (compilation--loc->line, compilation--loc->file-struct)
785         (compilation--loc->marker, compilation--loc->visited)
786         (compilation--make-file-struct, compilation--file-struct->file-spec)
787         (compilation--file-struct->formats)
788         (compilation--file-struct->loc-tree): New macros.  Use them.
789         (compilation--message): New defstruct.  Use them.
790         (compilation-next-error-function): Don't mess with timestamps to try
791         and guess when to reparse.
793 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
795         * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
796         (tex-old-error-file-name): New function,
797         extracted from tex-compilation-parse-errors.
798         (tex-compilation-parse-errors): Remove.
799         (tex-error-regexp-alist): New var.
800         (tex-shell): Use it to avoid compilation-parse-errors-function.
802         * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
803         (grep-mode-font-lock-keywords): Remove regexp that seems like
804         a left-over from before we used compile.el.
805         (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
806         modifying the buffer within with-silent-modifications.
808         * progmodes/compile.el: Cleanup text-properties namespace by using
809         `compilation-message' instead of `message', `compilation-directory'
810         instead of `directory', and `compilation-debug' instead of `debug'.
811         (compilation-last-buffer, compilation-parsing-end)
812         (compilation-error-list, compilation-old-error-list): Move to the
813         compatibility part of the code.
814         (compilation-error-properties): If `file' is a function, let it return
815         a file name.
816         (compilation-mode-font-lock-keywords): Be more conservative with the
817         omake "^ *" pattern prefix, to try and minimize the risk of
818         pathologically slow regexp matching.
819         (compilation-start): Use inhibit-read-only.
820         (compilation--unsetup): New function.
821         (compilation-shell-minor-mode, compilation-minor-mode): Use it.
822         (compilation-filter): Minor tweaks.
823         (compilation-next-error-function): Try and avoid abusing variables.
824         (compilation--flush-file-structure): New fun.
825         (compilation-fake-loc): Use it to improve behavior when file is reused.
826         (debug-ignored-errors): Add "Moved past last ...".
827         (compilation--compat-error-properties)
828         (compilation--compat-parse-errors): Rename by doubling the "-".
830         Port features from the previous prolog.el to the new one.
831         * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
832         (prolog-program-name, prolog-program-switches, prolog-consult-string)
833         (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
834         variable and use a function to compute the value dynamically.
835         (prolog-prompt-regexp): Add regexp for GNU Prolog.
836         (prolog-continued-prompt-regexp): Remove, unused.
837         (prolog-find-value-by-system): Try and use the value of prolog-system
838         in the *prolog* buffer if it helps.
839         (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
840         (prolog-zip-on): ..and check prolog-system and version here instead.
841         (prolog-inferior-self-insert-command): New command.
842         (prolog-inferior-mode-map): Use it.
843         (prolog-inferior-error-regexp-alist): New var.
844         (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
845         (prolog-input-filter): Use derived-mode-p.
846         (prolog-inferior-guess-flavor): New function.
847         (prolog-ensure-process): Use it.  Use make-comint-in-buffer rather than
848         make-comint to avoid running comint-mode twice.
849         (prolog-inferior-buffer): New fun.
850         (prolog-old-process-region, prolog-old-process-file):
851         Don't call prolog-bsts here...
852         (prolog-build-prolog-command): ...do it here instead.
853         (prolog-old-process-region, prolog-old-process-file):
854         Use compilation-fake-loc and compilation-forget-errors.
855         (prolog-consult-compile-region): Use bolp.
857 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
859         * image-mode.el (image-display-size): Doc fix (Bug#7820).
861 2011-01-27  Sam Steingold  <sds@gnu.org>
863         * midnight.el (clean-buffer-list-kill-never-buffer-names):
864         Remove "*server*" which is never created by emacs server.
866 2011-01-27  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
868         * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
869         there are some diff switches.
871 2011-01-27  Stefan Monnier  <monnier@iro.umontreal.ca>
873         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
874         Copy change made to ruby-font-lock-syntactic-keywords.
876         * htmlfontify.el: Make it obey the font-lock-face text property.
877         Miscellaneous cleanup such as:
878         - Don't hide expressions after a closing paren.
879         - Move initial setq into let.
880         - Hoist common parts out of ifs.
881         (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
882         (hfy-face-at): Use get-text-property instead.
883         (hfy-prop-invisible-p): Use invisible-p if available.
884         (htmlfontify-manual): Use \\[...].
885         (hfy-html-quote-regex): Use [...].
886         (hfy-combined-face-spec): Simplify.
887         (hfy-compile-face-map): Don't presume point-min==1.
888         (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
889         match end of string.
890         (hfy-text-p): η-reduce.
891         (hfy-tags-for-file): Receive cache-hash directly.
892         (hfy-mark-tag-names): Adjust call.
894 2011-01-27  Glenn Morris  <rgm@gnu.org>
896         * msb.el (msb-after-load-hooks): Make it an obsolete alias.
897         (msb-after-load-hook): Remove eval-after-load wackiness.
899 2011-01-25  Sam Steingold  <sds@gnu.org>
901         * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
902         literal "diff" (important for windows-nt).
904 2011-01-25  Glenn Morris  <rgm@gnu.org>
906         * emacs-lisp/copyright.el (copyright-at-end-flag)
907         (copyright-names-regexp): Add safety properties.
908         (copyright-year-ranges): New option.
909         (copyright-find-end): New function, split from copyright-update-year.
910         (copyright-update-year): Use copyright-find-end.
911         (copyright-fix-years): Optionally, convert years to ranges.
912         Handle years continued over comment lines.
913         Do not mess with the fill-prefix.
914         Do not call copyright-update.
915         (copyright-update-directory): Optionally, fix years rather than update.
916         Skip directories.  Find files with only safe local vars.
918 2011-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
920         * files.el (file-name-non-special): Only change buffer-file-name after
921         insert-file-contents if it's `visit'ing the file (bug#7854).
923 2011-01-25  Chong Yidong  <cyd@stupidchicken.com>
925         * dired.el (dired-revert): Doc fix (Bug#7758).
927         * simple.el (line-move-visual): Doc fix (Bug#7594).
929 2011-01-25  Nobuyoshi Nakada  <nobu@ruby-lang.org>
931         * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
932         here-doc which ends with an underscore.
933         (ruby-mode-set-encoding): Skip shebang line always.
934         (ruby-mode-map): Bind C-c C-c to comment-region.
935         (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
936         (ruby-forward-sexp): Stop after literal hash key labels.
937         (ruby-font-lock-syntactic-keywords): Highlight regexp after open
938         bracket.
940 2011-01-25  Keitaro Miyazaki  <keitaro.miyazaki@gmail.com>  (tiny change)
942         * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
943         the correct buffer (Bug#7650).
945 2011-01-25  Glenn Morris  <rgm@gnu.org>
947         * comint.el (comint-mode): Doc fix.  (Bug#7897)
949         * simple.el (do-auto-fill): Give it a doc string.
951         * button.el (make-text-button): Doc fix.  (See bug#7881)
953 2011-01-24  Stefan Monnier  <monnier@iro.umontreal.ca>
955         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
956         Don't move backward, so as not to fall in an inf-loop (bug#7736).
958         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
959         Handle ?" and friends differently (e.g. don't use backrefs).
961 2011-01-24  Jay Belanger  <jay.p.belanger@gmail.com>
963         * calc/calc.el (calc-default-power-reference-level)
964         (calc-default-field-reference-level): New variables.
965         * calc/calc-units.el (math-standard-units): Add dB and Np.
966         (math-logunits): New variable.
967         (math-extract-logunits, math-logcombine, calcFunc-luplus)
968         (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
969         (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
970         New functions.
971         (math-find-base-units-rec): Add entry for ln(10).
972         * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
973         (calc-ul-prefix-help): New function.
974         * calc/calc-ext.el (calc-init-extensions): Autoload new units
975         functions.  Add keybindings for new units functions.
977 2011-01-22  Giorgos Keramidas  <keramida@ceid.upatras.gr>  (tiny change)
979         * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
980         rcirc buffers.  (Bug#4940)
982 2011-01-22  Glenn Morris  <rgm@gnu.org>
984         * emacs-lisp/copyright.el (copyright-find-copyright): New function,
985         split out from copyright-update-year.
986         (copyright-update): Don't mess with the GPL version if we don't own the
987         copyright.  Update license regexp, and remove no longer needed
988         Esperanto stuff.
989         (copyright-fix-years): Use copyright-find-copyright.
991 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
993         * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
995 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
997         * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
998         (lm): Rename to landmark.
999         (lm-test-run): Rename to landmark-test-run.
1001 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
1003         * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
1004         "Case sensitive" menu item.
1006 2011-01-22  Roland McGrath  <roland@frob.com>
1008         * comint.el (comint-replace-by-expanded-history-before-point): Fix
1009         expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
1011 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1013         * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
1015 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
1017         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1018         Assume foo(bar) is a manpage reference rather than some unquoted
1019         symbol (bug#7705).
1021 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1023         * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
1024         Suggested by Flo <sensorflo@gmail.com>.
1026 2011-01-22  Glenn Morris  <rgm@gnu.org>
1028         * progmodes/compile.el (compilation-error-regexp-alist):
1029         Fix custom type.  (Bug#7812)
1031 2011-01-22  Ken Manheimer  <ken.manheimer@gmail.com>
1033         * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
1034         allout-number-siblings, in keeping with what obtained due to
1035         (now-defunct) allout-keybindings-list.  Ditch repeat binding to
1036         (prefixed) ?i.
1037         (allout-before-change-handler): Better expose spots affected by
1038         undo.
1040 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
1042         * man.el (Man-highlight-references0): Use make-button (Bug#7881).
1044 2011-01-22  Phil Hagelberg  <phil@evri.com>
1046         * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
1047         (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
1048         (pcmpl-ssh-config-hosts): New function.
1049         (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
1050         pcmpl-ssh-known-hosts.
1052 2011-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
1054         * calc/calc-undo.el (calc-undo): Autoload it.
1055         * calc/calc-ext.el (calc-init-extensions): Remove keybindings
1056         and autoload for `calc-undo'.
1057         * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
1058         * calc/calc-prog.el:
1059         * calc/calc-graph.el:
1060         * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
1062 2011-01-21  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
1064         * calc/calc-ext.el (calc-init-extensions): Map all `undo'
1065         keybindings to `calc-undo'.
1067 2011-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1069         Don't mess with *temp*.
1070         * obsolete/spell.el: Move from textmodes/spell.el.
1071         (spell-string):
1072         * term.el (term-read-input-ring):
1073         * startup.el (display-startup-echo-area-message):
1074         * progmodes/antlr-mode.el (antlr-directory-dependencies):
1075         * comint.el (comint-read-input-ring): Use with-temp-buffer.
1076         * international/mule.el (ctext-pre-write-conversion): Don't hardcode
1077         point-min==1.
1079 2011-01-20  Ken Manheimer  <ken.manheimer@gmail.com>
1081         * allout.el (allout-institute-keymap): Use fset instead of
1082         reapplying defalias.
1084         (allout-hotspot-key-handler): Check for non-control-modified
1085         bindings for hotspot characters if there are no control-modified
1086         versions.
1088         * allout.el: Summary - migrate to defining allout mode using
1089         define-minor-mode instead of defun.  Significantly clean-up
1090         internal keymap provisions, refactoring and, in the process,
1091         removing a lot of accumulated cruft.
1093         allout-mode-map is now a keymap by virtue of being a defalias to
1094         allout-mode-map-value, which contains the actual keymap structure.
1096         (allout-mode): Use define-minor-mode rather than defun.
1097         Remove now-unnecessary minor-mode setup activities from the body.
1098         Specify :keymap as allout-mode-map so the minor-mode-map-alist
1099         entry will be '(allout-mode . allout-mode-map) - see
1100         allout-mode-map-value, below.  Adjust docstring to track changes.
1101         (allout-minor-mode): Remove this defalias, now that we're using
1102         define-minor-mode.
1103         (allout-mode-map): Set value to be 'allout-mode-map.  The actual
1104         keymap is allout-mode-map-value, via defalias.
1105         (allout-mode-map-value): The variable holding the actual mode
1106         keymap structure, by virtue of defalias from allout-mode-map.
1107         (allout-compose-and-institute-keymap): Rename from
1108         allout-bind-keys, and including the binding-composition
1109         functionality of the former produce-allout-mode-map and
1110         allout-setup-mode-map.
1111         (allout-institute-keymap): Take over the "setup" part of the former
1112         allout-setup-mode-map.  Reassign allout-mode-map-value value and
1113         update the defalias.
1114         (allout-command-prefix) (allout-prefixed-keybindings)
1115         (allout-unprefixed-keybindings):
1116         Use allout-compose-and-institute-keymap to process the bindings.
1117         (allout-unprefixed-keybindings): Remove extraneous '?' question
1118         marks.
1119         (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
1120         user can customize if they want to use that binding.
1121         Bind allout-copy-topic-as-kill to (prefixed) \M-k.
1122         Bind allout-up-current-level to (prefixed) \C-u.  (I think i mistakenly
1123         elided that, previously, instead of the one for \C-h.)
1124         (allout-hotspot-key-handler): Remove attempt to resolve the key
1125         through the literal key-string lookup on allout-keybindings-list.
1126         That probably hasn't worked for a Long Time, and removal of
1127         allout-keybindings-list further simplifies the keybindings
1128         situation.
1129         (allout-pre-command-business): Use allout-mode-map-value instead
1130         of allout-mode-map.
1131         (allout-preempt-trailing-ctrl-h): Remove.  The user can customize
1132         the bindings if they want to use a keybinding having a trailing
1133         \C-h.  No deprecation needed since this feature was never in a
1134         release.
1135         (allout-keybindings-list): Remove.  It's not been useful for a
1136         while.  (See allout-hotspot-key-handler changes, above.)
1137         (produce-allout-mode-map): Remove.  Consolidate into
1138         allout-compose-and-institute-keymap.
1139         (allout-mode-map-adjustments): Remove.  No longer necessary with
1140         removal of allout-preempt-trailing-ctrl-h.
1141         (allout-setup-mode-map): Remove.  Consolidate into
1142         allout-compose-and-institute-keymap and allout-institute-keymap.
1144 2011-01-20  Glenn Morris  <rgm@gnu.org>
1146         * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
1148         * simple.el (read-expression-history): Remove, it's in minibuf.c.
1150 2011-01-20  Chong Yidong  <cyd@stupidchicken.com>
1152         * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
1154         * files.el (find-alternate-file, basic-save-buffer)
1155         (basic-save-buffer-2, revert-buffer, recover-file)
1156         (kill-buffer-ask, abort-if-file-too-large)
1157         (set-visited-file-name, write-file, backup-buffer)
1158         (basic-save-buffer, save-some-buffers):
1159         * dired-aux.el (dired-compress-file): Callers changed.
1161 2011-01-19  Glenn Morris  <rgm@gnu.org>
1163         * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
1164         Also check the property status.  (Bug#7861)
1166 2011-01-18  Michael Albinus  <michael.albinus@gmx.de>
1168         * net/tramp.el (tramp-debug-message): Extend function exclude
1169         list.  Use `regexp-opt'.
1171 2011-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1173         * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
1174         highlighting doesn't spill over subsequent lines.
1176         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
1177         keymap expression.  Improve docstring.
1179         * electric.el (electric-indent-post-self-insert-function):
1180         Don't auto-indent for indent-to-left-margin, it's too often
1181         counter-productive.
1183 2011-01-16  Tassilo Horn  <tassilo@member.fsf.org>
1185         * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
1186         spaces if the frame was resized, so that the full visible buffer
1187         serves as canvas for strokes.
1189 2011-01-16  Glenn Morris  <rgm@gnu.org>
1191         * info-xref.el (info-xref-docstrings): Replace cl function.
1192         Also skip directories.
1194 2011-01-16  Kevin Ryde  <user42@zip.com.au>
1196         * info-xref.el: Version 3.
1197         (info-xref-check, info-xref-check-all): Move commentary details
1198         into docstrings for better visibility.
1199         Use compilation-mode for the results buffer.
1200         (info-xref-output, info-xref-output-error, info-xref-with-output)
1201         (info-xref-filename, info-xref-in-progress):
1202         New internals for this.
1203         (info-xref-check-list, info-xref-check-buffer)
1204         (info-xref-check-all-custom): Use those.
1205         (info-xref-output-buffer): Rename from info-xref-results-buffer.
1206         (info-xref-output-heading): Rename from info-xref-filename-heading.
1207         (info-xref-good, info-xref-bad, info-xref-xfile-alist)
1208         (info-xref-filename-heading): Move to output managing section.
1209         (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
1210         (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
1211         (info-xref-subfile-p): Move to generic section with those two.
1212         (info-xref-check-node): New function split from
1213         info-xref-check-buffer, shared by info-xref-docstrings.
1214         (info-xref-goto-node-p): Move to a checking section with that func.
1215         (info-xref-unavail): New counter.
1216         (info-xref-check-node): Use it.
1217         (info-xref-with-output): Show count of unavailables at end of output.
1218         (info-xref-all-info-files): Exclude ".*" dotfiles.  Ignore broken
1219         symlinks.  Exclude .texi files.  Exclude Emacs backup files.
1220         (info-xref-check-all-custom): Fix quietening viper-mode and
1221         gnus-registry-install -- use setq not let so as not to unbind
1222         after load.
1224 2011-01-16  Juri Linkov  <juri@jurta.org>
1226         * isearch.el (isearch-abort): Don't quit if search has
1227         an incomplete regexp (isearch-error is non-nil).  (Bug#7534)
1229 2011-01-15  Mark Diekhans  <markd@soe.ucsc.edu>
1231         * files.el (backup-buffer): Make last-resort backup file in
1232         .emacs.d (Bug#6953).
1234         * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
1235         make it with permission 700.
1237 2011-01-15  Kenichi Handa  <handa@m17n.org>
1239         * mail/rmailmm.el (rmail-mime-insert-header):
1240         Set rmail-mime-coding-system to a cons whose car is the last coding
1241         system used to decode the header.
1242         (rmail-mime-find-header-encoding): New function.
1243         (rmail-mime-insert-decoded-text):
1244         Override rmail-mime-coding-system if it is a cons.
1245         (rmail-show-mime): If only a header part was decoded, find the
1246         coding system while ignoring mm-charset-override-alist.
1248 2011-01-15  Chong Yidong  <cyd@stupidchicken.com>
1250         * subr.el (event-start, event-end): Doc fix (Bug#7826).
1252 2011-01-15  Kenichi Handa  <handa@m17n.org>
1254         * mail/rmailmm.el (rmail-mime-next-item)
1255         (rmail-mime-previous-item): Delete them.
1256         (rmail-mime-shown-mode): Recursively call for children.
1257         (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
1258         Callers changed.
1259         (rmail-mime-raw-mode): Recursively call for children.
1260         (rmail-mode-map): Change mapping of tab and backtab to
1261         forward-button and backward-button respectively.
1262         (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
1263         button.
1264         (rmail-mime-update-tagline): New function.
1265         (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
1266         body display is changed.
1267         (rmail-mime-toggle-button): Rename from rmail-mime-image.
1268         (rmail-mime-image): Delete this button type.
1269         (rmail-mime-toggle): New button type.
1270         (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
1271         body display is changed.  Change the save button label to "Save".
1272         Don't process show/hide button here.
1273         (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
1274         the body display is changed.  Unconditionally call
1275         rmail-mime-insert for children.
1276         (rmail-mime-handle): Update `display' vector of the just inserted
1277         entity.
1278         (rmail-mime-process): If mail-header-parse-content-type returns
1279         nil, use "text/plain" as the fallback type.
1280         (rmail-mime-insert): For raw-mode, recursively call
1281         rmail-mim-insert for children.
1282         (rmail-mime): Handle the case that the current buffer is not rmail
1283         buffer (e.g. in summary buffer).
1285 2011-01-15  Kenichi Handa  <handa@m17n.org>
1287         * mail/rmailmm.el (rmail-mime-next-item)
1288         (rmail-mime-previous-item): Skip the body of a non-multipart
1289         entity if a tagline is shown.
1291 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1293         * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
1294         (tmm-prompt): Simplify.
1295         (tmm-add-prompt): Remove unused var `win'.
1297         * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
1298         to minor mode which used nil accidentally to mean "turn off".
1300 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
1302         * net/tramp-sh.el (tramp-find-inline-compress)
1303         (tramp-get-inline-coding): Quote command after pipe symbol for
1304         local calls under W32.  (Bug#6784)
1306 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
1308         * net/tramp.el (tramp-default-method): Initialize with pscp/plink
1309         only when running under W32.
1311 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
1313         * progmodes/grep.el (grep-compute-defaults): Quote the program
1314         file name after the pipe symbol in Grep templates.  (Bug#6784)
1315         * jka-compr.el (jka-compr-partial-uncompress): Likewise.
1317 2011-01-15  Lennart Borgman  <lennart.borgman@gmail.com>
1319         * buff-menu.el (Buffer-menu-buffer-list): New var.
1320         (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
1321         restricted buffer list is not lost on revert (Bug#7749).
1323 2011-01-15  Eric Hanchrow  <eric.hanchrow@gmail.com>
1325         * net/ldap.el (ldap-search-internal): Discard stderr output.
1327 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
1329         * files.el (directory-abbrev-alist): Doc fix.  (Bug#7777)
1331 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1333         * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
1335 2011-01-15  Kenichi Handa  <handa@m17n.org>
1337         * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
1338         part as a plain text.
1339         (rmail-mime-process-multipart): Set the default content-type to
1340         nil for unknown multipart subtypes (bug#7651).
1342 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1344         * hexl.el (hexl-mode-old-*): Remove.
1345         (hexl-mode--old-var-vals): New var to replace them.
1346         (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
1347         (hexl-mode, hexl-follow-line, hexl-activate-ruler):
1348         Use them to set local vars (bug#7846).
1349         (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
1350         (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
1351         (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
1353         * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
1354         (smerge-resolve--normalize-re): New var.
1355         (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
1356         (smerge-resolve): Use them.
1357         * newcomment.el (comment-only-p): New function.
1358         (comment-or-uncomment-region): Use it.
1360 2011-01-14  Brent Goodrick  <bgoodr@gmail.com>  (tiny change)
1362         * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
1363         table, get the value before switching to the output buffer.  (Bug#7733)
1365 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1367         * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
1369 2011-01-14  Kim F. Storm  <storm@cua.dk>
1371         * emulation/cua-base.el (cua--init-keymaps):
1372         Remap exchange-point-and-mark in cua-global-keymap.
1374 2011-01-14  Tassilo Horn  <tassilo@member.fsf.org>
1376         * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
1377         loop keyword.
1379 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1381         * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
1382         Require CL.
1383         (easy-menu-create-menu, easy-menu-convert-item-1):
1384         Use :label rather than nil for labels.  Use `case'.
1385         Add :enable as alias for :active.
1386         (easy-menu-binding): Obey :label.
1388 2011-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1390         Use run-mode-hooks for major mode hooks (bug#513).
1391         * textmodes/reftex-toc.el (reftex-toc-mode-map):
1392         Rename from reftex-toc-map.
1393         (reftex-toc-mode): Use define-derived-mode.
1394         * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
1395         (reftex-select-label-mode-map, reftex-select-bib-mode-map):
1396         Rename from reftex-select-(label|bib)-map.  Move init into declaration.
1397         (reftex-select-label-mode, reftex-select-bib-mode):
1398         Use define-derived-mode.
1399         * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
1400         (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
1401         Move init into delcaration.
1402         (reftex-index-mode, reftex-index-phrases-mode):
1403         Use define-derived-mode.
1404         * speedbar.el (speedbar-mode-syntax-table): Renaqme from
1405         speedbar-syntax-table.  Move init into declaration.
1406         (speedbar-mode-map): Rename from speedbar-key-map.
1407         Move init into declaration.
1408         (speedbar-file-key-map): Move init into declaration.
1409         (speedbar-mode): Use define-derived-mode.
1410         * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
1411         * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
1412         * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
1413         (chart-face-list): Move initialization into declaration.
1414         (chart-mode): Use define-derived-mode.
1415         * calculator.el (calculator-mode-map): Move init into declaration.
1416         (calculator-mode): Use define-derived-mode.
1418         * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
1419         work for nested comments.
1421         * progmodes/prolog.el: Use syntax-propertize.  Further code cleanup.
1422         (prolog-use-prolog-tokenizer-flag): Change default when
1423         syntax-propertize can be used.
1424         (prolog-syntax-propertize-function): New var.
1425         (prolog-mode-variables): Move make-local-variable into `set'.
1426         Don't make comment-column local since we don't set it.
1427         Set comment-add (as it was in previous prolog.el).  Use dolist.
1428         Set syntax-propertize-function.
1429         (prolog-mode, prolog-inferior-mode):
1430         Call prolog(-inferior)-menu directly, not through the mode-hook.
1431         (prolog-buffer-module, prolog-indent-level)
1432         (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
1433         (prolog-comment-limits, prolog-goto-comment-column):
1434         Use line-(end|beginning)-position.
1435         (prolog-build-prolog-command): Tighten up regexp.
1436         (prolog-consult-compile): Move make-local-variable into `set'.
1437         (prolog-consult-compile-filter, prolog-goto-next-paren)
1438         (prolog-help-on-predicate, prolog-clause-info)
1439         (prolog-mark-predicate): Don't let+setq.
1440         (prolog-indent-line): Use indent-line-to.
1441         Only call prolog-goto-comment-column if necessary.
1442         (prolog-indent-level): Use bobp.
1443         (prolog-first-pos-on-line): Remove, not used any more.
1444         (prolog-in-string-or-comment): Use syntax-ppss if available.
1445         (prolog-help-on-predicate): Use read-string.
1446         (prolog-goto-predicate-info): Simplify.
1447         (prolog-read-predicate): Use `default' rather than `initial'.
1448         (prolog-temporary-file): Use make-temp-file to close a security hole.
1449         (prolog-toggle-sicstus-sd): New command.
1450         (prolog-electric-underscore, prolog-variables-to-anonymous):
1451         Use dynamic-scoping as it was meant.
1452         (prolog-menu): Move menu definitions to top-level.
1453         Use a toggle-button for Sicstus's source debugger.
1454         Change "Code" to the more usual "Prolog", and hence change "Prolog"
1455         to "System".
1456         (prolog-inferior-menu): Reuse prolog-menu's help menu.
1457         Move other menu definition to top-level.
1459 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
1461         * doc-view.el (doc-view-open-text): Use meaningful text buffer
1462         name.  Keep original document's directory as default-directory
1463         (bug#6446).
1464         (doc-view-initiate-display): Fall back to normal mode when
1465         doc-view-mode cannot be enabled, also when extracting the document
1466         text into a separate buffer (bug#6446).
1468         * simple.el (shell-command): Don't error out if shell command
1469         buffer contains text with non-nil read-only property when erasing
1470         the buffer.
1472 2011-01-13  Kim F. Storm  <storm@cua.dk>
1474         * ido.el (ido-may-cache-directory): Move "too-big" check later.
1475         (ido-next-match, ido-prev-match): Fix stray reordering of matching
1476         items when cycling through the matches.
1478 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
1480         * dired-x.el (dired-omit-verbose): New defcustom that allows
1481         disabling the omit messages.
1482         (dired-omit-expunge): Use it.
1484 2011-01-13  Christian Ohler  <ohler@gnu.org>
1486         * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
1488 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
1490         * font-lock.el (font-lock-verbose): Default to nil.
1492 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
1494         * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
1495         (compose-mail): New arg RETURN-ACTION.
1496         (compose-mail-other-window, compose-mail-other-frame): Likewise.
1498         * mail/sendmail.el (mail-return-action): New var.
1499         (mail-mode): Make it buffer-local.
1500         (mail-bury): Obey it.  Move special Rmail window handling to
1501         rmail-mail-return.
1502         (mail, mail-setup): New arg RETURN-ACTION.
1503         (sendmail-user-agent-compose): Move from simple.el.
1505         * mail/rmail.el (rmail-mail-return): New function.
1506         (rmail-start-mail): Pass it to compose-mail.
1508 2011-01-12  Chong Yidong  <cyd@stupidchicken.com>
1510         * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
1511         menus.  Add menu item for customize-themes.
1513         * cus-theme.el (customize-themes):
1514         * emacs-lisp/package.el (package--list-packages):
1515         Use switch-to-buffer.
1517 2011-01-11  Johan Bockgård  <bojohan@gnu.org>
1519         * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
1521 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1523         * progmodes/prolog.el: Fix up coding convention and such.
1524         (prolog-indent-width): Use the same default as in
1525         previous prolog.el rather than tab-width which depends on which buffer
1526         is current when the file is loaded.
1527         (prolog-electric-newline-flag): Only enable if electric-indent-mode
1528         is not available.
1529         (prolog-emacs): Remove.  Use (featurep 'xemacs) instead.
1530         (prolog-known-systems): Remove.
1531         (prolog-mode-syntax-table, prolog-inferior-mode-map):
1532         Move initialization into declaration.
1533         (prolog-mode-map): Move initialization into declaration.
1534         Remove system-specific mode-map vars, since they referred to the same
1535         keymap anyway.
1536         (prolog-mode-variables): Obey the user's preference w.r.t
1537         adaptive-fill-mode.  Prefer symbol-value to `eval'.
1538         (prolog-mode-keybindings-edit): Add compatibility bindings.
1539         (prolog-mode): Use define-derived-mode.  Don't handle mercury here.
1540         (mercury-mode-map): New var.
1541         (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
1542         (prolog-ensure-process, prolog-process-insert-string)
1543         (prolog-consult-compile): Use with-current-buffer.
1544         (prolog-guess-fill-prefix): Simplify data flow.
1545         (prolog-replace-in-string): New function to use instead of
1546         replace-in-string.
1547         (prolog-enable-sicstus-sd): Don't abuse `eval'.
1548         (prolog-uncomment-region): Use `uncomment-region' when available.
1549         (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
1550         (prolog-int-to-char, prolog-char-to-int): New functions to use instead
1551         of int-to-char and char-to-int.
1552         (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
1554 2011-01-11  Stefan Bruda  <stefan@bruda.ca>
1556         * progmodes/prolog.el: Replace by a whole new file.
1558 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1560         * subr.el (eval-after-load): Fix timing for features (bug#7769).
1561         (declare-function, undefined, insert-for-yank)
1562         (replace-regexp-in-string): Follow checkdoc's recommendations.
1564 2011-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1566         * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
1567         refreshing the diary buffer.
1569 2011-01-10  Ken Manheimer  <ken.manheimer@gmail.com>
1571         * allout.el: Add 2011 to the file copyright.
1572         (allout-encrypt-string): Prevent encryption from adding an extra
1573         newline at the end of the topic body.
1574         (allout-version): Increment to 2.3.
1576 2011-01-10  Michael Albinus  <michael.albinus@gmx.de>
1578         * net/dbus.el (dbus-unregister-service): Complete doc.
1579         Fix call of dbus-error signal.
1580         (dbus-register-property): Use `dont-register' keyword.
1582 2011-01-10  Jan Moringen  <jan.moringen@uni-bielefeld.de>
1584         * net/dbus.el (dbus-unregister-service): Translate returned
1585         integer into a symbol.
1586         (dbus-register-property): Use `dbus-register-service' to do the
1587         name registration.
1589 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
1591         * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
1592         Suggested by Joakim Verona.
1594         * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
1596         * wid-edit.el (visibility): Replace :on-image and :off-image
1597         widget properties with :on-glyph and :off-glyph, for consistency
1598         with the `visibility' widget.
1599         (widget-toggle-value-create, widget-visibility-value-create):
1600         Merge into a single function `widget-toggle-value-create'.
1602         * cus-edit.el (custom-variable-value-create, custom-visibility)
1603         (custom-face-edit-value-create, custom-face-value-create):
1604         Replace :on-image and :off-image widget properties with :on-glyph and
1605         :off-glyph, for consistency with the `visibility' widget.
1607 2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>
1609         * net/ldap.el (ldap-search-internal): Don't use eval.
1611 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
1613         * subr.el (read-char-choice): Use read-key.
1615         * custom.el (custom-safe-themes): Rename from
1616         custom-safe-theme-files.  Add :risky tag.
1617         (load-theme, custom-theme-load-confirm): Save sha1 hashes to
1618         custom-safe-themes, not filenames.  Suggested by Stefan Monnier.
1620 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
1622         * tool-bar.el (tool-bar-setup): Remove Help button.  Remove label
1623         from Search and add a label to Undo.
1625         * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
1626         inappropriate buttons and adding :vert-only tags.
1628         * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
1629         removal of Help tool-bar button.  Remove Undo button for space.
1631         * info.el (info-tool-bar-map): Add :vert-only tags.
1633 2011-01-08  Tassilo Horn  <tassilo@member.fsf.org>
1635         * doc-view.el (doc-view-mode-p): Check for png or imagemagick
1636         image backend support.  Either of them is fine.
1638 2011-01-08  Chong Yidong  <cyd@stupidchicken.com>
1640         * subr.el (y-or-n-p): Doc fix.
1642         * custom.el (custom-safe-theme-files): New defcustom.
1643         (custom-theme-load-confirm): New function.
1644         (load-theme): Load theme using `load', confirming with
1645         custom-theme-load-confirm if necessary.
1647         * subr.el (read-char-choice): New function, factored out from
1648         dired-query and hack-local-variables-confirm.
1650         * dired-aux.el (dired-query):
1651         * files.el (hack-local-variables-confirm): Use it.
1653         * dired-aux.el (dired-compress-file):
1654         * files.el (abort-if-file-too-large, find-alternate-file)
1655         (set-visited-file-name, write-file, backup-buffer)
1656         (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
1657         (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
1658         Use new format string args for y-or-n-p and yes-or-no-p.
1660 2011-01-08  Andreas Schwab  <schwab@linux-m68k.org>
1662         * progmodes/compile.el (compilation-error-regexp-alist-alist)
1663         [gcc-include]: Tighten file name match, add match for column
1664         number.  (Bug#7806)
1665         [gnu]: Remove unused group.
1667 2011-01-08  Glenn Morris  <rgm@gnu.org>
1669         * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
1671         * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
1673 2011-01-07  Sam Steingold  <sds@gnu.org>
1675         * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
1676         the `explicit-shell-file-name' because that is the
1677         non-interactive shell.
1679 2011-01-07  Chong Yidong  <cyd@stupidchicken.com>
1681         * subr.el (y-or-n-p): Accept format string args.
1683 2011-01-07  Glenn Morris  <rgm@gnu.org>
1685         * Makefile.in (EMACSOPT): Add --no-site-lisp.
1687 2011-01-06  Ken Manheimer  <ken.manheimer@gmail.com>
1689         * allout.el (allout-back-to-current-heading): Ensure return to
1690         the visible containing topic, rather than a collapsed one.
1691         (allout-view-change-hook): Remove hook that was deprecated long ago.
1692         (allout-exposure-change-hook): Remove documentation remarks
1693         concerning removed allout-view-change-hook.
1694         (allout-flag-region): Remove invocation of and documentation
1695         remarks concerning allout-view-change-hook.
1697 2011-01-06  Glenn Morris  <rgm@gnu.org>
1699         * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
1700         (vc-bzr-annotate-extract-revision-at-line):
1701         Handle authors with embedded spaces.  (Bug#7792)
1703 2011-01-05  Tassilo Horn  <tassilo@member.fsf.org>
1705         * doc-view.el (doc-view-image-width): New variable.
1706         (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
1707         backend for PNG images, and do dynamic rescaling instead of
1708         reconverting the whole doc.
1710 2011-01-05  Glenn Morris  <rgm@gnu.org>
1712         * emacs-lisp/rx.el (rx-repeat): Replace CL function.
1714 2011-01-04  Ken Manheimer  <ken.manheimer@gmail.com>
1716         * allout.el: Reconcile with changes in line movement behavior for
1717         long text lines that cross more than a single physical window
1718         line, ie when truncate-lines is nil.
1719         (allout-next-visible-heading): Provide for change in line-move
1720         behavior on long lines when truncate-lines is nil.  In that case,
1721         line-move can wind up on the same textual line when it moves to
1722         the next window line, and moving to the bullet position after the
1723         move yields zero advancement.  Add logic to detect and compensate
1724         for the lack of progress.
1725         (allout-current-topic-collapsed-p): move-end-of-line respect for
1726         field boundaries is different when operating with body lines
1727         shorter than window width versus ones greater than window width,
1728         which can yield false negatives in this function.  Avoid
1729         difference by applying move-end-of-line while field-text-motion is
1730         inhibited.
1732 2011-01-04  Glenn Morris  <rgm@gnu.org>
1734         * textmodes/rst.el (rst-compile-toolsets):
1735         Add pdf and s5 to option alist.
1737 2011-01-04  Jan Moringen  <jan.moringen@uni-bielefeld.de>
1739         * net/dbus.el (dbus-register-property): Add optional parameter
1740         dont-register-service.  Updated docstring accordingly.
1742 2011-01-04  Andreas Schwab  <schwab@linux-m68k.org>
1744         * textmodes/rst.el (rst-compile-pdf-preview)
1745         (rst-compile-slides-preview): Remove extra line.
1747 2011-01-04  Glenn Morris  <rgm@gnu.org>
1749         * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
1750         Add `pdf' and `s5' entries.  Use `prog.py' if found, otherwise
1751         default to `prog' without a .py extension.
1752         (rst-compile-pdf-preview, rst-compile-slides-preview):
1753         Use program names from rst-compile-toolsets, rather than hard-coding.
1754         (rst-portable-mark-active-p): Fix presumed typo.
1756 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1758         * term/w32-win.el (dynamic-library-alist): Set up correctly for
1759         libpng versions both before and after 1.4.0.  (Bug#7716)
1761 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1763         * time.el (display-time-mode): Mention display-time-interval in
1764         the doc string.  (Bug#7713)
1766 2011-01-02  Kenichi Handa  <handa@m17n.org>
1768         * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
1769         condition-case and return an error message string if something
1770         goes wrong.
1771         (rmail-show-mime): Adjust for the above change.  Insert the
1772         header by rmail-mime-insert-header.
1774 2011-01-02  Kenichi Handa  <handa@m17n.org>
1776         * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
1777         rmail-mime-previous-item, and rmail-mime-toggle-hidden.
1778         (rmail-mime-mbox-buffer)
1779         (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
1780         (rmail-mime-entity): Argument changed.  All codes handling an
1781         entity object are changed.
1782         (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
1783         the above change.
1784         (rmail-mime-entity-children, rmail-mime-entity-handler)
1785         (rmail-mime-entity-tagline): New functions.
1786         (rmail-mime-message-p): New function.
1787         (rmail-mime-save): Bind rmail-mime-mbox-buffer.
1788         (rmail-mime-entity-segment, rmail-mime-next-item)
1789         (rmail-mime-previous-item, rmail-mime-shown-mode)
1790         (rmail-mime-hidden-mode, rmail-mime-raw-mode)
1791         (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
1792         (rmail-mime-insert-tagline, rmail-mime-insert-header):
1793         New functions.
1794         (rmail-mime-text-handler): Call rmail-mime-insert-text.
1795         (rmail-mime-insert-decoded-text): New function.
1796         (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
1797         (rmail-mime-insert-image): Argument changed.  Caller changed.
1798         (rmail-mime-image): Call rmail-mime-toggle-hidden.
1799         (rmail-mime-set-bulk-data): New function.
1800         (rmail-mime-insert-bulk): Argument changed.
1801         (rmail-mime-multipart-handler): Return t.
1802         (rmail-mime-process-multipart): Argument changed.
1803         Handle "multipart/alternative" here.
1804         (rmail-mime-process): Argument changed.
1805         (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
1806         (rmail-mime-insert): Argument changed.  Handle raw display mode.
1807         (rmail-mime): Argument changed.  Handle toggling of raw display
1808         mode.
1809         (rmail-show-mime): Bind rmail-mime-mbox-buffer and
1810         rmail-mime-view-buffer.
1811         (rmail-insert-mime-forwarded-message): Likewise.
1812         (rmail-search-mime-message): Likewise.  Don't bind rmail-buffer.
1814         * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
1815         non-nil, handle the header in rmail-show-mime-function.
1817 2011-01-02  Leo  <sdl.web@gmail.com>
1819         * help-fns.el (describe-variable): Fix previous change.
1821 2011-01-02  Juri Linkov  <juri@jurta.org>
1823         * isearch.el (isearch-lazy-highlight-error): New variable.
1824         (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
1825         `isearch-lazy-highlight-error'.  Set `isearch-lazy-highlight-error'
1826         to the current value of `isearch-error' (Bug#7468).
1828 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
1830         * help-fns.el (describe-variable): Don't emit trailing whitespace
1831         (Bug#7511).
1833 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
1835         * textmodes/rst.el (rst-compile-pdf-preview)
1836         (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
1838 2011-01-02  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
1840         * emulation/edt-mapper.el: Override mapping of function keys so
1841         that the later call to read-key-sequence works.
1843 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1845         * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
1846         Unix EOLs.  (Bug#7589)
1848 2011-01-02  Leo  <sdl.web@gmail.com>
1850         * eshell/em-hist.el (eshell-previous-matching-input): Signal error
1851         if point is not behind eshell-last-output-end (Bug#7585).
1853 2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1855         * files.el (file-local-variables-alist):
1856         Make permanent-local (bug#7767).
1858 2011-01-02  Glenn Morris  <rgm@gnu.org>
1860         * version.el (emacs-copyright): Set short copyright year to 2011.
1862 2011-01-02  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
1864         * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
1865         an existing temp buffer.  (Bug#7746)
1867 2011-01-02  Glenn Morris  <rgm@gnu.org>
1869         * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
1870         multiple addresses.  (Bug#7760)
1872 2011-01-01  Ken Manheimer  <ken.manheimer@gmail.com>
1874         * allout.el (allout-auto-fill): Do not infinitely recurse - use
1875         do-auto-fill if everything points back to allout-auto-fill.
1876         (allout-mode-deactivate-hook): Declare obsolete, in favor of
1877         standard-formed minor-mode deactivate hook, allout-mode-off-hook.
1879 2010-12-31  Michael Albinus  <michael.albinus@gmx.de>
1881         * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
1882         and "scpx".
1884 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
1886         * doc-view.el (doc-view-set-doc-type): New function refactored
1887         from doc-view-mode.
1888         (doc-view-fallback-mode): New function.
1889         (doc-view-mode): Use it.
1890         (doc-view-mode-maybe): New function that checks if doc-view-mode
1891         can be used and falls back to the next best mode otherwise.
1893         * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
1894         DVI, OpenDocument, and MS Office files.
1896 2010-12-30  Andreas Schwab  <schwab@linux-m68k.org>
1898         * emacs-lisp/rx.el (rx-syntax): Fix typo.
1900 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
1902         * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
1903         on a copy of auto-mode-alist, because that deletes with side
1904         effects.
1906 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
1908         * doc-view.el (doc-view-mode, doc-view-toggle-display):
1909         Use normal-mode without doc-view-mode bindings in auto-mode-alist as
1910         fallback instead of hard coding fundamental mode.
1912 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
1914         * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
1915         Office) files also for searching.
1917 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
1919         * doc-view.el: Implement viewing of OpenDocument (and Microsoft
1920         Office) files.  Not yet enabled via auto-mode-list.
1921         (doc-view-unoconv-program): New custom variable.
1922         (doc-view-mode-p): Handle new odf document type.
1923         (doc-view-odf->pdf): New conversion function.
1924         (doc-view-convert-current-doc): Call it for odf files.
1925         (doc-view-mode): Recognize newly supported file extensions.
1927 2010-12-30  Michael Albinus  <michael.albinus@gmx.de>
1929         * net/tramp.el (tramp-default-method-alist)
1930         (tramp-default-user-alist)
1931         (tramp-local-host-regexp, tramp-prefix-domain-format)
1932         (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
1934         * net/tramp-ftp.el:
1935         * net/tramp-gvfs.el:
1936         * net/tramp-gw.el:
1937         * net/tramp-imap.el:
1938         * net/tramp-sh.el:
1939         * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
1940         code of `tramp-default-method-alist' and `tramp-default-user-alist'.
1942 2010-12-29  Karl Fogel  <kfogel@red-bean.com>
1944         * saveplace.el (save-place-alist-to-file): Save list sorted and
1945         pretty-printed, so that it is mergeable by line-based text merging,
1946         as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
1948 2010-12-28  Ken Manheimer  <ken.manheimer@gmail.com>
1950         * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
1951         (allout-mode): Argument "toggle" => "force".
1952         Refine the docstring.
1953         Remove special provisions for reactivation, besides the 'force'
1954         argument.
1955         Consolidate layout provisions coce directly into the activation
1956         condition branch, now that we've removed those provisions.
1957         (allout-unload-function): Explicitly activate the mode before
1958         deactivating, if it's initially deactivated.
1959         (allout-set-buffer-multibyte): Properly prevent byte-compiler
1960         warnings for version of function used only where
1961         set-buffer-multibyte is unavailable.
1963 2010-12-28  Chong Yidong  <cyd@stupidchicken.com>
1965         * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
1966         are handled by the menu-bar entries.  As before, don't use
1967         :visibile to avoid changing the tool-bar.
1969 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
1971         * net/secrets.el (secrets-delete-alias): New defun.
1973 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
1975         * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
1976         methods, otherwise ~/.ssh/config would be ignored.
1978 2010-12-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1980         * emacs-lisp/rx.el: Make it a superset of sregex.
1981         (rx-constituents): Add `any => "."', mark `repeat' as taking any number
1982         of args, add `regex' alias.
1983         (rx-info): Add arg to distinguish head and standalone forms.
1984         (rx-check, rx-form): Pass the corresponding arg.
1985         (rx-**): Simplify.
1986         (rx-repeat): Make it work for any number of args.
1987         (rx-syntax): Make it accept syntax chars as is.
1988         * obsolete/sregex.el: Move from emacs-lisp/.
1989         * emacs-lisp/re-builder.el: Remove sregex support.
1990         * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
1992 2010-12-25  Eli Zaretskii  <eliz@gnu.org>
1994         * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
1995         PRIMARY first, then the clipboard.  (Bug#7699)
1997 2010-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1999         * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
2000         print-number-table.
2002 2010-12-21  Chong Yidong  <cyd@stupidchicken.com>
2004         * help-fns.el (find-lisp-object-file-name): Locate .emacs from
2005         .emacs.elc (Bug#7530).
2007         * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
2008         image spec (Bug#7480).
2010 2010-12-21  Daiki Ueno  <ueno@unixuser.org>
2012         * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
2013         * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
2014         Move from lisp/.
2016 2010-12-20  Leo  <sdl.web@gmail.com>
2018         * dnd.el (dnd-get-local-file-name): Unhex of file name shall
2019         always be performed (Bug#7680).
2021 2010-12-20  Chong Yidong  <cyd@stupidchicken.com>
2023         * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
2024         (menu-bar-edit-menu): Bind "Copy" to kill-ring-save.  Don't use
2025         mouse-region-match.
2027         * color.el: Move from gnus/.
2029         * vc/diff.el (diff-better-file-name): Function deleted.
2030         abbreviating file names causes problems with shell-quote-argument.
2031         (diff-no-select): Just use expand-file-name.
2033         * tool-bar.el (tool-bar--image-expression): New function.
2034         (tool-bar-local-item, tool-bar--image-exp): Use it.
2035         (tool-bar-setup): Initialize tool-bar-separator-image-expression.
2036         Use :enable instead of :visible to avoid changing the tool-bar
2037         configuration unnecessarily.
2039         * info.el (info-tool-bar-map): Add separators.
2041 2010-12-17  Ken Brown  <kbrown@cornell.edu>
2043         * loadup.el: Use version numbers in Cygwin build.
2045 2010-12-17  Ryan Twitchell  <metatheorem@gmail.com>  (tiny change)
2047         * ido.el (ido-file-internal): Ask for confirmation before
2048         overwriting an existing file (Bug#1238).
2050 2010-12-16  Chong Yidong  <cyd@stupidchicken.com>
2052         * tool-bar.el (tool-bar-setup): Add separators.
2054         * menu-bar.el (featurep): Use menu-bar-separator.
2056 2010-12-16  Ken Manheimer  <ken.manheimer@gmail.com>
2058         Migrate allout encryption provisions from pgg to epg.
2060         * allout.el (allout-toggle-current-subtree-encryption)
2061         (allout-toggle-subtree-encryption): Adjust docstrings to reflect
2062         defaulting policy and other changes.  Change fetch-pass to keymode-cue,
2063         for simpler universal argument interpretation.
2064         (allout-toggle-subtree-encryption): Adjust docstring to describe
2065         changed encryption provisions.  Change fetch-pass to keymode-cue, for
2066         simpler universal argument interpretation.  Remove provisions for
2067         handling key type and identity - they'll all be within
2068         allout-encrypt-string or epg/epg or even contained all the way in gpg.
2069         (allout-encrypt-string): Include keymode-cue, for optionally prompting
2070         for keypair recipients (universal argument > 1) and, in addition,
2071         associating the specified recipients with the outline (universal
2072         argument > 4) using a file local variable setting for
2073         'epa-file-encrypt-to'.
2074         Require epa, for recipients handling.
2075         Change how regexp filtering elements are named.
2076         Describe the problem with caching of incorrect symmetric-decryption
2077         keys.
2078         Use the epa-passphrase-callback-function, in case the user is using
2079         GnuPG v1.
2080         Support saving of the selected keypair recipients when invoked with a
2081         keymode-cue > 4.
2082         Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
2083         Require 'epa.
2084         Establish epg-context with armoring and default epg-protocol.
2085         Remove all passphrase cache, verification, and hinting code.
2086         (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
2087         No longer used, delete.
2088         (allout-mode): Adjust docstring to describe changed encryption
2089         provisions.  Describe the problem with caching of incorrect
2090         symmetric-decryption keys.
2091         (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
2092         (allout-make-passphrase-state, allout-passphrase-state-passphrase)
2093         (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
2094         (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
2095         Obsolete, remove.
2097 2010-12-16  Daiki Ueno  <ueno@unixuser.org>
2099         * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
2100         key selection prompt; make 'silent as default (Bug#7487).
2102 2010-12-16  Leo  <sdl.web@gmail.com>
2104         * eshell/eshell.el (eshell-directory-name):
2105         Use locate-user-emacs-file (Bug#7578).
2107 2010-12-15  Glenn Morris  <rgm@gnu.org>
2109         * loadup.el (symbol-file-load-history-loaded): Remove; unused.
2111 2010-12-15  Jari Aalto  <jari.aalto@cante.net>
2112             Scott Evans <gse@antisleep.com>
2114         * rect.el (rectange--default-line-number-format)
2115         (rectangle-number-line-callback): New functions.
2116         (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
2118 2010-12-15  Chong Yidong  <cyd@stupidchicken.com>
2120         * rect.el (operate-on-rectangle-lines, string-rectangle-string):
2121         Delete unused variables.
2122         (move-to-column-force): Remove function obsolete since 21.2.
2124 2010-12-14  Michael Albinus  <michael.albinus@gmx.de>
2126         * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
2127         (tramp-handle-insert-file-contents): Do not set permanent-local
2128         property.
2130         * net/tramp-cache.el (tramp-persistency-file-name):
2131         Use `locate-user-emacs-file' if fboundp.
2133         * net/tramp-sh.el (tramp-methods): Add "ksu".
2134         (tramp-default-user-alist): Add "ksu".  Use `regexp-opt' for
2135         method list.
2137 2010-12-14  Glenn Morris  <rgm@gnu.org>
2139         * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
2140         (find-tag-marker-ring): Declare.
2141         (js-find-symbol): Require etags.
2143         * mail/sendmail.el: Don't require rmail or mailalias when compiling.
2144         Require mail-utils.
2145         (mail-alias-file): Don't autoload.  Doc fix.
2146         (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
2147         (mail-mailer-swallows-blank-line): Default to nil.  Doc fix.
2148         Mark as obsolete, and risky.
2149         (mail-setup): Simplify.
2151         * mail/mailalias.el (build-mail-aliases): Make it interactive.
2152         * mail/sendmail.el (build-mail-aliases): Update autoload.
2154         * dired.el (dired-trivial-filenames, dired-chown-program)
2155         (dired-auto-revert-buffer): Remove autoload cookies.
2156         * mail/sendmail.el (mail-recover-1): Require 'dired.
2158         * dired.el (dired-subdir-switches, dired-chown-program)
2159         (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
2160         Make into defcustoms.
2161         (dired-chown-program): Simplify initialization.
2163         * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
2165 2010-12-13  Romain Francoise  <romain@orebokech.com>
2167         * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
2169 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2171         * net/netrc.el (netrc-point-at-eol): Remove the unused
2172         netrc-point-at-old and netrc-bound-and-true-p bindings.
2173         (netrc-parse): Cache the netrc contents.
2175 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
2177         * subr.el (posn-col-row): Evaluate header-line-format in the
2178         context of the POSITION window's buffer.
2180 2010-12-13  Glenn Morris  <rgm@gnu.org>
2182         * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
2183         (with-silent-modifications): Doc fixes.
2185 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
2187         * net/tramp.el (tramp-action-password, tramp-process-actions):
2188         Revert previous from.  Use `save-restriction'.
2190 2010-12-13  Stephen Berman  <stephen.berman@gmx.net>
2192         * calendar/diary-lib.el (diary-list-sexp-entries):
2193         Handle case of no newline at end of file.  (Bug#7536)
2195 2010-12-13  Glenn Morris  <rgm@gnu.org>
2197         * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
2199 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
2201         * net/tramp.el (tramp-action-password): Delete region, do not narrow.
2202         (tramp-process-actions): Do not widen.
2204         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2205         Protect buffer-modified value.  (Bug#7557)
2207 2010-12-13   Jan Moringen  <jmoringe@techfak.uni-bielefeld.de>
2209         * log-edit.el (log-edit-changelog-entries):
2210         Regexp quote filename.  (Bug#7505)
2212 2010-12-13  Tom Breton  <tehom@panix.com>
2214         * cus-edit.el (custom-save-all):
2215         Bind print-length and print-level to nil.  (Bug#7581)
2217 2010-12-13  Glenn Morris  <rgm@gnu.org>
2219         * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
2220         Run hooks to update menu contents.  (Bug#7586)
2222         * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
2223         file names, for the sake of MS Windows.  (Bug#7588)
2225 2010-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2227         * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
2228         empty lines without a leading space.
2230 2010-12-13  Leo  <sdl.web@gmail.com>
2232         * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
2233         while mapping over marks (Bug#6810).
2235 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
2237         * image-dired.el (image-dired-db-file)
2238         (image-dired-temp-image-file, image-dired-gallery-dir)
2239         (image-dired-temp-rotate-image-file): Set default values relative
2240         to image-dired-dir (Bug#7518).
2242 2010-12-13  Lawrence Mitchell  <wence@gmx.li>
2244         * format.el (format-decode-run-method): Pass args FROM and TO, not
2245         point-min and point-max, to shell-command-on-region (Bug#7488).
2247 2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
2249         * frame.el (blink-cursor-mode): Make default t for ns.
2251 2010-12-13  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
2253         * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2255 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
2257         * comint.el (comint-dynamic-list-input-ring)
2258         (comint-dynamic-complete-filename)
2259         (comint-replace-by-expanded-filename)
2260         (comint-dynamic-simple-complete)
2261         (comint-dynamic-list-filename-completions)
2262         (comint-dynamic-list-completions): Doc fix (Bug#7499).
2264         * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
2265         Doc fix (Bug#7471).
2267 2010-12-13  Martin Rudalics  <rudalics@gmx.at>
2269         * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
2270         (Bug#7533).
2272 2010-12-13  W. Martin Borgert <debacle@debian.org>  (tiny change)
2274         * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
2275         (Bug#7491).
2277 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
2279         * files.el (file-relative-name): Handle UNC file names on
2280         DOS/Windows.  (Bug#4674)
2282 2010-12-13  Daiki Ueno  <ueno@unixuser.org>
2284         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2285         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
2286         (epg-context-set-passphrase-callback): Mention that the callback
2287         is not called when used with GnuPG 2.x.
2289 2010-12-13  Glenn Morris  <rgm@gnu.org>
2291         * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
2292         Ensure ps-footer-font-size-internal is initialized.
2293         Call ps-get-page-dimensions before trying to use ps-font-for-text.
2295 2010-12-13  Kenichi Handa  <handa@m17n.org>
2297         * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
2298         within condition-case.
2299         (rmail-show-mime): Don't use condition-case.
2300         (rmail-search-mime-message): New function.
2301         (rmail-search-mime-message-function): Set to
2302         rmail-search-mime-message.
2304 2010-12-13  Leo  <sdl.web@gmail.com>
2306         * ido.el (ido-common-initialization): New function.  (bug#3274)
2307         (ido-mode): Use it.
2308         (ido-completing-read): Call it.
2310 2010-12-12  Karl Fogel  <kfogel@red-bean.com>
2312         * bookmark.el (bookmark-name-from-full-record): Rename back to
2313         this original name from `bookmark-name-from-record' reverting part
2314         of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
2315         As Drew Adams pointed out, there was no reason to cause churn for
2316         third-party callers.
2318 2010-12-12  Alan Mackenzie  <acm@muc.de>
2320         * progmodes/cc-engine.el (c-forward-type): Before scanning a
2321         template arglist, check that the current language supports this.
2323 2010-12-11  Glenn Morris  <rgm@gnu.org>
2325         * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
2326         state of the file matches.  (Bug#7544)
2327         (vc-bzr-register, vc-bzr-checkin)
2328         (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
2329         (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
2331         * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
2333 2010-12-11  Karel Klíč  <kklic@redhat.com>
2335         * files.el (auto-mode-alist): Use html-mode for *.xhtml.  (Bug#7606)
2337 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2339         Derive from prog-mode, use derived-mode-p, and fix up various
2340         minor style issues in lisp/progmodes.
2342         * progmodes/vhdl-mode.el (vhdl-mode):
2343         * progmodes/verilog-mode.el (verilog-mode):
2344         * progmodes/vera-mode.el (vera-mode):
2345         * progmodes/sql.el (sql-mode):
2346         * progmodes/scheme.el (scheme-mode):
2347         * progmodes/perl-mode.el (perl-mode):
2348         * progmodes/octave-inf.el (inferior-octave-mode):
2349         * progmodes/autoconf.el (autoconf-mode):
2350         * progmodes/m4-mode.el (m4-mode):
2351         * progmodes/inf-lisp.el (inferior-lisp-mode):
2352         * progmodes/idlwave.el (idlwave-mode):
2353         * progmodes/icon.el (icon-mode):
2354         * progmodes/idlw-help.el (idlwave-help-mode):
2355         * progmodes/dcl-mode.el (dcl-mode):
2356         * progmodes/idlw-shell.el (idlwave-shell-mode):
2357         * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
2358         (ebrowse-member-mode, ebrowse-electric-position-mode):
2359         Use define-derived-mode.
2361         * progmodes/xscheme.el (exit-scheme-interaction-mode)
2362         (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
2363         (xscheme-debugger-mode-p, xscheme-send-string-1):
2364         * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
2365         (tcl-load-file, tcl-restart-with-file):
2366         * progmodes/ps-mode.el (ps-run-running):
2367         * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
2368         * progmodes/js.el (js--get-all-known-symbols):
2369         * progmodes/inf-lisp.el (inferior-lisp-proc):
2370         * progmodes/idlwave.el (idlwave-beginning-of-statement)
2371         (idlwave-template, idlwave-update-buffer-routine-info)
2372         (idlwave-update-current-buffer-info)
2373         (idlwave-get-routine-info-from-buffers, idlwave-choose)
2374         (idlwave-scan-class-info, idlwave-fix-keywords)
2375         (idlwave-list-buffer-load-path-shadows):
2376         * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
2377         (idlwave-toolbar-remove):
2378         * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
2379         (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
2380         (idlwave-shell-menu-def):
2381         * progmodes/idlw-complete-structtag.el
2382         (idlwave-prepare-structure-tag-completion):
2383         * progmodes/gud.el (gud-set-buffer):
2384         * progmodes/f90.el (f90-backslash-not-special):
2385         * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
2387         * progmodes/xscheme.el (xscheme-start)
2388         (local-set-scheme-interaction-buffer, scheme-interaction-mode):
2389         * progmodes/which-func.el (which-function):
2390         * progmodes/vhdl-mode.el (vhdl-set-style):
2391         * progmodes/verilog-mode.el (verilog-set-compile-command)
2392         (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
2393         (verilog-set-define, verilog-auto-reeval-locals):
2394         * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
2395         * progmodes/simula.el (simula-mode):
2396         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2397         * progmodes/python.el (python-check, python-mode):
2398         * progmodes/prolog.el (prolog-mode-variables):
2399         * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
2400         * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
2401         * progmodes/delphi.el (delphi-mode):
2402         * progmodes/cc-styles.el (c-setup-paragraph-variables):
2403         * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
2404         (c-font-lock-init): Move make-local-variable to their setq.
2406         * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
2407         (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
2408         make-local-hook.
2409         * progmodes/sh-script.el (sh-require-final-newline): Remove.
2410         (sh-set-shell): Don't set require-final-newline since it's already done
2411         by prog-mode.
2412         * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
2413         since we never set it.
2414         * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
2415         Use read-string and standard prompt.
2416         * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
2417         * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
2418         (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
2419         (meta-common-mode-map): Rename from meta-mode-map.
2420         Remove C-m binding, which is a user preference, not mode specific.
2421         (meta-common-mode): New major mode; replace meta-common-initialization.
2422         * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
2423         around with font-lock.
2424         * progmodes/etags.el (select-tags-table-mode):
2425         Derive from special-mode.
2426         * progmodes/octave-mod.el (octave-mode):
2427         * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
2428         (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
2429         (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
2430         Let define-derived-mode do its job.
2431         * progmodes/cpp.el (cpp-edit-mode-map):
2432         Move initialization into declaration.
2433         (cpp-edit-mode): Use define-derived-mode.
2434         (cpp-edit-load): Use derived-mode-p.
2435         * progmodes/mixal-mode.el (mixal-mode):
2436         * progmodes/f90.el (f90-mode):
2437         * progmodes/cfengine.el (cfengine-mode): Don't bother setting
2438         require-final-newline since prog-mode does it already.
2439         * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
2440         * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
2441         * progmodes/antlr-mode.el: Require cc-mode upfront.
2442         (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
2443         the declaration.
2444         (antlr-directory-dependencies, antlr-show-makefile-rules):
2445         Use derived-mode-p.
2446         (antlr-language-option): Don't assume point-min==1.
2447         (antlr-mode): Use define-derived-mode.
2448         * progmodes/ada-mode.el: Use derived-mode-p.
2449         (ada-mode): Use define-derived-mode.
2450         Use hack-local-variables-hook.
2452 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2454         * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
2455         (texinfo-mode): Don't disable adaptive-fill-mode.
2456         (texinfo-insert-block): Adjust cursor placement for blocks with arg.
2457         (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
2458         (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
2459         (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
2460         (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
2461         (texinfo-insert-@quotation, texinfo-insert-@samp)
2462         (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
2463         (texinfo-insert-@uref): Use define-skeleton.
2464         (texinfo-insert-@-with-arg): Delete.
2466 2010-12-10  Eli Zaretskii  <eliz@gnu.org>
2468         * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
2469         nil, do quote archive member names.  (Bug#6144)
2471 2010-12-10  Glenn Morris  <rgm@gnu.org>
2473         * files.el (diff-no-select): Declare.
2475         * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
2476         (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
2478         * comint.el (comint-input-ring-file-name): Doc fix.
2480 2010-12-09  Eli Zaretskii  <eliz@gnu.org>
2482         * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
2483         New functions.
2484         (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
2485         Use them instead of `nil' and `>', respectively.
2486         (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
2487         instead of `nil'.
2488         (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
2489         and menu-bar-positive-p instead of `nil' and `>', respectively.
2490         (Bug#1077)
2492 2010-12-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2494         * whitespace.el (whitespace-newline-mode): Code fix.
2496 2010-12-09  Glenn Morris  <rgm@gnu.org>
2498         * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
2499         Rename functions without commas, update callers.
2501 2010-12-08  Jeff Dairiki  <dairiki@dairiki.org>  (tiny change)
2503         * whitespace.el (whitespace-cleanup-region):
2504         Clean up spaces before tabs.  (Bug#7582)
2506 2010-12-08  Karl Fogel  <kfogel@red-bean.com>
2508         * bookmark.el: Adjust parameter names and doc strings to resolve
2509         confusion over whether "bookmark" meant a bookmark name or a
2510         bookmark record.  Along the way, shorten one function's name for
2511         similar reasons.  (Issue #7548)
2512         (bookmark-name-from-record): New name for
2513         `bookmark-name-from-full-record'.  All callers changed.
2514         (bookmark-get-bookmark, bookmark-get-bookmark-record)
2515         (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
2516         (bookmark-get-annotation, bookmark-set-annotation)
2517         (bookmark-get-filename, bookmark-set-filename)
2518         (bookmark-get-position, bookmark-set-position)
2519         (bookmark-get-front-context-string, bookmark-set-front-context-string)
2520         (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
2521         (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
2522         (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
2523         Rename `bookmark' parameter to `bookmark-name-or-record', to
2524         clearly show its role, and shorten or adjust doc strings accordingly.
2525         (bookmark-set-name): Same, and pass the parameter directly to
2526         `bookmark-get-bookmark' instead of redundantly doing the callee's work.
2527         (bookmark-default-annotation-text, bookmark-send-edited-annotation)
2528         (bookmark-relocate, bookmark-insert-location, bookmark-insert)
2529         (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
2530         and in some cases shorten doc string accordingly.
2531         (bookmark-rename): Change `old' and `new' parameters to `old-name'
2532         and `new-name', and adjust an internal variable to avoid confusion.
2533         (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
2534         parameter in doc string.
2536 2010-12-08  Glenn Morris  <rgm@gnu.org>
2538         * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
2539         from gdb's history file.  (Bug#7575)
2541         * mail/emacsbug.el (report-emacs-bug):
2542         Try to handle some other mail clients.
2544 2010-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2546         * files.el (dir-locals-collect-variables): Don't let errors stop us.
2547         Use string-prefix-p.
2548         (file-name-version-regexp): New var.
2549         (file-name-sans-versions):
2550         * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
2551         (jka-compr-get-compression-info): Use dolist.
2552         (jka-compr-compression-info-list): Don't bother specifying
2553         version/backup regexps.
2555 2010-12-07  Tassilo Horn  <tassilo@member.fsf.org>
2557         * simple.el (just-one-space): Make argument n default to 1 if
2558         omitted.
2560 2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2562         * electric.el (electric-indent-post-self-insert-function):
2563         Delete trailing newlines even if we don't reindent.
2565 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2567         * minibuffer.el (completion-at-point): Remove the `arg'.
2568         * bindings.el (complete-symbol): Move back from minibuffer.el.
2570 2010-12-06  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
2572         * simple.el (just-one-space): Delete newlines for negative arg.
2574 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2576         * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
2577         (ansi-color-filter-apply): Simplify.
2578         (ansi-color-apply): Use `font-lock-face' rather than `face'.
2580 2010-12-05  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
2582         * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2584 2010-12-04  Chong Yidong  <cyd@stupidchicken.com>
2586         * dired.el (dired-use-ls-dired): Set default to a special
2587         "unspecified" value.
2588         (dired-insert-directory): When called the first time, check
2589         whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
2591 2010-12-04  Tak Ota  <Takaaki.Ota@am.sony.com>
2593         * replace.el: Add "collect" feature to occur.
2594         (occur-collect-regexp-history): New var.
2595         (occur-read-primary-args): Return a replace string for nlines,
2596         if needed.
2597         (occur): Extend the meaning of nlines.
2599 2010-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2601         * progmodes/which-func.el (which-func-ff-hook): Log the error message.
2602         (which-func-update-1): Distinguish symbols from strings.
2603         (which-function): Stay within 80 columns.
2605 2010-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2607         * subr.el (with-demoted-errors): Distinguish symbols from strings.
2609         * newcomment.el (comment-styles): Add docs to each style (bug#7509).
2610         Improve docstring.
2611         (comment-style): Use comment-styles's docs to describe values.
2613 2010-12-03  Jan Djärv  <jan.h.d@swipnet.se>
2615         * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
2616         and ns-show-prefs (Bug#7535).
2618         * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
2619         bindings (Bug#7535).
2621 2010-12-03  Glenn Morris  <rgm@gnu.org>
2623         * nxml/nxml-mode.el: Require rng-nxml.
2624         (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
2625         Remove declarations.
2627         * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
2628         * nxml/rng-nxml.el, nxml/rng-valid.el:
2629         Remove leading `*' from defcustom docs.
2631         * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
2632         (normal-top-level-add-to-load-path, tty-handle-args):
2633         Convert comments to basic doc-strings.
2635         * net/browse-url.el (browse-url-url-at-point)
2636         (browse-url-default-browser): Remove autoload cookies.
2638         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2639         Remove more undefined cl functions.
2641         * vc/diff.el (diff-sentinel): Make new arguments optional.
2642         * ibuf-ext.el (diff-sentinel): Update declaration.
2644 2010-12-03  Daiki Ueno  <ueno@unixuser.org>
2646         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2647         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
2648         (epg-context-set-passphrase-callback): Mention that the callback
2649         is not called when used with GnuPG 2.x.
2651 2010-12-02  Michael Albinus  <michael.albinus@gmx.de>
2653         * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
2654         (tramp-file-name-port): Check also for `tramp-default-port'.
2655         (tramp-get-connection-name): New defun.
2656         (tramp-get-connection-process): Use it.
2657         (tramp-debug-message): Extend function exclude list.
2658         (tramp-drop-volume-letter): Fix doc string.
2660         * net/tramp-cmds.el: Remove solved todo item.
2662         * net/tramp-efs.el:
2663         * net/tramp-ftp.el:
2664         * net/tramp-gvfs.el:
2665         * net/tramp-gw.el:
2666         * net/tramp-imap.el:
2667         * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
2668         and `tramp-default-user-alist', respectively.
2670         * net/tramp-gw.el (tramp-gw-open-connection):
2671         Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
2673         * net/tramp-imap.el (tramp-imap-make-iht): Use just
2674         `tramp-file-name-port'.
2676         * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
2677         and "psftp".  Exchange "%k" marker with options.
2678         (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
2679         Compute size of link target.
2680         (tramp-do-copy-or-rename-file-out-of-band): Move setting of
2681         `tramp-current-*' up due to gateway methods.  Optimize computing of
2682         copy arguments.  Use `tramp-get-connection-name' and
2683         `tramp-get-connection-buffer'.  Improve debug messages.
2684         (tramp-compute-multi-hops): Remove port determination.
2685         (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
2687         * net/trampver.el: Update release number.
2689 2010-12-02  Glenn Morris  <rgm@gnu.org>
2691         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2692         Avoid infinite loop over windows.  (Bug#7492)
2694         * progmodes/flymake.el (flymake-check-file-limit):
2695         Allow nil to mean "no limit".
2696         (flymake-check-patch-master-file-buffer): Update for above change.
2697         Allow a .tex file-name extension to be optional.
2698         (flymake-master-tex-init): Also match \include statements.
2700 2010-11-30  Sam Steingold  <sds@gnu.org>
2702         * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
2703         (nxml-parent-document-set): A function to set `nxml-parent-document'.
2704         (nxml-mode): Define using `define-derived-mode' instead of `defun'.
2705         (nxml-mode-hook): Remove `defcustom' (auto-defined by
2706         define-derived-mode').
2707         * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
2708         users who want to call `nxml-parent-document-set'.
2710 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
2712         * log-edit.el (log-edit-font-lock-keywords): Don't try matching
2713         stand-alone lines, since that is handled by log-edit-match-to-eoh
2714         (Bug#6465).
2716 2010-11-27  Eduard Wiebe  <usenet@pusto.de>
2718         * dired.el (dired-get-filename): Replace backslashes with slashes
2719         in file names on MS-Windows, needed by `locate'.  (Bug#7308)
2720         * locate.el (locate-default-make-command-line): Don't consider
2721         drive letter and root directory part of
2722         `directory-listing-before-filename-regexp'.  (Bug#7308)
2723         (locate-post-command-hook, locate-post-command-hook): New defcustoms.
2725 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2727         * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
2728         of :smie-open/close-alist.
2729         (smie-next-sexp): Make it accept a "start token" as argument.
2730         (smie-indent-keyword): Be careful not to misidentify tokens that span
2731         more than one line, as empty lines.  Add argument `token'.
2733 2010-11-27  Kenichi Handa  <handa@m17n.org>
2735         * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
2736         multipart subtypes, insert all as usual.
2738         * mail/rmail.el: Require rfc2047.
2740 2010-11-27  Kenichi Handa  <handa@m17n.org>
2742         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
2743         (rmail-mime-entity-disposition)
2744         (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
2745         (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
2746         (rmail-mime-save): Handle the case that the button's `data' is a
2747         MIME entity.
2748         (rmail-mime-insert-text): New function.
2749         (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
2750         (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
2751         (rmail-mime-insert-bulk): New function mostly copied from the old
2752         rmail-mime-bulk-handler.
2753         (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
2754         (rmail-mime-process-multipart): New function mostly copied from
2755         the old rmail-mime-multipart-handler.
2756         (rmail-mime-show): Just call rmail-mime-process.
2757         (rmail-mime-process): New function mostly copied from the old
2758         rmail-mime-show.
2759         (rmail-mime-insert-multipart, rmail-mime-parse)
2760         (rmail-mime-insert, rmail-show-mime)
2761         (rmail-insert-mime-forwarded-message)
2762         (rmail-insert-mime-resent-message): New functions.
2763         (rmail-insert-mime-forwarded-message-function): Set to
2764         rmail-insert-mime-forwarded-message.
2765         (rmail-insert-mime-resent-message-function): Set to
2766         rmail-insert-mime-resent-message.
2768         * mail/rmailsum.el: Require rfc2047.
2769         (rmail-header-summary): Handle multiline Subject: field.
2770         (rmail-summary-line-decoder): Change the default to
2771         rfc2047-decode-string.
2773         * mail/rmail.el (rmail-enable-mime): Change the default to t.
2774         (rmail-mime-feature): Change the default to `rmailmm'.
2775         (rmail-quit): Delete the specifal code for rmail-enable-mime.
2776         (rmail-display-labels): Likewise.
2777         (rmail-show-message-1): Check rmail-enable-mime, and use
2778         rmail-show-mime-function for a MIME message.  Decode the headers
2779         according to RFC2047.
2781 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2783         * progmodes/which-func.el (which-func-imenu-joiner-function):
2784         Return a string, as expected.
2785         (which-function-mode): Make sure we stop any previous timer before
2786         starting a new one.
2788 2010-11-27  Michael Albinus  <michael.albinus@gmx.de>
2790         * net/tramp.el (tramp-default-method-alist)
2791         (tramp-default-user-alist, tramp-default-proxies-alist):
2792         Adapt custom options type.  (Bug#7445)
2794 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
2796         * progmodes/python.el: Add Ipython support (Bug#5390).
2797         (python-shell-prompt-alist)
2798         (python-shell-continuation-prompt-alist): New options.
2799         (python--set-prompt-regexp): New function.
2800         (inferior-python-mode, run-python, python-shell):
2801         Require ansi-color.  Use python--set-prompt-regexp to set the comint
2802         prompt based on the Python interpreter.
2803         (python--prompt-regexp): New var.
2804         (python-check-comint-prompt)
2805         (python-comint-output-filter-function): Use it.
2806         (run-python): Use a pipe (Bug#5694).
2808 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
2810         * progmodes/python.el (run-python): Doc fix.
2811         (python-keep-current-directory-in-path): New var (Bug#7454).
2813 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
2815         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2816         Prompt user before actually printing.
2818 2010-11-27  Glenn Morris  <rgm@gnu.org>
2820         * startup.el (package-enable-at-startup, package-initialize):
2821         Remove unnecessary declarations.
2823 2010-11-27  Eli Zaretskii  <eliz@gnu.org>
2825         * international/characters.el (glyphless-char-display-control):
2826         Exclude newline and TAB from the c0-control group.
2828 2010-11-27  Glenn Morris  <rgm@gnu.org>
2830         * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
2831         (expand-mail-aliases): Remove unnecessary autoload.
2833         * allout.el (allout-command-prefix, allout-mode-map): Declare.
2835         * shell.el (shell-dir-cookie-re): Move definition before use.
2837         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2838         Replace undefined CL functions.
2840 2010-11-26  Eli Zaretskii  <eliz@gnu.org>
2842         * simple.el (prog-mode): Set bidi-paragraph-direction to
2843         left-to-right.
2845         * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
2847 2010-11-26  Glenn Morris  <rgm@gnu.org>
2849         * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
2850         diary-outlook-formats can be sensitive to calendar-date-style.
2851         (diary-outlook-formats): Simplify the default setting.
2852         (diary-from-outlook-internal): Pass subject and body as arguments.
2853         Use dolist rather than dotimes.  Don't save the diary buffer.
2854         (diary-from-outlook-gnus, diary-from-outlook-rmail):
2855         Pass subject and body as explicit arguments to the -internal function.
2857 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2859         * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
2860         parsing them.  This makes mailto:...?subject=foo\nbar work.
2862 2010-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2864         * vc/diff.el (diff): Fix last change.
2866 2010-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2868         * emacs-lisp/pcase.el: Improve pcase-let.  Use "pcase--" prefix.
2869         (pcase--dontcare-upats): New var.
2870         (pcase-let, pcase-let*): Generate better code.
2871         Accept the same bodies as `let'.
2872         (pcase-dolist): New macro.
2873         (pcase--trivial-upat-p): New helper function.
2874         (pcase--expand): Strip leading "(let nil" if any.
2876 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2878         * mail/mailclient.el (browse-url): Require.
2879         (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
2880         use the external browser function to send the mail (bug#7469).
2882         * net/browse-url.el (browse-url-browser-function): Revert the
2883         default back to the previous value, since the new value broke
2884         mailclient.el.
2885         (browse-url-mailto-function): New variable for mailto: URLs.
2886         (browse-url): Use the new variable for mailto: URLs.
2888 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2890         * eshell/esh-cmd.el (eshell-parse-command):
2891         * eshell/esh-arg.el (eshell-parse-arguments):
2892         * eshell/em-script.el (eshell-source-file):
2893         Use with-silent-modifications.
2895 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
2897         * vc/vc.el (vc-merge): Remove optional arg PROMPT.  Always prompt
2898         for a merge location.
2900         * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
2901         (vc-bzr-merge-branch): Always prompt.
2902         (vc-bzr-async-command): Use the full branch filename.
2904 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2906         * shell.el (shell): Use current-buffer by default if it's already
2907         a shell mode buffer and its process is dead.
2908         Suggested by Jose E. Marchesi <jemarch@gnu.org>.
2910 2010-11-23  Tassilo Horn  <tassilo@member.fsf.org>
2912         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2913         Mention that the keywords should be comma separated.
2915 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
2917         * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
2918         Accept optional prefix arg meaning to prompt for a command.
2919         (vc-update): Use vc-BACKEND-pull if available.  Accept optional
2920         prefix arg meaning to prompt for a command.
2921         (vc-pull): Alias for vc-update.
2923         * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
2924         (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
2925         (vc-bzr-merge-branch): New functions, implementing merge-branch
2926         and pull operations.
2928 2010-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2930         * Makefile.in: Fix up last merge.
2932         * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
2933         (diff-sentinel): Get them as arguments instead.
2934         (diff-old-file, diff-new-file, diff-extra-args): Remove.
2935         (diff-file-local-copy, diff-better-file-name): New funs.
2936         (diff-no-select): Rename from diff-into-buffer.
2937         Support buffers additionally to files.  Move `buf' arg.  Don't display buf.
2938         Prefer closures to buffer-local variables.
2939         (diff): Adjust accordingly.
2940         (diff-buffer-with-file): Move from files.el.
2941         * files.el (diff-buffer-with-file): Move to vc/diff.el.
2942         (diff-buffer-internal): Remove.
2943         (diff-buffer-buffer): Remove.
2944         (save-some-buffers-action-alist): Use diff-no-select so as not to guess
2945         the buffer name used, and so as not to mess up windows and frames.
2947 2010-11-22  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
2949         * files.el: Make revert work with diff-buffer-with-file (bug#7277).
2950         (diff-buffer-internal): New function extracted from diff-buffer-with-file
2951         (diff-buffer-with-file): Use it.
2952         * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
2953         (diff): Use it.
2955 2010-11-22  Tassilo Horn  <tassilo@member.fsf.org>
2957         * textmodes/reftex-ref.el (reftex-goto-label): Use the current
2958         \ref's or \pageref's value as default instead of initial input.
2960 2010-11-21  Michael Albinus  <michael.albinus@gmx.de>
2962         * files.el (backup-by-copying-when-mismatch): The default value is
2963         now t.
2965         * startup.el (normal-top-level):
2966         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2967         `backup-by-copying-when-mismatch'.
2969 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
2971         * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
2973 2010-11-21  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
2975         * progmodes/python.el (python-font-lock-keywords):
2976         Highlight top-level augmented assignments (Bug#6445).
2978 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
2980         * term/ns-win.el (ns-right-control-modifier)
2981         (ns-right-command-modifier): Defvar them.
2983         * cus-start.el (all): Add ns-right-control-modifier and
2984         ns-right-command-modifier (Bug#7458).
2986 2010-11-20  Glenn Morris  <rgm@gnu.org>
2988         * emacs-lisp/authors.el (authors-ignored-files)
2989         (authors-valid-file-names, authors-renamed-files-alist): Add entries.
2991 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
2993         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
2994         (report-emacs-bug-parse-query-results)
2995         (report-emacs-bug-create-existing-bugs-buffer): Pass through
2996         keywords used for querying the bug database to show them in the
2997         existing bugs buffer.
2999 2010-11-20  Jan Djärv  <jan.h.d@swipnet.se>
3001         * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
3003         * info.el (info-tool-bar-map): Add some :vert-only keywords.
3005 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
3007         * international/characters.el (glyphless-char-display-control):
3008         Make it a defcustom, with update-glyphless-char-display as its
3009         :set attribute.
3010         (top level): Don't call update-glyphless-char-display.
3012 2010-11-20  Michael Albinus  <michael.albinus@gmx.de>
3014         Sync with Tramp 2.2.0.
3016         * net/tramp.el (tramp-handle-insert-file-contents): Don't use
3017         `file-remote-p' (due to compatibility).
3019         * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
3020         (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
3022         * net/trampver.el: Update release number.
3024 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
3026         * faces.el (glyphless-char): Define value for `pc'.
3028 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
3030         Implemented a bug querying mechanism.
3031         * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
3032         (report-emacs-bug-create-existing-bugs-buffer)
3033         (report-emacs-bug-parse-query-results)
3034         (report-emacs-bug-query-existing-bugs): New functions.
3036 2010-11-19  Tassilo Horn  <tassilo@member.fsf.org>
3038         * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
3039         a \ref{} or \pageref{} macro, then use its value as initial input.
3041 2010-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
3043         * calc/calc-units.el (math-build-units-table-buffer):
3044         calc/README: Mention that the TeX specific units won't use the
3045         `tex' prefix in TeX mode.
3046         calc/calc-lang.el (math-variable-table): Don't use the `tex'
3047         prefix for units in TeX mode.
3049 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3051         * simple.el (kill-new, kill-append, kill-region):
3052         * comint.el (comint-kill-region): Make the yank-handler argument
3053         obsolete.
3055 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3057         * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
3058         that are both openers (resp. closers) and something else.
3059         (smie-grammar): Loosen definition of valid values.
3060         (smie-next-sexp, smie-down-list, smie-blink-matching-open)
3061         (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
3062         (smie-indent-after-keyword): Adjust users.
3063         (smie-indent-keyword): Don't indent empty lines.
3065         * vc-hg.el (vc-hg-program): New var.
3066         Suggested by Norman Gray <norman@astro.gla.ac.uk>.
3067         (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
3069 2010-11-18  Glenn Morris  <rgm@gnu.org>
3071         * emacs-lisp/autoload.el (autoload-find-destination): The function
3072         coding-system-eol-type may return non-numeric values.  (Bug#7414)
3074 2010-11-18  Ulrich Mueller  <ulm@gentoo.org>
3076         * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
3078 2010-11-18  Eli Zaretskii  <eliz@gnu.org>
3080         * subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)
3082 2010-11-18  Chong Yidong  <cyd@stupidchicken.com>
3084         * textmodes/picture.el (picture-mouse-set-point): Don't use
3085         posn-col-row; explicitly compute the motion based on the posn at
3086         the window-start (Bug#7390).
3088 2010-11-18  Glenn Morris  <rgm@gnu.org>
3090         * novice.el (disabled-command-function):
3091         Fix 2009-11-15 change.  (Bug#7384)
3093 2010-11-18  Glenn Morris  <rgm@gnu.org>
3095         * calendar/calendar.el (diary-iso-date-forms): Make elements
3096         mutually exclusive.  (Bug#7377)
3098 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3100         * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
3101         when filling the remaining "unconstrained" values.
3103 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3105         * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
3106         safety predicate.
3108         * files.el (safe-local-variable-p): Gracefully handle errors.
3110         * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
3111         Use smie-indent-virtual when indenting relative to an opener.
3112         (smie-rule-separator): Use smie-rule-parent.
3113         (smie-indent-keyword): Consult rules, even for openers at bol.
3114         (smie-indent-comment-close): Try to align closer's content.
3116 2010-11-18  Glenn Morris  <rgm@gnu.org>
3118         * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
3120 2010-11-18  Glenn Morris  <rgm@gnu.org>
3122         * printing.el (pr-menu-bind): Doc fix.
3124         * speedbar.el (speedbar-toggle-images): Doc fix.
3126         * progmodes/python.el (python-shell): Doc fix.
3128         * wid-edit.el (widget-field-use-before-change)
3129         (widget-use-overlay-change): Doc fixes.
3131 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3133         Minor cleanup to improve style.
3134         * textmodes/rst.el (rst-update-section): Use point-marker.
3135         (rst-get-decoration): Eliminate unneeded assignment.
3136         (rst-promote-region, rst-straighten-decorations)
3137         (rst-section-tree, rst-adjust): Use point-marker.
3138         (rst-toc-mode-mouse-goto): Avoid setq.
3139         (rst-shift-region-guts, rst-shift-region-left)
3140         (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
3141         (rst-convert-bullets-to-enumeration): Use copy-marker.
3143         * minibuffer.el (completion-fail-discreetly): New var.
3144         (completion--do-completion): Use it.
3146         * electric.el (electric-pair-pairs): New var.
3147         (electric-pair-post-self-insert-function): Use it.
3148         (electric-layout-post-self-insert-function): Don't insert a before
3149         newline unless it's actually needed.
3151 2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3153         * progmodes/python.el (run-python): Explain why we remove the current
3154         directory from sys.path.  Suggested by Eric Hanchrow <erich@cozi.com>.
3156         * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
3158 2010-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3160         * progmodes/octave-mod.el: Rely on elecric-*-modes.
3161         (octave-mode-map): Don't bind ;, SPC, and LF.
3162         (octave-auto-indent, octave-auto-newline): Remove.
3163         (electric-layout-rules): Declare.
3164         (octave-mode): Set electric-layout-rules.
3165         (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
3166         (octave-reindent-then-newline-and-indent, octave-electric-semi)
3167         (octave-electric-space): Remove.
3169         * electric.el (electric-layout-mode): New minor mode.
3170         (electric--after-char-pos): New function.
3171         (electric-indent-post-self-insert-function): Use it.
3172         (electric-layout-rules): New var.
3173         (electric-layout-post-self-insert-function): New function.
3174         (electric-indent-mode): Make them interact better.
3176 2010-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3178         * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
3179         (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
3180         (checkdoc-proper-noun-region-engine): Use with-syntax-table.
3182 2010-11-15  Agustín Martín  <agustin.martin@hispalinux.es>
3184         * textmodes/flyspell.el (flyspell-generic-progmode-verify):
3185         Make sure to check inside the word (Bug#6761).
3187 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
3189         * startup.el (command-line): If the cursorColor resource is set,
3190         change the cursor face-spec (Bug#7392).
3192 2010-11-13  Ken Manheimer  <ken.manheimer@gmail.com>
3194         The main features of the following allout.el changes are:
3195         - implement user customization for the allout key bindings
3196         - add a customization control by which the user can inhibit use of
3197           a trailing Ctrl-H, so by default it's reserved for use with
3198           describe-prefix-bindings
3199         - adapt to new version of called-interactively-p, while
3200           maintaining backwards compatibility with old version
3201         - fix hotspot navigation so i works properly with meta-modified keys
3203         * allout.el (allout-keybindings, allout-bind-keys)
3204         (allout-keybindings-binding, allout-prefixed-keybindings)
3205         (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
3206         (allout-keybindings-list, allout-mode-map-adjustments)
3207         (allout-setup-mode-map): Establish allout-mode keymaps as user
3208         customizable settings, and also establish a customizable setting which
3209         regulates whether or not a trailing control-h is reserved for use with
3210         describe-prefix-bindings - and inhibit it by default, so that control-h
3211         *is* reserved for describe-prefix-bindings unless the user changes it.
3213         * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
3214         and accurately between modified and unmodified events, and handle
3215         modified events more comprehensively.
3217         * allout.el (allout-substring-no-properties):
3218         Alias to use or provide version of `substring-no-properties'.
3219         (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
3221         * allout.el (allout-next-single-char-property-change):
3222         Alias to use or provide version of `next-single-char-property-change'.
3223         (allout-annotate-hidden, allout-hide-by-annotation):
3224         Use `allout-next-single-char-property-change'.
3226         * allout.el (allout-select-safe-coding-system):
3227         Alias to use or provide version of `select-safe-coding-system'.
3228         (allout-toggle-subtree-encryption):
3229         Use `allout-select-safe-coding-system'.
3231         * allout.el (allout-set-buffer-multibyte):
3232         Alias to use or provide version of `set-buffer-multibyte'.
3233         (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
3235         * allout.el (allout-called-interactively-p): Macro for using the
3236         different versions of called-interactively-p identically, depending on
3237         the subroutine's argument signature.
3238         (allout-back-to-current-heading, allout-beginning-of-current-entry):
3239         Use `(interactive "p")' instead of `(called-interactively-p)'.
3241         * allout.el (allout-init, allout-ascend, allout-end-of-level)
3242         (allout-previous-visible-heading, allout-forward-current-level)
3243         (allout-backward-current-level, allout-show-children):
3244         Use `allout-called-interactively-p' instead of `called-interactively-p'.
3246         * allout.el (allout-before-change-handler):
3247         Exempt edits to the (overlaid) character after the allout outline
3248         bullet from edit confirmation prompt.
3250         * allout.el (allout-add-resumptions):
3251         Ensure that it respects correct buffer for keybindings.
3253         * allout.el (allout-beginning-of-line):
3254         Use `allout-previous-single-char-property-change' alias for the sake of
3255         diverse compatibility.
3257         * allout.el (allout-end-of-line):
3258         Use `allout-mark-active-p' to encapsulate respect for mark activity.
3260 2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
3262         * frame.el (frame-notice-user-settings): Don't clobber other
3263         user-set parameters when calling face-set-after-frame-default in
3264         response to background-color parameter (Bug#7373).
3266 2010-11-13  Eli Zaretskii  <eliz@gnu.org>
3268         * international/characters.el (glyphless-char-display-control):
3269         Rename from glyphless-char-control; all users changed.  Doc fix.
3270         Signal an error if display method is not one of the recognized
3271         symbols.
3273 2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
3275         * net/tramp-compat.el (tramp-compat-line-beginning-position)
3276         (tramp-compat-line-end-position): Remove them.
3278         * net/tramp.el (tramp-parse-rhosts-group)
3279         (tramp-parse-shosts-group, tramp-parse-sconfig-group)
3280         (tramp-parse-hosts-group, tramp-parse-passwd-group)
3281         (tramp-parse-netrc-group, tramp-parse-putty-group)
3282         * net/tramp-cmds.el (tramp-append-tramp-buffers)
3283         * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
3284         (tramp-sh-handle-file-selinux-context)
3285         (tramp-sh-handle-file-name-all-completions)
3286         (tramp-sh-handle-insert-directory)
3287         (tramp-sh-handle-expand-file-name, tramp-find-executable)
3288         (tramp-wait-for-output, tramp-send-command-and-read)
3289         * net/tramp-smb.el (tramp-smb-read-file-entry)
3290         (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
3292         * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
3293         `point-at-bol'.
3294         (tramp-remote-coding-commands): Add an alternative using "base64
3295         -d -i".  This is needed for older base64 versions from GNU
3296         coreutils.  Reported by Klaus Reichl
3297         <Klaus.Reichl@thalesgroup.com>.
3299 2010-11-13  Hrvoje Niksic  <hniksic@xemacs.org>
3301         * simple.el (count-words-region): New function.
3303 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3305         * shell.el (shell-dir-cookie-re): New custom variable.
3306         (shell-dir-cookie-watcher): New function.
3308         * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
3309         and compilation-mode (bug#7350).
3311         * vc/smerge-mode.el (smerge-refine): Choose better default part to
3312         highlight when one of them is empty.
3314         * skeleton.el (skeleton-read): Don't use `newline' since it may strip
3315         trailing space.
3316         (skeleton-newline): New function.
3317         (skeleton-internal-1): Use it.
3319         * simple.el (open-line): `newline' may strip trailing space.
3321 2010-11-12  Kevin Ryde  <user42@zip.com.au>
3323         * international/mule-cmds.el (princ-list): Use mapc.
3325 2010-11-12  Glenn Morris  <rgm@gnu.org>
3327         * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
3328         Use it to replace all instances of "*Compile-Log*"
3330 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3332         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
3333         indentation specs.
3335 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3337         * progmodes/modula2.el: Use SMIE and skeleton.
3338         (m2-mode-syntax-table): (*..*) can be nested.
3339         Add //...\n.  Fix paren syntax.
3340         (m2-mode-map): Remove LF and TAB bindings.
3341         (m2-indent): Add safety property.
3342         (m2-smie-grammar): New var.
3343         (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
3344         (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
3345         (m2-mode): Use define-derived-mode.
3346         (m2-newline, m2-tab): Remove.
3347         (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
3348         (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
3349         (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
3350         (m2-import): Use define-skeleton.
3352 2010-11-11  Glenn Morris  <rgm@gnu.org>
3354         * obsolete/lucid.el: Don't warn about any CL functions in this file.
3356         * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
3357         (ls-lisp-verbosity): Add custom :set-after property.
3358         (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
3359         (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
3360         (ls-lisp-insert-directory): Update caller.
3361         (ls-lisp-set-options): New function.
3362         (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
3363         Doc fix.
3365         * play/landmark.el (lm-prompt-for-move):
3366         * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
3368         * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
3370         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
3371         (idlwave-study-twins): Prefix dynamic local variable `name'.
3372         (idlwave-routine-twin-compare): Update for above change.
3374         * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
3375         Prefix dynamic local variables `name', `kwd', and `link'.
3376         * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
3377         * progmodes/idlw-complete-structtag.el
3378         (idlwave-complete-structure-tag-help):
3379         * progmodes/idlwave.el (idlwave-complete-sysvar-help)
3380         (idlwave-complete-sysvar-tag-help)
3381         (idlwave-complete-class-structure-tag-help):
3382         Update for above name changes.
3384 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3386         * net/browse-url.el (browse-url-browser-function): Change the
3387         default to use `browse-url-mail' on mailto: URLs.
3389 2010-11-10  Chong Yidong  <cyd@stupidchicken.com>
3391         * emacs-lisp/package.el (package-read-all-archive-contents):
3392         Reset package-archive-contents to nil before re-reading.
3394 2010-11-10  Brandon Craig Rhodes  <brandon@rhodesmill.org>  (tiny change)
3396         * textmodes/flyspell.el (flyspell-word): Do not re-check words
3397         already found as misspellings by (flyspell-large-region), just
3398         do highlighting (bug#7322).
3400 2010-11-10  Glenn Morris  <rgm@gnu.org>
3402         * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
3404         * emulation/edt.el (edt-with-position): New macro.
3405         (edt-find-forward, edt-find-backward, edt-find-next-forward)
3406         (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
3407         (edt-paragraph-forward, edt-paragraph-backward): Use it.
3409         * emulation/tpu-extras.el (tpu-with-position): New macro.
3410         (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
3412         * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
3414         * textmodes/texnfo-upd.el (texinfo-all-menus-update)
3415         (texinfo-menu-copy-old-description, texinfo-start-menu-description)
3416         (texinfo-master-menu, texinfo-insert-node-lines)
3417         (texinfo-multiple-files-update):
3418         * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
3419         Use line-beginning-position.
3421         * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
3422         No recent Emacs supports system-type `emx'.
3424         * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
3425         (ada-command-separator, ada-default-prj-properties)
3426         (ada-find-any-references): Update for above name change.
3428         * dirtrack.el (dirtrack-directory-function)
3429         (dirtrack-canonicalize-function):
3430         * filecache.el (file-cache-completion-ignore-case)
3431         (file-cache-case-fold-search, file-cache-ignore-case):
3432         * term.el (serial-port-is-file-p): Cosmetic change.
3434         * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
3435         Remove non-existent `windows-95' system-type.
3436         * dired.el (dired-chown-program): Remove non-existent `linux'
3437         system-type.
3439         * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
3440         (ping-program-options): Remove non-existent `linux' system-type.
3442         * startup.el (package-initialize): Update declaration.
3444         * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
3445         (ls-lisp-handle-switches): Use time-less-p.
3446         (ls-lisp-format-time): Use float-time.
3448         * textmodes/remember.el (remember-time-to-seconds): Remove.
3449         (remember-store-in-mailbox): Use float-time.
3451         * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
3453         * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
3454         never a real function.
3455         (with-no-warnings): Remove compat stub, now unused.
3456         (time-less-p): Doc fix.
3457         (time-to-number-of-days): Simplify.
3459         * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
3460         Remove.
3461         (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
3462         * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
3463         * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
3464         * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
3465         * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
3467         * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
3468         (eshell-shuffle-files, eshell-shorthand-tar-command)
3469         (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
3470         Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
3471         * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
3472         Prefix dynamic local variable `matches'.
3474         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
3475         Prefix dynamic local variable `skeleton'.
3477 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
3479         * net/browse-url.el (browse-url-mail): Insert body part of mailto url
3480         in mail buffer; make yank-action always a command that yanks original
3481         buffer.
3483 2010-11-09  Glenn Morris  <rgm@gnu.org>
3485         * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
3487 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3489         * minibuffer.el (minibuffer-completion-help): Specify the end of the
3490         completion field (bug#7211).
3492         * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
3493         Fix handling of backslash escapes.
3494         (python-quote-syntax): Adjust accordingly.
3496 2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
3498         * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
3499         (vc-mtn-workfile-branch): Adjust to new output format.
3501 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3503         * international/mule-cmds.el (princ-list): Mark as obsolete.
3505 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3507         * emacs-lisp/smie.el: New package.
3509 2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
3511         * files.el (backup-by-copying-when-mismatch):
3512         Set `permanent-local' property.
3514         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3515         `permanent-local' property for `backup-by-copying-when-mismatch'.
3517 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
3519         * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
3521 2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
3523         * progmodes/verilog-mode.el (verilog-insert-one-definition)
3524         (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
3525         AUTOINOUT for SV style multidimensional arrays, bug294.
3526         Reported by Eric Mastromarchi.
3527         (verilog-preprocess): Use with-current-buffer and
3528         font-lock-fontify-buffer to cleanup style issues.
3530 2010-11-09  Glenn Morris  <rgm@gnu.org>
3532         * locate.el (locate, locate-mode): Doc fixes.
3534 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
3536         * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
3537         user for confirmation.
3538         (server-force-stop): Use it.
3539         (server-start): Use server-force-stop for kill-emacs-hook, to
3540         avoid user interaction while killing Emacs.
3542 2010-11-09  Glenn Morris  <rgm@gnu.org>
3544         * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
3545         (meta-indent-line): Simplify.
3547         * vc/emerge.el (emerge-line-number-in-buf):
3548         * textmodes/ispell.el (ispell-region):
3549         * textmodes/fill.el (current-fill-column):
3550         * progmodes/xscheme.el (xscheme-send-current-line):
3551         * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
3552         * progmodes/tcl.el (tcl-hairy-scan-for-comment):
3553         * progmodes/sh-script.el (sh-handle-prev-do):
3554         * progmodes/meta-mode.el (meta-indent-line):
3555         * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
3556         (idlwave-in-quote):
3557         * progmodes/idlw-shell.el (idlwave-shell-current-frame)
3558         (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
3559         * progmodes/fortran.el (fortran-looking-at-if-then):
3560         * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
3561         * progmodes/cperl-mode.el (cperl-sniff-for-indent)
3562         (cperl-find-pods-heres):
3563         * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
3564         * net/quickurl.el (quickurl-list-insert):
3565         * net/ldap.el (ldap-search-internal):
3566         * net/eudc.el (eudc-expand-inline):
3567         * mail/sendmail.el (sendmail-send-it):
3568         * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
3569         * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
3570         (viper-brac-function):
3571         * calc/calc-yank.el (calc-do-grab-region):
3572         * calc/calc-keypd.el (calc-keypad-press):
3573         * term.el (term-move-columns, term-insert-spaces):
3574         * speedbar.el (speedbar-highlight-one-tag-line):
3575         * simple.el (current-word):
3576         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
3577         * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
3578         (Info-scroll-down):
3579         * hippie-exp.el (he-line-beg):
3580         * epa.el (epa--marked-keys):
3581         * dired-aux.el (dired-kill-line, dired-do-kill-lines)
3582         (dired-update-file-line, dired-add-entry, dired-remove-entry)
3583         (dired-relist-entry):
3584         * buff-menu.el (Buffer-menu-buffer):
3585         * array.el (current-line):
3586         * allout.el (allout-resolve-xref)
3587         (allout-latex-verbatim-quote-curr-line):
3588         Replace yet more uses of end-of-line etc with line-end-position, etc.
3590 2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3592         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
3593         (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
3594         (checkdoc-syntax-table): Initialize in the declaration.
3595         (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
3596         the mode on unconditionally.
3598         * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
3599         (extent-end-position, extent-start-position): Remove setf method for
3600         non-existing functions (bug#7319).
3602 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3604         * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
3605         (smie-precs->prec2): Rename from smie-precs-precedence-table.
3606         (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
3607         (smie-prec2->grammar): Rename from smie-prec2-levels.
3608         (smie-grammar): Rename from smie-op-levels.
3609         (smie-indent--hanging-p): Rename from smie-hanging-p.
3610         (smie-rule-hanging-p): New alias.
3611         (smie-indent--bolp): Rename from smie-bolp.
3612         (smie-indent--hanging-p): New alias.
3613         (smie--token): New dynamically bound variable.
3614         (smie-indent--parent): New function.
3615         (smie-rule-parent-p): Use it; rename from smie-parent-p.
3616         (smie-rule-next-p): Rename from smie-next-p.
3617         (smie-rule-prev-p): Rename from smie-prev-p.
3618         (smie-rule-sibling-p, smie-rule-parent)
3619         (smie-indent--separator-outdent, smie-rule-separator): New functions.
3620         (smie-rule-separator-outdent): New var.
3621         (smie-indent--rule): Merge with smie-indent--column.
3622         (smie-indent-forward-token, smie-indent-backward-token):
3623         Also recognize close parens.
3624         (smie-indent-keyword): Don't use smie-indent--column any more.
3625         (smie-indent-after-keyword): Ignore closers by default.
3626         (smie-indent-line): Use with-demoted-errors.
3627         * progmodes/octave-mod.el (octave-smie-grammar):
3628         Rename from octave-smie-op-levels.
3629         (octave-smie-rules): Adjust to new behavior.
3630         * progmodes/prolog.el (prolog-smie-grammar):
3631         Rename from prolog-smie-op-levels.
3633 2010-11-07  Glenn Morris  <rgm@gnu.org>
3635         * eshell/esh-util.el (subst-char-in-string)
3636         (directory-files-and-attributes): These compatibility definitions are
3637         not needed on any version of Emacs since at least 21.4.
3639         * progmodes/verilog-mode.el (verilog-get-beg-of-line)
3640         (verilog-get-end-of-line): Remove.
3641         (verilog-within-string, verilog-re-search-forward-substr)
3642         (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
3643         (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
3644         Use point-at-bol, point-at-eol.
3645         * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
3646         Remove.
3647         (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
3648         (electric-pascal-terminate-line, pascal-set-auto-comments)
3649         (pascal-indent-paramlist, pascal-indent-declaration)
3650         (pascal-get-lineup-indent, pascal-func-completion)
3651         (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
3652         Use point-at-bol, point-at-eol.
3653         * progmodes/flymake.el (flymake-line-beginning-position)
3654         (flymake-line-end-position): Remove.
3655         (flymake-highlight-line): Use point-at-bol, point-at-eol.
3656         * eshell/esh-util.el (line-end-position, line-beginning-position):
3657         Remove compat definitions.
3659         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3660         Use end-of-line N.
3661         (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
3662         Use line-end-position.
3664         * emacs-lisp/chart.el (chart-zap-chars):
3665         * play/decipher.el (decipher-set-map):
3666         * progmodes/ada-mode.el (ada-get-current-indent)
3667         (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
3668         * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
3669         * progmodes/ada-xref.el (ada-initialize-runtime-library)
3670         (ada-get-all-references):
3671         * progmodes/cperl-mode.el (cperl-electric-paren)
3672         (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
3673         (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
3674         (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
3675         (cperl-word-at-point-hard):
3676         * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
3677         (idlwave-shell-filename-string, idlwave-shell-batch-command)
3678         (idlwave-shell-display-line):
3679         * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
3680         (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
3681         * progmodes/js.el (js--re-search-forward-inner)
3682         (js--re-search-backward-inner):
3683         * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
3684         (vhdl-fix-clause, vhdl-compose-configuration-architecture):
3685         * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
3686         * textmodes/flyspell.el (flyspell-process-localwords):
3687         * textmodes/ispell.el (ispell-buffer-local-parsing)
3688         (ispell-buffer-local-dict, ispell-buffer-local-words):
3689         Use point-at-bol and point-at-eol.
3691         * speedbar.el (speedbar-generic-item-info)
3692         (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
3693         (speedbar-add-indicator, speedbar-check-vc-this-line)
3694         (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
3695         (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
3696         Replace more uses of end-of-line etc with line-end-position.
3698 2010-11-06  Glenn Morris  <rgm@gnu.org>
3700         * textmodes/texnfo-upd.el (texinfo-start-menu-description)
3701         (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
3702         (texinfo-delete-existing-pointers, texinfo-find-pointer)
3703         (texinfo-clean-up-node-line, texinfo-insert-node-lines)
3704         (texinfo-multiple-files-update):
3705         * textmodes/table.el (table--probe-cell-left-up)
3706         (table--probe-cell-right-bottom):
3707         * textmodes/picture.el (picture-tab-search):
3708         * textmodes/page-ext.el (pages-copy-header-and-position)
3709         (pages-directory-for-addresses):
3710         * progmodes/vera-mode.el (vera-get-offset):
3711         * progmodes/simula.el (simula-calculate-indent):
3712         * progmodes/python.el (python-pdbtrack-overlay-arrow):
3713         * progmodes/prolog.el (end-of-prolog-clause):
3714         * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
3715         * progmodes/icon.el (indent-icon-exp):
3716         * progmodes/etags.el (tag-re-match-p):
3717         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
3718         * progmodes/ebnf2ps.el (ebnf-begin-file):
3719         * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
3720         (dcl-save-local-variable):
3721         * play/life.el (life-setup):
3722         * play/gametree.el (gametree-looking-at-ply):
3723         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
3724         * mail/sendmail.el (mail-mode-auto-fill):
3725         * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
3726         * emacs-lisp/edebug.el (edebug-overlay-arrow):
3727         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
3728         * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
3729         (woman-tab-to-tab-stop, WoMan-warn-ignored):
3730         * type-break.el (type-break-file-keystroke-count):
3731         * term.el (term-replace-by-expanded-history-before-point)
3732         (term-skip-prompt, term-extract-string):
3733         * speedbar.el (speedbar-edit-line, speedbar-expand-line)
3734         (speedbar-contract-line, speedbar-toggle-line-expansion)
3735         (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
3736         (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
3737         * sort.el (sort-skip-fields):
3738         * skeleton.el (skeleton-internal-list):
3739         * simple.el (line-move-finish, line-move-to-column):
3740         * shell.el (shell-forward-command):
3741         * misc.el (copy-from-above-command):
3742         * makesum.el (double-column):
3743         * ebuff-menu.el (electric-buffer-update-highlight):
3744         * dired.el (dired-move-to-end-of-filename):
3745         * dframe.el (dframe-popup-kludge):
3746         * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
3747         * arc-mode.el (archive-get-lineno):
3748         Use line-end-position and line-beginning-position.
3750         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
3751         (idlwave-study-twins): Prefix dynamic local `class'.
3752         (idlwave-routine-twin-compare): Update for above name change.
3754         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
3755         Use boundp tests to silence compiler.  Update for changed name of
3756         bytecomp-filename variable.
3758         * emulation/viper-cmd.el (viper-read-string-with-history):
3759         Prefix dynamic local `initial'.
3760         (viper-minibuffer-standard-hook): Update for above name change.
3762         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
3763         (elint-init-form): Update for above name change.
3765         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
3766         local variables `cbeg' and `cend' a prefix.
3767         (mail-extr-voodoo): Update for above name change.
3769         * textmodes/reftex-toc.el (reftex-toc-do-promote)
3770         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
3771         (reftex-toc-promote-action): Doc fix.
3773         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
3774         `prompt', `data' a prefix.
3775         (reftex-select-post-command-hook, reftex-select-callback)
3776         (reftex-select-mouse-accept, reftex-select-read-cite):
3777         Update for above name changes.
3779         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
3780         `refstyle' to reftex-refstyle.
3781         (reftex-offer-label-menu): Update for above name change.
3782         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
3783         `refstyle' name change.
3785         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
3786         with with-current-buffer.
3787         (diff, template): Give dynamic local variables a prefix.
3788         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
3789         (emerge-line-number-in-buf): Update for above name change.
3790         (emerge-combine-versions-internal): Rename local `template' to
3791         emerge-combine-template.
3792         (emerge-combine-versions-edit): Update for above name change.
3794 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
3796         * textmodes/reftex-cite.el
3797         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
3798         entries with whitespace after \bibitem.
3799         (reftex-create-bibtex-file): Match entries containing numbers and
3800         symbol constituents.  Make sure that entries with whitespace at
3801         various places are found.
3803 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
3805         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
3807 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
3809         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
3811 2010-11-05  Glenn Morris  <rgm@gnu.org>
3813         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
3814         (woman2-roff-buffer): Give local variable `request' a prefix.
3815         (woman0-macro): Rename argument `request' in the same way.
3816         (woman-request): New name for `request' dynamic variable.
3817         (woman-unquote, woman-forward-arg): Update for above name change.
3818         (woman1-roff-buffer): Give local variable `unquote' a prefix.
3819         (woman1-unquote): New name for `unquote' dynamic variable.
3820         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
3821         (woman-translations): Rename from `translations'.  No longer global.
3822         (woman2-tr, woman-translate): Update for above name change.
3823         (woman-translate): Check for bound variable.
3824         (woman2-roff-buffer): Give local variable `translations' a prefix.
3826         * play/doctor.el: Give all local variables a prefix.  Update callers.
3827         (doc$, doctor-put-meaning): Use backquote.
3829         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
3830         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
3832         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
3833         variables bytes, ptr, op a prefix.
3834         (disassemble-offset): Update for above change.
3836 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
3838         * emacs-lisp/package.el (package-unpack): Remove no-op.
3839         (package--builtins, package--dir): Doc fix.
3840         (package-activate-1, package-activate, package-install)
3841         (package-compute-transaction): Fix error message.
3842         (package-delete): Use delete-directory.  Omit system packages.
3843         (package-initialize): Set package-alist to nil first.
3844         (package-menu-mark-delete, package-menu-mark-install): Don't add
3845         symbols that are inconsistent with the package state.
3846         (package-menu-execute): Perform deletions and installations as
3847         single batch operations.
3849 2010-11-03  Glenn Morris  <rgm@gnu.org>
3851         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
3852         (props): Remove unnecessary declaration.
3854         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
3855         set-process-query-on-exit-flag.
3857         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
3858         (reftex-toc-do-promote): Remove unused local `mpos'.
3859         (reftex-toc-restore-region): Make `mpos' local to this function.
3861         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
3863         * play/landmark.el (lm-losing-threshold): Correct spelling.
3864         (lm-human-plays): Use new name.
3866         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
3867         (gomoku-human-plays): Use new name.
3869         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
3870         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
3871         (gomoku-score-trans-table, gomoku-winning-threshold)
3872         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
3874 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
3876         * emacs-lisp/package.el: Don't put built-in packages in
3877         package-alist, to avoid loading inefficiencies.
3878         (package-built-in-p): Make VERSION optional, and treat it as a
3879         minimum acceptable version.
3880         (package-activate): Search separately for built-in packages.
3881         Emit a warning if a dependency fails.
3882         (define-package): Handle most common case, where there is no
3883         obsolete package, first.
3884         (package-compute-transaction): Print required version in error.
3885         (package--initialized): New variable.
3886         (list-packages): Use it.
3887         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
3888         built-in packages in packages-alist; keep it separate.
3889         Set package--initialized.
3890         (describe-package): Avoid activating packages as a side-effect.
3891         Search separately for built-in packages.
3892         (describe-package-1): Handle the case where an elpa package is
3893         simultaneously built-in and available/installed.
3894         (package-installed-p, package--generate-package-list):
3895         Search separately for built-in packages.
3896         (package-load-descriptor): Doc fix.
3898 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3900         * progmodes/perl-mode.el (perl-syntax-propertize-function):
3901         Handle __DATA__ and __END__.
3903 2010-11-02  Noah Friedman  <friedman@splode.com>
3905         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
3906         nil, do not ask to recompile files that are not already compiled,
3907         and do not recompile them.
3909 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
3911         * emacs-lisp/package.el (package-initialize): Ensure that
3912         obsoleted built-in packages are not in package-activated-list
3913         during activation.
3914         (describe-package-1): Make the "installed" status override
3915         "built-in".
3917 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3919         * subr.el (version-separator, version-regexp-alist): Remove '*'
3920         from docstring.
3921         (version-list-<=, version<=, version=): Doc fix.
3923 2010-11-01  Kenichi Handa  <handa@m17n.org>
3925         * faces.el (glyphless-char): Inherit underline for tty.
3927 2010-11-01  Kenichi Handa  <handa@m17n.org>
3929         Implement various display methods for glyphless characters.
3931         * international/characters.el (char-acronym-table): New variable.
3932         (glyphless-char-control): New variable.
3933         (update-glyphless-char-display): New function.
3935         * faces.el (glyphless-char): New face.
3937 2010-11-01  Glenn Morris  <rgm@gnu.org>
3939         * calendar/holidays.el (general-holidays, oriental-holidays)
3940         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
3941         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
3942         the definitions of their targets.
3944         * emacs-lisp/smie.el (smie): New custom group.
3945         (smie-blink-matching-inners, smie-indent-basic): Add :group.
3947         * faces.el (xw-defined-colors, x-setup-function-keys):
3948         * mouse-sel.el (x-select-text):
3949         * term/w32console.el (x-setup-function-keys): Update declarations.
3951         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
3953         * textmodes/ispell.el (comment-add): Declare.
3955         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
3956         Declare.
3958         * info.el (finder-keywords-hash, package-alist): Declare.
3960 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
3962         * finder.el (finder-compile-keywords): Don't use intern-soft,
3963         since package names may not yet exist in the obarray.
3965 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
3967         * vc/vc-arch.el (vc-arch-checkin):
3968         * vc/vc-cvs.el (vc-cvs-checkin):
3969         * vc/vc-mtn.el (vc-mtn-checkin):
3970         * vc/vc-rcs.el (vc-rcs-checkin):
3971         * vc/vc-sccs.el (vc-sccs-checkin):
3972         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
3973         since 2010-04-21 commit by Stefan Monnier.
3975 2010-11-01  Glenn Morris  <rgm@gnu.org>
3977         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
3979         * startup.el (package-enable-at-startup, package-initialize):
3980         Silence compiler.
3982         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
3983         Silence compiler.
3985 2010-10-31  Julien Danjou  <julien@danjou.info>
3987         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
3988         (byte-recompile-directory):
3989         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
3990         Use `byte-recompile-file'.
3992 2010-10-31  Glenn Morris  <rgm@gnu.org>
3994         * cus-start.el: Handle standard values via a keyword.
3995         Only set version property if specified.
3996         (cursor-in-non-selected-windows, menu-bar-mode)
3997         (tool-bar-mode, show-trailing-whitespace):
3998         Do not specify standard values.
3999         (transient-mark-mode, temporary-file-directory): Use :standard.
4001 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
4003         * term/x-win.el (x-get-selection-value): New function that gets
4004         PRIMARY with type as specified in x-select-request-type.  (Bug#6802)
4006 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
4008         * net/tramp.el (tramp-handle-insert-file-contents): For root,
4009         preserve owner and group when editing files.  (Bug#7289)
4011 2010-10-31  Glenn Morris  <rgm@gnu.org>
4013         * speedbar.el (speedbar-mode):
4014         * play/fortune.el (fortune-in-buffer, fortune):
4015         * play/gomoku.el (gomoku-mode):
4016         * play/landmark.el (lm-mode):
4017         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
4018         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
4020         * select.el (x-selection): Mark it as an obsolete alias.
4022 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
4024         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
4025         major-mode (bug#7284).
4027 2010-10-31  Glenn Morris  <rgm@gnu.org>
4029         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
4030         rather than just an unused variable that inherits from the real one.
4032 2010-10-31  Alan Mackenzie  <acm@muc.de>
4034         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
4035         This fixes bug #7185.
4037 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
4039         * startup.el (command-line): Search for package directories, and
4040         don't load package.el if none are found.
4042         * emacs-lisp/package.el (describe-package, list-packages):
4043         Call package-initialize if it has not been called yet.
4045 2010-10-30  Alan Mackenzie  <acm@muc.de>
4047         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
4048         which fontifies the tail of an enum.
4049         (c-basic-matchers-after): Insert a call to the above new function.
4050         This fixes bug #7264.
4052 2010-10-30  Glenn Morris  <rgm@gnu.org>
4054         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
4055         tool-bar-mode, transient-mark-mode.  (Bug#7306)
4056         Include the :set property in the dumped Emacs.
4058 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4060         SMIE: change indent rules format, improve smie-setup.
4061         * emacs-lisp/smie.el (smie-precs-precedence-table)
4062         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
4063         Mark them pure so the tables gets built at compile time.
4064         (smie-bnf-precedence-table): Store the closer-alist in the table.
4065         (smie-prec2-levels): Preserve the closer-alist.
4066         (smie-blink-matching-open): Be more forgiving in case of indentation.
4067         (smie-hanging-p): Rename from smie-indent--hanging-p.
4068         (smie-bolp): Rename from smie-indent--bolp.
4069         (smie--parent, smie--after): New dynamic vars.
4070         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
4071         (smie-indent-rules): Remove.
4072         (smie-indent--offset-rule): Remove fun.
4073         (smie-rules-function): New var.
4074         (smie-indent--rule): New fun.
4075         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
4076         (smie-indent-exps): Use it.
4077         (smie-setup): Setup paren blinking; add keyword args for token
4078         functions; extract closer-alist from op-levels.
4079         (smie-indent-debug-log): Remove var.
4080         (smie-indent-debug): Remove fun.
4081         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
4082         (prolog-smie-rules): New fun to replace it.
4083         (prolog-mode-variables): Simplify.
4084         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
4085         it's setup automatically.
4086         (octave-smie-indent-rules): Remove.
4087         (octave-smie-rules): New fun to replace it.
4088         (octave-mode): Simplify.
4090 2010-10-29  Glenn Morris  <rgm@gnu.org>
4092         * files.el (temporary-file-directory): Remove (already defined in C).
4093         * cus-start.el: Add temporary-file-directory.
4095         * abbrev.el (abbrev-mode):
4096         * composite.el (auto-composition-mode):
4097         * menu-bar.el (menu-bar-mode):
4098         * simple.el (transient-mark-mode):
4099         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
4100         that they do not define the associated variables twice.
4101         * simple.el (transient-mark-mode): Remove defvar.
4102         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
4103         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
4104         Handle multiple groups, and also custom-delayed-init-variables.
4105         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4107 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4109         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
4110         (pcase-if): Add one minor optimization.
4111         (pcase-split-equal): Rename from pcase-split-eq.
4112         (pcase-split-member): Rename from pcase-split-memq.
4113         (pcase-u1): Add strings to the member optimization.
4114         Add `guard' variant of predicates.
4115         (pcase-q1): Add string patterns.
4117 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4119         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
4121 2010-10-28  Glenn Morris  <rgm@gnu.org>
4123         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4124         Move menu-bar related settings to ../menu-bar.el.
4125         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4126         Move ns-specific settings here from term/ns-win.el.
4128         * simple.el (x-selection-owner-p): Remove unused declaration.
4130 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4132         * minibuffer.el (completion-cycling): New var (bug#7266).
4133         (minibuffer-complete, completion--do-completion):
4134         Use completion--flush-all-sorted-completions.
4135         (minibuffer-complete): Only cycle if completion-cycling is set.
4136         (completion--flush-all-sorted-completions): Unset completion-cycling.
4137         (minibuffer-force-complete): Set completion-cycling.
4138         (completion-all-sorted-completions): Move declaration before first use.
4140 2010-10-28  Leo  <sdl.web@gmail.com>
4142         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
4143         which changes the order of matches seen by users (bug#7231).
4145 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
4147         * progmodes/compile.el (compilation-mode-font-lock-keywords):
4148         Don't confuse -omega as "-o mega".
4150 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4152         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
4153         (log-edit-author): New dynamic var.
4154         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
4155         to return the author if different from committer.
4156         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
4158         * play/landmark.el: Adjust commenting convention.
4159         (lm-nil-score): Rename from nil-score.
4160         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
4161         (OOOOscore): Move into a let in lm-score-trans-table.
4162         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
4164         * electric.el (electric-indent-chars): Autoload.
4165         * progmodes/octave-mod.el (octave-mode):
4166         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
4167         (ruby-mode-abbrev-table): Merge initialization and declaration.
4169 2010-10-27  Glenn Morris  <rgm@gnu.org>
4171         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
4172         variable.
4174         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
4176         * term/ns-win.el: Restore require of cl when compiling.
4177         (menu-bar-final-items): Remove non-existent `windows' menu.
4178         (ns-handle-nxopen): Optionally handle the temp-case.
4179         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
4180         (ns-insert-file, ns-find-file): Use `pop'.
4182 2010-10-26  Glenn Morris  <rgm@gnu.org>
4184         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
4186 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
4188         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
4189         global map.
4190         * term/common-win.el (x-setup-function-keys): Remove most of the
4191         keymappings.  Comment on the remaining ones.
4193 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
4195         * server.el (server-port): New option.  (Bug#854)
4196         (server-start): Use server-port.
4198 2010-10-26  Glenn Morris  <rgm@gnu.org>
4200         * term/ns-win.el (ns-version-string): Remove unused declaration.
4201         (ns-invocation-args): Change to x-invocation-args.
4202         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
4203         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
4204         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
4205         Use x-invocation-args instead of ns-invocation-args.
4206         (ns-initialize-window-system, handle-args-function-alist):
4207         Use x-handle-args instead of ns-handle-args.
4208         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
4209         * startup.el (command-line-ns-option-alist): Replace
4210         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
4211         ns-handle-iconic with the x- equivalents.
4213         * term/common-win.el (x-select-enable-clipboard):
4214         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
4216         * term/ns-win.el: No need to require cl when compiling.
4217         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
4218         (xw-defined-colors): Use the common-win definitions.
4219         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
4220         (ns-handle-iconic): Make it an alias for x-handle-iconic.
4221         * term/common-win.el (x-select-text, x-alternatives-map)
4222         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
4223         * loadup.el [ns]: Load common-win.
4225 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
4227         * epa-mail.el (epa-mail-encrypt): Handle local-part only
4228         recipients; expand mail aliases (Bug#7280).
4230 2010-10-25  Glenn Morris  <rgm@gnu.org>
4232         * term/common-win.el (x-handle-switch): Simplify with pop.
4233         Optionally handle numeric switches.
4234         (x-handle-numeric-switch): Just call x-handle-switch.
4235         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
4236         (x-handle-name-switch, x-handle-display, x-handle-args):
4237         Simplify with pop.
4239         * term/ns-win.el: Do not require easymenu.
4240         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
4241         <spell>: Move adjustments to menu-bar.el.
4242         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
4243         <separator-undo, spell>: Move ns-win's adjustments here.
4244         * loadup.el [ns]: Do not load easymenu.
4246 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
4248         * image.el (image-checkbox-checked, image-checkbox-unchecked):
4249         Delete (Bug#7222).
4251         * startup.el (fancy-startup-tail): Instead of using inline images,
4252         refer to image files from etc/.
4254         * wid-edit.el (checkbox): Likewise.
4255         (widget-image-find): Center image specs.
4257 2010-10-24  Glenn Morris  <rgm@gnu.org>
4259         * term/ns-win.el (x-select-text): Doc fix.
4260         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
4261         (x-select-text): Move to term/common-win.
4262         * term/w32-win.el (xw-defined-colors): Move to common-win.
4263         * term/x-win.el (xw-defined-colors, x-alternatives-map)
4264         (x-setup-function-keys, x-select-text): Move to common-win.
4265         * term/common-win.el (x-select-text, x-alternatives-map)
4266         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
4267         definitions here.
4269 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
4271         * net/mairix.el (mairix-searches-mode-map):
4272         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
4274 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
4276         * verilog-mode.el (verilog-directive-re): Make this variable
4277         auto-built for efficiency of execution and updating.
4278         (verilog-extended-complete-re): Support 'pure' fucntion & task
4279         declarations (these have no bodies).
4280         (verilog-beg-of-statement): General cleanup to enable support of
4281         'pure' fucntion & task declarations (these have no bodies).
4282         These efforts together fix Verilog bug210 from veripool; which was also
4283         noticed by Steve Pearlmutter.
4284         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
4285         (verilog-directive-nest-re, verilog-set-auto-endcomments):
4286         Support `elsif.  Reported by Shankar Giri.
4287         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
4288         attribute handling for lining up declarations and assignments.
4289         (verilog-beg-of-statement-1): Fix issue where continued declaration
4290         is indented differently if it is after a begin..end clock.
4291         (verilog-in-attribute-p, verilog-skip-backward-comments)
4292         (verilog-skip-forward-comment-p): Support proper treatment of
4293         attributes by indent code.  Reported by Jeff Steele.
4294         (verilog-in-directive-p): Fix comment to correctly describe function.
4295         (verilog-backward-up-list, verilog-in-struct-region-p)
4296         (verilog-backward-token, verilog-in-struct-p)
4297         (verilog-in-coverage-p, verilog-do-indent)
4298         (verilog-pretty-declarations): Use verilog-backward-up-list as
4299         wrapper around backward-up-list inorder to properly skip comments.
4300         Reported by David Rogoff.
4301         (verilog-property-re, verilog-endcomment-reason-re)
4302         (verilog-beg-of-statement, verilog-set-auto-endcomments)
4303         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
4304         of if).  Reported by Max Bjurling and
4305         (verilog-calc-1): Fix for clocking block in modport
4306         declaration.  Reported by Brian Hunter.
4308 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
4310         * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
4311         (verilog-gate-keywords, verilog-read-sub-decls)
4312         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
4313         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
4314         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
4315         (verilog-read-decls): Fix spaces in V2K module parameters causing
4316         mis-identification as interfaces, bug287.
4317         (verilog-read-decls): Fix not treating "parameter string" as a
4318         parameter in AUTOINSTPARAM.
4319         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
4320         treating `elsif similar to `endif inside AUTOSENSE.
4321         (verilog-do-indent): Implement correct automatic or static task or
4322         function end comment highlight.  Reported by Steve Pearlmutter.
4323         (verilog-font-lock-keywords-2): Fix highlighting of single
4324         character pins, bug264.  Reported by Michael Laajanen.
4325         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
4326         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
4327         (verilog-subdecls-get-interfaced, verilog-subdecls-new):
4328         Support interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
4329         (verilog-pretty-expr): Fix interactive arguments, bug272.
4330         Reported by Mark Johnson.
4331         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
4332         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
4333         bug269.  Suggested by Gary Delp.
4334         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
4335         (verilog-preprocessor, verilog-set-compile-command):
4336         Create verilog-preprocess and verilog-preprocessor to show
4337         preprocessed output.
4338         (verilog-get-beg-of-line, verilog-get-end-of-line)
4339         (verilog-modi-file-or-buffer, verilog-modi-name)
4340         (verilog-modi-point, verilog-within-string): Move defmacro's
4341         before first use to avoid warning.  Reported by Steve Pearlmutter.
4342         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
4343         (verilog-colorize-region, verilog-highlight-buffer)
4344         (verilog-highlight-includes, verilog-highlight-modules)
4345         (verilog-highlight-region, verilog-mode): Rename colorize to
4346         highlight to match other packages.  Disable module highlighting,
4347         as received speed complaints, reenable for experimentation only
4348         using new verilog-highlight-modules.
4349         (verilog-read-decls): Fix regexp stack overflow in very large
4350         AUTO_TEMPLATEs, bug250.
4351         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
4352         (verilog-scan): Create verilog-save-buffer-state to standardize
4353         making insignificant changes that shouldn't call hooks.
4354         (verilog-save-no-change-functions, verilog-save-scan-cache)
4355         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
4356         Create verilog-save-no-change-functions to wrap verilog-scan
4357         preservation, and fix to work with nested preserved calls.
4358         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
4359         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
4360         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
4361         (verilog-submit-bug-report): Update variable list to be complete.
4362         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
4363         breaking on-the-fly font-locking.
4364         (verilog-colorize-buffer, verilog-colorize-include-files)
4365         (verilog-colorize-include-files-buffer, verilog-colorize-region)
4366         (verilog-load-file-at-mouse, verilog-load-file-at-point)
4367         (verilog-mode, verilog-read-inst-module-matcher): With point on a
4368         AUTOINST cell instance name, middle mouse button now finds-file on
4369         it.  Suggested by Brad Dobbie.
4370         (verilog-alw-get-temps, verilog-auto-reset)
4371         (verilog-auto-sense-sigs, verilog-read-always-signals)
4372         (verilog-read-always-signals-recurse): Fix loop indexes being
4373         AUTORESET.  AUTORESET now assumes any variables in the
4374         initialization section of a for() should be ignored.
4375         Reported by Dan Dever.
4376         (verilog-error-font-lock-keywords)
4377         (verilog-error-regexp-emacs-alist)
4378         (verilog-error-regexp-xemacs-alist): Fix error detection of
4379         Cadence HAL, reported by David Asher.  Repair drift between the
4380         three similar error variables.
4381         (verilog-modi-lookup, verilog-modi-lookup-cache)
4382         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
4383         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
4384         Fix slow verilog-auto expansion on very large files.
4385         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
4386         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
4387         "{1*2{...".  Broke in last revision.
4388         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
4389         submodule connections with replications "{#{a},#{b}}".
4391 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
4393         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
4394         Fix typo in docstring.
4396 2010-10-24  Kenichi Handa  <handa@m17n.org>
4398         * face-remap.el (text-scale-adjust): Call read-event with a proper
4399         prompt.
4401 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
4403         * emacs-lisp/unsafep.el: Don't mark functions that display
4404         messages as safe.  Suggested by Johan Bockgård.
4406 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4408         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
4409         Turn comments into docstrings.
4411         * minibuffer.el (completion--replace): Move point where it belongs
4412         when there's a common suffix (bug#7215).
4414 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
4416         Merge read-color and facemenu-read-color (Bug#7242).
4418         * faces.el (read-color): Use the completion code from
4419         facemenu-read-color.  Require match in completion.  Doc fix.
4421         * facemenu.el (facemenu-read-color): Alias for read-color.
4422         (facemenu-set-foreground, facemenu-set-background):
4423         Use read-color.
4425         * frame.el (set-background-color, set-foreground-color)
4426         (set-cursor-color, set-mouse-color, set-border-color):
4427         Use read-color.
4429 2010-10-24  Leo  <sdl.web@gmail.com>
4431         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
4432         argument of delete-file and delete-directory (Bug#7011).
4434 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
4436         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
4437         button-buffer-map.
4439 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
4441         * emacs-lisp/package.el (package--generate-package-list): Make the
4442         *Packages* buffer read-only.
4444 2010-10-24  Alan Mackenzie  <acm@muc.de>
4446         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
4447         result of `c-beginning-of-decl-1' between invocations of a lambda
4448         function (Bug #7265).
4450 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
4452         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
4453         executable is not available on the system (Bug#7268).
4455 2010-10-24  Glenn Morris  <rgm@gnu.org>
4457         * select.el (selection-coding-system, next-selection-coding-system):
4458         Sync doc with C versions.
4460         * w32-vars.el (x-select-enable-clipboard):
4461         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
4462         * term/common-win.el (x-select-enable-clipboard): Move here.
4464         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
4465         definition of C variable.
4467         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
4468         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4469         Don't redefine things that are defined in C.
4470         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
4471         (show-trailing-whitespace, auto-hscroll-mode)
4472         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4473         Set up the appropriate custom properties.
4475 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
4477         Bind "C-c ]" to ...
4478         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
4479         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
4480         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
4481         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
4483 2010-10-23  Glenn Morris  <rgm@gnu.org>
4485         * textmodes/flyspell.el (flyspell-mode): If there was an error,
4486         say what it was.
4488         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
4489         Sync docs with C version.
4491         * term/ns-win.el (xw-defined-colors):
4492         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
4494         * term/pc-win.el (x-select-enable-clipboard):
4495         * term/x-win.el (x-select-enable-clipboard):
4496         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
4498         * comint.el (comint-password-prompt-regexp): Make it less vague.
4499         Bump version.
4501         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
4503         * help.el (finder-by-keyword): Remove unnecessary autoload.
4505 2010-10-22  Glenn Morris  <rgm@gnu.org>
4507         * loadup.el: Unconditionally load float-sup.
4508         * paren.el (show-paren-delay):
4509         * emacs-lisp/float-sup.el:
4510         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
4511         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
4512         (lazy-lock-stealth-verbose): Assume float support.
4513         * ps-print.el: Assume float support on Emacs.
4514         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
4515         Remove non-float branch.
4517         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
4518         src/Makefile no longer being pre-processed.
4520 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4522         * emacs-lisp/find-func.el (find-library): Use test-completion.
4524 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4526         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
4528 2010-10-21  Michael Albinus  <michael.albinus@gmx.de>
4530         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
4531         space in stat format string.
4532         (tramp-send-command): Unset $PS1 when using here documents, in
4533         order not to get several prompts.
4534         (tramp-get-inline-coding): Return `nil' in case of errors.
4536 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
4538         * hexl.el (hexl-mode, hexl-mode-exit):
4539         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
4540         (hexl-revert-buffer-function): New function.
4541         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
4543 2010-10-19  Alan Mackenzie  <acm@muc.de>
4545         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
4546         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
4547         that these keywords aren't wrongly matched as identifiers.
4549         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
4550         setting of c-new-BEG and c-new-END from c-before-change to
4551         c-after-change.  (Bug#7181)
4553 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
4555         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
4556         Don't mark as safe.
4558         * custom.el (custom-theme-set-variables): Likewise.
4559         (load-theme): Add custom-theme-set-faces and
4560         custom-theme-set-variables to safe-functions while loading.
4561         (custom-enabled-themes): Mark as risky.
4563 2010-10-18  Julien Danjou  <julien@danjou.info>
4565         * bindings.el: Remove end dashes in default mode-line-format.
4567 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
4569         * bindings.el (global-map): Bind C-d to delete-char and deletechar
4570         to delete-forward-char.
4572         * simple.el (normal-erase-is-backspace-mode): Remap delete to
4573         deletechar, and hence delete-forward-char.
4575 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4577         * repeat.el (repeat): Use read-key (bug#6256).
4579 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
4581         * emacs-lisp/unsafep.el: Don't mark functions that display
4582         messages as safe.  Suggested by Johan Bockgård.
4584 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4586         * minibuffer.el (completion--replace): Move point where it belongs
4587         when there's a common suffix (bug#7215).
4589 2010-10-19  Kenichi Handa  <handa@m17n.org>
4591         * international/characters.el: Add category '|' (word breakable)
4592         to fullwidth characters.
4594 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
4596         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
4597         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
4598         order to make stat results a float.  Patch by Andreas Schwab
4599         <schwab@linux-m68k.org>.
4601 2010-10-18  Julien Danjou  <julien@danjou.info>
4603         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
4604         hidden by `make-pointer-invisible'.
4606 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4608         * files.el (locate-file-completion-table): Strip non-matching elements
4609         before checking length of list (bug#7238).
4611 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
4613         * custom.el (custom-theme-set-variables): Mark as a safe function.
4614         (load-theme): Check forms using unsafep.
4616         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
4618 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
4620         * textmodes/ispell.el (ispell-aspell-find-dictionary):
4621         Fix aspell data file searching (bug#7230).
4623 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
4625         * cus-theme.el (custom-theme--migrate-settings): New var.
4626         (customize-create-theme): Allow editing the `user' theme.
4627         (custom-theme-add-variable, custom-theme-add-var-1)
4628         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
4629         to the front of each variable or face widget.
4630         (custom-theme-write): Save theme settings in the correct order.
4631         Optionally, remove saved settings from user customizations.
4632         (custom-theme-write-variables, custom-theme-write-faces):
4633         Save only the checked widgets.
4634         (customize-themes): Add a link for migrating custom settings.
4636         * custom.el (custom-declare-theme, provide-theme):
4637         Use custom-theme-name-valid-p.
4638         (custom-theme-name-valid-p): Remove checks that are now
4639         unnecessary since themes no longer obey load-path.
4641         * cus-edit.el (custom-variable-value-create): For the simple
4642         style, hide documentation string when hidden.
4644 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
4646         * cus-edit.el (custom-variable, custom-face): Combine the
4647         :inhibit-magic and :display-style properties into a single
4648         :custom-style property.
4649         (custom-toggle-hide-variable, custom-toggle-hide-face):
4650         New functions.  If hiding an edited value, save it to :shown-value.
4651         (custom-variable-value-create, custom-face-value-create): Use them.
4652         (custom-magic-reset): Allow magic property to be unset.
4654         * custom.el: Custom themes no longer use load-path.
4655         (custom-theme-load-path): New option.  Change built-in theme
4656         directory to etc/.
4657         (custom-enabled-themes): Add custom-theme-load-path dependency.
4658         (custom-theme--load-path): New function.
4659         (load-theme, custom-available-themes): Use it.
4661         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
4662         (customize-themes): Link to custom-theme-load-path variable.
4663         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
4664         :custom-style property.
4666         * themes/*.el: Moved to etc/.
4668 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
4670         * textmodes/reftex-cite.el
4671         (reftex-extract-bib-entries-from-thebibliography): Do not move
4672         point when searching for \bibitem entries.  Match entries with
4673         spaces or tabs in front of arguments.
4675 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
4677         * cus-theme.el (customize-create-theme): Delete overlays after
4678         erasing.  If given a THEME arg, display only the faces of that arg
4679         instead of custom-theme--listed-faces.
4680         (custom-theme-variable-menu, custom-theme-variable-action)
4681         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
4682         (custom-theme-add-variable, custom-theme-add-face): Apply value
4683         from the theme settings, instead of the current value.
4684         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
4685         (custom-theme-visit-theme): Allow calling outside theme buffers.
4686         (custom-theme-merge-theme): Don't enable the theme when merging.
4687         (custom-theme-write-variables, custom-theme-write-faces): Use the
4688         :shown-value properties to save buffer values, not global ones.
4689         (customize-themes): Display a warning about user customizations.
4691         * cus-edit.el (custom-variable-value-create)
4692         (custom-face-value-create): Obey new special properties
4693         :shown-value and :inhibit-magic.
4695 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
4697         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4698         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
4699         <dale@codefu.org>.
4701 2010-10-14  Kenichi Handa  <handa@m17n.org>
4703         * mail/rmail.el (rmail-show-message-1): Catch an error of
4704         base64-decode-region and just show an error message (bug#7165).
4706         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
4707         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
4708         a font-spec (bug#7197).
4710 2010-10-14  Glenn Morris  <rgm@gnu.org>
4712         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
4714 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
4716         * international/mule.el (define-coding-system):
4717         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
4718         * composite.el (compose-region): Fix typo in docstring.
4720 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
4722         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
4723         only after checking the theme-face property.
4725         * faces.el (face-spec-reset-face): Reset all attributes in one
4726         single call to set-face-attribute.
4727         (face-spec-match-p): Make it a defsubst.
4728         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
4729         (x-create-frame-with-faces, tty-create-frame-with-faces)
4730         (tty-set-up-initial-frame-faces): Don't recompute face specs in
4731         frame-set-background-mode, since they are recomputed immediately
4732         afterwards in face-set-after-frame-default.
4733         (face-set-after-frame-default): Minor optimization.
4734         (cursor): Provide non-trivial defface spec.
4736         * custom.el (custom-theme-recalc-face): Simplify.
4738 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
4740         * calc/calc-alg.el (math-var): Rename from `var'.
4741         (math-is-polynomial, math-is-poly-rec): Replace `var'
4742         with `math-var'.
4744         * calc/calcalg2.el (math-var): Rename from `var'.
4745         (calcFunc-table, math-scan-for-limits): Replace `var'
4746         with `math-var'.
4748 2010-10-13  Glenn Morris  <rgm@gnu.org>
4750         * subr.el (last): Deal with dotted lists (reported in bug#7174).
4752 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
4754         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
4756 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4758         * net/tls.el (tls-program): Remove spurious %s from openssl.
4759         (tls-starttls-switches): Remove starttls hack.
4760         (open-tls-stream): Ditto.
4761         (tls-find-starttls-argument): Ditto.
4763 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
4765         * image.el (image-library-alist): Declare as obsolete alias.
4766         (image-type-available-p): Use `dynamic-library-alist'.
4768         * term/w32-win.el (dynamic-library-alist):
4769         Use instead of `image-library-alist'.
4771 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
4773         * subr.el (last): Make it faster.  (Bug#7174)
4775 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
4777         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
4779 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
4781         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
4782         (describe-theme-1): Extract doc from unloaded themes.
4784         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
4786         * themes/tango-theme.el:
4787         * themes/tango-dark-theme.el:
4788         * themes/wheatgrass-theme.el: New files.
4790 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
4792         * cus-theme.el (describe-theme, customize-themes)
4793         (custom-theme-save): New commands.
4794         (custom-new-theme-mode-map): Bind C-x C-s.
4795         (custom-new-theme-mode): Use custom--initialize-widget-variables.
4796         (customize-create-theme): New optional arg THEME.
4797         (custom-theme-revert): Use it.
4798         (custom-theme-visit-theme): Remove dead code.
4799         (custom-theme-merge-theme): Use custom-available-themes.
4800         (custom-theme-write): Make interactive.
4801         (custom-theme-write): Use custom-theme-name-valid-p.
4802         (describe-theme-1, custom-theme-choose-revert)
4803         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
4804         New funs.
4805         (custom-theme-allow-multiple-selections): New option.
4806         (custom-theme-choose-mode): New major mode.
4808         * custom.el (custom-theme-set-variables): Remove dead code.
4809         Obey custom--inhibit-theme-enable.
4810         (custom--inhibit-theme-enable): New var.
4811         (provide-theme): Obey it.
4812         (load-theme): Replace load with manual read/eval, in order to
4813         check for correctness.  Use custom-theme-name-valid-p.
4814         (custom-theme-name-valid-p): New function.
4815         (custom-available-themes): Use it.
4817         * cus-edit.el (custom--initialize-widget-variables): New function.
4818         (Custom-mode): Use it.
4820         * cus-face.el (custom-theme-set-faces): Remove dead code.
4821         Obey custom--inhibit-theme-enable.
4823         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
4825 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
4827         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
4829 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
4831         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
4832         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
4833         (mac-right-option-modifier): New alias for ns-right-option-modifier.
4835         * cus-start.el (all): ns-right-alternate-modifier is new.
4837 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4839         * emacs-lisp/lisp.el (lisp-completion-at-point):
4840         Use emacs-lisp-mode-syntax-table for the whole function.
4842 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
4844         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
4845         instead of font-lock-mode before adding keywords.
4846         Remove hi-lock-mode off code.  Remove inhibit hack.
4847         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
4848         non-nil; removed hook inhibit hack.
4850 2010-10-12  Glenn Morris  <rgm@gnu.org>
4852         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
4853         (load-path-shadows-find): ... to this.
4854         (list-load-path-shadows): Update for above change.
4856         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
4858 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
4860         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
4861         Fix comment for declare-function.
4863 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
4865         * custom.el (custom-fix-face-spec): New function; code moved from
4866         custom-face-edit-fix-value.
4867         (custom-push-theme): Use it when checking if a face has been
4868         changed outside customize.
4869         (custom-available-themes): New function.
4870         (load-theme): Use it.
4872         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
4874         * custom.el (custom-push-theme): Cleanup (use cond).
4875         (disable-theme): Recompute the saved-face property.
4876         (custom-theme-recalc-face): Follow face alias before setting prop.
4878         * image.el (image-checkbox-checked, image-checkbox-unchecked):
4879         New variables, containing checkbox images.
4881         * startup.el (fancy-startup-tail):
4882         * wid-edit.el (checkbox): Use them.
4884 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
4886         * shell.el (shell-mode-map):
4887         * progmodes/modula2.el (m2-mode-map):
4888         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
4889         * play/mpuz.el (mpuz-mode-map):
4890         * play/landmark.el (lm-mode-map):
4891         * play/decipher.el (decipher-mode-map):
4892         * play/5x5.el (5x5-mode-map):
4893         * net/telnet.el (telnet-mode-map):
4894         * net/quickurl.el (quickurl-list-mode-map):
4895         * net/mairix.el (mairix-searches-mode-map):
4896         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
4897         * net/dig.el (dig-mode-map):
4898         * mail/mspools.el (mspools-mode-map):
4899         * hexl.el (hexl-mode-map):
4900         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
4901         (wordstar-C-o-map, wordstar-C-q-map):
4902         * emacs-lisp/edebug.el (edebug-eval-mode-map):
4903         * emacs-lisp/chart.el (chart-map):
4904         * edmacro.el (edmacro-mode-map):
4905         * erc/erc-list.el (erc-list-menu-mode-map):
4906         * array.el (array-mode-map): Declare and define in one step.
4908         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
4910 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
4912         * epa.el (epa-passphrase-callback-function): Display filename
4913         passed as the 3rd arg.
4914         * epa-file.el (epa-file-passphrase-callback-function):
4915         Pass filename to epa-passphrase-callback-function.
4917 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
4919         * cus-edit.el (custom-face-widget-to-spec)
4920         (custom-face-get-current-spec, custom-face-state): New functions.
4921         (custom-face-set, custom-face-mark-to-save)
4922         (custom-face-value-create, custom-face-state-set): Use them.
4924         * cus-theme.el (custom-theme--listed-faces): New var.
4925         (customize-create-theme): Use *Custom Theme* as the buffer name.
4926         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
4927         faces listed in custom-theme--listed-faces.
4928         (custom-theme-revert): New function.
4929         (custom-theme-add-variable, custom-theme-add-face): Insert at the
4930         bottom of the list.
4931         (custom-theme-write): Prompt for theme name if empty.
4932         (custom-theme-write-variables): Use dolist.
4933         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
4935 2010-10-09  Alan Mackenzie  <acm@muc.de>
4937         Enhance fontification of declarators to take account of the
4938         presence/absence of "typedef".
4940         * cc-engine.el (c-forward-type): New &optional param
4941         "brace-block-too".
4942         (c-forward-decl-or-cast-1): cdr of return value now indicates the
4943         presence of either or both of a "struct"-like keyword and "typedef".
4945         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
4946         fontification of declarators which follow a "}".
4947         (c-font-lock-declarations): Fontify declarators according to the
4948         presence/absence of "typedef".
4950         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
4951         for "typedef".
4952         (c-typedef-decl-key): New lang variable built from
4953         c-typedef-decl-kwds.
4955 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4957         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
4958         since that's too annoying.  Move the filter groups commands to
4959         TAB/backtab.
4961         * epa.el (epa-passphrase-callback-function): Say what we're
4962         querying the password for.
4964         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
4965         behaviour, don't bury the ibuffer buffer when visiting other buffers.
4967 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
4969         * cus-edit.el (custom-commands, custom-buffer-create-internal)
4970         (custom-magic-value-create): Pad button tags with spaces.
4971         (custom-face-edit): New variable.
4972         (custom-face-value-create): Determine whether to use the usual
4973         face editor here, instead of using custom-face-selected.
4974         Pass face defaults to custom-face-edit widget.
4975         (custom-face-selected, custom-display-unselected): Delete widgets.
4976         (custom-display-unselected-match): Function removed.
4977         (custom-face-set, custom-face-mark-to-save):
4978         Accept custom-face-edit widgets as the direct widget child.
4980         * wid-edit.el (widget--completing-widget): New var.
4981         (widget-default-complete): Bind it when doing completion.
4982         (widget-string-complete, widget-file-complete): Use it.
4984 2010-10-09  Glenn Morris  <rgm@gnu.org>
4986         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
4987         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
4988         (holiday-hebrew-misc): Small simplifications.
4990         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
4992         * net/browse-url.el: Don't require thingatpt, term, dired,
4993         executable, or w3-auto when compiling.
4994         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
4995         Declare.
4996         (browse-url-text-emacs): Require term.
4998 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
5000         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
5002 2010-10-08  Glenn Morris  <rgm@gnu.org>
5004         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
5006         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
5007         (shadows-compare-text-p): Make it an obsolete alias for...
5008         (load-path-shadows-compare-text): ... new name.
5009         (find-emacs-lisp-shadows): Update for above name change.
5010         (load-path-shadows-same-file-or-nonexistent): New name for the old
5011         shadow-same-file-or-nonexistent.
5013 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
5015         * minibuffer.el (completion--some, completion--do-completion)
5016         (minibuffer-complete-and-exit, minibuffer-completion-help)
5017         (completion-basic-try-completion)
5018         (completion-basic-all-completions)
5019         (completion-pcm--find-all-completions): Use lexical-let to
5020         avoid some false matches in variable completion (Bug#7056)
5022 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
5024         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
5026 2010-10-08  Leo  <sdl.web@gmail.com>
5028         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
5029         return non-nil if the file exists (Bug#7090).
5031 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5033         * minibuffer.el (completion--replace):
5034         Better preserve markers (bug#7138).
5036 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
5038         * server.el (server-process-filter): Doc fix.
5040 2010-10-08  Drew Adams  <drew.adams@oracle.com>
5042         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
5044 2010-10-08  Glenn Morris  <rgm@gnu.org>
5046         * vc/ediff-wind.el (ediff-setup-control-frame):
5047         * vc/ediff-ptch.el (ediff-default-backup-extension):
5048         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
5049         (ediff-exec-process): Remove system-types emx, windows-95.
5051         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
5053 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
5055         * cus-edit.el (custom-variable, custom-face): Doc fix.
5056         (custom-face-edit): Add value-create attribute.
5057         (custom-face-edit-value-create)
5058         (custom-face-edit-value-visibility-action): New functions.
5059         Hide unused face attributes by default, and add a visibility toggle.
5060         (custom-face-edit-deactivate): Show empty values with shadow face.
5061         (custom-face-selected): Only use this for face specs with default
5062         attributes.
5063         (custom-face-value-create): Cleanup.
5065         * wid-edit.el (widget-checklist-value-create): Use dolist.
5066         (widget-checklist-match-find): Make second arg optional.
5068 2010-10-07  Glenn Morris  <rgm@gnu.org>
5070         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
5071         Prefix things.
5073         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
5074         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
5075         load-path-shadows-mode, update references.
5076         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
5077         Rename variable and button.
5078         (list-load-path-shadows): Update button caller.
5080 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5082         * emacs-lisp/smie.el (smie-bnf-classify): New function.
5083         (smie-bnf-precedence-table): Use it to remember the closers/openers.
5084         (smie-merge-prec2s): Handle those new entries.
5085         (smie-prec2-levels): Only set precedence to nil for actual
5086         openers/closers.
5087         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
5088         that is now unnecessary.
5090 2010-10-07  Miles Bader  <miles@gnu.org>
5092         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
5094 2010-10-07  Glenn Morris  <rgm@gnu.org>
5096         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
5097         (mail-position-on-field): Remove declarations.
5098         (mail-position-on-field): Autoload it.
5099         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
5100         and mail-header-end.  Don't require sendmail.
5102         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
5103         (shadow-mode): New mode.
5104         (shadow-find-file): New button.
5105         (list-load-path-shadows): Use shadow-mode and buttons.
5107         * iimage.el (iimage-version): Remove.
5108         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
5109         Turn into defcustoms.
5110         (iimage-mode-map): Give it a doc string.
5112         * calendar/appt.el (appt-activate): Give a warning rather than an error
5113         if there is no diary-file.
5115 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
5117         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5118         Use `tramp-handle-find-backup-file-name'.
5120 2010-10-06  Glenn Morris  <rgm@gnu.org>
5122         * font-core.el (font-lock-defaults-alist): Remove variable.
5123         (font-lock-mode): Doc fix.
5124         (font-lock-default-function): Do not consult font-lock-defaults-alist.
5125         * font-lock.el (font-lock-refresh-defaults): Doc fix.
5126         (font-lock-set-defaults): Doc fix.
5127         Do not consult font-lock-defaults-alist.
5129         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
5131         * emacs-lisp/cl.el: No longer provide cl-19.
5133 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
5135         * net/tramp.el (tramp-handle-directory-files-and-attributes)
5136         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
5137         New defuns, taken from tramp-smb.el.
5138         (tramp-coding-system-change-eol-conversion)
5139         (tramp-set-process-query-on-exit-flag): Remove.
5141         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
5142         (tramp-compat-coding-system-change-eol-conversion)
5143         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
5144         from tramp.el.
5146         * net/tramp-gvfs.el:
5147         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
5148         by `tramp-compat-set-process-query-on-exit-flag'.
5150         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
5151         Use `tramp-handle-directory-files-and-attributes',
5152         `tramp-handle-file-exists-p' and
5153         `tramp-handle-file-newer-than-file-p'.
5154         (tramp-imap-handle-file-exists-p)
5155         (tramp-imap-handle-file-executable-p)
5156         (tramp-imap-handle-file-readable-p)
5157         (tramp-imap-handle-directory-files-and-attributes)
5158         (tramp-imap-handle-file-newer-than-file-p): Remove.
5160         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
5161         by `tramp-compat-set-process-query-on-exit-flag' and
5162         `tramp-coding-system-change-eol-conversion' by
5163         `tramp-compat-coding-system-change-eol-conversion'.
5165         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5166         Use `tramp-handle-directory-files-and-attributes',
5167         `tramp-handle-file-exists-p' and
5168         `tramp-handle-file-newer-than-file-p'.
5169         (tramp-smb-handle-directory-files-and-attributes)
5170         (tramp-smb-handle-file-exists-p)
5171         (tramp-smb-handle-file-newer-than-file-p): Remove.
5172         (tramp-smb-maybe-open-connection):
5173         Replace `tramp-set-process-query-on-exit-flag' by
5174         `tramp-compat-set-process-query-on-exit-flag'.
5176 2010-10-05  Glenn Morris  <rgm@gnu.org>
5178         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
5180 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
5182         Continue reorganization of load dependencies.  (Bug#7156)
5184         * net/tramp.el (tramp-handle-file-local-copy-hook)
5185         (tramp-delete-temp-file-function): Move down.
5186         (tramp-exists-file-name-handler): Move up.
5187         (tramp-register-file-name-handlers): Simplify autoload.
5188         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
5189         (tramp-handle-directory-files, tramp-handle-dired-uncache)
5190         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
5191         (tramp-handle-file-name-completion)
5192         (tramp-handle-file-name-directory)
5193         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
5194         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
5195         (tramp-handle-find-backup-file-name)
5196         (tramp-handle-insert-file-contents, tramp-handle-load)
5197         (tramp-handle-substitute-in-file-name)
5198         (tramp-handle-unhandled-file-name-directory)
5199         (tramp-mode-string-to-int, tramp-local-host-p)
5200         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
5202         * net/tramp-gvfs.el (top):
5203         * net/tramp-smb.el (top): Do not require 'tramp-sh.
5205         * net/tramp-sh.el (all): Move several objects to tramp.el, see
5206         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
5208 2010-10-04  Glenn Morris  <rgm@gnu.org>
5210         * calendar/appt.el (appt-add): Ensure reminders are enabled.
5211         (appt-activate): Give status messages.
5213 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
5215         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
5216         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
5217         `gnutls-negotiate' (formerly `starttls-negotiate').
5218         Remove trivial wrapper `starttls-open-stream'.
5220 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
5222         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
5223         log-outgoing commands.
5224         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
5225         to create a buffer local revert-buffer-function variable.
5226         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
5227         revert-buffer-function lambda.
5229 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
5231         * net/gnutls.el (starttls-negotiate): Use the plist interface to
5232         `gnutls-boot'.  Make TYPE the only required parameter.
5233         Allow TRUSTFILES and KEYFILES to be lists.
5234         (open-ssl-stream): Use it.
5236 2010-10-03  Glenn Morris  <rgm@gnu.org>
5238         * subr.el (directory-sep-char): Remove obsolete variable.
5239         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
5240         it is "necessary".
5242         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
5243         * vc/vc.el (vc-static-header-alist): Doc fix.
5244         * vc/vc-cvs.el (vc-cvs-header):
5245         * vc/vc-rcs.el (vc-rcs-header):
5246         * vc/vc-sccs.el (vc-sccs-header):
5247         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
5248         * obsolete/vc-mcvs.el (vc-mcvs-header):
5249         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
5250         on XEmacs.
5252 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
5254         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
5255         Remove obsolete use of binary-overwrite-mode (Bug#7001).
5257 2010-10-03  Glenn Morris  <rgm@gnu.org>
5259         * obsolete/x-menu.el: Remove file, obsolete since 21.1
5261         * textmodes/rst.el (rst-font-lock-keywords-function):
5262         Drop Emacs 20 code.
5264         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
5266         * printing.el: Drop Emacs 20 code.
5268         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
5269         without having used appt.el already).
5271         * subr.el (make-local-hook): Remove function obsolete since 21.1.
5272         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
5273         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
5274         XEmacs.
5275         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
5276         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
5278         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
5279         (charset-width, find-charset-region, chars-in-region, forward-point)
5280         (encode-coding-string, coding-system-p, ccl-execute-on-string)
5281         (define-ccl-program, multibyte-string-p, string-make-multibyte):
5282         Remove compatibility cruft (none of these are used by ps*.el).
5284 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
5286         * subr.el (booleanp): Return t instead of a list (Bug#7086).
5288 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
5290         * server.el (server-process-filter, server-return-error):
5291         Give emacsclient time to shut down after receiving an error string.
5293 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
5295         * files.el (remote-file-name-inhibit-cache): New defcustom.
5297         * time.el (display-time-file-nonempty-p):
5298         Use `remote-file-name-inhibit-cache'.
5300         * net/tramp.el (tramp-completion-reread-directory-timeout):
5301         Fix docstring.
5303         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
5304         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
5305         `remote-file-name-inhibit-cache'.  Check also for an integer
5306         value.  Add/increase counter when `tramp-verbose' >= 10.
5307         (tramp-set-file-property): Add/increase counter when
5308         `tramp-verbose' >= 10.
5310         * net/tramp-cmds.el (tramp-cleanup-all-connections)
5311         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
5312         (tramp-bug): Set tramp-autoload cookie.  Report all interned
5313         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
5314         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
5315         characters only in strings.
5317         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
5318         to backward compatibility.
5320         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
5321         (tramp-handle-file-name-all-completions)
5322         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
5323         (tramp-open-connection-setup-interactive-shell):
5324         Call `tramp-cleanup-connection' directly.
5326 2010-10-02  Glenn Morris  <rgm@gnu.org>
5328         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
5330         * subr.el (char-bytes): Remove obsolete function.
5332         * isearch.el (isearch-return-char): Remove obsolete function.
5334         * mouse.el: No longer provide mldrag.
5335         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
5336         Remove obsolete aliases.
5338         * comint.el (comint-kill-output): Remove obsolete alias.
5340         * composite.el (decompose-composite-char): Remove obsolete function.
5341         * ps-def.el (decompose-composite-char): Remove unused function.
5343         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
5345         * outline.el (outline-visible): Remove obsolete function.
5347         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
5348         * faces.el (internal-find-face, internal-get-face)
5349         (frame-update-faces, frame-update-face-colors)
5350         (x-frob-font-weight, x-frob-font-slant)
5351         (internal-frob-font-weight, internal-frob-font-slant)
5352         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
5353         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
5354         (x-make-font-bold-italic): Remove functions and aliases, obsolete
5355         since Emacs 21.1.
5356         * emulation/viper-util.el (viper-get-face):
5357         * obsolete/lucid.el (find-face, get-face): Use facep.
5358         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
5359         Remove unused functions.
5360         * vc/ediff-util.el (ediff-submit-report): Doc fix.
5362         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
5363         delete tempfile if interrupted during compilation.
5365 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5367         * net/tls.el (tls-starttls-switches): Give up on using starttls with
5368         gnutls-cli.
5369         (tls-program): Add --insecure to be consistent with the defaults from
5370         openssl s_client.  Now all three commands are insecure.
5372 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
5374         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
5375         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
5376         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
5378 2010-10-01  Glenn Morris  <rgm@gnu.org>
5380         * obsolete/sc.el: Remove file.
5382         * files.el (temporary-file-directory): On darwin, also try
5383         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
5385 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
5387         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
5388         Let's not break compatibility gratuitously, shall we?
5390 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5392         * net/tls.el (tls-starttls-switches): New variable.
5393         (tls-find-starttls-argument): Use it.
5394         (open-tls-stream): Ditto.
5396         * net/netrc.el (netrc-credentials): Return the value of the "default"
5397         entry.
5398         (netrc-machine): Ditto.
5400 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
5402         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
5404 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
5406         * server.el (server-start): Don't write pid to the authentication file.
5407         (server-create-tty-frame): Don't send pid.
5408         (server-process-filter): Send pid at the start of every connection.
5410 2010-09-30  Glenn Morris  <rgm@gnu.org>
5412         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
5413         (show-all-diary-entries): Remove obsolete function aliases.
5415         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
5416         Remove options, obsolete since 22.1.
5417         (appt-display-format, appt-display-message):
5418         Remove backwards-compatibility code.
5419         (appt-check): No longer check appt-issue-message.
5420         (appt-make-list): No longer autoload it.  Doc fix.  No longer
5421         activate the package.
5423 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5425         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
5426         (starttls-negotiate): Just call boot, and let the handshake be
5427         triggered from the read loop.
5429 2010-09-29  Glenn Morris  <rgm@gnu.org>
5431         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
5432         not displaying the diary.
5433         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
5434         * calendar/appt.el (appt-check): No longer need to kill diary.
5436         * calendar/diary-lib.el (diary-list-entries): Move the
5437         "Preparing..." message entirely here.
5438         (diary-simple-display, diary-fancy-display): Move "Preparing..."
5439         messages to diary-list-entries.
5440         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
5441         diary-display-function.
5443         * calendar/diary-lib.el (diary-include-other-diary-files):
5444         Trap some recursive includes.
5446         * calendar/appt.el (appt-activate): Check diary file.
5448 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
5450         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
5451         construction.
5453         * calendar/time-date.el: No need to require cl for Emacs 21.
5455 2010-09-28  Glenn Morris  <rgm@gnu.org>
5457         * calendar/appt.el (appt-check): Minor simplification.
5459 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
5461         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
5462         citation prefix.
5464 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
5466         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5467         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
5469 2010-09-27  Kenichi Handa  <handa@m17n.org>
5471         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
5472         "ustar" format.
5474 2010-09-27  Kenichi Handa  <handa@m17n.org>
5476         * international/mule.el (define-coding-system): Docstring fixed.
5478         * international/mule-diag.el (describe-character-set): Use princ
5479         with proper print-length and print-level instead of insert.
5481 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
5483         * window.el (walk-windows): Doc fix (bug#7105).
5485 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5487         * emacs-lisp/float-sup.el (e): Remove.
5489 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
5491         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
5492         variable.
5493         (starttls-negotiate): Use it.
5495 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5497         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
5498         back.
5500 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5502         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
5504 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5506         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
5508         * net/netrc.el (netrc-store-data): New function.
5510 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
5512         * net/gnutls.el: GnuTLS glue code to set up a connection.
5514 2010-09-25  Julien Danjou  <julien@danjou.info>
5516         * notifications.el: Call dbus-register-signal only if it is bound.
5518 2010-09-25  Glenn Morris  <rgm@gnu.org>
5520         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5521         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5522         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5523         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5524         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5525         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
5526         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
5527         * eshell/esh-util.el, eshell/esh-var.el:
5528         Remove leading `*' from docs of faces and defcustoms.
5530 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
5532         * eshell/em-ls.el (eshell-ls-archive-regexp):
5533         * eshell/esh-util.el (eshell-tar-regexp):
5534         * ibuffer.el (ibuffer-compressed-file-name-regexp):
5535         * info.el (Info-suffix-list):
5536         * international/mule.el (auto-coding-alist):
5537         * woman.el (woman-file-regexp, woman-file-compression-regexp):
5538         * progmodes/etags.el (tags-compression-info-list):
5539         Support xz compression.
5541 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
5543         * files.el (get-free-disk-space): Don't assume the "df" output
5544         columns line up (Bug#6995).
5546 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
5548         * finder.el (finder-unknown-keywords):
5549         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
5550         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
5552 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
5554         * server.el (server-start): Revert part of 2010-08-08 change.  Using
5555         address 127.0.0.1 for local host is now done in Fmake_network_process.
5557 2010-09-24  Glenn Morris  <rgm@gnu.org>
5559         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
5560         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
5561         * textmodes/css-mode.el, textmodes/dns-mode.el:
5562         Move autoloaded auto-mode-alist entries to files.el.
5563         * files.el (auto-mode-alist): Move entries here.
5565 2010-09-23  Glenn Morris  <rgm@gnu.org>
5567         * isearch.el (isearch-lazy-highlight-cleanup)
5568         (isearch-lazy-highlight-initial-delay)
5569         (isearch-lazy-highlight-interval)
5570         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
5571         * net/net-utils.el (ipconfig-program-options):
5572         Move aliases to options before the associated definitions.
5574 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5576         * newcomment.el (comment-normalize-vars): Better test validity of
5577         comment-end-skip.
5579 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5581         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
5582         (float-e): New name for `e'.
5583         (degrees-to-radians, radians-to-degrees):
5584         * calendar/solar.el (solar-longitude):
5585         * calculator.el (calculator-registers, calculator-funcall):
5586         * textmodes/artist.el (artist-spray-random-points):
5587         * play/bubbles.el (bubbles--initialize-images): Use new names.
5589 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
5591         Update to CEDET 1.0's version of EIEIO.
5593         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
5594         New function.
5595         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
5596         (eieio-default-eval-maybe): Eval val instead of unquoting only.
5597         (class-precedence-list): If class is nil, return nil.
5598         (eieio-generic-call): If class of first input arg is nil, don't
5599         look up static methods, and do check for primary methods.
5600         (initialize-instance): See if the default needs to be evaluated
5601         during the constructor.
5602         (eieio-perform-slot-validation-for-default): Don't do the check
5603         for values that will eventually be evaluated.
5604         (eieio-eval-default-p): New function.
5605         (eieio-default-eval-maybe): Use it.
5607 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
5609         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
5610         method-invocation-order.
5611         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
5612         (eieio-class-precedence-dfs): Compute class precedence list using
5613         dfs algorithm.
5614         (eieio-class-precedence-bfs): Compute class precedence list using
5615         bfs algorithm.
5616         (eieio-class-precedence-c3): Compute class precedence list using
5617         c3 algorithm.
5618         (class-precedence-list): New function.
5619         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
5620         (inconsistent-class-hierarchy): New error symbol.
5621         (call-next-method): Stow the replacement argument list for future
5622         call-next-method invocations.
5624 2010-09-23  Glenn Morris  <rgm@gnu.org>
5626         * calendar/appt.el (appt-check): If not displaying the diary,
5627         use (diary 1) to only get the entries we need.
5628         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
5629         that it is in day order.  (Bug#7019)
5631         * calendar/appt.el (appt-check): Rather than showing the diary,
5632         just turn off invisible display, and only if needed.
5634         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
5636 2010-09-23  Glenn Morris  <rgm@gnu.org>
5638         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5639         (byte-compile-defvar, byte-compile-cl-warn):
5640         Start warnings with lower-case, like the majority.
5642         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
5644         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
5646         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
5647         * files.el (auto-mode-alist): Move ld-script entries here, further down
5648         the list.
5650         * vc/add-log.el: Don't require timezone when compiling.
5651         (timezone-make-date-sortable): Autoload it.
5652         (change-log-sortable-date-at): Don't require timezone.
5653         Use `ignore-errors'.
5655         * comint.el (comint-use-prompt-regexp-instead-of-fields):
5656         Move alias before definition, so it does not need autoloading.
5658         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
5659         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
5660         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
5661         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
5662         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
5663         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
5664         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
5665         * textmodes/tex-mode.el, textmodes/two-column.el:
5666         Remove leading `*' from docs of defcustoms etc.
5668 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
5670         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
5672 2010-09-22  Dan Christensen  <jdc@uwo.ca>
5674         * calendar/time-date.el (date-to-time): Try using parse-time-string
5675         first before using the slower timezone-make-date-arpa-standard.
5677 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
5679         * calendar/time-date.el (format-seconds): Comment fix.
5681 2010-09-22  Glenn Morris  <rgm@gnu.org>
5683         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
5684         is not automatically buffer-local.
5686 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5688         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
5689         (smie-indent-comment): Be more careful with comment-start-skip.
5690         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
5691         (smie-indent-functions): Use them.
5693 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
5695         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
5697 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
5699         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
5700         tool-bar-position.  Don't modify frame parameters here.
5701         (menu-bar-options-save): Add tool-bar-position.
5703         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
5705 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5707         * textmodes/reftex-parse.el (reftex-what-macro)
5708         (reftex-context-substring): Let-bind forward-sexp-function to nil
5709         since we don't need/want to treat \begin...\end as a block (bug#7053).
5711         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
5713         * simple.el (blink-matching-open): Use syntax-class.
5715         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
5716         Set invisibility spec for pascal's outline mode.
5717         (pascal-outline-change): Clean up calling convention.
5718         (pascal-show-all, pascal-hide-other-defuns): Update callers.
5720         * progmodes/prolog.el (prolog-smie-forward-token)
5721         (prolog-smie-backward-token): New functions.
5722         (prolog-mode-variables): Use them to parse "!," correctly.
5723         Set up smie-blink-matching for ".".
5725         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
5726         and `end'.
5727         (ispell-region, ispell-process-line): Update users.
5729         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
5730         point-min==1.
5732         * textmodes/ispell.el: Fix commenting convention.
5733         (ispell-parse-output): Simplify, use push.
5734         (ispell-region): Use match-string-no-properties.
5735         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
5736         (ispell-minor-mode): Use define-minor-mode.
5737         (ispell-message): Remove unused var `skip-regexp'.
5738         (ispell-add-per-file-word-list): Use dynamic let-binding.
5739         Try and use the proper comment marker.
5741         * mail/sendmail.el: Fix commenting convention.
5742         (sendmail-send-it): Use line-beginning-position.
5744         * help-fns.el (describe-variable): Add original value, if applicable.
5746 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
5748         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
5750         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
5752 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5754         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
5755         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
5756         (smie-prec2-levels): Use them to better diagnose precedence cycles.
5757         (smie-blink-matching-check): Don't signal a mismatch if car is t.
5758         (smie-blink-matching-open): Rewrite to remove assumptions, so that
5759         something like "." can also be a closer.
5760         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
5761         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
5762         Rename internal functions to use "--".  Update callers.
5764         * frame.el (make-frame-names-alist): Don't list frames on other displays.
5766         * fringe.el (fringe-styles): New var.
5767         (fringe-mode, fringe-query-style): Use it.
5769 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
5771         * progmodes/sql.el: Version 2.8
5772         (sql-login-params): Update widget structure; changes still needed.
5773         (sql-product-alist): Add :list-all and :list-table features for
5774         SQLite, Postgres and MySQL products.
5775         (sql-redirect): Handle default value.
5776         (sql-execute, sql-execute-feature): New functions.
5777         (sql-read-table-name): New function.
5778         (sql-list-all, sql-list-table): New functions.  User API.
5779         (sql-mode-map, sql-interactive-mode-map): Add key definitions
5780         for above functions.
5781         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
5782         for above functions.
5783         (sql-postgres-login-params): Add user and database defaults.
5784         (sql-buffer-live-p): Bug fix.
5785         (sql-product-history): New variable.
5786         (sql-read-product): New function.  Use it.
5787         (sql-set-product, sql-product-interactive): Use it.
5788         (sql-connection-history): New variable.
5789         (sql-read-connection): New function.  Use it.
5790         (sql-connect): New function.
5791         (sql-for-each-login): Redesign function interface.
5792         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
5793         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
5794         (sql-comint): Check for program.  Existing live buffer.
5795         (sql-comint-postgres): Add port parameter.
5797 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5799         * emacs-lisp/warnings.el: Fix commenting convention.
5800         (display-warning): Use special mode and make the buffer read-only.
5802 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
5804         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
5805         empty string when it follows a repeated or optional pattern.
5807 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5809         * indent.el (indent-according-to-mode): Apply syntax-propertize.
5810         (indent-region): Use indent-according-to-mode.
5812 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
5814         * fringe.el (fringe-mode): Doc fix.
5816 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
5818         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
5819         refreshing the preview buffer.
5821 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5823         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
5824         (latex-syntax-propertize-rules): New consts; replace
5825         tex-font-lock-syntactic-keywords.
5826         (tex-env-mark, latex-env-before-change): New functions.
5827         (latex-electric-env-pair-mode): New minor mode.
5828         (tex-font-lock-verb): Change arguments; do move point.
5829         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
5830         representation as a form of comment.
5831         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
5832         (doctex-syntax-propertize-rules): New const; replaces
5833         doctex-font-lock-syntactic-keywords.
5834         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
5836         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
5837         (fortran-make-syntax-propertize-function): New function; replaces
5838         fortran-font-lock-syntactic-keywords.
5839         (fortran-mode): Use it.
5840         (fortran-line-length): Use it.  Improve interactive spec.
5842         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
5843         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
5844         when adding surrounding \(..\).
5846         * progmodes/js.el (js-mode): Fix last change (bug#7054).
5848 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5850         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
5851         Use with-current-buffer.
5853         * isearch.el (isearch-face): Rename from `isearch'.
5854         (isearch-highlight): Use new name.
5856 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
5858         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
5859         5, for `half' width fringes.  (Bug#6933)
5861 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5863         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
5864         (byte-compile-defvar): "foo/bar" does not lack a prefix.
5866         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
5868 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
5870         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
5871         in calculating new frame position.  Add more space between new and
5872         parent on the left (Bug#7048).
5874 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
5876         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
5877         defmacro.
5879 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
5881         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
5883         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
5884         obsolete alias for x-selection-value.
5886         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
5888 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
5890         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
5891         cookie.
5893 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
5895         * net/tramp-compat.el (tramp-compat-with-temp-message)
5896         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
5897         (tramp-compat-process-put): New defuns.
5899         * net/tramp.el (top):
5900         * net/tramp-gvfs.el (top):
5901         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
5903         * net/tramp.el (tramp-progress-reporter-update):
5904         Use `tramp-compat-funcall'.
5906         * net/tramp.el (tramp-process-actions):
5907         * net/tramp-gvfs.el (tramp-handle-vc-registered):
5908         * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
5909         (tramp-get-remote-stat, tramp-get-remote-readlink):
5910         Use `tramp-compat-with-temp-message'.
5912         * net/tramp-sh.el (top): Require 'cl.
5913         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
5914         (tramp-open-connection-setup-interactive-shell):
5915         Use `tramp-compat-process-put'.
5917 2010-09-15  Alan Mackenzie  <acm@muc.de>
5919         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
5920         indentation.
5921         (c-forward-<>-arglist-recur): Fix an infinite recursion.
5923 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5925         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
5926         `lexical' for warnings related to lexical scoping.
5927         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
5928         global vars which don't have a prefix and could hence affect lexical
5929         scoping in unrelated files.
5931 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5933         * net/imap.el: Revert back to version
5934         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
5935         seem problematic.
5937 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
5939         * obsolete/old-whitespace.el (whitespace-unload-function):
5940         Explicitly pass `obarray' to `unintern' to avoid a warning.
5942 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5944         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
5945         Add `when' argument.  Update callers.
5947         * subr.el (unintern): Declare the obarray arg mandatory.
5949 2010-09-14  Glenn Morris  <rgm@gnu.org>
5951         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
5952         Doc fixes.
5954         * calendar/diary-lib.el (diary-included-files): New variable.
5955         (diary-list-entries): Maybe initialize diary-included-files.
5956         (diary-include-other-diary-files): Append to diary-included-files.
5957         * calendar/appt.el (appt-update-list): Also check the members of
5958         diary-included-files.  (Bug#6999)
5959         (appt-check): Doc fix.
5961 2010-09-14  David Reitter  <david.reitter@gmail.com>
5963         * simple.el (line-move-visual): Do not truncate goal column to
5964         integer size.  (Bug#7020)
5966 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5968         * repeat.el (repeat): Allow repeating when the last event is a click.
5969         Suggested by Drew Adams (bug#6256).
5971 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
5973         * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
5974         Replace setting HGRCPATH to "" by some less invasive --config options.
5976 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5978         * font-lock.el (font-lock-beginning-of-syntax-function):
5979         Mark as obsolete.
5981 2010-09-14  Glenn Morris  <rgm@gnu.org>
5983         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
5984         and tool-bar modes.  (Bug#6211)
5985         (menu-bar-mode): Move setting of standard-value after the
5986         minor-mode definition, otherwise it seems to have no effect.
5988 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
5990         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
5991         Fix typo.  (Bug#6976)
5993 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5995         * whitespace.el: Allow cleaning up blanks without blank
5996         visualization (Bug#6651).  Adjust help window for
5997         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
5998         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
5999         (whitespace-style): Add new value 'face.  Adjust docstring.
6000         (whitespace-space, whitespace-hspace, whitespace-tab):
6001         Adjust foreground property face.
6002         (whitespace-line-column): Adjust docstring and type declaration.
6003         (whitespace-style-value-list, whitespace-toggle-option-alist)
6004         (whitespace-help-text): Adjust const initialization.
6005         (whitespace-toggle-options, global-whitespace-toggle-options):
6006         Adjust docstring.
6007         (whitespace-display-window, whitespace-interactive-char)
6008         (whitespace-style-face-p, whitespace-color-on): Adjust code.
6009         (whitespace-help-scroll): New fun.
6011 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
6013         * calendar/time-date.el (format-seconds): Comment fix.
6015 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
6017         * progmodes/sql.el: Version 2.7.
6018         (sql-buffer-live-p): Improve detection.
6019         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6020         (sql-set-sqli-buffer): Use it.
6021         (sql-product-interactive): Run `sql-set-sqli-hook'.
6022         (sql-rename-buffer): Code cleanup.
6023         (sql-redirect, sql-redirect-value): New functions.  More to come.
6025 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
6027         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.
6028         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6029         (TRAMP_SRC): New macro.
6030         ($(lisp)/net/tramp-loaddefs.el): New target.
6032 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
6034         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
6036         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
6038         * net/tramp.el (top): Don't show loading message.  Require just
6039         'tramp-compat, everything else is required there.
6040         Use `ignore-errors' where appropriate.
6041         (tramp-inline-compress-start-size, tramp-copy-size-limit)
6042         (tramp-terminal-type, tramp-end-of-output)
6043         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
6044         (tramp-completion-function-alist-ssh)
6045         (tramp-completion-function-alist-telnet)
6046         (tramp-completion-function-alist-su)
6047         (tramp-completion-function-alist-putty, tramp-remote-path)
6048         (tramp-remote-process-environment, tramp-sh-extra-args)
6049         (tramp-actions-before-shell, tramp-uudecode)
6050         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
6051         (tramp-perl-file-attributes)
6052         (tramp-perl-directory-files-and-attributes)
6053         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
6054         (tramp-perl-encode, tramp-perl-decode)
6055         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
6056         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
6057         (tramp-handle-make-symbolic-link, tramp-handle-load)
6058         (tramp-handle-file-name-as-directory)
6059         (tramp-handle-file-name-directory)
6060         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
6061         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
6062         (tramp-do-file-attributes-with-ls)
6063         (tramp-do-file-attributes-with-perl)
6064         (tramp-do-file-attributes-with-stat)
6065         (tramp-handle-set-visited-file-modtime)
6066         (tramp-handle-verify-visited-file-modtime)
6067         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
6068         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
6069         (tramp-handle-file-selinux-context)
6070         (tramp-handle-set-file-selinux-context)
6071         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
6072         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
6073         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
6074         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
6075         (tramp-handle-file-ownership-preserved-p)
6076         (tramp-handle-directory-file-name, tramp-handle-directory-files)
6077         (tramp-handle-directory-files-and-attributes)
6078         (tramp-do-directory-files-and-attributes-with-perl)
6079         (tramp-do-directory-files-and-attributes-with-stat)
6080         (tramp-handle-file-name-all-completions)
6081         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
6082         (tramp-handle-copy-file, tramp-handle-copy-directory)
6083         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
6084         (tramp-do-copy-or-rename-file-via-buffer)
6085         (tramp-do-copy-or-rename-file-directly)
6086         (tramp-do-copy-or-rename-file-out-of-band)
6087         (tramp-handle-make-directory, tramp-handle-delete-directory)
6088         (tramp-handle-delete-file)
6089         (tramp-handle-dired-recursive-delete-directory)
6090         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
6091         (tramp-handle-insert-directory)
6092         (tramp-handle-unhandled-file-name-directory)
6093         (tramp-handle-expand-file-name)
6094         (tramp-handle-substitute-in-file-name)
6095         (tramp-handle-executable-find, tramp-process-sentinel)
6096         (tramp-handle-start-file-process, tramp-handle-process-file)
6097         (tramp-handle-call-process-region, tramp-handle-shell-command)
6098         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
6099         (tramp-handle-insert-file-contents)
6100         (tramp-handle-insert-file-contents-literally)
6101         (tramp-handle-find-backup-file-name)
6102         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
6103         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
6104         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
6105         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
6106         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
6107         (tramp-find-file-exists-command, tramp-open-shell)
6108         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
6109         (tramp-open-connection-setup-interactive-shell)
6110         (tramp-local-coding-commands, tramp-remote-coding-commands)
6111         (tramp-find-inline-encoding, tramp-call-local-coding-command)
6112         (tramp-inline-compress-commands, tramp-find-inline-compress)
6113         (tramp-compute-multi-hops, tramp-maybe-open-connection)
6114         (tramp-send-command, tramp-wait-for-output)
6115         (tramp-send-command-and-check, tramp-barf-unless-okay)
6116         (tramp-send-command-and-read, tramp-mode-string-to-int)
6117         (tramp-convert-file-attributes, tramp-check-cached-permissions)
6118         (tramp-file-mode-from-int, tramp-file-mode-permissions)
6119         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
6120         (tramp-method-out-of-band-p, tramp-local-host-p)
6121         (tramp-get-remote-path, tramp-get-remote-tmpdir)
6122         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
6123         (tramp-get-test-command, tramp-get-test-nt-command)
6124         (tramp-get-file-exists-command, tramp-get-remote-ln)
6125         (tramp-get-remote-perl, tramp-get-remote-stat)
6126         (tramp-get-remote-readlink, tramp-get-remote-trash)
6127         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
6128         (tramp-get-local-uid, tramp-get-local-gid)
6129         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
6130         tramp-sh.el.
6131         (tramp-methods, tramp-default-method-alist)
6132         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
6133         Move initialization to tramp-sh.el.
6134         (tramp-temp-name-prefix): Make it a defconst.
6135         (tramp-dissect-file-name): Don't check anymore for multi-hop
6136         methods.
6137         (tramp-debug-outline-regexp): Add a docstring.
6138         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
6139         (tramp-get-debug-buffer): Use it.
6141         * net/tramp-cache.el (top): Set tramp-autoload cookie for
6142         initialization forms.
6143         (tramp-set-connection-property): Don't protect `tramp-message'
6144         call, it isn't necessary any longer.
6145         (tramp-dump-connection-properties): Use `ignore-errors'.
6147         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
6148         'password-cache and 'auth-source.
6150         * net/tramp-gvfs.el (top):
6151         * net/tramp-smb.el (top): Require 'tramp-sh.
6153         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
6155         * net/tramp-sh.el: New file, derived from tramp.el.
6156         (top): Initialize `tramp-methods', `tramp-default-method-alist',
6157         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
6158         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
6159         Use `ignore-errors' where appropriate.
6160         (tramp-sh-file-name-handler-alist): Rename from
6161         `tramp-file-name-handler-alist'.
6162         (tramp-send-command-and-check): Return t or nil.  Remove all
6163         `zerop' checks, where called.
6164         (tramp-handle-set-file-modes)
6165         (tramp-do-copy-or-rename-file-directly)
6166         (tramp-handle-delete-directory, tramp-handle-delete-file)
6167         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
6168         (tramp-sh-file-name-handler, tramp-send-command-and-check)
6169         (tramp-get-remote-ln): Set tramp-autoload cookie.
6171         * net/tramp-fish.el: Remove file.
6173 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
6175         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
6176         buffer-file-name to avoid file-locking.  (Bug#7026)
6178 2010-09-13  Julien Danjou  <julien@danjou.info>
6180         * notifications.el (notifications-notify): Add support for
6181         image-path and sound-name.
6182         (notifications-specification-version): Add this variable.
6184 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6186         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
6188 2010-09-12  Leo  <sdl.web@gmail.com>
6190         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
6191         (rcirc-completion-start): New variables.
6192         (rcirc-nick-completions): Rename to rcirc-completions.
6193         (rcirc-nick-completion-start-offset): Delete.
6194         (rcirc-completion-at-point): New function for constructing
6195         completion data for both nicks and irc commands.  Add to
6196         completion-at-point-functions in rcirc mode.
6197         (rcirc-complete): Rename from rcirc-nick-complete; use
6198         rcirc-completion-at-point.
6199         (defun-rcirc-command): Update rcirc-client-commands.
6201 2010-09-11  Glenn Morris  <rgm@gnu.org>
6203         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
6204         atomically, to avoid parallel build errors.  (Bug#4196)
6206 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
6208         * progmodes/sql.el: Version 2.6
6209         (sql-dialect): Synonym for "sql-product".
6210         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6211         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
6212         Set "sql-buffer" to buffer name not buffer object so multiple sql
6213         interactive buffers work properly.  Reverts misguided changes in
6214         earlier work.
6215         (sql-comint): Make sure different buffer name is used if "*SQL*"
6216         buffer is for a different product.
6217         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
6218         login param.
6219         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
6220         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
6221         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
6222         Accept new buffer name or prompt for one.
6223         (sql-port): Default to zero.
6224         (sql-comint-mysql): Handle "sql-port" as a numeric.
6225         (sql-port-history): Delete unused variable.
6226         (sql-get-login): Default "sql-port" to a number.
6227         (sql-product-alist): Correct Postgres prompt and terminator regexp.
6228         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
6229         "sqlite3" executables.
6230         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
6231         (sql-buffer-live-p): New function.
6232         (sql-mode-menu, sql-send-string): Use it.
6233         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
6234         syntax pattern.
6235         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
6236         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
6238 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6240         * net/netrc.el (netrc-credentials): New convenience function.
6242 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6244         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
6245         to replace texinfo-font-lock-syntactic-keywords.
6246         (texinfo-mode): Use it.
6248         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
6249         Use syntax-propertize-function.
6251         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
6252         replace sgml-font-lock-syntactic-keywords.
6253         (sgml-mode): Use it.
6255         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
6256         since we don't use it.
6258         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
6260         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
6261         if available.
6262         (vhdl-fontify-buffer): Adjust.
6264         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
6265         replace tcl-font-lock-syntactic-keywords.
6266         (tcl-mode): Use it.
6268         * progmodes/simula.el (simula-syntax-propertize-function): New var to
6269         replace simula-font-lock-syntactic-keywords.
6270         (simula-mode): Use it.
6272         * progmodes/sh-script.el (sh-st-symbol): Remove.
6273         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
6274         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
6275         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
6276         (sh-font-lock-paren): Set syntax-multiline.
6277         (sh-font-lock-syntactic-keywords): Remove.
6278         (sh-syntax-propertize-function): New function to replace it.
6279         (sh-mode): Use it.
6281         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
6282         Define while compiling.
6283         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6284         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
6285         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
6286         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6287         (ruby-here-doc-end-syntax): Only define when
6288         syntax-propertize is not available.
6289         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
6290         New functions.
6291         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
6292         (electric-indent-chars): Silence bytecompiler.
6293         (ruby-mode): Use prog-mode, syntax-propertize-function, and
6294         electric-indent-chars.
6296         * progmodes/python.el (python-syntax-propertize-function): New var to
6297         replace python-font-lock-syntactic-keywords.
6298         (python-mode): Use it.
6299         (python-quote-syntax): Simplify and adjust to new use.
6301         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
6302         replace perl-font-lock-syntactic-keywords.
6303         (perl-syntax-propertize-special-constructs): New fun to replace
6304         perl-font-lock-special-syntactic-constructs.
6305         (perl-font-lock-syntactic-face-function): New fun.
6306         (perl-mode): Use it.
6308         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
6309         to replace octave-font-lock-close-quotes.
6310         (octave-syntax-propertize-function): New function to replace
6311         octave-font-lock-syntactic-keywords.
6312         (octave-mode): Use it.
6314         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
6315         replaces mixal-font-lock-syntactic-keywords.
6316         (mixal-mode): Use it.
6318         * progmodes/make-mode.el (makefile-syntax-propertize-function):
6319         New var; replaces makefile-font-lock-syntactic-keywords.
6320         (makefile-mode): Use it.
6321         (makefile-imake-mode): Adjust.
6323         * progmodes/js.el (js--regexp-literal): Define while compiling.
6324         (js-syntax-propertize-function): New var; replaces
6325         js-font-lock-syntactic-keywords.
6326         (js-mode): Use it.
6328         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
6329         replaces gdb-script-font-lock-syntactic-keywords.
6330         (gdb-script-mode): Use it.
6332         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
6333         (fortran--font-lock-syntactic-keywords): New var.
6334         (fortran-line-length): Update syntax-propertize-function and
6335         fortran--font-lock-syntactic-keywords.
6337         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
6339         * progmodes/cfengine.el (cfengine-mode):
6340         Use syntax-propertize-function.
6341         (cfengine-font-lock-syntactic-keywords): Remove.
6343         * progmodes/autoconf.el (autoconf-mode):
6344         Use syntax-propertize-function.
6345         (autoconf-font-lock-syntactic-keywords): Remove.
6347         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
6348         (ada-after-change-function, ada-initialize-syntax-table-properties)
6349         (ada-handle-syntax-table-properties): Only define when
6350         syntax-propertize is not available.
6351         (ada-mode): Use syntax-propertize-function.
6353         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
6354         (font-lock-fontify-syntactic-keywords-region): Move handling of
6355         font-lock-syntactically-fontified to...
6356         (font-lock-default-fontify-region): ...here.
6357         Let syntax-propertize-function take precedence.
6358         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
6360         * emacs-lisp/syntax.el (syntax-propertize-function)
6361         (syntax-propertize-chunk-size, syntax-propertize--done)
6362         (syntax-propertize-extend-region-functions): New vars.
6363         (syntax-propertize-wholelines, syntax-propertize-multiline)
6364         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
6365         (syntax-propertize): New functions.
6366         (syntax-propertize-rules): New macro.
6367         (syntax-ppss-flush-cache): Set syntax-propertize--done.
6368         (syntax-ppss): Call syntax-propertize.
6370         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
6372 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
6374         * textmodes/ispell.el (ispell-init-process): Improve comments.
6375         XEmacs compatibility changes regarding (add-hook) 'local option
6376         and (set-process-query-on-exit-flag).
6378 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
6380         * net/tramp-cache.el (tramp-parse-connection-properties):
6381         Set tramp-autoload cookie.
6383 2010-09-09  Glenn Morris  <rgm@gnu.org>
6385         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
6386         (imagemagick-register-types): Doc fix.
6388 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6390         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
6392         * progmodes/js.el (require): Require is already "eval-and-compile".
6393         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
6394         (js--re-search-backward): Use js--re-search-forward.
6396         * progmodes/fortran.el (fortran-line-length): Don't recompute
6397         syntactic keywords redundantly a second time.
6399         * progmodes/ada-mode.el: Replace "(set '" with setq.
6400         (ada-mode): Simplify.
6401         (ada-create-case-exception, ada-adjust-case-interactive)
6402         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
6403         (ada-search-ignore-string-comment, ada-move-to-start)
6404         (ada-move-to-end): Use with-syntax-table.
6406         * font-lock.el (save-buffer-state): Remove `varlist' arg.
6407         (font-lock-unfontify-region, font-lock-default-fontify-region):
6408         Update usage correspondingly.
6409         (font-lock-fontify-syntactic-keywords-region):
6410         Set parse-sexp-lookup-properties buffer-locally here.
6411         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
6413         * simple.el (blink-matching-open): Don't burp if we can't find a match.
6415 2010-09-08  Glenn Morris  <rgm@gnu.org>
6417         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
6418         Error if not compiled with -DBYTE_CODE_METER.
6420         * emacs-lisp/bytecomp.el (byte-recompile-directory):
6421         Ignore dir-locals-file.
6423 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6425         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6426         Not a const.
6427         (compilation-error-regexp-alist-alist): Rule out ": " in file names
6428         for the `gnu' messages.
6429         (compilation-set-skip-threshold): New command.
6430         (compilation-start): Use \' rather than $.
6431         (compilation-forget-errors): Use clrhash.
6433 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
6435         * textmodes/ispell.el (ispell-valid-dictionary-list):
6436         Simplify logic.
6438 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
6440         Migrate to Tramp 2.2.  Rearrange load dependencies.
6441         (Bug#1529, Bug#5448, Bug#5705)
6443         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
6444         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
6445         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6447         * net/tramp.el (top): Remove all other tramp-* loads except
6448         tramp-compat.el.  Remove all changes to tramp-unload-hook for
6449         other tramp-* packages.  Rearrange defun order.  Change calls of
6450         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
6451         `tramp-compat-octal-to-decimal' to new function names.
6452         (tramp-terminal-type, tramp-initial-end-of-output)
6453         (tramp-methods, tramp-foreign-file-name-handler-alist)
6454         (tramp-tramp-file-p, tramp-completion-mode-p)
6455         (tramp-send-command-and-check, tramp-get-remote-path)
6456         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
6457         (tramp-shell-quote-argument): Set tramp-autoload cookie.
6458         (with-file-property, with-connection-property): Move to
6459         tramp-cache.el.
6460         (tramp-local-call-process, tramp-decimal-to-octal)
6461         (tramp-octal-to-decimal): Move to tramp-compat.el.
6462         (tramp-handle-shell-command): Do not require 'shell.
6463         (tramp-compute-multi-hops): No special handling for tramp-gw-*
6464         symbols.
6465         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
6467         * net/tramp-cache.el (top): Require 'tramp.  Add to
6468         `tramp-unload-hook'.
6469         (tramp-cache-data, tramp-get-file-property)
6470         (tramp-set-file-property, tramp-flush-file-property)
6471         (tramp-flush-directory-property, tramp-get-connection-property)
6472         (tramp-set-connection-property, tramp-flush-connection-property)
6473         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
6474         cookie.
6475         (with-file-property, with-connection-property): New defuns, moved
6476         from tramp.el.
6477         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
6478         macro.
6480         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
6481         (tramp-version): Set tramp-autoload cookie.
6483         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
6484         changes to tramp-unload-hook for other tramp-* packages.  Add to
6485         `tramp-unload-hook'.
6486         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
6487         (tramp-compat-call-process): New defuns, moved from tramp.el.
6489         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
6490         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6491         Add to `tramp-unload-hook'.  Change call of
6492         `tramp-compat-decimal-to-octal' to new function name.
6493         (tramp-fish-method): Make it a defconst.
6494         (tramp-fish-file-name-p): Make it a defsubst.
6495         (tramp-fish-method, tramp-fish-file-name-handler)
6496         (tramp-fish-file-name-p): Set tramp-autoload cookie.
6498         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
6499         `tramp-foreign-file-name-handler-alist'.  Add to
6500         `tramp-unload-hook'.
6501         (tramp-ftp-method): Make it a defconst.
6502         (tramp-ftp-file-name-p): Make it a defsubst.
6503         (tramp-ftp-method, tramp-ftp-file-name-handler)
6504         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
6506         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
6507         `tramp-foreign-file-name-handler-alist'.  Add to
6508         `tramp-unload-hook'.  Change checks, whether package can be
6509         loaded.
6510         (tramp-gvfs-file-name-p): Make it a defsubst.
6511         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
6512         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
6513         (tramp-gvfs-handle-file-directory-p): New defun.
6514         (tramp-gvfs-file-name-handler-alist): Use it.
6516         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
6517         `tramp-foreign-file-name-handler-alist'.  Add to
6518         `tramp-unload-hook'.
6519         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
6520         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
6521         defconst.
6522         (tramp-gw-tunnel-method, tramp-gw-socks-method)
6523         (tramp-gw-open-connection): Set tramp-autoload cookie.
6525         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
6526         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6527         Add to `tramp-unload-hook'.  Change checks, whether package can be
6528         loaded.
6529         (tramp-imap-file-name-p): Make it a defsubst.
6530         (tramp-imap-method, tramp-imaps-method)
6531         (tramp-imap-file-name-handler)
6532         (tramp-imap-file-name-p): Set tramp-autoload cookie.
6534         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
6535         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6536         Add to `tramp-unload-hook'.  Change checks, whether package can be
6537         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
6538         function name.
6539         (tramp-smb-tunnel-method): Make it a defconst.
6540         (tramp-smb-file-name-p): Make it a defsubst.
6541         (tramp-smb-method, tramp-smb-file-name-handler)
6542         (tramp-smb-file-name-p): Set tramp-autoload cookie.
6544         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
6545         (tramp-uuencode-region): Set tramp-autoload cookie.
6547         * net/trampver.el (top) Add to `tramp-unload-hook'.
6548         (tramp-version, tramp-bug-report-address): Set tramp-autoload
6549         cookie.  Update release number.
6551 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
6553         * textmodes/ispell.el (ispell-start-process): Make sure original
6554         arg list is properly initialized (Bug#6993, Bug#6994).
6556 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
6558         * files.el (directory-abbrev-alist): Use \` as default regexp.
6560         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
6561         chars like - or ] (bug#6984).
6562         (rx-any-condense-range): Explode 2-char ranges.
6564 2010-09-06  Glenn Morris  <rgm@gnu.org>
6566         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
6568 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6570         * textmodes/bibtex.el:
6571         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
6573 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6575         * net/imap.el (imap-message-map): Remove optional buffer parameter,
6576         since no callers use it.
6577         (imap-message-get): Ditto.
6578         (imap-message-put): Ditto.
6579         (imap-mailbox-map): Ditto.
6580         (imap-mailbox-put): Ditto.
6581         (imap-mailbox-get): Ditto.
6582         (imap-mailbox-get): Revert last change for this function.
6584 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6586         * net/imap.el (imap-fetch-safe): Remove function, and alter all
6587         callers to use `imap-fetch' instead.  According to the comments, this
6588         should be safe, since all other IMAP clients use the 1:* syntax.
6589         (imap-enable-exchange-bug-workaround): Remove.
6590         (imap-debug): Remove -- doesn't seem very useful.
6592 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6594         * net/imap.el (imap-log): New convenience function used throughout
6595         instead of repeating the same code all over the place.
6597 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
6599         * mouse.el (mouse-save-then-kill): Save region to kill-ring
6600         when mouse-drag-copy-region is non-nil (Bug#6956).
6602 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
6604         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
6605         Improve regexps (Bug#6987).
6606         (dired-sort-toggle): Search more robustly for -t flag.
6608         * files.el (get-free-disk-space): Search more robustly for
6609         "available" column.  Suggested by Ehud Karni
6610         <ehud@unix.mvs.co.il>.
6612 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
6614         * international/uni-bidi.el:
6615         * international/uni-category.el:
6616         * international/uni-combining.el:
6617         * international/uni-decimal.el:
6618         * international/uni-mirrored.el:
6619         * international/uni-name.el: Regenerate.
6621 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6623         * electric.el (electric-indent-post-self-insert-function):
6624         Don't reindent with a sloppy indentation function.
6626         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
6627         border case in change-log-mode.
6629 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
6631         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6632         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
6633         Recognize leading tab in gcc-include regexp.  Ignore names with
6634         leading "from" or "in" in gnu regexp (Bug#6937).
6636 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6638         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
6639         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
6640         (ispell-start-process): Avoid setq and simplify logic.
6641         (ispell-init-process): Setup kill-buffer-hook locally when needed.
6642         (kill-buffer-hook): Don't use it globally with code that uses
6643         expand-file-name since that may call kill-buffer via
6644         code_conversion_restore.
6646 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
6648         * emacs-lisp/package.el (package-directory-list): Only call
6649         file-name-nondirectory on a string.
6651 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
6653         * emacs-lisp/package.el (package--download-one-archive):
6654         Ensure that archive-contents is valid before saving it.
6655         (package-activate-1, package-mark-obsolete, define-package)
6656         (package-compute-transaction, package-list-maybe-add): Use push.
6658 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6660         Use SMIE's blink-paren for octave-mode.
6661         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
6662         Backslashes do not escape single-quotes, single-quotes do.
6663         (octave-block-else-regexp, octave-block-end-regexp)
6664         (octave-block-match-alist): Remove.
6665         (octave-smie-bnf-table): New var, with old content.
6666         (octave-smie-op-levels): Use it.
6667         (octave-smie-closer-alist): New var.
6668         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
6669         (octave-blink-matching-block-open): Remove.
6670         (octave-reindent-then-newline-and-indent, octave-electric-semi)
6671         (octave-electric-space): Let self-insert-command run expand-abbrev and
6672         blink parens.
6674         * electric.el (electricity): New group.
6675         (electric-indent-chars): New var.
6676         (electric-indent-post-self-insert-function): New fun.
6677         (electric-indent-mode): New minor mode.
6678         (electric-pair-skip-self): New custom.
6679         (electric-pair-post-self-insert-function): New function.
6680         (electric-pair-mode): New minor mode.
6682         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
6683         calcAlg-blink-matching-open.
6684         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
6685         (calc-do-alg-entry): Only touch the part of the keymap that varies.
6686         Use the new blink-matching-check-function.
6688         Provide blink-matching support to SMIE.
6689         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
6690         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
6691         (smie-blink-matching-check, smie-blink-matching-open): New functions.
6693         * simple.el (newline): Fix last change to properly remove itself from
6694         the hook.
6696 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6698         * simple.el (newline): Eliminate optimization.
6699         Use post-self-insert-hook to set hard-newline and things before
6700         running post-self-insert-hook.
6701         (blink-matching-check-mismatch): New function.
6702         (blink-matching-check-function): New variable.
6703         (blink-matching-open): Use them.
6704         Skip back forward over prefix chars skipped by forward-sexp.
6705         Don't check if the parens are backslash escaped.
6706         (blink-paren-post-self-insert-function): Check backslash escaping here.
6708 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
6710         * emacs-lisp/package.el (package-menu-mode-map):
6711         Change package-menu-revert bindings to revert-buffer.
6712         (package-menu-mode): Set revert-buffer-function.
6713         (package-menu-revert): Doc fix.
6715 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
6717         * textmodes/ispell.el (ispell-init-process): Use "~/" as
6718         `default-directory' unless using Ispell per-directory personal
6719         dictionaries and not in a mini-buffer under XEmacs.
6720         (kill-buffer-hook): Do not kill ispell process on exit when
6721         `ispell-process-directory' is "~/".  (Bug#6143)
6723 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
6725         * simple.el (kill-new): Call interprogram-cut-function with only
6726         one argument.
6728         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
6729         Remove cut buffer from error message.
6731         * term/x-win.el (x-select-text):
6732         * term/pc-win.el (x-selection-value):
6733         * term/ns-win.el (x-selection-value):
6734         * eshell/em-term.el:
6735         * w32-fns.el (x-get-selection-value):
6736         * mouse-sel.el (mouse-sel-set-selection-function):
6737         * frame.el (display-selections-p): Remove cut-buffer in documentation.
6739         * term/x-win.el: Update documentation for x-last-selected-text-*.
6740         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
6741         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
6742         (x-select-text): Remove argument PUSH, update documentation.
6743         Remove cut-buffer code.
6744         (x-selection-value-internal): Was previously x-selection-value.
6745         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6746         Update documentation, remove cut-buffer code.
6747         Call x-selection-value-internal.
6748         (x-clipboard-yank): Call x-selection-value-internal.
6749         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
6751         * term/pc-win.el (x-last-selected-text):
6752         x-cut-buffer-or-selection-value renamed to x-selection-value
6753         (x-select-text): Remove argument PUSH, update documentation.
6755         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
6756         x-cut-buffer-or-selection-value renamed to x-selection-value
6757         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6758         (x-select-text): Remove argument PUSH, update documentation.
6760         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
6762         * w32-fns.el (x-last-selected-text):
6763         x-cut-buffer-or-selection-value renamed to x-selection-value.
6764         (x-cut-buffer-max): Remove.
6765         (x-select-text): Remove argument PUSH, update documentation.
6767         * simple.el (interprogram-cut-function): Remove mention of PUSH.
6769         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
6771         * mouse-sel.el (mouse-sel-get-selection-function):
6772         x-cut-buffer-or-selection-value renamed to x-selection-value.
6773         (x-select-text): Remove optional push.
6775 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6777         * simple.el (blink-paren-function): Move from C to here.
6778         (blink-paren-post-self-insert-function): New function.
6779         (post-self-insert-hook): Use it.
6781         * emacs-lisp/pcase.el (pcase-split-memq):
6782         Fix overenthusiastic optimisation.
6783         (pcase-u1): Handle the case of a lambda pred.
6785 2010-08-31  Kenichi Handa  <handa@m17n.org>
6787         * international/mule-cmds.el (standard-display-european-internal):
6788         Setup standard-display-table for 8-bit characters by storing 8-bit
6789         characters in the element vector.
6791         * disp-table.el (standard-display-8bit):
6792         Setup standard-display-table for 8-bit characters by storing 8-bit
6793         characters in the element vector.
6794         (standard-display-european): Likewise.
6796 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
6798         * textmodes/nroff-mode.el (nroff-view): New command.
6799         (nroff-mode-map): Bind it to C-c C-c.
6801 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6803         * emacs-lisp/smie.el (smie-down-list): New command.
6805         Remove old indentation and navigation code on octave-mode.
6806         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
6807         smie-down-list rather than add a binding for octave-down-block.
6808         (octave-mark-block, octave-blink-matching-block-open):
6809         Rely on forward-sexp-function.
6810         (octave-fill-paragraph): Don't narrow, so you can use
6811         indent-according-to-mode.
6812         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
6813         (octave-in-block-p, octave-re-search-forward-kw)
6814         (octave-re-search-backward-kw, octave-indent-calculate)
6815         (octave-end-as-array-index-p, octave-block-end-offset)
6816         (octave-scan-blocks, octave-forward-block, octave-backward-block)
6817         (octave-down-block, octave-backward-up-block, octave-up-block)
6818         (octave-before-magic-comment-p, octave-indent-line): Remove.
6820 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
6822         * emacs-lisp/package.el (package--read-archive-file): Just use
6823         `read', to avoid copying an additional string.
6824         (package-menu-mode): Set header-line-format here.
6825         (package-menu-refresh, package-menu-revert): Signal an error if
6826         not in the Package Menu.
6827         (package-menu-package-list): New var.
6828         (package--generate-package-list): Operate on the current buffer;
6829         don't assume that it is *Packages*, since the user may rename it.
6830         Allow persistent package listings and sort keys using
6831         package-menu-package-list and package-menu-package-sort-key.
6832         (package-menu--version-predicate): Fix version calculation.
6833         (package-menu-sort-by-column): Don't select the window.
6834         (package--list-packages): Create the *Packages* buffer.
6835         Set package-menu-package-list-key.
6836         (list-packages): Sorting by status is now the default.
6837         (package-buffer-info): Use match-string-no-properties.
6838         (define-package): Add a &rest argument for future proofing, but
6839         don't use it yet.
6840         (package-install-from-buffer, package-install-buffer-internal):
6841         Merge into a single function, package-install-from-buffer.
6842         (package-install-file): Change caller.
6844         * finder.el: Load finder-inf using `require'.
6845         (finder-list-matches): Sorting by status is now the default.
6846         (finder-compile-keywords): Simpify printing.
6848 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6850         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6851         (octave-mode-map): Remove special bindings for forward/backward-block
6852         and octave-backward-up-block.  Use smie-close-block.
6853         (octave-continuation-marker-regexp): New var.
6854         (octave-continuation-regexp): Use it.
6855         (octave-operator-table, octave-smie-op-levels)
6856         (octave-operator-regexp, octave-smie-indent-rules): New vars.
6857         (octave-smie-backward-token, octave-smie-forward-token): New funs.
6858         (octave-mode): Use SMIE.
6859         (octave-close-block): Delete.
6861 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
6863         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
6864         CLIPBOARD, not in PRIMARY.  (Bug#6944)
6866 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6868         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
6869         a list of parents.
6870         (smie-indent-column): Allow indirection through variables.
6872         * composite.el (save-buffer-state): Delete, unused.
6873         * font-lock.el (save-buffer-state): Use with-silent-modifications.
6874         (font-lock-default-fontify-region): Use with-syntax-table.
6875         * jit-lock.el (with-buffer-unmodified): Remove.
6876         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
6878         Use `declare' in defmacros.
6879         * window.el (save-selected-window):
6880         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
6881         * progmodes/python.el (def-python-skeleton):
6882         * net/dbus.el (dbus-ignore-errors):
6883         * jka-cmpr-hook.el (with-auto-compression-mode):
6884         * international/mule.el (with-category-table):
6885         * emacs-lisp/timer.el (with-timeout):
6886         * emacs-lisp/lisp-mnt.el (lm-with-file):
6887         * emacs-lisp/eieio.el (with-slots):
6888         * emacs-lisp/easymenu.el (easy-menu-define):
6889         * emacs-lisp/debug.el (debugger-env-macro):
6890         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
6891         (Multiple-value-call, Multiple-value-prog1):
6892         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
6893         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
6894         edebug rule to definition.
6895         * emacs-lisp/lisp-mode.el (save-selected-window)
6896         (with-current-buffer, combine-after-change-calls)
6897         (with-output-to-string, with-temp-file, with-temp-buffer)
6898         (with-temp-message, with-syntax-table, read-if, eval-after-load)
6899         (dolist, dotimes, when, unless):
6900         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
6902 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
6904         * finder.el: Require `package'.
6905         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
6906         (finder-package-info): Var deleted.
6907         (finder-keywords-hash, finder--builtins-alist): New vars.
6908         (finder-compile-keywords): Compute package--builtins and
6909         finder-keywords-hash instead of finder-keywords-hash, respecting
6910         the "Package" header.
6911         (finder-unknown-keywords, finder-list-matches):
6912         Use finder-keywords-hash and package--list-packages.
6913         (finder-mode): Don't set font-lock-defaults.
6914         (finder-exit): We don't use "*Finder-package*" and "*Finder
6915         Category*" buffers anymore.
6917         * emacs-lisp/package.el (package--builtins-base): Var deleted.
6918         (package--builtins): Set default value to nil.
6919         (package-initialize): Load precomputed value of package--builtins
6920         from finder-inf.el.
6921         (package-alist, package-compute-transaction)
6922         (package-download-transaction): Improve docstring.
6923         (package-read-all-archive-contents): Do not change
6924         package--builtins here.
6925         (list-packages): Make package-list-packages an alias for this.
6926         Sort by status by default.
6927         (package--list-packages): Add optional PACKAGES arg.
6928         (describe-package-1): Use font-lock-face property.  For built-in
6929         packages, insert file commentary.
6930         (package--generate-package-list): Rename from
6931         package-list-packages-internal; all callers changed.  Add optional
6932         PACKAGES arg.  Add alphabetical sort fallbacks.
6933         (package-menu--version-predicate, package-menu--status-predicate)
6934         (package-menu--description-predicate)
6935         (package-menu--name-predicate): New functions.
6937         * info.el (Info-finder-find-node): Search package-alist instead of
6938         finder-package-info.
6940 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
6942         * subr.el (version-regexp-alist): Don't use "a" and "b" for
6943         "alpha" and "beta".
6944         (version-to-list): Handle versions like "10.3d".
6946 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6948         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
6949         (macroexp-accumulate): Use `declare'.
6951 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6953         * whitespace.el (whitespace-style): Adjust type declaration.
6955 2010-08-26  Magnus Henoch  <magnus.henoch@gmail.com>
6957         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6958         empty argument to gvfs-copy.
6960 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
6962         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6963         handle new TRASH arg of `delete-file'.
6965 2010-08-26  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
6967         * net/tramp.el (tramp-handle-insert-directory): Don't use
6968         `forward-word', its default syntax could be changed.
6970 2010-08-26  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
6971             Michael Albinus  <michael.albinus@gmx.de>
6973         Implement compression for inline methods.
6975         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6976         (tramp-copy-size-limit): Allow also nil.
6977         (tramp-inline-compress-commands): New defconst.
6978         (tramp-find-inline-compress, tramp-get-inline-compress)
6979         (tramp-get-inline-coding): New defuns.
6980         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6981         replaced by `tramp-get-inline-coding'.
6982         (tramp-handle-file-local-copy, tramp-handle-write-region)
6983         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6985 2010-08-26  Noah Lavine  <noah549@gmail.com>  (tiny change)
6987         Detect ssh 'ControlMaster' argument automatically in some cases.
6989         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6990         (tramp-default-method): Use it.
6992 2010-08-26  Karel Klíč  <kklic@redhat.com>
6994         * net/tramp.el (tramp-file-name-for-operation):
6995         Add file-selinux-context.
6997 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
6999         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
7001 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
7003         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
7004         (Bug#6907).
7006 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
7008         * progmodes/js.el: Make indentation more customizable (Bug#6914).
7009         (js-paren-indent-offset, js-square-indent-offset)
7010         (js-curly-indent-offset): New options.
7011         (js--proper-indentation): Use them.
7013 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
7015         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
7016         instead of inspecting font-lock properties (Bug#6916).
7018 2010-08-26  David Reitter  <david.reitter@gmail.com>
7020         * server.el (server-visit-files): Run pre-command-hook and
7021         post-command-hook for each buffer while it is current (Bug#6910).
7022         (server-execute): Do not run hooks here.
7024 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
7026         Sync with Tramp 2.1.19.
7028         * net/tramp-cmds.el (tramp-cleanup-all-connections)
7029         (tramp-reporter-dump-variable, tramp-load-report-modules)
7030         (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
7031         (tramp-bug): Recommend setting of `tramp-verbose' to 9.
7033         * net/tramp-compat.el (top): Do not autoload
7034         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
7035         only when `start-file-process' is not bound.
7036         (byte-compile-not-obsolete-vars): Define if not bound.
7037         (tramp-compat-funcall): New defmacro.
7038         (tramp-compat-line-beginning-position)
7039         (tramp-compat-line-end-position)
7040         (tramp-compat-temporary-file-directory)
7041         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
7042         (tramp-compat-copy-file, tramp-compat-copy-directory)
7043         (tramp-compat-delete-file, tramp-compat-delete-directory)
7044         (tramp-compat-number-sequence, tramp-compat-process-running-p):
7045         Use it.
7046         (tramp-advice-file-expand-wildcards): Do not use
7047         `tramp-handle-file-remote-p'.
7048         (tramp-compat-make-temp-file): Simplify fallback implementation.
7049         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7050         (tramp-compat-copy-tree): Remove function.
7051         (tramp-compat-delete-file): New defun.
7052         (tramp-compat-delete-directory): Provide implementation for older
7053         Emacsen.
7054         (tramp-compat-file-attributes): Handle only
7055         `wrong-number-of-arguments' error.
7057         * net/tramp-fish.el (tramp-fish-handle-copy-file):
7058         Add PRESERVE_SELINUX_CONTEXT.
7059         (tramp-fish-handle-delete-file): Add TRASH arg.
7060         (tramp-fish-handle-directory-files-and-attributes):
7061         Do not use `tramp-fish-handle-file-attributes.
7062         (tramp-fish-handle-file-local-copy)
7063         (tramp-fish-handle-insert-file-contents)
7064         (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
7066         * net/tramp-gvfs.el (top): Require url-util.
7067         (tramp-gvfs-mount-point): Remove.
7068         (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
7069         and `set-file-selinux-context'.
7070         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
7071         (tramp-gvfs-handle-file-selinux-context)
7072         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
7073         (with-tramp-dbus-call-method): Format trace message.
7074         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
7075         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
7076         Implement backup call, when operation on local files fails.
7077         Use progress reporter.  Flush properties of changed files.
7078         (tramp-gvfs-handle-delete-file): Add TRASH arg.
7079         Use `tramp-compat-delete-file'.
7080         (tramp-gvfs-handle-expand-file-name): Expand "~/".
7081         (tramp-gvfs-handle-make-directory): Make more traces.
7082         (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
7083         (tramp-gvfs-url-file-name): Hexify file name in url.
7084         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
7085         into account for the resulting file name.
7086         (tramp-gvfs-handler-askquestion): Preserve current message, in
7087         order to let progress reporter continue afterwards.  (Bug#6257)
7088         Return dummy mountpoint, when the answer is "no".
7089         See `tramp-gvfs-maybe-open-connection'.
7090         (tramp-gvfs-handler-mounted-unmounted)
7091         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
7092         attribute "default_location".  Set "prefix" property.
7093         Handle default-location.
7094         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
7095         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
7096         exists.  Raise an error, if not (due to a corresponding answer
7097         "no" in interactive questions, for example).
7098         Use `tramp-compat-funcall'.
7100         * net/tramp-imap.el (top): Autoload `epg-make-context'.
7101         (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7102         (tramp-imap-do-copy-or-rename-file)
7103         (tramp-imap-handle-insert-file-contents)
7104         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
7105         (tramp-imap-handle-delete-file): Add TRASH arg.
7107         * net/tramp-smb.el (tramp-smb-handle-copy-file):
7108         Add PRESERVE-SELINUX-CONTEXT.
7109         (tramp-smb-handle-copy-file)
7110         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7111         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
7112         Use `with-progress-reporter'.
7113         (tramp-smb-handle-delete-file): Add TRASH arg.
7115         * net/tramp.el (tramp-methods): Move hostname to the end in all
7116         ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
7117         appropriate.
7118         (tramp-verbose): Describe verbose level 9.
7119         (tramp-completion-function-alist)
7120         (tramp-file-name-regexp, tramp-chunksize)
7121         (tramp-local-coding-commands, tramp-remote-coding-commands)
7122         (with-connection-property, tramp-completion-mode-p)
7123         (tramp-action-process-alive, tramp-action-out-of-band)
7124         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
7125         (tramp-exists-file-name-handler): Fix docstring.
7126         (tramp-remote-process-environment): Use `format' instead of
7127         `concat'.  Protect version string by apostroph.
7128         (tramp-shell-prompt-pattern): Do not use a shy group in case of
7129         XEmacs.
7130         (tramp-file-name-regexp-unified)
7131         (tramp-completion-file-name-regexp-unified): On W32 systems, do
7132         not regard the volume letter as remote filename.  (Bug#5447)
7133         (tramp-perl-file-attributes)
7134         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7135         (tramp-vc-registered-read-file-names): Read input as
7136         here-document, otherwise the command could exceed maximum length
7137         of command line.
7138         (tramp-file-name-handler-alist): Add `file-selinux-context' and
7139         `set-file-selinux-context'.
7140         (tramp-debug-message): Add `tramp-compat-funcall' to ignored
7141         backtrace functions.
7142         (tramp-error-with-buffer): Don't show the connection buffer when
7143         we are in completion mode.
7144         (tramp-progress-reporter-update, tramp-remote-selinux-p)
7145         (tramp-handle-file-selinux-context)
7146         (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
7147         (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
7148         New defuns.
7149         (with-progress-reporter): New defmacro.
7150         (tramp-debug-outline-regexp): New defconst.
7151         (top, tramp-rfn-eshadow-setup-minibuffer)
7152         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
7153         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
7154         (tramp-completion-mode-p, tramp-check-for-regexp)
7155         (tramp-open-connection-setup-interactive-shell)
7156         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
7157         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
7158         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
7159         Use `tramp-compat-funcall'.
7160         (tramp-handle-make-symbolic-link): Flush file properties.
7161         (tramp-handle-load, tramp-handle-file-local-copy)
7162         (tramp-handle-insert-file-contents, tramp-handle-write-region)
7163         (tramp-handle-vc-registered, tramp-maybe-send-script)
7164         (tramp-find-shell): Use `with-progress-reporter'.
7165         (tramp-do-file-attributes-with-stat): Add space in format string,
7166         in order to work around a bug in pdksh.  Reported by Gilles Pion
7167         <gpion@lfdj.com>.
7168         (tramp-handle-verify-visited-file-modtime): Do not send a command
7169         when the connection is not established.
7170         (tramp-handle-set-file-times): Simplify the check for utc.
7171         (tramp-handle-directory-files-and-attributes)
7172         (tramp-get-remote-path): Use `copy-tree'.
7173         (tramp-completion-handle-file-name-all-completions): Ensure, that
7174         non remote files are still checked.  Oops.
7175         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
7176         Handle PRESERVE-SELINUX-CONTEXT.
7177         (tramp-do-copy-or-rename-file): Add progress reporter.
7178         (tramp-do-copy-or-rename-file-directly): Do not use
7179         `tramp-handle-file-remote-p'.
7180         (tramp-do-copy-or-rename-file-out-of-band):
7181         Use `tramp-compat-delete-directory'.
7182         (tramp-do-copy-or-rename-file-out-of-band)
7183         (tramp-compute-multi-hops, tramp-maybe-open-connection):
7184         Use `format-spec-make'.
7185         (tramp-handle-delete-file): Add TRASH arg.
7186         (tramp-handle-dired-uncache): Flush directory cache, not only file
7187         cache.
7188         (tramp-handle-expand-file-name)
7189         (tramp-completion-handle-file-name-all-completions)
7190         (tramp-completion-handle-file-name-completion):
7191         Use `tramp-connectable-p'.
7192         (tramp-handle-start-file-process): Set connection property "vec".
7193         Use it, in order to invalidate file caches.  Check only for
7194         `remote-tty' process property.
7195         Implement tty setting.  (Bug#4604, Bug#6360)
7196         (tramp-file-name-for-operation): Add `call-process-region' and
7197         `set-file-selinux-context'.
7198         (tramp-find-foreign-file-name-handler)
7199         (tramp-advice-make-auto-save-file-name)
7200         (tramp-set-auto-save-file-modes): Remove superfluous check for
7201         `stringp'.  This is done inside `tramp-tramp-file-p'.
7202         (tramp-file-name-handler): Trace 'quit.  Catch the error for some
7203         operations when we are in completion mode.  This gives the user
7204         the chance to correct the file name in the minibuffer.
7205         (tramp-completion-mode-p): Use `non-essential'.
7206         (tramp-handle-file-name-all-completions): Backward/ XEmacs
7207         compatibility: Use `completion-ignore-case' if
7208         `read-file-name-completion-ignore-case' does not exist.
7209         (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
7210         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7211         `tramp-open-shell'.
7212         (tramp-action-password): Hide password prompt before next run.
7213         (tramp-process-actions): Widen connection buffer for the trace.
7214         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7215         process property.  Trace stty settings if `tramp-verbose' >= 9.
7216         Apply workaround for IRIX64 bug.  Move argument of last
7217         `tramp-send-command' where it belongs to.
7218         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7219         front of `login-args'.
7220         (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
7221         on "/dev/null" instead of "/".
7222         (tramp-get-ls-command-with-dired): Make test for "--dired"
7223         stronger.
7224         (tramp-set-auto-save-file-modes): Adapt version check.
7225         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7226         (tramp-handle-process-file): Call the program in a subshell, in
7227         order to preserve working directory.
7228         (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
7229         `tramp-remote-sh' from `tramp-methods'.
7230         (tramp-get-ls-command): Make test for "--color=never" stronger.
7231         (tramp-check-for-regexp): Use (forward-line 1).
7233         * net/trampver.el: Update release number.
7235 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
7237         * help.el (help-map): Bind `C-h P' to describe-package.
7239         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
7241         * emacs-lisp/package.el (package-refresh-contents): Catch errors
7242         when downloading archives.
7243         (describe-package-1): Add package commentary.
7244         (package-install-button-action): New function.
7245         (package-menu-mode-map): Bind ? to package-menu-describe-package.
7246         (package-menu-view-commentary): Function removed.
7247         (package-list-packages-internal): Hide the `package' package too.
7249 2010-08-25  Kenichi Handa  <handa@m17n.org>
7251         * language/misc-lang.el ("Arabic"): New language environment.
7252         Setup composition-function-table for Arabic characters.
7254         * international/fontset.el (setup-default-fontset): Fix typo for
7255         arabic OTF spec (fini->fina).
7257 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
7259         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
7260         on all frames.
7262 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7264         * whitespace.el: Allow cleaning up blanks without blank
7265         visualization (Bug#6651).  Adjust help window for
7266         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
7267         instead of whitespace-line-column (from EmacsWiki).  New version
7268         13.1.
7269         (whitespace-style): Add new value 'face.  Adjust docstring.
7270         (whitespace-space, whitespace-hspace, whitespace-tab):
7271         Adjust foreground property face.
7272         (whitespace-line-column): Adjust docstring and type declaration.
7273         (whitespace-style-value-list, whitespace-toggle-option-alist)
7274         (whitespace-help-text): Adjust const initialization.
7275         (whitespace-toggle-options, global-whitespace-toggle-options):
7276         Adjust docstring.
7277         (whitespace-display-window, whitespace-interactive-char)
7278         (whitespace-style-face-p, whitespace-color-on): Adjust code.
7279         (whitespace-help-scroll): New fun.
7281 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
7283         * emacs-lisp/package.el (list-packages): Alias for
7284         package-list-packages.
7286 2010-08-24  Kevin Ryde  <user42@zip.com.au>
7288         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
7289         (Bug#5651).
7291         * progmodes/ruby-mode.el (ruby): Add defgroup.
7293 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
7295         * progmodes/python.el: Add Ipython support (Bug#5390).
7296         (python-shell-prompt-alist)
7297         (python-shell-continuation-prompt-alist): New options.
7298         (python--set-prompt-regexp): New function.
7299         (inferior-python-mode, run-python, python-shell):
7300         Require ansi-color.  Use python--set-prompt-regexp to set the comint
7301         prompt based on the Python interpreter.
7302         (python--prompt-regexp): New var.
7303         (python-check-comint-prompt)
7304         (python-comint-output-filter-function): Use it.
7305         (run-python): Use a pipe (Bug#5694).
7307 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
7309         * progmodes/python.el (python-send-region): Send a different
7310         Python command if Ipython is in use.
7311         (python-check-version): Use a Python command to find the version.
7313 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
7315         * mouse.el (mouse-yank-primary): Avoid setting primary when
7316         deactivating the mark (Bug#6872).
7318 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
7320         * progmodes/python.el (python-block-pairs): Allow use of "finally"
7321         with "else" (Bug#3991).
7323 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
7325         * net/dbus.el: Accept UNIX domain sockets as bus address.
7326         (top): Don't initialize `dbus-registered-objects-table' anymore,
7327         this is done in dbusbind,c.
7328         (dbus-check-event): Adapt test for bus.
7329         (dbus-return-values-table, dbus-unregister-service)
7330         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
7331         Adapt doc string.
7333 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
7335         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
7337 2010-08-22  Juri Linkov  <juri@jurta.org>
7339         * simple.el (read-extended-command): New function with the logic
7340         for `completing-read' moved to Elisp from `execute-extended-command'.
7341         Use `function-called-at-point' in `minibuffer-default-add-function'
7342         to get a command name for M-n (bug#5364, bug#5214).
7344 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
7346         * startup.el (command-line-1): Issue warning for ignored arguments
7347         --unibyte, etc (Bug#6886).
7349 2010-08-22  Leo  <sdl.web@gmail.com>
7351         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
7352         (ignore, bright, dim, keyword): Split list of nicknames before
7353         passing to rcirc-add-or-remove (Bug#6894).
7355 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
7357         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
7359 2010-08-22  Leo  <sdl.web@gmail.com>
7361         Fix buffer-list rename&refresh after killing a buffer in ido.
7362         * ido.el: Revert Óscar's.
7363         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
7364         Remember the buffers at head, rather than their name.
7365         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7367 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
7368             Stefan Monnier  <monnier@iro.umontreal.ca>
7370         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7371         extra backslash added to each line (bug#6890).
7373 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7375         * subr.el (read-key): Don't echo keystrokes (bug#6883).
7377 2010-08-22  Glenn Morris  <rgm@gnu.org>
7379         * menu-bar.el (menu-bar-games-menu): Add landmark.
7381 2010-08-22  Glenn Morris  <rgm@gnu.org>
7383         * align.el (align-regexp): Make group and spacing arguments
7384         use the interactive defaults when non-interactive.  (Bug#6698)
7386         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
7387         expansion, so as not to need sendmail.
7388         (mail-text-start): Remove declaration.
7389         (rmail-retry-failure): Require sendmail.
7391 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
7393         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
7395 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
7397         * progmodes/flymake.el (flymake-start-syntax-check-process):
7398         Use `start-file-process' in order to let it run also on remote hosts.
7400 2010-08-22  Kenichi Handa  <handa@m17n.org>
7402         * files.el: Add `word-wrap' as safe local variable.
7404 2010-08-22  Glenn Morris  <rgm@gnu.org>
7406         * woman.el (woman-translate): Case matters.  (Bug#6849)
7408 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
7410         * simple.el (kill-region): Doc fix (Bug#6787).
7412 2010-08-22  Glenn Morris  <rgm@gnu.org>
7414         * calendar/diary-lib.el (diary-header-line-format):
7415         Fit it to the window, not the frame.
7417 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
7419         * subr.el (ignore-errors): Add debug declaration.
7421 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
7423         * whitespace.el (whitespace-color-off): Remove post-command-hook
7424         locally.
7426 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7428         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
7430 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
7432         * cus-edit.el (custom-group-value-create): Add extra newline
7433         before end line (Bug#6876).
7435 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
7437         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
7438         when extending it.  Before killing on the second click, check if
7439         the buffer is the correct one.  Doc fix.
7440         (mouse-secondary-save-then-kill): Allow usage without first
7441         calling mouse-start-secondary, by defaulting to point.  Don't save
7442         an empty secondary selection.  Doc fix.
7444 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7446         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
7447         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
7448         New version 13.0.
7449         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
7450         Adjust initialization.
7451         (whitespace-bob-marker, whitespace-eob-marker)
7452         (whitespace-buffer-changed): New vars.
7453         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
7454         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
7455         (whitespace-post-command-hook, whitespace-display-char-on):
7456         Adjust code.
7457         (whitespace-looking-back, whitespace-buffer-changed): New funs.
7458         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
7460 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7462         * files.el (locate-file-completion-table): Only list the .el and .elc
7463         extensions if there's no other choice (bug#5955).
7465         * facemenu.el (facemenu-self-insert-data): New var.
7466         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
7467         New functions.
7468         (facemenu-add-face): Use them.
7470         * simple.el (blink-matching-open): Obey forward-sexp-function.
7472 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7474         * simple.el (prog-mode-map): New var.
7475         (prog-indent-sexp): New command.
7477         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
7479         * progmodes/prolog.el (smie): Require.
7481         * emacs-lisp/smie.el (smie-default-backward-token)
7482         (smie-default-forward-token): Strip properties.
7483         (smie-next-sexp): Be more careful with associative operators.
7484         (smie-forward-sexp-command): Generalize.
7485         (smie-backward-sexp-command): Simplify.
7486         (smie-closer-alist): New var.
7487         (smie-close-block): New command.
7488         (smie-indent-debug-log): New var.
7489         (smie-indent-offset-rule): Add a few more cases.
7490         (smie-indent-column): New function.
7491         (smie-indent-after-keyword): Use it.
7492         (smie-indent-keyword): Use it.
7493         Fix up the opener code's point position.
7494         (smie-indent-comment): Only applies at BOL.
7495         (smie-indent-debug): New command.
7497         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
7498         declarations that are useful before running the macro.
7500 2010-08-18  Joakim Verona  <joakim@verona.se>
7502         * image.el (imagemagick-types-inhibit): New variable.
7503         (imagemagick-register-types): New function.
7504         * image-mode.el (image-transform-properties): New function.
7505         (image-transform-set-scale, image-transform-fit-to-height)
7506         (image-transform-set-rotation, image-transform-set-resize)
7507         (image-transform-fit-to-width, image-transform-fit-to-height):
7508         New functions.
7509         (image-toggle-display-image): Support image transforms.
7511 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
7513         * image.el (create-animated-image): Don't add heuristic mask to image
7514         (Bug#6839).
7516 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
7518         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
7519         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
7521 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7523         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
7525         Font-lock '...' strings, plus various simplifications and fixes.
7526         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7527         (octave-font-lock-close-quotes): New function.
7528         (octave-font-lock-syntactic-keywords): New var.
7529         (octave-mode): Use it.  Set beginning-of-defun-function.
7530         (octave-mode-map): Don't override the <foo>-defun commands.
7531         (octave-mode-menu): Pass it directly to easy-menu-define;
7532         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
7533         (octave-block-match-alist): Fix up last change so that
7534         octave-close-block uses the more specific keyword.
7535         (info-lookup-mode): Silence byte-compiler.
7536         (octave-beginning-of-defun): Not interactive any more.
7537         Optimize slightly.
7538         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
7539         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
7540         (octave-completion-at-point-function): Make sure point is within
7541         beg..end.
7542         (octave-reindent-then-newline-and-indent):
7543         Use reindent-then-newline-and-indent.
7544         (octave-add-octave-menu): Remove.
7546 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
7548         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
7549         (report-emacs-bug-can-use-xdg-email): New functions.
7550         (report-emacs-bug): Set can-xdg-email to result of
7551         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
7552         \C-cm to report-emacs-bug-insert-to-mailer and add help text
7553         about it.
7555         * net/browse-url.el (browse-url-default-browser): Add cond
7556         for browse-url-xdg-open.
7557         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
7559 2010-08-17  Glenn Morris  <rgm@gnu.org>
7561         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
7562         (c-fontify-recorded-types-and-refs): Define for compiler.
7563         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
7564         before use.
7566         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
7567         Fix format call.
7569 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
7571         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
7572         properties.
7573         (tramp-handle-process-file): Call the program in a subshell, in
7574         order to preserve working directory.
7575         (tramp-action-password): Hide password prompt before next run.
7576         (tramp-process-actions): Widen connection buffer for the trace.
7578 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
7580         * net/rcirc.el (rcirc-log-process-buffers): New option.
7581         (rcirc-print): Use it.
7582         (rcirc-generate-log-filename): New function.
7583         (rcirc-log-filename-function): Change default to
7584         rcirc-generate-log-filename (Bug#6828).
7586 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
7588         * simple.el (deactivate-mark): If select-active-regions is `only',
7589         only set selection for temporarily active regions.
7591         * cus-start.el: Change defcustom for select-active-regions.
7593 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
7595         * mouse.el (mouse--drag-set-mark-and-point): New function.
7596         (mouse-drag-track): Use LOCATION arg to push-mark.
7597         Use mouse--drag-set-mark-and-point to take click-count into
7598         consideration when updating point and mark (Bug#6840).
7600 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
7602         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7603         Give the Ruby rule a lower priority than Gnu (Bug#6778).
7605 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
7607         * font-lock.el (lisp-font-lock-keywords-2):
7608         Add combine-after-change-calls, condition-case-no-debug,
7609         with-demoted-errors, and with-silent-modifications (Bug#6025).
7611 2010-08-14  Kevin Ryde  <user42@zip.com.au>
7613         * emacs-lisp/copyright.el (copyright-update-year)
7614         (copyright-update): Temporary switch-to-buffer to ensure the
7615         buffer change being queried is visible (Bug#5394).
7617 2010-08-14  Tom Tromey  <tromey@redhat.com>
7619         * progmodes/etags.el (tags-file-name): Mark safe if stringp
7620         (Bug#6733).
7622 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
7624         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
7625         MS-DOS.  (Bug#6689)
7627 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
7629         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
7630         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7631         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7632         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
7633         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
7634         Call menu-bar-set-tool-bar-position.
7636 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7638         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
7639         comment style (bug#6834).
7640         * progmodes/scheme.el (scheme-mode-syntax-table):
7641         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
7642         "b" flag in "' 14b" syntax.
7644         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
7645         for (un)commenting the region and performing completion.
7646         (octave-mode-menu): Use standard commands for help and completion.
7647         (octave-mode-syntax-table): Support %{..%} comments (sort of).
7648         (octave-mode): Use define-derived-mode.
7649         Set completion-at-point-functions and don't set columns.
7650         Don't disable adaptive-fill-regexp.
7651         (octave-describe-major-mode, octave-comment-region)
7652         (octave-uncomment-region, octave-comment-indent)
7653         (octave-indent-for-comment): Remove.
7654         (octave-indent-calculate): Rename from calculate-octave-indent.
7655         (octave-indent-line, octave-fill-paragraph): Update caller.
7656         (octave-initialize-completions): No need to make an alist.
7657         (octave-completion-at-point-function): New function.
7658         (octave-complete-symbol): Use it.
7659         (octave-insert-defun): Use define-skeleton.
7661         * progmodes/octave-mod.el (octave-mode): Set comment-add.
7662         (octave-mode-map): Use comment-dwim (bug#6829).
7664 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
7666         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
7667         indentation of inserted comment.
7669 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
7671         * faces.el (region): Add type gtk that uses gtk colors.
7673         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7674         Handle theme-name change.
7676 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
7678         * progmodes/sql.el: Version 2.5
7679         (sql-product-alist): Add :prompt-cont-regexp property for several
7680         database products.
7681         (sql-prompt-cont-regexp): New variable.
7682         (sql-output-newline-count, sql-output-by-send):
7683         New variables.  Record number of newlines in input text.
7684         (sql-send-string): Handle multiple filters and count newlines.
7685         (sql-send-magic-terminator): Count terminator newline.
7686         (sql-interactive-remove-continuation-prompt): Filters output to
7687         remove continuation prompts; one for each newline.
7688         (sql-interactive-mode): Set up new variables, prompt regexp and
7689         output filter.
7690         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
7691         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
7693 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7695         * emacs-lisp/pcase.el: New file.
7697 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
7699         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
7700         as here-document, otherwise the command could exceed maximum
7701         length of command line.
7702         (tramp-handle-vc-registered): Call script accordingly.
7703         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
7705 2010-08-10  Kenichi Handa  <handa@m17n.org>
7707         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
7708         composable pattern.
7710 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
7712         * emacs-lisp/package.el (package-version-split)
7713         (package--version-first-nonzero, package-version-compare):
7714         Functions removed.
7715         (package-directory-list, package-load-all-descriptors)
7716         (package--built-in, package-activate, define-package)
7717         (package-installed-p, package-compute-transaction)
7718         (package-read-all-archive-contents)
7719         (package--add-to-archive-contents, package-buffer-info)
7720         (package-tar-file-info, package-list-packages-internal):
7721         Use version-to-list and version-list-*.
7723         * emacs-lisp/package-x.el (package-upload-buffer-internal):
7724         Use version-to-list.
7725         (package-upload-buffer-internal): Use version-list-<=.
7727 2010-08-09  Kenichi Handa  <handa@m17n.org>
7729         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
7730         composable pattern.
7732 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
7734         * tutorial.el (tutorial--default-keys): C-d is now bound to
7735         delete-forward-char (Bug#6826).
7737         * mouse.el (mouse-drag-track): Remove accidentally-removed check
7738         for `double' value of mouse-1-click-follows-link (Bug#6807).
7740 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
7742         * replace.el (replace-highlight): Bind isearch-forward and
7743         isearch-error, ensuring that highlighting is updated if the user
7744         switches the search direction (Bug#6808).
7746         * isearch.el (isearch-lazy-highlight-forward): New var.
7747         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7748         (isearch-lazy-highlight-update): Use it.
7750 2010-08-08  Kenichi Handa  <handa@m17n.org>
7752         * international/mule.el (define-charset): Store NAME as :base property.
7753         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
7754         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
7755         current priority.  Force using the designation of the specific
7756         charset by adding `charset' text property.  Improve the whole algorithm.
7758 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
7760         * emulation/pc-select.el (pc-selection-mode-hook)
7761         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
7762         (pc-selection-mode): Fix typos in docstrings.
7764 2010-08-08  Kenichi Handa  <handa@m17n.org>
7766         * language/cyrillic.el: Don't add "microsoft-cp1251" to
7767         ctext-non-standard-encodings-alist here.
7769         * international/mule.el (ctext-non-standard-encodings-alist):
7770         Add "koi8-r" and "microsoft-cp1251".
7771         (ctext-standard-encodings): New variable.
7772         (ctext-non-standard-encodings-table): List only elements for
7773         non-standard encodings.
7774         (ctext-pre-write-conversion): Adjust for the above change.
7775         Check ctext-standard-encodings.
7777         * international/mule-conf.el (compound-text): Doc fix.
7778         (ctext-no-compositions): Doc fix.
7779         (compound-text-with-extensions): Doc fix.
7781 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7783         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
7785 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
7787         * progmodes/which-func.el (which-func-format): Split help-echo text
7788         into lines, like other mode-line tooltips.
7790         * server.el (server-start): When using TCP sockets, force IPv4
7791         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
7793 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7795         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
7797 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
7799         * term.el (term-delimiter-argument-list): Reflow docstring.
7800         (term-read-input-ring, term-write-input-ring, term-send-input)
7801         (term-bol, term-erase-in-display, serial-supported-or-barf):
7802         Fix typos in docstrings.
7804 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7806         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
7808 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
7810         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
7812 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
7814         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
7815         Fix typo in docstring (bug#6747).
7817 2010-08-08  Leo  <sdl.web@gmail.com>
7819         * eshell/esh-io.el (eshell-get-target): Better detection of
7820         read-only file (Bug#6762).
7822 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
7824         * align.el (align-default-spacing): Doc fix.
7825         (align-region-heuristic, align-regexp): Fix typos in docstrings.
7827 2010-08-08  Stephen Peters  <speters@itasoftware.com>
7829         * calendar/icalendar.el
7830         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
7831         (icalendar--get-weekday-numbers): New.
7832         (icalendar--convert-recurring-to-diary): Handle multiple byday
7833         values in weekly rules.  (Bug#6766)
7835 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
7837         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
7838         (icalendar--create-uid, icalendar-export-region)
7839         (icalendar--parse-summary-and-rest): Code formatting.
7841 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
7843         * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
7844         to italicize headers.
7845         (calc-highlight-selections-with-faces): New variable.
7846         (calc-selected-face, calc-nonselected-face): New faces.
7848         * calc/calccomp.el (math-comp-highlight-string): Use
7849         `calc-highlight-selections-with-faces' to determine how to highlight
7850         sub-formulas.
7852         * calc/calc-sel.el (calc-show-selections): Change message to when
7853         using faces to highlight selections.
7855 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
7857         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
7858         Add SQLite 3 keywords, functions and datatypes.
7859         (sql-interactive-mode): Remove `comint-process-echoes' set to t
7860         (Bug#6686).
7862 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
7864         * simple.el (select-active-regions): Move to keyboard.c.
7865         (deactivate-mark): Used saved-region-selection.
7866         (select-active-region): Function removed.
7867         (activate-mark, set-mark, push-mark-command)
7868         (handle-shift-selection): Don't call it.
7869         (keyboard-quit): Avoid adding the region to the window selection.
7871         * mouse.el (mouse-drag-track): Remove hacks to deal with old
7872         select-active-regions implementation.
7873         (mouse-yank-at-click): Doc fix.
7875         * cus-start.el: Add custom declaration for select-active-regions.
7877 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
7879         * simple.el (delete-forward-char): Doc fix.
7881         * tutorial.el (help-with-tutorial): Hack safe file-local variables
7882         after reading the tutorial.
7884 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
7886         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
7887         Fix for the case that a C style comment has its delimiters alone on
7888         their respective lines.
7890 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
7892         * net/tramp.el (tramp-handle-start-file-process): Set connection
7893         property "vec".
7894         (tramp-process-sentinel): Use it for flushing the cache.
7895         We cannot do it via the process buffer, the buffer could be deleted
7896         already when running the sentinel.
7898 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
7900         * comint.el (comint-mode): Make directory tracking functions
7901         functional on remote files.  (Bug#6764)
7903 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
7905         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
7907 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
7909         * emacs-lisp/find-gc.el (find-gc-source-files):
7910         Rename unexec.c => unexcoff.c.
7912         * emacs-lisp/authors.el (authors-fixed-entries):
7913         Rename unexec.c => unexcoff.c.
7915 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
7917         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
7918         cache, not only file cache.
7919         (tramp-process-sentinel): New defun.
7920         (tramp-handle-start-file-process): Use it, in order to invalidate
7921         file caches.
7923 2010-08-03  Leo  <sdl.web@gmail.com>
7925         * server.el (server-start): Simplify loop.
7927 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7929         * frame.el (screen-height, screen-width, set-screen-width)
7930         (set-screen-height): Remove ancient compatibility aliases.
7932         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
7933         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
7935         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
7936         that change current buffer.
7938 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
7940         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
7941         beginning of the string.  Use `string-match-p'.  (Bug#6765)
7943 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
7945         * cus-start.el (x-gtk-use-system-tooltips): New variable.
7947 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
7949         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
7950         (package--builtins): Tweak descriptions.
7951         (package-print-package): Upcase descriptions if necessary.
7952         Show all built-in packages in font-lock-builtin-face.
7953         (package-list-packages-internal): Omit "emacs" package.
7954         Show status of built-in packages as "built-in".
7956 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
7958         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
7959         before killing to preserve the primary selection (Bug#6701).
7961         * term/x-win.el (x-select-text): Doc fix.
7963 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
7965         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
7966         (objc-font-lock-extra-types):
7967         * progmodes/cc-mode.el (c-basic-common-init):
7968         * progmodes/cc-langs.el (c-make-mode-syntax-table)
7969         (c++-make-template-syntax-table)
7970         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
7971         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
7972         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
7973         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
7974         * progmodes/cc-fonts.el (c-make-inverse-face)
7975         (c-basic-matchers-after):
7976         * progmodes/cc-engine.el (c-forward-keyword-clause)
7977         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
7978         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
7979         (c-guess-continued-construct, c-guess-basic-syntax):
7980         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
7981         The above functions were modified or created.
7983 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
7985         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
7987 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
7989         * files.el (bidi-paragraph-direction): Define safe local values.
7991         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
7992         language-info-alist.  Remove outdated FIXME in a comment.
7994 2010-07-31  Alan Mackenzie  <acm@muc.de>
7996         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
7997         Auto-fill broken in C/C++ modes.
7999 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
8001         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8002         (menu-bar-showhide-tool-bar-menu-customize-disable)
8003         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8004         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
8005         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
8006         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
8007         make a menu for Options => toolbar that can move it.
8009 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
8011         * emacs-lisp/package-x.el (package--make-rss-entry):
8012         (package-maint-add-news-item, package--update-news)
8013         (package-upload-buffer-internal): New arg ARCHIVE-URL.
8015         * emacs-lisp/package.el (package-archive-url): Rename from
8016         package-archive-id.
8017         (package-install): Doc fix.
8018         (package-download-single, package-download-tar, package-install)
8019         (package-menu-view-commentary): Callers changed.
8021 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
8023         * net/tramp.el (tramp-handle-start-file-process): Check only for
8024         `remote-tty' process property.
8025         (tramp-open-shell): Don't check for tty.
8026         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
8027         process property.
8029         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
8030         host.
8032 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
8034         * emacs-lisp/package.el (package-load-list, package-archives)
8035         (package-archive-contents, package-user-dir)
8036         (package-directory-list, package--builtins, package-alist)
8037         (package-activated-list, package-obsolete-alist): Mark as risky.
8039 2010-07-28  Phil Hagelberg  <phil@evri.com>
8041         Add support for non-default package repositories.
8042         * emacs-lisp/package.el (package-archive-base): Var deleted.
8043         (package-archives): New variable.
8044         (package-archive-contents): Doc fix.
8045         (package-load-descriptor): Do nothing if descriptor file is missing.
8046         (package--write-file-no-coding): New function.
8047         (package-unpack-single): Use it.
8048         (package-archive-id): New function.
8049         (package-download-single, package-download-tar)
8050         (package-menu-view-commentary): Use it.
8051         (package-installed-p): Make second argument optional.
8052         (package-read-all-archive-contents): New function.
8053         (package-initialize): Use it.
8054         (package-read-archive-contents): Add ARCHIVE argument.
8055         (package--add-to-archive-contents): New function.
8056         (package-install): Don't call package-read-archive-contents.
8057         (package--download-one-archive): Store archive file in a
8058         subdirectory of package-user-dir.
8059         (package-menu-execute): Remove spurious line movement.
8061 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
8063         * cus-start.el (tool-bar-style): Add text-image-horiz.
8065 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
8067         * progmodes/gud.el (gud-common-init): Check for remoteness of
8068         `file', and not of `default-directory'.
8070 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
8072         * net/tramp.el (tramp-methods): Move hostname to the end in all
8073         ssh `tramp-login-args'.
8074         (tramp-verbose): Describe verbose level 9.
8075         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
8076         (tramp-open-connection-setup-interactive-shell): Trace stty
8077         settings if `tramp-verbose' >= 9.
8078         (tramp-handle-start-file-process): Implement tty setting.
8079         (Bug#4604, Bug#6360)
8081         * net/tramp-cmds.el (tramp-bug): Recommend setting of
8082         `tramp-verbose' to 9.
8084 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
8086         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
8087         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
8088         Remove references to package `lisp-re' (bug#4369).
8090 2010-07-27  Tom Tromey  <tromey@redhat.com>
8092         * progmodes/js.el (js-mode):
8093         * progmodes/make-mode.el (makefile-mode):
8094         * progmodes/simula.el (simula-mode):
8095         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
8097 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
8099         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
8101         * time.el (display-time-day-and-date): Remove spurious * in docstring.
8102         (display-time-world-buffer-name, display-time-world-mode-map):
8103         Fix typos in docstrings.
8105 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
8107         * image-mode.el (image-display-size): New function.
8108         (image-forward-hscroll, image-next-line, image-eol, image-eob)
8109         (image-mode-fit-frame): Use it (Bug#6639).
8111 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
8113         * dired.el (dired-buffers-for-dir): Handle list values of
8114         dired-directory (Bug#6636).
8116 2010-07-26  Sam Steingold  <sds@gnu.org>
8118         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8119         Do not call `x-get-selection' the second time, reuse the value.
8121 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
8123         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
8124         which consist of control chars only.  Suggested by Richard Stallman.
8126 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
8128         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
8129         exists before passing an error to find-file-not-found-functions
8130         (bug#6723).
8132 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
8134         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
8135         Remove leading nil element, adjust values.
8136         (tetris-shapes, tetris-shape-scores):
8137         Change representation of shapes and remove some redundancy.
8138         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
8139         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
8140         Adjust for working with new representation of shapes.
8141         (tetris-shape-rotations): New function.
8142         (tetris-move-bottom, tetris-move-left, tetris-move-right)
8143         (tetris-rotate-prev, tetris-rotate-next):
8144         Adjust for working with the new version of tetris-test-shape.
8146 2010-07-23  Markus Triska  <markus.triska@gmx.at>
8148         * progmodes/ps-mode.el: Use comint (bug#5954).
8149         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
8150         (ps-mode-other-newline): Simplify.
8151         (ps-run-mode): Derive from comint-mode instead of
8152         fundamental-mode, yielding input history etc.
8153         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
8154         (ps-run-send-string): Adapt for comint-mode.
8155         (ps-run-newline): Remove now unneeded function.
8157 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8159         * net/tramp.el (tramp-methods): Move hostname to the end in all
8160         plink `tramp-login-args'.
8162 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8164         * net/tramp.el (tramp-open-shell): New defun.
8165         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8166         Use it.
8168 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8170         * net/tramp.el (tramp-file-name-regexp-unified)
8171         (tramp-completion-file-name-regexp-unified): On W32 systems, do
8172         not regard the volume letter as remote filename.  (Bug#5447)
8174 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
8176         * custom.el (custom-declare-variable): Give a clearer error message
8177         when the docstring is missing (bug#6476).
8179 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
8181         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
8182         (sql-login-params): New widget definition.
8183         (sql-oracle-login-params, sql-mysql-login-params)
8184         (sql-solid-login-params, sql-sybase-login-params)
8185         (sql-informix-login-params, sql-ingres-login-params)
8186         (sql-ms-login-params, sql-postgres-login-params)
8187         (sql-interbase-login-params, sql-db2-login-params)
8188         (sql-linter-login-params): Use it.
8189         (sql-sqlite-login-params): Use it; Define "database" parameter as
8190         a file name.
8191         (sql-sqlite-program): Change to "sqlite3".
8192         (sql-comint-sqlite): Make sure database name is complete.
8193         (sql-for-each-login): New function.
8194         (sql-connect, sql-save-connection): Use it.
8195         (sql-get-login-ext): New function.
8196         (sql-get-login): Use it.
8197         (sql-make-alternate-buffer-name): Handle :file parameters.
8199 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
8201         * dired.el (dired-no-confirm): Document value t and fix defcustom to
8202         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
8204 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
8206         * dired.el (dired-mode-map): Use command remapping (bug#6632).
8208 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
8210         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
8212 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
8214         * net/tramp.el (tramp-get-ls-command)
8215         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
8216         instead of "/".
8218 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
8220         * progmodes/sql.el: Version 2.3.
8221         (sql-connection-alist): Change keys from symbols to strings;
8222         enhanced the widget definition.
8223         (sql-mode-menu): Add submenu to select connections.
8224         (sql-interactive-mode-menu): Add "Save Connection" item.
8225         (sql-add-product): Fix menu item.
8226         (sql-get-product-feature): Improved error handling.
8227         (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
8228         (sql-make-alternate-buffer-name): Simplified.
8229         (sql-product-interactive): Handle missing product.
8230         (sql-connect): Support string keys, minor improvements.
8231         (sql-save-connection): New function.
8232         (sql-connection-menu-filter): New function.
8234 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
8236         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
8237         (tramp-open-connection-setup-interactive-shell):
8238         Apply workaround for IRIX64 bug.  Move argument of last
8239         `tramp-send-command' where it belongs to.
8241 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
8243         * net/tramp.el (tramp-perl-file-attributes)
8244         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
8245         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
8246         front of `login-args'.
8248 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
8250         * time.el (display-time-world-mode): Define with `define-derived-mode'.
8251         Set `show-trailing-whitespace' to nil.
8252         (display-time-world-display): Simplify.
8254 2010-07-18  Alan Mackenzie  <acm@muc.de>
8256         Enhance `c-file-style' in file/directory local variables.
8257         * progmodes/cc-mode.el (c-count-cfss): New function.
8258         (c-before-hack-hook): Call `c-set-style' differently according to
8259         whether c-file-style was set in file or directory local
8260         variables.
8262 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
8264         * progmodes/sql.el: Version 2.2.
8265         (sql-product, sql-user, sql-database, sql-server, sql-port):
8266         Use defcustom :safe keyword rather than putting safe-local-variable
8267         property.
8268         (sql-password): Use defcustom :risky keyword rather than putting
8269         risky-local-variable property.
8270         (sql-oracle-login-params, sql-sqlite-login-params)
8271         (sql-solid-login-params, sql-sybase-login-params)
8272         (sql-informix-login-params, sql-ingres-login-params)
8273         (sql-ms-login-params, sql-postgres-login-params)
8274         (sql-interbase-login-params, sql-db2-login-params)
8275         (sql-linter-login-params): Add `port' option.
8276         (sql-get-product-feature): Add NO-INDIRECT parameter.
8277         (sql-comint-oracle, sql-comint-sybase)
8278         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
8279         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
8280         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
8281         (sql-comint-linter): Rename sql-connect-* functions to
8282         sql-comint-*.
8283         (sql-product-alist, sql-mode-menu): Rename as above and
8284         :sqli-connect-func to :sqli-comint-func.
8285         (sql-connection): New variable.
8286         (sql-interactive-mode): Set it.
8287         (sql-connection-alist): New variable.
8288         (sql-connect): New function.
8289         (sql--alt-buffer-part, sql--alt-if-not-empty)
8290         (sql-make-alternate-buffer-name): Improved alternative buffer name.
8292 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8294         * image-mode.el (image-bookmark-make-record): Do not set context
8295         in an image (Bug#6650).
8297 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
8299         * simple.el (select-active-region): New function.
8300         (push-mark-command, set-mark, activate-mark)
8301         (handle-shift-selection): Use it.
8302         (deactivate-mark): Don't check for size of region.
8304         * mouse.el (mouse-drag-track): Use select-active-region.
8306 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
8308         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
8309         "--dired" stronger.
8311 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
8313         * term/x-win.el (x-select-enable-primary): Change default to nil.
8314         (x-select-enable-clipboard): Add :version keyword.
8316         * mouse.el (mouse-drag-copy-region):
8317         * simple.el (select-active-regions): Likewise.
8319 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
8321         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
8322         (vc-coding-system-for-diff): Use it to decide whether to inherit
8323         from the file the EOL format for reading the diffs of that file.
8324         (Bug#4451)
8326 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
8328         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
8329         unibyte, so compressed attachments are not compressed again.
8331 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
8333         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
8334         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
8335         (tramp-find-shell): Simplify setting connection property.
8336         (tramp-get-ls-command): Make test for "--color=never" stronger.
8338 2010-07-15  Simon South  <ssouth@member.fsf.org>
8340         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
8341         blocks within record declarations (i.e. variant parts) correctly.
8343 2010-07-15  Simon South  <ssouth@member.fsf.org>
8345         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
8346         over literal tokens when parsing so newlines aren't "absorbed" by
8347         single-line comments.  Corrects the indentation of case blocks
8348         that have a comment on the first line.
8350 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
8352         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
8353         by Drew Adams (Bug#5504).
8355 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
8357         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
8358         now that Unicode is used (Bug#6594).
8360 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
8362         * term/x-win.el (x-select-enable-clipboard): Default to t.
8363         (x-initialize-window-system): Don't overwrite Paste menu item.
8365         * simple.el (select-active-regions): Default to t.
8366         (push-mark-command): Don't overwrite primary with empty string.
8368         * mouse.el: Bind mouse-2 to mouse-yank-primary.
8369         (mouse-drag-copy-region): Default to nil.
8371         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8372         Cut/Copy/Paste menu bar items.
8374 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8376         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
8377         Patch applied by Karl Fogel.
8379         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
8380         and `bookmark-current-buffer' if they have been already set in
8381         another buffer (e.g gnus-art).
8383 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
8384             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8386         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
8388         * bookmark.el (bookmark-make-record-default): Allow unneeded
8389         information to be omitted from the record.
8391         Adjust declarations and calls:
8393         * info.el (bookmark-make-record-default): Adjust declaration.
8394         (Info-bookmark-make-record): Adjust call.
8396         * woman.el (bookmark-make-record-default): Adjust declaration.
8397         (woman-bookmark-make-record): Adjust call.
8399         * man.el (bookmark-make-record-default): Adjust declaration.
8400         (Man-bookmark-make-record): Adjust call.
8402         * image-mode.el (bookmark-make-record-default): Adjust declaration.
8404         * doc-view.el (bookmark-make-record-default): Adjust declaration.
8406 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
8408         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
8409         This is also from Thierry Volpiatto's patch in bug #6444.  However,
8410         because it was extraneous to the functional change in that patch,
8411         and causes a re-indendation, I am committing it separately.
8413 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8415         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
8416         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
8417         Patch applied by Karl Fogel (Bug#6444).
8419 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
8421         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
8423 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
8425         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
8426         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
8427         (ns-alternatives-map): Change S-tab binding to backtab
8428         (bug#6616).
8430         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
8431         under ns.
8433 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
8435         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
8436         (Bug#5806)
8438         * language/tv-util.el (tai-viet-re): Remove format.
8440 2010-07-12  Kenichi Handa  <handa@m17n.org>
8442         * language/hebrew.el: Remove no-byte-compile declaration.
8443         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
8444         composition-function-table for 3-character looking back.
8445         (hebrew-font-get-precomposed): New function.
8446         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
8448 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
8450         * mouse.el (mouse-drag-track): Handle select-active-regions
8451         (Bug#6612).
8453 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
8455         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
8456         empty argument to gvfs-copy.
8458 2010-07-10  Glenn Morris  <rgm@gnu.org>
8460         * calendar/calendar.el (calendar-week-end-day): New function.
8461         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
8462         Respect calendar-week-start-day.  (Bug#6606)
8463         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
8464         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
8465         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
8466         respect calendar-week-start-day.
8468 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
8470         * simple.el (use-region-p): Doc fix (Bug#6607).
8472 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
8474         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8475         Add regexps for cucumber and ruby.
8477 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
8479         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
8480         (epa-file-insert-file-contents): Hack to prevent
8481         find-file from opening empty buffer when decryption failed
8482         (bug#6568).
8484 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
8486         * textmodes/ispell.el (ispell-alternate-dictionary):
8487         Use file-readable-p.
8488         Return nil if no word-list is found at default locations.
8489         (ispell-complete-word-dict): Default to nil.
8490         (ispell-command-loop): Use 'word-list' when using lookup-words.
8491         (lookup-words): Use ispell-complete-word-dict or
8492         ispell-alternate-dictionary.  Check for word-list availability
8493         and handle errors if needed with better messages (Bug#6539).
8494         (ispell-complete-word): Use ispell-complete-word-dict or
8495         ispell-alternate-dictionary.
8497 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
8499         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
8500         builtins (BufferError, BytesWarning, WindowsError; callables
8501         bin, bytearray, bytes, format, memoryview, next, print; __package__).
8503 2010-07-07  Glenn Morris  <rgm@gnu.org>
8505         * play/zone.el (top-level): Do not require timer, tabify, or cl.
8506         (zone-shift-left): Ignore intangibility, and any errors from
8507         forward-char.
8508         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
8509         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
8510         deleting, and copying text properties.
8511         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
8512         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
8513         to point-max is hard.
8514         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
8515         (zone-fill-out-screen): Ignore intangibility.
8517 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
8519         * menu-bar.el (menu-bar-mode):
8520         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
8521         if it has been set.
8523         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
8524         word/line selection (Bug#6565).
8526 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
8528         * net/dbus.el (dbus-send-signal): Declare function.
8530 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
8532         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
8533         (dbus-register-property): New optional argument EMITS-SIGNAL.
8534         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
8536 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
8538         * mouse.el (mouse-drag-overlay): Variable deleted.
8539         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
8540         (mouse--remap-link-click-p): New function.
8541         (mouse-drag-track): Handle dragging by using temporary Transient
8542         Mark mode, instead of a special overlay.
8543         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
8544         mouse-show-mark.
8546         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
8547         deleted.
8549 2010-07-02  Juri Linkov  <juri@jurta.org>
8551         * autoinsert.el (auto-insert-alist): Fix readability
8552         by using dotted pair notation for lambda.
8554 2010-07-02  Juri Linkov  <juri@jurta.org>
8556         * faces.el (read-face-name): Rename arg `string-describing-default'
8557         to `default'.  Doc fix.  Display the default value in quotes
8558         in the prompt.  With empty input, return the `default' arg,
8559         unless the default value is a string (in which case return nil).
8560         (describe-face): Replace the string `default' arg of `read-face-name'
8561         with the symbol `default'.
8563 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
8565         * emulation/viper-cmd.el (viper-delete-backward-char)
8566         (viper-del-backward-char-in-insert)
8567         (viper-del-backward-char-in-replace, viper-change)
8568         (viper-backward-indent): Replace delete-backward-char with
8569         delete-char (Bug#6552).
8571 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
8573         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
8575 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
8577         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
8578         argument passed to frame-creation-function (Bug#5378).
8580         * faces.el (x-handle-named-frame-geometry)
8581         (x-handle-reverse-video, x-create-frame-with-faces)
8582         (face-set-after-frame-default, tty-create-frame-with-faces):
8583         Don't separately consult default-frame-alist.  It is now passed as the
8584         PARAMETER argument.
8586 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
8588         * startup.el (command-line): Don't call tool-bar-setup in a
8589         tty-only build.
8591 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
8593         * ruler-mode.el (ruler--save-header-line-format): New fun.
8594         (ruler-mode): Use it as a setter function, so as not to overwrite
8595         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
8597 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
8599         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
8600         (vc-root-diff, vc-print-root-log, vc-log-incoming)
8601         (vc-log-outgoing): Use it.
8602         (vc-diff-internal): Set diff-vc-backend.
8604         * vc/diff-mode.el (diff-vc-backend): New var.
8606 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
8608         * dynamic-setting.el (font-setting-change-default-font):
8609         Remove call to message.
8611 2010-06-28  Kenichi Handa  <handa@m17n.org>
8613         * international/quail.el (quail-insert-kbd-layout): Fix the
8614         showing of untranslated characters.
8616 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
8618         * simple.el (delete-active-region): New option.
8619         (delete-backward-char): Implement in Lisp.
8620         (delete-forward-char): New command.
8622         * mouse.el (mouse-region-delete-keys): Deleted.
8623         (mouse-show-mark): Simplify.
8625         * bindings.el (global-map): Bind delete and DEL, the former to
8626         delete-forward-char.
8628 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
8630         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
8631         (ruby-mode): Bind indent-line-function (Bug#5119).
8633 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
8635         * startup.el (command-line): Recognize "0" X resource value.
8637 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
8639         * startup.el (command-line): Use X resources to set the value of
8640         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
8642         * menu-bar.el (menu-bar-mode):
8643         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
8644         Set init-value to t.
8646         * frame.el (frame-notice-user-settings): Don't change
8647         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
8648         vice versa (Bug#2249).
8650 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
8652         * w32-fns.el (w32-convert-standard-filename): Doc fix.
8654 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
8656         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
8657         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
8659         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
8660         default directories are expanded (Bug#6143).
8662 2010-06-24  Juri Linkov  <juri@jurta.org>
8664         * minibuffer.el (completions-format): Change default from nil to
8665         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
8667 2010-06-24  Juri Linkov  <juri@jurta.org>
8669         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
8670         buffer-locally to lambda that re-runs the vc diff command.
8671         (Bug#6447)
8673 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
8675         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
8676         echo area is in use (Bug#3412).
8678 2010-06-22  Glenn Morris  <rgm@gnu.org>
8680         * textmodes/texinfmt.el (texinfo-format-region)
8681         (texinfo-raise-lower-sections, texinfo-format-separate-node)
8682         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
8683         (texinfo-format-option, texinfo-noindent):
8684         Use line-beginning-position and line-end-position.
8686         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
8687         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
8688         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
8689         utf-8 characters.
8691 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
8693         * play/zone.el (zone-fall-through-ws): Fix next-line ->
8694         forward-line fallout.
8696 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
8698         * mouse.el (mouse-appearance-menu): Add docstring.
8700         * help.el (describe-key): Print up-event using key-description.
8702 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
8704         * net/zeroconf.el (zeroconf-resolve-service)
8705         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
8706         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
8708 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
8710         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
8712 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
8714         Avoid displaying files with a nil state in vc-dir.
8715         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
8716         cases that cause insertion.
8717         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
8718         with a nil state.
8720 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
8722         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
8724 2010-06-29  Leo  <sdl.web@gmail.com>
8726         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
8728 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
8730         * generic-x.el (bat-generic-mode): Fix regexp for command line
8731         switches (Bug#5719).
8733 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
8735         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
8736         of nconc to avoid pure storage error (Bug#6239).
8738 2010-06-27  Christoph  <cschol2112@googlemail.com>  (tiny change)
8740         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
8741         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
8742         bindings of bookmark-automatically-show-annotations (Bug#6515).
8744 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
8746         * arc-mode.el (archive-zip-extract): Don't quote the file name on
8747         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
8749 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
8751         * comint.el (make-comint, make-comint-in-buffer): Mention return
8752         value in the docstrings.  (Bug#6498)
8754 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
8756         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
8757         since it is not present when using some non-default switches.
8759 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
8761         * simple.el (compose-mail): Fix doc string to refer to
8762         `compose-mail-user-agent-warnings', instead of to the
8763         nonexistent `compose-mail-check-user-agent'.
8765 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
8767         Fix an indentation bug:
8769         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
8770         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
8771         of existing values.
8773         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
8774         (c-clear->-pair-props-if-match-before): now return t when they've
8775         cleared properties, nil otherwise.
8776         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
8777         by taking account of the existing value.
8779         * progmodes/cc-defs.el
8780         (c-clear-char-property-with-value-function): Fix this to clear the
8781         property rather than overwriting it with nil.
8783 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
8785         * emacs-lisp/package.el (package-print-package): Add link to
8786         package description via describe-package.
8787         (describe-package-1): List package requirements.  Add button to
8788         perform installation.
8789         (package-menu-describe-package): New command.
8791         * help-mode.el (help-package): New button type.
8793 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
8795         * emacs-lisp/package.el: Move package-list-packages binding to
8796         menu-bar.el.
8797         (describe-package, describe-package-1, package--dir): New funs.
8798         (package-activate-1): Use package--dir.
8800         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
8802         * help-mode.el (help-package-def): New button type.
8804         * menu-bar.el: Move package-list-packages binding here from
8805         package.el.
8807 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
8809         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
8811 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8813         * emacs-lisp/edebug.el (edebug-read-list):
8814         Phase out old-style backquotes.
8816 2010-06-17  Juri Linkov  <juri@jurta.org>
8818         * help-mode.el (help-mode): Set buffer-local variable
8819         revert-buffer-function to help-mode-revert-buffer.
8820         (help-mode-revert-buffer): New function.
8822         * info.el (Info-revert-find-node): Check for major-mode Info-mode
8823         before popping to "*info*" (like in other Info functions).
8824         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
8825         old-history-forward.  Pop to old-buffer-name or "*info*" to
8826         recreate the killed buffer.  Set Info-history-forward from
8827         old-history-forward.
8828         (Info-breadcrumbs-depth): Add :group and :version.
8830 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
8832         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
8834 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
8836         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
8837         for languages like Portuguese with pt_{BR,PT} and no plain pt.
8839 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
8841         * emacs-lisp/package.el (package-menu-mode-map):
8842         Move initialization into declaration.
8844         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
8846 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
8848         * emacs-lisp/package.el (package-archive-base): Point to
8849         elpa.gnu.org.
8850         (package-enable, package-load-list): New defcustoms.
8851         (package-user-dir, package-directory-list): Turn into defcustoms.
8852         Don't include package-user-dir in package-directory-list.
8853         (package--builtins-base): Don't include Emacs as a "package".
8854         (package-subdirectory-regexp): New var.
8855         (package-load-all-descriptors, package-compute-transaction)
8856         (package-download-transaction): Obey package-load-list.
8857         (package-activate-1): Rename from package-do-activate.
8858         (package-list-packages-internal): Check package-load-list.
8859         (package-load-descriptor, package-generate-autoloads)
8860         (package-unpack, package-unpack-single)
8861         (package--read-archive-file, package-delete):
8862         Use expand-file-name.
8864         * emacs-lisp/package-x.el: New file.  Package uploading
8865         functionality split out from package.el.
8867         * startup.el (command-line): Load packages after reading init file.
8869 2010-06-17  Tom Tromey  <tromey@redhat.com>
8871         * emacs-lisp/package.el: New file.
8873 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
8875         Fix vc-annotate for renamed files when using Git.
8876         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
8877         ls-files.  Doe not pass the object as a file name to cat-file, it
8878         is not a file name.
8879         (vc-git-annotate-command): Pass the file name using -- to avoid
8880         ambiguity with the revision.
8881         (vc-git-previous-revision): Pass a relative file name.
8883 2010-06-22  Glenn Morris  <rgm@gnu.org>
8885         * progmodes/js.el (js-mode-map): Use standard capitalization and
8886         ellipses for menu entries.
8888         * wid-edit.el (widget-complete): Doc fix.
8890 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
8892         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
8894 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
8896         Fix annotating other revisions for renamed files in vc-annotate.
8897         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
8898         VC backend.  Use it when non-nil.
8899         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
8900         (Bug#6487).
8902         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
8903         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8904         Do not pass the file name to the 'previous-revision call when we
8905         don't want a file diff.  (Bug#6489)
8907 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
8909         Fix finding revisions for renamed files in vc-annotate.
8910         * vc/vc.el (vc-find-revision): Add an optional argument for
8911         the VC backend.  Use it when non-nil.
8912         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
8913         backend to vc-find-revision.  (Bug#6487)
8915 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
8917         Fix reading file names in Git annotate buffers.
8918         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
8919         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
8921 2010-06-20  Alan Mackenzie  <acm@muc.de>
8923         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
8924         in file local variables, set it first.
8926 2010-06-19  Glenn Morris  <rgm@gnu.org>
8928         * descr-text.el (describe-char-unicode-data): Insert separating
8929         space when needed.  (Bug#6422)
8931         * progmodes/idlwave.el (idlwave-action-and-binding):
8932         Fix typo in 2009-12-03 change.  (Bug#6450)
8934 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8936         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
8937         handling for `lambda' (misunderstanding).
8939 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
8941         * calc/calc-poly.el (math-accum-factors): Make sure that
8942         constants aren't distributed after they are factored out.
8944 2010-06-16  Juri Linkov  <juri@jurta.org>
8946         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
8947         `list-colors-print'.  (Bug#6332)
8949         * subr.el (read-quoted-char): Fix up last change (bug#6290).
8951 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8953         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
8954         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
8956         * font-lock.el (font-lock-major-mode): Rename from
8957         font-lock-mode-major-mode to distinguish it from
8958         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
8959         (font-lock-set-defaults):
8960         * font-core.el (font-lock-default-function): Adjust users.
8961         (font-lock-mode): Don't set it at all.
8963 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8965         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
8967 2010-06-16  Glenn Morris  <rgm@gnu.org>
8969         * calendar/appt.el (appt-time-msg-list): Doc fix.
8970         (appt-check): Let-bind appt-warn-time.
8971         (appt-add): Make the 3rd argument optional.
8972         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
8973         Only add WARNTIME to the output list if non-nil.
8975 2010-06-16  Ivan Kanis  <apple@kanis.eu>
8977         * calendar/appt.el (appt-check): Let the 3rd element of
8978         appt-time-msg-list specify the warning time.
8979         (appt-add): Add new argument with the warning time.  (Bug#5176)
8981 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
8983         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
8984         older than version 1.6.  (Bug#6361)
8986 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
8988         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
8989         used by cl-do-arglist.  (Bug#6408)
8991 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
8993         * textmodes/ispell.el (ispell-dictionary-base-alist):
8994         Fix portuguese casechars/not-casechars for missing 'çÇ'.
8995         Suggested by Rolando Pereira (bug#6434).
8997 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
8999         * facemenu.el (list-colors-sort): Doc fix.
9001 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
9003         * progmodes/sql.el (sql-connect-mysql): Fix typo.
9005 2010-06-14  Juri Linkov  <juri@jurta.org>
9007         Add sort option `list-colors-sort'.  (Bug#6332)
9008         * facemenu.el (color-rgb-to-hsv): New function.
9009         (list-colors-sort): New defcustom.
9010         (list-colors-sort-key): New function.
9011         (list-colors-display): Doc fix.  Sort list according to the option
9012         `list-colors-sort'.
9013         (list-colors-print): Add HSV values to `help-echo' property of
9014         RGB strings.
9016 2010-06-14  Juri Linkov  <juri@jurta.org>
9018         * compare-w.el: Move to the "vc" subdirectory.
9020 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9022         * image-mode.el (image-mode-map): Remap left-char and right-char.
9024         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
9026 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
9028         * term/common-win.el (x-colors): Add all the color names defined
9029         in rgb.txt (Bug#6332).
9031         * facemenu.el (list-colors-print): Don't print extra names if it
9032         will overflow the window width.
9034         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
9035         change (Bug#6343).
9037 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
9039         * files.el (make-directory): Doc fix (bug#6396).
9041 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
9043         * net/tramp.el (tramp-remote-process-environment): Protect version
9044         string by apostroph.
9045         (tramp-shell-prompt-pattern): Do not use a shy group in case of
9046         XEmacs.
9047         (tramp-file-name-for-operation): Add `call-process-region'.
9048         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
9050         * net/tramp-compat.el (top): Do not autoload
9051         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
9052         only when `start-file-process' is not bound.
9053         (tramp-advice-file-expand-wildcards): Do not use
9054         `tramp-handle-file-remote-p'.
9055         (tramp-compat-make-temp-file): Handle the case, that
9056         `make-temp-file' has no third argument EXTENSION.
9058 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
9060         * makefile.w32-in (WINS_BASIC): Include new directory vc.
9062         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
9064 2010-06-11  Juri Linkov  <juri@jurta.org>
9066         * finder.el (finder-known-keywords): Add keyword "vc"
9067         for version control.
9069         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
9070         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
9071         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
9072         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
9074 2010-06-11  Juri Linkov  <juri@jurta.org>
9076         Move version control related files to the "vc" subdirectory.
9077         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
9078         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
9079         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
9080         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
9081         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
9082         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
9083         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
9084         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
9085         Move files to the "vc" subdirectory.
9087 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
9089         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
9090         (Bug#6367).
9092 2010-06-11  Stephen Eglen  <stephen@gnu.org>
9094         * shell.el: Bind `shell-resync-dirs' to M-RET.
9096 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
9098         * notifications.el: Move file from lisp/net, because it is
9099         supposed to talk locally to the user.
9101 2010-06-10  Julien Danjou  <julien@danjou.info>
9103         * net/notifications.el (notifications-on-action-signal)
9104         (notifications-on-closed-signal): Pass notification id as first
9105         argument to the callback functions.  Add docstrings.
9106         (notifications-notify): Fix docstring.
9108 2010-06-10  Glenn Morris  <rgm@gnu.org>
9110         * emacs-lisp/authors.el (authors-ignored-files)
9111         (authors-valid-file-names): Add some files.
9113 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9115         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
9116         merge conflict, giving preference to the emacs-23 version of the code.
9118 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9120         * emacs-lisp/advice.el (ad-compile-function):
9121         Define warning-suppress-types before we let-bind it (bug#6275).
9123         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
9124         declare it, make it buffer-local and permanent-local (bug#6324).
9125         (vc-resynch-window): Adjust name.
9126         * vc-hooks.el (vc-find-file-hook): Adjust name.
9128 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
9130         * net/notifications.el (notifications-notify): Fix docstring.
9132 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
9134         Update to Unicode 6.0.0 beta.
9135         * international/charprop.el: Update copyright.
9136         * international/mule-cmds.el (ucs-names): Update character ranges.
9137         * international/uni-bidi.el:
9138         * international/uni-category.el:
9139         * international/uni-combining.el:
9140         * international/uni-comment.el:
9141         * international/uni-decimal.el:
9142         * international/uni-decomposition.el:
9143         * international/uni-digit.el:
9144         * international/uni-lowercase.el:
9145         * international/uni-mirrored.el:
9146         * international/uni-name.el:
9147         * international/uni-numeric.el:
9148         * international/uni-old-name.el:
9149         * international/uni-titlecase.el:
9150         * international/uni-uppercase.el: Regenerate.
9152 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
9154         * emacs-lisp/smie.el (comment-string-strip): Declare function.
9155         (smie-precs-precedence-table): Fix typo in docstring.
9157         * vc-mtn.el (log-edit-extract-headers): Declare function.
9159         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
9161         * net/notifications.el (dbus-register-signal): Declare function.
9162         (notifications-notify): Fix typos and reflow docstring.
9164 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
9166         Improve VC create/retrieve tag/branch.
9167         * vc.el (vc-create-tag): Do not read the directory name for VCs
9168         with repository revision granularity.  Adjust the tag/branch
9169         prompt.  Reset VC properties.
9170         (vc-retrieve-tag): Do not read the directory name for VCs
9171         with repository revision granularity.  Reset VC properties.
9173 2010-06-09  Julien Danjou  <julien@danjou.info>
9175         * net/notifications.el: New file.
9177 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
9179         Add optional support for resetting VC properties.
9180         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
9181         call vc-file-clearprops when true.
9182         (vc-resynch-buffer): Add new optional argument, pass it down.
9183         (vc-resynch-buffers-in-directory): Likewise.
9185         Improve support for special markup in the VC commit message.
9186         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
9187         * vc-hg.el (vc-hg-checkin): Add support for Date:.
9188         * vc-git.el (vc-git-checkin):
9189         * vc-bzr.el (vc-bzr-checkin): Likewise.
9191 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9193         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
9194         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
9196 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
9198         * iimage.el: Remove images as soon as the underlying text is modified.
9199         (iimage-modification-hook): New function.
9200         (iimage-mode-buffer): Use it.
9202 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9204         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
9205         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
9206         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
9207         (smie-indent-keyword): Add handling of open-paren keywords.
9208         (smie-indent-comment-continue): Don't assume comment-continue.
9210 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
9212         * window.el (pop-to-buffer): Remove the conditional that
9213         compares new-window and old-window, so it will reselect
9214         the selected window unconditionally.
9215         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
9217 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9219         * emacs-lisp/smie.el (smie-indent-offset-after)
9220         (smie-indent-forward-token, smie-indent-backward-token): New functions.
9221         (smie-indent-after-keyword): Use them.
9222         (smie-indent-fixindent): Only applies to the indentation of the BOL.
9223         (smie-indent-keyword): Tweak the black magic.
9224         (smie-indent-comment-continue): Strip comment-continue before use.
9225         (smie-indent-functions): Indent comments before keywords.
9227 2010-06-06  Juri Linkov  <juri@jurta.org>
9229         * isearch.el (isearch-lazy-highlight-search): Fix looping
9230         by checking for empty match.  This syncs this loop with the
9231         similar loop in `isearch-search'.  (Bug#6362)
9233 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
9235         * net/dbus.el (dbus-register-method): Declare function.
9236         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
9237         (dbus-introspect): Doc fix.
9238         (dbus-event-bus-name, dbus-introspect-get-interface)
9239         (dbus-introspect-get-argument): Reflow docstrings.
9241 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
9243         vc-log-incoming/vc-log-outgoing fixes for Git.
9244         * vc-git.el (vc-git-log-view-mode): Fix font lock for
9245         incoming/outgoing logs.
9246         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
9247         instead of vc-git-compute-remote.
9248         (vc-git-compute-remote): Remove.
9250 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
9252         * term/common-win.el (x-colors): Add "dark green" and "dark
9253         turquoise" (Bug#6332).
9255 2010-06-04  Juri Linkov  <juri@jurta.org>
9257         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
9258         Instead of setting `replace' to t and replacing the same string
9259         with itself, don't do certain actions when
9260         kill-do-not-save-duplicates is non-nil and string is equal to car
9261         of kill-ring: don't call menu-bar-update-yank-menu, don't push
9262         interprogram-paste strings to kill-ring, and don't push the input
9263         argument `string' to kill-ring.
9264         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
9266 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
9268         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
9270 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
9272         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
9273         (tramp-gvfs-handler-mounted-unmounted)
9274         (tramp-gvfs-connection-mounted-p): Handle default-location.
9276         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
9277         move files to trash.
9279 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
9281         * international/mule-cmds.el (nonascii-insert-offset)
9282         (nonascii-translation-table): Add obsolescence information.
9284         * international/mule.el (make-translation-table-from-vector): Doc fix.
9286 2010-06-03  Glenn Morris  <rgm@gnu.org>
9288         * desktop.el (desktop-clear-preserve-buffers):
9289         Add "*Warnings*" buffer.  (Bug#6336)
9291 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
9293         vc-log-incoming/vc-log-outgoing improvements for Git.
9294         * vc-git.el (vc-git-log-outgoing): Use the same format as the
9295         short log.
9296         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
9298         Add bindings for vc-log-incoming and vc-log-outgoing.
9299         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
9300         and vc-log-outgoing.
9301         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
9302         and vc-log-outgoing.
9304 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
9306         * net/rcirc.el (rcirc-sort-nicknames): Remove.
9307         (rcirc-handler-366): Always sort nicknames.
9309 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
9311         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
9313 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
9315         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
9317 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9319         * net/rcirc.el (rcirc-sort-nicknames): Change default.
9320         (rcirc-sort-nicknames-join): Avoid setq.
9322 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
9324         * net/rcirc.el (rcirc-sort-nicknames): New custom.
9325         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
9326         (rcirc-handler-366): Use them.
9328 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9330         Split smie-indent-calculate into more manageable chunks.
9331         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
9332         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
9333         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
9334         (smie-indent-exps): Extract from smie-indent-calculate.
9335         (smie-indent-functions): New var.
9336         (smie-indent-functions): Use them.
9338 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9340         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
9341         (smie-indent-calculate): Simplify and cleanup.
9343 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
9345         * net/tramp-gvfs.el (top): Require url-util.
9346         (tramp-gvfs-mount-point): Remove.
9347         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
9348         New defuns.
9349         (with-tramp-dbus-call-method): Format trace message.
9350         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
9351         Implement backup call, when operation on local files fails.
9352         Use progress reporter.  Flush properties of changed files.
9353         (tramp-gvfs-handle-make-directory): Make more traces.
9354         (tramp-gvfs-url-file-name): Hexify file name in url.
9355         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
9356         into account for the resulting file name.
9357         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
9358         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
9359         (tramp-gvfs-handler-mounted-unmounted)
9360         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
9361         attribute "default_location".  Set "prefix" property.
9362         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
9363         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
9364         exists.  Raise an error, if not (due to a corresponding answer
9365         "no" in interactive questions, for example).
9367 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
9369         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9371 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
9373         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9374         right-*.  (Bug#6265)
9376 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
9378         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
9379         * vc-git.el (vc-git-compute-remote): New function.
9380         (vc-git-log-outgoing): Use it instead of hard coding a value.
9381         (vc-git-log-incoming): New function.
9383         Improve state updating for VC tag commands.
9384         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
9385         to update the state of all buffers in the directory.
9387         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
9389 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9391         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
9392         `file-directory-p' to the filename part rather than to the whole text.
9394 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9396         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
9398 2010-05-31  Drew Adams  <drew.adams@oracle.com>
9400         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
9402 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
9404         * subr.el (momentary-string-display): Just use read-event to read
9405         the exit event (Bug#6238).
9407 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
9409         * international/mule.el (define-coding-system): Doc fix (bug#6313).
9411 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
9413         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
9414         Suggested by Eli Zaretskii <eliz@gnu.org>.
9416 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9418         * minibuffer.el (completion-file-name-table): Don't return a boundary
9419         past the end of `string' (bug#6299).
9420         (completion--file-name-table): Delegate to completion-file-name-table
9421         for the `boundaries' case.
9423 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
9425         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
9426         movement commands.
9428         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
9429         `path-separator', but maintain compatibility with Emacs 20.2.
9431 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
9433         * server.el (server-process-filter): Receive parent-id argument
9434         from emacsclient.
9435         (server-create-window-system-frame): New arg.  Pass parent-id as
9436         frame parameter.
9438 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
9440         Bidi-sensitive word movement with arrow keys.
9441         * subr.el (right-arrow-command, left-arrow-command): Move to
9442         bindings.el.
9444         * bindings.el (right-char, left-char): Move from subr.el and
9445         rename from right-arrow-command and left-arrow-command.
9446         (right-word, left-word): New functions.
9447         (global-map) <right>: Bind to right-char.
9448         (global-map) <left>: Bind to left-char.
9449         (global-map) <C-right>: Bind to right-word.
9450         (global-map) <C-left>: Bind to left-word.
9452         * ls-lisp.el (ls-lisp-classify-file): New function.
9453         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
9454         (ls-lisp-classify): Call ls-lisp-classify-file.
9455         (insert-directory): Remove blanks from switches.
9457 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
9459         * ansi-color.el: Delete unused escape sequences (Bug#6085).
9460         (ansi-color-drop-regexp): New constant.
9461         (ansi-color-apply, ansi-color-filter-region)
9462         (ansi-color-apply-on-region): Delete unrecognized control sequences.
9463         (ansi-color-apply): Build string list before calling concat.
9465 2010-05-28  Juri Linkov  <juri@jurta.org>
9467         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9468         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
9469         (Bug#5270)
9471 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
9473         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
9474         to ignored backtrace functions.
9475         (with-progress-reporter): Expand docstring.
9476         (tramp-handle-delete-file): Implement TRASH argument.
9477         (tramp-get-remote-trash): New defun.
9479 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
9481         * net/tramp-compat.el (tramp-compat-delete-file):
9482         Use `symbol-value' for backward compatibility.
9484         * net/tramp.el (tramp-handle-make-symbolic-link)
9485         (tramp-handle-load)
9486         (tramp-do-copy-or-rename-file-via-buffer)
9487         (tramp-do-copy-or-rename-file-directly)
9488         (tramp-do-copy-or-rename-file-out-of-band)
9489         (tramp-handle-process-file, tramp-handle-call-process-region)
9490         (tramp-handle-shell-command, tramp-handle-file-local-copy)
9491         (tramp-handle-insert-file-contents, tramp-handle-write-region)
9492         (tramp-delete-temp-file-function): Use `delete-file' instead
9493         of `tramp-compat-delete-file'.
9495         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9496         (tramp-fish-handle-make-symbolic-link)
9497         (tramp-fish-handle-process-file): Use `delete-file' instead
9498         of `tramp-compat-delete-file'.
9500         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9501         Use `delete-file' instead of `tramp-compat-delete-file'.
9503         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9504         (tramp-gvfs-handle-write-region): Use `delete-file' instead of
9505         `tramp-compat-delete-file'.
9507         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
9508         Use `delete-file' instead of `tramp-compat-delete-file'.
9510         * net/tramp-smb.el (tramp-smb-handle-copy-file)
9511         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9512         (tramp-smb-handle-write-region): Use `delete-file' instead of
9513         `tramp-compat-delete-file'.
9514         (tramp-smb-handle-delete-directory): Use 'trash as arg.
9516 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
9518         * dired.el (dired-delete-file): New arg TRASH.
9519         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
9520         (dired-do-flagged-delete, dired-do-delete): Use trash.
9522         * speedbar.el (speedbar-item-delete): Allow trashing.
9524         * files.el (delete-directory): New arg TRASH.
9526         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
9527         (ange-ftp-rename-remote-to-remote)
9528         (ange-ftp-rename-local-to-remote)
9529         (ange-ftp-rename-remote-to-local, ange-ftp-load)
9530         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
9531         `delete-file'.
9532         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
9533         allow trashing.
9535         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
9536         handle new TRASH arg of `delete-file'.
9538         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
9539         (tramp-handle-make-symbolic-link, tramp-handle-load)
9540         (tramp-do-copy-or-rename-file-via-buffer)
9541         (tramp-do-copy-or-rename-file-directly)
9542         (tramp-do-copy-or-rename-file-out-of-band)
9543         (tramp-handle-process-file, tramp-handle-call-process-region)
9544         (tramp-handle-shell-command, tramp-handle-file-local-copy)
9545         (tramp-handle-insert-file-contents, tramp-handle-write-region)
9546         (tramp-delete-temp-file-function): Use null TRASH arg in
9547         tramp-compat-delete-file call.
9549         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9550         (tramp-fish-handle-delete-file)
9551         (tramp-fish-handle-make-symbolic-link)
9552         (tramp-fish-handle-process-file): Use null TRASH arg in
9553         `tramp-compat-delete-file' call.
9555         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
9556         arg in `tramp-compat-delete-file' call.
9558         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9559         (tramp-gvfs-handle-write-region): Use null TRASH arg in
9560         `tramp-compat-delete-file' call.
9562         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
9563         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
9564         `tramp-compat-delete-file' call.
9566         * net/tramp-smb.el (tramp-smb-handle-copy-file)
9567         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9568         (tramp-smb-handle-write-region): Use null TRASH arg in
9569         tramp-compat-delete-file call.
9570         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
9571         (tramp-smb-handle-delete-file): Rename arg.
9573         * diff.el (diff-sentinel):
9574         * epg.el (epg--make-temp-file, epg-decrypt-string)
9575         (epg-verify-string, epg-sign-string, epg-encrypt-string):
9576         * jka-compr.el (jka-compr-partial-uncompress)
9577         (jka-compr-call-process, jka-compr-write-region):
9578         * server.el (server-sentinel): Remove optional arg from
9579         delete-file, reverting 2010-05-03 change.
9581 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
9583         * progmodes/verilog-mode.el (verilog-type-font-keywords):
9584         Use font-lock-constant-face, not obsolete font-lock-reference-face.
9586 2010-05-27  Kenichi Handa  <handa@m17n.org>
9588         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
9589         element of GSTRING is nil.
9591 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9593         * emacs-lisp/smie.el (smie-forward-token-function)
9594         (smie-backward-token-function): New vars.
9595         (smie-backward-sexp, smie-forward-sexp)
9596         (smie-indent-hanging-p, smie-indent-calculate): Use them.
9597         (smie-default-backward-token): Rename from smie-backward-token and
9598         skip comments.
9599         (smie-default-forward-token): Rename from smie-forward-token and
9600         skip comments.
9601         (smie-next-sexp): Handle nil results from next-token.
9602         (smie-indent-calculate): Add a new case for special `fixindent' comments.
9604 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
9606         * progmodes/verilog-mode.el (verilog-type-font-keywords):
9607         Use font-lock-constant-face, not obsolete font-lock-reference-face.
9609 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
9611         * htmlfontify.el (hfy-face-resolve-face): New function.
9612         (hfy-face-to-style): Use it (Bug#6279).
9614 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9616         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
9617         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
9619 2010-05-26  Glenn Morris  <rgm@gnu.org>
9621         * emulation/edt.el (edt-load-keys): Use locate-library.
9623 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
9625         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
9626         (log-edit-changelog-entries): Doc fix.
9627         (log-edit-changelog-insert-entries): Args changed.
9628         Rename relative filenames in ChangeLog entries.  Delete tabs.
9629         (log-edit-insert-changelog-entries): Reorganize return value of
9630         `log-edit-changelog-entries' to pass filenames to
9631         log-edit-changelog-insert-entries.
9633 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9635         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
9636         `image-dired-dired-insert-marked-thumbs' to
9637         `image-dired-dired-toggle-marked-thumbs'.
9639         * image-dired.el: Require cl when compiling.
9640         (image-dired-dired-toggle-marked-thumbs): Rename from
9641         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
9642         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
9643         to 'no-dir.  Skip files whose names don't match
9644         `image-file-name-regexp'.  When file has a thumbnail overlay,
9645         delete it.  (Bug#5270)
9647 2010-05-25  Juri Linkov  <juri@jurta.org>
9649         * image-mode.el (image-mode): Add image-after-revert-hook to
9650         after-revert-hook.
9651         (image-after-revert-hook): New function.  (Bug#5669)
9653 2010-05-25  Juri Linkov  <juri@jurta.org>
9655         * image.el (image-animated-p): When delay between animated images
9656         is 0, set it to 10 (0.1 sec).  (Bug#6258)
9658 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
9660         * net/tramp.el (tramp-handle-insert-directory): Don't use
9661         `forward-word', its default syntax could be changed.
9663 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
9665         * net/tramp.el (tramp-progress-reporter-update): New defun.
9666         (with-progress-reporter): Use it.
9667         (tramp-process-actions):
9668         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
9669         Preserve current message, in order to let progress reporter continue
9670         afterwards.  (Bug#6257)
9672 2010-05-25  Glenn Morris  <rgm@gnu.org>
9674         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
9675         Add :version.
9677 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
9679         * net/rcirc.el (rcirc-default-user-name): Change to "user".
9680         (rcirc-default-full-name): Change to "unknown".
9681         (rcirc-user-name-history): Add variable.
9683 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
9684             Jonathan Rockway  <jon@jrock.us>
9686         * net/rcirc.el (rcirc-server-alist): Add :pass.
9687         (rcirc): When prompting for connection parameters, also prompt for
9688         username and password.
9689         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
9690         value to server when connecting.
9692 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9694         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
9695         (smie-merge-prec2s): Pass the tables as separate args.
9696         (smie-bnf-precedence-table): Adjust call accordingly.
9697         (smie-prec2-levels): Set levels at the end.
9699         Replace Lisp calls to delete-backward-char by delete-char.
9700         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
9701         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
9702         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
9703         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
9704         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
9705         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
9706         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
9707         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
9708         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
9709         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
9710         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
9711         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
9712         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
9713         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
9714         delete-backward-char by calls to delete-char.
9716 2010-05-25  Kenichi Handa  <handa@m17n.org>
9718         * language/hebrew.el (hebrew-shape-gstring): New function.
9719         Register it in composition-function-table for all Hebrew combining
9720         characters.
9722 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9724         * epa.el (epa--select-keys): Don't explicitly delete the window since
9725         that can fail (e.g. sole window in frame).  Use dedication instead.
9727 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
9729         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
9731 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
9733         * image.el (image-refresh): Define as an alias for image-flush.
9735         * image-mode.el (image-toggle-display-image): Caller changed.
9737 2010-05-21  Juri Linkov  <juri@jurta.org>
9739         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
9740         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
9741         whitespace, call wildcard-to-regexp on substrings and concat them
9742         with "\\|".  (Bug#6114)
9744 2010-05-21  Alan Mackenzie  <acm@muc.de>
9746         * progmodes/cc-engine.el (c-parse-state-get-strategy):
9747         Replace parameter `here' with `here-' and `here-plus', which sandwich
9748         any pertinent CPP construct.
9749         (c-remove-stale-state-cache-backwards): Fix a bug which happens
9750         when doing (c-parse-state) in a CPP construct: Exclude any "new"
9751         CPP construct from taking part in the scanning.
9753 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
9755         * net/tramp.el (tramp-do-copy-or-rename-file)
9756         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
9757         Tune `with-progress-reporter' messages.
9758         (tramp-handle-vc-registered):
9759         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
9760         (tramp-fish-handle-insert-file-contents)
9761         (tramp-fish-maybe-open-connection):
9762         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9763         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
9764         (tramp-imap-handle-insert-file-contents)
9765         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
9767 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
9769         * add-log.el (change-log-font-lock-keywords):
9770         Highlight all authors in multi-author entries.
9772         * smerge-mode.el (smerge-refine-ignore-whitespace)
9773         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
9774         Fix typos in docstrings.
9775         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
9777 2010-05-21  Glenn Morris  <rgm@gnu.org>
9779         * progmodes/fortran.el (fortran-mode):
9780         * progmodes/f90.el (f90-mode): Derive from prog-mode.
9782         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
9783         having a relative path in src/Makefile.in.
9785 2010-05-20  Kevin Ryde  <user42@zip.com.au>
9787         * help-mode.el (help-make-xrefs): For Info node links turn
9788         newlines into spaces.  Link node names with newlines are matched
9789         by help-xref-info-regexp and buttonized, this change ensures they
9790         can be followed successfully with RET.  (Bug#6206)
9792 2010-05-20  Juri Linkov  <juri@jurta.org>
9794         * locate.el (locate): Use pop-to-buffer instead of
9795         switch-to-buffer-other-window.  (Bug#6204)
9797 2010-05-20  Juri Linkov  <juri@jurta.org>
9799         * replace.el (replace-highlight): Fix lazy-highlighting
9800         for `M-s w str M-% str RET'.
9802 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
9804         * isearch.el (isearch-yank-word-or-char): Pull next subword
9805         when `subword-mode' is activated.  (Bug#6220)
9807 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
9809         * isearch.el (isearch-update-post-hook): New hook.
9810         (isearch-update): Use the new hook.  (Bug#6225)
9812 2010-05-20  Juri Linkov  <juri@jurta.org>
9814         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
9815         [f1], [help], and (char-to-string help-char) instead of "\C-h".
9816         (Bug#6222)
9818 2010-05-20  Juri Linkov  <juri@jurta.org>
9820         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
9821         (Bug#6223)
9823 2010-05-20  Juri Linkov  <juri@jurta.org>
9825         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
9826         FILE-NAME to read from the minibuffer when called interactively
9827         with prefix argument instead of using buffer-file-name.
9828         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
9830         * dired.el: Update autoloads.
9832 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
9834         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
9835         nxml-finish-element, for consistency with SGML mode.
9837         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
9838         octave-close-block.
9840 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
9842         * composite.el: Require cl when compiling.
9843         (reference-point-alist, compose-gstring-for-graphic)
9844         (compose-gstring-for-terminal): Fix typos in docstrings.
9846 2010-05-19  Juri Linkov  <juri@jurta.org>
9848         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
9849         set-window-parameter.
9851 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
9853         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
9854         where appropriate.
9855         (tramp-maybe-open-connection): Use it.
9857 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
9859         * simple.el (move-end-of-line): Make sure we are at line beginning
9860         before backing up to end of previous line.
9862 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
9864         * password-cache.el (password-cache-remove): Fix docstring.
9866         * net/secrets.el: Autoload the widget functions.
9867         (secrets-search-items, secrets-create-item)
9868         (secrets-get-attributes, secrets-expand-item): Attributes will be
9869         stored on the password database without leading ":", as all other
9870         clients do as well.
9871         (secrets-mode): Fix docstring.
9872         (secrets-show-secrets): Provide it as autoloaded command only when
9873         D-Bus support is available.  Check existence of Secret Service API.
9875 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9877         * indent.el (indent-region): Deactivate region (bug#6200).
9879 2010-05-19  Glenn Morris  <rgm@gnu.org>
9881         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
9883 2010-05-19  Kenichi Handa  <handa@m17n.org>
9885         * composite.el: Register compose-gstring-for-graphic in
9886         composition-function-table only for combining characters (Mn, Mc, Me).
9888 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
9890         * calc/calc-trail.el (calc-trail-isearch-forward)
9891         (calc-trail-isearch-backward): Ensure that the new window
9892         point is set correctly.
9894 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9896         * subr.el (read-quoted-char): Resolve modifiers after key
9897         remapping (bug#6212).
9899 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
9901         Add visualization code for secrets.
9902         * net/secrets.el (secrets-mode): New major mode.
9903         (secrets-show-secrets, secrets-show-collections)
9904         (secrets-expand-collection, secrets-expand-item)
9905         (secrets-tree-widget-after-toggle-function)
9906         (secrets-tree-widget-show-password): New defuns.
9908 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9910         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
9911         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
9912         handled in smie-next-sexp.
9913         (smie-indent-calculate): Provide a starting indentation (so the
9914         recursion is well-founded ;-).
9916         Fix handling of non-associative equal levels.
9917         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
9918         when it's not needed.
9919         (smie-op-left, smie-op-right): New functions.
9920         (smie-next-sexp): New function, extracted from smie-backward-sexp.
9921         Better handle equal levels to distinguish the associative case from
9922         the "multi-keyword construct" case.
9923         (smie-backward-sexp, smie-forward-sexp): Use it.
9925 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
9927         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
9929         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
9930         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
9932 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9934         Provide a simple generic indentation engine and use it for Prolog.
9935         * emacs-lisp/smie.el: New file.
9936         * progmodes/prolog.el (prolog-smie-op-levels)
9937         (prolog-smie-indent-rules): New var.
9938         (prolog-mode-variables): Use them to configure SMIE.
9939         (prolog-indent-line, prolog-indent-level): Remove.
9941 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
9943         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
9944         order before computing the averages.
9946 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
9948         * calc/calc-vec.el (calc-histogram):
9949         (calcFunc-histogram): Allow vectors as inputs.
9950         (math-vector-avg): New function.
9952         * calc/calc-ext.el (math-group-float): Have the number of digits
9953         being grouped depend on the radix (Bug#6189).
9955 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
9957         * version.el (emacs-copyright, emacs-version): Don't define here,
9958         now that emacs.c defines it.
9960 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
9962         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
9963         "Describe Language Environment" menu item.
9965         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
9967         Bidi-sensitive movement with arrow keys.
9968         * subr.el (right-arrow-command, left-arrow-command): New functions.
9970         * bindings.el (global-map): Bind them to right and left arrow keys.
9972         Don't override standard definition of convert-standard-filename.
9973         * files.el (convert-standard-filename):
9974         Call w32-convert-standard-filename and dos-convert-standard-filename on
9975         the corresponding systems.
9977         * w32-fns.el (w32-convert-standard-filename): Rename from
9978         convert-standard-filename.  Doc fix.
9980         * dos-fns.el (dos-convert-standard-filename): Doc fix.
9981         (convert-standard-filename): Don't defalias.
9982         (register-name-alist, make-register, register-value)
9983         (set-register-value, intdos): Obsolete aliases for the
9984         corresponding dos-* functions and variables.
9985         (dos-intdos): Add a doc string.
9987 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
9989         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
9990         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
9991         (math-compose-tex-func):
9992         * calc/calccomp.el (math-compose-expr):
9993         * calc/calc-ext.el (math-format-flat-expr-fancy):
9994         * calc/calc-store.el (calc-read-var-name):
9995         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
9997         * calc/calc.el (var-π, var-φ, var-γ): New variables.
9998         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
9999         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
10000         (math-standard-units): Add units.
10002 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10004         * progmodes/asm-mode.el (asm-mode):
10005         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
10007         * pcomplete.el (pcomplete-completions-at-point): New function,
10008         extracted from pcomplete-std-complete.
10009         (pcomplete-std-complete): Use it.
10011 2010-05-15  Glenn Morris  <rgm@gnu.org>
10013         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10014         Remove references to CVS, RCS and Old directories.
10016 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
10018         * calc/calc-bin.el (math-format-twos-complement): Group digits when
10019         appropriate.
10021 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10023         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
10024         (sh-mode-syntax-table): Give it a default value instead.
10025         (sh-header-marker): Make buffer-local.
10026         (sh-mode): Move make-local-variable to the corresponding setq.
10027         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
10028         Use complete-with-action.
10030         * simple.el (prog-mode): New (abstract) major mode.
10031         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
10032         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
10034 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
10036         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
10037         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
10038         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
10039         (sql-make-alternate-buffer-name, sql-placeholders-filter)
10040         (sql-escape-newlines-filter, sql-input-sender)
10041         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
10043 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
10045         Add TeX open-block and close-block keybindings to SGML, and vice versa.
10047         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
10048         latex-open-block and C-c / to latex-close-block.
10050         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
10051         and C-c C-e to sgml-close-tag.
10053 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
10055         * net/tramp.el (with-progress-reporter): Create reporter object
10056         only when the message would be displayed.  Handle nested calls.
10057         (tramp-handle-load, tramp-handle-file-local-copy)
10058         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10059         (tramp-maybe-send-script, tramp-find-shell):
10060         Use `with-progress-reporter'.
10061         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
10062         Fix message text.
10064         * net/tramp-smb.el (tramp-smb-handle-copy-file)
10065         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10066         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
10067         Use `with-progress-reporter'.
10069 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
10071         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
10072         process everytime when spellchecking from the minibuffer (bug#6143).
10074 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10076         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
10078         * dos-fns.el: Add "dos-" prefix for namespace control.
10079         (convert-standard-filename): Define as alias for
10080         dos-convert-standard-filename but only if applicable.
10082 2010-05-12  Alan Mackenzie  <acm@muc.de>
10084         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
10085         Push the mark at the start of these functions when appropriate.
10087 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10089         * minibuffer.el (completion-cycle-threshold): New custom var.
10090         (completion--do-completion): Use it.
10091         (minibuffer-complete): Use cycling if appropriate.
10093 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
10095         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
10096         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
10098 2010-05-11  Juri Linkov  <juri@jurta.org>
10100         * scroll-all.el (scroll-all-check-to-scroll):
10101         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
10103 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10105         * iimage.el (iimage-mode-map): Move initialization into declaration.
10106         (iimage-mode-buffer): Use with-silent-modifications.
10107         Simplify calling convention.  Adjust callers.
10108         (iimage-mode): Don't run hook redundantly.
10110         * minibuffer.el (completion-pcm--pattern->regex):
10111         Fix last change (bug#6160).
10113 2010-05-10  Juri Linkov  <juri@jurta.org>
10115         Remove nodes visited during Isearch from the Info history.
10116         * info.el (Info-isearch-initial-history)
10117         (Info-isearch-initial-history-list): New variables.
10118         (Info-isearch-start): Record initial values of
10119         Info-isearch-initial-history and Info-isearch-initial-history-list.
10120         Add Info-isearch-end to isearch-mode-end-hook.
10121         (Info-isearch-end): New function.
10123 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
10125         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
10126         format string, in order to work around a bug in pdksh.
10127         Reported by Gilles Pion <gpion@lfdj.com>.
10128         (tramp-handle-verify-visited-file-modtime): Do not send a command
10129         when the connection is not established.
10130         (tramp-handle-set-file-times): Simplify the check for utc.
10132 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
10134         Fix use of `filter-buffer-substring' (rework previous change).
10135         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
10136         (cua-repeat-replace-region):
10137         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
10138         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10139         (cua-cut-region-to-global-mark): Use it.
10141 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
10143         * progmodes/sql.el: Version 2.1.
10144         (sql-product-alist): Redesign structure of product info.
10145         (sql-product, sql-user, sql-server, sql-database): Safe variables.
10146         (sql-port, sql-port-history): New variables.
10147         (sql-interactive-product): New variable.
10148         (sql-send-terminator): New variable.
10149         (sql-imenu-generic-expression): Add "Types" imenu entry.
10150         (sql-oracle-login-params, sql-sqlite-login-params)
10151         (sql-mysql-login-params, sql-solid-login-params)
10152         (sql-sybase-login-params, sql-informix-login-params)
10153         (sql-ingres-login-params, sql-ms-login-params)
10154         (sql-postgres-login-params, sql-interbase-login-params)
10155         (sql-db2-login-params, sql-linter-login-params)
10156         (sql-oracle-scan-on): New variables.
10157         (sql-mode-map): Add C-c C-i to start interactive mode.
10158         (sql-mode-menu): Update existing menu entries.
10159         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
10160         (sql-mode-oracle-font-lock-keywords)
10161         (sql-mode-postgres-font-lock-keywords)
10162         (sql-mode-ms-font-lock-keywords)
10163         (sql-mode-sybase-font-lock-keywords)
10164         (sql-mode-informix-font-lock-keywords)
10165         (sql-mode-interbase-font-lock-keywords)
10166         (sql-mode-ingres-font-lock-keywords)
10167         (sql-mode-solid-font-lock-keywords)
10168         (sql-mode-mysql-font-lock-keywords)
10169         (sql-mode-sqlite-font-lock-keywords)
10170         (sql-mode-db2-font-lock-keywords)
10171         (sql-mode-linter-font-lock-keywords): Update initialization to
10172         reduce run-time complexity.
10173         (sql-add-product, sql-del-product): New functions.
10174         (sql-set-product-feature, sql-get-product-feature): New functions.
10175         (sql-product-font-lock): Update product API.
10176         (sql-add-product-keywords): New function.
10177         (sql-highlight-product): Update product API.
10178         (sql-help-list-products): New function.
10179         (sql-help): Dynamically lists free and non-free products.
10180         (sql-get-login): Correct bug in handling history and added
10181         prompt for port.
10182         (sql-copy-column): Copy without properties.
10183         (sqli-input-sender): Apply filters to SQLi input.
10184         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
10185         Implement as a filter.
10186         (sql-escape-newlines-filter): Implement as a filter.
10187         (sql-remove-tabs-filter): New function.
10188         (sql-send-magic-terminator): New function.
10189         (sql-send-string): Implement magic terminator.
10190         (sql-send-region): Use `sql-send-string'.
10191         (sql-interactive-mode): Use product API.
10192         (sql-product-interactive): Use product API.
10193         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
10194         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
10195         (sql-db2, sql-linter): Use `sql-product-interactive'.
10196         (sql-connect): New function.
10197         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
10198         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
10199         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
10200         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
10201         Use `sql-connect'.
10203 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10205         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10206         New custom variable.
10207         (completion-pcm--string->pattern): Use it.
10208         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
10209         Make it handle any symbol as `any'.
10210         (completion-pcm--merge-completions): Extract common suffix for the new
10211         `prefix' symbol as well.
10212         (completion-substring--all-completions): Use the new `prefix' symbol.
10214 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
10216         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
10217         not bound.
10218         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
10219         (tramp-compat-funcall): New defmacro.
10220         (tramp-compat-line-beginning-position)
10221         (tramp-compat-line-end-position)
10222         (tramp-compat-temporary-file-directory)
10223         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
10224         (tramp-compat-copy-file, tramp-compat-copy-directory)
10225         (tramp-compat-delete-file, tramp-compat-delete-directory)
10226         (tramp-compat-number-sequence, tramp-compat-process-running-p)
10227         * net/tramp.el (top, with-progress-reporter)
10228         (tramp-rfn-eshadow-setup-minibuffer)
10229         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
10230         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
10231         (tramp-completion-mode-p, tramp-check-for-regexp)
10232         (tramp-open-connection-setup-interactive-shell)
10233         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
10234         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
10235         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
10236         * net/tramp-cmds.el (tramp-cleanup-all-connections)
10237         (tramp-reporter-dump-variable, tramp-load-report-modules)
10238         (tramp-append-tramp-buffers)
10239         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
10241         * net/tramp-imap.el (top): Autoload `epg-make-context'.
10243 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10245         * progmodes/compile.el (compilation-buffer-modtime): Rename from
10246         buffer-modtime.  Adjust users.
10248 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
10250         * international/mule.el (auto-coding-alist): Only purecopy
10251         car of each item, not the whole list (Bug#6083).
10253 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
10255         * progmodes/js.el (js-mode): Make paragraph variables local before
10256         calling c-setup-paragraph-variables (Bug#6071).
10258 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
10260         * composite.el (compose-region, reference-point-alist): Fix typos
10261         in the doc strings.
10263 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
10265         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
10266         gnuplot's "set" command.
10268 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
10270         * abbrev.el (last-abbrev-text): Doc fix.
10271         (abbrev-prefix-mark): Don't escape parenthesis.
10273 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
10275         * composite.el (find-composition): Doc fix.
10277 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
10279         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
10280         (sql-oracle-program, sql-sqlite-options)
10281         (sql-query-placeholders-and-send): Doc fixes.
10282         (sql-set-product, sql-interactive-mode): Reflow docstrings.
10283         (sql-imenu-generic-expression, sql-buffer)
10284         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
10285         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
10286         (sql-mode-sybase-font-lock-keywords)
10287         (sql-mode-informix-font-lock-keywords)
10288         (sql-mode-interbase-font-lock-keywords)
10289         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
10290         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
10291         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
10292         (sql-product-feature, sql-highlight-product)
10293         (comint-line-beginning-position, sql-rename-buffer)
10294         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
10295         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
10296         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
10297         Fix typos in docstrings.
10299 2010-05-08  Juri Linkov  <juri@jurta.org>
10301         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
10302         property instead of `invisible' and `after-string' (bug#5998).
10304 2010-05-08  Juri Linkov  <juri@jurta.org>
10306         * image-mode.el (image-mode-as-text): Fix typo in docstring.
10308 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
10310         * filecache.el (file-cache-add-directory-list)
10311         (file-cache-add-directory-recursively): Fix typos in docstrings.
10313 2010-05-08  Kenichi Handa  <handa@m17n.org>
10315         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
10316         (gujarati-composable-pattern): Fix typo.
10318 2010-05-08  Kenichi Handa  <handa@m17n.org>
10320         * language/indian.el (oriya-composable-pattern)
10321         (tamil-composable-pattern, malayalam-composable-pattern):
10322         Add two-part vowels to "v" (vowel sign).
10324 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
10326         * files.el (copy-directory): Handle symlinks (Bug#5982).
10328 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
10330         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
10331         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
10332         (Bug#5846).
10334 2010-05-08  Glenn Morris  <rgm@gnu.org>
10336         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
10338         * minibuffer.el (completion-at-point): Doc fix.
10340 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10342         * electric.el (Electric-command-loop): Minor tweak.
10344         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
10345         better with dedicated windows.
10347 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
10349         * Version 23.2 released.
10351 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
10352             Stefan Monnier  <monnier@iro.umontreal.ca>
10354         Highlight vendor specific properties.
10355         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
10356         (css-proprietary-property): New face.
10357         (css-font-lock-keywords): Use them.
10359 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
10361         * cus-start.el (all): Add native condition for tool-bar-* symbols.
10363 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10365         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10366         * files.el (auto-mode-alist): Remove redundant entries.
10368         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10369         * simple.el (auto-save-mode): Move from files.el.
10370         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10372 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
10374         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
10376 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
10378         * mail/binhex.el (binhex-decode-region-internal)
10379         * mail/uudecode.el (uudecode-decode-region-internal)
10380         * net/dns.el (dns-read-string-name, dns-write, dns-read)
10381         (dns-read-type, dns-query)
10382         * pgg-parse.el (pgg-parse-armor)
10383         * pgg.el (pgg-verify-region)
10384         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
10385         XEmacs.
10387         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
10389 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
10391         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
10393         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
10394         * emulation/cua-base.el (cua-repeat-replace-region):
10395         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10396         (cua-cut-region-to-global-mark):
10397         Remove text properties with `set-text-properties'.
10399 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
10401         * net/tramp.el (top, with-progress-reporter):
10402         Use `symbol-function' inside `funcall'.
10404         * net/tramp-compat.el (tramp-compat-file-attributes)
10405         (tramp-compat-delete-file, tramp-compat-delete-directory):
10406         Handle only `wrong-number-of-arguments' error.
10408         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
10409         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
10410         inside `funcall'.
10412 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10414         * minibuffer.el (completion--sreverse, completion--common-suffix):
10415         New functions.
10416         (completion-pcm--merge-completions): Extract common suffix when safe.
10418         * emacs-lisp/easy-mmode.el (define-minor-mode):
10419         Make :variable more flexible.
10420         * files.el (auto-save-mode): Use it to define using define-minor-mode.
10422 2010-05-05  Juri Linkov  <juri@jurta.org>
10424         Add `slow' and `history' tags to the desktop data.
10426         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
10427         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
10428         (Info-finder-find-node): Require `finder.el' to be able
10429         to restore node from the desktop.
10430         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
10431         data `Info-history' and `slow' tag in the assoc list.
10432         (Info-restore-desktop-buffer): Don't restore nodes with the
10433         `slow' tag.  Restore `Info-history'.
10435 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
10437         Add FORCE argument to `delete-file'.
10439         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
10440         forcing to delete the temporary file.
10441         (ange-ftp-delete-file): Add FORCE arg.
10442         (ange-ftp-rename-remote-to-remote)
10443         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
10444         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
10445         Force file deletion.
10447         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
10449         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
10450         (tramp-handle-make-symbolic-link, tramp-handle-load)
10451         (tramp-do-copy-or-rename-file-via-buffer)
10452         (tramp-do-copy-or-rename-file-directly)
10453         (tramp-do-copy-or-rename-file-out-of-band)
10454         (tramp-handle-process-file, tramp-handle-call-process-region)
10455         (tramp-handle-shell-command, tramp-handle-file-local-copy)
10456         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10457         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
10459         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
10460         (tramp-fish-handle-make-symbolic-link)
10461         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
10463         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10464         Use `tramp-compat-delete-file'.
10466         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
10467         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
10469         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
10470         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
10472         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
10473         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
10474         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
10475         Use `tramp-compat-delete-file'.
10477 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10479         Minor cleanups.
10480         * subr.el (add-minor-mode): Use push.
10481         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
10482         * emulation/edt.el (edt-select-mode): Simplify.
10484         Use define-minor-mode in more cases.
10485         * term/tvi970.el (tvi970-set-keypad-mode):
10486         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10487         (normal-erase-is-backspace-mode):
10488         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
10489         (set-scroll-bar-mode-1): (Re)move to its sole caller.
10490         (get-scroll-bar-mode): New function.
10491         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
10493         Use define-minor-mode for less obvious cases.
10494         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
10495         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
10496         * international/iso-ascii.el (iso-ascii-mode):
10497         * frame.el (auto-raise-mode, auto-lower-mode):
10498         * composite.el (global-auto-composition-mode): Use define-minor-mode.
10500 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
10502         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
10503         in order to see error messages for failed logins.
10505 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
10507         * diff.el (diff-sentinel):
10509         * epg.el (epg--make-temp-file, epg-decrypt-string)
10510         (epg-verify-string, epg-sign-string, epg-encrypt-string):
10512         * jka-compr.el (jka-compr-partial-uncompress)
10513         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
10515         * server.el (server-sentinel): Use delete-file's new FORCE arg
10516         (Bug#6070).
10518 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10520         Use define-minor-mode where applicable.
10521         * view.el (view-mode):
10522         * type-break.el (type-break-query-mode)
10523         (type-break-mode-line-message-mode):
10524         * textmodes/reftex.el (reftex-mode):
10525         * term/vt100.el (vt100-wide-mode):
10526         * tar-mode.el (tar-subfile-mode):
10527         * savehist.el (savehist-mode):
10528         * ibuf-ext.el (ibuffer-auto-mode):
10529         * composite.el (auto-composition-mode):
10530         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10531         Use define-minor-mode.
10532         (vhdl-mode): Use static mode-line format.
10533         (vhdl-mode-line-update): Delete.
10534         (vhdl-create-mode-menu, vhdl-activate-customizations)
10535         (vhdl-hs-minor-mode): Don't bother calling it.
10537 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10539         * simple.el (with-wrapper-hook): Move.
10540         (buffer-substring-filters): Mark obsolete.
10541         (filter-buffer-substring-functions): New variable.
10542         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
10544 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
10545             Michael Albinus  <michael.albinus@gmx.de>
10547         Implement compression for inline methods.
10549         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
10550         (tramp-copy-size-limit): Allow also nil.
10551         (tramp-inline-compress-commands): New defconst.
10552         (tramp-find-inline-compress, tramp-get-inline-compress)
10553         (tramp-get-inline-coding): New defuns.
10554         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
10555         replaced by `tramp-get-inline-coding'.
10556         (tramp-handle-file-local-copy, tramp-handle-write-region)
10557         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
10559 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10561         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
10562         Remove unused functions.
10564         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
10565         Set find-tag-default-function as a variable rather than a property.
10567         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
10568         * progmodes/etags.el (tags-completion-at-point-function):
10569         Remove left over interactive spec.  Add autoloading stub.
10570         (complete-tag): Use tags-completion-at-point-function.
10572 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
10574         * minibuffer.el (tags-completion-at-point-function): Fix return value.
10576 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
10578         * ido.el (ido-init-completion-maps): Remove C-v binding.
10579         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
10581 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
10583         * minibuffer.el (tags-completion-at-point-function): New function.
10584         (completion-at-point-functions): Use it.
10586         * progmodes/etags.el (complete-tag): Revert last change.
10588 2010-04-29  Alan Mackenzie  <acm@muc.de>
10590         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
10591         off-by-one error (in end of macro position).
10593 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10595         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
10596         firefox is absent.  Don't autoload.
10597         (browse-url-galeon-program): Don't autoload.
10599 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
10601         * bindings.el (complete-symbol): Move into minibuffer.el.
10603         * minibuffer.el (complete-tag): Move from etags.el.  If tags
10604         completion cannot be performed, return nil instead of signalling
10605         an error.
10606         (completion-at-point): Make it an alias for complete-symbol.
10607         (complete-symbol): Move from bindings.el, and replace with the
10608         body of completion-at-point.
10610         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
10612 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
10614         * net/tramp.el (tramp-remote-selinux-p): New defun.
10615         (tramp-handle-file-selinux-context)
10616         (tramp-handle-set-file-selinux-context): Use it.
10618 2010-04-28  Sam Steingold  <sds@gnu.org>
10620         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10621         `safe-local-variable' if the value is a string or a symbol with
10622         the property `bug-reference-url-format'.
10624 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
10626         * progmodes/bug-reference.el (bug-reference-url-format):
10627         Revert 2010-04-27 change due to security risk.
10629 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10631         Make it possible to locally disable a globally enabled mode.
10632         * simple.el (fundamental-mode): Run fundamental-mode-hook.
10633         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
10634         rather than kill-all-local-variables so it runs fundamental-mode-hook.
10635         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10636         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
10637         that subsequent hooks get a chance to disable it.
10639 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10641         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10642         Avoid re-enabling a minor mode after the user turned the minor mode
10643         off if MODE-enable-in-buffers is run twice (typically once from
10644         fundamental-mode's after-change-major-mode-hook and a second time from
10645         run-mode-hook's own after-change-major-mode-hook).
10647         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
10649 2010-04-27  Sam Steingold  <sds@gnu.org>
10651         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10652         `safe-local-variable' if the value is a string or a function, as
10653         documented and implemented on 2010-04-02.
10655 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
10657         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
10658         when method is 'kill.
10660 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
10662         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
10663         condition in default directory check.
10664         (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
10665         Kill ispell process when killing its associated buffer.
10667 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
10669         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
10670         but we aren't using it.
10672 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
10674         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
10675         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
10677 2010-04-24  Glenn Morris  <rgm@gnu.org>
10679         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
10680         Ignore VCS-ignore files, and deleted nextstep preferences files.
10681         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
10682         (authors-ambiguous-files): New list.
10683         (authors-valid-file-names): Add some deleted files.
10684         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
10685         (authors-disambiguate-file-name): New function.  (Bug#5501)
10686         (authors-canonical-file-name): Doc fix.
10687         Don't warn about obsolete files.
10688         (authors-canonical-file-name, authors-scan-el):
10689         Use authors-disambiguate-file-name.
10691         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10692         Add autoload cookies.
10693         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
10694         (generated-autoload-file): Set file-local value to "htmlfontify.el".
10695         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
10696         They have definitions / compiler macros in cl.el.
10697         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10698         Replace manual autoloads with generated ones.
10699         (htmlfontify-unload-rgb-file): Remove autoload.
10700         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
10702 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10704         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
10705         (byte-compile-setq-default): Optimize for the
10706         single-var case and don't call byte-compile-form in this case to avoid
10707         inf-loop with byte-compile-set-default.
10709         * progmodes/compile.el (compilation-start): Abbreviate default directory.
10711 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
10713         Implement SELINUX backends.
10715         * net/tramp.el (tramp-file-name-handler-alist):
10716         Add `file-selinux-context' and `set-file-selinux-context'.
10717         (tramp-handle-file-selinux-context)
10718         (tramp-handle-set-file-selinux-context): New defuns.
10719         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
10720         Handle PRESERVE-SELINUX-CONTEXT.
10722         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10723         Add `file-selinux-context' and `set-file-selinux-context'.
10724         (tramp-gvfs-handle-file-selinux-context)
10725         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
10726         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
10728         * net/ange-ftp.el (ange-ftp-copy-file):
10729         * net/tramp-fish.el (tramp-fish-handle-copy-file):
10730         * net/tramp-imap.el (tramp-imap-handle-copy-file):
10731         * net/tramp-smb.el (tramp-smb-handle-copy-file):
10732         Add PRESERVE-SELINUX-CONTEXT.
10734 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
10736         Synchronize with Tramp repository.
10738         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
10739         (tramp-action-process-alive, tramp-action-out-of-band)
10740         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
10741         (tramp-exists-file-name-handler): Fix docstring.
10742         (with-progress-reporter): New defmacro.
10743         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
10744         (tramp-maybe-open-connection): Use it.
10746 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
10748         Detect ssh 'ControlMaster' argument automatically in some cases.
10750         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
10751         (tramp-default-method): Use it.
10753 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
10755         * net/tramp.el (tramp-handle-copy-file): Add new optional
10756         parameter `preserve-selinux-context'.
10757         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
10759 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
10761         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
10762         Ensure, that non remote files are still checked.  Oops.
10764 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
10766         Fix Bug#5840.
10768         * icomplete.el (icomplete-completions): Use `non-essential'.
10770         * net/tramp.el (tramp-connectable-p): New defun.
10771         (tramp-handle-expand-file-name)
10772         (tramp-completion-handle-file-name-all-completions)
10773         (tramp-completion-handle-file-name-completion): Use it.
10775 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10777         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
10779 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
10781         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
10783         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
10785         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
10786         is present.
10788         * info.el (info-tool-bar-map): Add labels.
10790         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
10792         * cus-edit.el (custom-commands): Add labels for tool bar.
10793         (custom-buffer-create-internal, Custom-mode): Adjust for
10794         labels in custom-commands.
10796         * dynamic-setting.el: Renamed from font-setting.el.
10798 2010-04-21  John Wiegley  <jwiegley@gmail.com>
10800         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
10801         toggles the use of virtual buffers.
10802         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
10803         (ido-toggle-virtual-buffers): New function.
10805 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
10807         Use `define-derived-mode'; fix window selection; doc fixes.
10808         * play/tetris.el (tetris, tetris-update-speed-function)
10809         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
10810         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
10811         (tetris-rotate-next, tetris-end-game, tetris-start-game)
10812         (tetris-pause-game): Fix typos in docstrings.
10813         (tetris-mode-map, tetris-null-map):
10814         Move initialization into declaration.
10815         (tetris-mode): Define with `define-derived-mode';
10816         set show-trailing-whitespace to nil.
10817         (tetris): Prefer window already displaying the "*Tetris*" buffer.
10819 2010-04-21  Karel Klíč  <kklic@redhat.com>
10821         * files.el (backup-buffer): Handle SELinux context, and return it
10822         if a backup was made by renaming.
10823         (backup-buffer-copy): Set SELinux context to the target file.
10824         (basic-save-buffer): Set SELinux context of the newly written file.
10825         (basic-save-buffer-1): Now it also returns any SELinux context.
10826         (basic-save-buffer-2): Set SELinux context of the newly created file,
10827         and return it.
10828         * net/tramp.el (tramp-file-name-for-operation):
10829         Add file-selinux-context.
10831 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10833         Make the log-edit comments use RFC822 format throughout.
10835         * vc.el (vc-checkin, vc-modify-change-comment):
10836         Adjust to new vc-start/finish-logentry.
10837         (vc-find-conflicted-file): New command.
10838         (vc-transfer-file): Adjust to new vc-checkin.
10839         (vc-next-action): Improve scoping.
10841         * vc-hg.el (vc-hg-log-edit-mode): Remove.
10842         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
10844         * vc-git.el (vc-git-log-edit-mode): Remove.
10845         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
10846         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
10848         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
10849         (vc-start-logentry): Remove argument `extra'.
10850         (vc-finish-logentry): Remove extra args.
10852         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
10853         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
10854         (vc-bzr-conflicted-files): New function.
10856         * log-edit.el (log-edit-extra-flags)
10857         (log-edit-before-checkin-process): Remove.
10858         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
10859         (log-edit-headers-alist): New var.
10860         (log-edit-header-contents-regexp): New const.
10861         (log-edit-match-to-eoh): New function.
10862         (log-edit-font-lock-keywords): Use them.
10863         (log-edit): Insert a "Summary:" header as default.
10864         (log-edit-mode): Mark font-lock rules as case-insensitive.
10865         (log-edit-done): Cleanup headers.
10866         (log-view-process-buffer): Remove.
10867         (log-edit-extract-headers): New function to replace it.
10869 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
10871         * subr.el (default-direction-reversed): Remove obsolescence info.
10873 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10875         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
10876         windows/frames.
10878         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
10879         I.e. include text after point in the completion region.
10880         Also, return nil when we're not after/in a symbol.
10882         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
10883         default enable-multibyte-characters.
10885 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10887         * international/mule.el: Help the user choose a valid coding-system.
10888         (read-buffer-file-coding-system): New function.
10889         (set-buffer-file-coding-system): Use it.  Prompt the user if the
10890         coding-system cannot encode all the chars.
10892         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
10893         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
10894         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
10895         Don't use *vc-bzr-shelve*.
10897 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
10899         Fix the version number for added files.
10900         * vc-hg.el (vc-hg-working-revision): Check if the file is
10901         registered after hg parent fails (Bug#5961).
10903 2010-04-19  Glenn Morris  <rgm@gnu.org>
10905         * htmlfontify.el (htmlfontify-buffer)
10906         (htmlfontify-copy-and-link-dir): Autoload entry points.
10908 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
10910         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
10911         name relative to the project root (Bug#5960).
10913 2010-04-19  Glenn Morris  <rgm@gnu.org>
10915         * vc-git.el (vc-git-print-log): Doc fix.
10917 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
10919         * ido.el (ido-file-internal): Fix 2009-12-02 change.
10921 2010-04-19  Christoph  <cschol2112@googlemail.com>  (tiny change)
10923         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
10924         default settings (Bug#5928).
10926 2010-04-19  Glenn Morris  <rgm@gnu.org>
10928         * progmodes/fortran.el (fortran-match-and-skip-declaration):
10929         New function.
10930         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
10932 2010-04-19  Kenichi Handa  <handa@m17n.org>
10934         * language/indian.el (malayalam-composable-pattern): Fix previous
10935         change (add U+0D4D "SIGN VIRAMA").
10936         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
10937         (tamil-composable-pattern): Fix typo in the regexp.
10938         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
10939         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
10940         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
10942 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
10944         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
10945         paragraph-separate (Bug#5821).
10947 2010-04-19  Juri Linkov  <juri@jurta.org>
10949         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
10951         * info.el (Info-find-node-2): Comment out code that skips
10952         breadcrumbs line.
10953         (Info-mouse-follow-link): New command.
10954         (Info-link-keymap): New keymap.
10955         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
10956         Return a string with links instead of inserting breadcrumbs
10957         to the Info buffer.
10958         (Info-fontify-node): Comment out code that inserts breadcrumbs.
10959         Instead of putting the `invisible' text property over the Info
10960         header, make an overlay over the Info header with the `invisible'
10961         property and `after-string' set to the string returned by
10962         `Info-breadcrumbs'.
10964 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
10966         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
10967         Reported by monkey@sandpframing.com.
10969 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10971         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
10972         (tmm-get-keymap): Add key-binding shortcuts now that they're not
10973         available in the "keyseq cache" any more.
10975         * custom.el (defcustom): Add edebug spec.
10977 2010-04-18  Juri Linkov  <juri@jurta.org>
10979         Test for special mode-class in view-buffer instead of view-file (bug#5513).
10981         * view.el (view-file, view-buffer): Move test for special mode-class
10982         from view-file to view-buffer.
10984         * tar-mode.el (tar-extract): Turn if's into one cond
10985         like in arc-mode.el.
10987 2010-04-18  Juri Linkov  <juri@jurta.org>
10989         Add 7z archive format support (bug#5475).
10991         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
10992         (archive-7z-extract): New defcustom.
10993         (archive-find-type): Add magic string for 7z.
10994         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
10995         If `stderr-file' is non-nil, use `(t stderr-file)' for the
10996         `buffer' arg of `call-process'.
10997         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
10998         call the function `archive-7z-extract' with the variable
10999         `archive-7z-extract' let-bound to `archive-zip-extract'.
11000         (archive-7z-summarize, archive-7z-extract): New functions.
11002         * international/mule.el (auto-coding-alist):
11003         * files.el (auto-mode-alist): Add 7z file extension.
11005 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11007         * loadup.el: Setup hash-cons for pure data.
11009         Fix duplicate entries in cedet's loaddefs.el files.
11010         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
11011         Should make most file-local generated-autoload-file unnecessary.
11012         (print-readably): Silence warnings.
11013         (autoload-find-destination): Take load-name as an arg to make sure
11014         it's the same as the one that will be in the file.
11015         (autoload-generate-file-autoloads): Adjust to above changes.
11016         Try to make the dataflow a bit simpler.
11018         * cvs-status.el (cvs-refontify): Remove unused.
11020 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
11022         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
11024         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
11025         twos-complement mode.
11027 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
11029         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
11030         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
11031         (calc-inverse): Add "Option" to message, as appropriate.
11032         (calc-hyperbolic): Add "Option" to message, as appropriate.
11033         (calc-option, calc-is-option): New functions.
11035         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
11036         (calc-option-prefix-help): New function.
11038         * calc/calc-misc.el (calc-help): Add "Option" entry.
11040         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
11041         (calc-option-flag): New variable.
11042         (calc-do): Set `calc-option-flag to nil.
11043         (calc-set-mode-line): Add "Opt " as appropriate.
11045 2010-04-16  Juri Linkov  <juri@jurta.org>
11047         Move scrolling commands from simple.el to window.el
11048         because their primitives are implemented in window.c.
11050         * simple.el (scroll-error-top-bottom)
11051         (scroll-up-command, scroll-down-command, scroll-up-line)
11052         (scroll-down-line, scroll-other-window-down)
11053         (beginning-of-buffer-other-window, end-of-buffer-other-window):
11054         * window.el (scroll-error-top-bottom)
11055         (scroll-up-command, scroll-down-command, scroll-up-line)
11056         (scroll-down-line, scroll-other-window-down)
11057         (beginning-of-buffer-other-window, end-of-buffer-other-window):
11058         Move from simple.el to window.el because their primitives are
11059         implemented in window.c.
11061 2010-04-16  Juri Linkov  <juri@jurta.org>
11063         * isearch.el (isearch-lookup-scroll-key): Check both
11064         `isearch-scroll' and `scroll-command' properties.
11065         (scroll-up, scroll-down): Remove `isearch-scroll' property.
11067         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
11069         * simple.el (scroll-up-command, scroll-down-command)
11070         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
11072 2010-04-15  Juri Linkov  <juri@jurta.org>
11074         * simple.el (scroll-up-command, scroll-down-command)
11075         (scroll-up-line, scroll-down-line): Put `scroll-command'
11076         property on the these symbols.  Remove them from
11077         `scroll-preserve-screen-position-commands'.
11079         * mwheel.el (mwheel-scroll): Put `scroll-command' and
11080         `isearch-scroll' properties on the `mwheel-scroll' symbol.
11081         Remove it from `scroll-preserve-screen-position-commands'.
11083         * isearch.el (isearch-allow-scroll): Doc fix.
11085 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
11087         * net/tramp.el (tramp-error-with-buffer): Don't show the
11088         connection buffer when we are in completion mode.
11089         (tramp-file-name-handler): Catch the error for some operations
11090         when we are in completion mode.  This gives the user the chance to
11091         correct the file name in the minibuffer.
11093 2010-04-15  Glenn Morris  <rgm@gnu.org>
11095         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
11097 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
11099         Simplify by using `define-derived-mode'.
11100         * info.el (Info-mode):
11101         * calendar/todo-mode.el (todo-mode):
11102         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
11103         (gomoku-mode-map): Move initialization into declaration.
11105 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
11107         Fix Bug#5840.
11108         * ido.el (ido-file-name-all-completions-1):
11109         * minibuffer.el (minibuffer-completion-help):
11110         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
11112 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11114         * simple.el (non-essential): New var.
11116         Add a new field `location' to bookmarks for non-file bookmarks.
11117         * bookmark.el (bookmark-location): Use the new field, if present.
11118         (bookmark-insert-location): Undo last change, not needed any more.
11119         * man.el (Man-bookmark-make-record):
11120         * woman.el (woman-bookmark-make-record): Add `location' field.
11122 2010-04-14  Juri Linkov  <juri@jurta.org>
11124         * simple.el (scroll-error-top-bottom): New defcustom.
11125         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
11127         * emulation/pc-select.el (pc-select-override-scroll-error):
11128         Obsolete in favor of `scroll-error-top-bottom'.
11130 2010-04-14  Juri Linkov  <juri@jurta.org>
11132         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
11133         `scroll-up-command' and `M-v' to `scroll-down-command'.
11135         * emulation/cua-rect.el (cua--init-rectangles):
11136         * forms.el (forms--change-commands):
11137         * image-mode.el (image-mode-map):
11138         Remap scroll-down-command and scroll-up-command
11139         in addition to scroll-down and scroll-up.
11141 2010-04-14  Juri Linkov  <juri@jurta.org>
11143         * mwheel.el (scroll-preserve-screen-position-commands):
11144         Add mwheel-scroll to this list of commands.
11146         * simple.el (scroll-preserve-screen-position-commands):
11147         Add scroll-up-command, scroll-down-command, scroll-up-line,
11148         scroll-down-line to this list of commands.
11150 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11152         * obsolete/complete.el: Move from lisp/complete.el.
11154         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
11156         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
11157         to the minor mode function now turns the mode ON unconditionally.
11159 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11161         * vc-dir.el (vc-dir-kill-line): New command.
11162         (vc-dir-mode-map): Bind it to C-k.
11164         * bookmark.el (bookmark-insert-location): Handle a nil filename.
11166         * woman.el: Add bookmark declarations to silence the compiler.
11167         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
11168         step to compatibility between man and woman bookmarks.
11169         Adjust for Man-default-bookmark-title renaming.
11170         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
11172         * man.el: Add bookmark declarations to silence the compiler.
11173         (Man-name-local-regexp): Make it match NAME as well.
11174         (Man-getpage-in-background): Return the buffer.
11175         (Man-notify-when-ready): Use `case'.
11176         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
11177         Don't hardcode "NAME".  Simplify.
11178         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
11179         Rename from Man-bookmark-make-record.
11180         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
11181         we have the actual man-args.  Use Man-getpage-in-background rather
11182         than `man' since the arg is already processed.  Let bookmark.el do the
11183         window handling.  Only wait for the relevant process.
11184         Don't forget to autoload.
11186         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
11188 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11190         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
11191         New functions.
11192         (woman-mode): Setup bookmark support.
11194         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
11195         (man-bookmark-jump): New functions.
11196         (Man-mode): Setup bookmark support.
11198 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
11200         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
11201         recognize ssh-keygen prompt (Bug#2817).
11203 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
11205         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
11207 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
11209         Synchronize with Tramp repository.
11211         * net/tramp.el (tramp-completion-function-alist)
11212         (tramp-file-name-regexp, tramp-chunksize)
11213         (tramp-local-coding-commands, tramp-remote-coding-commands):
11214         Fix docstring.
11215         (tramp-remote-process-environment): Use `format' instead of `concat'.
11216         (tramp-handle-directory-files-and-attributes)
11217         (tramp-get-remote-path): Use `copy-tree'.
11218         (tramp-handle-file-name-all-completions): Backward/ XEmacs
11219         compatibility: Use `completion-ignore-case' if
11220         `read-file-name-completion-ignore-case' does not exist.
11221         (tramp-do-copy-or-rename-file-directly): Do not use
11222         `tramp-handle-file-remote-p'.
11223         (tramp-do-copy-or-rename-file-out-of-band):
11224         Use `tramp-compat-delete-directory'.
11225         (tramp-do-copy-or-rename-file-out-of-band)
11226         (tramp-compute-multi-hops, tramp-maybe-open-connection):
11227         Use `format-spec-make'.
11228         (tramp-find-foreign-file-name-handler)
11229         (tramp-advice-make-auto-save-file-name)
11230         (tramp-set-auto-save-file-modes): Remove superfluous check for
11231         `stringp'.  This is done inside `tramp-tramp-file-p'.
11232         (tramp-debug-outline-regexp): New defconst.
11233         (tramp-get-debug-buffer): Use it.
11234         (tramp-check-for-regexp): Use (forward-line 1).
11235         (tramp-set-auto-save-file-modes): Adapt version check.
11237         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
11238         Wrap call of `featurep' for 2nd argument.
11239         (tramp-compat-make-temp-file): Simplify fallback implementation.
11240         (tramp-compat-copy-tree): Remove function.
11241         (tramp-compat-delete-directory): Provide implementation for older
11242         Emacsen.
11244         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
11245         Do not use `tramp-fish-handle-file-attributes.
11247         * net/trampver.el: Update release number.
11249 2010-04-10  Glenn Morris  <rgm@gnu.org>
11251         * progmodes/compile.el (compilation-save-buffers-predicate):
11252         Add missing :version tag.
11254 2010-04-09  Sam Steingold  <sds@gnu.org>
11256         * progmodes/compile.el (compilation-save-buffers-predicate):
11257         Remove the "autoload" cookie.
11259         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
11260         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
11261         and `bug-reference-prog-mode' can be used in hooks directly.
11263 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
11265         Add --author support to git commit.
11266         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
11267         (vc-git-log-edit-mode): New minor mode.
11268         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
11269         New declarations.
11271 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
11273         * vc-hooks.el, vc-git.el: Improve documentation comments.
11275 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11277         Fix some of the problems in defsubst* (bug#5728).
11278         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
11279         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
11281 2010-04-07  Sam Steingold  <sds@gnu.org>
11283         * progmodes/compile.el (compilation-save-buffers-predicate):
11284         New custom variable.
11285         (compile, recompile): Pass it to `save-some-buffers'.
11287 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
11289         * wid-edit.el (widget-choose): Move cursor to the second line of
11290         the buffer (Bug#5695).
11292 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
11294         Add new VC methods: vc-log-incoming and vc-log-outgoing.
11295         * vc.el (vc-print-log-setup-buttons): New function split out from
11296         vc-print-log-internal.
11297         (vc-log-internal-common): New function, a parametrized version of
11298         vc-print-log-internal.
11299         (vc-print-log-internal): Just call vc-log-internal-common with the
11300         right arguments.
11301         (vc-incoming-outgoing-internal):
11302         (vc-log-incoming, vc-log-outgoing): New functions.
11303         (vc-log-view-type): New permanent local variable.
11305         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
11307         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
11308         of the dynamic bound vc-short-log.
11309         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
11311         * vc-git.el (vc-git-log-outgoing): New function.
11312         (vc-git-log-view-mode): Use vc-log-view-type instead
11313         of the dynamic bound vc-short-log.
11315         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
11316         of the dynamic bound vc-short-log.  Highlight the tag.
11317         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
11318         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
11319         (vc-hg-incoming-mode): Remove.
11320         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
11322 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
11324         Fix default-directory for vc-root-diff.
11325         * vc.el (vc-root-diff): Bind default-directory to the root
11326         directory for the diff command.
11328 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
11330         * progmodes/verilog-mode.el (verilog-forward-sexp):
11331         (verilog-calc-1): Support "disable fork" and "fork wait" multi
11332         word keywords, suggested by Steve Pearlmutter.
11333         (verilog-pretty-declarations): Support lineup of declarations in
11334         port lists.
11335         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
11336         fix bug for /* / comments.
11337         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
11338         Speed up and simplfy as this is never called with a bound.
11339         (verilog-pretty-declarations): Enhance to line up declarations
11340         inside a parameter list, suggested by Alan Morgan.
11341         (verilog-pretty-expr): Tune assignment regular expression match
11342         string for corner cases; also use markers instead of character
11343         number as indent changes the later.
11345 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
11347         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
11348         as missing keyword.
11349         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
11350         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
11351         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
11352         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
11353         Tennant.
11354         (verilog-keywords):
11355         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
11356         1800-2009 keywords, including "global.".
11358 2010-04-06  John Wiegley  <jwiegley@gmail.com>
11360         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
11361         appearing in buffer list (if a live buffer name matched a recentf
11362         file basename).  Should use uniquify to offer a real solution.
11364 2010-04-06  John Wiegley  <jwiegley@gmail.com>
11366         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11367         comment to code, and add a :version tag.
11368         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11370 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
11372         Enable recentf-mode if using virtual buffers.
11373         * ido.el (recentf-list): Declare for byte-compiler.
11374         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
11375         (ido-make-buffer-list): Simplify.
11376         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
11378 2010-04-05  Juri Linkov  <juri@jurta.org>
11380         Scrolling commands which scroll a line instead of full screen.
11381         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11383         * simple.el (scroll-up-line, scroll-down-line): New commands.
11384         Put property isearch-scroll=t on them.
11386         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
11387         Remove commands.
11389 2010-04-05  Juri Linkov  <juri@jurta.org>
11391         Scrolling commands which do not signal errors at top/bottom.
11392         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11394         * simple.el (scroll-up-command, scroll-down-command): New commands.
11395         Put property isearch-scroll=t on them.
11397         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
11398         `scroll-down-command' and [next] from `scroll-up' to
11399         `scroll-up-command'.
11401         * emulation/cua-base.el: Put property CUA=move on
11402         `scroll-up-command' and `scroll-down-command'.
11403         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
11404         and `scroll-down-command' to `cua-scroll-down'.
11406 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
11408         * help.el (describe-mode): Return nil.
11410 2010-04-04  John Wiegley  <jwiegley@gmail.com>
11412         * ido.el (ido-use-virtual-buffers): New variable to indicate
11413         whether "virtual buffer" support is enabled for IDO.
11414         (ido-virtual): Face used to indicate virtual buffers in the list.
11415         (ido-buffer-internal): If a buffer is chosen, and no such buffer
11416         exists, but a virtual buffer of that name does (which would be why
11417         it was in the list), recreate the buffer by reopening the file.
11418         (ido-make-buffer-list): If virtual buffers are being used, call
11419         `ido-add-virtual-buffers-to-list' before the make list hook.
11420         (ido-virtual-buffers): New variable which contains a copy of the
11421         current contents of the `recentf-list', albeit pared down for the
11422         sake of speed, and with proper faces applied.
11423         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
11424         create a list of "virtual buffers" to present to the user in
11425         addition to the currently open set.  Note that this logic could
11426         get rather slow if that list is too large.  With the default
11427         `recentf-max-saved-items' of 200, there is little speed penalty.
11429 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11431         * font-lock.el: Require CL when compiling.
11432         (font-lock-turn-on-thing-lock): Use `case'.
11434 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
11436         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
11437         Zaretskii.
11439 2010-04-02  Juri Linkov  <juri@jurta.org>
11441         * ehelp.el (electric-help-orig-major-mode):
11442         New buffer-local variable.
11443         (electric-help-mode): Set it to original major-mode.  Doc fix.
11444         (with-electric-help): Use `electric-help-orig-major-mode' instead
11445         of (default-value 'major-mode).  Doc fix.
11446         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
11448 2010-04-02  Sam Steingold  <sds@gnu.org>
11450         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
11451         `vc-hg-command' with a list of flags.
11453         * progmodes/bug-reference.el (bug-reference-bug-regexp):
11454         Also accept "patch" and "RFE".
11455         (bug-reference-fontify): `bug-reference-url-format' can also be a
11456         function to be able to handle the bug kind.
11457         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
11459 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
11461         * tmm.el (tmm-get-keymap): Check with symbolp before passing
11462         value to fboundp, it may not be a symbol.
11464 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
11466         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
11468 2010-03-31  Juri Linkov  <juri@jurta.org>
11470         * simple.el (next-line, previous-line): Re-throw a signal
11471         with `signal' instead of using `ding'.
11472         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
11474 2010-03-31  Juri Linkov  <juri@jurta.org>
11476         * simple.el (keyboard-escape-quit): Raise deselecting the active
11477         region higher than exiting the minibuffer.
11478         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
11480 2010-03-31  Juri Linkov  <juri@jurta.org>
11482         * image.el (image-animated-p): Use `image-metadata' instead of
11483         `image-extension-data'.  Get GIF extenstion data from metadata
11484         property `extension-data'.
11486 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11488         * simple.el (append-to-buffer): Simplify.
11490 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
11492         * textmodes/artist.el (artist-mode): Fix typo in docstring.
11493         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
11495 2010-03-31  Kenichi Handa  <handa@m17n.org>
11497         * language/sinhala.el (composition-function-table): Fix regexp for
11498         the new Unicode specification.
11500         * language/indian.el (devanagari-composable-pattern)
11501         (tamil-composable-pattern, kannada-composable-pattern)
11502         (malayalam-composable-pattern): Adjust for the new Unicode
11503         specification.
11504         (bengali-composable-pattern, gurmukhi-composable-pattern)
11505         (gujarati-composable-pattern, oriya-composable-pattern)
11506         (telugu-composable-pattern): New variables to cope with the new
11507         Unicode specification.  Use them in composition-function-table.
11509 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11511         Make tmm-menubar work for the Buffers menu again (bug#5726).
11512         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
11513         vectors rather than cons cells, as used in menu-bar-update-buffers.
11515 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
11517         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
11518         (js-insert-and-indent): Revert 2009-08-15 change, restoring
11519         electric punctuation for "{}();,:" (Bug#5586).
11521         * mail/sendmail.el (mail-default-directory): Doc fix.
11523 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
11525         * mail/sendmail.el (mail-default-directory): Doc fix.
11527 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
11529         * subr.el (version-regexp-alist, version-to-list)
11530         (version-list-<, version-list-=, version-list-<=)
11531         (version-list-not-zero, version<, version<=, version=): Doc fix.
11532         (Bug#5744).
11534 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
11536         * vc.el (vc-root-diff): Doc fix.
11538 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
11540         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
11542         * simple.el (append-to-buffer): Fix last change.
11544 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
11546         * simple.el (append-to-buffer): Ensure that point is preserved if
11547         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
11548         (Bug#5749)
11550 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11552         * files.el (auto-mode-case-fold): Change default to t.
11554 2010-03-30  Juri Linkov  <juri@jurta.org>
11556         * dired-x.el (dired-omit-mode): Doc fix.
11558 2010-03-30  Juri Linkov  <juri@jurta.org>
11560         * replace.el (occur-accumulate-lines): Move occur-engine related
11561         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
11562         to be located after `occur-engine'.
11564 2010-03-30  Juri Linkov  <juri@jurta.org>
11566         Make occur handle multi-line matches cleanly with context.
11567         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
11569         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
11570         (occur-engine): Add local variables `ret', `prev-after-lines',
11571         `prev-lines'.  Use more arguments for `occur-context-lines'.
11572         Set first elem of its returned list to `data', and the second elem
11573         to `prev-after-lines'.  Don't print the separator line.
11574         In the end, print remaining context after-lines.
11575         (occur-context-lines): Add new arguments `begpt', `endpt',
11576         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
11577         after-lines of the previous match with before-lines of the
11578         current match and not overlap them.  Return a list with two
11579         values: the output line and the list of context after-lines.
11581 2010-03-30  Juri Linkov  <juri@jurta.org>
11583         * replace.el (occur-accumulate-lines): Fix a bug where the first
11584         context line at the beginning of the buffer was missing.
11586 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
11588         * files.el: Make bidi-display-reordering safe variable for boolean
11589         values.
11591 2010-03-29  Phil Hagelberg  <phil@evri.com>
11592             Chong Yidong  <cyd@stupidchicken.com>
11594         * subr.el: Extend progress reporters to perform "spinning".
11595         (progress-reporter-update, progress-reporter-do-update):
11596         Handle non-numeric value arguments.
11597         (progress-reporter--pulse-characters): New var.
11599 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
11601         * progmodes/compile.el (compilation-start): Fix regexp detection
11602         of initial cd command (Bug#5771).
11604 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
11606         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
11608 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
11610         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
11611         * progmodes/gdb-mi.el: Restore.
11612         * progmodes/gdb-ui.el: Remove.
11613         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
11615 2010-03-25  Glenn Morris  <rgm@gnu.org>
11617         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
11618         all dired buffers, even tramp ones.  (Bug#5755)
11620 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11622         Add "union tags" in mpc.el.
11623         * mpc.el: Remove backward compatibility code.
11624         (mpc-browser-tags): Change default.
11625         (mpc--find-memoize-union-tags): New var.
11626         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
11627         (mpc-cmd-find): Handle the case where the playlist does not exist.
11628         Handle union-tags.
11629         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
11630         (mpc-cmd-add): Use mpc-cmd-flush.
11631         (mpc-tagbrowser-tag-name): New fun.
11632         (mpc-tagbrowser-buf): Use it.
11633         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
11635 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11637         Misc cleanup.
11638         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
11639         Use replace-regexp-in-string.
11640         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
11641         (makefile-imake-mode-syntax-table): Move init into defvar.
11642         (makefile-mode): Use define-derived-mode.
11644         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
11645         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
11646         not be present any more.
11648 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
11650         * faces.el (set-face-attribute): Fix typo in docstring.
11651         (face-valid-attribute-values): Reflow docstring.
11653 2010-03-24  Glenn Morris  <rgm@gnu.org>
11655         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
11657 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
11659         * indent.el (indent-for-tab-command): Doc fix.
11661 2010-03-24  Alan Mackenzie  <acm@muc.de>
11663         * progmodes/cc-engine.el (c-remove-stale-state-cache):
11664         Fix off-by-one error.  Fixes bug #5747.
11666 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
11668         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
11669         (image-dired-read-comment): Doc fix.
11671         * json.el (json-object-type, json-array-type, json-key-type)
11672         (json-false, json-null, json-read-number):
11673         * minibuffer.el (completion-in-region-functions):
11674         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
11675         (cal-tex-cursor-week):
11676         * emacs-lisp/trace.el (trace-function):
11677         * eshell/em-basic.el (eshell/printnl):
11678         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
11679         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
11680         * obsolete/levents.el (allocate-event, event-key, event-object)
11681         (event-point, event-process, event-timestamp, event-to-character)
11682         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
11683         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
11684         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
11685         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
11686         (reftex-highlight-selection): Fix typos in docstrings.
11688 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
11690         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
11692 2010-03-24  Glenn Morris  <rgm@gnu.org>
11694         * mail/rmail.el (rmail-highlight-face): Restore option deleted
11695         2008-02-13 without comment; mark it obsolete.
11696         (rmail-highlight-headers): Use rmail-highlight-face once more.
11698 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
11700         * woman.el (woman2-process-escapes): Only consume the newline if
11701         the filler character is on a line by itself (Bug#5729).
11703 2010-03-24  Kenichi Handa  <handa@m17n.org>
11705         * language/indian.el (devanagari-composable-pattern): Add more
11706         consonants.
11708 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
11710         * net/trampver.el: Update release number.
11712 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
11714         * net/tramp.el (tramp-find-executable):
11715         Use `tramp-get-connection-buffer'.  Make the regexp for checking
11716         output of "wc -l" more robust.
11717         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
11718         (tramp-open-connection-setup-interactive-shell): Remove workaround
11719         for OpenSolaris bug, it is not needed anymore.
11721 2010-03-24  Glenn Morris  <rgm@gnu.org>
11723         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
11725 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
11727         * files.el (auto-mode-alist): Accept more verilog file patterns.
11729 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11731         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
11733 2010-03-24  Glenn Morris  <rgm@gnu.org>
11735         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
11736         log-edit-before-checkin-process.
11738         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
11740         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
11742         * vc-dispatcher.el (vc-start-logentry): Doc fix.
11743         (log-view-process-buffer, log-edit-extra-flags): Declare.
11745         * log-edit.el (log-edit-before-checkin-process): Doc fix.
11747 2010-03-23  Sam Steingold  <sds@gnu.org>
11749         Fix bug#5620: recalculate all markers on compilation buffer
11750         modifications, not on file modifications.
11751         * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
11752         variable: the buffer modification time, for buffers not associated with
11753         files.
11754         (compilation-mode): Create it.
11755         (compilation-filter): Update it.
11756         (compilation-next-error-function): Use it instead of
11757         `visited-file-modtime' for timestamp.
11759 2010-03-23  Juri Linkov  <juri@jurta.org>
11761         Implement Occur multi-line matches.
11762         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
11764         * replace.el (occur): Doc fix.
11765         (occur-engine): Set `begpt' to the beginning of the first line.
11766         Set `endpt' to the end of the last match line.  At first, count
11767         line numbers between `origpt' and `begpt'.  Split out code from
11768         `out-line' variable to new let-bindings `match-prefix' and
11769         `match-str'.  In `out-line' add non-numeric prefix to all
11770         non-first lines of multi-line matches.  Finally, count lines
11771         between `begpt' and `endpt' and add to `lines'.
11773 2010-03-23  Juri Linkov  <juri@jurta.org>
11775         * replace.el (occur-accumulate-lines, occur-engine):
11776         Use `occur-engine-line' instead of duplicate code.
11777         (occur-engine-line): New function created from duplicate code
11778         in `occur-accumulate-lines' and `occur-engine'.
11780         * replace.el (occur-engine-line): Add optional arg `keep-props'.
11781         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
11783 2010-03-23  Juri Linkov  <juri@jurta.org>
11785         * finder.el: Remove TODO tasks.
11787         * info.el (Info-finder-find-node): Add node "all"
11788         with all package info.  Handle a list of multiple keywords
11789         separated by comma.
11790         (info-finder): In interactive use with a prefix argument,
11791         use `completing-read-multiple' to read a list of keywords
11792         separated by comma.
11794 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11796         Add a new completion style `substring'.
11797         * minibuffer.el (completion-basic--pattern): New function.
11798         (completion-basic-try-completion, completion-basic-all-completions):
11799         Use it.
11800         (completion-substring--all-completions)
11801         (completion-substring-try-completion)
11802         (completion-substring-all-completions): New functions.
11803         (completion-styles-alist): New style `substring'.
11805 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11807         Get rid of .elc files after removal of the corresponding .el.
11808         * Makefile.in (compile-clean): New target.
11809         (compile-main): Use it.
11811 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
11813         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
11814         don't do make there.  When compiling with separate object dir, there
11815         is no Makefile there.
11817 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11819         Get rid of the ELCFILES abomination, again.
11820         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11821         (all, compile): Don't call compile-last.
11822         (compile-main): Build the "elcfiles" list dynamically.
11823         (compile-targets): New (internal) target.
11825 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
11827         * Makefile.in (top_srcdir): Define.
11828         (abs_top_builddir): Define.
11829         (srcdir): Don't append `/..'.
11830         (EMACS): Use ${abs_top_builddir}.
11831         (all, compile, compile-always, compile-last): Don't set emacswd.
11832         (update-subdirs, update-authors): Use $(top_srcdir) instead of
11833         $(srcdir).
11834         (lisp): Use $(srcdir) instead of @srcdir@.
11836 2010-03-21  Juri Linkov  <juri@jurta.org>
11838         Fix message of multi-line occur regexps and multi-buffer header lines.
11839         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
11841         * replace.el (occur-1): Don't display regexp if it is longer
11842         than window-width.  Use `query-replace-descr' to display regexp.
11843         (occur-engine): Don't display regexp in the buffer header for
11844         multi-buffer occur.  Display a separate header line with total
11845         match count and regexp for multi-buffer occur.
11846         Use `query-replace-descr' to display regexp.
11848 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
11850         * net/secrets.el: Fix parenthesis.
11851         (secrets-enabled): Fix parenthesis.
11853 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11855         Use more relative file and directory names.
11856         * Makefile.in (EMACS): Arrange for it to work when we chdir.
11857         (setwins, setwins_almost, setwins_for_subdirs):
11858         Don't `cd'; output relative names.
11859         (all, compile, compile-always, compile-last): Set emacswd.
11860         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
11861         Just cd to the lisp source dir so we can use relative file names.
11863         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
11865 2010-03-20  Glenn Morris  <rgm@gnu.org>
11867         * textmodes/rst.el: Use faces for font-lock customization, and make the
11868         old -face variables obsolete.
11869         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
11870         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
11871         (rst-block-face, rst-external-face, rst-definition-face)
11872         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
11873         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
11874         Make obsolete.
11875         (rst-font-lock-keywords-function): Update for above changes.
11877 2010-03-20  Juri Linkov  <juri@jurta.org>
11879         * s-region.el:
11880         * obsolete/s-region.el: Move to obsolete.
11882 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
11884         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
11886 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
11888         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
11890 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
11892         Add special markup processing for commit logs.
11893         * log-edit.el (log-edit-extra-flags): New variable.
11894         (log-edit): Add new argument MODE.  Use that mode when non-nil
11895         instead of the log-view-mode.
11896         (log-view-process-buffer): New function.
11898         * vc.el: Document that the checkin method takes optional
11899         arguments.  Document new backend specific method: log-view-mode.
11900         (vc-default-log-edit-mode): New function.
11901         (vc-checkin): Use a backend specific log-view-mode.
11902         Pass extra arguments to the checkin method.
11903         (vc-modify-change-comment): Pass a dummy extra argument.
11905         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
11906         log-edit.
11907         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
11908         (vc-finish-logentry): Process the log buffer before passing it
11909         down.  Pass log-edit-extra-flags.
11911         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
11912         command.
11913         (log-edit-extra-flags, log-edit-before-checkin-process):
11914         New declarations.
11916         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
11917         command.
11918         (log-edit-extra-flags, log-edit-before-checkin-process):
11919         New declarations.
11920         (vc-hg-log-edit-mode): New derived mode.
11922         * vc-arch.el (vc-arch-checkin):
11923         * vc-cvs.el (vc-cvs-checkin):
11924         * vc-git.el (vc-git-checkin):
11925         * vc-mtn.el (vc-mtn-checkin):
11926         * vc-rcs.el (vc-rcs-checkin):
11927         * vc-sccs.el (vc-sccs-checkin):
11928         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
11930 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11932         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
11933         parent typo).
11935 2010-03-19  Glenn Morris  <rgm@gnu.org>
11937         * password-cache.el (password-cache, password-cache-expiry): Autoload.
11939 2010-03-18  Glenn Morris  <rgm@gnu.org>
11941         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
11943         * replace.el (query-replace-history): Give it a doc string.
11944         (map-query-replace-regexp): Use query-replace-from-history-variable
11945         and query-replace-to-history-variable.
11947         * mail/hashcash.el (declare-function): Remove duplicate definition.
11949         * mail/emacsbug.el (report-emacs-bug-pretest-address):
11950         Make it an obsolete alias for report-emacs-bug-address.
11951         (message-strip-special-text-properties): Declare.
11952         (report-emacs-bug): Remove test for a pretest bug address.
11953         Combine message-mode-specific code.
11955         * mail/supercite.el: Don't require sendmail.
11956         (mh-in-header-p): Declare rather than using with-no-warnings.
11957         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
11958         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
11960         * calendar/cal-french.el: Convert to utf-8.
11962         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
11963         Emacs scripts.
11965 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
11967         * net/secrets.el (secrets-enabled): New variable.  Use it instead
11968         of a subfeature.
11970 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
11972         * net/secrets.el (top): Register the D-Bus signals only when the
11973         service "org.freedesktop.secrets" can be pinged.
11974         Provide subfeature `enabled'.
11976 2010-03-14  Juri Linkov  <juri@jurta.org>
11978         Add finder unknown keywords.
11980         * finder.el (finder-unknown-keywords): New function.
11982         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
11983         to create a Finder node with unknown keywords.
11985 2010-03-14  Juri Linkov  <juri@jurta.org>
11987         * finder.el (finder-compile-keywords): Replace `princ' with
11988         `prin1' on a list of symbols interned from keyword strings.
11990         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
11991         a comma, then split keywords using a comma and optional whitespace.
11992         Otherwise, split by whitespace.
11994         * complete.el:
11995         * face-remap.el:
11996         * log-view.el:
11997         * net/hmac-def.el:
11998         * net/hmac-md5.el:
11999         * net/netrc.el:
12000         * progmodes/mixal-mode.el: Fix keywords.
12002 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
12004         * Makefile.in (ELCFILES): Add net/secrets.elc.
12006         * net/secrets.el: New file.
12008 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12010         * facemenu.el (list-colors-display, list-colors-print): New arg
12011         callback.  Use it to allow selecting colors.
12013         * wid-edit.el (widget-image-insert): Insert image prop even if the
12014         current display is non-graphic.
12015         (widget-field-value-set): New fun.
12016         (editable-field): Use it.
12017         (widget-field-value-get): Clean up unused var.
12018         (widget-color-value-create, widget-color--choose-action):
12019         New funs.  Allow using list-colors-display to choose color.
12021 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12023         * cus-edit.el: Resort topmost custom groups.
12024         (custom-buffer-sort-alphabetically): Default to t.
12025         (customize-apropos): Use apropos-parse-pattern.
12026         (custom-search-field): New var.
12027         (custom-buffer-create-internal): Add custom-apropos search field.
12028         (custom-add-parent-links): Don't display parent doc.
12029         (custom-group-value-create): Don't sort top-level custom group.
12030         (custom-magic-value-create): Show visibility button before option name.
12032         (custom-variable-state): New fun, from custom-variable-state-set.
12033         (custom-variable-state-set): Use it.
12034         (custom-group-value-create): Hide options with standard values
12035         using the :hidden-states property.  Use progress reporter.
12037         (custom-show): Simplify.
12038         (custom-visibility): Disable images by default.
12039         (custom-variable): New property :hidden-states.
12040         (custom-variable-value-create): Enable images for
12041         custom-visibility widgets.  Use :hidden-states property to
12042         determine initial visibility.
12044         * wid-edit.el (widget-image-find): Give images center ascent.
12045         (visibility): Add :on-image and :off-image properties.
12046         (widget-visibility-value-create): Use them.
12048 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12050         * cus-edit.el (processes): Remove from development group.
12051         (oop, hypermedia): Delete group.
12052         (comm): Promote to top-level group.
12054         * net/browse-url.el (browse-url):
12055         * net/xesam.el (xesam):
12056         * net/tramp.el (tramp):
12057         * net/goto-addr.el (goto-address):
12058         * net/ange-ftp.el (ange-ftp): Put in comm group.
12060         * view.el (view): Remove from editing group.
12062         * uniquify.el (uniquify): Put in files group.
12064         * net/browse-url.el (browse-url):
12065         * ps-print.el (postscript): Put in external group.
12067         * cus-edit.el (outlines):
12068         * textmodes/text-mode.el (text-mode-hook):
12069         * textmodes/table.el (table):
12070         * textmodes/picture.el (picture):
12071         * outline.el (outlines): Put in wp group.
12073         * nxml/nxml-mode.el (nxml): Remove from wp group.
12075         * net/tramp-imap.el (tramp-imap): Put in tramp group.
12077         * mail/metamail.el (metamail): Remove from hypermedia group.
12079         * cus-edit.el (abbrev):
12080         * whitespace.el (whitespace):
12081         * vcursor.el (vcursor):
12082         * reveal.el (reveal):
12083         * hl-line.el (hl-line): Put in convenience group.
12085         * epg-config.el (epg): Put in data group.
12087         * emulation/pc-select.el (pc-select): Put in emulations group.
12089         * calculator.el (calculator): Put in applications group.
12091 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
12093         Add .dir-locals.el support for file-less buffers.
12094         * files.el (hack-local-variables): Split out code to apply local
12095         variable settings ...
12096         (hack-local-variables-apply): ... here.  New function.
12097         (hack-dir-local-variables): Use the default directory for when the
12098         buffer does not have an associated file.
12099         (hack-dir-local-variables-non-file-buffer): New function.
12100         * diff-mode.el (diff-mode):
12101         * vc-annotate.el (vc-annotate-mode):
12102         * vc-dir.el (vc-dir-mode):
12103         * log-edit.el (log-edit-mode):
12104         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
12106 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
12108         Add support for shelving snapshots and for showing shelves.
12109         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
12110         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
12111         New functions.
12112         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12113         (vc-bzr-extra-menu-map): Map them.
12115 2010-03-11  Glenn Morris  <rgm@gnu.org>
12117         * cus-edit.el (customize-changed-options-previous-release):
12118         Bump to 23.1.
12120         * image.el (image-animate-max-time): Fix :version tag.
12122 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
12124         * Branch for 23.2.
12126 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
12128         * vc-git.el (vc-git-revision-table): Include remote branches.
12130 2010-03-10  Kim F. Storm  <storm@cua.dk>
12132         Animated image API.
12133         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
12135         * image.el (image-animate-max-time): New defcustom.
12136         (image-animated-types): New defconst.
12137         (create-animated-image, image-animate-timer)
12138         (image-animate-start, image-animate-stop, image-animate-timeout)
12139         (image-animated-p): New functions.
12141         * image-mode.el (image-toggle-display-image):
12142         Replace `create-image' with `create-animated-image'.
12144 2010-03-09  Miles Bader  <miles@gnu.org>
12146         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
12147         instead of "format:"; this ensures that the output is
12148         newline-terminated.
12150 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
12152         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
12153         that all errors are caught, and that the return value is always a
12154         list (Bug#5692).
12156 2010-03-08  Kenichi Handa  <handa@m17n.org>
12158         * language/misc-lang.el (windows-1256): New coding system.
12159         (cp1256): New alias of windows-1256 (bug#5690).
12161 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
12163         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
12164         call to rfc822-bad-address.  (Bug#5692)
12166 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
12168         * vc-git.el (vc-git-annotate-extract-revision-at-line):
12169         Use vc-git-root as default directory for revision path (Bug#5657).
12171 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
12173         * calculator.el (calculator): Don't bind split-window-keep-point
12174         (Bug#5674).
12176 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12178         * vc-git.el: Re-flow to fit into 80 columns.
12179         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
12180         Remove spurious `quote' element in each case alternative.
12181         (vc-git-show-log-entry): Use prog1.
12182         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
12184 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12186         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
12188 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
12190         * macros.el (insert-kbd-macro): Look up keyboard macro using the
12191         definition, not the name (Bug#5481).
12193 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
12195         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
12196         argument with a local variable.  (Bug#5670)
12198 2010-03-02  Juri Linkov  <juri@jurta.org>
12200         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
12202 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
12204         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
12205         error when FILENAME and NEWNAME are existing remote directories.
12207         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
12208         parameter DIR-FLAG.
12210 2010-03-02  Glenn Morris  <rgm@gnu.org>
12212         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
12213         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
12215 2010-03-01  Kenichi Handa  <handa@m17n.org>
12217         * language/burmese.el (burmese-composable-pattern): Rename from
12218         myanmar-composable-pattern.
12220         * international/characters.el (script-list):
12221         * international/fontset.el (script-representative-chars):
12222         Change myanmar to burmese.
12223         (otf-script-alist): Likewise.
12224         (setup-default-fontset): Likewise.  Re-fix :otf spec.
12226 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
12228         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
12230 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
12232         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
12234 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
12236         * net/tramp.el (tramp-handle-write-region): START can be a string.
12237         Take care in the checks.  Reported by Dan Davison
12238         <davison@stats.ox.ac.uk>.
12240 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
12242         * net/dbus.el (dbus-introspect, dbus-get-property)
12243         (dbus-set-property, dbus-get-all-properties):
12244         Use `dbus-call-method' when noninteractive.  (Bug#5645)
12246 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
12248         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
12249         * emacs-lisp/elint.el (elint-add-required-env):
12250         * calendar/icalendar.el (icalendar--add-diary-entry):
12251         * calc/calcalg2.el (math-tracing-integral):
12252         * files.el (recover-session-finish): Use with-current-buffer
12253         instead of save-excursion.
12255 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12257         Fix in-buffer completion when after-change-functions modify the buffer.
12258         * minibuffer.el (completion--replace): New function.
12259         (completion--do-completion): Use it and use relative movement.
12261 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
12263         * international/fontset.el (setup-default-fontset): Fix :otf spec.
12265 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
12267         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
12268         Allow the characters _<> in the stack entry (Bug#5653).
12270 2010-02-26  Kenichi Handa  <handa@m17n.org>
12272         * language/burmese.el: Fix entries in composition-function-table.
12273         (myanmar-composable-pattern): New variable.
12275         * international/fontset.el (setup-default-fontset): Add an entry
12276         for myanmar.
12278         * international/characters.el (script-list): Add Myanmar
12279         Extended-A.
12281 2010-02-26  Glenn Morris  <rgm@gnu.org>
12283         * custom.el (custom-initialize-delay): Doc fix.
12285         * mail/sendmail.el (send-mail-function): Autoload the call
12286         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
12288 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
12290         * files.el (hack-local-variables-filter): For eval forms, also
12291         check safe-local-variable-p (Bug#5636).
12293 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
12295         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
12296         setting the modes by `ignore-errors'.  It might fail, for example
12297         if the file is not owned by the user but the group.
12298         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
12300 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
12302         * files.el (directory-listing-before-filename-regexp):
12303         Use stricter matching for iso-style dates, to avoid false matches with
12304         date-like filenames (Bug#5597).
12306         * htmlfontify.el (htmlfontify): Doc fix.
12308         * eshell/eshell.el (eshell): Doc fix.
12310         * startup.el (fancy-about-screen): In mode-line, apply
12311         mode-line-buffer-id face only to the buffer name (Bug#5613).
12313 2010-02-20  Kevin Ryde  <user42@zip.com.au>
12315         * progmodes/compile.el (compilation-error-regexp-alist-alist):
12316         In `watcom' anchor regexp to start of line, to avoid slowness
12317         (Bug#5599).
12319 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
12321         * subr.el (remove-yank-excluded-properties): Explain in a comment
12322         why `category' property is removed.
12324 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
12326         * isearch.el (isearch-update-post-hook, isearch-update):
12327         Revert 2010-02-17 change.
12329 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
12331         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
12332         (icalendar--convert-weekly-to-ical)
12333         (icalendar--convert-yearly-to-ical)
12334         (icalendar--convert-block-to-ical)
12335         (icalendar--convert-cyclic-to-ical)
12336         (icalendar--convert-anniversary-to-ical): Take care of time
12337         specifications where hour has 1-digit only (Bug#5549).
12339 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
12341         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
12342         of disassemble output in GDB 7.1.
12344 2010-02-19  Glenn Morris  <rgm@gnu.org>
12346         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
12347         property.  (Bug#5593)
12349 2010-02-18  Sam Steingold  <sds@gnu.org>
12351         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
12353 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12355         Use abbreviated file names in bookmarks (bug#5591).
12356         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
12357         calls to expand-file-name.
12358         (bookmark-relocate): Use abbreviated file names in bookmarks.
12359         (bookmark-load): Use abbreviated file names in messages.
12361 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
12363         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
12364         expand "." and "..".  Reported by Thierry Volpiatto
12365         <thierry.volpiatto@gmail.com>.
12367 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
12369         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12370         permissions of the temporary file to "0600".  In case the remote
12371         file has no read permissions for the owner, there might be
12372         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
12374 22010-02-18  Glenn Morris  <rgm@gnu.org>
12376         * emacs-lisp/authors.el (authors-renamed-files-alist):
12377         Add entries for INSTALL.CVS.
12379 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
12381         * vc-bzr.el: Fix typo in Known Bugs section.
12383         * isearch.el (isearch-update-post-hook): New hook.
12384         (isearch-update): Use the new hook.
12386 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
12388         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12389         Fix errors in copying directories.
12390         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
12391         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
12392         (tramp-handle-delete-file)
12393         (tramp-handle-dired-recursive-delete-directory)
12394         (tramp-handle-write-region): Flush also the cache for the upper
12395         directory.
12397 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
12399         * simple.el (save-interprogram-paste-before-kill): Doc fix.
12401         * cus-edit.el (hardware): Doc fix.
12403         * man.el (man): Add to external custom group.
12405         * delim-col.el (columns): Move to wp custom group.
12407         * doc-view.el (doc-view): Add to data custom group.
12409         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
12411         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
12412         by ispell-parse-output (Bug#5575).
12414 2010-02-16  Kenichi Handa  <handa@m17n.org>
12416         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
12417         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
12418         (skkdic-convert): Use `euc-japan' coding system for writing.
12420 2010-02-16  Glenn Morris  <rgm@gnu.org>
12422         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
12423         tex-main-file before using it.  (Bug#5562)
12425 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12427         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
12428         warnings, since it is annoying for the user to see them each time he
12429         runs the code.
12431 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
12433         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
12434         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
12435         instead of PROC for caching "first-password-request".  Otherwise,
12436         new processes would not profit from passwords already entered.
12438         * net/tramp-cache.el (tramp-dump-connection-properties):
12439         Don't save "first-password-request" property.
12441 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
12443         * outline.el (outline-head-from-level):
12444         * simple.el (with-wrapper-hook):
12445         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
12446         (elint-defun, elint-buffer-env, elint-top-form-logged)
12447         (elint-unbound-variable):
12448         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
12449         Fix typos in docstrings.
12451 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
12453         * files.el (insert-directory): When WILDCARD-REGEXP and
12454         FULL-DIRECTORY-P are nil, insert the file entry instead of the
12455         whole directory.  (Bug#5551)
12457         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
12458         dired's alignment sanity.  (Bug#5516)
12460 2010-02-14  Juri Linkov  <juri@jurta.org>
12462         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
12463         Remove remaining ^H with their preceding chars.  (Bug#5566)
12465 2010-02-13  Glenn Morris  <rgm@gnu.org>
12467         * simple.el (transpose-subr): Give it a doc-string.
12469         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
12470         Doc fixes.
12472 2010-02-12  Juri Linkov  <juri@jurta.org>
12474         * arc-mode.el (archive-unique-fname): Make directories for nested
12475         archives.  (Bug#5540)
12477 2010-02-12  Juri Linkov  <juri@jurta.org>
12479         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
12481 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12483         * subr.el (copy-overlay): Handle deleted overlays.
12485         * man.el (Man-completion-table): Don't signal an error if we can't run
12486         manual-program (bug#4056).
12488 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
12490         * textmodes/artist.el (artist-mt): Fix typos in docstring.
12492 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12494         * info.el (Info-bookmark-jump): Simplify.
12496         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
12497         (bookmark-default-handler): Accept new bookmark field `buffer'.
12499 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
12501         * iswitchb.el (iswitchb-completions): Revert last change.
12503 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
12505         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
12506         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
12507         This prevents file names like "~/" being listed literally.
12509 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
12511         * term/xterm.el (xterm-maybe-set-dark-background-mode):
12512         Remove dead code.  (Bug#5546)
12514 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
12516         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
12517         correctly (Bug#5548).
12519 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
12521         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
12522         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
12524 2010-02-08  Kenichi Handa  <handa@m17n.org>
12526         * international/mule-util.el (with-coding-priority): Add autoload
12527         cookie for putting `lisp-indent-function'.
12529 2010-02-07  Glenn Morris  <rgm@gnu.org>
12531         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
12532         Move F2003 named interfaces from keywords-2 to keywords-1, and
12533         use function-name-face rather than constant-face.
12534         Simplify "abstract interface" regexp.
12536 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
12538         * eshell/esh-util.el (eshell-file-attributes): New optional arg
12539         ID-FORMAT.  Pass it to `file-attributes'.
12541         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
12543 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
12545         * faces.el (set-face-attribute): Allow calling
12546         internal-set-lisp-face-attribute with 'unspecified family and
12547         foundry argument (Bug#5536).
12549 2010-02-07  Glenn Morris  <rgm@gnu.org>
12551         * progmodes/f90.el (f90-font-lock-keywords-2)
12552         (f90-looking-at-type-like, f90-looking-at-program-block-end):
12553         Handle F2003 named interfaces.
12555 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
12557         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
12558         beg and end before calling c-get-state-before-change-functions.
12560 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
12562         * vc-bzr.el (vc-bzr-dir-extra-headers):
12563         Disable the pending merges header.
12565 2010-02-05  Juri Linkov  <juri@jurta.org>
12567         * doc-view.el (doc-view-mode):
12568         * image-mode.el (image-mode): Put property mode-class=special.
12569         (Bug#4896)
12571 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
12573         * vc-svn.el (vc-svn-revision-table): New function.
12575 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
12577         * net/ange-ftp.el (ange-ftp-insert-directory):
12578         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12579         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12580         Handle also directories.  (Bug#5478)
12582 2010-02-05  Glenn Morris  <rgm@gnu.org>
12584         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
12586 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
12588         * startup.el (command-line-1): Convert options beginning with a
12589         single dash as well (Bug#5519).
12591 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12593         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
12594         * minibuffer.el (completion-initials-expand): Only check the presence
12595         of delims *within* the boundaries, since otherwise the / delim is
12596         always found for files.
12598         Fix up various corner case problems.
12599         * doc-view.el (doc-view-last-page-number): New function.
12600         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
12601         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
12602         (doc-view-kill-proc): Avoid inf-loop in freak cases.
12603         (doc-view-reconvert-doc): Use the new recursive delete-directory.
12604         (doc-view-convert-current-doc): Don't create the resolution.el file
12605         here any more.
12606         (doc-view-pdf/ps->png): Do it here instead.
12607         (doc-view-already-converted-p): Check that resolution.el is present.
12608         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
12609         windows that are not yet showing images.
12611 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
12613         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
12614         `dired-uncache' for every elemnt which is an absolute file name.
12616         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
12617         directory, handle its directory component.
12618         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
12619         function is called permanently and creates noise, otherwise.
12621         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12622         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12623         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
12625 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
12627         * macros.el (apply-macro-to-region-lines):
12628         Minor simplification.  (Bug#5485)
12630 2010-02-04  Glenn Morris  <rgm@gnu.org>
12632         * mail/rmail.el (rmail-show-message-1): Handle malformed
12633         quoted-printable text.  (Bug#5441)
12635         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
12637         * simple.el (visual-line-mode): Capitalize lighter.
12639 2010-02-03  John Wiegley  <jwiegley@gmail.com>
12641         * iswitchb.el (iswitchb-completions): Add bookmark files to the
12642         list of files considered for "virtual buffer" completions.
12644 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
12646         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
12647         also in case of (and (not full) (not wildcard)).  This is needed
12648         when dired is called with a list of files, which are not in
12649         `default-directory'.  (Bug#5478)
12651 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12653         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
12655 2010-02-02  Juri Linkov  <juri@jurta.org>
12657         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
12658         from unidiff to allow function-line after @@.
12660 2010-02-02  Juri Linkov  <juri@jurta.org>
12662         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
12663         '(RCS SCCS) with inverted condition.
12665 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
12667         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
12668         messages.
12670 2010-02-01  Juri Linkov  <juri@jurta.org>
12672         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
12673         compare with "pkunzip" and "pkzip" instead of only "pkzip".
12674         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
12675         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
12677 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12679         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
12680         (doc-view-revert-buffer): New command.
12681         (doc-view-mode-map): Use it.
12683 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
12685         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
12686         pending merge is detected.
12688 2010-01-31  Juri Linkov  <juri@jurta.org>
12690         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
12691         beginning of interactive spec like all other grep commands do.
12692         Put "all" in front of "gz".  (Bug#5260)
12694 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
12696         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
12698 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
12700         * dirtrack.el (dirtrack): Warn instead of signalling error if the
12701         regexp is incorrect (Bug#5476).
12703 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
12705         * net/tramp.el (tramp-handle-insert-directory): Handle also
12706         symlinks, when FILENAME is not in `default-directory'.
12708 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
12710         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
12711         FILE is not in `default-directory'.  (Bug#5478)
12713         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
12714         of SWITCHES.  Handle the case, FILENAME is not in
12715         `default-directory'.  (Bug#5478)
12716         (tramp-register-file-name-handlers): Add safe-magic property.
12718 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
12720         * arc-mode.el (archive-zip-extract): Quote the argument passed to
12721         unzip (Bug#5475).
12723 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
12725         * progmodes/flymake.el (flymake-allowed-file-name-masks)
12726         (flymake-master-make-header-init): Add other C++ filename masks.
12727         (flymake-find-possible-master-files)
12728         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
12730 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
12732         Fix some busybox annoyances.
12734         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
12735         not responding." string.
12736         (tramp-open-connection-setup-interactive-shell): Dump stty
12737         settings.  Enable "neveropen" arg for all `tramp-send-command'
12738         calls.  Handle "=" in variable values properly.
12739         (tramp-find-inline-encoding): Raise an error, when no encoding is
12740         found.
12741         (tramp-wait-for-output): Check, whether PROC buffer is available.
12742         Remove spurious " ^H" sequences, sent by busybox.
12743         (tramp-get-ls-command): Suppress coloring, if possible.
12745 2010-01-28  Glenn Morris  <rgm@gnu.org>
12747         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
12749         * log-edit.el (log-edit-strip-single-file-name): Add missing
12750         :safe, :group, and :version tags.
12752 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
12754         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
12755         buffers.  (Bug#5477)
12757 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
12759         * files.el (delete-directory): Handle moving to trash without
12760         first doing recursion (Bug#5436).
12762 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
12764         * vc-hooks.el (vc-path): Mark as obsolete.
12766 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
12768         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
12769         names too.
12771         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
12772         for the short log.
12773         (vc-bzr-log-view-mode): Adjust regexp for the above change.
12775 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
12777         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
12779         * vc-bzr.el (vc-bzr-revision-table): New function.
12781 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>
12783         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
12784         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
12786 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
12788         Remove support for adding --signoff on commit.
12789         Future support will use an incompatible generic mechanism.
12790         * vc-git.el (vc-git-add-signoff): Remove variable.
12791         (vc-git-toggle-signoff): Remove function.
12792         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
12794         * term/xterm.el (xterm-maybe-set-dark-background-mode):
12795         Rename from xterm-set-background-mode.  Return t if the background mode
12796         was set.
12797         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
12798         earlier, call it again in case the background mode has changed.
12800 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
12802         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
12803         (Bug#3541).
12805 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
12807         * emacs-lisp/assoc.el (aelement): Doc fix.
12808         (aput, adelete, amake): Use lexical-let (Bug#5450).
12810 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
12812         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
12813         is the same as subprogram call, not declaration.  (Bug#5435).
12815 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
12817         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
12818         (tramp-smb-maybe-open-connection): Use it.
12820 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
12822         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
12824 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12826         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
12827         just because we see "encoding: 8bit".
12828         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
12830 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
12832         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
12834 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
12836         * jka-compr.el (jka-compr-load): If load-file is not in
12837         load-history, try its file-truename version.  (bug#5447)
12839 2010-01-21  Alan Mackenzie  <acm@muc.de>
12841         Fix a situation where deletion of a cpp construct throws an error.
12842         * progmodes/cc-engine.el (c-invalidate-state-cache):
12843         Before invoking c-with-all-but-one-cpps-commented-out, check that the
12844         special cpp construct is still in the buffer.
12845         (c-parse-state): Record the special cpp with markers, not numbers.
12847 2010-01-21  Kenichi Handa  <handa@m17n.org>
12849         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
12850         process last-command-event, as it is now decoded first (Bug#5380).
12852 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
12854         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
12856 2010-01-20  Glenn Morris  <rgm@gnu.org>
12858         * indent.el (tab-always-indent): Fix custom-type.
12860 2010-01-19  Alan Mackenzie  <acm@muc.de>
12862         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
12863         buffer throws "args out of range".
12864         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
12865         playing the role of delimiter.
12867 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
12869         * progmodes/ada-mode.el: Fix bug#5400.
12870         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
12871         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
12872         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
12873         Improve comments in "is" portion.  Handle null procedure declaration.
12874         (ada-move-to-end): Improve doc string.
12876 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
12878         * ido.el (ido-cur-list): Initialize to nil.
12879         Remove obsolete information from commentary.
12880         (ido-choice-list): Initialize to nil.
12881         (ido-get-bufname): Reject minibuffers.
12882         (ido-make-buffer-list): If "default" is a nonexistent
12883         buffer, ignore it, as per the function's comment.
12884         (ido-kill-buffer-internal): New function.
12885         (ido-kill-buffer-at-head): Use it.
12886         (ido-visit-buffer): Likewise.
12888 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
12890         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
12892 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
12894         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
12895         Fix typos in chart titles.
12897         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
12898         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
12899         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
12900         (describe-class, eieio-describe-generic, describe-generic):
12901         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
12902         (eieio-speedbar-expand):
12903         * emulation/viper-cmd.el (viper-exec-form-in-vi)
12904         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
12905         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
12906         (viper-del-backward-char-in-replace, viper-backward-indent)
12907         (viper-brac-function, viper-register-to-point, viper-submit-report):
12908         * net/tramp.el (tramp-remote-coding-commands):
12909         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
12910         Fix typos in docstrings.
12912 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
12914         * mail/sendmail.el (mail-yank-original): Set the mark if the
12915         specified function for yanking does not do it.
12917 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
12919         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
12921         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
12922         resyncing a directory.
12924 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
12926         * progmodes/ada-mode.el: Fix bug#1920.
12927         (ada-ident-re): Delete ., allow multibyte characters.
12928         (ada-goto-label-re): New; matches goto labels.
12929         (ada-block-label-re): New; matches block labels.
12930         (ada-label-re): New; matches both.
12931         (ada-named-block-re): Deleted; callers changed to use
12932         `ada-block-label-re' instead.
12933         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
12934         Use `ada-block-label-re'.
12935         (ada-indent-on-previous-lines): Improve handling of goto labels.
12936         (ada-get-indent-block-start): Special-case block label.
12937         (ada-get-indent-label): Split into `ada-indent-block-label' and
12938         `ada-indent-goto-label'.
12939         (ada-goto-stmt-start, ada-goto-next-non-ws):
12940         Optionally ignore goto labels.
12941         (ada-goto-next-word): Simplify.
12942         (ada-indent-newline-indent-conditional): Insert newline before
12943         trying to fix indentation; doc fix.
12945 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
12947         * calc/calc.el (calc-command-flags): Give it an initial value.
12949 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
12951         * files.el (minibuffer-with-setup-hook):
12952         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
12953         (artist-key-draw-continously, artist-key-do-continously-continously)
12954         (artist-key-set-point-continously, artist-mouse-draw-continously):
12955         Fix typos in docstrings.
12957 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
12959         * nxml/nxml-mode.el (nxml-extend-after-change-region):
12960         Never return t (Bug#3898).
12962 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
12964         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
12965         can parse the output of the external commands (Bug#5279).
12967 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
12969         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
12971 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
12973         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
12975         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
12977         * startup.el (command-line): Remove unused --icon-type arg.
12978         Handle --display arg, passing it to command-line-1 (Bug#5392).
12980 2010-01-16  Mario Lang  <mlang@delysid.org>
12982         * emacs-lisp/chart.el (chart-translate-namezone):
12983         * textmodes/artist.el (artist-compute-popup-menu-table):
12984         Remove duplicated words in doc-strings.
12986 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
12988         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
12989         to mairix-search to suppress threading (Bug#5342).
12991 2010-01-15  Kenichi Handa  <handa@m17n.org>
12993         * international/mule-cmds.el (canonicalize-coding-system-name):
12994         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
12996 2010-01-15  Glenn Morris  <rgm@gnu.org>
12998         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
13000         * wid-edit.el (widget-keymap): Doc fix.
13002         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
13003         former seems to be more widely accepted by various svn versions.
13005 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13007         * find-cmd.el (find-constituents):
13008         * vc-arch.el (vc-arch-root):
13009         * window.el (window-body-height, pop-up-frames):
13010         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
13011         * progmodes/ada-stmt.el (ada-if):
13012         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
13013         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
13014         (ispell-encoding8-command, ispell-aspell-supports-utf8)
13015         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
13017         * progmodes/flymake.el (flymake-post-syntax-check):
13018         Fix typo in error message.
13020 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13022         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
13023         which is always a string.  (Bug#5313)
13025 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13027         * progmodes/ada-xref.el (ada-default-prj-properties):
13028         Simplify previous change.
13030 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13032         * progmodes/ada-xref.el (ada-default-prj-properties):
13033         Default ada_project_path to $ADA_PROJECT_PATH.
13035 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13037         * progmodes/ada-mode.el (ada-create-keymap):
13038         Override `narrow-to-defun' with `ada-narrow-to-defun'.
13040 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13042         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
13043         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
13044         (ada-get-current-indent, ada-imenu-generic-expression)
13045         (ada-which-function): Check for it.
13047 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13049         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
13050         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
13052 2010-01-14  Glenn Morris  <rgm@gnu.org>
13054         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
13056 2010-01-14  Kenichi Handa  <handa@m17n.org>
13058         * composite.el (auto-composition-mode): Make it a buffer local
13059         variable (permanent-local).
13060         (auto-composition-function): Set the default value to
13061         auto-compose-chars.
13062         (auto-composition-mode): Make it a simple function, not a minor mode.
13063         (global-auto-composition-mode): Likewise.
13064         (turn-on-auto-composition-if-enabled): Delete it.
13066 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
13068         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
13070 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
13072         * files.el (copy-directory): Compute target for recursive
13073         directories with identical names.  (Bug#5343)
13075 2010-01-12  Glenn Morris  <rgm@gnu.org>
13077         * mail/emacsbug.el (report-emacs-bug-pretest-address):
13078         Set it to bug-gnu-emacs rather than emacs-pretest-bug.
13080 2010-01-11  Sam Steingold  <sds@gnu.org>
13082         * imenu.el (imenu-default-create-index-function): Detect infinite
13083         loops caused by imenu-prev-index-position-function.
13085 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
13087         * htmlfontify.el (htmlfontify-load-rgb-file)
13088         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
13089         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
13090         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
13091         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
13092         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
13093         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
13094         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
13095         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
13096         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
13097         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
13098         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
13099         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
13100         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
13101         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
13102         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
13103         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
13104         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
13105         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
13106         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
13107         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
13108         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
13109         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
13110         backslash-quoting from parentheses, etc.
13112 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
13114         * progmodes/js.el: Autoload javascript-mode alias.
13116 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
13118         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
13119         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
13120         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
13121         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
13122         Fix typos in docstrings.
13123         (ffap-url-regexp): Doc fix.
13124         (ffap-at-mouse): Fix typo in message.
13126 2010-01-11  Glenn Morris  <rgm@gnu.org>
13128         * version.el (emacs-copyright): Set copyright year to 2010.
13130 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13132         * format.el (format-annotate-function): Only set
13133         write-region-post-annotation-function after running to-fn so as not to
13134         affect nested write-region calls (bug#5273).
13136 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
13138         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
13139         wisent/python.el.
13141 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
13143         * man.el (Man-goto-section): Signal error if the section is not
13144         found (Bug#5317).
13146 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
13148         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
13149         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
13151 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
13153         * progmodes/compile.el: Don't treat compile-command as safe if
13154         compilation-read-command might be nil (Bug#4218).
13156 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
13158         * startup.el (command-line-1): Use orig-argi to check for ignored X and
13159         NS options.
13161 2010-01-08  Kenichi Handa  <handa@m17n.org>
13163         * international/fontset.el (build-default-fontset-data):
13164         Exclude characters in scripts kana, hangul, han, or cjk-misc.
13166 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
13168         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
13169         to `create-file-buffer' as it expects, not just a buffer name.
13170         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
13171         to help uniquify.  (Bug#3224)
13173 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
13175         * font-setting.el (font-setting-change-default-font): Use user-spec
13176         instead of name.
13178 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
13180         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
13182 2010-01-05  Tom Tromey  <tromey@redhat.com>
13184         * progmodes/python.el (python-font-lock-keywords):
13185         Handle qualified decorators (Bug#881).
13187 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
13189         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
13190         in a lightweight checkout.
13192 2010-01-05  Kenichi Handa  <handa@m17n.org>
13194         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
13196 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
13198         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
13200 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
13202         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
13203         checkouts.  (Bug#618)
13204         (vc-bzr-log-view-mode): Also highlight the author.
13205         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
13206         (vc-bzr-shelve-menu-map):
13207         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
13208         (vc-bzr-shelve-apply): Make prompt more explicit.
13210 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
13212         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
13213         They are valid characters in URL paths (rfc3986), and at least
13214         Firefox does not understand the encoded version (Bug#3166).
13216 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
13218         * progmodes/octave-mod.el (octave-end-keywords)
13219         (octave-block-begin-or-end-regexp, octave-block-match-alist):
13220         Add "end" keyword (Bug#3061).
13221         (octave-end-as-array-index-p): New function.
13222         (calculate-octave-indent): Use it.
13224 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13226         * bookmark.el: Consistently put the text property on the bookmark name.
13227         (bookmark-bmenu-marks-width): Bump back to 2, to include
13228         annotation marks.
13229         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
13230         property on the bookmark name, instead of not putting it at all.
13231         (bookmark-bmenu-list): Fix where we put the text property.
13233 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13235         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
13236         for showing buffer modified state (as added in the previous change).
13238 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13240         * bookmark.el: Show modified state of bookmark buffer more accurately.
13241         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
13242         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
13243         (with-buffer-modified-unmodified): New macro.
13244         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13245         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
13246         Use new macro to preserve the buffer modified state.
13248 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13250         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13251         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
13252         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
13253         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
13254         (bookmark-bmenu-rename, bookmark-bmenu-locate)
13255         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
13256         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
13258 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
13260         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13261         Make the lines in the generated doc string shorter.  (Bug#4668)
13263 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
13265         * net/rcirc.el: Add follow-link binding (Bug#4738).
13267 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
13269         * Makefile.in (bzr-update): Rename from cvs-update.
13270         (cvs-update): New target for backward compatibility.
13272         * makefile.w32-in (bzr-update): Rename from cvs-update.
13273         (cvs-update): New target for backward compatibility.
13275 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13277         * bookmark.el: Remove gratuitous gratitude.
13279 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13281         * bookmark.el (bookmark-bmenu-any-marks): New function.
13282         (bookmark-bmenu-save): Clear buffer modification if no marks.
13284 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13286         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
13287         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
13288         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
13289         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
13291         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
13292         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
13293         To: emacs-devel {_AT_} gnu.org
13294         Subject: bookmark.el bug report
13295         Date: Mon, 28 Dec 2009 14:19:16 +0800
13296         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
13298 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13300         * bookmark.el: Improvements suggested by Drew Adams:
13301         (bookmark-bmenu-ensure-position): New name for
13302         `bookmark-bmenu-check-position'.  Just ensure the position,
13303         don't return any meaningful value.
13304         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
13305         New constants.
13307 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
13309         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
13310         (bookmark-yank-point, bookmark-bmenu-check-position):
13311         Fix typos in docstrings.
13312         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
13313         (bookmark-name-from-full-record, bookmark-get-position)
13314         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
13315         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
13316         Remove useless quoting of parenthesis, etc. in docstrings.
13318         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
13319         (ediff-append-custom-diff): Fix typo in error message.
13320         (ediff-meta-mark-equal-files): Fix typos in messages.
13322         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
13324         * net/imap-hash.el (imap-hash-make): Doc fix.
13325         (imap-hash-test): Fix typo in error message; reflow docstring.
13326         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
13327         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
13328         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
13329         Fix typos in docstrings.
13330         (imap-hash-open-connection): Fix typo in error message.
13332         * play/gomoku.el (gomoku): Fix typos in docstring.
13334         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
13335         (gdb-jsonify-buffer): Fix typos in docstring.
13336         (gdb-goto-breakpoint): Fix typo in error message.
13337         ("Display Other Windows"): Fix typo in help message.
13338         (gdb-speedbar-expand-node): Fix typo in question.
13340         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
13341         (idlwave-html-system-help-location, idlwave-html-help-location)
13342         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
13343         (idlwave-help-browser-generic-args, idlwave-help-directory)
13344         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
13345         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
13346         (idlwave-online-help, idlwave-help-html-link)
13347         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
13348         Fix typos in docstrings.
13349         (idlwave-help-with-source, idlwave-help-find-routine-definition):
13350         Reflow docstrings.
13351         (idlwave-help-assistant-start): Fix typo in error message.
13353         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
13354         (octave-electric-space): Fix typos in docstrings.
13356 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
13358         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
13360 2010-01-01  Juri Linkov  <juri@jurta.org>
13362         * comint.el (comint-input-ring-size): Make it a defcustom and
13363         increase the default to 500 (Bug#5148).
13365 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
13367         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13368         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13369         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13371 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
13373         Show working revision correctly for mercurial.
13374         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13375         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
13377 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
13379         Declare some functions for the byte-compiler.
13380         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
13381         (speedbar-timer-fn, speedbar-change-expand-button-char)
13382         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
13384 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
13386         This changeset reverts GDB Graphical Interface to use annotations.
13387         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
13389 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
13391         Make vc-dir work on subdirectories of the bzr root.
13392         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
13393         Return file names relative to it.
13394         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
13395         relative directory to vc-bzr-after-dir-status.
13397 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
13399         * font-lock.el (font-lock-refresh-defaults): New function, which
13400         can be used to let font-lock react to external changes in
13401         variables like font-lock-defaults and keywords.
13402         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
13404 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
13406         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
13408         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
13410 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
13412         Supersede color.diff settings in git log (bug#5211).
13414         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
13415         escape chars in its output when the user has color.diff set to `always'.
13416         This fix works on git 1.4.2 and newer (released on 2006-08-13).
13418 2009-12-26  Kevin Ryde  <user42@zip.com.au>
13420         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
13421         node.  Keep previous "Index" name to work with past coreutils too.
13423         * man.el (man): Revise docstring a bit to show -a and -l as
13424         examples.  Add -k description since support for it has otherwise
13425         been a secret.  (Further to bug#3717.)
13426         (Man-bgproc-sentinel): When "-k foo" produces no output show error
13427         "no matches" rather than "Can't find manpage", as the latter reads
13428         like -k was interpreted as a page name, which is not so.  (Bug#5431)
13430 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
13432         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
13433         switches.  Check also for //SUBDIRED// line.
13435 2009-12-25  Kenichi Handa  <handa@m17n.org>
13437         * language/indian.el (devanagari-composable-pattern): Fix to
13438         handle ZWNJ and ZWJ.  Use it in composition-function-table for
13439         Devanagari.
13440         (malayalam-composable-pattern): Fix previous change.
13442 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
13444         * ps-print.el (ps-face-attributes): It was not returning the
13445         attribute face for faces specified as string.  Reported by harven
13446         <harven@free.fr>.  (Bug#5254)
13447         (ps-print-version): New version 7.3.5.
13449 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
13451         * calendar/icalendar.el (icalendar--convert-tz-offset):
13452         Fix timezone names.
13453         (icalendar--convert-tz-offset): Fix the "last-day-problem".
13454         (icalendar--add-diary-entry): Remove the trailing blank that
13455         diary-make-entry inserts.
13457 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
13459         Make `file-expand-wildcards' work for remote files.
13461         * files.el (file-expand-wildcards): In case of remote files, check
13462         only local file name part for wildcards.  Provide feature 'files
13463         and subfeature 'remote-wildcards.  (Bug#5198)
13465         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
13466         if there is already an established connection.
13467         (tramp-advice-file-expand-wildcards): Remove it.
13469         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
13470         (tramp-advice-file-expand-wildcards): Move from tramp.el.
13471         Activate advice for older GNU Emacs versions.  (Bug#5237)
13473 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
13475         Some doc fixes (more needed).
13477         * find-cmd.el (find-constituents): Reflow docstring.
13478         (find-cmd, find-prune, find-command): Fix typos in docstrings.
13479         (find-generic): Doc fix.
13481 2009-12-17  Juri Linkov  <juri@jurta.org>
13483         Fix regression from 23.1 to allow multiple modes in Local Variables.
13485         * files.el (hack-local-variables-filter): While ignoring duplicates,
13486         don't take `mode' into account.
13487         (hack-local-variables-filter, hack-dir-local-variables):
13488         Don't remove duplicate `mode' from local-variables-alist (like `eval').
13490 2009-12-17  Juri Linkov  <juri@jurta.org>
13492         Make `dired-diff' safer.  (Bug#5225)
13494         * dired-aux.el (dired-diff): Signal an error when `file' equals to
13495         `current' or when `file' is a directory of the `current' file.
13497 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
13499         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
13500         unconditionally preloaded files.
13502 2009-12-16  Juri Linkov  <juri@jurta.org>
13504         Revert to old 23.1 logic of using the file at the mark as default.
13505         * dired-aux.el (dired-diff): Use the file at the mark as default
13506         if it's not the same as the current file, and the target dir is
13507         the current dir or the mark is active.  Add the current file
13508         as the arg of `dired-dwim-target-defaults'.  Use the default file
13509         in the prompt.  (Bug#5225)
13511 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
13513         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
13514         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
13515         (tramp-check-for-regexp): Check also, when an echoing shell stops
13516         to echo sent commands.
13518 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
13520         * Makefile.in: Revert last change (Bug#5191).
13522 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
13524         * vc-hg.el (vc-hg-print-log): Fix argument order.
13525         (vc-hg-working-revision): Make sure the command is executed in a
13526         known environment so that we can parse the output.  (Bug#4417)
13528 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
13530         * progmodes/python.el (python-symbol-completions): Remove text
13531         properties from symbol string before calling python-send-receive.
13533 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
13535         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
13536         when there are values for both file and line.  (Bug#5060)
13538 2009-12-14  Juri Linkov  <juri@jurta.org>
13540         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
13541         whitespace after the file name of the first line of unified format,
13542         because git-diff doesn't output whitespace and file modification time
13543         after the file name.
13545 2009-12-14  David Kastrup  <dak@gnu.org>
13547         * info.el (Info-hide-cookies-node): Before hiding a cookie,
13548         check if it already has the `display' property added by
13549         `Info-display-images-node', and not put the `invisible' property
13550         in this case.
13552 2009-12-13  Glenn Morris  <rgm@gnu.org>
13554         * mail/emacsbug.el (message-sort-headers): Define for compiler.
13555         (report-emacs-bug): In message-mode, sort manually before storing
13556         original report text.  (Bug#5178)
13557         Remove superfluous save-excursion.
13559 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
13561         * net/dbus.el (dbus-property-handler): Filter lambda forms out
13562         when responding to "GetAll" properties.
13564 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
13566         * simple.el (compose-mail): Remove mail-setup-with-from from
13567         customization checks.
13569 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
13571         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
13572         RAR archives created on Unix systems.
13574 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13576         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
13577         the varalias that was accidentally removed by the 2009-11-19 change
13578         (bug#5186).
13580 2009-12-12  Kenichi Handa  <handa@m17n.org>
13582         * language/indian.el (indian-compose-regexp): New function.
13583         (malayalam-composable-pattern): Fix the pattern.
13584         (composition-function-table): Set malayalam-composable-pattern for
13585         Malayalam characters.
13587 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
13589         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
13590         rather than down-mouse-1, based on follow-link conventions.
13592         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
13593         are compiled.
13595 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
13597         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
13598         (verilog-vmm-statement-re, verilog-ovm-statement-re)
13599         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
13600         (verilog-leap-to-head, verilog-backward-token):
13601         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
13603 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
13605         * progmodes/verilog-mode.el (verilog-auto-lineup)
13606         (verilog-nameable-item-re): Cleanup user-visible spelling and
13607         documentation errors.  One reported by Gary Delp.
13608         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
13609         (verilog-read-decls): Fix AUTOWIRE with types declared in a
13610         package, bug195.  Reported by Pierre-David Pfister.
13612 2009-12-11  Glenn Morris  <rgm@gnu.org>
13614         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
13616         * mail/emacsbug.el: No longer require sendmail.
13617         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
13618         (report-emacs-bug-orig-text): Doc fix.
13619         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
13620         New local variables, to adapt to different mail-user-agents.
13621         (report-emacs-bug): Fix test for a gnu.org address.
13622         Use overlays for emphasis, since font-lock defeats 'face property.
13623         Pretest bugs also end up at the newsgroup these days.
13624         Stop message-mode stripping text properties.
13625         Set and use the new buffer-local variables.
13626         (report-emacs-bug-hook): Add doc-string.
13627         Remove some unnecessary save-excursions and simplify.
13628         Use the appropriate hook and send-command.
13630         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
13631         capitalization of some menu entries.
13633 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
13635         * whitespace.el (whitespace-display-char-on):
13636         Ensure `buffer-display-table' is unique when two or more windows are
13637         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
13638         New version 12.1.
13640 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
13642         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
13643         characters in the Attribute field.
13645 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
13647         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
13649 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13651         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
13652         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13653         Disregard autoload-excludes.
13654         (update-directory-autoloads): Obey autoload-excludes here instead.
13655         But don't store its contents in no-autoloads and remove entries that
13656         refer to excludes files.
13658 2009-12-10  Glenn Morris  <rgm@gnu.org>
13660         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
13661         (expand-mail-aliases): Define for compiler.
13663         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
13664         Define for compiler.
13666         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
13667         appropriate for the mail-user-agent in use.
13669 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
13671         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
13673 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
13675         Fix short log parsing and fontification.
13676         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
13677         Fix fontification for the [merge] label.
13679 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
13681         Drop some properties to avoid surprises (bug#5002).
13682         * htmlfontify.el (hfy-ignored-properties): New defcustom.
13683         (hfy-fontify-buffer): Use it.
13685 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
13687         Minor cleanup.
13688         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
13689         Adjust all callers.
13690         (ffap-locate-file): Remove unused arg `dir-ok' and make other
13691         args compulsory.  Adjust callers.
13692         (ffap-gopher-at-point): Remove unused var `name'.
13694         Get rid of the ELCFILES abomination.
13695         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13696         (compile-elcfiles): New phony target.
13697         (compile-main): Compute ELCFILES dynamically.
13698         (compile-clean): New target to remove left-over elc files.
13699         (compile, all): Use it.
13701 2009-12-09  Kenichi Handa  <handa@etlken>
13703         * international/mule-diag.el: Require help-mode instead of help-fns.
13705 2009-12-09  Kenichi Handa  <handa@m17n.org>
13707         * international/mule-cmds.el (ucs-names): Supply sufficiently
13708         fine ranges instead of pre-calculating accurate ranges.
13709         Iterate with bigger gc-cons-threshold.
13711 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
13713         Add support for stashing a snapshot of the current tree.
13714         * vc-git.el (vc-git-stash-snapshot): New function.
13715         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
13717 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
13719         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
13720         instead of `(beginning|end)-of-line'.
13722 2009-12-08  Glenn Morris  <rgm@gnu.org>
13724         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
13726         * Makefile.in (ELCFILES): Regenerate.
13728 2009-12-07  Juri Linkov  <juri@jurta.org>
13730         Don't lazy-highlight the comint output in history Isearch mode.
13732         * comint.el (comint-history-isearch-search): Instead of
13733         `comint-line-beginning-position', use `comint-after-pmark-p'
13734         to check if point if before the process mark, and go to
13735         `process-mark' in this case.
13737 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13739         * textmodes/tex-mode.el (latex-complete)
13740         (latex-indent-or-complete): Remove.
13741         (latex-mode): Set completion-at-point-functions instead.
13743         Provide a standard completion command and hook it into TAB.
13744         * minibuffer.el (completion-at-point-functions): New var.
13745         (completion-at-point): New command.
13746         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
13747         * progmodes/python.el (python-mode-map): Use completion-at-point.
13748         (python-completion-at-point): Rename from python-partial-symbol and
13749         adjust for use in completion-at-point-functions.
13750         (python-mode): Setup completion-at-point for Python completion.
13751         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
13752         extracted from lisp-complete-symbol.
13753         (lisp-complete-symbol): Use it.
13754         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
13755         setup completion-at-point for Elisp completion.
13756         (emacs-lisp-mode-map, lisp-interaction-mode-map):
13757         Use completion-at-point.
13758         * ielm.el (ielm-map): Use completion-at-point.
13759         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
13760         * progmodes/sym-comp.el: Move to...
13761         * obsolete/sym-comp.el: Move from progmodes.
13763 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
13765         Prevent save-buffer in Rmail buffers from using the coding-system
13766         of the current message, and from clobbering the encoding mnemonics
13767         in the mode line (Bug#4623).
13769         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
13770         flag, too.
13771         (rmail-message-encoding): New variable.
13772         (rmail-write-region-annotate): Record the encoding of the current
13773         message in rmail-message-encoding.
13774         (rmail-after-save-hook): New function, restores the encoding of
13775         the current message after the message collection is saved.
13777 2009-12-07  Juri Linkov  <juri@jurta.org>
13779         * progmodes/grep.el (grep-read-files): Use `completing-read'
13780         instead of `read-string'.  Set its `collection' arg to
13781         `read-file-name-internal'.  (Bug#4301)
13783 2009-12-07  Juri Linkov  <juri@jurta.org>
13785         Correctly restore original Isearch point.  (Bug#4994)
13787         * isearch.el (isearch-mode): Move `isearch-push-state' after
13788         `(run-hooks 'isearch-mode-hook)'.
13789         (isearch-cancel): When `isearch-push-state-function' is defined,
13790         let-bind `isearch-cmds' to the first state (the last element of
13791         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
13792         function and restores the original point).  Otherwise, move point
13793         to `isearch-opoint'.
13795 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13797         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
13798         chars that don't have names, so the table can be built much faster at
13799         run-time.
13801 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
13803         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
13804         change.  Suggested by David Kastrup.
13806         * simple.el (compose-mail): Check for incompatibilities and warn.
13807         (compose-mail-user-agent-warnings): New option.
13809 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
13811         Support showing a single log entry from vc-annotate.
13812         * vc.el (print-log): Add a new argument: START-REVISION.
13813         (vc-print-log-internal): Add a new optional argument and
13814         pass it to the backend.
13815         (vc-print-log, vc-print-root-log): Adjust callers.
13816         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
13817         buffer already displays the requested log entry, use it.
13818         Otherwise display only the log entry in question.
13819         * vc-svn.el (vc-svn-print-log):
13820         * vc-mtn.el (vc-mtn-print-log):
13821         * vc-hg.el (vc-hg-state):
13822         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
13823         (vc-git-show-log-entry): Return t on success.
13824         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
13825         (vc-bzr-show-log-entry): Return t on success.
13826         * vc-rcs.el (vc-rcs-print-log):
13827         * vc-sccs.el (vc-sccs-print-log):
13828         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
13830 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
13832         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
13833         Add menus to the meta mode.  (Bug#5043)
13835 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
13837         * ediff-init.el (ediff-event-key): Use event-to-character instead of
13838         event-key.
13840         * ediff.el (ediff-buffers-internal): Add unwind-protect.
13842 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
13844         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
13845         Berbain <raphael.berbain@gmail.com>.
13847         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
13848         characters.
13849         (tramp-initial-end-of-output): New defconst.
13850         (tramp-methods, tramp-find-shell)
13851         (tramp-open-connection-setup-interactive-shell)
13852         (tramp-maybe-open-connection): Use it.
13853         (tramp-shell-prompt-pattern, tramp-wait-for-output):
13854         Handle existence of `#' and `$'.
13856         * net/tramp-fish.el (tramp-fish-maybe-open-connection):
13857         Use `tramp-initial-end-of-output'.
13859 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
13861         Get the background mode from the terminal for xterm, and set
13862         faces accordingly.
13863         * term/xterm.el (xterm-set-background-mode): New function.
13864         (terminal-init-xterm): Use it in case xterm supports background
13865         color queries.  Recompute faces after getting the background
13866         color.
13868 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
13870         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
13871         number comment back on its own line, for easier parsing.
13873 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13875         Make it work for non-file buffers (bug#5102).
13876         * doc-view.el (doc-view-current-cache-dir):
13877         Use doc-view-buffer-file-name rather than buffer-file-name.
13878         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
13880 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
13882         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
13883         author field is too short.
13885 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
13887         * vc-git.el (vc-git-print-log): Handle a limit argument.
13888         Display the short log in graph form and with labels.
13889         (vc-git-log-view-mode): Handle labels.
13891         Make vc-revert change VC state from 'added to 'unregistered.
13892         * vc-git.el (vc-git-revert): Call git reset first.
13894 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
13896         * net/newst-backend.el, net/newst-plainview.el:
13897         * net/newst-reader.el, net/newst-ticker.el:
13898         * net/newst-treeview.el, net/newsticker.el:
13899         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
13901 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
13903         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
13905         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
13906         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
13907         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
13908         Update annotation regexp.
13910         * simple.el (beginning-of-visual-line): Constrain to field
13911         boundaries (Bug#5106).
13913 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
13915         * xml.el (xml-substitute-numeric-entities):
13916         Move newsticker--decode-numeric-entities in newst-backend.el to
13917         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
13918         * net/newst-backend.el (newsticker--parse-generic-feed)
13919         (newsticker--parse-generic-items)
13920         (newsticker--decode-numeric-entities):
13921         Move newsticker--decode-numeric-entities in newst-backend.el to
13922         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
13924 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
13926         * progmodes/js.el (js--js-not): Add null to the list of values.
13928 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
13930         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
13932 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
13934         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
13935         delimiter if it is at the end of the current line.
13936         (bibtex-generate-url-list): Fix docstring.
13938 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
13940         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
13941         minibuffer's content with itself.
13942         Fold the confirm-after-completion case into the `confirm' case.
13943         (completion-pcm-word-delimiters): Add : and / to the delimiters.
13945 2009-12-06  Kevin Ryde  <user42@zip.com.au>
13947         * ffap.el (ffap-rfc-path): Make this a defcustom since
13948         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
13950         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
13951         manuals, similar to existing setup for help-mode.  (Bug#3913.)
13953 2009-12-05  Juri Linkov  <juri@jurta.org>
13955         Save and restore dired buffer's point positions too.  (Bug#4880)
13957         * dired.el (dired-save-positions): Return in the first element
13958         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
13959         Doc fix.
13960         (dired-restore-positions): First restore buffer's position.
13961         While restoring window's positions, check if window still displays
13962         the original buffer.
13964 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
13966         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
13967         if possible.
13969         * shell.el (shell): Require ansi-color (Bug#5113).
13971         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
13973         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
13975 2009-12-05  Alan Mackenzie  <acm@muc.de>
13977         * progmodes/cc-mode.el (c-before-hack-hook)
13978         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
13979         `c-file-style' to work again.  This reversion restores the current
13980         software to its state in Emacs 23.1.  (Bug#4146)
13982 2009-12-05  Kevin Ryde  <user42@zip.com.au>
13984         * textmodes/sgml-mode.el (sgml-lexical-context):
13985         Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
13987 2009-12-05  Juri Linkov  <juri@jurta.org>
13989         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
13990         for virtual nodes.  (Bug#4147)
13991         (Info-find-node-2): Set `Info-current-node-virtual' to nil
13992         when moving from a virtual node.
13993         (Info-mode-menu): Add `Info-virtual-index' to the menu.
13994         (Info-mode): Add `Info-virtual-index' to the docstring.
13996 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
13998         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
13999         track of the buffer position of the end of a BibTeX entry as this
14000         position may change during reformatting.
14001         (bibtex-format-entry): Remove whitespace before processing
14002         numerical fields so that we recognize the latter properly.
14003         (bibtex-reformat): Do not use push which changes the global value
14004         of bibtex-entry-format.
14005         (bibtex-field-braces-alist, bibtex-field-strings-alist)
14006         (bibtex-field-re-init): Replace only space characters by regexp
14007         for whitespace.
14008         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
14009         (bibtex-initialize): Also update bibtex-strings.
14010         (bibtex-kill-field): Preserve white space at end of entry.
14011         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
14012         Update bibtex-reference-keys.
14014 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14016         * minibuffer.el (completion-pcm--merge-try): Also consider placing
14017         point after a star, if that's the only place where modifications can
14018         make progress.
14020 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
14022         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
14023         in docstrings.
14025 2009-12-04  Juri Linkov  <juri@jurta.org>
14027         * proced.el (proced): Call `(proced-update t)' to update process
14028         information instead of only running proced-post-display-hook.
14029         (proced-send-signal): Add a leading space to the buffer name
14030         " *Marked Processes*" to make this buffer ephemeral.
14032 2009-12-04  Juri Linkov  <juri@jurta.org>
14034         * dired.el (dired-auto-revert-buffer): New defcustom.
14035         (dired-internal-noselect): Use it.
14037 2009-12-04  Juri Linkov  <juri@jurta.org>
14039         Change roles of modes and functions in image-mode.el (Bug#5062).
14041         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
14042         in `auto-mode-alist'.
14043         (image-mode-previous-major-mode): New variable.
14044         (image-minor-mode-map): Rename from `image-mode-text-map'.
14045         (image-mode): Move graceful error-handling code from
14046         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
14047         (image-minor-mode): Remove all image-handling code.
14048         Replace `image-mode-text-map' with `image-minor-mode-map'.
14049         Check for `image-type' in mode-line format string.
14050         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
14051         (image-mode-as-text): New function with most code from
14052         `image-mode-maybe'.
14053         (image-toggle-display-text): Move code that removes image
14054         properties from `image-toggle-display' to here.
14055         (image-toggle-display-image): New function with code that adds
14056         image properties copied from `image-toggle-display'.
14057         (image-toggle-display): Remove most code with leaving only code
14058         that toggles between `image-mode-as-text' and `image-mode'.
14060 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
14062         * net/newst-treeview.el
14063         (newsticker--treeview-list-highlight-start): Restored call to
14064         save-excursion: Selected item was stuck.
14065         (newsticker--treeview-list-select): New.
14066         (newsticker--treeview-item-show-text)
14067         (newsticker--treeview-item-show)
14068         (newsticker--treeview-item-update): Use new
14069         newsticker-treeview-item-mode.
14070         (newsticker-treeview-update): Keep current item.
14071         (newsticker-treeview-next-new-or-immortal-item): Doc change.
14072         (newsticker--treeview-first-feed): Doc change.
14073         (newsticker-treeview-list-menu)
14074         (newsticker-treeview-item-menu): Add menu entries.
14075         (newsticker-treeview-item-mode): New.
14077         * net/newst-backend.el (newsticker-customize): Delete other
14078         windows.
14080 2009-12-04  Sam Steingold  <sds@gnu.org>
14082         * log-view.el (log-view-mode-map): "q" calls quit-window,
14083         like in all the other non-self-insert buffers.
14085 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14087         Minor cleanup.
14088         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
14089         key decoding rather than do it manually via last-input-event +
14090         ascii-character.
14091         (term-exec): Use delete-and-extract-region.
14092         (term-handle-ansi-terminal-messages): Remove unused var `end'.
14093         (term-process-pager): Remove unused var `i'.
14094         (term-dynamic-simple-complete): Make obsolete.
14095         (serial-update-config-menu): Remove unused vars `y' and `str'.
14096         (term-update-mode-line): Remove unused var `temp'.
14098 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14100         Limit the number of log entries displayed by default.
14101         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
14102         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
14103         using a prefix argument.
14105 2009-12-03  Glenn Morris  <rgm@gnu.org>
14107         * progmodes/idlwave.el (class): Restore still useful declaration.
14109 2009-12-03  Alan Mackenzie  <acm@muc.de>
14111         Enhance `c-parse-state' to run efficiently in "brace deserts".
14113         * progmodes/cc-mode.el (c-basic-common-init):
14114         Call c-state-cache-init.
14115         (c-neutralize-syntax-in-and-mark-CPP): Rename from
14116         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
14117         placing `category' properties value 'c-cpp-delimiter at its boundaries.
14119         * progmodes/cc-langs.el (c-before-font-lock-function):
14120         c-extend-and-neutralize-syntax-in-CPP has been renamed
14121         c-neutralize-syntax-in-and-mark-CPP.
14123         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
14124         with `category' properties now, not `syntax-table' ones.
14126         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
14127         enhanced (but slower) version of c-end-of-macro that won't land
14128         inside a literal or on another awkward character.
14129         (c-state-cache-too-far, c-state-cache-start)
14130         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
14131         (c-state-nonlit-pos-cache-limit, c-state-point-min)
14132         (c-state-point-min-lit-type, c-state-point-min-lit-start)
14133         (c-state-min-scan-pos, c-state-brace-pair-desert)
14134         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
14135         buffer local variables.
14136         (c-state-literal-at, c-state-lit-beg)
14137         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
14138         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
14139         (c-state-cache-top-paren, c-state-cache-after-top-paren)
14140         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
14141         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
14142         (c-renarrow-state-cache)
14143         (c-append-lower-brace-pair-to-state-cache)
14144         (c-state-push-any-brace-pair, c-append-to-state-cache)
14145         (c-remove-stale-state-cache)
14146         (c-remove-stale-state-cache-backwards, c-state-cache-init)
14147         (c-invalidate-state-cache-1, c-parse-state-1)
14148         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
14149         (c-parse-state): Enhance and refactor.
14150         (c-debug-parse-state): Amend to deal with all the new variables.
14152         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
14153         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
14154         modify to use category text properties rather than syntax-table ones.
14155         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
14156         to switch off/on the syntactic paren property of C++ template
14157         delimiters using the category property.
14158         (c-with-<->-as-parens-suppressed): Macro to invoke code with
14159         template delims suppressed.
14160         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
14161         New constant/macros which apply category properties to the start
14162         and end of preprocessor constructs.
14163         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
14164         "comment out" the syntactic value of characters in preprocessor
14165         constructs.
14166         (c-with-cpps-commented-out)
14167         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
14168         with characters in all or all but one preprocessor constructs
14169         "commented out".
14171 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14173         * proced.el (proced-filter-alist): Use regexp-quote.
14175 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
14177         Cleanup.
14178         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
14179         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
14180         arguments.  Expand `default-directory'.
14182         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
14183         the benefit of returning an expanded localname.
14184         (tramp-tramp-file-p): Handle the case NAME is not a string.
14186 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14188         Add support for bzr shelve/unshelve.
14189         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
14190         (vc-bzr-extra-menu-map): New variables.
14191         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
14192         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
14193         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
14194         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
14195         (vc-bzr-dir-extra-headers): Display shelves.
14197         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
14199 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14201         * textmodes/bibtex.el (bibtex-complete-internal):
14202         Use completion-in-region.
14203         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
14205 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14207         Support applying stashes.  Improve UI.
14208         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
14209         (vc-git-stash-apply, vc-git-stash-pop)
14210         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
14211         (vc-git-stash-menu): New functions.
14212         (vc-git-stash-menu-map): New variable.
14213         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
14215 2009-12-03  Glenn Morris  <rgm@gnu.org>
14217         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
14218         (vc-print-log-internal): Fix previous change.
14219         (vc-revert): Correct pluralization.
14221 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14223         * progmodes/make-mode.el (makefile-special-targets-list): No need for
14224         it to be an alist any more.
14225         (makefile-complete): Use completion-in-region.
14227         * progmodes/octave-mod.el (octave-complete-symbol):
14228         Use completion-in-region.
14230         Misc cleanup.
14231         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
14232         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
14233         (idlwave-complete-class): Don't quote lambda.
14234         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
14235         (idlwave-mode-map): Move initialization into declaration.
14236         (idlwave-action-and-binding): Use backquotes.
14237         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
14238         Simplify.
14239         (idlwave-is-pointer-dereference): Remove unused var `pos'.
14240         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
14241         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
14242         `parts', and `all-parts'.
14243         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
14244         (idlwave-convert-xml-system-routine-info): Remove unused string
14245         `version-string'.
14246         (idlwave-display-user-catalog-widget): Use dolist.
14247         (idlwave-scanning-lib): Declare dynamically-scoped var.
14248         (idlwave-scan-library-catalogs): Remove unused var `flags'.
14249         (completion-highlight-first-word-only): Declare to silence bytecomp.
14250         (idlwave-popup-select): Tighten scope of `resp'.
14251         (idlwave-find-struct-tag): Remove unused var `beg'.
14252         (idlwave-after-load-rinfo-hook): Declare.
14253         (idlwave-sintern-class-info): Remove unused var `taglist'.
14254         (idlwave-find-class-definition): Remove unused var `list'.
14255         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
14256         (idlwave-what-module-find-class): Remove unused var `classes'.
14258 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
14260         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
14262 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14264         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
14265         buffers visited.  Remove redundant current-buffer-saving.
14267 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14269         Use completion-in-buffer and remove uses of dynamic scoping.
14270         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
14271         (pascal-buffer-to-use, pascal-flag): Don't declare.
14272         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
14273         (pascal-get-completion-decl, pascal-keyword-completion):
14274         Add `pascal-str' argument, save-excursion,
14275         return the found completions, and don't filter with pascal-pred.
14276         (pascal-completion-cache): New var.
14277         (pascal-completion): Don't switch buffer any more (it was never
14278         necessary).  Don't save-excursion any more (it's done by the called
14279         subroutines).  Use a cache to avoid redundant computations.
14280         Use complete-with-action rather than pascal-completion-response and
14281         let it apply the predicate as well.
14282         (pascal-complete-word): Use completion-in-buffer when
14283         pascal-toggle-completions is nil.
14284         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
14285         not used any more.
14286         (pascal-comp-defun): Don't change buffer any more.
14287         Use complete-with-action rather than pascal-completion-response and
14288         let it apply the predicate as well.
14289         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
14290         when neded.
14292 2009-12-02  Kenichi Handa  <handa@m17n.org>
14294         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
14295         shape for all Indic scripts.
14297 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14299         Use completion-in-buffer.
14300         * wid-edit.el (widget-field-text-end): New function.
14301         (widget-field-value-get): Use it.
14302         (widget-string-complete, widget-file-complete)
14303         (widget-color-complete): Use it and completion-in-region.
14304         (widget-complete): Don't narrow the buffer.
14306 2009-12-02  Glenn Morris  <rgm@gnu.org>
14308         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
14309         (rmail-select-summary): Use rmail-pop-to-buffer.
14310         * mail/rmailsum.el: Replace all pop-to-buffer calls with
14311         rmail-pop-to-buffer, to prevent horizontal splits.
14313         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
14314         save-excursion with save-current-buffer.
14315         Widen before searching.  (Bug#5093)
14316         (diary-list-sexp-entries): Remove superfluous save-excursion.
14318 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
14320         * woman.el (woman-make-bufname): Handle man-pages with "." in the
14321         name.  (Bug#5038)
14323 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
14325         * ido.el (ido-file-internal): Handle filenames at point that do
14326         not have a directory part.  (Bug#5049)
14328 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
14330         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
14331         (mpc-songs-jump-to, mpc-resume): Doc fixes.
14333 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
14335         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
14336         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
14337         any more.
14339 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14341         * comint.el (comint-insert-input): Ignore clicks to the right of
14342         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
14344         * vc.el (vc-print-log-internal): Don't wait for the process to
14345         terminate before setting up the major mode.
14347         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
14348         in case.
14350         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
14351         the last element.
14353         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
14355 2009-12-01  Glenn Morris  <rgm@gnu.org>
14357         * window.el (window--display-buffer-2): Fix previous changes.
14359 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
14361         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
14363 2009-12-01  Glenn Morris  <rgm@gnu.org>
14365         * Makefile.in (ELCFILES): Add mpc.elc.
14367 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14369         * mpc.el: New file.
14371 2009-12-01  Glenn Morris  <rgm@gnu.org>
14373         * window.el (window-to-use): Define for compiler.
14375         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
14376         consistent with others (no final period).
14378         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
14379         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
14381 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
14383         Make vc-print-log buttons work.
14384         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
14386 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
14388         * savehist.el (savehist-autosave-interval): Allow setting to nil
14389         through customize.  (Bug#5056)
14391 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
14393         Fix references to jit-lock properties.
14394         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
14395         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
14396         (perl-font-lock-special-syntactic-constructs):
14397         Quote jit-lock-defer-multiline property.
14399 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
14401         * vc-git.el (vc-git-registered): Call vc-git-root only once.
14403 2009-11-30  Juri Linkov  <juri@jurta.org>
14405         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
14406         value `buffer' of `multi-isearch-next-buffer-current-function'.
14407         Use `(current-buffer)' when `buffer' is nil.
14408         (multi-isearch-next-buffer-from-list): Don't fallback to
14409         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
14411 2009-11-30  Juri Linkov  <juri@jurta.org>
14413         * misearch.el (multi-isearch-read-buffers): Move canonicalization
14414         of buffers with `get-buffer' to `multi-isearch-buffers'.
14415         (multi-isearch-buffers, multi-isearch-buffers-regexp):
14416         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
14417         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
14418         FILES with `expand-file-name' converting relative file names
14419         to absolute.  Doc fix.  (Bug#4727)
14421 2009-11-30  Juri Linkov  <juri@jurta.org>
14423         * misearch.el (multi-isearch-read-buffers)
14424         (multi-isearch-read-matching-buffers): New functions.
14425         (multi-isearch-buffers, multi-isearch-buffers-regexp):
14426         Use them in the `interactive' spec.  Doc fix.
14427         (multi-isearch-read-files, multi-isearch-read-matching-files):
14428         New functions.
14429         (multi-isearch-files, multi-isearch-files-regexp):
14430         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
14432 2009-11-30  Juri Linkov  <juri@jurta.org>
14434         * doc-view.el (doc-view-continuous):
14435         Rename from `doc-view-continuous-mode'.
14436         (doc-view-menu): Move "Toggle display" to the top.
14437         Add submenu "Continuous" with radio buttons "Off"/"On"
14438         and "Save as Default".
14439         (doc-view-scroll-up-or-next-page)
14440         (doc-view-scroll-down-or-previous-page)
14441         (doc-view-next-line-or-next-page)
14442         (doc-view-previous-line-or-previous-page):
14443         Rename `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
14445 2009-11-30  Juri Linkov  <juri@jurta.org>
14447         * comint.el (comint-mode-map): Rebind `M-r' from
14448         `comint-previous-matching-input' to
14449         `comint-history-isearch-backward-regexp'.
14450         Unbind `M-s' to allow global key binding `M-s'.
14451         Add menu items for `comint-history-isearch-backward' and
14452         `comint-history-isearch-backward-regexp'.  (Bug#3746)
14454 2009-11-30  Juri Linkov  <juri@jurta.org>
14456         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
14457         For def=recenter, replace `recenter' with `recenter-top-bottom'
14458         that is called with `this-command' and `last-command' let-bound
14459         to `recenter-top-bottom'.  When the last `def' was not `recenter',
14460         set `recenter-last-op' to nil.  (Bug#4981)
14462 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14464         Minor cleanup and simplification.
14465         * filecache.el (file-cache-add-directory)
14466         (file-cache-add-directory-recursively)
14467         (file-cache-add-from-file-cache-buffer)
14468         (file-cache-delete-file-regexp, file-cache-delete-directory)
14469         (file-cache-files-matching-internal, file-cache-display): Use dolist.
14470         (file-cache-temp-minibuffer-message): Delete function.
14471         (file-cache-minibuffer-complete): Use minibuffer-message instead.
14473         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
14474         Don't signal an error when bumping into EOB in tr, s, or y.
14476 2009-11-29  Juri Linkov  <juri@jurta.org>
14478         * startup.el (fancy-about-text): Fix wording of Guided Tour.
14479         (Bug#4960)
14481         * descr-text.el (describe-char-unidata-list): Use lowercase name
14482         for "Unicode name" like in other tags.
14484 2009-11-29  Juri Linkov  <juri@jurta.org>
14486         * ediff-util.el (ediff-minibuffer-with-setup-hook):
14487         New compatibility macro.
14488         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
14490 2009-11-29  Juri Linkov  <juri@jurta.org>
14492         Add defcustom to define the cycling order of `recenter-top-bottom'.
14493         (Bug#4981)
14495         * window.el (recenter-last-op): Doc fix.
14496         (recenter-positions): New defcustom.
14497         (recenter-top-bottom): Rewrite to use `recenter-positions'.
14498         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
14500 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
14502         Improve integration of Tramp and ange-ftp in eshell.
14504         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
14505         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
14506         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
14508         * eshell/esh-util.el (top): Require also Tramp when compiling.
14509         (eshell-directory-files-and-attributes): Check for FTP remote
14510         connection.
14511         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
14512         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
14513         (eshell-file-attributes): Handle ".".  Return `entry'.
14515         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
14516         (ange-ftp-directory-files-and-attributes)
14517         (ange-ftp-real-directory-files-and-attributes): New defuns.
14519         * net/tramp.el (tramp-maybe-open-connection): Open the remote
14520         shell with "exec" when possible.  This prevents trailing prompts
14521         in `start-file-process'.
14523 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14525         Try and remove assumptions about point-min==1.
14526         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
14527         (rng-compute-mode-line-string): Show the validation percentage in
14528         terms of the narrowed text, not the widened text.
14529         (rng-do-some-validation): Don't catch internal errors when debugging.
14530         (rng-first-error): Simplify.
14531         (rng-after-change-function): Remove work around.  AFAIK the bug has
14532         been fixed a while ago.
14534         * image-mode.el (image-minor-mode): Exit more gracefully when the image
14535         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
14537         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
14539         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
14540         `cd' doesn't always do it for us (bug#5067).
14542         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
14543         on 2009-10-25 as part of some other change (bug#5067).
14545 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14547         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
14548         `suspicious'.
14549         (byte-compile-warnings): Use byte-compile-warning-types.
14550         (byte-compile-save-excursion): Warn about use of set-buffer right
14551         after save-excursion.
14553         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
14554         the excursion as well.
14556 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
14558         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
14559         providing a Tramp related implementation of "su" and "sudo".
14560         (eshell-unix-initialize): Add "su" and "sudo".
14562 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
14564         * net/socks.el (socks-send-command): Convert binary request to
14565         unibyte before sending.  This fixes mishandling of some port
14566         numbers such as 129.
14568 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14570         * help.el (describe-bindings-internal): Remove `interactive'.
14572         * man.el (Man-completion-table): Trim a terminating "(".
14573         Remove the space between name page a section.
14574         Add the command's description on the `help-echo' property.
14575         Remove `process-connection-type' binding since it's unused by
14576         call-process.
14577         Provide completion for the "<section> <name>" format as well.
14578         (Man-default-man-entry): Remove spurious var shadowing the argument.
14580 2009-11-26  Kevin Ryde  <user42@zip.com.au>
14582         * log-view.el: Add "Keywords: tools", since its other keywords
14583         aren't in finder-known-keywords, and following vc.el.
14585         * sha1.el (sha1-string-external): default-directory "/" in case
14586         otherwise non-existent.  process-connection-type pipe for touch of
14587         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
14589 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14591         Misc coding convention cleanups.
14592         * htmlfontify.el (hfy-init-kludge-hook): Rename from
14593         hfy-init-kludge-hooks.
14594         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
14595         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
14596         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
14597         and push.
14598         (hfy-slant, hfy-weight): Use tables rather than code.
14599         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
14600         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
14601         (hfy-face-attr-for-class): Initialize `face-spec' directly.
14602         (hfy-face-to-css): Remove `nconc' with single arg.
14603         (hfy-p-to-face-lennart): Use `or'.
14604         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
14605         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
14606         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
14607         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
14608         (hfy-force-fontification): Use run-hooks.
14610 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
14612         Various minor fixes.
14613         * htmlfontify.el (hfy-default-header): Add toggle_invis since
14614         Javascript belongs in the header, not the body.
14615         (hfy-javascript): Remove.
14616         (hfy-fontify-buffer): Don't insert it any more.
14617         (hfy-face-at): Handle (face0 face1 face2) style face properties.
14618         Fix bug in invis handling when there were no invis props in a chunk.
14620 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14622         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
14624 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
14626         * finder.el (finder-mode-map): Add a menu.
14628 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
14630         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
14631         "unsigned" structs.
14633         (verilog-leap-to-head, verilog-backward-token): Handle "disable
14634         fork" statement better.
14636 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
14638         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
14639         (verilog-delete-auto, verilog-delete-empty-auto-pair)
14640         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
14641         Reported by Clay Douglass.
14643         (verilog-auto-inst, verilog-auto-star-safe)
14644         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
14645         Fix removing "// Interfaces" when saving .* expansions.
14646         Reported by Pierre-David Pfister.
14648 2009-11-26  Glenn Morris  <rgm@gnu.org>
14650         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
14651         the scope.
14653 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
14655         * vc-annotate.el (vc-annotate-revision-previous-to-line):
14656         Really use previous revision.
14658 2009-11-25  Kevin Ryde  <user42@zip.com.au>
14660         * man.el (Man-completion-table): default-directory "/" in case
14661         doesn't otherwise exist.  process-environment COLUMNS=999 so as
14662         not to truncate long names.  process-connection-type pipe to avoid
14663         any chance of hitting the pseudo-tty TIOCGWINSZ.
14664         (man): completion-ignore-case t for friendliness and since man
14665         itself is case-insensitive on the command line.
14666         Further to Bug#3717.
14668         * arc-mode.el: Add "Keywords: files", so the details in its
14669         commentary can be reached from finder-by-keyword.
14670         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
14671         editing mode, but it's comms related and sgml-mode.el has "comm"
14672         on that basis too.
14673         * textmodes/bibtex-style.el: Add "Keywords: tex".
14674         * international/isearch-x.el, international/ja-dic-cnv.el:
14675         * international/ja-dic-utl.el, international/kkc.el:
14676         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
14678 2009-11-25  Juri Linkov  <juri@jurta.org>
14680         * man.el (Man-completion-table): Modify regexp to include
14681         section names to completion strings.  (Bug#3717)
14683 2009-11-25  Juri Linkov  <juri@jurta.org>
14685         Search recursively in gzipped files.  (Bug#4982)
14687         * progmodes/grep.el (grep-highlight-matches): Add new options
14688         `always' and `auto'.  Doc fix.
14689         (grep-process-setup): Check `grep-highlight-matches' for
14690         `auto-detect' to determine the need to compute grep defaults.
14691         Move Windows/DOS specific --colors settings handling
14692         to `grep-compute-defaults'.  Check `grep-highlight-matches'
14693         to get the value of "--color=".
14694         (grep-compute-defaults): Compute `grep-highlight-matches' when it
14695         has the value `auto-detect'.  Move Windows/DOS specific settings
14696         from `grep-process-setup'.
14697         (zrgrep): New command with alias `rzgrep'.
14699 2009-11-25  Juri Linkov  <juri@jurta.org>
14701         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
14702         to nil instead of switching off view-mode.  (Bug#4896)
14704 2009-11-25  Juri Linkov  <juri@jurta.org>
14706         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
14708         * mwheel.el (mwheel-scroll-up-function)
14709         (mwheel-scroll-down-function): New defvars.
14710         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
14711         `scroll-up', and `mwheel-scroll-down-function' instead of
14712         `scroll-down'.
14714         * doc-view.el (doc-view-scroll-up-or-next-page)
14715         (doc-view-scroll-down-or-previous-page): Add optional ARG.
14716         Use this ARG in the call to image-scroll-up/image-scroll-down.
14717         Change `interactive' spec to "P".  Goto next/previous page only
14718         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
14719         SPC/DEL case).  Doc fix.
14720         (doc-view-next-line-or-next-page)
14721         (doc-view-previous-line-or-previous-page): Rename arg to ARG
14722         for consistency.
14723         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
14724         `doc-view-scroll-up-or-next-page', and buffer-local
14725         `mwheel-scroll-down-function' to
14726         `doc-view-scroll-down-or-previous-page'.
14728 2009-11-25  Juri Linkov  <juri@jurta.org>
14730         Provide additional default values (directories at other Dired
14731         windows) via M-n in the minibuffer of some Dired commands.
14733         * dired-aux.el (dired-diff, dired-compare-directories)
14734         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
14735         `minibuffer-default' in `minibuffer-with-setup-hook'.
14736         (dired-dwim-target-directory): Find a window that displays Dired
14737         buffer instead of failing when the next window is not Dired.
14738         Use `get-window-with-predicate' to find for the next Dired window.
14739         (dired-dwim-target-defaults): New function.
14741         * ediff-util.el (ediff-read-file-name):
14742         Use `dired-dwim-target-defaults' to set `minibuffer-default'
14743         in `minibuffer-with-setup-hook'.
14745 2009-11-25  Juri Linkov  <juri@jurta.org>
14747         Provide additional default values (file name at point or at the
14748         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
14750         * minibuffer.el (read-file-name-defaults): New function.
14751         (read-file-name): Reset `minibuffer-default' to nil when
14752         it duplicates initial input `insdef'.
14753         Bind `minibuffer-default-add-function' to lambda that
14754         calls `read-file-name-defaults' in `minibuffer-selected-window'.
14755         (minibuffer-insert-file-name-at-point): New command.
14757         * files.el (file-name-at-point-functions): New defcustom.
14758         (find-file-default): Remove defvar.
14759         (find-file-read-args): Don't use `find-file-default'.
14760         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14761         to `read-file-name'.
14762         (find-file-literally): Use `read-file-name' with
14763         `confirm-nonexistent-file-or-buffer'.
14765         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
14767         * dired.el (dired-read-dir-and-switches):
14768         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14769         to `read-file-name'.
14770         (dired-file-name-at-point): New function.
14771         (dired-mode): Add hook `dired-file-name-at-point' to
14772         `file-name-at-point-functions'.
14774 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14776         Really make the *Completions* window soft-dedicated (bug#5030).
14777         * window.el (window--display-buffer-2): Add `dedicated' argument.
14778         (display-buffer): Pass it when needed so the dedicated flag is set
14779         after calling set-window-buffer, which would otherwise reset it.
14781 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14783         * progmodes/meta-mode.el (meta-complete-symbol):
14784         * progmodes/etags.el (complete-tag):
14785         * mail/mailabbrev.el (mail-abbrev-complete-alias):
14786         Use completion-in-region.
14788         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
14789         (dabbrev-completion): Use completion-in-region.
14790         (dabbrev--abbrev-at-point): Simplify regexp.
14792         * abbrev.el (abbrev--before-point): Use word-motion functions
14793         if :regexp is not specified (bug#5031).
14795         * subr.el (string-prefix-p): New function.
14797         * man.el (Man-completion-cache): New var.
14798         (Man-completion-table): Use it.
14800         * vc.el (vc-print-log-internal): Make `limit' optional for better
14801         compatibility (e.g. with vc-annotate.el).
14803 2009-11-24  Kevin Ryde  <user42@zip.com.au>
14805         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
14806         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
14808         * emacs-lisp/elint.el (elint-add-required-env): Better error message
14809         when .el source file not found or other error.
14811 2009-11-24  Markus Triska  <markus.triska@gmx.at>
14813         * linum.el (linum-update-window): Ignore intangible (bug#4996).
14815 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14817         Handle the [back] button properly (bug#4979).
14818         * descr-text.el (describe-text-properties): Add a `buffer' argument.
14819         Use help-setup-xref, help-buffer, and with-help-window.
14820         (describe-char): Add `buffer' argument.
14821         Pass proper command to help-setup-xref.  Don't meddle with
14822         help-xref-stack-item directly.
14823         (describe-text-category): Use with-help-window and help-buffer.
14825         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
14826         for the displayed buffer (bug#4887).
14828         * man.el (Man-completion-table): New function.
14829         (man): Use it.
14831 2009-11-24  David Reitter  <david.reitter@gmail.com>
14833         * vc-git.el (vc-git-registered): Use checkout directory (where
14834         .git is) rather than the file's directory and a relative path spec
14835         to work around a bug in git.
14837 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
14839         Improve handling of processes on remote hosts.
14841         * eshell/esh-util.el (eshell-path-env): New defvar.
14842         (eshell-parse-colon-path): New defun.
14843         (eshell-file-attributes): Use `eshell-parse-colon-path'.
14845         * eshell/esh-ext.el (eshell-search-path):
14846         Use `eshell-parse-colon-path'.
14847         (eshell-remote-command): Remove argument HANDLER.
14848         (eshell-external-command): Check for FTP remote connection.
14850         * eshell/esh-proc.el (eshell-gather-process-output):
14851         Use `file-truename', in order to start also symlinked files.
14852         Apply `start-file-process' instead of `start-process'.
14853         Shorten `command' to the local file name part.
14855         * eshell/em-cmpl.el (eshell-complete-commands-list):
14856         Use `eshell-parse-colon-path'.
14858         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
14860         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
14861         to `eshell-directory-change-hook'.
14863 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
14865         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
14866         because it could be enabled automatically if view-read-only is non-nil.
14868 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
14870         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
14871         made on 2009-11-22.
14873 2009-11-24  Glenn Morris  <rgm@gnu.org>
14875         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
14876         deleted variable bookmark-bmenu-bookmark-column.
14878 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14880         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
14882 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
14884         * net/browse-url.el (browse-url-filename-alist): On Windows, add
14885         two slashes to the "file:" prefix.
14886         (browse-url-file-url): De-munge Cygwin filenames before passing
14887         them to Windows browser.
14888         (browse-url-default-windows-browser): Use call-process.
14890 2009-11-23  Juri Linkov  <juri@jurta.org>
14892         Implement DocView Continuous mode.  (Bug#4896)
14893         * doc-view.el (doc-view-continuous-mode): New defcustom.
14894         (doc-view-mode-map): Bind C-n/<down> to
14895         `doc-view-next-line-or-next-page', C-p/<up> to
14896         `doc-view-previous-line-or-previous-page'.
14897         (doc-view-next-line-or-next-page)
14898         (doc-view-previous-line-or-previous-page): New commands.
14900 2009-11-23  Juri Linkov  <juri@jurta.org>
14902         Implement Isearch in comint input history.  (Bug#3746)
14903         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
14904         `isearch-mode-hook'.
14905         (comint-history-isearch): New defcustom.
14906         (comint-history-isearch-backward)
14907         (comint-history-isearch-backward-regexp): New commands.
14908         (comint-history-isearch-message-overlay): New buffer-local variable.
14909         (comint-history-isearch-setup, comint-history-isearch-end)
14910         (comint-goto-input, comint-history-isearch-search)
14911         (comint-history-isearch-message, comint-history-isearch-wrap)
14912         (comint-history-isearch-push-state)
14913         (comint-history-isearch-pop-state): New functions.
14915 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
14917         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
14918         return.
14919         (tramp-handle-make-symbolic-link)
14920         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
14921         Quote file names.
14922         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
14923         (tramp-handle-process-file): Use it.
14925 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14927         * window.el (move-to-window-line-last-op): Remove.
14928         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
14930 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
14932         Make M-r mirror the new cycling behavior of C-l.
14933         * window.el (move-to-window-line-last-op): New var.
14934         (move-to-window-line-top-bottom): New command.
14935         (global-map): Bind M-r move-to-window-line-top-bottom.
14937 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
14939         * dired-x.el (dired-guess-shell-alist-default):
14940         Support xz format.  (Bug#4953)
14942 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
14944         * emulation/viper-cmd.el: Use viper-last-command-char instead of
14945         last-command-char/last-command-event.
14946         (viper-prefix-arg-value): Do correct conversion of event-char for
14947         XEmacs.
14949         * emulation/viper-util.el, emulation/viper.el:
14950         Use viper-last-command-char instead of
14951         last-command-char/last-command-event.
14953         * ediff-init.el, ediff-mult.el, ediff-util.el:
14954         Replace last-command-char and last-command-event
14955         with (ediff-last-command-char) everywhere.
14957         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
14958         created in fundamental mode.
14960         * ediff.el (ediff-version): Revert the change of interactive-p to
14961         called-interactively-p.
14963 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
14965         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
14966         generation from word-movement command names.
14968 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
14970         * cus-start.el (all): Add native condition for font-use-system-font.
14972 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
14974         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
14975         Correct the patch from 2009-11-18.  (Bug#3910)
14977 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
14979         * progmodes/subword.el: Rename from lisp/subword.el.
14981         * subword.el: Rename to progmodes/subword.el.
14983         * Makefile.in (ELCFILES): Adapt to subword.el move.
14985 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
14986             Stefan Monnier  <monnier@iro.umontreal.ca>
14988         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
14989         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
14990         (bookmark-bmenu-show-filenames): Use push.
14991         (bookmark-bmenu-hide-filenames): Use local var instead of
14992         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
14993         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
14994         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
14995         filenames now that the bookmark names are always available.
14997 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14999         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
15000         (bookmark-search-pattern): Move and leave unbound.
15001         (bookmark-bmenu-mode-map): Change binding.
15002         (bookmark-read-search-input): Simplify.
15003         Don't use text-char-description.  Don't error on non-char events.
15004         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
15005         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
15006         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
15007         Use a local var for the timer.
15008         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
15009         (i.e. bookmark-bmenu-search).
15011 2009-11-21  Glenn Morris  <rgm@gnu.org>
15013         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
15015 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
15017         * net/browse-url.el (browse-url-default-windows-browser):
15018         Use cygstart for cygwin.
15020 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
15022         * bookmark.el: Formatting and doc fixes only:
15023         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
15024         (bookmark-bmenu-search): Wrap to fit within 80 columns.
15025         Minor grammar and punctuation fixes in doc string.
15026         (bookmark-read-search-input): Adjust to fit within 80 columns.
15028 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
15030         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
15031         (c-backward-into-nomenclature): Adapt to subword renaming.
15033         * subword.el (subword-forward, subword-backward, subword-mark)
15034         (subword-kill, subword-backward-kill, subword-transpose)
15035         (subword-downcase, subword-upcase, subword-capitalize)
15036         (subword-forward-internal, subword-backward-internal):
15037         Rename from forward-subword, backward-subword, mark-subword,
15038         kill-subword, backward-kill-subword, transpose-subwords,
15039         downcase-subword, upcase-subword, capitalize-subword,
15040         forward-subword-internal, backward-subword-internal.
15042 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15044         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
15045         New options.
15046         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
15047         New vars.
15048         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
15049         (bookmark-bmenu-filter-alist-by-regexp)
15050         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
15051         (bookmark-bmenu-search): New command.
15052         (bookmark-bmenu-mode-map): Bind it.
15054 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
15056         * progmodes/cc-cmds.el: declare-functioned forward-subword and
15057         backward-subword to quit the byte-compiler.
15059         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
15061         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
15063         * progmodes/cc-cmds.el (c-update-modeline)
15064         (c-forward-into-nomenclature, c-backward-into-nomenclature):
15065         Refer to subword.el functions instead of cc-subword.el.
15067         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
15068         subword.el functions instead of cc-subword.el.
15070         * progmodes/cc-subword.el: Rename to subword.el.
15071         * subword.el: Rename from progmodes/cc-subword.el.
15072         (subword-mode-map): Rename from c-subword-mode-map.
15073         (subword-mode): Rename from c-subword-mode.
15074         (global-subword-mode): New global minor mode.
15075         (forward-subword): Rename from c-forward-subword.
15076         (backward-subword): Rename from c-backward-subword.
15077         (mark-subword): Rename from c-mark-subword.
15078         (kill-subword): Rename from c-kill-subword.
15079         (backward-kill-subword): Rename from c-backward-kill-subword.
15080         (transpose-subwords): Rename from c-tranpose-subword.
15081         (downcase-subword): Rename from c-downcase-subword.
15082         (capitalize-subword): Rename from c-capitalize-subword.
15083         (forward-subword-internal): Rename from c-forward-subword-internal.
15084         (backward-subword-internal): Rename from c-backward-subword-internal.
15086 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
15088         * vc.el (vc-deduce-fileset): Allow non-state changing operations
15089         from a dired buffer.
15090         (vc-dired-deduce-fileset): New function.
15091         (vc-root-diff, vc-print-root-log): Use it.
15093         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
15094         nil LIMIT argument to vc-print-log-internal.
15096 2009-11-20  Glenn Morris  <rgm@gnu.org>
15098         * Makefile.in (ELCFILES): Regenerate.
15100 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
15102         * calc/calc.el (calc-set-mode-line):
15103         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15104         (math-format-number): Rename `math-format-complement-signed' to
15105         `math-format-twos-complement'.
15107         * calc/calc-bin.el (math-format-twos-complement): Rename from
15108         math-format-complement-signed.
15109         (calc-radix): Rename `calc-complement-signed-mode' to
15110         `calc-twos-complement-mode'.
15111         (calc-octal-radix, calc-hex-radix): Add an argument for
15112         two's complement.
15114         * calc/calc-embed.el (calc-embedded-mode-vars):
15115         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15117         * calc/calc-ext.el (calc-init-extensions):
15118         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15119         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
15121         * calc/calc-units.el (math-build-units-table-buffer):
15122         Let `calc-twos-complement-mode' be nil.
15124         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
15125         entries.
15127         * calc/calc-vec.el (calcFunc-vunpack):
15128         * calc/calc-aent.el (calc-do-calc-eval):
15129         * calc/calc-forms.el (math-format-date):
15130         * calc/calc-graph.el (calc-graph-plot):
15131         * calc/calc-math.el (math-use-emacs-fn):
15132         * calc/calccomp.el (math-compose-expr):
15133         Let `calc-twos-complement-mode' be nil.
15135 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15137         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
15138         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
15139         * minibuffer.el (completion-in-region-functions): New hook.
15140         (completion-in-region): New function.
15141         * emacs-lisp/lisp.el (lisp-complete-symbol):
15142         * pcomplete.el (pcomplete-std-complete): Use it.
15144 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15146         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
15147         (latex-complete-alist): New vars.
15148         (latex-string-prefix-p, latex-complete-bibtex-keys)
15149         (latex-complete-envnames, latex-complete-refkeys)
15150         (latex-complete-data): New functions.
15151         (latex-complete, latex-indent-or-complete): New commands.
15153         * window.el (display-buffer-mark-dedicated): New var.
15154         (display-buffer): Obey it.
15155         * minibuffer.el (minibuffer-completion-help): Use it.
15157         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
15159         * filecache.el (file-cache-add-file): Use push and cons.
15160         (file-cache-delete-file-regexp): Use push.
15161         (file-cache-complete): Use completion-in-region.
15163         * simple.el (with-wrapper-hook): Fix thinko.
15165         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
15166         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
15167         Use with-current-buffer and string-to-number.
15168         (hfy-fallback-colour-values): Use assoc-string.
15169         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
15170         (hfy-face-at): Remove unused var `found-face'.
15171         (hfy-compile-stylesheet): Remove unused var `css'.
15172         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
15173         and `orig-buffer'.
15174         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
15175         Use with-current-buffer.
15176         (hfy-text-p): Use expand-file-name and fewer setq.
15178 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
15180         * htmlfontify.el, hfy-cmap.el: New files.
15182 2009-11-19  Juri Linkov  <juri@jurta.org>
15184         * minibuffer.el (completions-format): New defcustom.
15185         (completion--insert-strings): Implement vertical format.
15187         * simple.el (switch-to-completions): Move point to the first
15188         completion when point was at the beginning of the buffer.
15190 2009-11-19  Juri Linkov  <juri@jurta.org>
15192         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
15194         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
15196 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
15198         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
15199         (mail-signature): Change default to t.
15200         (mail-from-style): Deprecate `system-default' value.
15201         (mail-insert-from-field): For default value of mail-from-style,
15202         default to `angles' unless `angles' needs quoting and `parens'
15203         does not.
15204         (mail-citation-prefix-regexp): Use citation regexp from
15205         message-mode.
15207 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
15209         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
15210         Set variables for computing the prompt for reading password.
15212 2009-11-19  Glenn Morris  <rgm@gnu.org>
15214         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
15216         * textmodes/flyspell.el (sgml-lexical-context): Declare.
15218         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
15219         (newsticker-treeview-listwindow-height): Fix custom type.
15221 2009-11-19  Kenichi Handa  <handa@m17n.org>
15223         * descr-text.el (describe-char-padded-string): Compose with TAB
15224         only if there's a font for CH.
15225         (describe-char): Fix the condition for detecting a trivial composition.
15227 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
15229         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
15230         more accurate version of the regexp.  (Bug#3910)
15232 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
15234         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
15236 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
15238         * font-setting.el (font-use-system-font): Declare for byte-compiler.
15239         (font-setting-change-default-font): Fix typo in docstring.
15241 2009-11-18  Alan Mackenzie  <acm@muc.de>
15243         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
15245 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
15247         * font-setting.el (font-use-system-font): Move ...
15249         * cus-start.el (all): ... to here.
15251 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
15253         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
15254         Don't set `ad-return-value' if `ad-do-it' doesn't.
15256         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
15257         modification time.
15259 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
15261         * menu-bar.el: Put "Use system font" in Option-menu.
15262         (menu-bar-options-save): Add font-use-system-font.
15264         * loadup.el: If feature system-font-setting or font-render-setting is
15265         there, load font-setting.
15267         * Makefile.in (ELCFILES): Add font-settings.el.
15268         * font-setting.el: New file.
15270 2009-11-17  Glenn Morris  <rgm@gnu.org>
15272         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
15274         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
15275         Preserve point in the list buffer.  (Bug#4939)
15276         Use point-at-eol.
15277         (newsticker--treeview-list-update-highlight)
15278         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
15280 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
15282         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
15283         Remove.
15285         * calc/calc-ext.el (calc-init-extensions): Remove references to
15286         symclip.
15288         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
15290         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
15291         * calc/calc-help.el (calc-b-prefix-help): Remove references to
15292         `calc-symclip'.
15294 2009-11-16  Kevin Ryde  <user42@zip.com.au>
15296         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
15297         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
15299         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
15300         (lm-keywords-list): Allow comma-only separator like "foo,bar".
15301         Ignore trailing spaces by omit-nulls to split-string (fixing
15302         regression from Emacs 21 due to the incompatible split-string
15303         change).  (Bug #4928.)
15305 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
15307         * vc.el (vc-log-show-limit): Default to 2000.
15308         (vc-print-log-internal): Insert buttons to request more entries
15309         when limiting the output.
15311         * vc-sccs.el (vc-sccs-print-log):
15312         * vc-rcs.el (vc-rcs-print-log):
15313         * vc-cvs.el (vc-cvs-print-log):
15314         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
15315         LIMIT is non-nil.
15317 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
15319         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
15320         error when `tramp-gvfs-dbus-event-vector' is set.
15321         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
15323 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15325         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
15327 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
15329         * net/dbus.el (dbus-unregister-service): New defun.
15330         (dbus-register-property): Register the handlers of
15331         "org.freedesktop.DBus.Properties" for SERVICE.
15332         (dbus-property-handler): Fix docstring.
15334 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
15336         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
15337         Quote doc string reference in defvaralias as it is not in special form.
15338         (byte-compile-output-docform): Doc fix.
15340 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
15342         * calc/calc.el (math-2-word-size, math-half-2-word-size)
15343         (calc-complement-signed-mode): New variables.
15344         (calc-set-mode-line): Add indicator for twos-complements.
15345         (math-format-number): Format twos-complement notation.
15347         * calc/calc-bin.el (calc-word-size): Reset the variables
15348         `math-2-word-size' and `math-half-2-word-size'.
15349         (math-format-complement-signed, math-symclip, calcFunc-symclip)
15350         (calc-symclip): New functions.
15352         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
15354         * calc/calc-embed.el (calc-embedded-mode-vars):
15355         Add `calc-complement-signed-mode' to the list of modes.
15357         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
15358         (calc-b-oper-keys): Add `calc-symclip' to list.
15360         * calc/calc-ext.el (math-read-number-fancy): Read complement
15361         signed numbers.
15362         (calc-init-extensions): Add binding for `calc-symclip'.
15363         Add autoload for `calcFunc-symclip' and `calc-symclip'.
15365         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15366         `calc-symclip'.
15367         (calc-modes-menu): Add item for twos complement mode.
15369         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15371 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
15373         * register.el (jump-to-register, insert-register): Handle Semantic
15374         tags.  From commented-out advice in semantic/senator.el.
15376 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
15378         * vc.el (vc-log-show-limit): New variable.
15379         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
15380         when using a prefix argument.
15381         (vc-print-log-internal): Add new argument LIMIT.
15383         * vc-svn.el (vc-svn-print-log):
15384         * vc-mtn.el (vc-mtn-print-log):
15385         * vc-hg.el (vc-hg-print-log):
15386         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
15387         pass it to the log command when set.  Make the BUFFER argument
15388         non-optional.
15390         * vc-sccs.el (vc-sccs-print-log):
15391         * vc-rcs.el (vc-rcs-print-log):
15392         * vc-git.el (vc-git-print-log):
15393         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
15394         ignore it.  Make the BUFFER argument non-optional
15396         * bindings.el (mode-line-buffer-identification): Do not purecopy.
15398 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
15400         * dired.el (dired-mode-map): Move encryption items to "Operate"
15401         menu (Bug#4703).
15403         * strokes.el (strokes-update-window-configuration): Make strokes
15404         buffer current before erasing (Bug#4906).
15406 2009-11-15  Juri Linkov  <juri@jurta.org>
15408         * simple.el (set-mark-default-inactive): Add :type, :group
15409         and :version.  (Bug#4876)
15411 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
15413         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
15414         (archive-unique-fname): ... here.  (Bug#4929)
15416 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15418         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
15419         with a real fix.
15421         * novice.el (disabled-command-function): Add useful args.
15422         Setup the help buffer so that [back] works.
15423         Remove redundant call to help-mode.
15424         (disabled-command-function): Use `case'.
15425         (en/disable-command): New function extracted from enable-command.
15426         (enable-command, disable-command): Use it.
15428 2009-11-14  Glenn Morris  <rgm@gnu.org>
15430         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
15431         constants.  (Bug#4913)
15433         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
15435 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
15437         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
15438         defined in C that have no doc-strings.  (Bug#1063)
15440 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
15442         * cus-edit.el (data, files):
15443         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
15445 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
15447         * simple.el (shell-command): Doc fix (Bug#4891).
15449         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
15451 2009-11-14  Glenn Morris  <rgm@gnu.org>
15453         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
15454         statements for vc-diff, emerge-quit, and rmail-cease-edit.
15455         If they are already loaded, eval-after-load will do the right thing.
15457         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
15458         compiling.
15460         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
15462         * simple.el (x-selection-owner-p): Declare.
15463         (read-mail-command): Use custom radio type rather than choice.
15464         (completion-no-auto-exit): Doc fix.
15466         * custom.el (defgroup):
15467         * epg-config.el (epg): Doc fixes.
15469 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
15471         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
15472         * international/ccl.el (define-ccl-program): Do not purecopy the
15473         docstring, defconst does it anyway.
15475 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15477         * add-log.el (add-change-log-entry): Avoid displaying the changelog
15478         a second time.
15480         * x-dnd.el (x-dnd-maybe-call-test-function):
15481         * window.el (split-window-vertically):
15482         * whitespace.el (whitespace-help-on):
15483         * vc-rcs.el (vc-rcs-consult-headers):
15484         * userlock.el (ask-user-about-lock-help)
15485         (ask-user-about-supersession-help):
15486         * type-break.el (type-break-force-mode-line-update):
15487         * time-stamp.el (time-stamp-conv-warn):
15488         * terminal.el (te-set-output-log, te-more-break, te-filter)
15489         (te-sentinel, terminal-emulator):
15490         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
15491         (term-write-input-ring, term-check-source, term-start-output-log):
15492         (term-display-buffer-line, term-dynamic-list-completions):
15493         (term-ansi-make-term, serial-term):
15494         * subr.el (selective-display):
15495         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
15496         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
15497         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
15498         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
15499         (speedbar-remove-localized-speedbar-support)
15500         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
15501         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
15502         (speedbar-buffers-line-directory):
15503         * simple.el (shell-command-on-region, append-to-buffer)
15504         (prepend-to-buffer):
15505         * shadowfile.el (shadow-save-todo-file):
15506         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
15507         (scroll-bar-maybe-set-window-start):
15508         * sb-image.el (speedbar-image-dump):
15509         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
15510         (load-save-place-alist-from-file):
15511         * ps-samp.el (ps-print-message-from-summary):
15512         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
15513         (ps-background-image, ps-begin-job, ps-do-despool):
15514         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
15515         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
15516         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
15517         (pr-call-process, pr-file-list, pr-interface-save):
15518         * novice.el (disabled-command-function)
15519         (enable-command, disable-command):
15520         * mouse.el (mouse-buffer-menu-alist):
15521         * mouse-copy.el (mouse-kill-preserving-secondary):
15522         * macros.el (kbd-macro-query):
15523         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
15524         * informat.el (batch-info-validate):
15525         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
15526         * hippie-exp.el (try-expand-dabbrev-visible):
15527         * help-mode.el (help-make-xrefs):
15528         * help-fns.el (describe-variable):
15529         * generic-x.el (bat-generic-mode-run-as-comint):
15530         * finder.el (finder-mouse-select):
15531         * find-dired.el (find-dired-sentinel):
15532         * filesets.el (filesets-file-close):
15533         * files.el (list-directory):
15534         * faces.el (list-faces-display, describe-face):
15535         * facemenu.el (list-colors-display):
15536         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
15537         * epg.el (epg--process-filter, epg-cancel):
15538         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
15539         (epa--read-signature-type):
15540         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
15541         (emerge-file-names):
15542         * ehelp.el (electric-helpify):
15543         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
15544         * ediff-vers.el (rcs-ediff-view-revision):
15545         * ediff-util.el (ediff-setup):
15546         * ediff-mult.el (ediff-append-custom-diff):
15547         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
15548         (ediff-wordify):
15549         * echistory.el (Electric-command-history-redo-expression):
15550         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
15551         * disp-table.el (describe-display-table):
15552         * dired.el (dired-find-buffer-nocreate):
15553         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
15554         * dabbrev.el (dabbrev--same-major-mode-p):
15555         * chistory.el (list-command-history):
15556         * apropos.el (apropos-documentation):
15557         * allout.el (allout-obtain-passphrase):
15558         (allout-copy-exposed-to-buffer):
15559         (allout-verify-passphrase): Use with-current-buffer.
15561 2009-11-13  Glenn Morris  <rgm@gnu.org>
15563         * Makefile.in (ELCFILES): Regenerate.
15565 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
15567         * net/dbus.el (dbus-registered-objects-table): Rename from
15568         `dbus-registered-functions-table', because it contains also properties.
15569         (dbus-unregister-object): Unregister also properties.
15570         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15571         Use a timeout of 500 msec, in order to not block.
15572         (dbus-register-property, dbus-property-handler): New defuns.
15574 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15576         * simple.el (minibuffer-default-add-completions): Drop deprecated
15577         4th arg.
15579 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
15581         * textmodes/artist.el (artist-mouse-choose-operation):
15582         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
15583         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
15584         (artist-compute-up-event-key): New function.
15585         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
15587 2009-11-13  Kenichi Handa  <handa@m17n.org>
15589         * language/japan-util.el: Make sure that the value of jisx0208
15590         property is jisx0208 character.
15592 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
15594         * international/mule.el (auto-coding-regexp-alist): Only purecopy
15595         car or each item, not the whole list.
15597 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15599         * minibuffer.el (minibuffer-completion-help):
15600         Use minibuffer-hide-completions.
15602 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
15604         * dired.el (dired-save-positions, dired-restore-positions): New funs.
15605         (dired-revert): Use them (bug#4880).
15607 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
15609         * tooltip.el (tooltip-frame-parameters): Undo previous change.
15611 2009-11-12  Juri Linkov  <juri@jurta.org>
15613         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
15614         New functions.
15615         (find-file-literally-at-point): Alias of `ffap-literally'.
15617 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
15619         * textmodes/ispell.el (ispell-skip-region-alist):
15620         * textmodes/css-mode.el (auto-mode-alist):
15621         * progmodes/compile.el (auto-mode-alist):
15622         * international/mule.el (ctext-non-standard-encodings-alist)
15623         (ctext-non-standard-encodings-regexp):
15624         * simple.el (shell-command-switch, text-read-only):
15625         * replace.el (occur-mode-map):
15626         * paths.el (rmail-file-name):
15627         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
15628         * find-file.el (ff-special-constructs):
15629         * files.el (file-name-handler-alist):
15630         * composite.el: Purecopy strings.
15632         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
15634 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
15636         * widget.el (define-widget): Purecopy the docstring.
15637         * international/mule-cmds.el (charset): Do not purecopy the
15638         docstring here, define-widget does it.
15640         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
15641         * textmodes/bibtex-style.el (auto-mode-alist):
15642         * progmodes/inf-lisp.el (inferior-lisp-prompt):
15643         * progmodes/compile.el (compile-command):
15644         * language/korea-util.el (default-korean-keyboard):
15645         * international/mule-conf.el (file-coding-system-alist):
15646         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
15647         * tooltip.el (tooltip-frame-parameters):
15648         * newcomment.el (comment-end, comment-padding):
15649         * dired.el (dired-trivial-filenames):
15650         * comint.el (comint-file-name-prefix): Purecopy initial values.
15652 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
15654         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
15655         (tramp-advice-minibuffer-electric-tilde): Unload advices via
15656         `tramp-unload'.
15657         (tramp-advice-make-auto-save-file-name)
15658         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
15659         after removing the advice.
15661 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
15663         * progmodes/grep.el (grep-regexp-alist):
15664         * international/mule-cmds.el (iso-2022-control-alist):
15665         * emacs-lisp/timer.el (timer-duration-words):
15666         * subr.el (version-separator, version-regexp-alist):
15667         * minibuffer.el (completion-styles-alist):
15668         * faces.el (face-attribute-name-alist, list-faces-sample-text):
15669         Change defvars to defconsts.
15671         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
15672         * loadup.el ("international/mule-conf"): Load the byte compiled version.
15673         * international/mule-conf.el: Allow to be byte compiled.
15675         * international/mule.el (define-charset): Purecopy props.
15676         (load-with-code-conversion): Purecopy doc string and file name.
15677         (put-charset-property): Purecopy strings.
15678         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
15680         * international/mule-cmds.el (register-input-method): Purecopy arguments.
15681         (define-char-code-property): Correctly purecopy the table.
15683         * international/ccl.el (define-ccl-program): Purecopy the docstring.
15685         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
15687         * subr.el (add-hook): Purecopy strings.
15688         (eval-after-load): Purecopy load-history-regexp and the form.
15690         * custom.el (custom-declare-group): Purecopy load-file-name.
15692         * subr.el (menu-bar-separator): New defconst.
15693         * net/eudc.el (eudc-tools-menu):
15694         * international/mule-cmds.el (set-coding-system-map)
15695         (mule-menu-keymap):
15696         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15697         * vc-hooks.el (vc-menu-map):
15698         * replace.el (occur-mode-map):
15699         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
15700         (menu-bar-edit-menu, menu-bar-goto-menu)
15701         (menu-bar-custom-menu, menu-bar-showhide-menu)
15702         (menu-bar-options-menu, menu-bar-tools-menu)
15703         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
15704         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
15705         (menu-bar-help-menu):
15706         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
15707         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
15709         * term/x-win.el (x-gtk-stock-map):
15710         * progmodes/vera-mode.el (auto-mode-alist):
15711         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
15712         (inferior-lisp-program, inferior-lisp-load-command):
15713         * progmodes/hideshow.el (hs-special-modes-alist):
15714         * progmodes/gud.el (same-window-regexps):
15715         * progmodes/grep.el (grep-program, find-program, xargs-program):
15716         * net/telnet.el (same-window-regexps):
15717         * net/rlogin.el (same-window-regexps):
15718         * language/ethiopic.el (font-ccl-encoder-alist):
15719         * vc-sccs.el (vc-sccs-master-templates):
15720         * vc-rcs.el (vc-rcs-master-templates):
15721         * subr.el (cl-assertion-failed):
15722         * simple.el (next-error-overlay-arrow-position):
15723         * lpr.el (lpr-command):
15724         * locate.el (locate-ls-subdir-switches):
15725         * info.el (same-window-regexps, info)
15726         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
15727         * image-mode.el (image-mode, auto-mode-alist):
15728         * hippie-exp.el (hippie-expand-ignore-buffers):
15729         * format.el (format-alist):
15730         * find-dired.el (find-ls-subdir-switches, find-grep-options)
15731         (find-name-arg):
15732         * facemenu.el (facemenu-keybindings):
15733         * dired.el (dired-listing-switches, dired-chown-program):
15734         * diff.el (diff-switches, diff-command):
15735         * cus-edit.el (same-window-regexps):
15736         * bindings.el (mode-line-mule-info)
15737         (mode-line-buffer-identification): Purecopy strings.
15739 2009-11-11  Juri Linkov  <juri@jurta.org>
15741         * simple.el (dired-get-filename) <declare-function>:
15742         Tell the byte-compiler about dired-get-filename.
15743         (shell-command): In Dired mode, get filename from the current line
15744         as the default value.
15746 2009-11-10  Glenn Morris  <rgm@gnu.org>
15748         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
15749         * calendar/holidays.el, progmodes/cperl-mode.el:
15750         Update x-popup-menu declarations.
15752         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
15753         (list-load-path-shadows): Use dolist.
15754         (list-load-path-shadows): Use with-current-buffer.
15756 2009-11-10  Juri Linkov  <juri@jurta.org>
15758         * minibuffer.el (read-file-name): Support a list of default values
15759         in `default-filename'.  Use the first file name where only one
15760         element is required.  Doc fix.
15762 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
15764         * net/dbus.el (dbus-unregister-object): Release service, if no
15765         other method is registered for it.
15767 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
15769         * bookmark.el (bookmark-completing-read): Sort bookmark names if
15770         bookmark-sort-flag is non-nil (Bug#4653).
15772 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
15774         * emulation/cua-base.el: Add CUA property to some CC mode commands
15775         (Bug#4100).
15777 2009-11-08  Kevin Ryde  <user42@zip.com.au>
15779         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
15780         at end of sentence (Bug#4818).
15782 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
15784         * progmodes/compile.el (compilation-error-regexp-alist-alist):
15785         Handle "see declaration of" MSFT statements (Bug#4100).
15787 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
15789         * net/tramp.el (tramp-advice-make-auto-save-file-name)
15790         (tramp-advice-file-expand-wildcards): Unload via
15791         `ad-remove-advice'.
15793         * net/trampver.el: Update release number.
15795 2009-11-08  Kevin Ryde  <user42@zip.com.au>
15797         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
15798         `ad-do-it'.
15800 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
15802         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
15803         in order to keep context in SELinux.
15805 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
15807         * dired-aux.el (dired-query): Place cursor in echo area and allow
15808         C-g.
15810         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
15811         menu item if not on a directory (Bug#4701).
15813 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
15815         Sync with Tramp 2.1.17.
15817         * net/tramp.el (tramp-handle-copy-directory): Don't use
15818         `file-remote-p' (due to compatibility).
15820         * net/tramp-compat.el (tramp-compat-copy-directory)
15821         (tramp-compat-delete-directory): New defuns.
15823         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15824         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15825         Use `tramp-compat-delete-directory'.
15827         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
15828         (tramp-smb-handle-delete-directory):
15829         Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
15831         * net/trampver.el: Update release number.
15833 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
15835         * tar-mode.el (tar-copy): Call write-region on the right buffer
15836         (Bug#4857).
15838         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
15839         by hand, if necessary (Bug#4878).
15841 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
15843         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
15844         align size column (Bug#4839).
15846         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
15847         statement.
15849 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
15851         * progmodes/ld-script.el (auto-mode-alist):
15852         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
15854         * cus-face.el (custom-declare-face): Purecopy face spec.
15856 2009-11-06  Kenichi Handa  <handa@m17n.org>
15858         * international/uni-bidi.el: Re-generated.
15859         * international/uni-category.el: Re-generated.
15860         * international/uni-combining.el: Re-generated.
15861         * international/uni-mirrored.el: Re-generated.
15863 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
15865         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
15866         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
15867         (tex-start-options, slitex-run-command, latex-run-command)
15868         (tex-run-command, tex-directory):
15869         * textmodes/ispell.el (ispell-html-skip-alists)
15870         (ispell-tex-skip-alists, ispell-tex-skip-alists):
15871         * textmodes/fill.el (adaptive-fill-first-line-regexp):
15872         (adaptive-fill-regexp):
15873         * textmodes/dns-mode.el (auto-mode-alist):
15874         * progmodes/python.el (interpreter-mode-alist):
15875         * progmodes/etags.el (tags-compression-info-list):
15876         * progmodes/etags.el (tags-file-name):
15877         * net/browse-url.el (browse-url-galeon-program)
15878         (browse-url-firefox-program):
15879         * mail/sendmail.el (mail-signature-file)
15880         (mail-citation-prefix-regexp):
15881         * international/mule-conf.el (eight-bit):
15882         * international/latexenc.el (latex-inputenc-coding-alist):
15883         * international/fontset.el (x-pixel-size-width-font-regexp):
15884         * emacs-lisp/warnings.el (warning-type-format):
15885         * emacs-lisp/trace.el (trace-buffer):
15886         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
15887         (emacs-lisp-mode-map):
15888         * calendar/holidays.el (holiday-solar-holidays)
15889         (holiday-bahai-holidays, holiday-islamic-holidays)
15890         (holiday-christian-holidays, holiday-hebrew-holidays)
15891         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
15892         (hebrew-holidays-1, holiday-oriental-holidays)
15893         (holiday-general-holidays):
15894         * x-dnd.el (x-dnd-known-types):
15895         * tool-bar.el (tool-bar):
15896         * startup.el (site-run-file):
15897         * shell.el (shell-dumb-shell-regexp):
15898         * rfn-eshadow.el (file-name-shadow-tty-properties)
15899         (file-name-shadow-properties):
15900         * paths.el (remote-shell-program, news-directory):
15901         * mouse.el ([C-down-mouse-3]):
15902         * menu-bar.el (menu-bar-tools-menu):
15903         * jka-cmpr-hook.el (jka-compr-load-suffixes)
15904         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
15905         (jka-compr-compression-info-list):
15906         * isearch.el (search-whitespace-regexp):
15907         * image-file.el (image-file-name-extensions):
15908         * find-dired.el (find-ls-option):
15909         * files.el (directory-listing-before-filename-regexp)
15910         (directory-free-space-args, insert-directory-program)
15911         (list-directory-brief-switches, magic-fallback-mode-alist)
15912         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
15913         (automount-dir-prefix):
15914         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
15915         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
15916         (face-font-registry-alternatives, face-font-registry-alternatives)
15917         (face-font-family-alternatives):
15918         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
15919         (facemenu-foreground-menu, facemenu-face-menu):
15920         * epa-hook.el (epa-file-name-regexp):
15921         * dnd.el (dnd-protocol-alist):
15922         * textmodes/rst.el (auto-mode-alist):
15923         * button.el (default-button): Purecopy strings.
15925 2009-11-06  Glenn Morris  <rgm@gnu.org>
15927         * Makefile.in (ELCFILES): Update.
15929 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15931         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
15932         * emacs-lisp/levents.el: Move to obsolete/levents.el.
15934         * nxml/xsd-regexp.el (xsdre-gen-categories):
15935         * nxml/xmltok.el (xmltok-parse-entity):
15936         * nxml/rng-parse.el (rng-parse-validate-file):
15937         * nxml/rng-maint.el (rng-format-manual)
15938         (rng-manual-output-force-new-line):
15939         * nxml/rng-loc.el (rng-save-schema-location-1):
15940         * nxml/rng-cmpct.el (rng-c-parse-file):
15941         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
15942         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
15944 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
15946         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
15947         Remove extra save-excursions and make-variable-buffer-local's.
15948         Suggested by Stefan Monnier.
15950         (verilog-getopt-file, verilog-module-inside-filename-p)
15951         (verilog-set-define): Merge GNU 1.35 and repair changes from
15952         switching to using with-current-buffer.
15954         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
15955         being treated as a number and confusing AUTORESET.
15956         Reported by Dan Dever.
15958         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
15959         Add verilog-auto-ignore-concat to fix backward compatibility with
15960         older verilog-modes.  Reported by Dan Katz.
15962         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
15963         containing closing anchors "...$".
15965         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
15966         Reported by Wade Smith.
15968         (verilog-batch-execute-func): Comment on function usage.
15970 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
15972         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
15973         for labels.
15975         (verilog-label-re, verilog-calc-1): Support proper indent of named
15976         asserts.
15978         (verilog-backward-token, verilog-basic-complete-re)
15979         (verilog-beg-of-statement, verilog-indent-re): Support proper
15980         indent of the assert statement at the beginning of a block of text.
15982         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
15983         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
15984         tokens as begins.
15986 2009-11-05  Glenn Morris  <rgm@gnu.org>
15988         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
15989         Emacs 19.  (Bug#1531)
15990         (byte-compile-fix-header): Update for the above change.
15991         Drop test for epoch::version.
15993         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
15994         * cus-dep.el (custom-make-dependencies):
15995         * finder.el (finder-compile-keywords):
15996         Use autoload-rubric's feature argument.
15998         * calendar/diary-lib.el (top-level): Make load behave more like require.
16000         * vc-git.el (vc-git-stash-map): Move definition before use.
16002 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
16004         * custom.el (custom-declare-group): Purecopy standard-value.
16005         (custom-declare-group): Purecopy custom-prefix.
16007         * international/mule.el (load-with-code-conversion):
16008         Call do-after-load-evaluation unconditionally.
16010         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
16012 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16014         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
16016 2009-11-04  Glenn Morris  <rgm@gnu.org>
16018         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
16019         (byte-compile-compatibility): Remove option.
16020         (byte-compile-close-variables, byte-compile-fix-header)
16021         (byte-compile-insert-header, byte-compile-output-docform)
16022         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
16023         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
16024         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
16025         (byte-compile-insert, byte-compile-defun):
16026         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
16027         (byte-defop-compiler19): Remove.
16028         Without byte-compile-compatibility, the 'emacs19-opcode property is not
16029         used by anything.  Replace all calls with byte-defop-compiler.
16031 2009-11-04  Juri Linkov  <juri@jurta.org>
16033         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
16034         (menu-bar-options-menu): Don't quote the `prop' arg of
16035         `menu-bar-make-mm-toggle'.
16037 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
16039         * calendar/calendar.el (cal-loaddefs):
16040         * calendar/diary-lib.el (diary-loaddefs):
16041         * calendar/holidays.el (hol-loaddefs):
16042         * eshell/esh-module.el (esh-groups): Load rather than require.
16044 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16046         * calendar/todo-mode.el (todo-add-category): Don't hardcode
16047         point-min==1.
16048         (todo-top-priorities): Only display-buffer when called interactively.
16049         (todo-item-start): Don't save excursion point.
16050         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
16051         (todo-insert-item-here, todo-file-item, todo-remove-item):
16052         Adjust uses of todo-item-start and todo-item-end.
16054         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
16055         (autoload-rubric): Don't use any more.
16057         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
16058         and only put a prop if it is non-nil.
16060 2009-11-03  Juri Linkov  <juri@jurta.org>
16062         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
16063         (menu-bar-options-menu): Fix list quoting (Bug#4429).
16065         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
16066         and "Menu" to make top-level menu item visually one unit (like
16067         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
16068         multi-word menu items).  Fix :help string for quit-window.
16070 2009-11-03  Glenn Morris  <rgm@gnu.org>
16072         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
16073         (byte-compile-file-form-define-abbrev-table)
16074         (byte-compile-file-form-custom-declare-variable)
16075         (byte-compile-variable-ref, byte-compile-defvar):
16076         Whether or not a warning is enabled should only affect whether we issue
16077         the warning, not whether or not we collect the relevant data.
16078         Eg warnings can be turned on and off throughout the course of a file.
16080         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
16081         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
16083 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16085         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
16086         * play/mpuz.el (mpuz-create-buffer):
16087         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
16088         (lm-print-y,s,noise, lm-print-w0, lm-init):
16089         * play/gomoku.el (gomoku-prompt-for-move):
16090         * play/fortune.el (fortune-in-buffer):
16091         * play/dissociate.el (dissociated-press):
16092         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
16093         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
16094         * mail/supercite.el (sc-eref-show):
16095         * mail/smtpmail.el (smtpmail-send-it):
16096         * mail/rmailsum.el (rmail-summary-next-labeled-message)
16097         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
16098         (rmail-summary-undelete-many, rmail-summary-rmail-update)
16099         (rmail-summary-goto-msg, rmail-summary-expunge)
16100         (rmail-summary-get-new-mail, rmail-summary-search-backward)
16101         (rmail-summary-add-label, rmail-summary-output-menu)
16102         (rmail-summary-output-body):
16103         * mail/rfc822.el (rfc822-addresses):
16104         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
16105         * mail/mailpost.el (post-mail-send-it):
16106         * mail/hashcash.el (hashcash-generate-payment):
16107         * mail/feedmail.el (feedmail-run-the-queue)
16108         (feedmail-queue-send-edit-prompt-help-first)
16109         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
16110         (feedmail-deduce-address-list):
16111         * eshell/esh-ext.el (eshell-remote-command):
16112         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
16113         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
16114         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
16115         (viper-save-string-in-file, viper-valid-marker):
16116         * emulation/viper-keym.el (viper-toggle-key):
16117         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
16118         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
16119         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
16120         * emulation/viper-cmd.el (viper-exec-form-in-vi)
16121         (viper-exec-form-in-emacs, viper-brac-function):
16122         * emulation/viper.el (viper-delocalize-var):
16123         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
16124         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
16125         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
16126         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
16127         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
16128         * emulation/edt.el (edt-electric-helpify):
16129         * emulation/cua-rect.el (cua--rectangle-aux-replace):
16130         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
16131         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
16132         (cua-indent-to-global-mark-column):
16133         * calendar/diary-lib.el (calendar-mark-1):
16134         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
16135         Use with-current-buffer.
16136         * emulation/viper.el (viper-delocalize-var): Use dolist.
16138 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
16140         * comint.el (comint-replace-by-expanded-history-before-point):
16141         Replace !! with the previous input string literally (Bug#1795).
16143 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
16145         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
16146         to be made up of whitespace.
16148 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
16150         * minibuffer.el (read-file-name): Don't use file dialogs for
16151         remote directories (Bug#99).
16153 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
16155         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
16157 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
16159         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
16160         instead of deleting the window or frame.
16162 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
16164         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
16165         Support face colors.
16167         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
16168         New function.  Support face colors (Bug#1168).
16169         (tex-common-initialization): Use it.
16171         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
16172         mode allows it (Bug#1168).
16174 2009-10-31  Juri Linkov  <juri@jurta.org>
16176         * facemenu.el (list-colors-display): Don't mark buffer as
16177         modified (Bug#3948).
16179 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
16181         * international/mule-diag.el (list-character-sets-1):
16182         Minor message fix (Bug#3526).
16184         * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
16185         Fix face property (Bug#4834).
16186         (etags-list-tags, etags-tags-apropos-additional)
16187         (etags-tags-apropos, tags-select-tags-table): Add follow-link
16188         property.
16190         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
16191         items.
16193 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16195         * textmodes/two-column.el (2C-split):
16196         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
16197         * textmodes/tex-mode.el (tex-set-buffer-directory):
16198         * textmodes/spell.el (spell-region, spell-string):
16199         * textmodes/reftex.el (reftex-erase-buffer):
16200         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
16201         * textmodes/reftex-toc.el (reftex-toc-promote-action):
16202         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
16203         (reftex-select-item):
16204         * textmodes/reftex-ref.el (reftex-label-info-update)
16205         (reftex-offer-label-menu):
16206         * textmodes/reftex-index.el (reftex-index-change-entry)
16207         (reftex-index-phrases-info):
16208         * textmodes/reftex-global.el (reftex-create-tags-file)
16209         (reftex-save-all-document-buffers, reftex-ensure-write-access):
16210         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
16211         (reftex-view-crossref-from-bibtex):
16212         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
16213         (reftex-extract-bib-entries-from-thebibliography)
16214         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
16215         * textmodes/refbib.el (r2b-capitalize-title):
16216         (r2b-convert-buffer, r2b-help):
16217         * textmodes/page-ext.el (pages-directory)
16218         (pages-directory-goto-with-mouse):
16219         * textmodes/bibtex.el (bibtex-validate-globally):
16220         * textmodes/bib-mode.el (bib-capitalize-title):
16221         * textmodes/artist.el (artist-clear-buffer, artist-system):
16222         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
16223         (local-set-scheme-interaction-buffer, xscheme-process-filter)
16224         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
16225         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
16226         (xscheme-send-control-g-interrupt, xscheme-start-process)
16227         (xscheme-process-sentinel, xscheme-cd):
16228         * progmodes/verilog-mode.el (verilog-read-always-signals)
16229         (verilog-set-define, verilog-getopt-file)
16230         (verilog-module-inside-filename-p):
16231         * progmodes/sh-script.el:
16232         * progmodes/python.el (python-pdbtrack-get-source-buffer)
16233         (python-pdbtrack-grub-for-buffer, python-execute-file):
16234         * progmodes/octave-inf.el (inferior-octave):
16235         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16236         (idlwave-shell-compile-helper-routines, idlwave-set-local)
16237         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
16238         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
16239         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
16240         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
16241         (idlwave-shell-filter, idlwave-shell-examine-highlight)
16242         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
16243         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
16244         (idlwave-shell-examine-display, idlwave-shell-run-region)
16245         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
16246         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
16247         * progmodes/idlw-help.el (idlwave-help-get-special-help)
16248         (idlwave-help-get-help-buffer):
16249         * progmodes/gud.el (gud-basic-call, gud-find-class)
16250         (gud-tooltip-activate-mouse-motions-if-enabled):
16251         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16252         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
16253         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
16254         (ebrowse-tags-next-file):
16255         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
16256         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
16257         (ebnf-eps-finish-and-write):
16258         * progmodes/cpp.el (cpp-edit-save):
16259         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
16260         * progmodes/cc-defs.el (c-emacs-features):
16261         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
16262         (antlr-directory-dependencies):
16263         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
16264         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
16265         (ada-find-any-references, ada-make-filename-from-adaname)
16266         (ada-make-body-gnatstub):
16267         * obsolete/rnews.el (news-list-news-groups):
16268         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
16269         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
16270         * net/rcirc.el (rcirc-debug):
16271         * net/newst-treeview.el (newsticker--treeview-list-add-item)
16272         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
16273         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
16274         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
16275         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
16276         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
16277         (newsticker--treeview-list-clear-highlight)
16278         (newsticker--treeview-list-update-highlight)
16279         (newsticker--treeview-list-highlight-start)
16280         (newsticker--treeview-tree-update-highlight)
16281         (newsticker--treeview-get-selected-item)
16282         (newsticker-treeview-mark-list-items-old)
16283         (newsticker--treeview-set-current-node):
16284         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16285         * net/newst-backend.el (newsticker--get-news-by-funcall)
16286         (newsticker--get-news-by-wget, newsticker--image-get)
16287         (newsticker--image-sentinel):
16288         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
16289         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
16290         (eudc-ph-close-session):
16291         * net/eudc.el (eudc-save-options):
16292         * language/thai-word.el (thai-update-word-table):
16293         * language/japan-util.el (japanese-string-conversion):
16294         * international/titdic-cnv.el (tsang-quick-converter)
16295         (ziranma-converter, ctlau-converter):
16296         * international/mule-cmds.el (describe-language-environment):
16297         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
16298         (skkdic-convert-postfix, skkdic-convert-prefix):
16299         (skkdic-convert-okuri-nasi, skkdic-convert):
16300         * emacs-lisp/re-builder.el (reb-update-overlays):
16301         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
16302         * emacs-lisp/gulp.el (gulp-send-requests):
16303         * emacs-lisp/find-gc.el (trace-call-tree):
16304         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
16305         (eieio-describe-generic):
16306         * emacs-lisp/eieio-base.el (eieio-persistent-read):
16307         * emacs-lisp/edebug.el (edebug-outside-excursion):
16308         * emacs-lisp/debug.el (debugger-make-xrefs):
16309         * emacs-lisp/cust-print.el (custom-prin1-to-string):
16310         * emacs-lisp/chart.el (chart-new-buffer):
16311         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
16312         Use with-current-buffer.
16313         * textmodes/artist.el (artist-system): Don't call
16314         copy-sequence on a fresh string.
16315         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
16317 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
16319         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
16320         is no item to edit.  (Bug#4820)
16321         (todo-top-priorities): Restore point and restore narrowing in Todo
16322         buffer.  (Bug#4820)
16324 2009-10-31  Glenn Morris  <rgm@gnu.org>
16326         * net/ange-ftp.el (top-level): Don't require dired when compiling.
16327         (comint-last-output-start, comint-last-input-start)
16328         (comint-last-input-end): Don't defvar when compiling.
16329         (ange-ftp-process-file): Use bound-and-true-p.
16331         * pcmpl-rpm.el (top-level): Move provide statement to end.
16332         (pcmpl-rpm): Remove unused custom group.
16334         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
16336         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
16338         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
16339         (byte-compile-warnings): Add `constants' as an option.
16340         (byte-compile-callargs-warn, byte-compile-arglist-warn)
16341         (display-call-tree): Update for byte-compile-fdefinition possibly
16342         returning `(macro lambda ...)'.  (Bug#4778)
16343         (byte-compile-variable-ref, byte-compile-setq-default):
16344         Respect `constants' member of byte-compile-warnings.
16346 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
16348         * vc-bzr.el (vc-bzr-revision-keywords): New var.
16349         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
16350         to "submit:".
16352 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
16354         * textmodes/ispell.el (ispell-skip-region-alist):
16355         * international/mule-conf.el (eight-bit):
16356         * international/fontset.el (font-encoding-alist):
16357         * startup.el (pure-space-overflow-message):
16358         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
16359         * paths.el (gnus-nntp-service, rmail-spool-directory)
16360         (term-file-prefix):
16361         * files.el (save-some-buffers-action-alist):
16362         * cmuscheme.el (same-window-buffer-names):
16363         * ielm.el (same-window-buffer-names):
16364         * shell.el (same-window-buffer-names):
16365         * mail/sendmail.el (same-window-buffer-names):
16366         * progmodes/inf-lisp.el (same-window-buffer-names):
16367         * bindings.el (mode-line-client)
16368         (mode-line-column-line-number-mode-map):
16369         * language/tibetan.el (tibetan-precomposition-rule-regexp)
16370         (tibetan-precomposed-regexp): Purecopy string arguments.
16372 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16374         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16375         (calcDigit-nondigit):
16376         * calc/calc-yank.el (calc-copy-to-buffer):
16377         * calc/calc-units.el (calc-invalidate-units-table):
16378         * calc/calc-trail.el (calc-trail-yank):
16379         * calc/calc-store.el (calc-insert-variables):
16380         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
16381         * calc/calc-prog.el (calc-read-parse-table):
16382         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
16383         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
16384         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
16385         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
16386         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
16387         (calc-graph-name, calc-graph-find-command, calc-graph-view)
16388         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
16389         * calc/calc-ext.el (calc-realign):
16390         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
16391         (calc-embedded-finish-edit, calc-embedded-make-info)
16392         (calc-embedded-finish-command, calc-embedded-stack-change):
16393         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
16395         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
16396         shell-dynamic-complete-filename in preference to
16397         comint-dynamic-complete-filename.
16399         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
16400         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
16401         Don't consider whether the display supports colors.
16402         (bookmark-import-new-list): Use dolist.
16403         (bookmark-bmenu-mode-map): Move initialization into declaration.
16404         (bookmark-bmenu-list): Use dolist, simplify.
16405         (bookmark-show-all-annotations): Use save-selected-window and dolist.
16406         (menu-bar-final-items): Use push.
16408 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
16410         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
16411         it works on remote files.
16412         (vc-hg-diff): Don't pass any `--cwd' argument.
16414 2009-10-27  Kevin Ryde  <user42@zip.com.au>
16416         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16417         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
16418         (Further to Bug#3921).
16420 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
16422         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
16423         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
16424         calling `tramp-imap-put-file'.  Add file size to the call.
16425         (tramp-imap-get-file-entries): Compute also user name, file size,
16426         and date.
16427         (tramp-imap-handle-insert-directory): Insert uid and gid.
16428         (tramp-imap-handle-file-attributes): Transform uid and gid
16429         according to `id-format'.
16430         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
16431         size in header X-Size.
16433 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
16435         * simple.el (transpose-subr): Give clearer error when the mark
16436         is not set.  (Bug#4807)
16438 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
16440         * net/tramp.el (tramp-perl-file-truename): New defconst.
16441         Perl code contributed by yary <not.com@gmail.com> (tiny change).
16442         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
16443         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
16444         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
16446         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
16447         Ignore `dired-call-process'.
16448         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
16450 2009-10-26  Julian Scheid  <julians37@gmail.com>
16452         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
16453         (tramp-get-remote-readlink): New defun.
16454         (tramp-handle-file-truename): Use it.
16455         (tramp-handle-file-exists-p): Check file-attributes cache, assume
16456         file exists if cache value present.
16457         (tramp-check-cached-permissions): New defun.
16458         (tramp-handle-file-readable-p): Use it.
16459         (tramp-handle-file-writable-p): Likewise.
16460         (tramp-handle-file-executable-p): Likewise.
16461         (tramp-handle-file-name-all-completions): Try using Perl to get
16462         partial completions.  When perl not available, combine `cd' and
16463         `ls' into single remote operation and use shell expansion to get
16464         partial remote directory contents.  Set `file-exists-p' cache for
16465         directory and any files returned by ls.  Change cache handling to
16466         support partial directory contents.  Use error message emitted by
16467         remote `cd' or Perl code for local tramp-error.
16468         (tramp-do-copy-or-rename-file-directly): Avoid separate
16469         tramp-send-command-and-check call.
16470         (tramp-handle-process-file): Merge three remote ops into one.
16471         Do not flush all caches when `process-file-side-effects' is set.
16472         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
16473         file-attributes shows uid/gid to be set already.
16475 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
16477         * textmodes/tex-mode.el (tex-dvi-view-command)
16478         (tex-show-queue-command, tex-open-quote):
16479         * progmodes/ruby-mode.el (auto-mode-alist)
16480         (interpreter-mode-alist): Purecopy strings.
16482         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
16484         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
16485         string for the hook, keymap and abbrev table.
16487         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
16489         * x-dnd.el (x-dnd-xdnd-to-action):
16490         * startup.el (fancy-startup-text, fancy-about-text): Change to
16491         defconst from defvar.
16493         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
16495         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
16496         Purecopy initialization strings.
16498         * mail/sendmail.el (mail-header-separator)
16499         (mail-personal-alias-file):
16500         * mail/rmail.el (rmail-default-dont-reply-to-names)
16501         (rmail-ignored-headers, rmail-retry-ignored-headers)
16502         (rmail-highlighted-headers, rmail-secondary-file-directory)
16503         (rmail-secondary-file-regexp):
16504         * files.el (null-device, file-name-invalid-regexp)
16505         (locate-dominating-stop-dir-regexp)
16506         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
16507         (interpreter-mode-alist): Use mapcar instead of mapc.
16509         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
16511         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
16512         (completion-ignored-extensions):
16513         (debug-ignored-errors): Purecopy strings.
16515 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16517         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
16518         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
16519         (pcomplete--here): Use push.
16521         * subr.el (all-completions): Declare the 4th arg obsolete.
16523 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16525         * pcomplete.el (pcomplete-unquote-argument-function): New var.
16526         (pcomplete-unquote-argument): New function.
16527         (pcomplete--common-suffix): Always pay attention to case.
16528         (pcomplete--table-subvert): Quote and unquote the text.
16529         (pcomplete--common-quoted-suffix): New function.
16530         (pcomplete-std-complete): Use it and pcomplete-begin.
16532         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
16533         we're inside a dedicated or minibuffer window.
16535 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
16537         * bookmark.el: Update documentation, especially documentation
16538         of `bookmark-alist' and of the bookmark file format.
16539         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
16541 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
16543         * mail/emacsbug.el (report-emacs-bug): Clarify that the
16544         keybindings apply to the mail buffer (Bug#4003).  Shrink help
16545         window to buffer.
16547         * whitespace.el (whitespace-mode, whitespace-newline-mode)
16548         (global-whitespace-mode, global-whitespace-newline-mode)
16549         (whitespace-toggle-options, global-whitespace-toggle-options):
16550         Doc fix (Bug#3660).
16552         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
16553         of xmltok-start before the end tag was inserted (Bug#2840).
16555         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
16556         patterns that are preceded by an open-paren (Bug#1320).
16558 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
16560         * files.el (delete-directory): Delete symlinks to directories with
16561         delete-file (Bug#4739).
16563 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
16565         * vc.el (vc-backend-for-registration): Rename from
16566         vc-get-backend-for-registration.  Update callers.
16568         * international/mule-cmds.el (set-language-info-alist):
16569         Purecopy lang-env.
16570         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
16571         (charset): Purecopy the name.
16572         (define-char-code-property): Purecopy string arguments.
16574         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16575         Purecopy string arguments.
16577         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16578         * ediff-hook.el (menu-bar-ediff-menu):
16579         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
16580         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
16582 2009-10-24  Glenn Morris  <rgm@gnu.org>
16584         * comint.el (comint-dynamic-list-completions):
16585         * term.el (term-dynamic-list-completions): Use choose-completion rather
16586         than obsolete alias mouse-choose-completion.
16588         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
16589         file-cache-choose-completion.
16590         (file-cache-choose-completion): Handle an optional event argument.
16591         (file-cache-mouse-choose-completion): Make it an obsolete alias.
16593         * progmodes/octave-mod.el (octave-complete-symbol):
16594         Use choose-completion if mouse-choose-completion is ever removed.
16596         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
16597         use.
16599         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
16600         compiler.
16602         * vc-hooks.el (vc-responsible-backend): Fix declaration.
16604 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16606         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
16607         Ignore `pred' now that we receive one.
16608         Handle test-completion specially.
16610 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
16612         * vc.el (vc-responsible-backend): Throw an error if not backend is
16613         found.  Remove the REGISTER argument.  Move the code dealing with
16614         REGISTER ...
16615         (vc-get-backend-for-registration): ... here.  New function.
16616         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
16617         of vc-responsible-backend, pass the file name instead of the
16618         directory name.
16620 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16622         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
16623         New funs.
16624         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
16625         (pcomplete-comint-setup): Don't modify a global var via
16626         accidental side-effects.
16627         (pcomplete-shell-setup): Adjust call accordingly.
16628         (pcomplete-parse-comint-arguments): Use push.
16630 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
16632         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16633         Allow uncapitalized info node names (Bug#3921).
16635         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
16636         to the DEBUG file (Bug#3781).
16638 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
16640         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
16641         dictionary entry (Bug#4579).
16643 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
16645         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
16646         from `rfn-eshadow-update-overlay-hook' when unloading.
16647         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
16648         "rsyncc".  Adjust doc string.
16649         (tramp-temp-buffer-file-name): New buffer-local defvar.
16650         (tramp-handle-insert-file-contents, tramp-handle-write-region):
16651         Keep temporary file when indicated by method ("rsync" and
16652         "rsyncc").
16653         (tramp-handle-write-region): Handle APPEND.
16654         (tramp-delete-temp-file-function): New defun.  Added to
16655         `kill-buffer-hook'.
16657 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
16659         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
16661 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
16663         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
16664         (color-name-rgb-alist, tty-standard-colors)
16665         (tty-color-mode-alist): Change to defconst.
16667         * simple.el (mark-inactive): Purecopy message.
16669         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
16670         (global-map, yank-menu):
16671         * textmodes/ispell.el (ispell-menu-map):
16672         * net/eudc.el (eudc-tools-menu):
16673         * international/mule-cmds.el (describe-language-environment-map)
16674         (setup-language-environment-map, set-coding-system-map)
16675         (mule-menu-keymap):
16676         * vc-hooks.el (vc-menu-entry, vc-menu-map):
16677         * replace.el (occur-mode-map):
16678         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
16680 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
16682         * calc/calc.el (math-read-number, math-read-number-simple):
16683         Use `save-match-data'.
16685 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16687         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
16688         rather than fiddling with global-map bindings, since it should only
16689         affect per-terminal settings.
16690         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
16692         * minibuffer.el (completion-table-with-terminator): Allow to specify
16693         the terminator-regexp.
16695         * simple.el (switch-to-completions): Look for *Completions* in other
16696         frames as well.
16698         * pcomplete.el: Allow the use of completion-tables.
16699         (pcomplete-std-complete): New command.
16700         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
16701         (pcomplete--here): Use a function for `form' rather than an expression,
16702         so it can be byte-compiled.
16703         (pcomplete-here, pcomplete-here*): Adjust accordingly.
16704         Add edebug declaration.
16705         (pcomplete-show-completions): Remove unused var `curbuf'.
16706         (pcomplete-do-complete, pcomplete-stub):
16707         Don't assume `completions' is a list of strings any more.
16709 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
16711         * find-dired.el (find-name-arg): Fix typo in docstring.
16713 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16715         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
16716         (pcmpl-linux-fs-types): Same, and update to new modules layout.
16718         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
16719         pcomplete-entries.
16721         * comint.el (comint-read-input-ring, comint-write-input-ring)
16722         (comint-substitute-in-file-name)
16723         (comint-dynamic-complete-as-filename)
16724         (comint-dynamic-simple-complete)
16725         (comint-dynamic-list-filename-completions)
16726         (comint-dynamic-list-completions)
16727         (comint-redirect-results-list-from-process): Minor simplifications.
16729 2009-10-21  Kevin Ryde  <user42@zip.com.au>
16731         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
16732         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
16733         the first form.  And insert a blank line after ";;; Code" since
16734         that's usual style.  (Bug#4612)
16736         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
16738 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16740         * minibuffer.el (completion-table-with-terminator): Properly implement
16741         boundaries, in case `terminator' appears in the suffix.
16742         (completion--embedded-envvar-table): Don't return boundaries if
16743         there's no valid completion.  Simplify.
16744         (completion-file-name-table): New completion table extracted from
16745         completion--file-name-table.
16746         (completion--file-name-table): Use it.
16747         (read-file-name-predicate): Declare obsolete.
16748         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
16749         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
16750         completion-file-name-table, and use the `pred' argument.
16751         * files.el (locate-file-completion-table): Use the `pred' arg rather
16752         than read-file-name-predicate.
16753         (abbreviate-file-name): Use \` rather than ^ for BOS.
16755 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
16757         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
16758         vc-responsible-backend to register, it causes problems.
16760 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16762         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
16764 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
16766         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
16767         (tramp-smb-handle-file-attributes): Use it.
16768         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
16769         (tramp-smb-handle-insert-directory): Use `mapc' rather than
16770         `mapcar'.  Use `tramp-smb-get-stat-capability'.
16771         Add `dired-filename' text properties.
16772         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
16773         (tramp-smb-maybe-open-connection): Simplify check for smbclient
16774         version.
16776 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16778         * subr.el (read-key-delay): Reduce to 0.01.
16779         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
16780         (bug#4751).
16782 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16784         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
16786         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
16787         (Info-menu): Remove unused vars `last' and `completions'.
16788         (Info-index-nodes): Remove unused var `node'.
16790         * info.el (Info-complete-menu-item): Use complete-with-action.
16792 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
16794         Make vc-annotate work through copies and renames.
16795         * vc-annotate.el (vc-annotate-extract-revision-at-line):
16796         Return the file name too.
16797         (vc-annotate-revision-at-line)
16798         (vc-annotate-find-revision-at-line)
16799         (vc-annotate-revision-previous-to-line)
16800         (vc-annotate-show-log-revision-at-line): Update to get the file
16801         name from vc-annotate-extract-revision-at-line.
16802         (vc-annotate-show-diff-revision-at-line-internal): Change the
16803         argument to mean whether to show a file diff or not.  Get the file
16804         name from vc-annotate-extract-revision-at-line.
16805         (vc-annotate-show-diff-revision-at-line):
16806         Update vc-annotate-show-diff-revision-at-line call.
16807         (vc-annotate-warp-revision): Add an optional file argument.
16809         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
16810         (vc-git-annotate-extract-revision-at-line): Also return the file
16811         name if found.
16813         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
16814         command.  Remove unused code.
16815         (vc-hg-annotate-re): Update to match --follow output.
16816         (vc-hg-annotate-extract-revision-at-line): Also return the file
16817         name if found.
16819         * vc.el: Update annotate-extract-revision-at-line documentation.
16821 2009-10-18  Kevin Ryde  <user42@zip.com.au>
16823         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
16824         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
16826         * net/browse-url.el (browse-url): Identify alist with "consp and
16827         not functionp" and let all other things go down the `apply' leg,
16828         as suggested by Stefan.  (Further to bug#4531.)
16830 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
16832         * minibuffer.el (read-file-name): Check for repeat before putting
16833         a default argument in file-name-history (Bug#4657).
16835         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
16836         read syntax (Bug#4737).
16838         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
16840 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
16842         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
16843         (html-tag-alist, html-tag-help): Add descriptions for undocumented
16844         entries and make note of obsolete tags.
16846 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16848         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
16850 2009-10-18  Glenn Morris  <rgm@gnu.org>
16852         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
16853         grep, so that binary files (eg international/uni-bidi.el) can match.
16854         Remove test for "UnicodeData" files, since it is hopefully unnecessary
16855         now, and in any case the file header format has changed.
16857 2009-10-17  Glenn Morris  <rgm@gnu.org>
16859         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
16860         (flyspell-get-word, flyspell-large-region)
16861         (flyspell-auto-correct-previous-word): Doc/error message fixes.
16863 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
16865         * Makefile.in (ELCFILES): Add ede/shell.
16867 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
16869         * term/common-win.el (x-colors): Purecopy it.
16871 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16873         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
16874         permissive for when the buffer is empty.
16875         (tar-header-block-tokenize): Decode the username and groupname.
16876         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
16878 2009-10-17  Eric Ludlam  <zappo@gnu.org>
16880         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
16881         contains multibyte characters, choose first applicable coding
16882         system automatically.
16884 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16886         * international/mule-cmds.el (select-safe-coding-system): If the file
16887         has a coding cookie, use it regardless of any other setting (bug#4712).
16889 2009-10-17  Glenn Morris  <rgm@gnu.org>
16891         * foldout.el (foldout-mouse-swallow-events):
16892         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
16894         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
16895         (dired-keep-marker-copy, dired-keep-marker-hardlink)
16896         (dired-keep-marker-symlink, dired-dwim-target)
16897         (dired-copy-preserve-time): Do not autoload these defcustoms.
16899         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
16900         messages from messing up the file coding.  (Bug#4623)
16902 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
16904         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
16905         if no match is found for the current dictionary.  (Bug#4578)
16907         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
16908         optional, since that is how it is documented, and this is often called
16909         with a nil argument.  (Bug#4577)
16910         (flyspell-external-point-words, flyspell-auto-correct-word)
16911         (flyspell-correct-word-before-point, flyspell-word-search-forward)
16912         (flyspell-word-search-backward): Remove nil argument in calls to
16913         flyspell-get-word, since it is not needed now.
16915 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
16917         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
16919 2009-10-16  Glenn Morris  <rgm@gnu.org>
16921         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
16923 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
16925         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
16926         (ange-ftp-file-size): New function.
16927         (ange-ftp-file-attributes): Use it.
16929 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
16931         * net/tramp-smb.el (tramp-smb-version): New defvar.
16932         (tramp-smb-maybe-open-connection): Use it, in order to avoid
16933         repeated checks.
16935 2009-10-16  Glenn Morris  <rgm@gnu.org>
16937         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
16938         Maybe copy some custom properties from old to new name.  (Bug#4706)
16940 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
16942         * subr.el (error, sit-for, start-process-shell-command)
16943         (start-file-process-shell-command): Set the calling convention
16944         after the function definition.
16946 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16948         * subr.el (error, sit-for, start-process-shell-command)
16949         (start-file-process-shell-command): Use the new
16950         set-advertised-calling-convention feature.
16952 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
16954         * international/ucs-normalize.el (ucs-normalize-version):
16955         Change to 1.2.
16956         (check-range): Adjust for Unicode 5.2.
16958 2009-10-15  Juri Linkov  <juri@jurta.org>
16960         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
16961         to the `menu-item' format.
16963 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
16965         * net/tramp.el (tramp-replace-environment-variables): Do not fail
16966         if the environment variable does not exist.
16968         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16969         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
16970         parameter.
16971         (tramp-smb-handle-add-name-to-file)
16972         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16973         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16974         (tramp-smb-handle-file-attributes)
16975         (tramp-smb-do-file-attributes-with-stat)
16976         (tramp-smb-handle-file-local-copy)
16977         (tramp-smb-handle-insert-directory)
16978         (tramp-smb-handle-make-directory)
16979         (tramp-smb-handle-make-directory-internal)
16980         (tramp-smb-handle-make-symbolic-link)
16981         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
16982         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
16983         (tramp-smb-maybe-open-connection): Apply the changed parameters.
16984         (tramp-smb-read-file-entry): Read Disk names in compressed format.
16985         Handle long file names.
16986         (tramp-smb-get-cifs-capabilities): Check, whether the connection
16987         process is running.
16988         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
16989         Read share names with "-g" option.
16991 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
16993         * net/rcirc.el (rcirc-view-log-file): New command.
16994         (rcirc-track-minor-mode-map): Remove C-c ` binding.
16995         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
16996         specified.
16998 2009-10-15  Glenn Morris  <rgm@gnu.org>
17000         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
17001         from the second command-line argument.
17002         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
17003         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
17004         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
17005         w32-batch-update-autoloads.
17006         * emacs-lisp/autoload.el (autoload-make-program): New variable.
17007         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
17009         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
17010         the headers cannot be located.  Simplify, subtracting superflous
17011         save-excursions.
17013 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17015         Replace completion-base-size by completion-base-position to fix bugs
17016         such as (bug#4699).
17017         * simple.el (completion-base-position): New var.
17018         (completion-base-size): Mark as obsolete.
17019         (choose-completion): Make it work for mouse events as well.
17020         Pass the new base-position to choose-completion-string.
17021         (choose-completion-guess-base-position): New function, extracted from
17022         choose-completion-delete-max-match.
17023         (choose-completion-delete-max-match): Use it.  Make obsolete.
17024         (choose-completion-string): Use the new base-position info.
17025         (completion-root-regexp): Delete.
17026         (completion-setup-function): Preserve completion-base-position.
17027         Eliminate obsolete base-size manipulation.
17028         * minibuffer.el (display-completion-list): Don't mess with base-size.
17029         (minibuffer-completion-help): Set completion-base-position instead.
17030         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
17031         choose-completion.
17032         * textmodes/bibtex.el (bibtex-complete):
17033         * emacs-lisp/crm.el (crm--choose-completion-string):
17034         Adjust to new calling convention.
17035         * complete.el (partial-completion-mode): Use minibufferp to avoid
17036         bumping into incompatible change to choose-completion-string-functions.
17037         * ido.el (ido-choose-completion-string): Make its calling convention
17038         more permissive.
17039         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
17040         base-size manipulation.
17041         (comint-dynamic-list-input-ring): Use dotimes and push.
17042         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
17043         fundamental-mode.  Use `or'.
17045 2009-10-14  Juri Linkov  <juri@jurta.org>
17047         * misearch.el (multi-isearch-next-buffer-from-list)
17048         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
17050 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17052         * Makefile.in (compile-onefile): Load `bytecomp' rather than
17053         `bytecomp.el'.
17055         * minibuffer.el (completion-pcm--merge-completions): Make sure the
17056         string we return is all made up of text from the completions rather
17057         than part from the completions and part from the input (bug#4219).
17059         * ido.el (ido-everywhere): Use define-minor-mode.
17061         * buff-menu.el (list-buffers, ctl-x-map):
17062         Mark the entry points with ;;;###autoload cookies.
17064 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
17066         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
17067         correctly in the detached head case.
17068         (vc-git-print-log): Remove unused binding.
17070         * vc.el (vc-responsible-backend): When a directory is passed for
17071         for registration create a VC repository if no backend is
17072         responsible for the directory argument.
17073         (vc-deduce-fileset): Tell vc-responsible-backend to register.
17075         * vc.el: Move comments about RCS and SCCS ...
17076         * vc-rcs.el:
17077         * vc-sccs.el: ... here, respectively.
17079 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17081         * minibuffer.el (completion--file-name-table): Return nil if there's
17082         no file completion, even if substitute-in-file-name changed
17083         the string (bug#4708).
17085 2009-10-13  Juri Linkov  <juri@jurta.org>
17087         * files-x.el (read-file-local-variable-value): Don't filter out
17088         minor modes from mode name completion (bug#4664).
17090 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
17092         * international/mule-cmds.el (ucs-names): Remove exclusion of
17093         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
17095 2009-10-13  Kenichi Handa  <handa@m17n.org>
17097         * international/uni-name.el: Regenerated.
17099 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
17101         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
17102         should be automatically buffer-local, but isn't.)
17104 2009-10-12  Sam Steingold  <sds@gnu.org>
17106         * progmodes/compile.el (compilation-next-error-function): Fix the
17107         timestamps if the buffer has been visited before.
17108         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
17109         non-anchored patterns, like the perl one (bug#3928).
17111 2009-10-12  Glenn Morris  <rgm@gnu.org>
17113         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
17114         Let-bind `size'.
17116 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
17118         * proced.el (proced-unload-function): New function.
17120         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
17121         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
17122         Doc fix.
17124         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
17126 2009-10-11  Juri Linkov  <juri@jurta.org>
17128         * files-x.el (read-file-local-variable-value):
17129         Provide default value only for bound variables (bug#4664).
17131 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
17133         * net/tramp.el (tramp-local-host-p): Function shall return nil for
17134         connection methods like smb.
17136         * net/tramp-cache.el (tramp-flush-connection-property): The hash
17137         can be empty.
17139         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17140         (tramp-smb-file-name-handler-alist): Add handlers for
17141         `add-name-to-file', `make-symbolic-link'.
17142         (tramp-smb-handle-add-name-to-file)
17143         (tramp-smb-do-file-attributes-with-stat)
17144         (tramp-smb-handle-make-symbolic-link)
17145         (tramp-smb-get-cifs-capabilities): New defuns.
17146         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17147         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17148         (tramp-smb-handle-file-local-copy)
17149         (tramp-smb-handle-make-directory-internal)
17150         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
17151         The file name syntax depends on cifs capabilities.
17152         (tramp-smb-handle-file-attributes):
17153         Call `tramp-smb-do-file-attributes-with-stat' if possible.
17154         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
17155         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
17157 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
17159         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
17160         (eieio-defclass): Apply deftype handler and setf-method properties
17161         directly.
17162         (eieio-add-new-slot): Avoid union function from cl library.
17163         (eieio--typep): New function.
17164         (eieio-perform-slot-validation): Use it.
17166 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
17168         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
17169         Update documentation to refer to the variables documented in r1.135.
17170         (Bug#4188)
17172 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
17174         * bookmark.el (Info-suffix-list): Remove this unused variable.
17175         (bookmark-current-point): Remove this obsolete variable.
17176         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
17177         Adjust for removal of bookmark-current-point.
17179         (bookmarks-already-loaded, bookmark-current-buffer)
17180         (bookmark-yank-point): Document.  (Bug#4188)
17182 2009-10-10  Glenn Morris  <rgm@gnu.org>
17184         * frame.el (frame-height): Doc fix.
17186         * calendar/calendar.el (calendar-split-width-threshold): New option.
17187         (calendar-basic-setup): Use calendar-split-width-threshold.
17189 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
17191         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
17192         Ideographic Supplement" range (U+1F200..U+1F2FF).
17194 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17196         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
17197         since the list will have been rebuilt anyway.  (Bug#4349)
17199 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17201         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
17202         (bookmark-bmenu-execute-deletions): Don't save here, as
17203         bookmark-delete will now do so if necessary.
17204         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
17205         (Bug#4348)
17207 2009-10-09  Glenn Morris  <rgm@gnu.org>
17209         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
17211 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17213         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
17214         (bookmark-jump-other-window): Just invoke bookmark-jump with new
17215         argument now, so the two function's behaviors will match.  (Bug#3645)
17217 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
17219         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
17220         (tramp-file-name-real-host, tramp-file-name-port):
17221         Apply `save-match-data'.
17223         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
17224         case both directories are remote.
17225         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
17226         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
17228 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
17230         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
17232 2009-10-07  Glenn Morris  <rgm@gnu.org>
17234         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
17235         of concat.
17237 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
17239         * files-x.el (read-file-local-variable): Include some
17240         non-user-variables in the completion table (bug#4664).
17242 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
17244         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
17245         message.
17247         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17248         (tramp-smb-file-name-handler-alist): Add handler for
17249         `copy-directory', `expand-file-name', `set-file-modes'.
17250         (tramp-smb-handle-copy-directory)
17251         (tramp-smb-handle-expand-file-name)
17252         (tramp-smb-handle-set-file-modes): New defuns.
17253         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
17254         (tramp-smb-handle-file-attributes): Simplify check for retrieving
17255         entry.
17256         (tramp-smb-handle-insert-directory): Don't flush the cache.
17257         (tramp-smb-maybe-open-connection): Check for samba client and
17258         server versions.
17260 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
17262         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
17263         to not error out of search for "^lisp=" fails.
17265 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
17267         * makefile.w32-in (WINS_UPDATES): New macro.
17268         (custom-deps, finder-data, autoloads): Use it.
17270 2009-10-07  Glenn Morris  <rgm@gnu.org>
17272         * Makefile.in (autoloads): Revert previous change.
17273         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
17274         the list of preloaded files passed on the command-line, get
17275         it from src/Makefile.
17277         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
17278         show the original buffer rather than a random one.
17280 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
17282         * help.el (describe-no-warranty): Place point in a slightly better
17283         position in the GPLv3 text.
17285 2009-10-06  Sam Steingold  <sds@gnu.org>
17287         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
17288         the comm attribute is present before calling regexp-quote.
17290 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
17292         * play/animate.el (animate-string): For good effect, make sure
17293         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
17295         * play/animate.el (animate-sequence, animate-birthday-present):
17296         * misc.el (butterfly): Don't set `indent-tabs-mode'.
17298 2009-10-06  Glenn Morris  <rgm@gnu.org>
17300         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
17302         * emacs-lisp/autoload.el (autoload-excludes): New variable.
17303         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
17304         (batch-update-autoloads): Process a string value of autoload-excludes,
17305         set during the build process.
17306         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
17308         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
17309         inside with-parsed...  macro so that `v' is defined.
17311         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
17312         * progmodes/fortran.el (fortran-end-of-block)
17313         (fortran-beginning-of-block):
17314         Also push mark in the macro case.
17316         * emerge.el (emerge-show-file-name):
17317         * calc/calc.el (calc-quit):
17318         * calc/calc-misc.el (calc-big-or-small):
17319         * calc/calc-graph.el (calc-graph-view):
17320         * calc/calc-ext.el (calc-reset):
17321         * calendar/calendar.el (calendar-basic-setup):
17322         Use window-full-height-p.
17324         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
17325         header we don't understand, don't insert another.  (Bug#4624)
17326         If changing mime charset, insert the new one in the right place.
17328 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
17330         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
17331         (cal-tex-cursor-month): Correctly increment the end date for diary and
17332         holiday listing.  (Bug#4626)
17334 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17336         * help-fns.el (describe-function-1): Don't burp if the function is not
17337         a symbol.
17339 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
17341         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
17342         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
17343         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
17344         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
17346         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
17347         (eieio-default-superclass): Reflow docstrings.
17348         (this, class-option-assoc, defclass, eieio-class-un-autoload)
17349         (eieio-unbind-method-implementations, defmethod)
17350         (eieio-validate-slot-value, eieio-validate-class-slot-value)
17351         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
17352         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
17353         (eieio-slot-originating-class-p, eieio-slot-name-index)
17354         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
17355         (constructor, initialize-instance, no-next-method, object-print)
17356         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
17357         Fix typos in docstrings.
17358         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
17359         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
17360         (next-method-p): Doc fixes.
17361         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
17362         Fix typos in error messages.
17363         (eieio-defmethod): Fix typo in description of generic method.
17365         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17366         (eieio-persistent-save-interactive, slot-missing):
17367         Fix typos in docstrings.
17368         (eieio-instance-inheritor-slot-boundp): Doc fix.
17370         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17371         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17373         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17374         (eieio-custom-object-apply-reset):
17375         Fix typos in docstrings and error messages.
17377         * emacs-lisp/eieio-datadebug.el (data-debug-show):
17378         Fix typo in docstring.
17380         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
17381         (eieio-browse-tree): Doc fix.
17382         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
17383         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
17384         Fix typos in docstrings.
17386         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
17387         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
17388         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
17389         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
17390         Reflow docstrings.
17392 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
17394         * vc-hg.el (log-view-vc-backend): Declare for compiler.
17395         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
17396         Set log-view-vc-backend so that diff can work.
17398         * log-view.el (log-view-diff): Use vc-diff-internal instead of
17399         vc-version-diff.
17400         (vc-diff-internal): Autoload this instead of vc-version-diff.
17402 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
17404         * simple.el (eval-expression): Doc fix.
17406         * progmodes/cwarn.el (cwarn-mode): Doc fix.
17408 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
17410         * files.el (directory-files-no-dot-files-regexp): New defconst.
17411         (delete-directory): Use it.
17412         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
17414         * net/tramp.el (tramp-verbose): Fix docstring.
17415         (tramp-methods): Add recursive option to `tramp-copy-args'.
17416         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
17417         "scp1_old", "scp2_old", "rsync", "rsyncc".
17418         (tramp-default-method): Check also for `auth-source-user-or-password'.
17419         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
17420         Add handler for `copy-directory'.
17421         (tramp-handle-copy-directory): New defun.
17422         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
17423         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
17424         Optimize sent command.
17426 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17428         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
17429         window if necessary.
17431         * calendar/calendar.el (calendar-basic-setup): Don't call
17432         switch-to-buffer in a dedicated window.
17434 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
17436         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
17437         don't do anything related to relocating, just return nil.
17438         (bookmark-error-no-filename): New error.
17439         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
17440         bookmark has no file.  Don't even attempt to handle things that
17441         are not files; the whole point of custom handlers is to keep that
17442         knowledge elsewhere anyway.  Tighten some comments.
17443         (bookmark-file-or-variation-thereof): Remove now-unused function.
17444         (bookmark-location): Doc string fix.
17445         (Bug#4250)
17447 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
17449         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
17450         don't use a file dialog, because they usually don't know how to read
17451         a directory target from the user.  (Bug#4230)
17452         Also, make sure the prompt can display directories as well as files.
17454 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
17456         * bookmark.el (bookmark-set, bookmark-buffer-name):
17457         Improve doc strings.  (Bug#1193)
17459 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
17461         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
17462         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
17463         (bookmark-get-annotation, bookmark-set-annotation)
17464         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
17465         (bookmark-set-position, bookmark-get-front-context-string)
17466         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
17467         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
17468         (bookmark-jump-other-window, bookmark-handle-bookmark)
17469         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
17470         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
17471         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
17472         Improve doc strings to say whether bookmark can be a string or
17473         a record or both, and make other consistency and clarity fixes.
17474         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
17475         (bookmark-default-annotation-text, bookmark-yank-word)
17476         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
17477         (bookmark-import-new-list, bookmark-maybe-rename)
17478         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
17479         (bookmark-bmenu-bookmark): Give these doc strings.
17480         (bookmark-bmenu-check-position): Give this a doc string, but also
17481         add a FIXME comment about how the function may be pointless.
17482         (bookmark-default-handler): Rework doc string and change a
17483         parameter name, to clarify that this takes a bookmark record
17484         not a bookmark name.
17485         (bookmark-set): Change a parameter name to indicate its meaning,
17486         and improve the doc string a bit.
17487         (Bug#4188)
17489 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
17491         * bookmark.el (bookmark-alist): Document the new `handler' element
17492         in the param alist.
17493         (bookmark-make-record-function): Adjust documentation for above.
17494         (Bug#4193)
17496 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
17498         * info.el (Info-bookmark-make-record): Document this function.
17499         (Info-bookmark-jump): Document with a doc string, not just a comment.
17500         (Bug#4203)
17502 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
17504         * files.el (copy-directory): New defun.
17506         * dired-aux.el (dired-copy-file-recursive): Use it.
17508 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
17510         * files-x.el (modify-dir-local-variable)
17511         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
17512         docstrings.
17514         * recentf.el (recentf-unload-function): New function.
17516 2009-10-04  Glenn Morris  <rgm@gnu.org>
17518         * window.el (window-full-height-p): Add doc string.
17520 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
17522         * window.el (window-full-height-p): New function.  (Bug#4543)
17524 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
17526         * vc.el: Remove commented out code.
17527         (vc-derived-from-dir-mode): Remove, unused.
17528         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
17530 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
17532         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
17533         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
17534         there could be recursive loading when `default-directory' is a
17535         remote file name.  (Bug#4614)
17537 2009-10-03  Glenn Morris  <rgm@gnu.org>
17539         * calendar/calendar.el (calendar-basic-setup): Handle the case where
17540         the frame is wide.
17541         (calendar-generate-window): Test for shrinkability rather than width.
17543         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
17544         reusing existing buffers, in case we happen to visit two files with the
17545         same basename.  (Bug#4593)
17547 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
17549         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
17550         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
17551         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
17552         subdirs of cedet as well.
17553         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
17555 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
17557         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
17558         Obey advertised-signature-table.
17560         * help-fns.el (help-function-arglist): Don't check
17561         advertised-signature-table.
17562         (describe-function-1): Do it here instead so it also applies to subrs.
17564 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
17566         * simple.el (start-file-process): Say in the doc-string, that file
17567         handlers might not support pty association, if PROGRAM is nil.
17569         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
17570         HOST and USER are strings.  They are nil, when there are
17571         incomplete entries in ~/.netrc, for example.
17572         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
17573         root directory ("device busy" error otherwise).
17575         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
17576         Flush file properties of created directory.
17578 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
17580         * makefile.w32-in (WINS_BASIC): Remove cedet.
17581         (WINS_CEDET): Add cedet.
17582         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
17584 2009-10-02  Kevin Ryde  <user42@zip.com.au>
17586         * net/browse-url.el (browse-url): Pass any symbol in
17587         browse-url-browser-function to `apply', since if you've mistakenly put
17588         an unbound symbol then the error is clearer.  (Bug#4531)
17590 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
17592         * allout.el (allout-init, allout-back-to-current-heading)
17593         (allout-beginning-of-current-entry, allout-ascend-to-depth)
17594         (allout-ascend, allout-up-current-level, allout-end-of-level)
17595         (allout-previous-visible-heading, allout-forward-current-level)
17596         (allout-backward-current-level, allout-show-children):
17597         * apropos.el (apropos-describe-plist):
17598         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
17599         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
17600         * completion.el (add-completion, add-permanent-completion):
17601         * descr-text.el (describe-text-category, describe-char):
17602         * desktop.el (desktop-lazy-abort):
17603         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
17604         * dired.el (dired-build-subdir-alist):
17605         * ediff.el (ediff-version):
17606         * elide-head.el (elide-head, elide-head-show):
17607         * emerge.el (emerge-version):
17608         * env.el (getenv):
17609         * face-remap.el (variable-pitch-mode):
17610         * faces.el (describe-face):
17611         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
17612         (dired-at-point):
17613         * files.el (find-file-existing, auto-save-mode):
17614         * font-lock.el (font-lock-fontify-buffer):
17615         * help-fns.el (describe-function, describe-variable)
17616         (describe-syntax, describe-categories):
17617         * help.el (view-lossage, describe-bindings, describe-key)
17618         (describe-mode):
17619         * hexl.el (hexl-current-address):
17620         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
17621         * info.el (Info-goto-emacs-key-command-node):
17622         * log-edit.el (log-edit-insert-cvs-template)
17623         (log-edit-insert-cvs-rcstemplate):
17624         * menu-bar.el (menu-bar-mode):
17625         * mouse.el (mouse-appearance-menu):
17626         * newcomment.el (comment-indent-new-line):
17627         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
17628         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
17629         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
17630         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
17631         * recentf.el (recentf-mode):
17632         * savehist.el (savehist-mode, savehist-save):
17633         * shadowfile.el (shadow-copy-files):
17634         * simple.el (kill-ring-save, next-line, previous-line)
17635         (normal-erase-is-backspace-mode):
17636         * strokes.el (strokes-update-window-configuration)
17637         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
17638         (strokes-xpm-for-stroke):
17639         * time.el (emacs-uptime, emacs-init-time):
17640         * tutorial.el (tutorial--describe-nonstandard-key)
17641         (tutorial--detailed-help):
17642         * type-break.el (type-break-mode)
17643         (type-break-mode-line-message-mode, type-break-query-mode)
17644         (type-break-guesstimate-keystroke-threshold):
17645         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
17646         * version.el (emacs-version):
17647         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
17648         * winner.el (winner-mode):
17649         * calendar/timeclock.el (timeclock-in, timeclock-out)
17650         (timeclock-status-string, timeclock-change)
17651         (timeclock-workday-remaining-string)
17652         (timeclock-workday-elapsed-string)
17653         (timeclock-when-to-leave-string):
17654         * calendar/todo-mode.el (todo-add-category):
17655         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
17656         * emacs-lisp/autoload.el (update-file-autoloads):
17657         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
17658         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
17659         (checkdoc-message-text, checkdoc-defun):
17660         * emacs-lisp/debug.el (debugger-list-functions):
17661         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
17662         * emacs-lisp/eieio-opt.el (eieio-describe-class)
17663         (eieio-describe-generic):
17664         * emacs-lisp/lisp-mnt.el (lm-synopsis):
17665         * emacs-lisp/shadow.el (list-load-path-shadows):
17666         * emulation/cua-base.el (cua-mode):
17667         * emulation/edt.el (edt-set-scroll-margins):
17668         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
17669         (tpu-toggle-regexp, tpu-toggle-search-direction)
17670         (tpu-toggle-rectangle, tpu-toggle-control-keys):
17671         * emulation/tpu-extras.el (tpu-set-scroll-margins):
17672         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
17673         (viper-set-parsing-style-toggling-macro)
17674         (viper-set-emacs-state-searchstyle-macros):
17675         * emulation/viper.el (viper-set-hooks):
17676         * eshell/esh-mode.el (eshell-truncate-buffer):
17677         * international/mule-cmds.el (prefer-coding-system)
17678         (describe-input-method, describe-language-environment):
17679         * international/mule-diag.el (list-character-sets)
17680         (describe-character-set, describe-coding-system)
17681         (describe-fontset, list-fontsets, list-input-methods):
17682         * mail/sendmail.el (mail-signature):
17683         * net/ange-ftp.el (ange-ftp-copy-file):
17684         * net/browse-url.el (browse-url):
17685         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
17686         * net/quickurl.el (quickurl-add-url):
17687         * net/rcirc.el (names, topic):
17688         * net/xesam.el (xesam-mode):
17689         * play/5x5.el (5x5-new-game):
17690         * play/yow.el (apropos-zippy):
17691         * progmodes/ada-mode.el (ada-mode-version):
17692         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
17693         (f90-end-of-block)
17694         (f90-beginning-of-block):
17695         * progmodes/fortran.el (fortran-end-of-block)
17696         (fortran-beginning-of-block):
17697         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
17698         * progmodes/python.el (python-describe-symbol, python-shell):
17699         * term/ns-win.el (ns-print-buffer):
17700         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
17701         * textmodes/flyspell.el (flyspell-mode-on):
17702         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
17703         (pages-directory-for-addresses):
17704         * textmodes/table.el (table-recognize-cell)
17705         (table-query-dimension, table-generate-source)
17706         (table-insert-sequence, table--warn-incompatibility):
17707         * textmodes/tex-mode.el (tex-validate-buffer):
17708         * textmodes/texinfmt.el (texinfmt-version)
17709         (texinfo-format-buffer):
17710         Use `called-interactively-p' instead of `interactive-p'.
17712 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
17714         * image-mode.el (image-toggle-display):
17715         * emacs-lisp/elp.el (elp-instrument-function):
17716         * emacs-lisp/advice.el (ad-make-advised-definition):
17717         * emacs-lisp/easy-mmode.el (define-minor-mode):
17718         * net/browse-url.el (browse-url-maybe-new-window):
17719         * progmodes/sh-script.el (sh-learn-buffer-indent):
17720         Pass new argument 'any to `called-interactively-p'.
17722 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
17724         * international/uni-bidi.el:
17725         * international/uni-category.el:
17726         * international/uni-combining.el:
17727         * international/uni-comment.el:
17728         * international/uni-decimal.el:
17729         * international/uni-decomposition.el:
17730         * international/uni-digit.el:
17731         * international/uni-lowercase.el:
17732         * international/uni-mirrored.el:
17733         * international/uni-name.el:
17734         * international/uni-numeric.el:
17735         * international/uni-old-name.el:
17736         * international/uni-titlecase.el:
17737         * international/uni-uppercase.el:
17738         Regenerate from Unicode 5.2.0 data.
17740 2009-10-01  Glenn Morris  <rgm@gnu.org>
17742         * Makefile.in (ELCFILES): Regenerate.
17744 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17746         * subr.el (interactive-p): Mark obsolete.
17747         (called-interactively-p): Make the optional-ness of `kind' obsolete.
17748         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
17749         advertised-signature-table for subroutines as well.
17751         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
17752         (set-advertised-calling-convention): New function.
17753         (make-obsolete, define-obsolete-function-alias)
17754         (make-obsolete-variable, define-obsolete-variable-alias):
17755         Make the optional-ness of `when' obsolete.
17756         (define-obsolete-face-alias): Make `when' non-optional.
17757         * help-fns.el (help-function-arglist):
17758         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
17759         Use advertised-signature-table.
17761 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
17763         * files.el (delete-directory): New defun.  The original function
17764         in fileio.c has been renamed to `delete-directory-internal'.
17766         * dired.el (dired-delete-file): Call `delete-directory' with
17767         RECURSIVE parameter.
17769         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
17770         parameter RECURSIVE.  Implementation is missing.
17772         * net/tramp.el (tramp-handle-make-directory): Flush upper
17773         directory's file properties.
17774         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
17775         (tramp-handle-dired-recursive-delete-directory): Flush directory
17776         properties after the remove command only.
17778         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17779         Handle optional parameter RECURSIVE.
17781         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17782         Handle optional parameter RECURSIVE.
17784         * net/tramp-smb.el (tramp-smb-errors): Add error message for
17785         connection timeout.
17786         (tramp-smb-handle-delete-directory): Handle optional parameter
17787         RECURSIVE.
17789 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17791         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
17792         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
17793         (byte-compile-defmacro): Use backquotes.
17795         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
17797         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
17798         has no associated file.
17799         (vc-resynch-buffer): Use vc-dir-buffers.
17801 2009-10-01  Glenn Morris  <rgm@gnu.org>
17803         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
17804         (chart-file-count):
17805         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
17806         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
17807         * emacs-lisp/eieio-opt.el (eieio-describe-class):
17808         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
17809         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
17810         (eieio-copy-parents-into-subclass, make-instance, class-children)
17811         (eieio-generic-form):
17813         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
17814         match-data.  (Bug#4555).
17816         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
17817         rather than parsing it as a regexp.  This relaxes the layout
17818         requirements and makes errors easier to detect.
17819         (check-declare-verify): Check file is regular.
17820         (check-declare-directory): Doc fix.
17821         * subr.el (declare-function): Doc fix.
17823         * ibuffer.el (ibuffer-format-qualifier):
17824         * isearch.el (hi-lock-regexp-okay):
17825         * calc/calc.el (math-zerop):
17826         * mail/uce.el (rmail-msgbeg, rmail-msgend):
17827         * term/w32-win.el (setup-default-fontset, set-fontset-font):
17828         Remove unused declarations.
17830 2009-09-30  Eric Ludlam  <zappo@gnu.org>
17832         * emacs-lisp/eieio.el (boolean-p): Delete.
17834 2009-09-30  Glenn Morris  <rgm@gnu.org>
17836         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
17838         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
17839         filename is not a string.
17841 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
17843         * files.el (safe-local-eval-forms): Fix typo.
17845 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
17847         * vc-hooks.el (vc-dir-buffers): New var.
17848         (vc-state-refresh): New function.
17849         (vc-state): Use it.
17850         (vc-after-save): Always ask the backend to recompute the new state.
17851         Always call vc-dir if necessary, using vc-dir-buffers.
17852         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
17853         Use vc-dir-buffers.
17854         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
17855         (vc-dir-prepare-status-buffer, vc-dir-update)
17856         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
17857         Don't call expand-file-name on default-directory.
17859 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
17861         * speedbar.el (speedbar-item-delete):
17862         * calc/calc-prog.el (calc-kbd-if):
17863         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
17865         * epa.el (epa-key-list-mode-map):
17866         * hi-lock.el (hi-lock-menu): Fix typos in menus.
17868         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
17869         (hs-show-hook): Fix typo in docstring.
17871 2009-09-29  Glenn Morris  <rgm@gnu.org>
17873         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
17874         file-name-nondirectory call preventing location of cedet files.
17875         (check-declare-verify): Use literal search rather than re-search.
17876         Add basic defmethod and defclass, and define-overloadable-function.
17878         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17879         Use tramp-compat-file-attributes rather than nonexistent
17880         tramp-compat-handle-file-attributes.
17882         * Makefile.in (lisptagsfiles4): New.
17883         (AUTOGENEL): Add cedet loaddefs files.
17884         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
17885         (update-elclist, compile-always, backup-compiled-files)
17886         (bootstrap-clean): Add yet another directory level.
17887         (update-elclist): Use LC_COLLATE rather than COLLATE.
17888         (ELCFILES): Update, via `make update-elclist'.
17890 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
17892         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
17893         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
17894         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
17896 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
17898         * Makefile.in (lisptagsfiles3): Define.
17899         (TAGS, TAGS-LISP): Use it.
17900         (update-elclist): Add third directory level to look for elc files.
17901         (compile-always): Likewise.
17902         (backup-compiled-files): Likewise.
17903         (bootstrap-clean): Likewise.
17904         (ELCFILES): Update.
17906 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
17908         * Makefile.in (ELCFILES): Add CEDET files.
17910 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
17912         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
17914         * net/tramp.el (top): Require tramp-imap.
17916         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17917         Use `tramp-compat-handle-file-attributes'.
17919 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
17921         * net/tramp-imap.el: New package.
17923 2009-09-28  Eric Ludlam  <zappo@gnu.org>
17925         * emacs-lisp/chart.el:
17926         * emacs-lisp/eieio-base.el:
17927         * emacs-lisp/eieio-comp.el:
17928         * emacs-lisp/eieio-custom.el:
17929         * emacs-lisp/eieio-datadebug.el:
17930         * emacs-lisp/eieio-opt.el:
17931         * emacs-lisp/eieio-speedbar.el:
17932         * emacs-lisp/eieio.el: New files.
17934 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
17936         * whitespace.el (whitespace-trailing-regexp)
17937         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
17938         Fix doc string.
17940 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
17942         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
17943         menu.
17945         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
17946         menu-bar-ediff-menu.
17948         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
17949         define-overloadable-function.
17951         * progmodes/autoconf.el: Provide autoconf as well, so that this
17952         file can be `require'd.
17954         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
17956         * emacs-lisp/autoload.el (generated-autoload-feature)
17957         (generated-autoload-load-name): New vars.
17958         (autoload-rubric, autoload-generate-file-autoloads): Use them.
17959         (make-autoload): Recognize define-overloadable-function and
17960         defclass forms (for EIEIO).
17962         * Makefile.in (update-subdirs): Exclude cedet directory.
17964 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
17966         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
17968         * faces.el: Default light-background background for region face to
17969         ns_selection_color under NS.
17971 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
17973         * net/imap-hash.el: New library, see NEWS.
17975         * Makefile.in (ELCFILES): Add imap-hash.el.
17977 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17979         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
17980         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
17981         * help-macro.el (make-help-screen): Avoid using an ambiguous function
17982         definition where the docstring could be taken for the return value.
17984 2009-09-26  Glenn Morris  <rgm@gnu.org>
17986         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
17987         Add option to only show images below a certain size.
17988         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
17989         save-excursion calls.
17991 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
17993         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
17994         subdirectories) and eieio.
17996 2009-09-26  Alan Mackenzie  <acm@muc.de>
17998         * progmodes/cc-engine.el (c-beginning-of-statement-1):
17999         Correct buggy bracketing.  (Bug#4289)
18001         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
18002         character constants (as case labels).  (Bug#4289)
18004 2009-09-25  Juri Linkov  <juri@jurta.org>
18006         * files.el (safe-local-eval-forms): Allow time-stamp in
18007         before-save-hook (Bug#4554).
18009 2009-09-25  Drew Adams  <drew.adams@oracle.com>
18011         * menu-bar.el (list-buffers-directory): Doc fix.
18013 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
18015         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
18016         Try and avoid copying twice the same paragraph.
18017         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
18018         Remove save-excursion.
18019         (log-edit-changelog-entry): Do it here instead.
18021 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
18023         * bs.el (bs--get-file-name): Use `list-buffers-directory'
18024         when available, instead of hardcoding mode names.  Doc fix.
18026         * menu-bar.el (list-buffers-directory): Add docstring.
18027         Make automatically buffer-local.
18029         * dired.el (dired-mode):
18030         * files.el (cd-absolute):
18031         * pcvs.el (cvs-temp-buffer):
18032         * pcvs-util.el (cvs-get-buffer-create):
18033         * shell.el (shell-mode):
18034         * vc-dir.el (vc-dir-mode):
18035         Don't make `list-buffers-directory' buffer local.
18037 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
18039         * comint.el (comint-exec, comint-run, make-comint):
18040         Doc fixes (Bug#4542).
18042 2009-09-25  Glenn Morris  <rgm@gnu.org>
18044         * mail/rmailmm.el (rmail-mime): New custom group.
18045         Move all defcustoms in this file into this group.
18046         (rmail-mime-media-type-handlers-alist): Revert previous change.
18047         (rmail-mime-show-images): New option.
18048         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
18049         references to it, since it wasn't actually used for anything.
18050         (rmail-mime-insert-image): New function.
18051         (rmail-mime-image): Use rmail-mime-insert-image.
18052         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
18053         obey the value of `rmail-mime-show-images' option.  Print the size of
18054         attachments.
18056 2009-09-25  David Engster  <deng@randomsample.de>
18058         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
18060 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
18062         * whitespace.el: Does not highlight trailing spaces While point is
18063         at end of line.  Does not highligt spaces at beginning of buffer
18064         while point is at beginning of buffer.  Does not highlight spaces
18065         at end of buffer while point is at end of buffer.  (Bug#4177)
18066         New version 12.0.
18067         (whitespace-display-mappings): Adjust initialization.
18068         (whitespace-point, whitespace-font-lock-refontify): New vars.
18069         (whitespace-color-on, whitespace-color-off): Adjust code.
18070         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
18071         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
18072         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
18074 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
18076         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
18078         * textmodes/sgml-mode.el: Remove xml-mode alias.
18080         * files.el (auto-mode-alist, conf-mode-maybe)
18081         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
18083 2009-09-24  Alan Mackenzie  <acm@muc.de>
18085         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
18086         c-forward-conditionals, but it doesn't move point and doesn't set
18087         the mark.
18088         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
18089         (c-down-conditional-with-else, c-backward-conditional)
18090         (c-forward-conditional): Refactor to use c-scan-conditionals.
18092 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
18094         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
18095         (help-default-arg-highlight): Remove.
18096         (help-highlight-arg): New function.
18097         (help-do-arg-highlight): Use it.
18098         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
18100 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18102         * term.el (term-set-scroll-region, term-handle-ansi-escape):
18103         Undo last change, which didn't fix the problem and introduced others.
18105 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
18107         * progmodes/gdb-mi.el: Don't require speedbar.
18108         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
18110 2009-09-24  Glenn Morris  <rgm@gnu.org>
18112         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
18114         * term/ns-win.el (ns-reg-to-script): Define for compiler.
18116         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
18117         there is no newline after the final mime boundary.  (Bug#4539)
18118         Move markers on insertion so that any buttons inserted don't end up in
18119         the next part of a multipart message.
18120         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
18121         (rmail-mime-bulk-handler): Optionally handle images.
18122         (rmail-mime-image): New button action.
18123         (rmail-mime-image-handler): New function.
18124         (rmail-mime-mode): New mode.
18125         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
18127 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18129         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
18130         than just dropping elements from it (bug#4504).
18132         * term.el (term-set-scroll-region): Don't move cursor any more.
18133         (term-handle-ansi-escape): Call term-goto here instead.
18134         Suggested by Ivan Kanis <apple@kanis.eu>.
18136         * term.el: Require CL.
18137         (term-ansi-reset): New function.
18138         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
18139         (term-handle-colors-array): Simplify.
18141 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
18143         * allout.el (allout-overlay-interior-modification-handler)
18144         (allout-obtain-passphrase):
18145         * epa-file.el (epa-file-write-region):
18146         * ps-print.el (ps-begin-job):
18147         * vc-hooks.el (vc-toggle-read-only):
18148         * vc-rcs.el (vc-rcs-rollback):
18149         * vc-sccs.el (vc-sccs-rollback):
18150         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
18151         (vc-version-diff, vc-revert, vc-rollback):
18152         * wdired.el (wdired-check-kill-buffer):
18153         * emacs-lisp/authors.el (authors):
18154         * net/socks.el (socks-open-connection):
18155         * net/zeroconf.el (zeroconf-service-add-hook):
18156         * obsolete/vc-mcvs.el (vc-mcvs-register):
18157         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
18158         (gdb-select-frame):
18159         * progmodes/grep.el (lgrep, rgrep):
18160         * progmodes/idlw-help.el (idlwave-help-check-locations)
18161         (idlwave-help-html-link, idlwave-help-assistant-open-link):
18162         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
18163         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
18164         (reftex-toc-rename-label): Fix typos in error messages.
18166         * dired-aux.el (dired-do-shell-command): Reflow docstring.
18167         (dired-copy-how-to-fn): Doc fix.
18168         (dired-files-attributes, dired-read-shell-command):
18169         Fix typos in docstrings.
18171         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
18172         (dired-x-find-file-other-window): Reflow docstrings.
18173         (dired-omit-marker-char, dired-read-shell-command)
18174         (dired-x-submit-report): Fix typos in docstrings.
18176         * shell.el (shell-mode-hook):
18177         * view.el (View-scroll-line-forward):
18178         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
18179         Fix typos in docstrings.
18181         * net/dig.el (dig-invoke): Fix typo in docstring.
18182         (query-dig): Reflow docstring.
18184         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
18185         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
18186         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
18187         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
18188         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
18189         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
18190         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
18191         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
18192         (idlwave-completion-map, idlwave-current-indent)
18193         (idlwave-custom-ampersand-surround, idlwave-customize)
18194         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
18195         (idlwave-define-abbrev, idlwave-determine-class-special)
18196         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
18197         (idlwave-end-block-reg, idlwave-end-of-statement)
18198         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
18199         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
18200         (idlwave-explicit-class-listed, idlwave-file-header)
18201         (idlwave-fill-paragraph, idlwave-find-class-definition)
18202         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
18203         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
18204         (idlwave-in-quote, idlwave-indent-action-table)
18205         (idlwave-indent-expand-table, idlwave-indent-line)
18206         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
18207         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
18208         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
18209         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
18210         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
18211         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
18212         (idlwave-outlawed-buffers, idlwave-popup-select)
18213         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
18214         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
18215         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
18216         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
18217         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
18218         (idlwave-statement-type, idlwave-struct-skip)
18219         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
18220         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
18221         (idlwave-what-module-find-class): Fix typos in docstrings.
18222         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
18223         (idlwave-calculate-cont-indent, idlwave-expand-equal)
18224         (idlwave-find-module, idlwave-find-structure-definition)
18225         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
18226         (idlwave-list-load-path-shadows, idlwave-next-statement)
18227         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
18228         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
18229         (idlwave-template): Reflow docstrings.
18231         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
18232         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
18233         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
18234         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
18235         (idlwave-shell-display-line, idlwave-shell-display-wframe)
18236         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
18237         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
18238         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
18239         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
18240         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
18241         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
18242         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
18243         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
18244         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
18245         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
18246         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
18247         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
18248         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
18249         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18250         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18251         Fix typos in docstrings.
18252         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
18253         (idlwave-shell-hide-output, idlwave-shell-mode)
18254         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
18255         Reflow docstrings.
18257         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
18259 2009-09-24  Ivan Kanis  <apple@kanis.eu>
18261         * term.el (term-bold-attribute): New var.
18262         (term-handle-colors-array): Use it.
18264 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
18266         * progmodes/gdb-mi.el (gdb-version): New variable.
18267         (gdb-non-stop-handler): Set gdb-version.
18268         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
18269         Condition "--thread" option on gdb-version.
18270         (gdb-invalidate-threads): Remove unused argument.
18272 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
18274         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
18275         to looking-back to avoid ridiculous slow down in large files (bug#4511).
18277 2009-09-23  Glenn Morris  <rgm@gnu.org>
18279         * mail/rmail.el (rmail-reply): Don't try to add a References header when
18280         replying to mail without References or Message-Id.  (Bug#4525)
18282 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
18284         * term/ns-win.el (ns-reg-to-script): New variable.
18286 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
18288         * epg.el (epg-wait-for-status): Preserve existing 'error results.
18290 2009-09-22  Sam Steingold  <sds@gnu.org>
18292         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
18293         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
18294         to 1 because hg returns status 1 when nothing is found.
18295         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
18297 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
18299         * textmodes/fill.el: Convert to utf-8 encoding.
18300         (fill-french-nobreak-p): Remove redundant » and « inherited from our
18301         pre-Unicode days.
18303         * add-log.el (change-log-fill-forward-paragraph): New function.
18304         (change-log-mode): Use it so fill-region DTRT.
18305         Set fill-indent-according-to-mode here rather than in
18306         change-log-fill-paragraph.
18307         (change-log-fill-paragraph): Remove.
18309 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
18311         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
18312         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
18314 2009-09-22  Glenn Morris  <rgm@gnu.org>
18316         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
18317         the scroll-bar scroll the calendar window rather than the buffer.
18319         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
18320         commands that move point (as opposed to scrolling).
18322         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
18324         * emacs-lisp/elint.el (elint): New custom group.
18325         (elint-log-buffer): Make it a defcustom.
18326         (elint-scan-preloaded, elint-ignored-warnings)
18327         (elint-directory-skip-re): New options.
18328         (elint-builtin-variables): Doc fix.
18329         (elint-preloaded-env): New variable.
18330         (elint-unknown-builtin-args): Add an entry for encode-time.
18331         (elint-extra-errors): Make it a variable rather than a constant.
18332         (elint-preloaded-skip-re): New constant.
18333         (elint-directory): Skip files matching elint-directory-skip-re.
18334         (elint-features): New variable, local to linted buffers.
18335         (elint-update-env): Initialize elint-features.  Possibly add
18336         elint-preloaded-env to the buffer's environment.
18337         (elint-get-top-forms): Bind elint-current-pos, for log messages.
18338         Skip quoted forms.
18339         (elint-init-form): New function, extracted from elint-init-env.
18340         Make non-list forms a warning rather than an error.
18341         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
18342         easy-menu-define, put that adds an error-condition, and provide.
18343         When requiring cl, also require cl-macs.  Really require cl, to handle
18344         some cl macros.  Store required libraries in the list elint-features,
18345         so as not to re-load them.  Treat cc-require like require.
18346         (elint-init-env): Call elint-init-form to do the work.
18347         Handle eval-and-compile and such like.
18348         (elint-add-required-env): Do not clear messages.
18349         (elint-special-forms): Add handlers for function, defalias, if, when,
18350         unless, and, or.
18351         (elint-form): Add optional argument to ignore elint-special-forms,
18352         useful to prevent recursive calls from handlers.  Doc fix.
18353         Respect elint-ignored-warnings.
18354         (elint-form): Respect elint-ignored-warnings.
18355         (elint-bound-variable, elint-bound-function): New variables.
18356         (elint-unbound-variable): Respect elint-bound-variable.
18357         (elint-get-args): Respect elint-bound-function.
18358         (elint-check-cond-form): Add some simple handling for (f)boundp and
18359         featurep tests.
18360         (elint-check-defalias-form): New handler.
18361         (elint-check-let-form): Make an empty let a warning rather than an
18362         error.
18363         (elint-check-setq-form): Make an empty setq a warning rather than an
18364         error.  Respect elint-ignored-warnings.
18365         (elint-check-defvar-form): Accept null doc-strings.
18366         (elint-check-conditional-form): New handler.  Does some simple-minded
18367         checking of featurep and (f)boundp tests.
18368         (elint-put-function-args): New function.
18369         (elint-initialize): Use elint-scan-doc-file rather than
18370         elint-find-builtin-variables.  Use elint-put-function-args.
18371         Possibly scan preloaded-file-list.
18372         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18373         extend to handle functions as well.
18375 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
18377         * linum.el (linum-delete-overlays, linum-update-window):
18378         Do not modify the right margin.  (Bug#3971)
18380 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
18382         * files.el (conf-mode-maybe, magic-fallback-mode-alist):
18383         Use nxml-mode instead of xml-mode.
18385 2009-09-21  Kevin Ryde  <user42@zip.com.au>
18387         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
18389 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
18391         * net/dig.el (dig-mode): Use define-derived-mode.
18393 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
18395         * vc-dispatcher.el (vc-do-command): Return the process object in
18396         the asynchronous case.  Use when instead of if.  Do not run
18397         vc-exec-after to display a message if not enabled.  (Bug#4463)
18399         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
18400         properties to the stash strings.
18401         (vc-git-stash-list): Return a list of strings.
18402         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
18403         (vc-git-stash-show-at-point): New functions.
18404         (vc-git-stash-map): New keymap.
18406         * register.el (ctl-x-r-map): Define the keys here instead of
18407         using autoload.
18409 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
18411         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
18412         list, to workaround performance problem (bug#4485).
18414 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
18416         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
18418 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
18420         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
18421         Document that this option is not recommended to use.
18423 2009-09-19  Glenn Morris  <rgm@gnu.org>
18425         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
18426         variable `var'.
18428         * calc/calc-alg.el (var):
18429         * calc/calcalg2.el (var): Define for compiler.
18431 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
18433         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
18434         Doc fix (Bug#3932).
18436         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
18438         * time-stamp.el (time-stamp-month-dd-yyyy)
18439         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
18440         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
18441         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
18442         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
18443         Remove functions that have been obsolete since 1995 (Bug#4436).
18445         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
18446         indent buffer only if called interactively (Bug#4452).
18448 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
18449             Eli Zaretskii  <eliz@gnu.org>
18451         This fixes bug#4197 (merged to bug#865, though not identical).
18452         * server.el (server-auth-dir): Add docstring note about FAT32.
18453         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
18454         but warn against using them.
18456 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
18458         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
18459         older GDB where there is no has_more field.
18461 2009-09-19  Glenn Morris  <rgm@gnu.org>
18463         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
18465 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
18467         * files.el (auto-mode-alist): Change default for XML files to nXML
18468         mode (Bug#4169).
18470 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
18472         * server.el (server-ensure-safe-dir): Pass 'integer
18473         to `file-attributes', as suggested.
18475 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
18477         * dired-aux.el (dired-query-alist): Remove spurious backslash.
18478         (dired-query): Use read-key.
18480 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
18482         * cus-start.el (ns-use-qd-smoothing): Remove.
18484 2009-09-18  Glenn Morris  <rgm@gnu.org>
18486         * allout.el (top-level): Remove unnecessary progn.
18488         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
18490         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
18491         definition of abbrev table.
18493         * speedbar.el (speedbar-track-mouse):
18494         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
18495         * net/eudc.el (eudc-expand-inline):
18496         * net/newst-backend.el (newsticker--cache-read-feed):
18497         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
18498         condition-case handlers.
18500 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
18502         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
18503         (gdb-var-list): Add an element for has_more field.
18504         (gdb-non-stop-handler): Enable pretty printing for STL containers.
18505         (gdb-var-create-handler, gdb-var-list-children-handler-1)
18506         (gdb-var-update-handler-1): Parse output of dynamic variable
18507         objects (STL containers).
18508         (gdb-var-delete-1): Pass var1 as an explicit second argument.
18509         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
18511         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
18512         gdb-var-list.
18513         (gud-speedbar-buttons): Make node expandable if expression "has more"
18514         children.
18516 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
18518         * startup.el (emacs-quick-startup): Remove variable and all uses.
18519         (command-line): Set `inhibit-x-resources' instead.
18520         (command-line-1): Use `inhibit-x-resources' instead.
18522 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
18524         * subr.el: Fix last change to avoid using the `unless' macro,
18525         which breaks bootstrapping.
18527 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18529         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
18530         extended definitions, in case we reload subr.el after having
18531         loaded CL.
18532         (eval-next-after-load): Mark as obsolete.
18534 2009-09-17  Juri Linkov  <juri@jurta.org>
18536         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
18537         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
18538         (menu-bar-showhide-menu, menu-bar-tools-menu)
18539         (menu-bar-describe-menu, menu-bar-help-menu)
18540         (minibuffer-local-completion-map, minibuffer-local-map):
18541         Fix list quoting.
18543 2009-09-17  Glenn Morris  <rgm@gnu.org>
18545         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
18546         arguments, whether or not it has a handler.
18548         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
18550         * simple.el (hard-newline): Give it a doc-string.
18552         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18553         (lisp-mode-syntax-table): Give them doc-strings.
18555 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
18557         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
18558         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
18559         (menu-bar-options-menu, menu-bar-showhide-menu)
18560         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
18561         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
18562         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
18563         (menu-bar-options-menu, menu-bar-tools-menu)
18564         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
18565         (menu-bar-help-menu):
18566         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
18567         string arguments.
18569         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
18570         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
18571         calls for the menu names and :help.
18573 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18575         * mouse.el (minor-mode-menu-from-indicator): Pay attention
18576         to :minor-mode-function (bug#4455).
18578 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
18580         * startup.el (command-line): Initialize the window-system after
18581         processing the command-line.
18583         * textmodes/page.el (what-page): Make sure we don't inf-loop if
18584         page-delimiter matches the empty string.
18586 2009-09-16  Glenn Morris  <rgm@gnu.org>
18588         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
18589         byte-compile-not-obsolete-var.  It's a list now.
18590         (byte-compile-not-obsolete-funcs): New variable.
18591         (byte-compile-warn-obsolete): Don't warn about functions if they are in
18592         byte-compile-not-obsolete-funcs.
18593         (byte-compile-variable-ref, byte-compile-defvar): Update for
18594         byte-compile-not-obsolete-vars name-change and list nature.
18595         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
18596         and variables behind (f)boundp tests.
18597         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
18599 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
18601         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
18603 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18605         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
18606         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
18607         Don't autoload.
18609 2009-09-15  Stephen Eglen  <stephen@gnu.org>
18611         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
18612         the virtual-buffers, use the name of the buffer specified by
18613         find-file-noselect, as the match may be a symlink.  (This was a
18614         problem if the target and the symlink had different names.)
18616 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18618         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
18620         * desktop.el (desktop-path): Check user-emacs-directory.
18622         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
18624         * loadup.el: Use after-load-functions to GC after loading each file.
18625         Remove the explicit GC calls that used to be sprinkled around.
18627         * subr.el (after-load-functions): New hook.
18628         (do-after-load-evaluation): Run it.  Use string-match-p to detect
18629         `obsolete' packages, rather than painfully extracting the relevant
18630         directory name.
18632 2009-09-15  Glenn Morris  <rgm@gnu.org>
18634         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
18635         free variable `doc'.
18637         * dired.el (dired-mode-map): Add menu entry for async shell command.
18639         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
18640         variables, also consider the .elc files, since the .el files are
18641         normally gzipped (subsequent code locates the .el.gz from the .elc).
18643         * calc/calc-prog.el (arglist): Define for compiler.
18645         * calendar/diary-lib.el (diary-display-function): Change the default to
18646         fancy display.
18647         (body): Define for compiler.
18649         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
18650         (byte-compile-file-form, byte-compile-lambda)
18651         (byte-compile-top-level-body, byte-compile-form)
18652         (byte-compile-variable-ref, byte-compile-setq)
18653         (byte-compile-setq-default, byte-compile-body)
18654         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
18655         (batch-byte-compile): Give some more local variables with common names
18656         a "bytecomp-" prefix to avoid masking warnings about free variables.
18658         * startup.el (command-line-1): Give local variables with common names a
18659         distinguishing prefix, so as not to hide free variable warnings during
18660         bootstrap.
18662         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
18663         clever and add a suffix to make a unique name, just let the user decide
18664         whether or not to overwrite it.  If the input is a directory, write the
18665         default filename to that directory.  (Bug#4388)
18666         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
18667         is a filename-as-a-directory.
18669 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18671         * textmodes/page.el (what-page): Don't move to beginning of line.
18672         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
18674 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
18676         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
18678 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
18680         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
18681         * help.el (help-for-help-internal): Add purecopy calls for text.
18683         * vc.el (top): print-log method now takes an optional SHORTLOG
18684         argument.  Add a new method: root.
18685         (vc-root-diff, vc-print-root-log): New functions.
18686         (vc-log-short-style): New variable.
18687         (vc-print-log-internal): Add support for showing short logs.
18689         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
18690         vc-print-root-log and vc-print-root-diff.
18692         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
18693         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
18694         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
18695         short logs.
18697         * vc-cvs.el (vc-cvs-print-log):
18698         * vc-mtn.el (vc-mtn-print-log):
18699         * vc-rcs.el (vc-rcs-print-log):
18700         * vc-sccs.el (vc-sccs-print-log):
18701         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
18702         that is ignored for now.
18704         * vc-mtn.el (vc-mtn-annotate-command):
18705         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
18707 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
18709         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
18710         to function-key-map, and give them ascii-character property.
18711         * term/x-win.el (x-alternatives-map):
18712         * term/ns-win.el (ns-alternatives-map):
18713         * term/internal.el (msdos-key-remapping-map):
18714         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
18716 2009-09-14  Glenn Morris  <rgm@gnu.org>
18718         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
18719         temp-buffers (2009-09-12).
18721 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
18723         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
18724         the new read-key function.
18726 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
18728         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
18729         is defined (Bug#4405).
18731 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
18733         * recentf.el (recentf-cleanup): Use a hash table to find
18734         duplicates (Bug#4407).
18736 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
18738         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
18739         kp-0 to ascii equivalents (Bug#4325).
18741 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
18743         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
18745         * eshell/em-hist.el:
18746         * eshell/em-dirs.el (eshell-complete-user-reference):
18747         Declare pcomplete functions and variables to avoid compiler warnings.
18749 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
18751         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
18752         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
18753         * eshell/em-alias.el (eshell-aliases-file):
18754         * eshell/em-hist.el (eshell-history-file-name):
18755         Use expand-file-name instead of concat to make file names (Bug#4308).
18757 2009-09-13  Glenn Morris  <rgm@gnu.org>
18759         * ediff-merg.el (ediff-do-merge):
18760         * filesets.el (filesets-run-cmd):
18761         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
18762         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
18763         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
18764         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
18765         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
18766         Replace empty `let's with `progn'.
18768 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
18770         * mail/sendmail.el (send-mail-function):
18771         * tooltip.el (tooltip-mode):
18772         * simple.el (transient-mark-mode):
18773         * rfn-eshadow.el (file-name-shadow-mode):
18774         * frame.el (blink-cursor-mode):
18775         * font-core.el (global-font-lock-mode):
18776         * files.el (temporary-file-directory)
18777         (small-temporary-file-directory, auto-save-file-name-transforms):
18778         * epa-hook.el (auto-encryption-mode):
18779         * composite.el (global-auto-composition-mode):
18780         Use custom-initialize-delay.
18781         * startup.el (command-line): Don't explicitly call
18782         custom-reevaluate-setting for all the above vars.
18783         * custom.el (custom-initialize-safe-set)
18784         (custom-initialize-safe-default): Delete.
18786 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18788         * term/x-win.el (x-initialize-window-system):
18789         * term/w32-win.el (w32-initialize-window-system):
18790         * term/ns-win.el (ns-initialize-window-system): Don't call
18791         mouse-wheel-mode since it's enabled globally by default already.
18793         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
18794         actually define the variable, but only silences the byte-compiler.
18795         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
18796         before looking it up.
18797         (mouse-wheel-scroll-amount): Also reset the bindings if this value
18798         is changed.
18800 2009-09-12  Glenn Morris  <rgm@gnu.org>
18802         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
18803         1000.
18804         (elint-add-required-env): Don't beep on error.
18805         (elint-forms): In case of error, return ENV unchanged.
18806         (elint-init-env): Skip non-list forms.
18807         (elint-log): Handle unknown file positions.
18809 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
18811         * epg.el (epg-make-context): Add autoload cookie.
18812         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
18813         (epg-decrypt-string, epg-start-verify, epg-verify-file)
18814         (epg-verify-string, epg-start-sign, epg-sign-file)
18815         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
18816         (epg-encrypt-string, epg-start-export-keys)
18817         (epg-export-keys-to-file, epg-export-keys-to-string)
18818         (epg-start-import-keys, epg-import-keys-from-file)
18819         (epg-import-keys-from-string, epg-start-receive-keys)
18820         (epg-receive-keys, epg-import-keys-from-server)
18821         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
18822         (epg-sign-keys, epg-start-generate-key)
18823         (epg-generate-key-from-file, epg-generate-key-from-string):
18824         Remove autoload cookie.
18826 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
18828         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
18829         reevaluation of trash-directory.
18831         * mwheel.el: Fix last change.
18832         (mouse-wheel-mode): New defvar.
18833         (mouse-wheel-mode): Remove autoload cookie.
18835 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18837         * mwheel.el (mwheel-installed-bindings): New var.
18838         (mouse-wheel-mode): Use it, so as to make sure we really remove all
18839         the bindings we set last time.  Use custom-initialize-delay.
18840         * loadup.el: Load mwheel after term/*-win.el.
18841         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
18842         and mouse-wheel-up-event now that their first evaluation is done
18843         sufficiently late to be correct.
18845         * startup.el (tutorial-directory): Make it a defcustom.
18846         Use custom-initialize-delay rather than eval-at-startup to set it.
18847         * image.el (image-load-path): Make it a defcustom.
18848         Use custom-initialize-delay rather than eval-at-startup to set it.
18849         * subr.el (eval-at-startup): Remove.
18850         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
18852         * subr.el (do-after-load-evaluation): Warn the user after loading an
18853         obsolete package.
18855 2009-09-12  Glenn Morris  <rgm@gnu.org>
18857         * proced.el (proced-mark-alt): Remove alias.
18858         (proced-mode-map): Remove proced-mark-alt.
18860         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
18861         Elint file and directory.  Remove initialization entry.
18863         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
18864         commands.
18865         (elint-current-buffer): Set mode-line-process.
18866         (elint-init-env): Handle define-derived-mode.
18867         Fix declare-function with unspecified arglist.  Guard against odd
18868         defalias statements (eg iso-insert's 8859-1-map).
18869         (elint-add-required-env): Use a temp buffer.
18870         (elint-form): Just print the function/macro name, not the whole form.
18871         Return env unchanged if we fail to parse a macro.
18872         (elint-forms): Guard against parse errors.
18873         (elint-output): New function, to handle batch mode.
18874         (elint-log-message): Add optional argument.  Use elint-output.
18875         (elint-set-mode-line): New function.
18877 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
18879         * emacs-lisp/elp.el (elp-not-profilable): Add more
18880         functions (Bug#4233).
18882 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
18884         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
18885         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
18887 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
18889         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
18890         (gdb-var-list-children): Use json parsing.
18892 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
18894         * progmodes/js.el (js--proper-indentation): Handle the case where
18895         char-before is null.  Reported by Deniz Dogan.
18897 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
18899         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
18901 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
18903         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
18904         (epg-digest-algorithm-alist): Add SHA224.
18905         (epg-context-set-passphrase-callback)
18906         (epg-context-set-progress-callback): Add description about
18907         callback function.
18909 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
18911         * custom.el (custom-delayed-init-variables): New var.
18912         (custom-initialize-delay): New function.
18913         * startup.el (command-line): "Re"evaluate all vars in
18914         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
18915         explicitly any more.
18916         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
18917         to avoid creating a ~/.emacs.d at build-time (bug#4347).
18919         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
18921 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
18923         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
18924         (gdb-var-update-handler): Use json parsing.
18926 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
18928         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
18929         decode annotated text, regardless of language environment.  (Bug#2741)
18931 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
18933         * Makefile.in (autoloads): Make rmail.el writable as well.
18935 2009-09-11  Glenn Morris  <rgm@gnu.org>
18937         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
18938         loaddefs.el.
18939         * dired.el: Regenerate with extracted autoloads.
18940         * Makefile.in (autoloads): Make dired.el writable.
18942         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
18943         * ibuffer.el: Regenerate with extracted autoloads.
18944         * Makefile.in (autoloads): Make ibuffer.el writable.
18946         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
18947         * version.el (emacs-copyright, emacs-major-version)
18948         (emacs-minor-version): Reformat doc-strings for make-docfile.
18950         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
18951         functions and variables, since they must be stuff specific to some other
18952         platform.
18953         (apropos-print): Make mouse-click message less specific about button.
18955         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
18956         that records where a macro was defined.
18957         * help-fns.el (describe-function-1): Mention if a function has a
18958         compiler-macro.
18959         * help-mode.el (help-function-cmacro): New button.
18961         * locate.el (top-level): Always require dired.
18962         (locate-mode-map): Initialize inside the defvar.
18964         * net/ange-ftp.el (dired-compress-file): Declare.
18965         (ange-ftp-dired-compress-file): Add doc string.
18967         * term/ns-win.el (x-display-name, x-setup-function-keys):
18968         Unify doc-strings with X versions.
18970 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
18972         * emulation/crisp.el (crisp-mode-map): Move initialization
18973         into declaration.
18974         (crisp-mode): Use define-minor-mode.
18976         * progmodes/xscheme.el (xscheme-evaluation-commands):
18977         Put a :advertised-binding property rather than using
18978         advertised-xscheme-send-previous-expression.
18979         (advertised-xscheme-send-previous-expression): Declare obsolete.
18980         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
18981         `advertised-undo'.
18982         (crisp-mode): Add corresponding bindings to
18983         undo's :advertised-binding instead.
18984         * dired.el (dired-mode-map): Put a :advertised-binding property rather
18985         than using dired-advertised-find-file.
18986         (dired-advertised-find-file):
18987         * simple.el (advertised-undo):
18988         * wid-edit.el (advertised-widget-backward): Declare obsolete.
18989         (widget-keymap): Put a :advertised-binding property rather
18990         than using advertised-widget-backward.
18991         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
18992         than using advertised-undo.
18993         * tutorial.el (tutorial--default-keys): Adjust accordingly.
18995 2009-09-10  Simon South  <ssouth@slowcomputing.org>
18997         * progmodes/delphi.el (delphi-tab): Indent region when Transient
18998         Mark mode is enabled and region is active; otherwise indent or
18999         insert TAB as usual.
19000         (delphi-mode): Update description of TAB-key binding.
19002 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
19004         * subr.el (define-key-rebound-commands): Mark obsolete.
19005         * startup.el (precompute-menubar-bindings): Remove.
19006         (normal-top-level): Remove obsolete code that tried to precompute
19007         menubar bindings.
19008         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
19009         define-key-rebound-commands and precompute-menubar-bindings.
19011 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
19013         * net/imap.el (imap-interactive-login): Better messages.
19014         (imap-open): Fix bug with renamed buffer on reconnect.
19015         (imap-authenticate): Add buffer-local imap-last-authenticator variable
19016         for easier debugging and cleaner code.  On successful (guessed based on
19017         server capabilities) secondary authentication, set imap-state
19018         correctly.
19019         (imap-last-authenticator): Define imap-last-authenticator as a variable
19020         to avoid warnings.
19022 2009-09-10  Glenn Morris  <rgm@gnu.org>
19024         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
19026         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
19027         (byte-compile-file-form-autoload): Don't warn about unknown functions
19028         where the autoload statement comes after the use.
19029         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
19030         that any handlers inside the body (eg require) are in turn respected.
19032         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
19033         effects.
19035         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
19036         and syntax and abbrev tables basic docs, if they don't have any.
19038         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
19040         * international/mule-cmds.el (top-level): Require cl when compiling.
19041         (view-hello-file): Use default-value rather than
19042         default-enable-multibyte-characters.
19044         * progmodes/fortran.el: Move all safe and risky properties into the
19045         defcustoms.
19047         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
19048         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
19049         * mail/undigest.el:
19050         Put autoloads in rmail.el rather than loaddefs.el.
19051         * mail/rmail.el: Regenerate with extracted autoloads.
19053         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
19054         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
19056 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
19058         Reported in thread for Bug#4375.
19059         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
19060         "-data-evaluate-expression" instead of print.
19061         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
19062         (gdb-tooltip-print): Parse output from above MI command.
19063         (gdb): Revert 2009-08-11 change.  User should detach inferior
19064         manually.
19066         Remove the word "separate" from IO functions as inferior
19067         output is now never displayed in the GUD buffer.
19069 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
19071         * startup.el (command-line-normalize-file-name): On Windows and
19072         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
19074 2009-09-10  Juri Linkov  <juri@jurta.org>
19076         * isearch.el (isearch-text-char-description): Propertize escape
19077         character sequences with the `escape-glyph' face.  (Bug#4344)
19079         * simple.el (shell-command): Set asynchronous process filter to
19080         `comint-output-filter'.  (Bug#4343)
19082         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
19083         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
19084         the list.  Move "asm" to the bottom.
19085         (grep-find-ignored-directories): Add `choice' with nil value
19086         to empty the list easily.
19087         (grep-find-ignored-files): New option.
19088         (grep-files-history): Set to nil by default instead of '("ch" "el").
19089         (grep-compute-defaults): Add "<X>" to `grep-template'.
19090         (grep-read-files): Bind new local variables `default-alias' and
19091         `default-extension'.  Use a list of default values for the file prompt.
19092         (lgrep): Add `--exclude=' command line options composed from
19093         `grep-find-ignored-files'.
19094         (rgrep): Add `-name' command line options composed from
19095         `grep-find-ignored-files'.  (Bug#4301)
19097 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
19099         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
19100         (bug#4368).
19102 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
19104         * calendar/time-date.el (autoload):
19105         Expand define-obsolete-function-alias into defalias and make-obsolete
19106         for old Emacsen that Gnus supports.
19107         (with-no-warnings): Define it for old Emacsen.
19108         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
19109         is available.
19110         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
19111         float-time is available; suppress compile warning for time-to-seconds.
19113 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
19115         * net/imap.el (imap-message-map): Docstring fix.
19117 2009-09-09  Glenn Morris  <rgm@gnu.org>
19119         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
19120         line numbers too.  (Bug#4374)
19122 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
19124         * smerge-mode.el (smerge-remove-props, smerge-refine):
19125         Use with-silent-modifications (bug#4342).
19127         * subr.el (with-silent-modifications): New macro.
19129 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
19131         * files.el (top-level): Require `cl' when compiling.
19133 2009-09-07  Glenn Morris  <rgm@gnu.org>
19135         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
19137         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
19138         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
19140 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
19142         * vc-git.el (vc-git-annotate-command): Use separator to parse
19143         arguments correctly.
19145 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
19147         * proced.el (proced-mode): Doc fix.
19149 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
19151         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
19152         lstat fails.
19153         (tramp-do-file-attributes-with-ls): Check for file existence at
19154         remote end.
19155         (tramp-do-file-attributes-with-stat): Likewise.
19156         (tramp-convert-file-attributes): Return nil when attr is nil.
19158 2009-09-05  Glenn Morris  <rgm@gnu.org>
19160         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
19161         properties to this button.
19162         (diary-fancy-display): Don't extend the button to the final newline.
19163         (diary-fancy-display-mode): Continue to define "q" as a local key.
19165         * calendar/cal-china.el (holiday-chinese): Make it slightly more
19166         efficient.
19168         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
19170         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
19171         (byte-compile-dest-file-function): New option.
19172         (byte-compile-dest-file): Doc fix.
19173         Obey byte-compile-dest-file-function.
19174         (byte-compile-cl-file-p): New function.
19175         (byte-compile-eval): Only suppress noruntime warnings about cl functions
19176         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
19177         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
19178         than for file being previously loaded.
19179         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
19180         (byte-compile-file-form-require): Handle the case where requiring a file
19181         indirectly causes CL to be loaded.
19183 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
19185         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
19186         before killing the old buffer, since by the time `kill-buffer' is
19187         run so many buffer variables have been set to nil that it may not
19188         behave as expected.  (Bug#4061)
19190 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
19192         * files.el (find-alternate-file): If the old buffer is modified
19193         and visiting a file, behave similarly to `kill-buffer' when
19194         killing it, thus reverting to the pre-1.878 behavior; see
19195         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
19196         for discussion.  Also, consult `buffer-file-name' as a variable
19197         not as a function, for consistency with the rest of the code.
19199 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
19201         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
19202         also when adding a new directory.
19204         * net/tramp-compat.el (tramp-compat-line-beginning-position):
19205         New defun.
19207 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
19209         * files.el (locate-file-completion-table): Make it provide boundary
19210         information, so partial-completion works better.
19212 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
19214         * mail/footnote.el (Footnote-text-under-cursor):
19215         Check footnote-text-marker-alist before using it (bug#4324).
19217 2009-09-04  Glenn Morris  <rgm@gnu.org>
19219         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
19220         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
19221         * play/solitaire.el, play/tetris.el:
19222         Remove leading * from defcustom and defface docs.
19224         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
19225         necessary.
19226         (diary-fancy-overriding-map): New variable.
19227         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
19228         Use view-mode.
19230         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
19231         goto-line.
19233 2009-09-03  Glenn Morris  <rgm@gnu.org>
19235         * arc-mode.el (archive-mode):
19236         * dos-fns.el (set-default-process-coding-system):
19237         * man.el (Man-getpage-in-background):
19238         * menu-bar.el (menu-bar-describe-menu):
19239         * server.el (server-process-filter):
19240         * startup.el (command-line):
19241         * tar-mode.el (tar-header-block-tokenize, tar-extract):
19242         * w32-fns.el (set-default-process-coding-system):
19243         * x-dnd.el (x-dnd-handle-file-name):
19244         * international/mule-cmds.el (mule-menu-keymap)
19245         (set-default-coding-systems, language-info-alist, set-language-info)
19246         (set-language-environment, standard-display-european-internal)
19247         (set-locale-environment):
19248         * international/mule-diag.el (mule-diag):
19249         * mail/emacsbug.el (report-emacs-bug):
19250         * mail/rmail.el (rmail-mode):
19251         * mail/sendmail.el (mail-setup):
19252         Use default-value rather than default-enable-multibyte-characters.
19254         * progmodes/f90.el: Move all safe properties into the defcustoms.
19255         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
19257         * calendar/appt.el (appt-check):
19258         * calendar/diary-lib.el (diary-set-header, diary-live-p)
19259         (diary-check-diary-file, diary-list-entries)
19260         (diary-include-other-diary-files, diary-simple-display)
19261         (diary-fancy-display, diary-print-entries)
19262         (diary-mark-included-diary-files, diary-make-entry):
19263         Don't call substitute-in-file-name on diary-file.
19265 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
19266             Stefan Monnier  <monnier@iro.umontreal.ca>
19268         * mail/footnote.el (footnote-prefix): Make it a defcustom.
19269         (footnote-mode-map): Move initialization into the declaration.
19270         (footnote-minor-mode-map): Define it rather than changing global-map.
19271         (footnote-mode): Use define-minor-mode.
19273 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
19275         * net/tramp.el (tramp-handle-file-attributes-with-ls)
19276         (tramp-do-file-attributes-with-perl)
19277         (tramp-do-file-attributes-with-stat): Rename from
19278         `tramp-handle-file-attributes-with-*'.
19279         (tramp-handle-file-attributes): Use them.
19280         (tramp-do-directory-files-and-attributes-with-perl)
19281         (tramp-do-directory-files-and-attributes-with-stat): Rename from
19282         `tramp-handle-directory-files-and-attributes-with-*'.
19283         (tramp-handle-directory-files-and-attributes): Use them.
19284         (tramp-method-out-of-band-p): Additional parameter SIZE.
19285         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
19286         (tramp-handle-write-region): Use it.
19287         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
19288         (tramp-handle-vc-registered): Check, whether the first run did
19289         return files to be tested.
19290         (tramp-advice-make-auto-save-file-name): Do not call directly
19291         `tramp-handle-make-auto-save-file-name', because this would bypass
19292         the locking mechanism.
19294         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
19295         (file-remote-p, process-file, start-file-process, set-file-times)
19296         (tramp-compat-file-attributes): Compatibility functions shall not
19297         call directly `tramp-handle-*', because this would bypass the
19298         locking mechanism.
19299         (tramp-compat-number-sequence): New defun.
19301 2009-09-02  Glenn Morris  <rgm@gnu.org>
19303         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
19304         alias for float-time.
19305         (time-to-number-of-days): In Emacs, use float-time.
19306         * net/newst-backend.el (time-add): Suppress warnings from compat
19307         function.
19308         * time.el (emacs-uptime, emacs-init-time):
19309         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
19310         Use float-time rather than time-to-seconds.
19312         * minibuffer.el (completion-initials-expand): Fix typo.
19314         * faces.el (modeline, modeline-inactive, modeline-highlight)
19315         (modeline-buffer-id):
19316         * info.el (info-menu-5): Mark these face aliases as obsolete.
19318 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
19320         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
19321         space ...
19322         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
19323         no "--thread" option.
19324         (gdb-stopped): Don't print "Switched to thread" message when it is
19325         unchanged.
19327 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19329         * minibuffer.el (completion-try-completion)
19330         (completion-all-completions): Remove ill-defined (and
19331         mistakenly installed and luckily never used nor documented)
19332         `completion-styles' property.
19333         (completion-initials-expand, completion-initials-all-completions)
19334         (completion-initials-try-completion): New functions.
19335         (completion-styles-alist): Add doc to each entry.
19336         Add new `initials' entry.
19338 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
19340         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
19341         MI command -var-evaluate-expression.
19342         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
19343         and tweak for case of string child.
19344         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
19346 2009-09-01  Glenn Morris  <rgm@gnu.org>
19348         * add-log.el (change-log-date-face, change-log-name-face)
19349         (change-log-email-face, change-log-file-face, change-log-list-face)
19350         (change-log-conditionals-face, change-log-function-face)
19351         (change-log-acknowledgement-face):
19352         * cus-edit.el (custom-invalid-face, custom-rogue-face)
19353         (custom-modified-face, custom-set-face, custom-changed-face)
19354         (custom-saved-face, custom-button-face, custom-button-pressed-face)
19355         (custom-documentation-face, custom-state-face, custom-comment-face)
19356         (custom-comment-tag-face, custom-variable-tag-face)
19357         (custom-variable-button-face, custom-face-tag-face)
19358         (custom-group-tag-face-1, custom-group-tag-face):
19359         * diff-mode.el (diff-header-face, diff-file-header-face)
19360         (diff-index-face, diff-hunk-header-face, diff-removed-face)
19361         (diff-added-face, diff-changed-face, diff-function-face)
19362         (diff-context-face, diff-nonexistent-face):
19363         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19364         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19365         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19366         (Info-title-4-face):
19367         * isearch.el (isearch-lazy-highlight-face):
19368         * log-view.el (log-view-file-face, log-view-message-face):
19369         * paren.el (show-paren-match-face, show-paren-mismatch-face):
19370         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19371         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19372         (cvs-msg-face):
19373         * smerge-mode.el (smerge-mine-face, smerge-other-face)
19374         (smerge-base-face, smerge-markers-face):
19375         * wid-edit.el (widget-documentation-face, widget-button-face)
19376         (widget-field-face, widget-single-line-field-face)
19377         (widget-inactive-face, widget-button-pressed-face):
19378         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
19379         (woman-addition-face):
19380         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
19381         (eshell-ls-executable-face, eshell-ls-readonly-face)
19382         (eshell-ls-unreadable-face, eshell-ls-special-face)
19383         (eshell-ls-missing-face, eshell-ls-archive-face)
19384         (eshell-ls-backup-face, eshell-ls-product-face)
19385         (eshell-ls-clutter-face):
19386         * eshell/em-prompt.el (eshell-prompt-face):
19387         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
19388         * obsolete/old-whitespace.el (whitespace-highlight-face):
19389         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
19390         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
19391         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
19392         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
19393         (antlr-font-lock-literal-face):
19394         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
19395         (ebrowse-root-class-face, ebrowse-file-name-face)
19396         (ebrowse-default-face, ebrowse-member-attribute-face)
19397         (ebrowse-member-class-face, ebrowse-progress-face):
19398         * progmodes/make-mode.el (makefile-space-face):
19399         * progmodes/sh-script.el (sh-heredoc-face):
19400         * textmodes/flyspell.el (flyspell-incorrect-face)
19401         (flyspell-duplicate-face):
19402         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
19403         * textmodes/texinfo.el (texinfo-heading-face):
19404         Mark face aliases with "-face" suffix as obsolete.
19406         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
19407         compiler.
19409         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
19410         (eudc-bob-sound-menu): Use defvar rather than defconst, since
19411         easy-menu-define wants to modify these.
19413         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
19415         * net/browse-url.el (browse-url-file-url):
19416         * term/internal.el (dos-codepage-setup):
19417         Use default-value rather than default-enable-multibyte-characters.
19419         * progmodes/etags.el (etags-goto-tag-location):
19420         * progmodes/flymake.el (flymake-highlight-line)
19421         (flymake-goto-file-and-line, flymake-goto-line):
19422         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
19423         (gdb-goto-breakpoint):
19424         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
19425         * progmodes/python.el (python-find-function)
19426         (python-pdbtrack-track-stack-file):
19427         * progmodes/verilog-mode.el (verilog-surelint-off):
19428         * term/ns-win.el (ns-open-file-select-line):
19429         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
19430         Use forward-line rather than goto-line.
19432         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
19433         * textmodes/reftex-index.el (reftex-display-index):
19434         * textmodes/reftex-ref.el (reftex-offer-label-menu):
19435         * textmodes/reftex-toc.el (reftex-toc):
19436         Remove unnecessary bindings of default-major-mode (all are followed by
19437         major-mode check and possible mode switch).
19439 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
19441         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
19442         Handle watchpoints (bug#4282).
19443         (def-gdb-thread-buffer-command): Enable thread to be selected by
19444         clicking without selecting threads buffer first.
19445         (gdb-current-context-command): Use selected frame so that "up",
19446         "down" etc work in the GUD buffer.
19447         (gdb-update): Find selected frame before rendering stack buffer.
19448         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
19450 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
19452         * progmodes/sym-comp.el (displayed-completions): Remove.
19453         (symbol-complete): Use minibuffer-complete.
19455 2009-08-31  Glenn Morris  <rgm@gnu.org>
19457         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
19459         * apropos.el (apropos-symbols-internal):
19460         Handle (obsolete) face aliases.
19462         * faces.el (describe-face): Adjust the output format to be more like
19463         describe-variable, and to mention (obsolete) face aliases.
19464         Adjust the whitespace so that help-setup-xref works.
19466         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
19467         * calendar/diary-lib.el (diary-button-face):
19468         Mark these face aliases as obsolete.
19470         * calendar/calendar.el (calendar-today): Doc fix.
19472 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
19474         * progmodes/gdb-mi.el (gdb-control-all-threads)
19475         (gdb-control-current-thread): Force tool bar update.
19476         (gdb-non-stop-handler): New function.
19477         (gdb-init-1): Use it to test if non-stop mode is supported.
19478         Remove unused gdbmi buffer type.
19480 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
19482         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
19483         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
19485 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
19487         * comint.el (comint-exec-1): Check command is non-null first.
19488         Part of gdb-mi.el change (2009-08-28).
19490 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
19492         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
19494 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
19496         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
19497         instead of `dolist' to avoid a recursive require when bootstrapping.
19499 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
19501         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
19503         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
19505         * net/imap.el (imap-send-command): Simplify.
19506         (imap-wait-for-tag): point-max -> buffer-size.
19508         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
19510         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
19511         with constant argument.
19513         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
19515         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
19517         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
19518         Change default, since most of our files don't have a history.
19519         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
19520         the user.
19522         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19523         Add comint-run.
19525         * calc/calc.el: Improve commenting convention.
19526         (calc-digit-map, toplevel): Simplify.
19528         * comint.el (comint-insert-input): Be careful to only set point if we
19529         don't delegate to some other command.
19531         * proced.el (proced-signal-list): Make it an alist.
19532         (proced-grammar-alist): Capitalize names.
19533         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
19534         Disable undo manually and make it read-only.
19535         Use completion-annotate-function.
19537         * minibuffer.el (minibuffer-message): If the current buffer is not
19538         a minibuffer, insert the message in the echo area rather than at the
19539         end of the buffer.
19540         (completion-annotate-function): New variable.
19541         (minibuffer-completion-help): Use it.
19542         (completion--embedded-envvar-table): Environment vars are
19543         always case-sensitive.
19545 2009-08-30  Glenn Morris  <rgm@gnu.org>
19547         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
19548         from fortran-current-defun.
19549         (fortran-beginning-of-subprogram): Be more precise about finding the
19550         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
19551         (fortran-end-of-subprogram): Simplify.
19552         (fortran-current-defun): Use fortran-start-prog-re.
19554 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
19556         * subr.el (do-after-load-evaluation): Simplify.
19558 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
19560         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
19562         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
19563         (vc-rcs-print-log): Use it.
19565         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
19567 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
19569         * paths.el (abbrev-file-name): Move to abbrev.el.
19570         * abbrev.el (abbrev-file-name): Move from paths.el.
19571         Obey user-emacs-directory.
19572         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
19573         user-emacs-directory.
19574         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
19575         abbrev-file-name and calc-settings-file any more.
19576         * startup.el (command-line): Recompute abbrev-file-name and
19577         abbreviated-home-dir.
19578         (normal-no-mouse-startup-screen): Improve the generic code and get rid
19579         of the special code for when C-h bindings haven't been changed.
19580         (display-startup-echo-area-message): Use with-current-buffer.
19581         (command-line-1): Use a list of strings, rather than a list of lists
19582         of strings for longopts.
19584         * files.el (get-free-disk-space): Use / for default-directory.
19586         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
19587         Use with-current-buffer.
19589         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
19590         Recognize immutable variables like most-positive-fixnum.
19591         (byte-compile-setq-default): Check and warn if trying to assign
19592         to an immutable variable, or a non-variable.
19594         * progmodes/cc-vars.el (c-comment-continuation-stars):
19595         * progmodes/cc-engine.el (c-looking-at-bos):
19596         * progmodes/cc-cmds.el (c-toggle-auto-state)
19597         (c-forward-into-nomenclature, c-backward-into-nomenclature)
19598         (c-comment-line-break-function): Add version of obsolescence.
19600 2009-08-28  Juri Linkov  <juri@jurta.org>
19602         * files.el (magic-fallback-mode-alist): Add ZIP magic number
19603         associated with `archive-mode'.
19605         * image.el (image-type-header-regexps): Use only JPEG magic number
19606         to determine JPEG images, and don't use `image-jpeg-p' because
19607         Emacs can display non-JFIF non-Exif JPEG images.
19609 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
19611         * arc-mode.el (archive-mode):
19612         * emacs-lisp/re-builder.el (re-builder-unload-function):
19613         Protect against the default value of `major-mode' being nil.
19615 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
19617         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
19618         Fix typos in docstrings.
19620         * progmodes/js.el (js--macro-decl-re): Doc fix.
19621         (js--plain-method-re, js--split-name): Refloc docstring.
19622         (js--class-styles, js--make-merged-item, js--splice-into-items):
19623         Fix typos in docstrings; reflow docstrings.
19624         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
19625         (js--variable-decl-matcher, js--inside-pitem-p)
19626         (js--parse-state-at-point, js--get-all-known-symbols)
19627         (js--symbol-history, js-find-symbol, js--js-references)
19628         (js--moz-interactor, js--js-encode-value, js--read-tab):
19629         Fix typos in docstrings.
19631 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19633         * textmodes/reftex.el (reftex-get-file-buffer-force):
19634         * progmodes/verilog-mode.el (verilog-batch-execute-func):
19635         * emulation/viper.el (viper-go-away, viper-set-hooks):
19636         * emacs-lisp/re-builder.el (re-builder-unload-function):
19637         * emacs-lisp/bytecomp.el (byte-compile-file):
19638         * ses.el (ses-unload-function):
19639         * hexl.el (hexl-find-file):
19640         * files.el (normal-mode):
19641         * ehelp.el (with-electric-help):
19642         * autoinsert.el (auto-insert-alist):
19643         * arc-mode.el (archive-mode):
19644         Use (default-value 'major-mode) instead of default-major-mode.
19646         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
19647         * international/mule.el (load-with-code-conversion):
19648         * emacs-lisp/debug.el (debug):
19649         * ediff-vers.el (ediff-rcs-get-output-buffer):
19650         * dired.el (dired-internal-noselect): Don't let-bind
19651         default-major-mode around code that doesn't use it.
19652         E.g. buffer creation via get-buffer-create doesn't use it.
19654 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
19656         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
19657         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
19658         when writing the temp file.  Otherwise, epa-file gets confused.
19659         (tramp-register-file-name-handlers): Make it a defun.  Move also
19660         `epa-file-handler' to the front of `file-name-handler-alist'.
19662 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19664         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
19665         start right after a ^M.
19666         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
19667         (tramp-completion-file-name-regexp-separate)
19668         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
19669         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
19670         Don't modify last-coding-system-used by accident.
19671         (tramp-completion-file-name-handler): Apply the checks here,
19672         instead during registration.
19673         (tramp-register-file-name-handlers): Rename from
19674         `tramp-register-file-name-handler'.  Register both
19675         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
19676         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
19678 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
19680         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
19681         Remove variable ...
19682         (gdb-init-1, gdb-display-separate-io-buffer)
19683         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
19684         references to it.
19685         (gdb-inferior-io-mode): Use make-comint-in-buffer.
19686         (gdb-inferior-filter): Use comint-output-filter to stop
19687         echoing and remove ^M characters.
19689 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19691         * emulation/viper-init.el (viper-restore-cursor-type):
19692         * emulation/cua-base.el (cua--update-indications):
19693         Replace default-cursor-type with (default-value 'cursor-type).
19695         * mail/sendmail.el (mail-recover-1):
19696         * international/mule-diag.el (describe-current-coding-system-briefly)
19697         (describe-current-coding-system):
19698         * international/mule-cmds.el (select-safe-coding-system)
19699         (select-message-coding-system)
19700         (set-language-environment-coding-systems, set-locale-environment):
19701         * hexl.el (hexl-insert-multibyte-char):
19702         * dos-w32.el (find-buffer-file-type-coding-system):
19703         * simple.el (what-cursor-position):
19704         Replace uses of default-buffer-file-coding-system
19705         with (default-value 'buffer-file-coding-system).
19707         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
19708         Replace uses of default-cursor-in-non-selected-windows
19709         with (default-value 'cursor-in-non-selected-windows).
19710         Use with-current-buffer.
19712         * mail/feedmail.el: Use CL macros.
19713         (feedmail-run-the-queue, feedmail-send-it-immediately):
19714         * dos-w32.el (find-buffer-file-type): Replace uses of
19715         default-buffer-file-type with (default-value 'buffer-file-type).
19717 2009-08-28  Glenn Morris  <rgm@gnu.org>
19719         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
19720         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
19721         Use default-value of major-mode rather than default-major-mode.
19723 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
19725         * Makefile.in (update-elcfiles): Report left over elc files.
19727         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
19728         expand-file-name and with-current-buffer.
19729         (mail-get-names, mail-directory): Use with-current-buffer.
19731         * vc.el (vc-read-revision): New function.
19732         (vc-version-diff, vc-merge): Use it.
19734 2009-08-27  Sam Steingold  <sds@gnu.org>
19736         * simple.el (kill-do-not-save-duplicates): New user option.
19737         (kill-new): When it is non-nil, and the new string is the same as
19738         the latest kill, set replace to t to avoid duplicates in kill-ring.
19740 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
19742         * net/tramp.el (tramp-handle-process-file): Do not flush all
19743         caches when `process-file-side-effects' is set.
19744         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
19745         instead of `tramp-find-file-exists-command'.
19746         Unset `process-file-side-effects'.
19748 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
19750         * net/tramp.el (tramp-methods): New method "rsyncc".
19751         (top): Add completion function for "rsyncc".
19752         (tramp-message-show-message): New defvar.
19753         (tramp-message, tramp-error): Use it.
19754         (tramp-do-copy-or-rename-file-directly): Extend check for direct
19755         remote copying.
19756         (tramp-do-copy-or-rename-file-out-of-band): Handle new
19757         `tramp-methods' entry `copy-env' of "rsyncc".
19758         (tramp-vc-registered-read-file-names): New defconst.
19759         (tramp-vc-registered-file-names): New defvar.
19760         (tramp-handle-vc-registered): Implement optimization strategy.
19761         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
19762         (tramp-vc-file-name-handler): New defun.
19763         (tramp-get-ls-command, tramp-get-test-command)
19764         (tramp-get-file-exists-command, tramp-get-remote-ln)
19765         (tramp-get-remote-perl, tramp-get-remote-stat)
19766         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
19768         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
19769         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
19770         timestamps.
19771         (tramp-get-file-property): Check for timestamps in
19772         `tramp-cache-inhibit-cache'.
19773         (tramp-set-file-property): Write timestamp.
19775 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
19777         * language/japan-util.el (japanese-symbol-table): Add entries for
19778         cp932-2-byte.
19780         * international/characters.el: Add category `j' to cp932-2-byte.
19782 2009-08-27  Kenichi Handa  <handa@m17n.org>
19784         * international/fontset.el (build-default-fontset-data): New macro.
19785         (setup-default-fontset): Use build-default-fontset-data for CJK,
19786         tibetan, ethiopic, and ipa.
19788 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
19790         * cus-start.el (default-major-mode): Customize `major-mode' instead.
19791         (enable-multibyte-characters): Not customizable any more.
19793         * subr.el (default-mode-line-format, default-header-line-format)
19794         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
19795         (default-direction-reversed, default-truncate-lines)
19796         (default-left-margin, default-tab-width, default-case-fold-search)
19797         (default-left-margin-width, default-right-margin-width)
19798         (default-left-fringe-width, default-right-fringe-width)
19799         (default-fringes-outside-margins, default-scroll-bar-width)
19800         (default-vertical-scroll-bar, default-indicate-empty-lines)
19801         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
19802         (default-fringe-cursor-alist, default-scroll-up-aggressively)
19803         (default-scroll-down-aggressively, default-fill-column)
19804         (default-cursor-type, default-buffer-file-type)
19805         (default-cursor-in-non-selected-windows)
19806         (default-buffer-file-coding-system, default-major-mode)
19807         (default-enable-multibyte-characters): Mark as obsolete.
19809 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
19811         * vc-dir.el (vc-dir-update): Remove debug helper.
19813         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
19815 2009-08-26  Sam Steingold  <sds@gnu.org>
19817         * simple.el (save-interprogram-paste-before-kill): New user option.
19818         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
19819         save the interprogram-paste into kill-ring before overriding it
19820         with the Emacs kill.
19822 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
19824         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
19825         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
19826         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
19827         and move to vc-rcs.el.
19828         (vc-default-next-revision): Rename to vc-rcs-next-revision and
19829         move to vc-rcs.el.
19830         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
19831         (vc-rcs-update-changelog): Remove.
19832         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
19833         and move to vc-rcs.el.
19835         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
19836         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
19837         renaming.
19838         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
19839         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
19840         vc.el, renamed to be RCS specific.
19842         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
19843         New functions.
19844         (vc-cvs-update-changelog): Move here from vc.el.
19846         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
19847         New functions.
19849 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
19851         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
19853 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
19855         * vc-git.el (vc-git-register): Use "git add" for directories.
19856         (vc-git-stash, vc-git-stash-show): New functions.
19857         (vc-git-extra-menu-map): Bind them.
19859         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
19860         directory correctly in case the item is a directory itself.
19862         * vc.el: Document the desired behavior for reverted files in the
19863         `added' state.
19864         (vc-default-prettify-state-info): Remove function, unused.
19866         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
19868 2009-08-26  Glenn Morris  <rgm@gnu.org>
19870         * bindings.el (standard-mode-line-format): Reposition dashes in
19871         which-func entry.  (Bug#4217)
19873         * files.el (enable-local-variables, enable-local-eval)
19874         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
19875         the defcustoms.
19876         (auto-mode-alist, ignored-local-variables)
19877         (save-some-buffers-action-alist): Move risky declarations to the
19878         definitions.
19879         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
19880         (font-lock-defaults, format-alist, imenu--index-alist)
19881         (imenu-generic-expression, input-method-alist, minor-mode-alist)
19882         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
19883         (mode-line-modified, mode-line-mule-info, mode-line-position)
19884         (mode-line-process, mode-line-remote, outline-level)
19885         (parse-time-rules, rmail-output-file-alist)
19886         (special-display-buffer-names, vc-mode):
19887         Move risky declarations to the relevant files.
19888         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
19889         (mode-line-modified, mode-line-process, mode-line-position)
19890         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
19891         * font-core.el (font-lock-defaults):
19892         * format.el (format-alist):
19893         * vc-hooks.el (vc-mode):
19894         * window.el (special-display-buffer-names):
19895         * international/mule-cmds.el (input-method-alist):
19896         Define riskiness here (dumped file) rather than in files.el.
19897         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
19898         * imenu.el (imenu-generic-expression, imenu--index-alist):
19899         * outline.el (outline-level):
19900         * time.el (display-time-string):
19901         * calendar/parse-time.el (parse-time-rules):
19902         * mail/rmailout.el (rmail-output-file-alist):
19903         Autoload riskiness here, rather than placing in files.el.
19905 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
19907         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
19909 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
19911         * simple.el (process-file-side-effects): New defvar.
19913         * dired-aux.el (dired-show-file-type):
19914         * vc.el (vc-diff-internal):
19915         * vc-arch.el (vc-arch-diff):
19916         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
19917         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
19918         * vc-git.el (vc-git-registered, vc-git-working-revision)
19919         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
19920         (vc-git--empty-db-p):
19921         * vc-hooks.el (vc-user-login-name):
19922         * vc-svn.el (vc-svn-registered, vc-svn-state)
19923         (vc-svn-dir-extra-headers, vc-svn-find-revision):
19924         * progmodes/grep.el (grep-probe): Let-bind
19925         `process-file-side-effects' with nil.
19927         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
19929         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
19930         daemon.  Replace ping by checking for running service for bluez
19931         and zeroconf.  (Bug#4239)
19933 2009-08-25  Kevin Ryde  <user42@zip.com.au>
19935         * net/dig.el (dig): Add autoload cookie.
19937 2009-08-25  Glenn Morris  <rgm@gnu.org>
19939         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
19940         load-history for absolute file-names.
19941         (byte-compile-file-form-require): Warn about use of the cl package.
19943         * format.el (format-alist): Doc fix.
19945         * play/bubbles.el (top-level): Don't require cl at run-time.
19947         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
19948         run-time cl).
19950 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
19952         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
19953         from cl package.
19954         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
19956 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
19958         * calc/calc-alg.el (math-trig-rewrite)
19959         (math-hyperbolic-trig-rewrite): New functions.
19960         (calc-simplify): Simplify trig functions when asked.
19962 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
19964         * diff-mode.el (diff-find-source-location): Avoid goto-line.
19966 2009-08-24  Kenichi Handa  <handa@m17n.org>
19968         * language/ind-util.el (mapthread): Delete it.
19969         (combinatorial): New function.
19970         (indian--puthash-cv): Use combinatorial instead of mapthread.
19972 2009-08-22  Kevin Ryde  <user42@zip.com.au>
19974         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
19975         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
19976         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
19977         Clarify docstring that the value is strings not symbols.
19978         (checkdoc-list-of-strings-p): New function.
19980 2009-08-22  Glenn Morris  <rgm@gnu.org>
19982         * files.el (auto-mode-alist):
19983         * hippie-exp.el (he-concat-directory-file-name):
19984         * lpr.el (lpr-windows-system, printer-name):
19985         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
19986         * ps-print.el (ps-windows-system):
19987         * startup.el (command-line):
19988         * emulation/viper-ex.el (viper-glob-function):
19989         * international/mule-cmds.el (set-language-environment-coding-systems):
19990         * net/ange-ftp.el (ange-ftp-write-region):
19991         * obsolete/fast-lock.el (fast-lock-cache-name):
19992         Remove code for defunct system-types emx, macos, mswindows, next-mach,
19993         unisoft-unix, vax-vms, win32, w32.
19995         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
19996         given name if the pattern is not more specific.
19998         * calendar/lunar.el (lunar-phase-names): New option.
19999         (lunar-phase): Doc fix.
20000         (lunar-cycles-per-year): New constant.
20001         (lunar-index): New function.
20002         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
20003         (lunar-phase-name): Use lunar-phase-names.
20004         (calendar-lunar-phases): Use format.
20005         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
20007         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
20008         Copy imenu-example--name-and-position function here for own use.
20009         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
20011         * bs.el (bs--redisplay):
20012         * cus-edit.el (custom-redraw):
20013         * ibuffer.el (ibuffer-bury-buffer):
20014         * server.el (server-goto-line-column):
20015         * startup.el (command-line-1):
20016         * strokes.el (strokes-xpm-for-stroke):
20017         * term.el (term-display-buffer-line):
20018         * view.el (View-goto-line):
20019         * calc/calc.el (calc-do, calc-trail-buffer):
20020         * play/gamegrid.el (gamegrid-add-score-insecure):
20021         * progmodes/ada-mode.el (ada-compile-goto-error):
20022         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
20023         (ebrowse-select-1st-to-9nth):
20024         * progmodes/cperl-mode.el (cperl-time-fontification):
20025         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
20026         * progmodes/gud.el (gud-display-line):
20027         (idlwave-shell-display-line):
20028         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
20029         * progmodes/make-mode.el (makefile-browser-toggle):
20030         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
20031         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
20032         * textmodes/picture.el (picture-draw-rectangle):
20033         * textmodes/reftex-index.el (reftex-index-goto-letter):
20034         (reftex-select-jump-to-previous):
20035         * textmodes/reftex-sel.el (reftex-find-start-point)
20036         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
20037         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
20038         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
20039         * textmodes/tex-mode.el (tex-compilation-parse-errors):
20040         * textmodes/two-column.el (2C-associated-buffer):
20041         Use forward-line rather than goto-line.
20043         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
20044         goto-line.
20046         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
20047         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
20048         (quick-check-list-to-regexp): Declare.
20050         * progmodes/make-mode.el (makefile-browser-insert-selection):
20051         Use goto-char rather than goto-line.
20053         * progmodes/prolog.el (compilation-error-regexp-alist)
20054         (compilation-forget-errors): Declare.
20056 2009-08-22  Juri Linkov  <juri@jurta.org>
20058         * progmodes/grep.el (lgrep, rgrep): At the beginning
20059         set `dir' to `default-directory' unless `dir' is a non-nil
20060         readable directory.  (Bug#4052)
20061         (lgrep, rgrep): Change a weird way to report an error
20062         from using `read-string' to using `error'.
20063         Instead of using interactive arguments in the function body,
20064         add new argument `confirm'.
20066 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
20068         * textmodes/remember.el (remember-buffer):
20069         * progmodes/cperl-mode.el (cperl-vc-header-alist):
20070         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
20071         (icalendar-extract-ical-from-buffer):
20072         * net/newst-treeview.el (newsticker-groups-filename):
20073         * net/newst-backend.el (newsticker-cache-filename):
20074         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
20075         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
20076         (speedbar-add-ignored-path-regexp, speedbar-line-path)
20077         (speedbar-buffers-line-path, speedbar-path-line)
20078         (speedbar-buffers-line-path):
20079         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
20080         (epg-sign-keys):
20081         * epa.el (epa-display-verify-result):
20082         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
20084 2009-08-21  Glenn Morris  <rgm@gnu.org>
20086         * progmodes/js.el (inferior-moz-process): Fix declaration.
20088         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
20090         * obsolete/rnewspost.el (news-mail-reply):
20091         Use goto-char rather than goto-line.
20093         * term/ns-win.el (ns-open-file-select-line):
20094         Use line-beginning-position rather than goto-line.
20096         * apropos.el (apropos-command):
20097         * ehelp.el (electric-helpify):
20098         * printing.el (pr-show-setup):
20099         * strokes.el (strokes-help):
20100         * tutorial.el (tutorial--describe-nonstandard-key)
20101         (tutorial--detailed-help):
20102         * woman.el (woman-mini-help, woman-display-extended-fonts):
20103         * calc/calc-help.el (calc-describe-key):
20104         * emulation/edt.el (edt-electric-helpify):
20105         * international/mule-diag.el (mule-diag):
20106         * play/yow.el (apropos-zippy):
20107         * progmodes/python.el (python-describe-symbol):
20108         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
20109         * textmodes/table.el (*table--cell-describe-mode)
20110         (*table--cell-describe-bindings):
20111         Use help-print-return-message rather than the now obsolete alias.
20113         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
20114         (calendar-cursor-to-visible-date):
20115         * play/5x5.el (5x5-position-cursor):
20116         * play/decipher.el (decipher):
20117         * play/gomoku.el (gomoku-goto-xy):
20118         * play/landmark.el (lm-goto-xy):
20119         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
20120         (mpuz-paint-digit):
20121         Use forward-line, not goto-line.
20123         * mail/rmail.el (rmail-obsolete): Delete custom group.
20124         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
20125         (rmail-remote-password, rmail-remote-password-required):
20126         Remove unneeded :set-after and :set properties.
20128 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
20130         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
20132 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
20134         * loadup.el: Remove leftover macos code.
20136         * vc-git.el (vc-git-annotate-command): Run asynchronously.
20137         Explicitly pass the date format to git blame so that user local
20138         so that the output format can be parsed.
20140 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
20142         * net/dbus.el (top): Don't check for (getenv
20143         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
20145 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
20147         * log-edit.el (log-edit-strip-single-file-name): New var.
20148         (log-edit-insert-changelog): Use it.  Bug#3571
20150 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20152         * subr.el (read-passwd): Use read-key so keypad keys work as well.
20153         Bug#3287
20155         * help.el (help-print-return-message): Rename from
20156         print-help-return-message.
20158         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
20159         cvs-mode-map parent hack.
20160         (log-view-mode): Derive from special-mode.
20162         * linum.el (linum-mode): window-size-change-functions is redundant.
20163         Adapt to new window-configuration-change-hook behavior.
20164         (linum-after-size, linum-after-config): Remove.
20166         * imenu.el (imenu-example--name-and-position)
20167         (imenu-example--lisp-extract-index-name)
20168         (imenu-example--create-lisp-index, imenu-example--create-c-index):
20169         Mark as obsolete.
20171         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
20172         (inferior-prolog-mode): Use it.
20173         (inferior-prolog-load-file): Reset list of errors.
20175 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
20177         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
20179         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
20181 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
20183         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
20184         is running already.
20186 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20188         * subr.el (listify-key-sequence-1): Use normal syntax since those
20189         integers are nowadays always represented by the same (positive) number
20190         on all platforms.
20191         (read-key-empty-map): New const.
20192         (read-key-delay): New var.
20193         (read-key): New function.
20194         (force-mode-line-update): Use with-current-buffer.
20195         (locate-user-emacs-file): Don't forget to abbreviate the file name.
20196         (start-process-shell-command, start-file-process-shell-command):
20197         Discourage the use of command-args.
20199 2009-08-19  Glenn Morris  <rgm@gnu.org>
20201         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
20203 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20205         * simple.el (choose-completion-string): Don't rely on
20206         minibuffer-completing-file-name and ad-hoc checks to decide whether
20207         to continue completion or not.
20209         * minibuffer.el (minibuffer-hide-completions): New function.
20210         (completion--do-completion): Use it.
20211         (completions-annotations): New face.
20212         (completion--insert-strings): Use it.
20213         (completion-pcm--delim-wild-regex): Add docstring.
20214         (completion-pcm--string->pattern): Add support for 0-width delimiters
20215         in completion-pcm--delim-wild-regex.
20217 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
20219         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
20220         Remove unused var `buffer-modified-p'.
20222         * minibuffer.el (completion--do-completion): Move point for the #b001
20223         case as well (bug#4176).
20224         (minibuffer-complete, minibuffer-complete-word): Don't move point.
20226 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
20228         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
20229         and :session buses.
20231 2009-08-18  Kenichi Handa  <handa@m17n.org>
20233         * international/ucs-normalize.el (ucs-normalize-version):
20234         Change to 1.1.
20235         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
20236         (utf-8-hfs): Make it perform normalization on encoding too.
20238         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
20239         (sentence-end-without-space): Delete duplicated chars.
20240         (sentence-end-base): Likewise.
20242         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
20243         (html-mode): Delete duplicated chars from sentence-end-base.
20245         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
20246         (texinfo-mode): Delete duplicated chars from sentence-end-base.
20248 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
20250         * files.el (hack-one-local-variable): If the mode function is for
20251         a minor mode, pass it an argument (Bug#4148).
20253 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
20255         * net/tramp.el (tramp-register-completion-file-name-handler):
20256         Check also for (member 'partial-completion completion-styles).
20258 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
20260         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
20261         abbrev (Bug#3943).
20263 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
20265         * progmodes/cperl-mode.el: Merge upstream 6.2.
20266         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
20267         (cperl-forward-re): Check cperl-brace-recursing.
20268         (cperl-highlight-charclass): New function.
20269         (cperl-find-pods-heres): Use it.
20270         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
20271         (cperl-beautify-regexp-piece): Fix column calculation.
20272         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
20273         (cperl-beautify-level): Don't process entire regexp.
20274         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
20275         calling man.
20276         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
20277         (cperl-init-faces): Build a list in the normal way.
20279 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
20281         * calendar/parse-time.el (parse-time-string-chars): Save match
20282         data.
20284 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
20286         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
20287         (sql-product): Use it.
20288         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
20289         (sql-set-product): Add completion.
20290         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
20291         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
20292         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
20293         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
20294         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
20295         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
20296         (sql-highlight-db2-keywords): Remove.
20297         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
20298         (sql-highlight-product): Use derived-mode-p.
20299         (sql-set-sqli-buffer): Use with-current-buffer.
20300         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
20301         Simplify.
20303         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
20305         * term.el: Fix commenting convention, turn comments into docstrings.
20307 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
20309         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
20311 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
20313         * calendar/parse-time.el (parse-time-string-chars): Compute using
20314         character classes, to handle non-ascii characters (Bug#3190).
20316 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
20318         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
20319         another heredoc if the user adds another < (Bug#3226).
20321         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
20322         Don't initialize based on window-system (Bug#4124).
20324         * facemenu.el (facemenu-read-color): Use a completion function
20325         that accepts any defined color, such as RGB triplets (Bug#3677).
20327         * files.el (get-free-disk-space): Change fallback default
20328         directory to /.  Expand DIR argument before switching to fallback.
20329         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
20331 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
20333         * files.el (load-library): Doc fix.
20335 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
20337         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
20338         (viper-if-string): Redefine C-s in the minibuffer to insert the last
20339         incremental search string.
20341         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
20342         XEmacs.
20344         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
20345         (ediff-merge-region-is-non-clash)
20346         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
20347         Also check if the job is really a merge job.
20349         * ediff.el (ediff-current-file): New function.
20351 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
20353         * progmodes/js.el: Edit docstrings throughout to follow Emacs
20354         conventions.
20355         (js-insert-and-indent): Delete function.
20356         (js-mode-map): Don't bind keys to js-insert-and-indent.
20357         (js-beginning-of-defun): Rename from js--beginning-of-defun.
20358         (js-end-of-defun): Rename from js--end-of-defun.
20359         (js-auto-indent-flag): Delete variable.
20361 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
20363         * progmodes/js.el: Remove proclaim statement.
20364         Defvar which-func-imenu-joiner-function to silence compiler.
20366         * files.el (auto-mode-alist): Use js-mode for .js files.
20368         * progmodes/js2-mode.el: Remove file.
20370         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20372         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20374         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
20376 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
20377             Karl Landstrom  <karl.landstrom@brgeight.se>
20379         * progmodes/js.el: New file.
20381 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
20383         * timezone.el (timezone-parse-date): Add ability to understand ISO
20384         basic format (minimal separators) dates in addition to the
20385         already-supported extended format dates.
20387 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
20389         * international/ucs-normalize.el: Add a `coding' file variable.
20391         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
20393 2009-08-14  Sam Steingold  <sds@gnu.org>
20395         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
20397 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
20399         * faces.el (help-argument-name): Define it here instead of
20400         help-fns.el, because in daemon mode help-fns.el may be loaded when
20401         faces are still uninitialized (Bug#1078).
20403         * help-fns.el (help-argument-name): Move defface to faces.el.
20405 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
20407         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
20408         create buffer with a pty but no process so that GDB can make the
20409         inferior the controlling process.
20411 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
20413         * international/ucs-normalize.el: New file.
20415 2009-08-13  Richard Stallman  <rms@gnu.org>
20417         * mail/rmail.el (rmail-get-attr-names):
20418         Accept an attribute header that is too short.
20420         * mail/rmail.el (rmail-forget-messages):
20421         Ignore nil elt in rmail-message-vector.  Use dotimes.
20423         * progmodes/compile.el (compilation-goto-locus):
20424         Use next-error-move-function.
20426         * simple.el (next-error-move-function): New variable.
20428 2009-08-12  Juri Linkov  <juri@jurta.org>
20430         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
20431         always non-nil.  (Bug#4052)
20433         * replace.el (read-regexp): Return empty string when
20434         `default-value' is nil.
20435         (keep-lines-read-args): Don't use empty string as the
20436         default value for `read-regexp'.  (Bug#2495)
20438 2009-08-12  Juri Linkov  <juri@jurta.org>
20440         * international/mule-cmds.el (ucs-insert): Change arguments
20441         from `arg' to `character', `count', `inherit' to be the same
20442         as in `insert-char'.  Doc fix.  (Bug#4039)
20444         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
20446 2009-08-12  Juri Linkov  <juri@jurta.org>
20448         * files-x.el: New file.
20450         * files.el: Move code that deals with adding/deleting
20451         file/directory-local variables to files-x.el.
20453         * Makefile.in (ELCFILES): Add files-x.elc.
20455 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
20457         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
20458         to use `goto-line'.
20459         (gdb-place-breakpoints, gdb-get-location): Rewritten without
20460         `goto-line'.
20461         (gdb-invalidate-disassembly): Do not refresh upon receiving
20462         'update signal.  Instead, update all disassembly buffers only after
20463         threads list.
20464         (gdb): Send -target-detach when buffer is killed (Bug#3794).
20465         (gdb-starting): Move -data-list-register-names...
20466         (gdb-stopped): ...here so it's sent when first thread stops.
20467         (gdb-registers-handler-custom): Do nothing if register names are
20468         unknown yet.
20470         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
20471         from `gdb-mi.el' to avoid extra tangling.
20473         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
20474         change which breaks `gud-def' definitions used in `gdb'.
20475         (gdb-update-gud-running): No extra fuss for updating frame number.
20477 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
20479         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
20480         (describe-language-environment-map, setup-language-environment-map)
20481         (set-coding-system-map): Move initialization into declaration.
20482         (set-language-info-alist): Last arg to define-key-after can be skipped.
20484         * international/quail.el (quail-completion-1): Simplify.
20485         (quail-define-rules): Use slightly more compact code.
20486         (quail-insert-decode-map): Propertize keys, compact columns.
20488         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20489         Add goto-line.
20491 2009-08-10  Miles Bader  <miles@gnu.org>
20493         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
20494         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
20495         (js2-instance-member, js2-private-member, js2-private-function-call)
20496         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
20497         (js2-magic-paren, js2-external-variable):
20498         Remove "-face" suffix from face names.
20499         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
20500         (js2-highlight-undeclared-vars, js2-peek-token)
20501         (js2-parse-function-params, js2-mode-show-errors)
20502         (js2-mode-show-warnings, js2-make-magic-delimiter)
20503         (js2-mode-highlight-magic-parens): Update to use new face names.
20505 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
20507         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
20508         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
20510 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
20512         * subr.el: Provide hashtable-print-readable.
20514         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
20515         hs-c-like-adjust-block-beginning.
20516         (hs-hide-block-at-point): Stop hiding at the beginning of
20517         hs-block-end-regexp (Bug#700).
20519 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
20521         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
20522         a macro.
20523         (gdb-registers-handler-custom): Do not fail when register names
20524         are unavailable.
20526 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
20528         * progmodes/gdb-mi.el (gdb-control-all-threads)
20529         (gdb-control-current-thread): Interactive setters for
20530         `gdb-gud-control-all-threads' to use in menu.
20531         (gdb-show-run-p): Show «Go» when process is not active.
20532         (gud-tool-bar-map): Add non-stop/A,T indicator.
20533         Uses gud/thread.xpm and gud/all.xpm.
20535 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
20537         * net/net-utils.el (net-utils-font-lock-keywords): New var.
20538         (nslookup-font-lock-keywords): Make it a variable.
20539         (net-utils-mode): New mode for viewing diagnostic network output.
20540         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
20541         (net-utils-run-simple): New function.
20542         (ifconfig, iwconfig, netstat, arp, route): Use it.
20544 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
20546         * progmodes/gdb-mi.el (gdb-read-memory-custom)
20547         (gdb-memory-set-address, def-gdb-set-positive-number)
20548         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
20549         after changing settings.
20550         (gdb-invalidate-disassembly): Update when first shown.
20551         (gdb-edit-locals-value): Fixed.
20552         (gdb-registers-handler-custom): Print registers in right order and
20553         allow changing register values (only for current thread yet).
20554         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
20555         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
20556         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
20557         (gdb-locals-handler-custom, gdb-registers-handler-custom):
20558         Thread info in mode name.
20559         (gdb-registers-mode-map): TAB to switch to locals.
20561 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
20563         * mail/rmail.el (rmail-add-mbox-headers)
20564         (rmail-set-message-counters-counter): Search for
20565         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
20567 2009-08-08  Glenn Morris  <rgm@gnu.org>
20569         * Makefile.in (ELCFILES): Update.
20571 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
20573         * mail/sendmail.el (mail-yank-original):
20574         Set buffer-file-coding-system from the one used by the message whose
20575         text is yanked.
20577         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
20578         to "windows" when "pgnuplot" is used.
20579         (calc-graph-command, calc-gnuplot-command, calc-graph-init):
20580         Don't call accept-process-output if "pgnuplot" is used.
20581         (calc-graph-init): Don't send -display and -geometry to
20582         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
20583         running "pgnuplot -V" with shell-command-to-string.
20585         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
20586         the default.
20588 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
20590         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
20591         org/org-latex.elc.
20593 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
20595         * vc-dispatcher.el (vc-resynch-window): Update comment.
20597         * term.el (term-handle-ansi-escape): Add comments with the
20598         terminfo capabilities implemented.
20600 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
20602         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
20603         (gdb-var-create-handler): Rewritten using JSON parser.
20604         (gdb-propertize-header): Move earlier.
20605         (gdb-set-header): Remove to avoid duplication.
20606         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
20607         Refresh disassembly buffers only after threads list have been
20608         update.
20609         (gdb-threads-header, gdb-registers-header): Per-buffer header line
20610         variables.
20612 2009-08-04  Juri Linkov  <juri@jurta.org>
20614         * files.el: Commands to add/delete file/directory-local variables.
20615         (read-file-local-variable, read-file-local-variable-value)
20616         (read-file-local-variable-mode, modify-file-local-variable)
20617         (modify-file-local-variable-prop-line)
20618         (modify-dir-local-variable): New functions.
20619         (add-file-local-variable, delete-file-local-variable)
20620         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
20621         (add-dir-local-variable, delete-dir-local-variable)
20622         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
20623         (copy-dir-locals-to-file-locals-prop-line): New commands.
20625 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
20627         * abbrev.el (insert-abbrev-table-description): Prettify output.
20628         Suggested by Karl Chen.
20630 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
20632         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
20633         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
20634         (gdb-overlay-arrow-position, gdb-thread-position)
20635         (gdb-disassembly-position): Declare variables.
20636         (gdb-wait-for-pending): Function now.
20637         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
20638         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
20639         compilation goes smoothly.
20640         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
20641         (gdb-non-stop-setting): New customization setting which replaces
20642         `gdb-non-stop' so changing it doesn't break active GDB session.
20643         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
20644         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
20645         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
20646         (gdb-show-threads-by-default): New customization options.
20647         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
20648         routines.
20649         (gdb-get-buffer-create): Send buffers update signal when they are
20650         created.
20651         (gdb-invalidate-locals, gdb-invalidate-registers)
20652         (gdb-invalidate-breakpoints)
20653         (gdb-invalidate-threads, gdb-invalidate-disassembly)
20654         (gdb-invalidate-memory): Accept update signal.
20655         (gdb-current-context-command): Use --frame option.
20656         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
20657         Implement `gdb-frame-number' selection logic.
20658         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
20659         whether to show GUD toolbar buttons.
20660         (gdb-thread-exited): Unselect current thread when it exits.
20661         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
20662         (gdb-mark-line): Routine which sets overlay arrow or inverses
20663         video on fringeless displays.
20664         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
20665         to build aligned columns of data in GDB buffers and set text
20666         properties line-by-line.
20667         (gdb-invalidate-breakpoints)
20668         (gdb-breakpoints-list-handler-custom)
20669         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
20670         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
20671         (gdb-registers-handler-custom): Align data columns.
20672         (gdb-locals-handler-custom): Now prints data like in variable
20673         declarations.
20674         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
20675         Remove confusing buttons.
20676         (gdb-invalidate-threads): Append --frame.
20677         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
20678         between breakpoints/threads buffers.
20679         (gdb-set-window-buffer): Now can ignore dedicated windows.
20680         (gdb-propertize-header): Use `gdb-set-window-buffer'.
20681         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
20682         (def-gdb-thread-buffer-gud-command): Replaces
20683         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
20684         for fine thread control.
20685         (gdb-preempt-existing-or-display-buffer): New function used to
20686         display bound buffers without breaking window layout.
20687         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
20688         (gdb-select-frame): New version of `gdb-frames-select' which now
20689         sets `gdb-frame-number' so commands may use --frame option instead
20690         of inner debugger state.
20691         (gdb-frame-handler): Do not set `gdb-frame-number'.
20692         (gdb-threads-mode-map): Select threads with mouse.
20694         * progmodes/gud.el (gdb-gud-context-call): Declare function to
20695         avoid compilation warning.
20696         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
20697         `gdb-show-stop-p`.
20699         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
20700         Argument `key' renamed to `buffer-type'.
20701         (gdb-current-context-buffer-name): Do not add thread info to
20702         buffer name when no thread is selected.
20703         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
20704         command (bug 3794).
20705         (gdb-thread-selected): Handle `=thread-selected' notification.
20706         (gdb-wait-for-pending): New macro to deal with congestion problems.
20707         (gdb-breakpoints-list-handler-custom): Don't fail on pending
20708         breakpoints.
20709         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
20710         This fixes problem similar to one described in bug 3947.
20711         (gud-menu-map): More menu items.
20712         (gdb-init-1): Reset `gdb-thread-number' to nil.
20714         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
20715         non-stop settings.
20717         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
20718         (gdb-current-context-command): Do not append --thread if
20719         `gdb-thread-number' is nil.
20720         (gdb-running-threads-count, gdb-stopped-threads-count):
20721         New variables.
20722         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
20723         (gdb-stopped-hooks, gdb-switch-when-another-stopped):
20724         New customization options.
20725         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
20726         GUD commands.
20727         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
20728         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
20729         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
20730         set `gdb-thread-number' and update `gud-running' properly.
20731         (gdb-running): Update threads list when new threads appear.
20732         (gdb-stopped): Support non-stop operation and new thread switching
20733         logic.
20734         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
20735         (gdb-json-partial-output): New set of JSON routines.
20736         (def-gdb-auto-update-trigger): New `signal-list' optional
20737         argument.
20738         (gdb-thread-list-handler-custom): Update `gud-running',
20739         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
20740         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
20741         (gdb-continue-thread, gdb-step-thread): New commands for fine
20742         thread execution control.
20743         (gud-menu-map): New menu items to switch non-stop options.
20744         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
20745         (gdb-send): Mimic RET properly (bug 3794).
20747         * progmodes/gdb-mi.el (gdb-rules-name-maker)
20748         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
20749         gdb-buffer-rules.
20750         (def-gdb-auto-update-handler): New nopreserve optional argument.
20751         (gdb-stack-list-frames-custom): Print stack from top to bottom.
20753         * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
20754         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
20755         (gdb-parent-mode): New mode to derive other GDB modes from.
20756         (gdb-display-disassembly-for-thread)
20757         (gdb-frame-disassembly-for-thread): New commands for threads
20758         buffer.
20760         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
20761         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
20762         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
20763         (gdb-update): We now store all GDB buffers in a list so that they
20764         can be updated by traversing a list instead of calling invalidate
20765         triggers explicitly.
20766         (def-gdb-trigger-and-handler): New macro to define trigger-handler
20767         pair for GDB buffer.
20768         (gdb-stack-buffer-name): Add thread information.
20769         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
20770         handle pending triggers.
20771         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
20772         (def-gdb-thread-buffer-simple-command)
20773         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
20774         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
20775         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
20776         New commands which show buffers bound to thread.
20777         (gdb-stack-list-locals-regexp): Remove unused regexp.
20779         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
20780         (gdb-locals-buffer-name, gdb-registers-buffer-name)
20781         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
20782         to (gud-comint-buffer) in *-buffer-name functions
20783         because (gdb-get-target-string) already does that.
20784         (gdb-locals-handler-custom, gdb-registers-handler-custom)
20785         (gdb-changed-registers-handler): Rewritten without regexps.
20787         * progmodes/gdb-mi.el: Basic thread selection support.
20788         (gdb-thread-number): New variable.
20789         (gdb-current-context-command): New macro which adds --thread
20790         option to command.
20791         (gdb-threads-mode-map): Select thread with SPC.
20792         (gdb-thread-list-handler-custom): Mark current thread with overlay
20793         arrow.  Synchronize GDB thread and Emacs thread.
20794         (gdb-select-thread): New command which selects current thread.
20795         (gdb-invalidate-frames, gdb-invalidate-locals)
20796         (gdb-invalidate-registers): Use --thread option.
20798 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
20800         * net/tramp.el (top): Make check for tramp-gvfs loading more
20801         robust.  (Bug#3977)
20802         (tramp-handle-insert-file-contents): `unwind-protect' must be
20803         inside `with-parsed-tramp-file-name'.
20805         * net/tramp-gvfs.el (top): Remove superfluous message when loading
20806         fails.
20808 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
20810         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
20811         directory if CLASSPATH is not set.
20813 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
20815         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
20816         New defconst.
20817         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
20819 2009-08-02  Kevin Ryde  <user42@zip.com.au>
20821         * net/newst-backend.el (newsticker--raw-url-list-defaults):
20822         Update freshmeat link.  Delete newsforge.com as it seems gone.
20824 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
20826         * select.el (x-set-selection): Doc fix (Bug#4021).
20828         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
20830         * help-fns.el (describe-variable): Treat list return values from
20831         dir-locals-find-file properly (Bug#4005).
20833 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
20835         * net/tramp.el (tramp-debug-message): Print also microseconds.
20837 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
20839         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
20840         or END is non-nil.
20841         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
20842         (tramp-get-debug-buffer): Change `outline-regexp' according to new
20843         format.
20845         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
20846         (tramp-get-file-property): Use it.
20848         * autorevert.el (auto-revert-handler):
20849         Allow `auto-revert-tail-mode' for remote files.
20851 2009-08-02  Jason Rumney  <jasonr@gnu.org>
20853         * minibuffer.el (read-file-name): Treat confirm options to
20854         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
20856 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
20858         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
20859         (font-lock-variable-name-face, font-lock-constant-face):
20860         Darken the colors for light backgrounds.
20862 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
20864         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
20865         month names.  (Bug#3987)
20867 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
20869         * simple.el (line-move-finish): Pass whole number to
20870         line-move-to-column.
20871         (line-move-visual): Perform hscroll to the recorded position.
20873 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
20875         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
20877 2009-07-29  Alan Mackenzie  <acm@muc.de>
20879         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
20881 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
20883         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
20884         (gdb-place-breakpoints): Use full path when setting breakpoints.
20886 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
20888         * calc/calc.el (calc-mode-map): Add keybinding for
20889         `calc-transpose-lines'.
20891 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
20893         * calc/calc-misc.el (calc-transpose-lines): New function.
20895 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
20897         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
20898         Simplify check for out-of-band methods.
20899         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
20900         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
20902 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
20904         * vc-git.el (vc-git-checkin): Fix typo.
20906 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
20908         * progmodes/js2-mode.el: New file.
20910 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
20912         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
20913         (gud-menu-map): Adjust tooltip accordingly.
20915 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
20917         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
20918         (vc-bzr-log-view-mode): Adjust log-view-file-re.
20920         * add-log.el (change-log-mode-map): Add a menu.
20922 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
20924         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
20925         function returns nil.
20926         (dbus-handle-event): Handle special return value :ignore.
20927         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
20929 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
20931         * view.el (view-mode-enable): Don't define Helper-return-blurb if
20932         it's not needed.
20934 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
20936         Fix Bug#3888:
20938         * w32-vars.el (x-select-enable-clipboard): Doc fix.
20940         * term/pc-win.el (x-display-name, x-colors)
20941         (x-select-enable-clipboard, x-select-text): Doc fix.
20943         * term/common-win.el (x-display-name, x-colors): Doc fix.
20945         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
20946         (xw-defined-colors): Doc fix.
20948         * w32-fns.el (x-select-text, x-setup-function-keys)
20949         (x-get-selection, x-set-selection): Doc fix.
20951         * term/x-win.el (x-select-text, x-setup-function-keys)
20952         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
20954         * select.el (x-set-selection): Doc fix.
20956 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
20958         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
20959         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
20960         "IsNSSSupportAvailable" method is not available.
20961         Reported by Steve Youngs <steve@sxemacs.org>.
20963 2009-07-24  Kenichi Handa  <handa@m17n.org>
20965         * international/characters.el: Fix setting of category ?C, ?|, ?K,
20966         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
20967         (build-unicode-category-table): Fix range checks.
20969 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
20971         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
20972         the buffer we try to sync is current when calling
20973         vc-resynch-buffer.
20975         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
20976         not show up to date files.
20978 2009-07-24  Glenn Morris  <rgm@gnu.org>
20980         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
20981         Add autoload cookies.  If necessary, initialize.
20982         (elint-log): Handle non-file buffers.
20983         (elint-initialize): Add optional argument to reinitialize.
20984         (elint-find-builtin-variables): Save excursion.
20986 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
20988         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
20989         for Lint.
20991 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
20993         * vc.el (vc-print-log-internal): New function, split out from ...
20994         (vc-print-log): ... here.
20995         (vc-dir-move-to-goal-column): Declare.
20997         * vc-git.el (vc-git-add-signoff): New variable.
20998         (vc-git-checkin): Use it.
20999         (vc-git-toggle-signoff): New function.
21000         (vc-git-extra-menu-map): Bind it to menu.
21001         (vc-git--run-command-string): Accept a nil FILE argument.
21002         (vc-git-stash-list): New function.
21003         (vc-git-dir-extra-headers): Use it.
21005 2009-07-23  Glenn Morris  <rgm@gnu.org>
21007         * help-fns.el (describe-variable): Describe ignored and risky local
21008         variables in a similar way to that in which we describe safe ones.
21010         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
21011         (byte-compile-output-file-form, byte-compile-output-docform)
21012         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
21013         Give some more local variables with common names a "bytecomp-" prefix,
21014         so as not to shadow things during compilation.
21015         * emacs-lisp/cl-macs.el (load-time-value)
21016         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
21017         `outbuffer' to `bytecomp-outbuffer'.
21019         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
21020         since the next two variables cover them automatically now.
21021         (elint-builtin-variables, elint-autoloaded-variables): New.
21022         (elint-unknown-builtin-args): Remove all members, since they can be
21023         parsed automatically now.
21024         (elint-extra-errors): New.
21025         (elint-env-add-env, elint-env-add-macro): Use cadr.
21026         (elint-current-buffer): Use or.  Change final message.
21027         (elint-get-top-forms): Use line-end-position.
21028         (elint-init-env): Use cadr.  Handle autoload, declare-function,
21029         and defalias.
21030         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
21031         (regexp-assoc): Remove unused function.
21032         (elint-top-form): Set elint-current-pos, to record the start of the
21033         top-level form, for compilation-mode.
21034         (elint-form): Trap errors in macro expansion.  Use dolist.
21035         (elint-unbound-variable): Use elint-builtin-variables and
21036         elint-autoloaded-variables.
21037         (elint-get-args): Use cadr, or.
21038         (elint-check-cond-form): Use dolist, cadr.
21039         (elint-check-condition-case-form): Doc fix.  Use cadr.
21040         Use elint-extra-errors.
21041         (elint-log): New function.
21042         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
21043         Distinguish errors and warnings.
21044         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
21045         Use a bytecomp-style format.
21046         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
21047         (elint-get-log-buffer): Use compilation mode.  Disable undo.
21048         Don't truncate lines.
21049         (elint-initialize): Set builtin and autoloaded variable lists.
21050         Only process elint-unknown-builtin-args if non-nil.
21051         (elint-find-builtin-variables, elint-find-autoloaded-variables):
21052         New functions.
21053         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
21055 2009-07-22  Kevin Ryde  <user42@zip.com.au>
21057         * net/newst-backend.el (newsticker--parse-atom-1.0)
21058         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
21059         (newsticker--parse-rss-1.0):
21060         * progmodes/idlwave.el (idlwave-mode):
21061         * progmodes/idlw-shell.el (idlwave-shell-mode):
21062         * progmodes/vera-mode.el (vera-mode):
21063         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
21064         * progmodes/vhdl-mode.el (vhdl-mode):
21065         * textmodes/table.el (table-generate-source)
21066         (table--warn-incompatibility):
21067         Hyperlink urls in docstrings with URL `...'.
21069 2009-07-22  Glenn Morris  <rgm@gnu.org>
21071         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
21072         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
21073         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
21074         Remove leading * from defcustom docs.
21076         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
21078         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
21079         defcustom doc.
21080         (list-load-path-shadows): Optionally, just return shadows as a string.
21082         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
21084 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
21086         * mail/rmailedit.el (rmail-edit-mode):
21087         Use auto-save-include-big-deletions.
21089         * mail/rmail.el (rmail-variables):
21090         Use auto-save-include-big-deletions.
21092         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
21093         changes.
21095 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
21097         * calc/calc.el (calc-undo-length): New variable.
21098         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
21100 2009-07-21  Richard Stallman  <rms@gnu.org>
21102         * files.el (auto-save-mode): Handle buffer-save-size = -2
21103         for toggling mode.
21105 2009-07-21  Glenn Morris  <rgm@gnu.org>
21107         * textmodes/ispell.el (ispell-looking-back): Update declaration.
21109         * calendar/todo-mode.el (calendar-current-date): Update declaration.
21111         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
21112         silence compiler.  Instead...
21113         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
21114         (ps-print-ensure-fontified): Update for above function name changes.
21116         * printing.el (pr-mh-get-msg-num, pr-mh-show)
21117         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
21118         silence compiler.  Instead...
21119         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
21120         (mh-show-buffer): Only define for compiler.
21121         (pr-mh-current-message): Update for above function name changes.
21123         * files.el (abort-if-file-too-large): Explicitly pass `filename'
21124         as an argument.
21125         (find-file-noselect, insert-file-1): Update for above change.
21127         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
21129         * mail/mailclient.el (mailclient-send-it): Fix message.
21131         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
21132         (edebug-eval): Check cl-debug-env is bound.
21133         (print-level, print-circle): Don't redefine built-in variables.
21135         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
21136         (custom-print-vectors): Remove old comments from doc.
21138         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
21139         (emerge-version): Make the variable an obsolete alias for the
21140         emacs-version variable.  Make the function obsolete.
21141         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
21142         Emerge options, rather than merging in into the main Options menu.
21143         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
21144         and auto advance modes.  Disable edit/fast items when not relevant.
21146 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
21148         * term/vt420.el (terminal-init-vt420): Fix typo.
21150 2009-07-20  Sam Steingold  <sds@gnu.org>
21152         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
21153         variable (removed from compile.el on 2004-03-11).
21155 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
21157         * files.el (hack-local-variables-filter): Fix last change.
21159 2009-07-19  Juri Linkov  <juri@jurta.org>
21161         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
21162         (dir-local-variables-alist): New buffer-local variable.
21163         (hack-local-variables-filter): If variable is not dir-local,
21164         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
21165         because file-local overrides dir-local.
21166         (c-postprocess-file-styles) <declare-function>:
21167         Remove obsolete declaration.
21168         (hack-dir-local-variables): Add dir-local variable/value pair to
21169         `dir-local-variables-alist' and remove duplicates.  Doc fix.
21171         * help-fns.el (describe-variable): Add information about
21172         file-local and dir-local variables.
21174 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
21176         * files.el (hack-local-variables-filter): Rewrite.
21178 2009-07-19  Glenn Morris  <rgm@gnu.org>
21180         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
21181         Silence compiler by only defining on XEmacs.
21183         * international/mule.el (auto-coding-regexp-alist): Only match
21184         BABYL... at the start of buffer, not of lines.  (Bug#3790)
21186         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
21187         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
21188         (cal-menu-context-mouse-menu): Doc fix.
21190         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
21192         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
21194 2009-07-18  Juri Linkov  <juri@jurta.org>
21196         * info.el: Virtual Info keyword finder.
21197         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
21198         (Info-finder-file): New variable.
21199         (Info-finder-find-file): New function.
21200         (finder-known-keywords, finder-package-info)
21201         (find-library-name, lm-commentary): Use defvar and
21202         declare-function to silence compiler warnings.
21203         (Info-finder-find-node): New function.
21204         (info-finder): New command.
21206         * subr.el (process-kill-buffer-query-function): New function.
21207         (add-hook)<kill-buffer-query-functions>: Add hook
21208         `process-kill-buffer-query-function'.
21210 2009-07-18  Alan Mackenzie  <acm@muc.de>
21212         * progmodes/cc-mode.el (c-before-hack-hook)
21213         (c-postprocess-file-styles): Give invocation of `c-set-style'
21214         DONT-OVERRIDE parameter of t.  Already set style variables will
21215         thus not be overridden by style settings given by `c-file-syle'.
21217         * files.el (hack-local-variables-filter): Remove entries with
21218         duplicate keys from `file-local-variables-alist'.
21220 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
21222         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
21223         x-set-selection if display-selections-p returns nil for the
21224         current frame.
21226 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
21228         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
21230 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
21232         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
21233         Accept nil in addition to a regexp.
21234         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
21235         Accept nil in addition to a regexp.
21236         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
21237         buffers that have an associated file.  Handle nil values of
21238         desktop-buffers-not-to-save and desktop-files-not-to-save.
21239         (Bug#3833)
21241         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
21242         (x-disown-selection-internal): New functions.
21244 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
21246         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
21247         warning.
21248         (gdb-breakpoints-header): Move forward to avoid compiler warning.
21249         (gdb-make-header-line-mouse-map): Remove duplicate definition.
21251 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
21253         * simple.el (set-mark): Revert last change.
21255 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
21257         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
21258         rendering of pngs is not possible instead of messaging a long
21259         description.
21261 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
21263         * w32-fns.el (x-selection-owner-p): New function.
21265         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
21266         (mouse-yank-at-click, mouse-yank-primary):
21267         If select-active-regions is non-nil, deactivate the mark before
21268         insertion.
21270         * simple.el (deactivate-mark, set-mark): Only save selection if we
21271         own it.
21273 2009-07-17  Kenichi Handa  <handa@m17n.org>
21275         * case-table.el (describe-buffer-case-table): Fix for the case
21276         that KEY is a cons.
21278 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
21280         * vc-rcs.el (vc-rcs-find-file-hook):
21281         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
21283 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
21285         * net/tramp.el (tramp-wait-for-output): Handle the case when
21286         commands do not return a newline but a null byte before the shell
21287         prompt.  (Bug#3858)
21289 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
21291         * term/ns-win.el (ns-set-alpha): Don't declare.
21292         (ns-set-background-alpha): Remove function.
21294 2009-07-16  Kevin Ryde  <user42@zip.com.au>
21296         * emacs-lisp/copyright.el (copyright-update): Save match-data across
21297         y-or-n-p, for safety.
21299 2009-07-16  Richard Stallman  <rms@gnu.org>
21301         * files.el (auto-save-mode): If buffer-saved-size is -2,
21302         don't clobber it.
21304         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
21305         (rmail-retry-ignored-headers): Add more uninteresting fields.
21307 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
21309         * net/rcirc.el (rcirc): Use history variables.
21310         (rcirc-server-name-history, rcirc-nick-name-history)
21311         (rcirc-server-port-history): New variables.
21313 2009-07-15  Kenichi Handa  <handa@m17n.org>
21315         * international/mule-cmds.el (set-language-environment-charset):
21316         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
21317         ignore them.
21319         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
21320         Delete unibyte-display.
21322 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
21324         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
21326 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
21328         * simple.el (deactivate-mark): Optional argument FORCE.
21329         (set-mark): Use deactivate-mark.
21331         * info.el (Info-search): No need to check transient-mark-mode
21332         before calling deactivate-mark.
21334         * select.el (x-set-selection): Doc fix.
21335         (x-valid-simple-selection-p): Allow buffer values.
21336         (xselect--selection-bounds): Handle buffer values.
21337         Suggested by David De La Harpe Golden.
21339         * mouse.el (mouse-set-region, mouse-drag-track):
21340         Call copy-region-as-kill before setting the mark, to let
21341         select-active-regions work.
21343 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
21345         * simple.el (deactivate-mark): If select-active-regions is
21346         non-nil, copy the selection data into a string.
21347         (activate-mark): If select-active-regions is non-nil, set the
21348         selection to the current buffer.
21349         (set-mark): Update selection if select-active-regions is non-nil.
21351         * select.el (x-valid-simple-selection-p): Allow buffer values.
21353 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
21355         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
21356         and more featureful message-mode.
21358 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
21360         * select.el (x-set-selection): Doc fix.
21361         (x-valid-simple-selection-p): Disallow selection data consisting
21362         of a list or cons of integers, since that is not used.
21363         (xselect--selection-bounds, xselect--int-to-cons): New functions.
21364         (xselect-convert-to-string, xselect-convert-to-length)
21365         (xselect-convert-to-filename, xselect-convert-to-charpos)
21366         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21368 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
21370         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21371         output in -break-info command (Emacs bug #3794).
21373 2009-07-14  Glenn Morris  <rgm@gnu.org>
21375         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
21376         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
21377         (edebug-print-length, edebug-print-level, edebug-print-circle)
21378         (edebug-sit-for-seconds, edebug-view-outside)
21379         (edebug-bounce-point, edebug-set-global-break-condition)
21380         (edebug-Go-nonstop-mode, edebug-trace-mode)
21381         (edebug-Trace-fast-mode, edebug-continue-mode)
21382         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
21383         (edebug-visit-eval-list): Doc fixes.
21385         * subr.el (def-edebug-spec): Doc fix.
21387 2009-07-14  Kenichi Handa  <handa@m17n.org>
21389         * international/characters.el: Fix setting of category ?C.
21391 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
21393         * term/ns-win.el (x-select-font): defalias x-select-font to
21394         ns-popup-font-panel instead of generate-fontset-menu.
21396 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
21398         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
21400 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
21402         * arc-mode.el (archive-find-type): Allow for a PK00 string before
21403         the PK\003\004 header (Bug#3770).
21405 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
21407         * pcomplete.el (pcomplete-comint-setup): Check for
21408         shell-dynamic-complete-filename too.
21410 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
21412         * simple.el (temporary-goal-column): Change the value for
21413         line-move-visual to a cons cell.
21414         (line-move-visual): Record or set the window hscroll, if
21415         necessary (Bug#3494).
21416         (line-move-1): Handle cons value of temporary-goal-column.
21418 2009-07-11  Kenichi Handa  <handa@m17n.org>
21420         * international/mule-diag.el (describe-character-set): Don't show
21421         width.
21423 2009-07-10  Sam Steingold  <sds@gnu.org>
21425         * progmodes/compile.el (compilation-mode-font-lock-keywords):
21426         Omake sometimes indents the errors it prints, so allow all
21427         regexps to start with spaces.
21429 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
21431         * cus-edit.el (customize-changed-options-previous-release):
21432         Bump value to 22.1.  (Bug#3804)
21434 2009-07-08  Sam Steingold  <sds@gnu.org>
21436         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
21437         to be a cons cell (test . ignored-directory) to selectively ignore
21438         some directories depending on the location of the search.
21440 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
21442         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
21443         remote user is root, on the local host.
21444         (tramp-local-host-p): Either the local user or the remote user
21445         must be root.  (Bug#3771)
21447 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
21449         * progmodes/gdb-mi.el (gdb): Remove description of
21450         gdb-use-separate-io-buffer.
21451         (menu): Don't allow toggling of or enable
21452         gdb-use-separate-io-buffer from menubar.
21454 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
21456         * mail/unrmail.el (unrmail): Make sure the message ends with two
21457         newlines (Bug#3769).
21459 2009-07-08  Glenn Morris  <rgm@gnu.org>
21461         * calendar/calendar.el (calendar-current-date): Rework previous change.
21463 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
21465         * calendar/calendar.el (calendar-current-date):
21466         Add an optional argument giving an offset from today.
21468 2009-07-08  Glenn Morris  <rgm@gnu.org>
21470         * tutorial.el (tutorial--describe-nonstandard-key):
21471         Adjust the message for when a key has been unbound.
21472         (help-with-tutorial): Hide the arch-tag.
21474 2009-07-08  Kenichi Handa  <handa@m17n.org>
21476         * international/fontset.el (setup-default-fontset): For each
21477         script, append (not set) font-specs.
21479         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
21480         docstring.
21482 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
21484         * progmodes/gdb-mi.el (gdb-init-1): Move sending
21485         -data-list-register-names to ...
21486         (gdb-starting): ... here because GDB 7.0 requires execution to
21487         have started when using this MI command.
21488         (gdb-set-header): New function to distinguish select and
21489         unselected tabs in gdb buffers.
21490         (gdb-propertize-header): New macro that uses gdb-set-header.
21491         (gdb-breakpoints-header, gdb-locals-header): Use it.
21492         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
21494 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
21496         * Makefile.in (ELCFILES): Remove fadr.elc.
21498 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
21500         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
21501         may contain frame information, so `string-match' should be used.
21502         (gdb-update): Disassembly is invalidated through
21503         `gdb-get-selected-frame'.
21504         (gdb-pad-string): New function to pad string with spaces.
21505         (gdb-invalidate-disassembly): Invalidate only if the buffer
21506         exists.
21507         (gdb-disassembly-handler-custom): Column alignment.
21508         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
21509         placing new ones.
21510         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
21511         end of line, too.
21512         (gdb-frame-handler): Match convention to for disassembly buffer
21513         mode name.
21514         (gdb-stack-list-frames-handler): Rewritten without regexps.
21515         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
21516         not highlight breakpoints without line information.
21517         (gdb-input): Add trailing newline to command.
21519         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
21520         buffer properly.
21521         (gdb-breakpoints-list-handler-custom): Replacement for
21522         `gdb-break-list-handler'.  Using real parser instead of regexps
21523         now.
21524         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
21525         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
21526         to place breakpoints.
21527         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
21528         functions.
21529         (gdb-disassembly-handler-custom): Show overlay arrow.
21530         (gdb-disassembly-place-breakpoints): Show breakpoints in
21531         disassembly buffer.
21532         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
21533         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
21534         instead of parsing breakpoints buffer.  Fixed old menu references
21535         in `gud-menu-map'.
21537         * fadr.el: Remove.
21539         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
21540         (gdb-memory-address): New variable which holds top address of
21541         memory page shown in memory buffer.
21542         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
21543         New customization variables.
21544         New functions:
21545         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
21546         display the memory buffer.
21547         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
21548         buffer display parameters.
21549         (def-gdb-memory-format, gdb-memory-format-binary)
21550         (gdb-memory-format-octal, gdb-memory-format-unsigned)
21551         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
21552         Functions for setting memory buffer format.
21553         (gdb-memory-unit-word, gdb-memory-unit-halfword)
21554         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
21555         unit size used in memory buffer.
21556         (gdb-memory-show-next-page, gdb-memory-show-previous-page):
21557         Switch to next/previous page of memory buffer.
21558         Now using (bindat-get-field) instead of fadr functions.
21560 2009-07-07  Sam Steingold  <sds@gnu.org>
21562         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
21563         non-top-level files.
21565 2009-07-07  Kenichi Handa  <handa@m17n.org>
21567         * international/mule-cmds.el (reset-language-environment):
21568         Put the highset priority to the charset iso-8859-1.
21570 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
21572         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
21573         to the end of the line when locating the block (Bug#700).
21575 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
21577         * net/tramp.el (tramp-handle-write-region): Flush file properties
21578         in case of short track.
21580 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
21582         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
21583         Coded custom representation of verilog error regular expressions
21584         to work with Emacs-22's new format.
21585         (verilog-error-regexp-xemacs-alist): Coded custom representation
21586         of verilog error regular expressions to work with XEmacs format.
21587         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
21588         error recognition into XEmacs.
21589         (verilog-error-regexp-add-emacs): Hook routine to install verilog
21590         error recognition into Emacs-22.
21592 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
21594         * woman.el: Remove stand-alone closing parentheses.
21595         (woman-file-name, woman2-format-paragraphs)
21596         (woman-leave-blank-lines): Code cleanup.
21597         (woman-use-own-frame): Change default to nil.
21598         (woman-italic, woman-bold, woman-unknown, woman-addition):
21599         Change defaults to inherit from default faces.
21600         (woman2-process-escapes): Consume the newline after a stand-alone
21601         filler character (Bug#3651).
21603 2009-07-06  Glenn Morris  <rgm@gnu.org>
21605         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
21606         (top-level): Move provide to the end.
21607         (ffap): Remove defunct URL from custom group.
21609         * subr.el (eval-after-load): Doc fix.
21611 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
21613         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
21614         `calc-embedded-word' is called twice.
21616 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
21618         * files.el (find-alternate-file-other-window, find-alternate-file):
21619         Obey confirm-nonexistent-file-or-buffer.
21621 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
21623         * dired-aux.el (dired-show-file-type): Handle remote files.
21625 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
21627         * desktop.el (desktop-globals-to-save):
21628         Add file-name-history (Bug#2750).
21630 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
21632         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
21634 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
21636         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
21637         property on entire argument since this is what eshell-lisp-command
21638         expects.
21640 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
21642         * net/tramp-gvfs.el (tramp-gvfs-methods)
21643         (tramp-gvfs-zeroconf-domain)
21644         (tramp-bluez-discover-devices-timeout): Add version flag.
21645         (tramp-gvfs-handler-mounted-unmounted)
21646         (tramp-gvfs-connection-mounted-p): Polish handling of
21647         incompatibilities between GVFS 0.2 and 1.0.
21649 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
21651         * cus-start.el (all): Add make-pointer-invisible.
21653 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
21655         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
21656         formatted correctly.
21658 2009-07-02  Juri Linkov  <juri@jurta.org>
21660         * info.el: Virtual Info files and nodes.
21661         (Info-virtual-files, Info-virtual-nodes): New variables.
21662         (Info-current-node-virtual): New variable.
21663         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
21664         New functions.
21665         (Info-file-supports-index-cookies): Use Info-virtual-file-p
21666         to check for a virtual file instead of checking a fixed list
21667         of node names.
21668         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
21669         instead of ad-hoc processing of "dir" and (apropos history toc).
21670         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
21671         instead of ad-hoc processing of "dir" and (apropos history toc).
21672         Reread a file when moving from a virtual node.
21673         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
21674         (Info-directory-toc-nodes, Info-directory-find-file)
21675         (Info-directory-find-node): New functions.
21676         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
21677         (Info-history): Move part of code to
21678         `Info-history-find-node'.
21679         (Info-history-toc-nodes, Info-history-find-file)
21680         (Info-history-find-node): New functions.
21681         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
21682         (Info-toc): Move part of code to `Info-toc-find-node'.
21683         (Info-toc-find-node): New function.
21684         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
21685         the current Info file name to references because now the node
21686         "*TOC*" belongs to the same Info manual.
21687         (Info-toc-build): Rename from `Info-build-toc'.
21688         (Info-toc-nodes): Rename input argument `file' to `filename'.
21689         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
21690         instead of ad-hoc processing of ("dir" apropos history toc).
21691         (Info-index-nodes): Use Info-virtual-file-p
21692         to check for a virtual file instead of checking a fixed list
21693         of node names.
21694         (Info-index-node): Add check for `Info-current-node-virtual'.
21695         Raise `save-match-data' higher up the tree to contain
21696         `search-forward' too (bug fix).
21697         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
21698         (Info-virtual-index-nodes): New variable.
21699         (Info-virtual-index-find-node, Info-virtual-index): New functions.
21700         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
21701         (Info-apropos-file, Info-apropos-nodes): New variables.
21702         (Info-apropos-toc-nodes, Info-apropos-find-file)
21703         (Info-apropos-find-node, Info-apropos-matches): New functions.
21704         (info-apropos): Move part of code to `Info-apropos-find-node' and
21705         `Info-apropos-matches'.
21706         (Info-mode-map): Bind "I" to `Info-virtual-index'.
21707         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
21708         for a virtual file instead of checking a fixed list of node names.
21710         * simple.el (async-shell-command): New command.
21712         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
21714         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
21715         instead of `mount-info'.
21717 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
21719         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
21720         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
21722 2009-07-02  Kenichi Handa  <handa@m17n.org>
21724         * international/mule.el (set-keyboard-coding-system): Force *-unix
21725         coding-system to avoid eol conversion.
21727 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
21729         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
21730         Add handler for `process-file', `shell-command' and
21731         `start-file-process'.
21732         (tramp-gvfs-handle-shell-command)
21733         (tramp-gvfs-handle-start-file-process)
21734         (tramp-gvfs-handle-process-file): New defuns.
21735         (tramp-synce-list-devices): Simplify check for existence of property.
21737 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
21739         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
21741 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
21743         * language/korean.el (set-language-info-alist): Add korean-cp949,
21744         cp949 to spec.
21746 2009-07-01  Kenichi Handa  <handa@m17n.org>
21748         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
21750         * international/encoded-kb.el: Deleted.
21752         * international/mule.el (set-keyboard-coding-system): Perform the
21753         necessary setup here instead of calling encoded-kbd-setup-display.
21755 2009-07-01  Glenn Morris  <rgm@gnu.org>
21757         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
21759 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
21761         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
21763 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
21765         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
21766         Handle also the 'rename case, when setting file modes.  (Bug#3712)
21767         (tramp-default-file-modes): Remove execute permissions.
21769         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
21770         (top): Add a default for "synce" in `tramp-default-user-alist'.
21771         Add completion function for "synce" method.
21772         (tramp-hal-service, tramp-hal-path-manager)
21773         (tramp-hal-interface-manager, tramp-hal-interface-device):
21774         New defconst.
21775         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
21776         (tramp-synce-list-devices, tramp-synce-parse-device-names):
21777         New defuns.
21779         * net/trampver.el: Update release number.
21781 2009-06-30  Kenichi Handa  <handa@m17n.org>
21783         * international/fontset.el (setup-default-fontset): Add CJK fonts
21784         for symbols and the other miscellaneous characters.
21786         * language/korea-util.el (setup-korean-environment-internal):
21787         Make char-width-table suitable for Korean environments.
21788         (exit-korean-environment): Cancel above.
21790         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
21791         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
21792         setup-function to make char-width-table suitable for respective
21793         environments, and an exit-function to cancel that.
21795         * language/japan-util.el (setup-japanese-environment-internal):
21796         Call use-cjk-char-width-table with arg `ja_JP'.
21798         * international/characters.el (cjk-char-width-table): Delete it.
21799         (cjk-char-width-table-list): New variable.
21800         (use-cjk-char-width-table): New arg local-name.
21801         (use-default-char-width-table): Fix for the case that Emacs is
21802         already using the default char-width-table.
21804 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
21806         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
21807         modes mandatory.  (Bug#3712)
21809 2009-06-29  Alan Mackenzie  <acm@muc.de>
21811         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
21812         correction between the visible width of TABs and their number of bytes.
21814 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
21816         * server.el (server-buffer-done): Prevent kill-buffer from
21817         prompting by clearing the buffer modification flag (Bug#3696).
21819 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
21821         * progmodes/verilog-mode.el (verilog-beg-of-statement)
21822         (verilog-endcomment-reason-re): Support unique case and priority case.
21823         (verilog-basic-complete-re): Support localparam lineup.
21824         (verilog-beg-of-statement-1): Fix for robustness, unique case.
21825         (verilog-set-auto-endcomments): Fix for unique case, always_comb
21826         commenting.
21827         (verilog-leap-to-case-head): Now support *nested* unique &
21828         priority case statements.
21829         (verilog-auto-lineup): Make just declarations the default (as it
21830         had been).
21831         (verilog-leap-to-case-head): Support priority/unique case statements.
21832         (verilog-auto-lineup): Rework to give users radio buttons to
21833         select the various styles of automatic lineup.
21834         (verilog-error-regexp-alist): Rework to support the XEmacs style
21835         of error regular expressions from compilers, lint tools &
21836         simulators.  Note that GNU Emacs has made it impossible for a mode
21837         to load such things.
21838         (electric-verilog-terminate-line, verilog-indent-declaration)
21839         (verilog-auto-wiure): Rework for radio button selection of
21840         auto-lineup selection of specification of auto lineup.
21841         (verilog-beg-of-statement-1): Redesign to support proper operation
21842         in additional code, based on testing with auto-lineup.
21843         (verilog-calculate-indent, assignments & declarations)
21844         (verilog-backward-token): Enhance to support auto-lineup of
21845         assignments & declarations.
21846         (verilog-in-directive-p, verilog-at-struct-p): New function for
21847         easy test of whether we are.
21848         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
21849         to support safe execution at almost anyline.
21850         (verilog-calc-1): Properly support indenting deep inside generate
21851         blocks.
21852         (verilog-init-font): Remove definition & use of verilog-init-font,
21853         as it is redundant with font-lock-defaults.
21854         (verilog-mode): Alter the definition of verilog-font-lock-defaults
21855         to avoid circular calls if syntax-ppss is a function (as is the
21856         case now in 22.x GNU Emacs) as that function would sometimes call
21857         itself, leading to (nearly) infinite recursion.
21858         (verilog-ovm-begin-re, verilog-ovm-end-re)
21859         (verilog-ovm-statement-re, verilog-leap-to-head)
21860         (verilog-backward-token): Add support for OVM macros.  Some are
21861         complete statements, and others open and close scopes like begin
21862         and end.
21863         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
21864         (verilog-defun-level-generate-only-re): Really fix the defun-list
21865         compilation issue.
21866         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
21867         coverpoint, constraint and cross statements.
21868         (verilog-defun-level-list, verilog-generate-defun-level-list)
21869         (verilog-all-defun-level-list): Redo these specifications - it is
21870         too hard to support eval-when compile aggregation of lists also
21871         built at when-compile time.
21872         (verilog-defun-level-list): Place defconsts of variables used in
21873         building regular expressions which are built in eval-when-compile
21874         bodies in the same eval-when-compile body to facilitate compile
21875         without load.
21876         (verilog-beg-block-re-ordered): Support indenting
21877         virtual/protected tasks and functions.
21878         (verilog-defun-level-list, verilog-in-generate-region-p)
21879         (verilog-backward-ws&directives, verilog-calc-1): Speed up
21880         indentation of some module items (generate items).
21881         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
21882         across virtual/protected tasks and functions.
21884 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
21886         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
21887         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
21888         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
21889         in concatenations.  Reported by Yishay Belkind.
21890         (verilog-auto-ascii-enum): Support one-hot state machines in
21891         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
21892         (verilog-auto-inst, verilog-auto-inst-port): Include interface
21893         modport in AUTOINST and add vl-modport for users.
21894         Reported by David Rogoff.
21895         (verilog-auto-inout-module, verilog-auto-inst)
21896         (verilog-decls-get-interfaces, verilog-insert-definition)
21897         (verilog-insert-one-definition, verilog-read-decls)
21898         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
21899         (verilog-sig-modport, verilog-signals-combine-bus)
21900         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
21901         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
21902         Suggested by David Rogoff.
21903         (verilog-repair-open-comma): Fix non-insertion of comma when
21904         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
21905         (verilog-make-width-expression): Simplify [A-1:0] expression
21906         widths to just {A{1'b0}}.
21907         (verilog-mode): Cleanup checkdoc warnings.
21908         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
21909         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
21910         inputs/outputs or data type.  Suggested by Vasu Kandadi.
21911         (next-error-last-buffer): Fix byte-compiler warning.
21912         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
21913         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
21914         or shell command text during AUTO expansion.  Suggested by Tad Truex.
21915         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
21916         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
21917         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
21918         in AUTOINOUT.  Reported by Matthew Lovell.
21919         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
21920         causing use of <= assignments.  Reported by Alex Reed.
21921         (verilog-read-decls): Fix triand, trior, wand, wor to be
21922         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
21923         (verilog-extended-complete-re): Support import "DPI-C" functions.
21924         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
21925         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
21926         (verilog-insert-date, verilog-insert-year)
21927         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
21928         Windows systems.  Reported by Michael Potts.
21929         (verilog-read-module-name): Fix AUTOINST when the child module
21930         declaration's name is a tick define.  Reported by Elliot Mednick.
21931         (verilog-read-decls): Fix V2K parameter bit subscripts getting
21932         passed to next parameter's definition.  Reported by Bruce T.
21933         (verilog-read-decls): Fix detecting "parameter int" when using
21934         AUTOINSTPARAM.  Reported by Bruce T.
21935         (verilog-goto-defun): Fix goto not finding modules unless first
21936         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
21937         (verilog-mode): Expand -f flag arguments on entry to mode so
21938         verilog-goto-defun will work.  Reported by Lawrence Butcher.
21939         (verilog-getopt): Expand environment variables in -f file
21940         arguments.  Suggested by Lawrence Butcher.
21941         (verilog-set-define): Fix "Symbol's value as variable is void"
21942         when reading enumerations.
21943         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
21944         Suggested by Stephen Peltan.
21945         (verilog-read-defines): Fix reading of enumerations in include
21946         files.  Reported by Steve Peltan.
21948 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
21950         * files.el (trash-directory): Fix defcustom type.
21952 2009-06-28  Juri Linkov  <juri@jurta.org>
21954         * help-fns.el (describe-function-1): Correctly locate adviced
21955         functions in hyperlink (Bug#2438).
21957 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
21959         * files.el (trash-directory): Change default to nil.
21960         (move-file-to-trash): If trash-directory is nil and
21961         system-move-file-to-trash is unbound, perform freedesktop-style
21962         trashing.
21964 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
21966         * files.el (move-file-to-trash): Add freedesktop trash
21967         support (Bug#973).
21969 2009-06-28  Glenn Morris  <rgm@gnu.org>
21971         * autorevert.el (global-auto-revert-non-file-buffers)
21972         (global-auto-revert-mode): Doc fixes.
21974 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
21976         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
21978 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
21980         * faces.el (x-handle-named-frame-geometry): Ensure that we have
21981         opened an X connection before calling x-get-resource (Bug#3194).
21983         * play/doctor.el: Remove reference to obsolete website.
21984         (make-doctor-variables): Correct grammar mistake (Bug#2633).
21986 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
21988         Remove find-file-not-found-hook VC method.  (Bug#2757)
21989         * vc-hooks.el (vc-file-not-found-hook)
21990         (vc-default-find-file-not-found-hook): Remove functions.
21991         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
21992         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
21993         * vc.el:
21994         * vc-hg.el:
21995         * vc-git.el: Do not mention find-file-not-found-hook VC method.
21997 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
21999         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
22000         compatibility function for `looking-back'.
22002         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
22003         Use `ispell-looking-back'.
22005 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
22007         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
22008         rather than `filename'.
22010 2009-06-23  Miles Bader  <miles@gnu.org>
22012         * face-remap.el (text-scale-set): New function.
22014 2009-06-23  Glenn Morris  <rgm@gnu.org>
22016         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
22018         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
22020         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
22022         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
22024         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
22025         Simplify Persian conditionals.
22027         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
22028         variable `filename'.
22030         * comint.el (comint-insert-input): Doc fix.
22032         * Makefile.in (ELCFILES): Fix typo in previous change.
22034 2009-06-23  Miles Bader  <miles@gnu.org>
22036         * cus-start.el: Add entry for `recenter-redisplay'.
22038 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
22040         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
22041         Add an optional argument for the backend, use it instead of
22042         calling vc-backend.
22043         (vc-mode-line): Add an optional argument for the backend.
22044         Pass the backend to vc-state and vc-working-revision.  Move code for
22045         special handling for vc-state being a buffer to ...
22047         * vc-rcs.el (vc-rcs-find-file-hook):
22048         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
22050         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
22051         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
22052         vc-stay-local-p and vc-mode-line calls.
22054         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
22055         (vc-cvs-diff, vc-cvs-annotate-command)
22056         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
22057         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
22058         vc-mode-line calls.
22060         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
22061         direct comparison.
22062         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
22063         backend when calling vc-mode-line.
22064         (vc-register): Do not create a closure for calling the vc register
22065         function, call it directly.
22067 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
22069         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
22070         to make it obvious item can be clicked.
22072         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
22074 2009-06-23  Kenichi Handa  <handa@m17n.org>
22076         * language/korea-util.el (korean-key-bindings): Change the binding
22077         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
22078         same command.
22080 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
22082         Sync with Tramp 2.1.16.
22084         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
22086         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
22087         when a loading of a package fails.  Completion function for rsync
22088         is `tramp-completion-function-alist-ssh'.
22089         (all): Replace all calls of `split-string' and
22090         `tramp-split-string' by `tramp-compat-split-string'.
22091         (tramp-default-method): Use `tramp-compat-process-running-p'.
22092         (tramp-default-proxies-alist): Allow also Lisp forms.
22093         (tramp-remote-path): Add choice "Private Directories".
22094         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
22095         (tramp-domain-regexp): Allow also "-", "_" and ".".
22096         (tramp-end-of-output): Remove newlines, and add "$" at the end.
22097         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
22098         (tramp-debug-message): Insert header line in debug buffer.
22099         (tramp-handle-directory-files-and-attributes-with-stat):
22100         Care about filenames with spaces, or starting with "-".
22101         (tramp-handle-dired-uncache): New defun.
22102         (tramp-handle-insert-directory): Don't flush the directory from
22103         cache, this is handled by `dired-uncache' now.
22104         (tramp-handle-insert-file-contents): Improve error handling.
22105         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
22106         Quote `tramp-end-of-output'.
22107         (tramp-action-password): Improve trace message.
22108         (tramp-check-for-regexp): Both echoes must be present, before removing.
22109         (tramp-open-connection-setup-interactive-shell): Trace coding system.
22110         (tramp-compute-multi-hops): Eval cons cells of
22111         `tramp-default-proxies-alist'.
22112         (tramp-maybe-open-connection): Use the same command pattern for
22113         first hop and further hops.
22114         (tramp-wait-for-output): Remove handling of newlines.
22115         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
22116         (tramp-split-string): Remove function.  It is handled in
22117         tramp-compat now.
22119         * net/tramp-cmds.el (tramp-bug):
22120         Recommend `tramp-cleanup-all-connections' in the bug mail.
22122         * net/tramp-compat.el (tramp-compat-split-string)
22123         (tramp-compat-process-running-p): New defuns.
22125         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
22126         for `dired-uncache'.
22128         * net/tramp-gvfs.el: New package.
22130         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
22131         Add handler for `dired-uncache'.
22132         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
22134         * net/trampver.el: Update release number.  Make version check fit
22135         for SXEmacs 22.
22137 2009-06-22  Jim Meyering  <meyering@redhat.com>
22139         Automatically handle .xz suffix (XZ-compressed files), too.
22140         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
22141         XZ is the successor to LZMA: <http://tukaani.org/xz/>
22143 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
22144             Nick Roberts  <nickrob@snap.net.nz>
22146         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
22147         repository (http://sphinx.net.ru/hg/gdb-mi/).
22149 2009-06-22  Glenn Morris  <rgm@gnu.org>
22151         * files.el (dir-locals-collect-mode-variables): Allow for any number of
22152         `mode' and `eval' entries.  (Bug#3430)
22154         * Makefile.in (ELCFILES): Add fadr.elc.
22156         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
22157         differing behavior of \n and ^ in strings.  (Bug#3385)
22159         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
22161         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
22162         property.
22163         (lisp-indent-function): Make it a defcustom.
22165 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
22167         * progmodes/gdb-ui.el: Replace with ...
22168         * progmodes/gdb-mi.el: ... this file.
22169         * progmodes/gud.el: Modify for gdb-mi.el.
22171 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
22173         * fadr.el: New file.
22175 See ChangeLog.14 for earlier changes.
22177 ;; Local Variables:
22178 ;; coding: utf-8
22179 ;; End:
22181   Copyright (C) 2009-2011  Free Software Foundation, Inc.
22183   This file is part of GNU Emacs.
22185   GNU Emacs is free software: you can redistribute it and/or modify
22186   it under the terms of the GNU General Public License as published by
22187   the Free Software Foundation, either version 3 of the License, or
22188   (at your option) any later version.
22190   GNU Emacs is distributed in the hope that it will be useful,
22191   but WITHOUT ANY WARRANTY; without even the implied warranty of
22192   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22193   GNU General Public License for more details.
22195   You should have received a copy of the GNU General Public License
22196   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.