Merge changes from emacs-23 branch
[emacs.git] / lisp / ChangeLog
blob55f0b52bb41bccbf0365182cadb0f582d889dc8a
1 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
3         * emerge.el (emerge-metachars): Separate value for ms-dos and
4         windows-nt systems.
5         (emerge-protect-metachars): Quote correctly for ms-dos and
6         windows-nt systems.
8 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
10         * info.el (info-initialize): Replace all uses of `:' with
11         path-separator for compatibility with non-Unix systems.
12         Cache quoting of path-separator.  (Bug#8258)
14 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
16         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
17         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
18         (mouse-avoidance-mode): Fix typos in docstrings.
20 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
22         * startup.el (package-subdirectory-regexp): Move from package.el.
23         Omit \\` and \\', and let callers add them.
25         * emacs-lisp/package.el (package-strip-version)
26         (package-load-all-descriptors): Add \\` and \\' to
27         package-subdirectory-regexp before using it.
28         (package-untar-buffer): New arg DIR; ensure that file untars only
29         into this expected directory.  Remove superfluous delete-region.
30         (package-unpack): Caller changed.
31         (package-tar-file-info): Use package-subdirectory-regexp.
33 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
35         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
36         diff-mode-shared-map (bug#8284).
37         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
39 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
41         * calendar/time-date.el (format-seconds): Use assoc instead of
42         assoc-string, since assoc-string doesn't exist in XEmacs.
44 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
46         * custom.el (custom-known-themes): Reflow docstring.
47         (custom-theme-load-path): Fix typo in docstring.
48         (load-theme): Fix typo in error message.
49         (custom-available-themes, custom-variable-theme-value):
50         Use `let', not `let*'.
52 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
54         * calc/README: Mention inclusion of musical notes.
56         * calc/calc-units.el (calc-lu-quant): Rename from
57         `calc-logunits-quantity'.
58         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
59         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
60         (calc-db): Rename from `calc-dblevel'.
61         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
62         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
63         (calc-np): Rename from `calc-nplevel'.
64         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
65         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
66         (calc-lu-plus): Rename from `calc-logunits-add'.
67         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
68         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
69         (calc-lu-minus): Rename from `calc-logunits-sub'.
70         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
71         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
72         (calc-lu-times): Rename from `calc-logunits-mul'.
73         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
74         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
75         (calc-lu-divide): Rename from `calc-logunits-div'.
76         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
77         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
79         * calc/calc-ext.el (calc-init-extensions): Update the names of the
80         functions being autoloaded.
82         * calc/calc.el (calc-lu-power-reference): Rename from
83         `calc-logunits-power-reference'.
84         (calc-lu-field-reference): Rename from
85         `calc-logunits-field-reference'.
87         * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
89 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
91         * minibuffer.el (completion-all-sorted-completions):
92         Use :completion-cycle-penalty text property if present.
94 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
96         * allout.el (allout-yank-processing): Adjust for new rebulleting
97         regime so bullet being yanked is used without prompting the user
98         for a choice.
100 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
102         * startup.el (command-line): Warn the user that _emacs is deprecated.
104 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
106         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
107         (delphi-verbose, delphi-comment-face, delphi-string-face)
108         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
109         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
110         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
111         (delphi-new-comment-line, delphi-font-lock-defaults)
112         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
113         Fix typos in docstrings.
115 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
117         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
118         Invert the roles of character and string values for INSTEAD, so a
119         string is used for the more common case of a defaulting prompt.
121 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
123         * progmodes/ruby-mode.el (ruby-backward-sexp):
124         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
125         * play/gamegrid.el (gamegrid-make-face):
126         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
127         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
128         * notifications.el (notifications-notify):
129         * net/xesam.el (xesam-search-engines):
130         * net/quickurl.el (quickurl-list-insert):
131         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
133 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
135         * startup.el (command-line): Update package subdirectory regexp.
137 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
139         * allout.el (allout-abbreviate-flattened-numbering)
140         (allout-mode-deactivate-hook): Fix up obsolescence "date".
142         * subr.el (read-char-choice): Only show the cursor after the prompt,
143         not after the answer.
145 2011-03-15  Kevin Ryde  <user42@zip.com.au>
147         * help-fns.el (variable-at-point): Skip leading quotes, if any
148         (bug#8253).
150 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
152         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
153         warning message.
155 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
157         * shell.el (shell): When called interactively, offer to change the
158         shell file name on remote hosts.
160 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
162         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
163         integration for LDAP parameters.  The host, base, user or binddn,
164         and secret tokens can be specified in a netrc file, for instance.
165         This is optional because an `auth-source' parameter must be
166         specified in the search attributes.
168 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
170         * help.el (describe-mode): Link to the mode's definition (bug#8185).
172 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
174         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
175         into declaration.  Remove redundant and harmful binding.
177 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
179         * files.el (file-ownership-preserved-p): Pass `integer' as an
180         explicit 2nd argument to `file-attributes'.  If the file's owner
181         is the Administrators group on Windows, and the current user is
182         Administrator, consider that a match.
184         * server.el (server-ensure-safe-dir): Consider server directory
185         safe on MS-Windows if its owner is the Administrators group while
186         the current Emacs user is Administrator.  Use `=' to compare
187         numerical UIDs, since they could be integers or floats.
189 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
191         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
193 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
195         Sync with Tramp 2.2.1.
197         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
199         * net/trampver.el: Update release number.
201 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
203         * progmodes/compile.el (compilation--previous-directory): Fix up
204         various nil/dead-marker mismatches (bug#8014).
205         (compilation-directory-properties, compilation-error-properties):
206         Don't call it at a position past the one we're about to change.
208         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
209         Disable obsolescence warnings in the file that declares it.
211 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
213         * allout-widgets.el (allout-widgets-tally): Initialize
214         allout-widgets-tally as a hash table rather than nil to prevent
215         mode-line redisplay warnings.
216         Also, clarify the module description and fix a comment typo.
218 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
220         * help-fns.el (describe-variable): Don't complete keywords.
221         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
223 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
225         * emacs-lisp/package.el (package-version-join): Impose a standard
226         string representation for pre/alpha/beta version lists.
227         (package-unpack-single): Standardize the directory name by passing
228         it through package-version-join.
229         (package-strip-rcs-id): Accept any version string that does not
230         signal an error in version-to-list.
232 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
234         * simple.el (delete-trailing-whitespace): Return nil for the
235         benefit of `write-file-functions'.
237 2011-03-10  Glenn Morris  <rgm@gnu.org>
239         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
241         * vc/vc-git.el (vc-git-program): New option.
242         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
243         (vc-git--call): Use it.
245         * eshell/esh-util.el (eshell-condition-case): Doc fix.
247         * cus-edit.el (Custom-newline): If no button at point, look
248         for a subgroup button at start-of-line.  (Bug#2298)
250         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
252 2011-03-10  Julien Danjou  <julien@danjou.info>
254         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
255         `cursor-type' is nil.
257 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
259         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
261 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
263         * allout.el Summary: Change so yank of distinctive-bullet items
264         preserves the existing header prefix, rebulleting it if necessary,
265         rather than replacing it.  This is necessary for proper operation
266         of cooperative addons like allout-widgets.
267         (allout-make-topic-prefix, allout-rebullet-heading): Change
268         SOLICIT arg to INSTEAD, and interpret additionally a string value
269         as alternate bullet to be used, instead of prompting the user for
270         a bullet character.
272 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
274         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Do
275         not use `tramp-file-name-port', because this returns also
276         `tramp-default-port'.
278 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
280         * net/rcirc.el (rcirc-handler-001): Remove useless
281         with-rcirc-process-buffer.
282         (rcirc-check-auth-status): Swap arguments to string-match.
284 2011-03-09  Glenn Morris  <rgm@gnu.org>
286         * shell.el (shell-mode):
287         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
289         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
290         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
292 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
294         * emacs-lisp/package.el (package-refresh-contents)
295         (package-menu-execute): Use condition-case-no-debug.
297 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
299         * simple.el (shell-command-to-string): Use `process-file'.
301         * emacs-lisp/package.el (package-tar-file-info): Handle also
302         remote files.
304         * emacs-lisp/package-x.el (package-upload-buffer-internal): Use
305         `equal' for upload base check.
307 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
309         * textmodes/texinfo.el (texinfo-environments):
310         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
312 2011-03-08  Glenn Morris  <rgm@gnu.org>
314         * cus-start.el (cursor-in-non-selected-windows):
315         Fix :set quoting oddness.  (Bug#8192)
317         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
318         in some setf expressions.  (Bug#2159)
320 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
322         * custom.el (custom-available-themes): Return themes in
323         alphabetical order.
325 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
327         * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
328         application of patch from Alan Mackenzie (Bug#7595).
330 2011-03-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
332         * net/rcirc.el (rcirc-connect): Fix PASS bug.
334 2011-03-07  Glenn Morris  <rgm@gnu.org>
336         * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
337         Give an explicit error if failed to make writable.  (Bug#6146)
339 2011-03-07  Ed Reingold  <reingold@emr.cs.iit.edu>
341         * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
342         Add optional `after-sunset' argument.  (Bug#8190)
344 2011-03-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
346         * play/morse.el (nato-alphabet, nato-region, denato-region):
347         New variable and functions.  (Bug#2288)
348         (morse-region, unmorse-region): Barf if read-only.
350 2011-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
352         * progmodes/gud.el (gdb-script-syntax-propertize-function):
353         Don't change the syntax of a \n that closes a comment (bug#8169).
355 2011-03-06  Chong Yidong  <cyd@stupidchicken.com>
357         * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
358         defcustom.
359         (package--update-file): Doc fix.  Accept relative file names.
360         (package--archive-contents-from-file): Remove the argument, since
361         it's necessarily always "archive-contents".
362         (package-maint-add-news-item): Pass relative file name args to
363         package--update-file.
364         (package-upload-buffer-internal): Prompt for a destination if
365         package-archive-upload-base is invalid.  Create the directory if
366         it does not exist.
367         (package-upload-buffer, package-upload-file): Doc fix.
369 2011-03-06  Chong Yidong  <cyd@stupidchicken.com>
371         * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
372         and move isearch-yank-line to M-s C-e (Bug#8183).
374 2011-03-06  Alan Mackenzie  <acm@muc.de>
376         * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
377         (c-guess-basic-syntax): Move CASE 19 to a different place,
378         correctly to process template-args-cont lines.
380 2011-03-06  Jay Belanger  <jay.p.belanger@gmail.com>
382         * calc/calc-ext.el (calc-init-extensions):
383         Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
384         and calc-nplevel, respectively.  Add keybindings for calc-spn,
385         calc-midi and calc-freq.  Add autoloads for calcFunc-spn,
386         calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
388         * calc/calc-units.el (calc-dblevel): Rename from
389         calc-logunits-dblevel.
390         (calc-nplevel): Rename from calc-logunits-nplevel.
391         (math-midi-round, math-freqp, math-midip, math-spnp)
392         (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
393         (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
394         (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
395         (math-notes): New variable.
397         * calc/calc.el (calc-note-threshold): New variable.
399 2011-03-06  Chong Yidong  <cyd@stupidchicken.com>
401         * emacs-lisp/package.el (package-archives): Accept either ordinary
402         directory names, in addition to HTTP URLs.
403         (package--with-work-buffer): New macro.   Handle normal directories.
404         (package-handle-response): Don't display the failing buffer.
405         (package-download-single, package-download-tar)
406         (package--download-one-archive): Use package--with-work-buffer.
407         (package-archive-base): Rename from package-archive-url.
409 2011-03-06  Glenn Morris  <rgm@gnu.org>
411         * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
412         (xmodmap-generic-mode): Respect generic-extras-enable-list.
414 2011-03-06  Daniel Clemente  <dcl441-bugs@yahoo.com>  (tiny change)
416         * generic-x.el (xmodmap-generic-mode): New.  (Bug#2065)
418 2011-03-06  Juanma Barranquero  <lekktu@gmail.com>
420         * allout.el (allout-init, allout-prefixed-keybindings)
421         (allout-unprefixed-keybindings):
422         * progmodes/prolog.el (prolog-find-term):
423         Fix typos in docstrings.
425 2011-03-06  Nikolaj Schumacher  <me@nschum.de>  (tiny change)
427         * emacs-lisp/elp.el (elp-results): Fix off-by-one in header.  (Bug#2746)
429 2011-03-06  Kevin Ryde  <user42@zip.com.au>
431         * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc.  (Bug#5326)
433 2011-03-06  Michael Shields  <shields@msrl.com>  (tiny change)
435         * window.el (one-window-p, walk-windows, display-buffer):
436         Doc fixes.  (Bug#5567)
438 2011-03-06  Jay Belanger  <jay.p.belanger@gmail.com>
440         * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
441         of the variable if it exists.
443 2011-03-06  Juanma Barranquero  <lekktu@gmail.com>
445         * bookmark.el:
446         * desktop.el:
447         * emacs-lock.el:
448         * ps-print.el:
449         * saveplace.el:
450         * net/tramp-cache.el:
451         * obsolete/fast-lock.el:
452         * textmodes/reftex.el:
453         Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
455 2011-03-05  Antoine Levitt  <antoine.levitt@gmail.com>
457         * files.el (delete-directory, copy-directory, list-directory):
458         Use read-directory-name.
460         * find-file.el (ff-find-the-other-file):
461         * net/ange-ftp.el (ange-ftp-make-directory):
462         * printing.el (pr-interactive-dir):
463         * progmodes/ada-prj.el (ada-prj-load-directory):
464         * progmodes/ebnf2ps.el (ebnf-print-directory)
465         (ebnf-spool-directory, ebnf-eps-directory)
466         (ebnf-syntax-directory):
467         * shell.el (shell):
468         * speedbar.el (speedbar-create-directory):
469         * vc/emerge.el (emerge-merge-directories):
470         * vc/vc-dir.el (vc-dir):
471         * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
473 2011-03-05  Chong Yidong  <cyd@stupidchicken.com>
475         * help-mode.el (help-buffer): If we are to return the current
476         buffer, signal an error if it's not in Help mode (Bug#8147).
478 2011-03-05  Reuben Thomas  <rrt@sc3d.org>
480         * files.el (file-name-version-regexp): Handle backup files of the
481         form `foo.js.~HEAD~1~' (Bug#8159).
483 2011-03-05  Glenn Morris  <rgm@gnu.org>
485         * eshell/esh-var.el: Don't require esh-test when compiling.
486         * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
487         * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
488         * eshell/esh-test.el: Move to ../../test/eshell.el.
490 2011-03-05  David Engster  <deng@randomsample.de>
492         * files.el (save-some-buffers): Report the names of buffers saved
493         automatically due to buffer-save-without-query (Bug#8134).
495 2011-03-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
497         * net/rcirc.el: Add QuakeNet authentication support.
498         (rcirc-authinfo, rcirc-check-auth-status)
499         (rcirc-authenticate): Support QuakeNet.
501 2011-03-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
503         * net/rcirc.el: Add functionality to authenticate before
504         autojoining channels.
505         (rcirc-authenticate-before-join): New option.
506         (rcirc-authenticated-hook): New variable.
507         (rcirc-connect): Make local variable rcirc-user-authenticated.
508         (rcirc-handler-001): Respect rcirc-authenticate-before-join.
509         (rcirc-check-auth-status, rcirc-join-channels-post-auth):
510         New functions.
511         (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
512         Call rcirc-check-auth-status.
514 2011-03-05  Alex Harsanyi  <AlexHarsanyi@gmail.com>
516         * net/soap-client.el (soap-namespace-put-link): Check if the target
517         name is fully qualified -- use only the name part.
518         (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
519         types, treated the same as xsd:sequence.  (Bug#8166)
521 2011-03-05  Eli Zaretskii  <eliz@gnu.org>
523         * files.el (find-file-noselect): Don't ask about re-visiting
524         non-literally if the file is already visited in image-mode.
525         (Bug#8177)
527 2011-03-05  Glenn Morris  <rgm@gnu.org>
529         * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
530         (eshell-mode): Use eshell-kill-buffer-function.
531         Run the -initialize functions independently of the -load-hooks.
532         * eshell/esh-proc.el (eshell-kill-process-function): New function.
533         (eshell-gather-process-output, eshell-sentinel)
534         (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
535         Use eshell-kill-process-function.
536         * eshell/em-alias.el (eshell-alias-load-hook):
537         * eshell/em-banner.el (eshell-banner-load-hook):
538         * eshell/em-cmpl.el (eshell-cmpl-load-hook):
539         * eshell/em-dirs.el (eshell-dirs-load-hook):
540         * eshell/em-glob.el (eshell-glob-load-hook):
541         * eshell/em-hist.el (eshell-hist-load-hook):
542         * eshell/em-pred.el (eshell-pred-load-hook):
543         * eshell/em-prompt.el (eshell-prompt-load-hook):
544         * eshell/em-rebind.el (eshell-rebind-load-hook):
545         * eshell/em-script.el (eshell-script-load-hook):
546         * eshell/em-smart.el (eshell-smart-load-hook):
547         * eshell/em-term.el (eshell-term-load-hook):
548         * eshell/em-unix.el (eshell-unix-load-hook):
549         * eshell/esh-arg.el (eshell-arg-load-hook):
550         * eshell/esh-cmd.el (eshell-cmd-load-hook):
551         * eshell/esh-ext.el (eshell-ext-load-hook):
552         * eshell/esh-io.el (eshell-io-load-hook):
553         * eshell/esh-mode.el (eshell-exit-hook):
554         * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
555         * eshell/esh-var.el (eshell-var-load-hook):
556         Set default hook values to nil.  (Bug#5375)
558         * eshell/esh-module.el (eshell-module-unload-hook)
559         (eshell-modules-list): Remove leading * from defcustom docs.
561         * eshell/esh-util.el (eshell-for): Make it obsolete.
562         * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
563         * eshell/em-dirs.el (eshell-save-some-last-dir):
564         * eshell/em-hist.el (eshell-save-some-history)
565         (eshell-hist-parse-modifier):
566         * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
567         (eshell-ls-entries):
568         * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
569         * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
570         (eshell/which):
571         * eshell/esh-ext.el (eshell-find-interpreter):
572         * eshell/esh-mode.el (eshell-mode):
573         * eshell/esh-module.el (eshell-unload-extension-modules):
574         * eshell/esh-proc.el (eshell-process-interact):
575         * eshell/esh-test.el (eshell-test):
576         * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
577         * eshell/esh-var.el (eshell/env, eshell-environment-variables)
578         (eshell-variables-list):
579         * eshell/eshell.el (eshell-unload-all-modules):
580         Replace eshell-for with dolist.
582 2011-03-04  Glenn Morris  <rgm@gnu.org>
584         * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0.  (Bug#8170)
586 2011-03-04  Tom Tromey  <tromey@redhat.com>
588         * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
590 2011-03-04  Glenn Morris  <rgm@gnu.org>
592         * outline.el (outline-regexp): No longer allow nil.
593         (outline-heading-end-regexp): Add safety predicate.  (Bug#7619)
595         * net/browse-url.el (browse-url):
596         Handle deleted default-directory.  (Bug#6077)
598         * recentf.el (recentf-include-p): In case of a buggy predicate,
599         err on the side of including, not excluding.  (Bug#5843)
601 2011-03-04  Jay Belanger  <jay.p.belanger@gmail.com>
603         * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
604         variables as units.
606 2011-03-04  Bob Rogers  <rogers@rgrjr.dyndns.org>
608         * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
609         if there is no node.  (Bug#3261)
611 2011-03-04  Leo  <sdl.web@gmail.com>
613         * vc/diff-mode.el (diff-mode): Fix whitespace-style.  (Bug#8139)
615         * time.el (display-time-world-list): Fix typo.  (Bug#7571)
617 2011-03-04  Zachary Kanfer  <zkanfer@gmail.com>  (tiny change)
619         * cus-edit.el (custom-buffer-create-internal):
620         Split search string before passing it to `customize-apropos' (bug#8136).
622 2011-03-04  Drew Adams  <drew.adams@oracle.com>
624         * image-dired.el (image-dired-cmd-read-exif-data-options):
625         Fix typo in docstring (bug#8156).
627 2011-03-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
629         * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
631 2011-03-03  Christian Ohler  <ohler@gnu.org>
633         * emacs-lisp/ert.el (ert--explain-equal): New function.
634         (ert--explain-equal-rec): Renamed from `ert--explain-not-equal'.
635         All callers changed.
636         (ert--explain-equal-including-properties): Renamed from
637         `ert--explain-not-equal-including-properties'.  All callers
638         changed.
640 2011-03-03  Christian Ohler  <ohler@gnu.org>
642         * emacs-lisp/ert.el (ert--stats-set-test-and-result)
643         (ert-char-for-test-result, ert-string-for-test-result)
644         (ert-run-tests-batch, ert--print-test-for-ewoc):
645         Handle `ert-test-quit'.
647 2011-03-03  David Abrahams  <dave@boostpro.com>  (tiny change)
649         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
650         Move ediff-defvar-local calls after defcustoms.  (Bug#1821)
652 2011-03-03  Glenn Morris  <rgm@gnu.org>
654         * files.el (file-truename): Doc fix.  (Bug#2341)
656 2011-03-03  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
658         * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
660 2011-03-03  Vagn Johansen  <gonz808@hotmail.com>  (tiny change)
662         * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
663         programs output backslashes.  (Bug#7663)
665 2011-03-03  Glenn Morris  <rgm@gnu.org>
667         * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
668         (mail-mode): Remove mail-sent-via from the doc.
669         (mail-sent-via): Make it obsolete.  (Bug#1776)
671         * progmodes/grep.el (grep-highlight-matches): Doc fix.
672         (grep-process-setup): No highlighting without font-lock.  (Bug#8084)
674         * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
675         with no parents.  (Bug#8025)
677 2011-03-02  Teodor Zlatanov  <tzz@lifelogs.com>
679         * password-cache.el (password-in-cache-p): Add autoload.
681 2011-03-02  Glenn Morris  <rgm@gnu.org>
683         * man.el (Man-support-local-filenames): Also handle Red Hat's man.
684         * dired-x.el (Man-support-local-filenames): Autoload it.
685         (dired-guess-shell-alist-default): Also handle Red Hat's man.
687         * dired-x.el (dired-default-directory-alist, dired-default-directory):
688         Mark as obsolete.
689         (dired-smart-shell-command): Just call dired-current-directory.
691         * dired-x.el (dired-jump-other-window): Add autoload.
692         (dired-default-directory-alist, dired-default-directory): Doc fixes.
693         (dired-default-directory-alist): Mark as risky.
695         * dired-x.el (dired-omit-here-always): Make it obsolete.
697 2011-03-02  Chong Yidong  <cyd@stupidchicken.com>
699         * textmodes/artist.el (artist-curr-go): Default to pen-line.
700         (artist-select-op-pen-line): New function.
701         (artist-menu-map): New variable.
702         (artist-mode-map): Add a menu to the menu-bar.
704 2011-03-02  Jay Belanger  <jay.p.belanger@gmail.com>
706         * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
707         when evaluating.
709         * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
710         New function.
711         (math-logunits-add, math-logunits-mul, math-logunits-divide):
712         (math-logunits-quant, math-logunits-level):
713         Use `math-conditional-apply' and `math-conditional-pow' to evaluate
714         functions.
715         (math-logunits-level): Extract units from ratio.
717 2011-03-01  Juanma Barranquero  <lekktu@gmail.com>
719         * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
721 2011-03-01  Glenn Morris  <rgm@gnu.org>
723         * calendar/cal-hebrew.el (calendar-hebrew-birthday)
724         (diary-hebrew-birthday): Rename and rework functions added
725         in previous change.
727 2011-03-01  Ed Reingold  <reingold@emr.cs.iit.edu>
729         * calendar/cal-hebrew.el (hebrew-calendar-birthday)
730         (diary-hebrew-birthday): New functions.
732 2011-03-01  Glenn Morris  <rgm@gnu.org>
734         * dired.el (dired-safe-switches-p): Beef it up.
735         (dired-actual-switches): Use it for the safe-local prop.  (Bug#3230)
737 2011-03-01  Stefan Monnier  <monnier@iro.umontreal.ca>
739         * dired.el (dired-safe-switches-p): New function.
741 2011-03-01  Glenn Morris  <rgm@gnu.org>
743         * files.el (dir-locals-collect-variables):
744         Add the ability to exclude subdirectories.  (Bug#8100)
746         * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
748 2011-02-28  Christoph Scholtes  <cschol2112@googlemail.com>
750         * ido.el (ido-everywhere): Doc fix.
751         (ido-mode): Doc fix.
753 2011-02-28  Glenn Morris  <rgm@gnu.org>
755         * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
757 2011-02-28  Michael Albinus  <michael.albinus@gmx.de>
759         * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
760         shadows.
762 2011-02-28  Antoine Levitt  <antoine.levitt@gmail.com>
764         * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
766 2011-02-28  Juanma Barranquero  <lekktu@gmail.com>
768         * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
769         Fix typos in docstrings.
771 2011-02-28  Stephen Berman  <stephen.berman@gmx.net>
773         * dired-aux.el (dired-update-file-line):
774         Fix 2010-11-09 change.  (Bug#8131)
776 2011-02-28  Eli Zaretskii  <eliz@gnu.org>
778         * international/mule-cmds.el (set-default-coding-systems): Use the
779         -unix variant of encoding in default-keyboard-coding-system.
780         (Bug#8122)
782 2011-02-27  Chong Yidong  <cyd@stupidchicken.com>
784         * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
786 2011-02-27  Prestoo Ten  <prestooten@gmail.com>  (tiny change)
788         * term/screen.el: New file (Bug#2650).
790 2011-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
792         * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
793         (pcase-mutually-exclusive-predicates): New var.
794         (pcase--split-consp, pcase--split-pred): Use it.
795         (pcase--split-equal, pcase--split-member): When splitting against
796         a pure predicate, run it to know the outcome.
797         (pcase--u1): Mark vars that are actually used.
798         (pcase--q1): Avoid introducing unused vars.
800 2011-02-27  Jay Belanger  <jay.p.belanger@gmail.com>
802         * calc/calc-ext.el (calc-init-extensions):
803         Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
805         * calc/calc-math.el (calcFunc-log10): Don't signal an error in
806         symbolic mode.
808         * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
809         argument is a variable.
811 2011-02-26  Stefan Monnier  <monnier@iro.umontreal.ca>
813         * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
814         (aput, adelete, amake): Replace `eval' -> `symbol-value'.
815         Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
817 2011-02-25  Teodor Zlatanov  <tzz@lifelogs.com>
819         * password-cache.el (password-in-cache-p): Convenience function to
820         check if a key is in the cache, even if the value is nil.
822 2011-02-25  Jambunathan K  <kjambunathan@gmail.com>
824         * emacs-lisp/package-x.el (package--archive-contents-from-url)
825         (package--archive-contents-from-file): New functions.
826         (package-update-news-on-upload): New var.
827         (package-upload-buffer-internal): Extract archive-contents from
828         package-archive-upload-base if it is not found at archive-url.
829         Obey package-update-news-on-upload.
830         (package-upload-buffer, package-upload-file): Doc fix.
832 2011-02-24  Glenn Morris  <rgm@gnu.org>
834         * files-x.el (modify-dir-local-variable): Handle dir-locals from
835         the cache, and from non-file sources.
837         * help-fns.el (describe-variable): Return consistent results when a
838         dir-local from a file came from the cache or did not.  (Bug#8095)
839         If a dir-local has no associated file, say it came from a "directory".
841         * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
842         (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
844         * files.el (dir-locals-find-file): Doc fix.
845         Fix the check for cache elements that have no associated file,
846         and the mtime check for those that do.  (Bug#8095)
848         * dired-x.el (dired-hack-local-variables):
849         Handle interrupts during hacking local variables.  (Bug#5216)
851         * emacs-lisp/autoload.el (autoload-save-buffers)
852         (autoload-find-destination, update-directory-autoloads):
853         Avoid prompts when updating autoloads.
855 2011-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
857         * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
859 2011-02-23  Kenichi Handa  <handa@m17n.org>
861         * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
862         error when a multipart boundary in the nested multipart is found.
864         * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
865         header components.
867 2011-02-23  Glenn Morris  <rgm@gnu.org>
869         * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
870         * dired-x.el (dired-omit-mode): Safe if boolean.
871         (dired-enable-local-variables): Fix doc and custom type.
872         (dired-enable-local-variables, dired-local-variables-file)
873         (dired-hack-local-variables): Make obsolete.
874         (dired-omit-here-always): Use dir-locals.el instead.
876         * files.el (safe-local-eval-forms): Add the write-file-hooks version.
878 2011-02-22  Stefan Monnier  <monnier@iro.umontreal.ca>
880         * help-fns.el (describe-function-1): Don't signal an error just because
881         the DOC file disappeared.
883 2011-02-22  Seppo Sade  <sepposade1@gmail.com>  (tiny change)
885         * eshell/esh-ext.el (eshell-external-command): Do not restrict
886         remote check to "ftp".  (Bug#8089)
888 2011-02-21  Alan Mackenzie  <acm@muc.de>
890         Fix bug #7930.
891         * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
892         in macros finding their way into c-state-nonlit-pos-cache.
893         Strengthen the comments.
894         (c-state-dump): New commented out diagnostic routine.
896 2011-02-21  Michael Albinus  <michael.albinus@gmx.de>
898         * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
899         `field' property of `rfn-eshadow-overlay'.
901 2011-02-21  Lars Ingebrigtsen  <larsi@gnus.org>
903         * net/netrc.el (netrc-parse): Comment fix.
905 2011-02-21  Chong Yidong  <cyd@stupidchicken.com>
907         * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
908         Autoload.  Add optional arg FRAME, and pass it to color-values.
909         (color-complement): Caller changed.  Doc fix.
910         (color-gradient): Rewrite for better clarity and efficiency.
912         * faces.el (color-values): Use cond for clarity.  Doc fix.
914         * facemenu.el (color-rgb-to-hsv): Delete; use the version in
915         color.el instead.
916         (list-colors-sort-key, list-colors-print):
917         Use color-normalized-values.
919 2011-02-20  Drew Adams  <drew.adams@oracle.com>
921         * color.el: First part of merge from hexrgb.el.
922         (color-rgb-to-hex): Rename from color-rgb->hex.
923         (color-rgb-to-hsv): Rename from color-rgb->hsv.  Force hue and
924         saturation to zero if the value is too small.
925         (color-rgb-to-hsl): Rename from color-rgb->hsl.
926         (color-srgb-to-xyz): Rename from color-srgb->xyz.  Doc fix.
927         (color-xyz-to-srgb): Rename from color-xyz->srgb.  Doc fix.
928         (color-xyz-to-lab): Rename from color-xyz->lab.  Doc fix.
929         (color-lab-to-xyz): Rename from color-lab->xyz.  Doc fix.
930         (color-lab-to-srgb): Rename from color-lab->srgb.  Doc fix.
931         (color-cie-de2000): Doc fix.
933 2011-02-20  Alan Mackenzie  <acm@muc.de>
935         * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
936         locating the beginning of a macro.  (Bug#7595)
938 2011-02-20  Glenn Morris  <rgm@gnu.org>
940         * edmacro.el (edmacro-eight-bits): Make it a defcustom.
941         Don't autoload it.
943         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
944         (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
946 2011-02-19  Dmitry Bolshakov  <dmitry.bolshakov@bridge-quest.com>
947             Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
949         * progmodes/hideshow.el (hs-find-block-beginning)
950         (hs-hide-level-recursive): Ignore comments when parsing braces
951         (Bug#8036).
953 2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
955         * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
956         (vc-bzr-pull): Use it.
958 2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
960         * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
961         (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
962         but returning an alist.  Ignore comments in bzr conffile.
963         (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
964         (vc-bzr-error-regex-alist): New var.
965         (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
967         * vc/vc-dispatcher.el (vc-do-async-command):
968         Bind inhibit-read-only to t.
970         * progmodes/compile.el (compilation--flush-directory-cache):
971         Handle the case where cdr of compilation--flush-directory-cache
972         points to no buffer, which can occur if we previously switched to
973         compilation-mode in a pregenerated buffer.
975 2011-02-19  Kenichi Handa  <handa@m17n.org>
977         * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
978         get the header copy into the temporary buffer.
979         (rmail-mime-insert-decoded-text): Ignore us-ascii.
980         (rmail-show-mime): When rmail-mime-coding-system is nil, set
981         buffer-file-coding-system to undecided.
983 2011-02-19  Eli Zaretskii  <eliz@gnu.org>
985         * international/mule-cmds.el (read-char-by-name, ucs-insert):
986         Document completion with asterisk and a substring.
988 2011-02-19  Glenn Morris  <rgm@gnu.org>
990         * files.el (find-file-literally): Doc fix.
992         * simple.el (rfc822-goto-eoh): Give it a doc-string.
994         * log-edit.el (log-edit-insert-changelog):
995         Fix `log-edit-strip-single-file-name' functionality.  (Bug#8057)
997 2011-02-19  Glenn Morris  <rgm@gnu.org>
999         * dired-x.el: Don't require dired-aux.
1000         (dired-do-create-files, dired-mark-read-regexp)
1001         (dired-do-create-files-regexp): Autoload from dired-aux.
1003         * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
1004         * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
1006         * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
1007         * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
1009         * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
1010         * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
1011         (dired-clean-up-buffers-too): Declare.
1013         * dired-x.el (dired-initial-position): Merge into dired.el's version.
1014         * dired.el (dired-initial-position): Merge dired-x's version here.
1015         (dired-find-subdir): Declare.
1017         * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
1018         * dired-aux.el (dired-add-entry): Give it a doc-string.
1019         Merge dired-x's dired-omit handling here.
1020         (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
1022         * international/mule-diag.el (list-input-methods-1):
1023         Indent all lines of multi-line doc-strings.  (Bug#8066)
1025 2011-02-18  Chong Yidong  <cyd@stupidchicken.com>
1027         Fix 2011-02-02 changes.
1029         * apropos.el (apropos-print): Call apropos-mode before setting up
1030         buffer variables.  Use inhibit-read-only.
1032         * emacs-lisp/package.el (package--list-packages):
1033         Call package-menu-mode before setting up buffer variables.
1035         * play/solitaire.el (solitaire): Call solitaire-mode before
1036         setting up buffer variables.  Use inhibit-read-only.
1038 2011-02-18  Lawrence Mitchell  <wence@gmx.li>
1040         * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
1041         Bind case-fold-search to nil when looking for end of here-doc.
1043 2011-02-18  Eli Zaretskii  <eliz@gnu.org>
1045         * image-mode.el (image-toggle-display-image):
1046         Set find-file-literally non-nil in buffers visiting binary image
1047         files.  (Bug#8047)
1049 2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1051         * files.el (cd): Make completion obey cd-path (bug#7924).
1053 2011-02-18  Glenn Morris  <rgm@gnu.org>
1055         * progmodes/prolog.el: Don't require compile when compiling.
1056         (compilation-shell-minor-mode, compilation-error-regexp-alist)
1057         (compilation-forget-errors, compilation-fake-loc)
1058         (compilation-parse-errors-function, compilation-error-list): Declare.
1059         (prolog-inferior-mode): Require 'compile.
1061         * emulation/cua-base.el (pc-selection-mode): Declare.
1063         * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
1064         (customize-object): Add autoload cookie.
1065         * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
1066         (eieio-browse, describe-class, eieio-describe-class)
1067         (eieio-describe-constructor, describe-generic, eieio-describe-generic)
1068         (eieio-help-mode-augmentation-maybee): Add autoload cookies.
1069         * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
1070         * Makefile.in (autoloads): Make eieio.el writable.
1072         * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
1073         (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
1074         (dired-hack-local-variables): Use inhibit-read-only.
1075         (dired-guess-default): Simplify.
1076         (dired-make-relative-symlink): Use dotimes.
1077         (dired-simultaneous-find-file): Use dolist.
1078         (dired-mark-sexp): Remove unneeded `if'.  Use line-end-position.
1079         (dired-x-hands-off-my-keys): Doc fix.
1080         (dired-x-bind-find-file): Doc fix.  Use remapping.
1081         (after-init-hook): No need to add dired-x-bind-find-file.
1082         (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
1083         No need to call expand-file-name.
1084         (dired-filename-at-point): Remove unused locals `end', `filename'.
1086 2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1088         * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
1090 2011-02-18  Christian Ohler  <ohler@gnu.org>
1092         * emacs-lisp/ert.el (ert--setup-results-buffer)
1093         (ert-results-pop-to-backtrace-for-test-at-point)
1094         (ert-results-pop-to-messages-for-test-at-point)
1095         (ert-results-pop-to-should-forms-for-test-at-point)
1096         (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
1097         were incorrect and unnecessary.  This should make `make check'
1098         pass again.
1100 2011-02-17  Ken Manheimer  <ken.manheimer@gmail.com>
1102         * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
1103         (allout-widgets-icons-dark-subdir): Track relocations of icons.
1104         * lisp/allout.el: Remove commentary about remove encryption
1105         passphrase mnemonic support and verification.
1106         (allout-encrypt-string): Recognize epg failure to decrypt gpg2
1107         armored text using gpg1, and indicate that the gpg version *might*
1108         be the problem in the error message.
1110 2011-02-17  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1112         * net/rcirc.el (rcirc-float-time): New function.
1113         (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
1114         (rcirc-ctcp-sender-PING): Use it.
1116 2011-02-17  Glenn Morris  <rgm@gnu.org>
1118         * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
1119         (speedbar-update-flag, speedbar-fetch-etags-command)
1120         (speedbar-fetch-etags-arguments):
1121         * term.el (term-buffer-maximum-size, term-input-chunk-size)
1122         (term-completion-autolist, term-completion-addsuffix)
1123         (term-completion-recexact, term-completion-fignore):
1124         * term/sup-mouse.el (sup-mouse-fast-select-window):
1125         * term/x-win.el (x-select-request-type):
1126         Convert some defvars with "*" to defcustoms.
1128         * shell.el (shell-delimiter-argument-list): Set it to nil.  (Bug#8027)
1130         * vc/vc.el (vc-default-previous-version):
1131         Remove alias that points nowhere.  (Bug#4496)
1133         * dired-x.el (dired-clean-up-after-deletion):
1134         kill-buffer does not need save-excursion.
1135         (dired-do-run-mail): Doc fix.
1136         (dired-filename-at-point): Doc fix.
1137         Use looking-at, and skip-chars rather than re search.
1139         * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
1141 2011-02-16  Ken Manheimer  <ken.manheimer@gmail.com>
1143         * allout-widgets.el: New allout extension that shows allout
1144         outline structure with graphical widgets.  'allout-widgets'
1145         customize group is an 'allout' subgroup, for easy discovery.
1147         * allout.el: Include PGP and GnuPG in Keywords, and other
1148         commentary refinements.
1149         (allout-abbreviate-flattened-numbering): Rename to
1150         allout-flattened-numbering-abbreviation, and
1151         define-obsolete-variable-alias the old name.
1152         (allout-flattened-numbering-abbreviation): Rename from
1153         allout-abbreviate-flattened-numbering.
1154         (allout-mode-p): Include among autoloads, for use by other modes
1155         with impunity.
1156         (allout-listify-exposed):
1157         Use allout-flattened-numbering-abbreviation.
1158         (allout-encrypt-string): Use set-buffer-multibyte directly.
1159         (allout-set-buffer-multibyte): Remove.
1161 2011-02-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1163         * simple.el (just-one-space): Remove useless `or' call.
1165 2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
1167         * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
1168         (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
1169         (soap-decoded-multi-refs, soap-current-wsdl)
1170         (soap-encoded-namespaces): Rename CL-style *...* variables.
1172 2011-02-16  Michael Albinus  <michael.albinus@gmx.de>
1174         * net/soap-client.el: Add "comm" and "hypermedia" to the
1175         keywords.  Reflow too long lines.
1177         * net/soap-inspect.el: Ditto.  Require 'cl.
1179 2011-02-16  Bastien Guerry  <bzg@altern.org>
1181         * play/doctor.el (doctor-mode): Bugfix: escape the "," character
1182         in a `doctor-type' argument.
1184 2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
1186         * net/soap-client.el:
1187         * net/soap-inspect.el: New files.
1189 2011-02-16  Leo  <sdl.web@gmail.com>
1191         * dired-x.el (dired-mode-map, dired-extra-startup):
1192         Remove dired-copy-filename-as-kill since it's already in dired.el.
1194 2011-02-16  Glenn Morris  <rgm@gnu.org>
1196         * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
1197         Doc fixes.  Add :set property, replacing top-level calls.
1198         (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
1199         (dired-guess-shell-gnutar): Test tar version rather than system-type.
1200         (dired-extra-startup, dired-man, dired-info): Doc fixes.
1201         (dired-clean-up-after-deletion): Use when and dolist.
1202         (dired-jump): Use unless and when.
1203         (dired-virtual): Use line-end-position.
1204         (dired-default-directory-alist): Rename from default-directory-alist.
1205         (dired-default-directory): Update for above name change.
1206         (dired-vm): Drop VM < 5 and simplify.
1207         (dired-buffer-more-recently-used-p): Rewrite.
1208         (dired-filename-at-point): Use when and or.
1209         (dired-x-read-filename-at-point): Rename from read-filename-at-point.
1210         Update callers.
1212 2011-02-15  Glenn Morris  <rgm@gnu.org>
1214         * dired-x.el: Use easymenu for menu items.  Fix item capitalization.
1216 2011-02-14  Chong Yidong  <cyd@stupidchicken.com>
1218         * vc/vc-git.el (vc-git-root-log-format): New option for
1219         customizing log format.
1220         (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
1221         (vc-git-log-view-mode): Use it.
1222         (vc-git-expanded-log-entry): New function.
1223         (vc-git-log-view-mode): Use it.  Truncate lines in root log.
1225         * vc/vc-hg.el (vc-hg-root-log-template): New option for
1226         customizing log format.
1227         (vc-hg-print-log): Use it.
1228         (vc-hg-expanded-log-entry): New function.
1229         (vc-hg-log-view-mode): Use vc-hg-root-log-template and
1230         vc-hg-expanded-log-entry.  Truncate lines in root log.
1232         * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
1234         * vc/log-view.el (log-view-mode-menu):
1235         Add log-view-toggle-entry-display.
1237 2011-02-14  Glenn Morris  <rgm@gnu.org>
1239         * dired-x.el: Don't require man when compiling.
1240         (dired-omit-extensions, dired-local-variables-file)
1241         (dired-x-hands-off-my-keys): Make them defcustoms.
1242         (Man-support-local-filenames, Man-getpage-in-background): Declare.
1243         (vm-visit-folder): Declare rather than defining.
1244         (dired-x-help-address, dired-x-variable-list): Remove.
1245         (dired-x-submit-report): Make it an obsolete alias.
1247 2011-02-14  Juanma Barranquero  <lekktu@gmail.com>
1249         * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
1251 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
1253         * net/imap.el: Bring it back.
1255 2011-02-13  Alan Mackenzie  <acm@muc.de>
1257         * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
1258         narrow-to-region call that cuts context off the end (Bug#7722).
1260         * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1261         Refactor nested if-forms with a simple cond.
1262         (c-forward-<>-arglist): Revert 2011-01-31 change.
1264 2011-02-13  Chong Yidong  <cyd@stupidchicken.com>
1266         * vc/log-view.el: New command log-view-toggle-entry-display for
1267         toggling log entries between concise and detailed forms.
1268         (log-view-toggle-entry-display): New command.
1269         (log-view-mode-map): Bind RET to it.
1270         (log-view-expanded-log-entry-function): New variable.
1271         (log-view-current-entry, log-view-inside-comment-p)
1272         (log-view-current-tag): New functions.
1273         (log-view-toggle-mark-entry): Use log-view-current-entry and
1274         log-view-end-of-defun instead of searching directly with
1275         log-view-message-re.
1276         (log-view-end-of-defun): Likewise.  Add optional ARG for
1277         compatibility with end-of-defun.
1278         (log-view-end-of-defun): Ignore comments and VC buttons.
1280         * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
1281         (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
1283 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
1285         * net/imap.el: Remove file.  All the functionality is in nnimap.el.
1287         * net/imap-hash.el: Remove file.
1289 2011-02-13  Michael Albinus  <michael.albinus@gmx.de>
1291         * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
1293         * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
1294         call.
1296         * net/tramp-imap.el: Remove file.
1298 2011-02-13  Chong Yidong  <cyd@stupidchicken.com>
1300         * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
1301         widget library for buttons, just use button.el.
1303         * vc/log-view.el (log-view-mode-map): Don't inherit from
1304         widget-keymap.
1306 2011-02-12  Glenn Morris  <rgm@gnu.org>
1308         * emacs-lisp/cl-seq.el (union, nunion, intersection)
1309         (nintersection, set-difference, nset-difference)
1310         (set-exclusive-or, nset-exclusive-or): Doc fix.
1312         * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
1314         * faces.el (face-attr-match-p): Handle the obsolete :bold and
1315         :italic props, so that frame-set-background-mode works.  (Bug#7966)
1317         * simple.el (next-error): Doc fix.
1319 2011-02-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1321         * dired-aux.el (dired-create-files): Adapt destination name to
1322         match the new behavior of copy-directory.
1324 2011-02-12  Chong Yidong  <cyd@stupidchicken.com>
1326         * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1327         from rmail-dont-reply-to-names.  Callers changed.
1328         (mail-dont-reply-to): Rename from mail-dont-reply-to.
1329         (rmail-dont-reply-to): Make it an obsolete alias.
1331         * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1332         nil, and make obsolete (Bug#7888).
1333         (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1335         * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1337         * mail/rmailsort.el (rmail-sort-by-correspondent)
1338         (rmail-select-correspondent): Doc fix.  Use mail-dont-reply-to.
1340         * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1342 2011-02-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1344         * files.el (copy-directory): New argument COPY-CONTENTS for
1345         copying directory contents into another existing directory.
1347 2011-02-12  Tassilo Horn  <tassilo@member.fsf.org>
1349         * minibuffer.el (completion-table-case-fold): New function for
1350         creating a case-insensitive completion table.
1352 2011-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
1354         * net/tramp.el (tramp-default-method): Also check if
1355         `auth-source-search' is bound.
1356         (tramp-read-passwd): Use `auth-source-search' instead of
1357         `auto-source-user-or-password'.
1359         * net/tramp-imap.el: Autoload `auto-source-search' instead of
1360         `auto-source-user-or-password.
1361         (tramp-imap-passphrase-callback-function): Use it.
1363         * net/imap-hash.el: Autoload `auto-source-search' instead of
1364         `auto-source-user-or-password.
1365         (imap-hash-open-connection): Use it.
1367         * mail/smtpmail.el: Autoload `auto-source-search' instead of
1368         `auto-source-user-or-password.
1369         (smtpmail-try-auth-methods): Use it.
1371 2011-02-12  Phil Hagelberg  <phil@hagelb.org>
1373         * emacs-lisp/package.el: Allow packages to be reinstalled.
1374         (package--write-file-no-coding): Remove EXCL arg.
1375         (package-unpack-single): Don't use it.
1377 2011-02-12  Karl Pflästerer  <k@rl.pflaesterer.de>  (tiny change)
1379         * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1380         in each sub directory.
1381         (vc-svn-registered): Use vc-svn-root.
1382         (vc-svn-root): New function.  Make vc-svn-responsible-p an alias.
1383         (vc-svn-repository-hostname): Use "svn info".
1385 2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1387         * simple.el (delete-trailing-whitespace): New optional buffer
1388         bound parameters.
1390 2011-02-11  Bastien Guerry  <bzg@altern.org>
1392         * files.el (basic-save-buffer): save unmodified buffers when
1393         the file pointed by buffer-file-name doesn't exist.
1395 2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1397         * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1399 2011-02-11  Glenn Morris  <rgm@gnu.org>
1401         * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1403 2011-02-11  Juanma Barranquero  <lekktu@gmail.com>
1405         * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1407 2011-02-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1409         * server.el (server-process-filter): Use pcase.
1411         * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1412         conflicting ways.
1413         (smie-indent--parent): Extend to "parent of arg".
1414         (smie-indent-inside-string): New function.
1415         (smie-indent-functions): Use it.
1417         * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1418         bzr locking race condition.
1420         * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1421         still valid before using it.
1423         * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1424         `message' -> `compilation-message' rename (bug#8004).
1426         Move keymap initialization into declaration.
1427         * textmodes/enriched.el (enriched-mode-map):
1428         * textmodes/bib-mode.el (bib-mode-map):
1429         * term/lk201.el (lk201-function-map):
1430         * tar-mode.el (tar-mode-map):
1431         * replace.el (occur-mode-map):
1432         * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1433         * progmodes/idlw-help.el (idlwave-help-mode-map):
1434         * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1435         * play/solitaire.el (solitaire-mode-map):
1436         * play/snake.el (snake-mode-map, snake-null-map):
1437         * play/pong.el (pong-mode-map):
1438         * play/handwrite.el (menu-bar-handwrite-map):
1439         * play/gametree.el (gametree-mode-map):
1440         * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1441         (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1442         * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1443         (newsticker--url-keymap):
1444         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1445         * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1446         (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1447         (menu-bar-edit-menu, menu-bar-custom-menu)
1448         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1449         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1450         (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1451         (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1452         (menu-bar-tools-menu, menu-bar-describe-menu)
1453         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1454         (menu-bar-help-menu):
1455         * mail/rmailsum.el (rmail-summary-mode-map):
1456         * kmacro.el (kmacro-step-edit-map):
1457         * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1458         (ibuffer-mode-operate-map):
1459         * hi-lock.el (hi-lock-menu, hi-lock-map):
1460         * emulation/vip.el (vip-mode-map):
1461         * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1462         * bookmark.el (bookmark-bmenu-mode-map):
1463         * help-mode.el (help-mode-map): Move initialization into declaration.
1465 2011-02-10  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1467         * net/rcirc.el: Add PRIVMSG and CTCP functions.
1468         (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1469         (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1470         (rcirc-cmd-me, rcirc-authenticate): Use them.
1472 2011-02-10  Ken Manheimer  <ken.manheimer@gmail.com>
1474         * allout.el: Synopsis: Change allout user configuration so
1475         auto-activation is controlled solely by customization
1476         `allout-auto-activation'.
1478         (allout-auto-activation-helper, allout-setup): New autoloads
1479         implement new custom set procedure for allout-auto-activation.
1480         Also, explicitly invoke (allout-setup) after allout-auto-activation
1481         is custom-defined, to affect the settings in emacs sessions besides
1482         the few where allout-auto-activation customization is done.
1483         (allout-auto-activation): Use allout-auto-activation-helper to
1484         :set.  Revise the docstring.
1485         (allout-init): Reduce functionality to just customizing
1486         allout-auto-activation, and mark obsolete.
1487         (allout-mode): Respect string values for allout-auto-activation.
1488         Run allout-after-copy-or-kill-hook without any args.
1489         (allout-mode, allout-layout, allout-default-layout)
1490         (outlineify-sticky): Adjust docstring for new scheme.
1491         (allout-after-copy-or-kill-hook): No arguments - hook implementers
1492         should concentrate on the kill ring.
1494 2011-02-09  Teodor Zlatanov  <tzz@lifelogs.com>
1496         * password-cache.el (password-cache-remove): Accept secrets that are
1497         not strings.
1499 2011-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1501         * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
1502         of here-doc that immediately follows a comment.
1504 2011-02-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1506         * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
1508         * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
1509         available.
1510         (rcirc-ctcp-sender-PING): New function.
1512 2011-02-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1514         * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
1515         Remove the mark/nomark handling, and activate shift-select-mode instead.
1517         * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
1519 2011-02-07  Jay Belanger  <jay.p.belanger@gmail.com>
1521         * calc/calc-units.el (math-logunits-quant): Add support for
1522         non-logarithmic units.
1524 2011-02-07  Ken Manheimer  <ken.manheimer@gmail.com>
1526         * allout.el (allout-after-copy-or-kill-hook): New hook for
1527         extension-specific processing of killed text.
1528         (allout-mode): Include new allout-after-copy-or-kill-hook among
1529         mentioned hooks.
1530         (allout-kill-line, allout-kill-topic): Ensure that processing
1531         after kill happens even if barf-if-buffer-read-only is raised.
1532         Include new allout-after-copy-or-kill-hook among that subsequent
1533         processing.
1534         (allout-deannotate-hidden): Actually remove the annotation text
1535         properties.
1537         * allout.el (allout-listify-exposed): Copy text sans text properties.
1539 2011-02-07  Michael Albinus  <michael.albinus@gmx.de>
1541         * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
1543 2011-02-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1545         * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
1547 2011-02-06  Jay Belanger  <jay.p.belanger@gmail.com>
1549         * calc/calc.el (calc-logunits-field-reference): Rename from
1550         `calc-default-field-reference-level'.
1551         (calc-logunits-power-reference): Rename from
1552         `calc-default-power-reference-level'.
1554         * calc/calc-units.el (math-logunits-quant): Rename from
1555         `math-logunits-level'
1556         (math-logunits-plus): Rename from math-logcombine.
1557         (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
1558         (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
1559         (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
1560         New functions.
1561         (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
1562         (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
1563         (calc-logunits-quantity): Rename from `calc-level'.
1564         (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
1565         (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
1566         (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
1567         (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
1568         (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
1569         New functions.
1571         * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
1572         (calc-ul-prefix-help): Remove.
1573         (calc-l-prefix-help): New function.
1574         (calc-full-help): Add reference to `calc-l-prefix-help'.
1576         * calc/calc-ext.el (calc-init-extensions): Update autoloads.
1578         * calc/README: Mention logarithmic units.
1580 2011-02-06  Chong Yidong  <cyd@stupidchicken.com>
1582         * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
1583         non-ASCII characters (Bug#7925).
1585 2011-02-05  Glenn Morris  <rgm@gnu.org>
1587         * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
1589         * calendar/diary-lib.el (diary-font-lock-keywords):
1590         Tweak diary-time-regexp match.  (Bug#7891)
1592         * progmodes/f90.el (f90-find-tag-default): New function.  (Bug#7919)
1593         (f90-mode): Use it for mode's `find-tag-default-function' property.
1595         * ibuf-ext.el (ibuffer-filter-disable): Make it work.  (Bug#7969)
1597         * faces.el (set-face-attribute): Doc fix.  (Bug#2659)
1599 2011-02-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1601         * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
1602         (Bug#6386).
1604 2011-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1606         * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
1607         font-lock-syntax-table remappings.
1608         (sh-here-doc-markers, sh-here-doc-re): Remove.
1609         (sh-font-lock-close-heredoc): Remove.
1610         (sh-syntax-propertize-here-doc): New function.
1611         (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
1612         instead of the sh-here-doc-re.
1613         (sh-font-lock-paren): Don't do anything in comments or strings.
1614         Handle line continuations.  Accept a few more chars.
1615         Don't rely on the font-lock-syntax-table remappings.
1616         `esac' is not a valid pattern.
1617         (sh-syntax-propertize-function): Handle here-docs differently, so we
1618         don't bother syntax-propertizing the insides.
1620         * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
1621         Handle new bashisms ";&" and ";;&" (bug#7947).
1623 2011-02-05  Michael Albinus  <michael.albinus@gmx.de>
1625         * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
1626         Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
1628 2011-02-05  Era Eriksson  <era+tramp@iki.fi>  (tiny change)
1630         * net/tramp.el (tramp-postfix-method-format)
1631         (tramp-postfix-method-regexp, tramp-prefix-domain-format)
1632         (tramp-prefix-domain-regexp, tramp-postfix-user-format)
1633         (tramp-postfix-user-regexp, tramp-prefix-port-format)
1634         (tramp-prefix-port-regexp, tramp-postfix-host-format)
1635         (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
1636         Doc fix.
1638 2011-02-04  Sam Steingold  <sds@gnu.org>
1640         * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
1642 2011-02-04  Andreas Schwab  <schwab@linux-m68k.org>
1644         * international/mule-util.el (with-coding-priority): Doc fix.
1646 2011-02-04  Eli Zaretskii  <eliz@gnu.org>
1648         * arc-mode.el (archive-mode-map): Fix a typo in last change.
1650 2011-02-03  Sam Steingold  <sds@gnu.org>
1652         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1653         Do not error out when `func' is nil.
1655 2011-02-03  Michael Albinus  <michael.albinus@gmx.de>
1657         * net/tramp-sh.el (tramp-remote-path): Add default settings for
1658         `tramp-default-remote-path' to the docstring.
1659         (tramp-get-remote-path): Suppress error message when `getconf
1660         PATH' fails.
1662         * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
1664 2011-02-03  Glenn Morris  <rgm@gnu.org>
1666         * vc/vc-hg.el (vc-hg-command): Doc fix.
1668         * term/w32-win.el (libpng-version): Declare for compiler.
1670         * msb.el: No need to load dired while compiling.
1672         * emacs-lisp/elint.el (elint-standard-variables):
1673         Remove a couple of built-ins that now have doc-strings.
1675         * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
1676         `require' is automatically `eval-and-compile'd.
1678         * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
1679         (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
1681         * strokes.el (strokes-fill-current-buffer-with-whitespace):
1682         Move definition before use.
1683         (strokes-report-bug): Make it obsolete.
1685 2011-02-02  Sam Steingold  <sds@gnu.org>
1687         * apropos.el (apropos-print): Now that `apropos-mode' inherits
1688         from `special-mode', entering it makes the buffer read-only, so
1689         call it only when everything has been already inserted.
1690         * emacs-lisp/ert.el (ert--setup-results-buffer)
1691         (ert-results-pop-to-backtrace-for-test-at-point)
1692         (ert-results-pop-to-messages-for-test-at-point)
1693         (ert-results-pop-to-timings): Ditto.
1694         * emacs-lisp/package.el (package--list-packages): Ditto.
1695         * play/solitaire.el (solitaire): Ditto.
1697 2011-02-02  Chong Yidong  <cyd@stupidchicken.com>
1699         * progmodes/compile.el: Make all faces inherit.
1700         (compilation-warning): Inherit from font-lock-variable-name-face.
1701         (compilation-info): Inherit from font-lock-type-face.
1702         (compilation-line-number): Reassign to font-lock-keyword-face.
1703         (compilation-column-number): Reassign to font-lock-doc-face.
1704         (compilation-leave-directory-face): Reassign to
1705         font-lock-builtin-face.
1707 2011-02-02  Eli Zaretskii  <eliz@gnu.org>
1709         * dired.el (dired-insert-directory): Don't invoke `ls' when
1710         ls-lisp.el is used to emulate it.
1712 2011-02-01  Julien Danjou  <julien@danjou.info>
1714         * color.el (color-gradient): Add a color-gradient function.
1716 2011-02-01  Sam Steingold  <sds@gnu.org>
1718         * simple.el (special-mode-map): Bind "h" to `describe-mode';
1719         bind "z" to `kill-this-buffer'.
1720         (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
1721         * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
1722         (apropos-mode): Inherit from `special-mode'.
1723         * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
1724         * bookmark.el (bookmark-bmenu-mode): Define using
1725         `define-derived-mode' inheriting from `special-mode'.
1726         * dired.el (dired-mode-map): Inherit from `special-mode-map'.
1727         * image-mode.el (image-mode-map): Ditto.
1728         * replace.el (occur-mode): Define using
1729         `define-derived-mode' inheriting from `special-mode'.
1730         * tar-mode.el (tar-mode): Inherit from `special-mode'.
1731         * calendar/diary-lib.el (diary-fancy-display-mode):
1732         Inherit from `special-mode-map'.
1733         * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
1734         Inherit from `special-mode'.
1735         * emacs-lisp/package.el (package-menu-mode-map): Copy from
1736         `special-mode-map'.
1737         (package-menu-mode): Define using `define-derived-mode'
1738         inheriting from `special-mode'.
1739         * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
1740         * net/xesam.el (xesam-mode): Inherit from `special-mode'.
1741         (xesam-mode-map): Define separately.
1742         * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
1743         * progmodes/compile.el (compilation-minor-mode-map)
1744         (compilation-mode-map): Inherit from `special-mode-map'.
1745         * vc/diff-mode.el (diff-mode-shared-map):
1746         Inherit from `special-mode-map'.
1747         * vc/log-view.el (log-view-mode-map): Add a comment.
1749 2011-02-01  Chong Yidong  <cyd@stupidchicken.com>
1751         * custom.el (load-theme): Define return value.  Drop use of
1752         unsafep; call custom-theme-load-confirm for non-known-safe themes.
1753         (custom-theme-load-confirm): Scroll in the correct window.
1754         (custom-enabled-themes): Add custom-safe-themes to :set-after.
1756         * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
1757         checkbox if load-theme fails.
1759 2011-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1761         * progmodes/compile.el (compilation-next-error): Check there's
1762         a message before using it (bug#7941).
1764 2011-02-01  Jay Belanger  <jay.p.belanger@gmail.com>
1766         * calc/calc-mtx.el (math-lud-pivot-check): New function.
1767         (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
1768         of potential pivots.
1770 2011-01-31  Alan Mackenzie  <acm@muc.de>
1772         * progmodes/cc-cmds.el (c-forward-over-illiterals):
1773         Continue parsing if we encounter a naked # (Bug#7595).
1774         (c-beginning-of-statement): Avoid loop in locating the beginning
1775         of a macro.  (Not actually committed until 2011-02-20, see above).
1777 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1779         * files.el (copy-directory): Fix arguments to recursive call.
1781 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1783         * files.el (copy-directory): If destination is an existing
1784         directory, copy into a subdirectory there.
1786 2011-01-31  Andreas Schwab  <schwab@linux-m68k.org>
1788         * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1789         files.
1791 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1793         * image-dired.el (image-dired-mouse-display-image): No-op if no
1794         file is found (Bug#7817).
1796         * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1798 2011-01-31  Kenichi Handa  <handa@m17n.org>
1800         * international/quail.el (quail-keyboard-layout-alist):
1801         Remove superfluous SPC for "pc105-uk" (bug#7927).
1803 2011-01-31  Glenn Morris  <rgm@gnu.org>
1805         * msb.el (msb-menu-bar-update-buffers): Update for changed
1806         argument handling of menu-bar-select-frame.  (Bug#7902)
1808 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1810         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1811         to the recursion depth (Bug#7722).
1813 2011-01-31  Roy Liu  <carsomyr@gmail.com>  (tiny change)
1815         * term/ns-win.el (ns-find-file): Expand ns-input-file with
1816         command-line-default-directory (Bug#7872).
1818 2011-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1820         * progmodes/compile.el (compilation--flush-directory-cache):
1821         New function, extracted from compilation--remove-properties.
1822         (compilation--remove-properties, compilation--parse-region): Use it.
1823         (compilation--previous-directory): Handle one more case.
1824         (compilation-enable-debug-messages): Remove.
1825         (compilation-parse-errors, compilation--flush-parse): Just remove the
1826         left over debug messages.
1828 2011-01-31  Sam Steingold  <sds@gnu.org>
1830         * progmodes/compile.el (compilation-enable-debug-messages):
1831         Add a variable to make the parsing messages introduced in
1832         2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1833         (compilation-parse-errors, compilation--flush-parse): Use it.
1835 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1837         * net/rcirc.el: New customizable nick completion format.  (Bug#6314)
1838         (rcirc-nick-completion-format): New defcustom.
1839         (rcirc-complete): Use it.
1841 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1843         * net/rcirc.el: Clean log filenames (Bug#7933).
1844         (rcirc-log-write): Use convert-standard-filename.
1845         (rcirc-log-filename-function): Documentation updates.
1847 2011-01-30  Jan Djärv  <jan.h.d@swipnet.se>
1849         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1850         Check report-emacs-bug-can-use-osx-open and use that if t.
1851         (report-emacs-bug-can-use-osx-open): New function.
1852         (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1853         Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1855 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
1857         * vc/vc-dispatcher.el (vc-set-async-update): New function for
1858         updating Dired or VC-dir buffers after async command completes.
1860         * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1861         (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1863         * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1864         completions if it exists.  Use vc-set-async-update.
1865         (vc-git-pull): Use vc-set-async-update.
1867         * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1868         read-shell-command.  Use vc-set-async-update.
1869         (vc-hg-merge-branch): Use vc-set-async-update.
1871 2011-01-29  Daiki Ueno  <ueno@unixuser.org>
1873         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1874         Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1875         (Bug#7931).
1877 2011-01-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1879         * progmodes/compile.el: Avoid an N² behavior in grep.
1880         (compilation--previous-directory): New fun.
1881         (compilation--previous-directory-cache): New var.
1882         (compilation--remove-properties): Flush it.
1883         (compilation-directory-properties, compilation-error-properties):
1884         Use the new fun to speed up looking for the current directory.
1886 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
1888         * vc/vc-hg.el (vc-hg-history): New var.
1889         (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1890         (vc-hg-merge-branch): New function.
1892         * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1893         the other way around.
1895         * vc/vc-git.el (vc-git-branches, vc-git-pull)
1896         (vc-git-merge-branch): New functions.
1897         (vc-git-history): New var.
1899 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1901         * vc/vc-dispatcher.el (vc-do-async-command): New function.
1903         * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
1904         vc-do-async-command.
1906         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
1907         Callers changed.
1909 2011-01-28  Leo  <sdl.web@gmail.com>
1911         * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
1912         highlighting to the "this function is advised" message.
1914         * help-mode.el (help-mode-finish): Apply highlighting here, to
1915         avoid clobbering by substitute-command-keys (Bug#6304).
1917 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1919         * woman.el (woman0-roff-buffer): Process roff escape sequences
1920         occurring prior to the first request (Bug#7843).
1922 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1924         * progmodes/compile.el: Don't use font-lock any more.
1925         (compilation-error-regexp-alist-alist): Change handling of makepp
1926         so it preserves the warning/error distinction on subsequent files.
1927         Simplify various rules.
1928         (compilation-directory-properties): Use font-lock-face.
1929         Add a compilation-message property.
1930         (compilation-internal-error-properties): Use font-lock-face.
1931         Don't set the compilation-debug property here.
1932         (compilation--put-prop, compilation--remove-properties)
1933         (compilation--parse-region, compilation--ensure-parse)
1934         (compilation--ensure-parse): New functions.
1935         (compilation-parse-errors): New function, largely inspired of
1936         compilation-mode-font-lock-keywords.  Set compilation-debug here.
1937         (compilation--parsed): New var.
1938         (compilation--flush-parse): Use compilation--ensure-parse.
1939         (compilation-start): Don't call font-lock.
1940         (compilation-turn-on-font-lock): Remove.
1941         (compilation-setup): Don't set font-lock-extra-managed-props not change
1942         other font-lock settings, other than keywords.
1943         Don't activate font-lock-mode.
1944         Set change-major-mode-hook and before-change-functions.
1945         (compilation--unsetup): Remove properties and hooks.
1946         (compilation-next-single-property-change): New function.
1947         (compilation-next-error): Use it to parse when needed.
1948         (compile-goto-error): Parse buffer as needed.
1949         (compilation--compat-error-properties): Don't need a dummy `face'
1950         property any more.
1952 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1954         * progmodes/compile.el: Use accessors for clarity and fix omake hack.
1955         (compilation-process-setup-function): Fix docstring's false promises.
1956         (compilation-error-regexp-alist-alist): Catch omake's continuous
1957         recompilation message and avoid reuse of old markers.
1958         (compilation-parse-errors-function): Declare obsolete.
1959         (compilation-buffer-modtime): Remove.
1960         (compilation--make-cdrloc, compilation--loc->col)
1961         (compilation--loc->line, compilation--loc->file-struct)
1962         (compilation--loc->marker, compilation--loc->visited)
1963         (compilation--make-file-struct, compilation--file-struct->file-spec)
1964         (compilation--file-struct->formats)
1965         (compilation--file-struct->loc-tree): New macros.  Use them.
1966         (compilation--message): New defstruct.  Use them.
1967         (compilation-next-error-function): Don't mess with timestamps to try
1968         and guess when to reparse.
1970 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1972         * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
1973         (tex-old-error-file-name): New function,
1974         extracted from tex-compilation-parse-errors.
1975         (tex-compilation-parse-errors): Remove.
1976         (tex-error-regexp-alist): New var.
1977         (tex-shell): Use it to avoid compilation-parse-errors-function.
1979         * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
1980         (grep-mode-font-lock-keywords): Remove regexp that seems like
1981         a left-over from before we used compile.el.
1982         (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
1983         modifying the buffer within with-silent-modifications.
1985         * progmodes/compile.el: Cleanup text-properties namespace by using
1986         `compilation-message' instead of `message', `compilation-directory'
1987         instead of `directory', and `compilation-debug' instead of `debug'.
1988         (compilation-last-buffer, compilation-parsing-end)
1989         (compilation-error-list, compilation-old-error-list): Move to the
1990         compatibility part of the code.
1991         (compilation-error-properties): If `file' is a function, let it return
1992         a file name.
1993         (compilation-mode-font-lock-keywords): Be more conservative with the
1994         omake "^ *" pattern prefix, to try and minimize the risk of
1995         pathologically slow regexp matching.
1996         (compilation-start): Use inhibit-read-only.
1997         (compilation--unsetup): New function.
1998         (compilation-shell-minor-mode, compilation-minor-mode): Use it.
1999         (compilation-filter): Minor tweaks.
2000         (compilation-next-error-function): Try and avoid abusing variables.
2001         (compilation--flush-file-structure): New fun.
2002         (compilation-fake-loc): Use it to improve behavior when file is reused.
2003         (debug-ignored-errors): Add "Moved past last ...".
2004         (compilation--compat-error-properties)
2005         (compilation--compat-parse-errors): Rename by doubling the "-".
2007         Port features from the previous prolog.el to the new one.
2008         * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
2009         (prolog-program-name, prolog-program-switches, prolog-consult-string)
2010         (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
2011         variable and use a function to compute the value dynamically.
2012         (prolog-prompt-regexp): Add regexp for GNU Prolog.
2013         (prolog-continued-prompt-regexp): Remove, unused.
2014         (prolog-find-value-by-system): Try and use the value of prolog-system
2015         in the *prolog* buffer if it helps.
2016         (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
2017         (prolog-zip-on): ..and check prolog-system and version here instead.
2018         (prolog-inferior-self-insert-command): New command.
2019         (prolog-inferior-mode-map): Use it.
2020         (prolog-inferior-error-regexp-alist): New var.
2021         (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
2022         (prolog-input-filter): Use derived-mode-p.
2023         (prolog-inferior-guess-flavor): New function.
2024         (prolog-ensure-process): Use it.  Use make-comint-in-buffer rather than
2025         make-comint to avoid running comint-mode twice.
2026         (prolog-inferior-buffer): New fun.
2027         (prolog-old-process-region, prolog-old-process-file):
2028         Don't call prolog-bsts here...
2029         (prolog-build-prolog-command): ...do it here instead.
2030         (prolog-old-process-region, prolog-old-process-file):
2031         Use compilation-fake-loc and compilation-forget-errors.
2032         (prolog-consult-compile-region): Use bolp.
2034 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
2036         * image-mode.el (image-display-size): Doc fix (Bug#7820).
2038 2011-01-27  Sam Steingold  <sds@gnu.org>
2040         * midnight.el (clean-buffer-list-kill-never-buffer-names):
2041         Remove "*server*" which is never created by emacs server.
2043 2011-01-27  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
2045         * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
2046         there are some diff switches.
2048 2011-01-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2050         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2051         Copy change made to ruby-font-lock-syntactic-keywords.
2053         * htmlfontify.el: Make it obey the font-lock-face text property.
2054         Miscellaneous cleanup such as:
2055         - Don't hide expressions after a closing paren.
2056         - Move initial setq into let.
2057         - Hoist common parts out of ifs.
2058         (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
2059         (hfy-face-at): Use get-text-property instead.
2060         (hfy-prop-invisible-p): Use invisible-p if available.
2061         (htmlfontify-manual): Use \\[...].
2062         (hfy-html-quote-regex): Use [...].
2063         (hfy-combined-face-spec): Simplify.
2064         (hfy-compile-face-map): Don't presume point-min==1.
2065         (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
2066         match end of string.
2067         (hfy-text-p): η-reduce.
2068         (hfy-tags-for-file): Receive cache-hash directly.
2069         (hfy-mark-tag-names): Adjust call.
2071 2011-01-27  Glenn Morris  <rgm@gnu.org>
2073         * msb.el (msb-after-load-hooks): Make it an obsolete alias.
2074         (msb-after-load-hook): Remove eval-after-load wackiness.
2076 2011-01-25  Sam Steingold  <sds@gnu.org>
2078         * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
2079         literal "diff" (important for windows-nt).
2081 2011-01-25  Glenn Morris  <rgm@gnu.org>
2083         * emacs-lisp/copyright.el (copyright-at-end-flag)
2084         (copyright-names-regexp): Add safety properties.
2085         (copyright-year-ranges): New option.
2086         (copyright-find-end): New function, split from copyright-update-year.
2087         (copyright-update-year): Use copyright-find-end.
2088         (copyright-fix-years): Optionally, convert years to ranges.
2089         Handle years continued over comment lines.
2090         Do not mess with the fill-prefix.
2091         Do not call copyright-update.
2092         (copyright-update-directory): Optionally, fix years rather than update.
2093         Skip directories.  Find files with only safe local vars.
2095 2011-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2097         * files.el (file-name-non-special): Only change buffer-file-name after
2098         insert-file-contents if it's `visit'ing the file (bug#7854).
2100 2011-01-25  Chong Yidong  <cyd@stupidchicken.com>
2102         * dired.el (dired-revert): Doc fix (Bug#7758).
2104         * simple.el (line-move-visual): Doc fix (Bug#7594).
2106 2011-01-25  Nobuyoshi Nakada  <nobu@ruby-lang.org>
2108         * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
2109         here-doc which ends with an underscore.
2110         (ruby-mode-set-encoding): Skip shebang line always.
2111         (ruby-mode-map): Bind C-c C-c to comment-region.
2112         (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
2113         (ruby-forward-sexp): Stop after literal hash key labels.
2114         (ruby-font-lock-syntactic-keywords): Highlight regexp after open
2115         bracket.
2117 2011-01-25  Keitaro Miyazaki  <keitaro.miyazaki@gmail.com>  (tiny change)
2119         * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
2120         the correct buffer (Bug#7650).
2122 2011-01-25  Glenn Morris  <rgm@gnu.org>
2124         * comint.el (comint-mode): Doc fix.  (Bug#7897)
2126         * simple.el (do-auto-fill): Give it a doc string.
2128         * button.el (make-text-button): Doc fix.  (See bug#7881)
2130 2011-01-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2132         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2133         Don't move backward, so as not to fall in an inf-loop (bug#7736).
2135         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
2136         Handle ?" and friends differently (e.g. don't use backrefs).
2138 2011-01-24  Jay Belanger  <jay.p.belanger@gmail.com>
2140         * calc/calc.el (calc-default-power-reference-level)
2141         (calc-default-field-reference-level): New variables.
2142         * calc/calc-units.el (math-standard-units): Add dB and Np.
2143         (math-logunits): New variable.
2144         (math-extract-logunits, math-logcombine, calcFunc-luplus)
2145         (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
2146         (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
2147         New functions.
2148         (math-find-base-units-rec): Add entry for ln(10).
2149         * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
2150         (calc-ul-prefix-help): New function.
2151         * calc/calc-ext.el (calc-init-extensions): Autoload new units
2152         functions.  Add keybindings for new units functions.
2154 2011-01-22  Giorgos Keramidas  <keramida@ceid.upatras.gr>  (tiny change)
2156         * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
2157         rcirc buffers.  (Bug#4940)
2159 2011-01-22  Glenn Morris  <rgm@gnu.org>
2161         * emacs-lisp/copyright.el (copyright-find-copyright): New function,
2162         split out from copyright-update-year.
2163         (copyright-update): Don't mess with the GPL version if we don't own the
2164         copyright.  Update license regexp, and remove no longer needed
2165         Esperanto stuff.
2166         (copyright-fix-years): Use copyright-find-copyright.
2168 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
2170         * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
2172 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
2174         * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
2175         (lm): Rename to landmark.
2176         (lm-test-run): Rename to landmark-test-run.
2178 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
2180         * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
2181         "Case sensitive" menu item.
2183 2011-01-22  Roland McGrath  <roland@frob.com>
2185         * comint.el (comint-replace-by-expanded-history-before-point): Fix
2186         expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
2188 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2190         * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
2192 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
2194         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2195         Assume foo(bar) is a manpage reference rather than some unquoted
2196         symbol (bug#7705).
2198 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2200         * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
2201         Suggested by Flo <sensorflo@gmail.com>.
2203 2011-01-22  Glenn Morris  <rgm@gnu.org>
2205         * progmodes/compile.el (compilation-error-regexp-alist):
2206         Fix custom type.  (Bug#7812)
2208 2011-01-22  Ken Manheimer  <ken.manheimer@gmail.com>
2210         * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
2211         allout-number-siblings, in keeping with what obtained due to
2212         (now-defunct) allout-keybindings-list.  Ditch repeat binding to
2213         (prefixed) ?i.
2214         (allout-before-change-handler): Better expose spots affected by
2215         undo.
2217 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
2219         * man.el (Man-highlight-references0): Use make-button (Bug#7881).
2221 2011-01-22  Phil Hagelberg  <phil@evri.com>
2223         * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
2224         (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
2225         (pcmpl-ssh-config-hosts): New function.
2226         (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
2227         pcmpl-ssh-known-hosts.
2229 2011-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
2231         * calc/calc-undo.el (calc-undo): Autoload it.
2232         * calc/calc-ext.el (calc-init-extensions): Remove keybindings
2233         and autoload for `calc-undo'.
2234         * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
2235         * calc/calc-prog.el:
2236         * calc/calc-graph.el:
2237         * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
2239 2011-01-21  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
2241         * calc/calc-ext.el (calc-init-extensions): Map all `undo'
2242         keybindings to `calc-undo'.
2244 2011-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2246         Don't mess with *temp*.
2247         * obsolete/spell.el: Move from textmodes/spell.el.
2248         (spell-string):
2249         * term.el (term-read-input-ring):
2250         * startup.el (display-startup-echo-area-message):
2251         * progmodes/antlr-mode.el (antlr-directory-dependencies):
2252         * comint.el (comint-read-input-ring): Use with-temp-buffer.
2253         * international/mule.el (ctext-pre-write-conversion): Don't hardcode
2254         point-min==1.
2256 2011-01-20  Ken Manheimer  <ken.manheimer@gmail.com>
2258         * allout.el (allout-institute-keymap): Use fset instead of
2259         reapplying defalias.
2261         (allout-hotspot-key-handler): Check for non-control-modified
2262         bindings for hotspot characters if there are no control-modified
2263         versions.
2265         * allout.el: Summary - migrate to defining allout mode using
2266         define-minor-mode instead of defun.  Significantly clean-up
2267         internal keymap provisions, refactoring and, in the process,
2268         removing a lot of accumulated cruft.
2270         allout-mode-map is now a keymap by virtue of being a defalias to
2271         allout-mode-map-value, which contains the actual keymap structure.
2273         (allout-mode): Use define-minor-mode rather than defun.
2274         Remove now-unnecessary minor-mode setup activities from the body.
2275         Specify :keymap as allout-mode-map so the minor-mode-map-alist
2276         entry will be '(allout-mode . allout-mode-map) - see
2277         allout-mode-map-value, below.  Adjust docstring to track changes.
2278         (allout-minor-mode): Remove this defalias, now that we're using
2279         define-minor-mode.
2280         (allout-mode-map): Set value to be 'allout-mode-map.  The actual
2281         keymap is allout-mode-map-value, via defalias.
2282         (allout-mode-map-value): The variable holding the actual mode
2283         keymap structure, by virtue of defalias from allout-mode-map.
2284         (allout-compose-and-institute-keymap): Rename from
2285         allout-bind-keys, and including the binding-composition
2286         functionality of the former produce-allout-mode-map and
2287         allout-setup-mode-map.
2288         (allout-institute-keymap): Take over the "setup" part of the former
2289         allout-setup-mode-map.  Reassign allout-mode-map-value value and
2290         update the defalias.
2291         (allout-command-prefix, allout-prefixed-keybindings)
2292         (allout-unprefixed-keybindings):
2293         Use allout-compose-and-institute-keymap to process the bindings.
2294         (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
2295         (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
2296         user can customize if they want to use that binding.
2297         Bind allout-copy-topic-as-kill to (prefixed) \M-k.
2298         Bind allout-up-current-level to (prefixed) \C-u.  (I think i mistakenly
2299         elided that, previously, instead of the one for \C-h.)
2300         (allout-hotspot-key-handler): Remove attempt to resolve the key
2301         through the literal key-string lookup on allout-keybindings-list.
2302         That probably hasn't worked for a Long Time, and removal of
2303         allout-keybindings-list further simplifies the keybindings situation.
2304         (allout-pre-command-business): Use allout-mode-map-value instead
2305         of allout-mode-map.
2306         (allout-preempt-trailing-ctrl-h): Remove.  The user can customize
2307         the bindings if they want to use a keybinding having a trailing
2308         \C-h.  No deprecation needed since this feature was never in a release.
2309         (allout-keybindings-list): Remove.  It's not been useful for a
2310         while.  (See allout-hotspot-key-handler changes, above.)
2311         (produce-allout-mode-map): Remove.  Consolidate into
2312         allout-compose-and-institute-keymap.
2313         (allout-mode-map-adjustments): Remove.  No longer necessary with
2314         removal of allout-preempt-trailing-ctrl-h.
2315         (allout-setup-mode-map): Remove.  Consolidate into
2316         allout-compose-and-institute-keymap and allout-institute-keymap.
2318 2011-01-20  Glenn Morris  <rgm@gnu.org>
2320         * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2322         * simple.el (read-expression-history): Remove, it's in minibuf.c.
2324 2011-01-20  Chong Yidong  <cyd@stupidchicken.com>
2326         * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2328         * files.el (find-alternate-file, basic-save-buffer)
2329         (basic-save-buffer-2, revert-buffer, recover-file)
2330         (kill-buffer-ask, abort-if-file-too-large)
2331         (set-visited-file-name, write-file, backup-buffer)
2332         (basic-save-buffer, save-some-buffers):
2333         * dired-aux.el (dired-compress-file): Callers changed.
2335 2011-01-19  Glenn Morris  <rgm@gnu.org>
2337         * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2338         Also check the property status.  (Bug#7861)
2340 2011-01-18  Michael Albinus  <michael.albinus@gmx.de>
2342         * net/tramp.el (tramp-debug-message): Extend function exclude
2343         list.  Use `regexp-opt'.
2345 2011-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2347         * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2348         highlighting doesn't spill over subsequent lines.
2350         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2351         keymap expression.  Improve docstring.
2353         * electric.el (electric-indent-post-self-insert-function):
2354         Don't auto-indent for indent-to-left-margin, it's too often
2355         counter-productive.
2357 2011-01-16  Tassilo Horn  <tassilo@member.fsf.org>
2359         * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2360         spaces if the frame was resized, so that the full visible buffer
2361         serves as canvas for strokes.
2363 2011-01-16  Glenn Morris  <rgm@gnu.org>
2365         * info-xref.el (info-xref-docstrings): Replace cl function.
2366         Also skip directories.
2368 2011-01-16  Kevin Ryde  <user42@zip.com.au>
2370         * info-xref.el: Version 3.
2371         (info-xref-check, info-xref-check-all): Move commentary details
2372         into docstrings for better visibility.
2373         Use compilation-mode for the results buffer.
2374         (info-xref-output, info-xref-output-error, info-xref-with-output)
2375         (info-xref-filename, info-xref-in-progress):
2376         New internals for this.
2377         (info-xref-check-list, info-xref-check-buffer)
2378         (info-xref-check-all-custom): Use those.
2379         (info-xref-output-buffer): Rename from info-xref-results-buffer.
2380         (info-xref-output-heading): Rename from info-xref-filename-heading.
2381         (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2382         (info-xref-filename-heading): Move to output managing section.
2383         (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2384         (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2385         (info-xref-subfile-p): Move to generic section with those two.
2386         (info-xref-check-node): New function split from
2387         info-xref-check-buffer, shared by info-xref-docstrings.
2388         (info-xref-goto-node-p): Move to a checking section with that func.
2389         (info-xref-unavail): New counter.
2390         (info-xref-check-node): Use it.
2391         (info-xref-with-output): Show count of unavailables at end of output.
2392         (info-xref-all-info-files): Exclude ".*" dotfiles.  Ignore broken
2393         symlinks.  Exclude .texi files.  Exclude Emacs backup files.
2394         (info-xref-check-all-custom): Fix quietening viper-mode and
2395         gnus-registry-install -- use setq not let so as not to unbind
2396         after load.
2398 2011-01-16  Juri Linkov  <juri@jurta.org>
2400         * isearch.el (isearch-abort): Don't quit if search has
2401         an incomplete regexp (isearch-error is non-nil).  (Bug#7534)
2403 2011-01-15  Mark Diekhans  <markd@soe.ucsc.edu>
2405         * files.el (backup-buffer): Make last-resort backup file in
2406         .emacs.d (Bug#6953).
2408         * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2409         make it with permission 700.
2411 2011-01-15  Kenichi Handa  <handa@m17n.org>
2413         * mail/rmailmm.el (rmail-mime-insert-header):
2414         Set rmail-mime-coding-system to a cons whose car is the last coding
2415         system used to decode the header.
2416         (rmail-mime-find-header-encoding): New function.
2417         (rmail-mime-insert-decoded-text):
2418         Override rmail-mime-coding-system if it is a cons.
2419         (rmail-show-mime): If only a header part was decoded, find the
2420         coding system while ignoring mm-charset-override-alist.
2422 2011-01-15  Chong Yidong  <cyd@stupidchicken.com>
2424         * subr.el (event-start, event-end): Doc fix (Bug#7826).
2426 2011-01-15  Kenichi Handa  <handa@m17n.org>
2428         * mail/rmailmm.el (rmail-mime-next-item)
2429         (rmail-mime-previous-item): Delete them.
2430         (rmail-mime-shown-mode): Recursively call for children.
2431         (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2432         Callers changed.
2433         (rmail-mime-raw-mode): Recursively call for children.
2434         (rmail-mode-map): Change mapping of tab and backtab to
2435         forward-button and backward-button respectively.
2436         (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2437         button.
2438         (rmail-mime-update-tagline): New function.
2439         (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2440         body display is changed.
2441         (rmail-mime-toggle-button): Rename from rmail-mime-image.
2442         (rmail-mime-image): Delete this button type.
2443         (rmail-mime-toggle): New button type.
2444         (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2445         body display is changed.  Change the save button label to "Save".
2446         Don't process show/hide button here.
2447         (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2448         the body display is changed.  Unconditionally call
2449         rmail-mime-insert for children.
2450         (rmail-mime-handle): Update `display' vector of the just inserted
2451         entity.
2452         (rmail-mime-process): If mail-header-parse-content-type returns
2453         nil, use "text/plain" as the fallback type.
2454         (rmail-mime-insert): For raw-mode, recursively call
2455         rmail-mim-insert for children.
2456         (rmail-mime): Handle the case that the current buffer is not rmail
2457         buffer (e.g. in summary buffer).
2459 2011-01-15  Kenichi Handa  <handa@m17n.org>
2461         * mail/rmailmm.el (rmail-mime-next-item)
2462         (rmail-mime-previous-item): Skip the body of a non-multipart
2463         entity if a tagline is shown.
2465 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2467         * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2468         (tmm-prompt): Simplify.
2469         (tmm-add-prompt): Remove unused var `win'.
2471         * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2472         to minor mode which used nil accidentally to mean "turn off".
2474 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
2476         * net/tramp-sh.el (tramp-find-inline-compress)
2477         (tramp-get-inline-coding): Quote command after pipe symbol for
2478         local calls under W32.  (Bug#6784)
2480 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
2482         * net/tramp.el (tramp-default-method): Initialize with pscp/plink
2483         only when running under W32.
2485 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
2487         * progmodes/grep.el (grep-compute-defaults): Quote the program
2488         file name after the pipe symbol in Grep templates.  (Bug#6784)
2489         * jka-compr.el (jka-compr-partial-uncompress): Likewise.
2491 2011-01-15  Lennart Borgman  <lennart.borgman@gmail.com>
2493         * buff-menu.el (Buffer-menu-buffer-list): New var.
2494         (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
2495         restricted buffer list is not lost on revert (Bug#7749).
2497 2011-01-15  Eric Hanchrow  <eric.hanchrow@gmail.com>
2499         * net/ldap.el (ldap-search-internal): Discard stderr output.
2501 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
2503         * files.el (directory-abbrev-alist): Doc fix.  (Bug#7777)
2505 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2507         * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
2509 2011-01-15  Kenichi Handa  <handa@m17n.org>
2511         * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
2512         part as a plain text.
2513         (rmail-mime-process-multipart): Set the default content-type to
2514         nil for unknown multipart subtypes (bug#7651).
2516 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2518         * hexl.el (hexl-mode-old-*): Remove.
2519         (hexl-mode--old-var-vals): New var to replace them.
2520         (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
2521         (hexl-mode, hexl-follow-line, hexl-activate-ruler):
2522         Use them to set local vars (bug#7846).
2523         (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
2524         (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
2525         (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
2527         * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
2528         (smerge-resolve--normalize-re): New var.
2529         (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
2530         (smerge-resolve): Use them.
2531         * newcomment.el (comment-only-p): New function.
2532         (comment-or-uncomment-region): Use it.
2534 2011-01-14  Brent Goodrick  <bgoodr@gmail.com>  (tiny change)
2536         * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
2537         table, get the value before switching to the output buffer.  (Bug#7733)
2539 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2541         * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
2543 2011-01-14  Kim F. Storm  <storm@cua.dk>
2545         * emulation/cua-base.el (cua--init-keymaps):
2546         Remap exchange-point-and-mark in cua-global-keymap.
2548 2011-01-14  Tassilo Horn  <tassilo@member.fsf.org>
2550         * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
2551         loop keyword.
2553 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2555         * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
2556         Require CL.
2557         (easy-menu-create-menu, easy-menu-convert-item-1):
2558         Use :label rather than nil for labels.  Use `case'.
2559         Add :enable as alias for :active.
2560         (easy-menu-binding): Obey :label.
2562 2011-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2564         Use run-mode-hooks for major mode hooks (bug#513).
2565         * textmodes/reftex-toc.el (reftex-toc-mode-map):
2566         Rename from reftex-toc-map.
2567         (reftex-toc-mode): Use define-derived-mode.
2568         * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
2569         (reftex-select-label-mode-map, reftex-select-bib-mode-map):
2570         Rename from reftex-select-(label|bib)-map.  Move init into declaration.
2571         (reftex-select-label-mode, reftex-select-bib-mode):
2572         Use define-derived-mode.
2573         * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
2574         (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
2575         Move init into delcaration.
2576         (reftex-index-mode, reftex-index-phrases-mode):
2577         Use define-derived-mode.
2578         * speedbar.el (speedbar-mode-syntax-table): Renaqme from
2579         speedbar-syntax-table.  Move init into declaration.
2580         (speedbar-mode-map): Rename from speedbar-key-map.
2581         Move init into declaration.
2582         (speedbar-file-key-map): Move init into declaration.
2583         (speedbar-mode): Use define-derived-mode.
2584         * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
2585         * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
2586         * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
2587         (chart-face-list): Move initialization into declaration.
2588         (chart-mode): Use define-derived-mode.
2589         * calculator.el (calculator-mode-map): Move init into declaration.
2590         (calculator-mode): Use define-derived-mode.
2592         * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
2593         work for nested comments.
2595         * progmodes/prolog.el: Use syntax-propertize.  Further code cleanup.
2596         (prolog-use-prolog-tokenizer-flag): Change default when
2597         syntax-propertize can be used.
2598         (prolog-syntax-propertize-function): New var.
2599         (prolog-mode-variables): Move make-local-variable into `set'.
2600         Don't make comment-column local since we don't set it.
2601         Set comment-add (as it was in previous prolog.el).  Use dolist.
2602         Set syntax-propertize-function.
2603         (prolog-mode, prolog-inferior-mode):
2604         Call prolog(-inferior)-menu directly, not through the mode-hook.
2605         (prolog-buffer-module, prolog-indent-level)
2606         (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
2607         (prolog-comment-limits, prolog-goto-comment-column):
2608         Use line-(end|beginning)-position.
2609         (prolog-build-prolog-command): Tighten up regexp.
2610         (prolog-consult-compile): Move make-local-variable into `set'.
2611         (prolog-consult-compile-filter, prolog-goto-next-paren)
2612         (prolog-help-on-predicate, prolog-clause-info)
2613         (prolog-mark-predicate): Don't let+setq.
2614         (prolog-indent-line): Use indent-line-to.
2615         Only call prolog-goto-comment-column if necessary.
2616         (prolog-indent-level): Use bobp.
2617         (prolog-first-pos-on-line): Remove, not used any more.
2618         (prolog-in-string-or-comment): Use syntax-ppss if available.
2619         (prolog-help-on-predicate): Use read-string.
2620         (prolog-goto-predicate-info): Simplify.
2621         (prolog-read-predicate): Use `default' rather than `initial'.
2622         (prolog-temporary-file): Use make-temp-file to close a security hole.
2623         (prolog-toggle-sicstus-sd): New command.
2624         (prolog-electric-underscore, prolog-variables-to-anonymous):
2625         Use dynamic-scoping as it was meant.
2626         (prolog-menu): Move menu definitions to top-level.
2627         Use a toggle-button for Sicstus's source debugger.
2628         Change "Code" to the more usual "Prolog", and hence change "Prolog"
2629         to "System".
2630         (prolog-inferior-menu): Reuse prolog-menu's help menu.
2631         Move other menu definition to top-level.
2633 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
2635         * doc-view.el (doc-view-open-text): Use meaningful text buffer
2636         name.  Keep original document's directory as default-directory
2637         (bug#6446).
2638         (doc-view-initiate-display): Fall back to normal mode when
2639         doc-view-mode cannot be enabled, also when extracting the document
2640         text into a separate buffer (bug#6446).
2642         * simple.el (shell-command): Don't error out if shell command
2643         buffer contains text with non-nil read-only property when erasing
2644         the buffer.
2646 2011-01-13  Kim F. Storm  <storm@cua.dk>
2648         * ido.el (ido-may-cache-directory): Move "too-big" check later.
2649         (ido-next-match, ido-prev-match): Fix stray reordering of matching
2650         items when cycling through the matches.
2652 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
2654         * dired-x.el (dired-omit-verbose): New defcustom that allows
2655         disabling the omit messages.
2656         (dired-omit-expunge): Use it.
2658 2011-01-13  Christian Ohler  <ohler@gnu.org>
2660         * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
2662 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
2664         * font-lock.el (font-lock-verbose): Default to nil.
2666 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
2668         * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
2669         (compose-mail): New arg RETURN-ACTION.
2670         (compose-mail-other-window, compose-mail-other-frame): Likewise.
2672         * mail/sendmail.el (mail-return-action): New var.
2673         (mail-mode): Make it buffer-local.
2674         (mail-bury): Obey it.  Move special Rmail window handling to
2675         rmail-mail-return.
2676         (mail, mail-setup): New arg RETURN-ACTION.
2677         (sendmail-user-agent-compose): Move from simple.el.
2679         * mail/rmail.el (rmail-mail-return): New function.
2680         (rmail-start-mail): Pass it to compose-mail.
2682 2011-01-12  Chong Yidong  <cyd@stupidchicken.com>
2684         * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
2685         menus.  Add menu item for customize-themes.
2687         * cus-theme.el (customize-themes):
2688         * emacs-lisp/package.el (package--list-packages):
2689         Use switch-to-buffer.
2691 2011-01-11  Johan Bockgård  <bojohan@gnu.org>
2693         * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
2695 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2697         * progmodes/prolog.el: Fix up coding convention and such.
2698         (prolog-indent-width): Use the same default as in
2699         previous prolog.el rather than tab-width which depends on which buffer
2700         is current when the file is loaded.
2701         (prolog-electric-newline-flag): Only enable if electric-indent-mode
2702         is not available.
2703         (prolog-emacs): Remove.  Use (featurep 'xemacs) instead.
2704         (prolog-known-systems): Remove.
2705         (prolog-mode-syntax-table, prolog-inferior-mode-map):
2706         Move initialization into declaration.
2707         (prolog-mode-map): Move initialization into declaration.
2708         Remove system-specific mode-map vars, since they referred to the same
2709         keymap anyway.
2710         (prolog-mode-variables): Obey the user's preference w.r.t
2711         adaptive-fill-mode.  Prefer symbol-value to `eval'.
2712         (prolog-mode-keybindings-edit): Add compatibility bindings.
2713         (prolog-mode): Use define-derived-mode.  Don't handle mercury here.
2714         (mercury-mode-map): New var.
2715         (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
2716         (prolog-ensure-process, prolog-process-insert-string)
2717         (prolog-consult-compile): Use with-current-buffer.
2718         (prolog-guess-fill-prefix): Simplify data flow.
2719         (prolog-replace-in-string): New function to use instead of
2720         replace-in-string.
2721         (prolog-enable-sicstus-sd): Don't abuse `eval'.
2722         (prolog-uncomment-region): Use `uncomment-region' when available.
2723         (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
2724         (prolog-int-to-char, prolog-char-to-int): New functions to use instead
2725         of int-to-char and char-to-int.
2726         (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
2728 2011-01-11  Stefan Bruda  <stefan@bruda.ca>
2730         * progmodes/prolog.el: Replace by a whole new file.
2732 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2734         * subr.el (eval-after-load): Fix timing for features (bug#7769).
2735         (declare-function, undefined, insert-for-yank)
2736         (replace-regexp-in-string): Follow checkdoc's recommendations.
2738 2011-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2740         * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
2741         refreshing the diary buffer.
2743 2011-01-10  Ken Manheimer  <ken.manheimer@gmail.com>
2745         * allout.el: Add 2011 to the file copyright.
2746         (allout-encrypt-string): Prevent encryption from adding an extra
2747         newline at the end of the topic body.
2748         (allout-version): Increment to 2.3.
2750 2011-01-10  Michael Albinus  <michael.albinus@gmx.de>
2752         * net/dbus.el (dbus-unregister-service): Complete doc.
2753         Fix call of dbus-error signal.
2754         (dbus-register-property): Use `dont-register' keyword.
2756 2011-01-10  Jan Moringen  <jan.moringen@uni-bielefeld.de>
2758         * net/dbus.el (dbus-unregister-service): Translate returned
2759         integer into a symbol.
2760         (dbus-register-property): Use `dbus-register-service' to do the
2761         name registration.
2763 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
2765         * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
2766         Suggested by Joakim Verona.
2768         * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
2770         * wid-edit.el (visibility): Replace :on-image and :off-image
2771         widget properties with :on-glyph and :off-glyph, for consistency
2772         with the `visibility' widget.
2773         (widget-toggle-value-create, widget-visibility-value-create):
2774         Merge into a single function `widget-toggle-value-create'.
2776         * cus-edit.el (custom-variable-value-create, custom-visibility)
2777         (custom-face-edit-value-create, custom-face-value-create):
2778         Replace :on-image and :off-image widget properties with :on-glyph and
2779         :off-glyph, for consistency with the `visibility' widget.
2781 2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>
2783         * net/ldap.el (ldap-search-internal): Don't use eval.
2785 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
2787         * subr.el (read-char-choice): Use read-key.
2789         * custom.el (custom-safe-themes): Rename from
2790         custom-safe-theme-files.  Add :risky tag.
2791         (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2792         custom-safe-themes, not filenames.  Suggested by Stefan Monnier.
2794 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
2796         * tool-bar.el (tool-bar-setup): Remove Help button.  Remove label
2797         from Search and add a label to Undo.
2799         * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2800         inappropriate buttons and adding :vert-only tags.
2802         * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2803         removal of Help tool-bar button.  Remove Undo button for space.
2805         * info.el (info-tool-bar-map): Add :vert-only tags.
2807 2011-01-08  Tassilo Horn  <tassilo@member.fsf.org>
2809         * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2810         image backend support.  Either of them is fine.
2812 2011-01-08  Chong Yidong  <cyd@stupidchicken.com>
2814         * subr.el (y-or-n-p): Doc fix.
2816         * custom.el (custom-safe-theme-files): New defcustom.
2817         (custom-theme-load-confirm): New function.
2818         (load-theme): Load theme using `load', confirming with
2819         custom-theme-load-confirm if necessary.
2821         * subr.el (read-char-choice): New function, factored out from
2822         dired-query and hack-local-variables-confirm.
2824         * dired-aux.el (dired-query):
2825         * files.el (hack-local-variables-confirm): Use it.
2827         * dired-aux.el (dired-compress-file):
2828         * files.el (abort-if-file-too-large, find-alternate-file)
2829         (set-visited-file-name, write-file, backup-buffer)
2830         (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2831         (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2832         Use new format string args for y-or-n-p and yes-or-no-p.
2834 2011-01-08  Andreas Schwab  <schwab@linux-m68k.org>
2836         * progmodes/compile.el (compilation-error-regexp-alist-alist)
2837         [gcc-include]: Tighten file name match, add match for column
2838         number.  (Bug#7806)
2839         [gnu]: Remove unused group.
2841 2011-01-08  Glenn Morris  <rgm@gnu.org>
2843         * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2845         * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2847 2011-01-07  Sam Steingold  <sds@gnu.org>
2849         * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2850         the `explicit-shell-file-name' because that is the
2851         non-interactive shell.
2853 2011-01-07  Chong Yidong  <cyd@stupidchicken.com>
2855         * subr.el (y-or-n-p): Accept format string args.
2857 2011-01-07  Glenn Morris  <rgm@gnu.org>
2859         * Makefile.in (EMACSOPT): Add --no-site-lisp.
2861 2011-01-06  Ken Manheimer  <ken.manheimer@gmail.com>
2863         * allout.el (allout-back-to-current-heading): Ensure return to
2864         the visible containing topic, rather than a collapsed one.
2865         (allout-view-change-hook): Remove hook that was deprecated long ago.
2866         (allout-exposure-change-hook): Remove documentation remarks
2867         concerning removed allout-view-change-hook.
2868         (allout-flag-region): Remove invocation of and documentation
2869         remarks concerning allout-view-change-hook.
2871 2011-01-06  Glenn Morris  <rgm@gnu.org>
2873         * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2874         (vc-bzr-annotate-extract-revision-at-line):
2875         Handle authors with embedded spaces.  (Bug#7792)
2877 2011-01-05  Tassilo Horn  <tassilo@member.fsf.org>
2879         * doc-view.el (doc-view-image-width): New variable.
2880         (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2881         backend for PNG images, and do dynamic rescaling instead of
2882         reconverting the whole doc.
2884 2011-01-05  Glenn Morris  <rgm@gnu.org>
2886         * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2888 2011-01-04  Ken Manheimer  <ken.manheimer@gmail.com>
2890         * allout.el: Reconcile with changes in line movement behavior for
2891         long text lines that cross more than a single physical window
2892         line, ie when truncate-lines is nil.
2893         (allout-next-visible-heading): Provide for change in line-move
2894         behavior on long lines when truncate-lines is nil.  In that case,
2895         line-move can wind up on the same textual line when it moves to
2896         the next window line, and moving to the bullet position after the
2897         move yields zero advancement.  Add logic to detect and compensate
2898         for the lack of progress.
2899         (allout-current-topic-collapsed-p): move-end-of-line respect for
2900         field boundaries is different when operating with body lines
2901         shorter than window width versus ones greater than window width,
2902         which can yield false negatives in this function.  Avoid
2903         difference by applying move-end-of-line while field-text-motion is
2904         inhibited.
2906 2011-01-04  Glenn Morris  <rgm@gnu.org>
2908         * textmodes/rst.el (rst-compile-toolsets):
2909         Add pdf and s5 to option alist.
2911 2011-01-04  Jan Moringen  <jan.moringen@uni-bielefeld.de>
2913         * net/dbus.el (dbus-register-property): Add optional parameter
2914         dont-register-service.  Updated docstring accordingly.
2916 2011-01-04  Andreas Schwab  <schwab@linux-m68k.org>
2918         * textmodes/rst.el (rst-compile-pdf-preview)
2919         (rst-compile-slides-preview): Remove extra line.
2921 2011-01-04  Glenn Morris  <rgm@gnu.org>
2923         * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
2924         Add `pdf' and `s5' entries.  Use `prog.py' if found, otherwise
2925         default to `prog' without a .py extension.
2926         (rst-compile-pdf-preview, rst-compile-slides-preview):
2927         Use program names from rst-compile-toolsets, rather than hard-coding.
2928         (rst-portable-mark-active-p): Fix presumed typo.
2930 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2932         * term/w32-win.el (dynamic-library-alist): Set up correctly for
2933         libpng versions both before and after 1.4.0.  (Bug#7716)
2935 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2937         * time.el (display-time-mode): Mention display-time-interval in
2938         the doc string.  (Bug#7713)
2940 2011-01-02  Kenichi Handa  <handa@m17n.org>
2942         * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
2943         condition-case and return an error message string if something
2944         goes wrong.
2945         (rmail-show-mime): Adjust for the above change.  Insert the
2946         header by rmail-mime-insert-header.
2948 2011-01-02  Kenichi Handa  <handa@m17n.org>
2950         * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
2951         rmail-mime-previous-item, and rmail-mime-toggle-hidden.
2952         (rmail-mime-mbox-buffer)
2953         (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
2954         (rmail-mime-entity): Argument changed.  All codes handling an
2955         entity object are changed.
2956         (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
2957         the above change.
2958         (rmail-mime-entity-children, rmail-mime-entity-handler)
2959         (rmail-mime-entity-tagline): New functions.
2960         (rmail-mime-message-p): New function.
2961         (rmail-mime-save): Bind rmail-mime-mbox-buffer.
2962         (rmail-mime-entity-segment, rmail-mime-next-item)
2963         (rmail-mime-previous-item, rmail-mime-shown-mode)
2964         (rmail-mime-hidden-mode, rmail-mime-raw-mode)
2965         (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
2966         (rmail-mime-insert-tagline, rmail-mime-insert-header):
2967         New functions.
2968         (rmail-mime-text-handler): Call rmail-mime-insert-text.
2969         (rmail-mime-insert-decoded-text): New function.
2970         (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
2971         (rmail-mime-insert-image): Argument changed.  Caller changed.
2972         (rmail-mime-image): Call rmail-mime-toggle-hidden.
2973         (rmail-mime-set-bulk-data): New function.
2974         (rmail-mime-insert-bulk): Argument changed.
2975         (rmail-mime-multipart-handler): Return t.
2976         (rmail-mime-process-multipart): Argument changed.
2977         Handle "multipart/alternative" here.
2978         (rmail-mime-process): Argument changed.
2979         (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
2980         (rmail-mime-insert): Argument changed.  Handle raw display mode.
2981         (rmail-mime): Argument changed.  Handle toggling of raw display
2982         mode.
2983         (rmail-show-mime): Bind rmail-mime-mbox-buffer and
2984         rmail-mime-view-buffer.
2985         (rmail-insert-mime-forwarded-message): Likewise.
2986         (rmail-search-mime-message): Likewise.  Don't bind rmail-buffer.
2988         * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
2989         non-nil, handle the header in rmail-show-mime-function.
2991 2011-01-02  Leo  <sdl.web@gmail.com>
2993         * help-fns.el (describe-variable): Fix previous change.
2995 2011-01-02  Juri Linkov  <juri@jurta.org>
2997         * isearch.el (isearch-lazy-highlight-error): New variable.
2998         (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
2999         `isearch-lazy-highlight-error'.  Set `isearch-lazy-highlight-error'
3000         to the current value of `isearch-error' (Bug#7468).
3002 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
3004         * help-fns.el (describe-variable): Don't emit trailing whitespace
3005         (Bug#7511).
3007 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
3009         * textmodes/rst.el (rst-compile-pdf-preview)
3010         (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
3012 2011-01-02  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
3014         * emulation/edt-mapper.el: Override mapping of function keys so
3015         that the later call to read-key-sequence works.
3017 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
3019         * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
3020         Unix EOLs.  (Bug#7589)
3022 2011-01-02  Leo  <sdl.web@gmail.com>
3024         * eshell/em-hist.el (eshell-previous-matching-input): Signal error
3025         if point is not behind eshell-last-output-end (Bug#7585).
3027 2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3029         * files.el (file-local-variables-alist):
3030         Make permanent-local (bug#7767).
3032 2011-01-02  Glenn Morris  <rgm@gnu.org>
3034         * version.el (emacs-copyright): Set short copyright year to 2011.
3036 2011-01-02  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
3038         * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
3039         an existing temp buffer.  (Bug#7746)
3041 2011-01-02  Glenn Morris  <rgm@gnu.org>
3043         * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
3044         multiple addresses.  (Bug#7760)
3046 2011-01-01  Ken Manheimer  <ken.manheimer@gmail.com>
3048         * allout.el (allout-auto-fill): Do not infinitely recurse - use
3049         do-auto-fill if everything points back to allout-auto-fill.
3050         (allout-mode-deactivate-hook): Declare obsolete, in favor of
3051         standard-formed minor-mode deactivate hook, allout-mode-off-hook.
3053 2010-12-31  Michael Albinus  <michael.albinus@gmx.de>
3055         * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
3056         and "scpx".
3058 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
3060         * doc-view.el (doc-view-set-doc-type): New function refactored
3061         from doc-view-mode.
3062         (doc-view-fallback-mode): New function.
3063         (doc-view-mode): Use it.
3064         (doc-view-mode-maybe): New function that checks if doc-view-mode
3065         can be used and falls back to the next best mode otherwise.
3067         * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
3068         DVI, OpenDocument, and MS Office files.
3070 2010-12-30  Andreas Schwab  <schwab@linux-m68k.org>
3072         * emacs-lisp/rx.el (rx-syntax): Fix typo.
3074 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
3076         * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
3077         on a copy of auto-mode-alist, because that deletes with side
3078         effects.
3080 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
3082         * doc-view.el (doc-view-mode, doc-view-toggle-display):
3083         Use normal-mode without doc-view-mode bindings in auto-mode-alist as
3084         fallback instead of hard coding fundamental mode.
3086 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
3088         * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
3089         Office) files also for searching.
3091 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
3093         * doc-view.el: Implement viewing of OpenDocument (and Microsoft
3094         Office) files.  Not yet enabled via auto-mode-list.
3095         (doc-view-unoconv-program): New custom variable.
3096         (doc-view-mode-p): Handle new odf document type.
3097         (doc-view-odf->pdf): New conversion function.
3098         (doc-view-convert-current-doc): Call it for odf files.
3099         (doc-view-mode): Recognize newly supported file extensions.
3101 2010-12-30  Michael Albinus  <michael.albinus@gmx.de>
3103         * net/tramp.el (tramp-default-method-alist)
3104         (tramp-default-user-alist)
3105         (tramp-local-host-regexp, tramp-prefix-domain-format)
3106         (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
3108         * net/tramp-ftp.el:
3109         * net/tramp-gvfs.el:
3110         * net/tramp-gw.el:
3111         * net/tramp-imap.el:
3112         * net/tramp-sh.el:
3113         * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
3114         code of `tramp-default-method-alist' and `tramp-default-user-alist'.
3116 2010-12-29  Karl Fogel  <kfogel@red-bean.com>
3118         * saveplace.el (save-place-alist-to-file): Save list sorted and
3119         pretty-printed, so that it is mergeable by line-based text merging,
3120         as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
3122 2010-12-28  Ken Manheimer  <ken.manheimer@gmail.com>
3124         * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
3125         (allout-mode): Argument "toggle" => "force".
3126         Refine the docstring.
3127         Remove special provisions for reactivation, besides the 'force'
3128         argument.
3129         Consolidate layout provisions coce directly into the activation
3130         condition branch, now that we've removed those provisions.
3131         (allout-unload-function): Explicitly activate the mode before
3132         deactivating, if it's initially deactivated.
3133         (allout-set-buffer-multibyte): Properly prevent byte-compiler
3134         warnings for version of function used only where
3135         set-buffer-multibyte is unavailable.
3137 2010-12-28  Chong Yidong  <cyd@stupidchicken.com>
3139         * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
3140         are handled by the menu-bar entries.  As before, don't use
3141         :visibile to avoid changing the tool-bar.
3143 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
3145         * net/secrets.el (secrets-delete-alias): New defun.
3147 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
3149         * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
3150         methods, otherwise ~/.ssh/config would be ignored.
3152 2010-12-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3154         * emacs-lisp/rx.el: Make it a superset of sregex.
3155         (rx-constituents): Add `any => "."', mark `repeat' as taking any number
3156         of args, add `regex' alias.
3157         (rx-info): Add arg to distinguish head and standalone forms.
3158         (rx-check, rx-form): Pass the corresponding arg.
3159         (rx-**): Simplify.
3160         (rx-repeat): Make it work for any number of args.
3161         (rx-syntax): Make it accept syntax chars as is.
3162         * obsolete/sregex.el: Move from emacs-lisp/.
3163         * emacs-lisp/re-builder.el: Remove sregex support.
3164         * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
3166 2010-12-25  Eli Zaretskii  <eliz@gnu.org>
3168         * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
3169         PRIMARY first, then the clipboard.  (Bug#7699)
3171 2010-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3173         * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
3174         print-number-table.
3176 2010-12-21  Chong Yidong  <cyd@stupidchicken.com>
3178         * help-fns.el (find-lisp-object-file-name): Locate .emacs from
3179         .emacs.elc (Bug#7530).
3181         * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
3182         image spec (Bug#7480).
3184 2010-12-21  Daiki Ueno  <ueno@unixuser.org>
3186         * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
3187         * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
3188         Move from lisp/.
3190 2010-12-20  Leo  <sdl.web@gmail.com>
3192         * dnd.el (dnd-get-local-file-name): Unhex of file name shall
3193         always be performed (Bug#7680).
3195 2010-12-20  Chong Yidong  <cyd@stupidchicken.com>
3197         * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
3198         (menu-bar-edit-menu): Bind "Copy" to kill-ring-save.  Don't use
3199         mouse-region-match.
3201         * color.el: Move from gnus/.
3203         * vc/diff.el (diff-better-file-name): Function deleted.
3204         abbreviating file names causes problems with shell-quote-argument.
3205         (diff-no-select): Just use expand-file-name.
3207         * tool-bar.el (tool-bar--image-expression): New function.
3208         (tool-bar-local-item, tool-bar--image-exp): Use it.
3209         (tool-bar-setup): Initialize tool-bar-separator-image-expression.
3210         Use :enable instead of :visible to avoid changing the tool-bar
3211         configuration unnecessarily.
3213         * info.el (info-tool-bar-map): Add separators.
3215 2010-12-17  Ken Brown  <kbrown@cornell.edu>
3217         * loadup.el: Use version numbers in Cygwin build.
3219 2010-12-17  Ryan Twitchell  <metatheorem@gmail.com>  (tiny change)
3221         * ido.el (ido-file-internal): Ask for confirmation before
3222         overwriting an existing file (Bug#1238).
3224 2010-12-16  Chong Yidong  <cyd@stupidchicken.com>
3226         * tool-bar.el (tool-bar-setup): Add separators.
3228         * menu-bar.el (featurep): Use menu-bar-separator.
3230 2010-12-16  Ken Manheimer  <ken.manheimer@gmail.com>
3232         Migrate allout encryption provisions from pgg to epg.
3234         * allout.el (allout-toggle-current-subtree-encryption)
3235         (allout-toggle-subtree-encryption): Adjust docstrings to reflect
3236         defaulting policy and other changes.  Change fetch-pass to keymode-cue,
3237         for simpler universal argument interpretation.
3238         (allout-toggle-subtree-encryption): Adjust docstring to describe
3239         changed encryption provisions.  Change fetch-pass to keymode-cue, for
3240         simpler universal argument interpretation.  Remove provisions for
3241         handling key type and identity - they'll all be within
3242         allout-encrypt-string or epg/epg or even contained all the way in gpg.
3243         (allout-encrypt-string): Include keymode-cue, for optionally prompting
3244         for keypair recipients (universal argument > 1) and, in addition,
3245         associating the specified recipients with the outline (universal
3246         argument > 4) using a file local variable setting for
3247         'epa-file-encrypt-to'.
3248         Require epa, for recipients handling.
3249         Change how regexp filtering elements are named.
3250         Describe the problem with caching of incorrect symmetric-decryption
3251         keys.
3252         Use the epa-passphrase-callback-function, in case the user is using
3253         GnuPG v1.
3254         Support saving of the selected keypair recipients when invoked with a
3255         keymode-cue > 4.
3256         Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
3257         Require 'epa.
3258         Establish epg-context with armoring and default epg-protocol.
3259         Remove all passphrase cache, verification, and hinting code.
3260         (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
3261         No longer used, delete.
3262         (allout-mode): Adjust docstring to describe changed encryption
3263         provisions.  Describe the problem with caching of incorrect
3264         symmetric-decryption keys.
3265         (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
3266         (allout-make-passphrase-state, allout-passphrase-state-passphrase)
3267         (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
3268         (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
3269         Obsolete, remove.
3271 2010-12-16  Daiki Ueno  <ueno@unixuser.org>
3273         * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
3274         key selection prompt; make 'silent as default (Bug#7487).
3276 2010-12-16  Leo  <sdl.web@gmail.com>
3278         * eshell/eshell.el (eshell-directory-name):
3279         Use locate-user-emacs-file (Bug#7578).
3281 2010-12-15  Glenn Morris  <rgm@gnu.org>
3283         * loadup.el (symbol-file-load-history-loaded): Remove; unused.
3285 2010-12-15  Jari Aalto  <jari.aalto@cante.net>
3286             Scott Evans  <gse@antisleep.com>
3288         * rect.el (rectange--default-line-number-format)
3289         (rectangle-number-line-callback): New functions.
3290         (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
3292 2010-12-15  Chong Yidong  <cyd@stupidchicken.com>
3294         * rect.el (operate-on-rectangle-lines, string-rectangle-string):
3295         Delete unused variables.
3296         (move-to-column-force): Remove function obsolete since 21.2.
3298 2010-12-14  Michael Albinus  <michael.albinus@gmx.de>
3300         * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
3301         (tramp-handle-insert-file-contents): Do not set permanent-local
3302         property.
3304         * net/tramp-cache.el (tramp-persistency-file-name):
3305         Use `locate-user-emacs-file' if fboundp.
3307         * net/tramp-sh.el (tramp-methods): Add "ksu".
3308         (tramp-default-user-alist): Add "ksu".  Use `regexp-opt' for
3309         method list.
3311 2010-12-14  Glenn Morris  <rgm@gnu.org>
3313         * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3314         (find-tag-marker-ring): Declare.
3315         (js-find-symbol): Require etags.
3317         * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3318         Require mail-utils.
3319         (mail-alias-file): Don't autoload.  Doc fix.
3320         (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3321         (mail-mailer-swallows-blank-line): Default to nil.  Doc fix.
3322         Mark as obsolete, and risky.
3323         (mail-setup): Simplify.
3325         * mail/mailalias.el (build-mail-aliases): Make it interactive.
3326         * mail/sendmail.el (build-mail-aliases): Update autoload.
3328         * dired.el (dired-trivial-filenames, dired-chown-program)
3329         (dired-auto-revert-buffer): Remove autoload cookies.
3330         * mail/sendmail.el (mail-recover-1): Require 'dired.
3332         * dired.el (dired-subdir-switches, dired-chown-program)
3333         (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3334         Make into defcustoms.
3335         (dired-chown-program): Simplify initialization.
3337         * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3339 2010-12-13  Romain Francoise  <romain@orebokech.com>
3341         * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3343 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3345         * net/netrc.el (netrc-point-at-eol): Remove the unused
3346         netrc-point-at-old and netrc-bound-and-true-p bindings.
3347         (netrc-parse): Cache the netrc contents.
3349 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
3351         * subr.el (posn-col-row): Evaluate header-line-format in the
3352         context of the POSITION window's buffer.
3354 2010-12-13  Glenn Morris  <rgm@gnu.org>
3356         * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3357         (with-silent-modifications): Doc fixes.
3359 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
3361         * net/tramp.el (tramp-action-password, tramp-process-actions):
3362         Revert previous from.  Use `save-restriction'.
3364 2010-12-13  Stephen Berman  <stephen.berman@gmx.net>
3366         * calendar/diary-lib.el (diary-list-sexp-entries):
3367         Handle case of no newline at end of file.  (Bug#7536)
3369 2010-12-13  Glenn Morris  <rgm@gnu.org>
3371         * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3373 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
3375         * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3376         (tramp-process-actions): Do not widen.
3378         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3379         Protect buffer-modified value.  (Bug#7557)
3381 2010-12-13   Jan Moringen  <jmoringe@techfak.uni-bielefeld.de>
3383         * log-edit.el (log-edit-changelog-entries):
3384         Regexp quote filename.  (Bug#7505)
3386 2010-12-13  Tom Breton  <tehom@panix.com>
3388         * cus-edit.el (custom-save-all):
3389         Bind print-length and print-level to nil.  (Bug#7581)
3391 2010-12-13  Glenn Morris  <rgm@gnu.org>
3393         * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3394         Run hooks to update menu contents.  (Bug#7586)
3396         * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3397         file names, for the sake of MS Windows.  (Bug#7588)
3399 2010-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3401         * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3402         empty lines without a leading space.
3404 2010-12-13  Leo  <sdl.web@gmail.com>
3406         * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3407         while mapping over marks (Bug#6810).
3409 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
3411         * image-dired.el (image-dired-db-file)
3412         (image-dired-temp-image-file, image-dired-gallery-dir)
3413         (image-dired-temp-rotate-image-file): Set default values relative
3414         to image-dired-dir (Bug#7518).
3416 2010-12-13  Lawrence Mitchell  <wence@gmx.li>
3418         * format.el (format-decode-run-method): Pass args FROM and TO, not
3419         point-min and point-max, to shell-command-on-region (Bug#7488).
3421 2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
3423         * frame.el (blink-cursor-mode): Make default t for ns.
3425 2010-12-13  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
3427         * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3429 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
3431         * comint.el (comint-dynamic-list-input-ring)
3432         (comint-dynamic-complete-filename)
3433         (comint-replace-by-expanded-filename)
3434         (comint-dynamic-simple-complete)
3435         (comint-dynamic-list-filename-completions)
3436         (comint-dynamic-list-completions): Doc fix (Bug#7499).
3438         * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3439         Doc fix (Bug#7471).
3441 2010-12-13  Martin Rudalics  <rudalics@gmx.at>
3443         * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3444         (Bug#7533).
3446 2010-12-13  W. Martin Borgert  <debacle@debian.org>  (tiny change)
3448         * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3449         (Bug#7491).
3451 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
3453         * files.el (file-relative-name): Handle UNC file names on
3454         DOS/Windows.  (Bug#4674)
3456 2010-12-13  Daiki Ueno  <ueno@unixuser.org>
3458         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3459         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
3460         (epg-context-set-passphrase-callback): Mention that the callback
3461         is not called when used with GnuPG 2.x.
3463 2010-12-13  Glenn Morris  <rgm@gnu.org>
3465         * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3466         Ensure ps-footer-font-size-internal is initialized.
3467         Call ps-get-page-dimensions before trying to use ps-font-for-text.
3469 2010-12-13  Kenichi Handa  <handa@m17n.org>
3471         * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3472         within condition-case.
3473         (rmail-show-mime): Don't use condition-case.
3474         (rmail-search-mime-message): New function.
3475         (rmail-search-mime-message-function): Set to
3476         rmail-search-mime-message.
3478 2010-12-13  Leo  <sdl.web@gmail.com>
3480         * ido.el (ido-common-initialization): New function.  (bug#3274)
3481         (ido-mode): Use it.
3482         (ido-completing-read): Call it.
3484 2010-12-12  Karl Fogel  <kfogel@red-bean.com>
3486         * bookmark.el (bookmark-name-from-full-record): Rename back to
3487         this original name from `bookmark-name-from-record' reverting part
3488         of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
3489         As Drew Adams pointed out, there was no reason to cause churn for
3490         third-party callers.  (Bug#7609)
3492 2010-12-12  Alan Mackenzie  <acm@muc.de>
3494         * progmodes/cc-engine.el (c-forward-type): Before scanning a
3495         template arglist, check that the current language supports this.
3497 2010-12-11  Glenn Morris  <rgm@gnu.org>
3499         * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
3500         state of the file matches.  (Bug#7544)
3501         (vc-bzr-register, vc-bzr-checkin)
3502         (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
3503         (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
3505         * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
3507 2010-12-11  Karel Klíč  <kklic@redhat.com>
3509         * files.el (auto-mode-alist): Use html-mode for *.xhtml.  (Bug#7606)
3511 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3513         Derive from prog-mode, use derived-mode-p, and fix up various
3514         minor style issues in lisp/progmodes.
3516         * progmodes/vhdl-mode.el (vhdl-mode):
3517         * progmodes/verilog-mode.el (verilog-mode):
3518         * progmodes/vera-mode.el (vera-mode):
3519         * progmodes/sql.el (sql-mode):
3520         * progmodes/scheme.el (scheme-mode):
3521         * progmodes/perl-mode.el (perl-mode):
3522         * progmodes/octave-inf.el (inferior-octave-mode):
3523         * progmodes/autoconf.el (autoconf-mode):
3524         * progmodes/m4-mode.el (m4-mode):
3525         * progmodes/inf-lisp.el (inferior-lisp-mode):
3526         * progmodes/idlwave.el (idlwave-mode):
3527         * progmodes/icon.el (icon-mode):
3528         * progmodes/idlw-help.el (idlwave-help-mode):
3529         * progmodes/dcl-mode.el (dcl-mode):
3530         * progmodes/idlw-shell.el (idlwave-shell-mode):
3531         * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
3532         (ebrowse-member-mode, ebrowse-electric-position-mode):
3533         Use define-derived-mode.
3535         * progmodes/xscheme.el (exit-scheme-interaction-mode)
3536         (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
3537         (xscheme-debugger-mode-p, xscheme-send-string-1):
3538         * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
3539         (tcl-load-file, tcl-restart-with-file):
3540         * progmodes/ps-mode.el (ps-run-running):
3541         * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
3542         * progmodes/js.el (js--get-all-known-symbols):
3543         * progmodes/inf-lisp.el (inferior-lisp-proc):
3544         * progmodes/idlwave.el (idlwave-beginning-of-statement)
3545         (idlwave-template, idlwave-update-buffer-routine-info)
3546         (idlwave-update-current-buffer-info)
3547         (idlwave-get-routine-info-from-buffers, idlwave-choose)
3548         (idlwave-scan-class-info, idlwave-fix-keywords)
3549         (idlwave-list-buffer-load-path-shadows):
3550         * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
3551         (idlwave-toolbar-remove):
3552         * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
3553         (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
3554         (idlwave-shell-menu-def):
3555         * progmodes/idlw-complete-structtag.el
3556         (idlwave-prepare-structure-tag-completion):
3557         * progmodes/gud.el (gud-set-buffer):
3558         * progmodes/f90.el (f90-backslash-not-special):
3559         * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
3561         * progmodes/xscheme.el (xscheme-start)
3562         (local-set-scheme-interaction-buffer, scheme-interaction-mode):
3563         * progmodes/which-func.el (which-function):
3564         * progmodes/vhdl-mode.el (vhdl-set-style):
3565         * progmodes/verilog-mode.el (verilog-set-compile-command)
3566         (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
3567         (verilog-set-define, verilog-auto-reeval-locals):
3568         * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
3569         * progmodes/simula.el (simula-mode):
3570         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3571         * progmodes/python.el (python-check, python-mode):
3572         * progmodes/prolog.el (prolog-mode-variables):
3573         * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
3574         * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
3575         * progmodes/delphi.el (delphi-mode):
3576         * progmodes/cc-styles.el (c-setup-paragraph-variables):
3577         * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
3578         (c-font-lock-init): Move make-local-variable to their setq.
3580         * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
3581         (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
3582         make-local-hook.
3583         * progmodes/sh-script.el (sh-require-final-newline): Remove.
3584         (sh-set-shell): Don't set require-final-newline since it's already done
3585         by prog-mode.
3586         * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
3587         since we never set it.
3588         * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
3589         Use read-string and standard prompt.
3590         * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
3591         * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
3592         (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
3593         (meta-common-mode-map): Rename from meta-mode-map.
3594         Remove C-m binding, which is a user preference, not mode specific.
3595         (meta-common-mode): New major mode; replace meta-common-initialization.
3596         * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
3597         around with font-lock.
3598         * progmodes/etags.el (select-tags-table-mode):
3599         Derive from special-mode.
3600         * progmodes/octave-mod.el (octave-mode):
3601         * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
3602         (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
3603         (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
3604         Let define-derived-mode do its job.
3605         * progmodes/cpp.el (cpp-edit-mode-map):
3606         Move initialization into declaration.
3607         (cpp-edit-mode): Use define-derived-mode.
3608         (cpp-edit-load): Use derived-mode-p.
3609         * progmodes/mixal-mode.el (mixal-mode):
3610         * progmodes/f90.el (f90-mode):
3611         * progmodes/cfengine.el (cfengine-mode): Don't bother setting
3612         require-final-newline since prog-mode does it already.
3613         * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
3614         * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
3615         * progmodes/antlr-mode.el: Require cc-mode upfront.
3616         (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
3617         the declaration.
3618         (antlr-directory-dependencies, antlr-show-makefile-rules):
3619         Use derived-mode-p.
3620         (antlr-language-option): Don't assume point-min==1.
3621         (antlr-mode): Use define-derived-mode.
3622         * progmodes/ada-mode.el: Use derived-mode-p.
3623         (ada-mode): Use define-derived-mode.
3624         Use hack-local-variables-hook.
3626 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3628         * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
3629         (texinfo-mode): Don't disable adaptive-fill-mode.
3630         (texinfo-insert-block): Adjust cursor placement for blocks with arg.
3631         (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
3632         (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
3633         (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
3634         (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
3635         (texinfo-insert-@quotation, texinfo-insert-@samp)
3636         (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
3637         (texinfo-insert-@uref): Use define-skeleton.
3638         (texinfo-insert-@-with-arg): Delete.
3640 2010-12-10  Eli Zaretskii  <eliz@gnu.org>
3642         * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
3643         nil, do quote archive member names.  (Bug#6144)
3645 2010-12-10  Glenn Morris  <rgm@gnu.org>
3647         * files.el (diff-no-select): Declare.
3649         * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
3650         (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
3652         * comint.el (comint-input-ring-file-name): Doc fix.
3654 2010-12-09  Eli Zaretskii  <eliz@gnu.org>
3656         * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
3657         New functions.
3658         (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
3659         Use them instead of `nil' and `>', respectively.
3660         (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
3661         instead of `nil'.
3662         (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
3663         and menu-bar-positive-p instead of `nil' and `>', respectively.
3664         (Bug#1077)
3666 2010-12-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3668         * whitespace.el (whitespace-newline-mode): Code fix.
3670 2010-12-09  Glenn Morris  <rgm@gnu.org>
3672         * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
3673         Rename functions without commas, update callers.
3675 2010-12-08  Jeff Dairiki  <dairiki@dairiki.org>  (tiny change)
3677         * whitespace.el (whitespace-cleanup-region):
3678         Clean up spaces before tabs.  (Bug#7582)
3680 2010-12-08  Karl Fogel  <kfogel@red-bean.com>
3682         * bookmark.el: Adjust parameter names and doc strings to resolve
3683         confusion over whether "bookmark" meant a bookmark name or a
3684         bookmark record.  Along the way, shorten one function's name for
3685         similar reasons.  (Issue #7548)
3686         (bookmark-name-from-record): New name for
3687         `bookmark-name-from-full-record'.  All callers changed.
3688         (bookmark-get-bookmark, bookmark-get-bookmark-record)
3689         (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
3690         (bookmark-get-annotation, bookmark-set-annotation)
3691         (bookmark-get-filename, bookmark-set-filename)
3692         (bookmark-get-position, bookmark-set-position)
3693         (bookmark-get-front-context-string, bookmark-set-front-context-string)
3694         (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
3695         (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
3696         (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
3697         Rename `bookmark' parameter to `bookmark-name-or-record', to
3698         clearly show its role, and shorten or adjust doc strings accordingly.
3699         (bookmark-set-name): Same, and pass the parameter directly to
3700         `bookmark-get-bookmark' instead of redundantly doing the callee's work.
3701         (bookmark-default-annotation-text, bookmark-send-edited-annotation)
3702         (bookmark-relocate, bookmark-insert-location, bookmark-insert)
3703         (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
3704         and in some cases shorten doc string accordingly.
3705         (bookmark-rename): Change `old' and `new' parameters to `old-name'
3706         and `new-name', and adjust an internal variable to avoid confusion.
3707         (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
3708         parameter in doc string.
3710 2010-12-08  Glenn Morris  <rgm@gnu.org>
3712         * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
3713         from gdb's history file.  (Bug#7575)
3715         * mail/emacsbug.el (report-emacs-bug):
3716         Try to handle some other mail clients.
3718 2010-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3720         * files.el (dir-locals-collect-variables): Don't let errors stop us.
3721         Use string-prefix-p.
3722         (file-name-version-regexp): New var.
3723         (file-name-sans-versions):
3724         * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
3725         (jka-compr-get-compression-info): Use dolist.
3726         (jka-compr-compression-info-list): Don't bother specifying
3727         version/backup regexps.
3729 2010-12-07  Tassilo Horn  <tassilo@member.fsf.org>
3731         * simple.el (just-one-space): Make argument n default to 1 if
3732         omitted.
3734 2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3736         * electric.el (electric-indent-post-self-insert-function):
3737         Delete trailing newlines even if we don't reindent.
3739 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3741         * minibuffer.el (completion-at-point): Remove the `arg'.
3742         * bindings.el (complete-symbol): Move back from minibuffer.el.
3744 2010-12-06  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3746         * simple.el (just-one-space): Delete newlines for negative arg.
3748 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3750         * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
3751         (ansi-color-filter-apply): Simplify.
3752         (ansi-color-apply): Use `font-lock-face' rather than `face'.
3754 2010-12-05  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
3756         * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3758 2010-12-04  Chong Yidong  <cyd@stupidchicken.com>
3760         * dired.el (dired-use-ls-dired): Set default to a special
3761         "unspecified" value.
3762         (dired-insert-directory): When called the first time, check
3763         whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
3765 2010-12-04  Tak Ota  <Takaaki.Ota@am.sony.com>
3767         * replace.el: Add "collect" feature to occur.
3768         (occur-collect-regexp-history): New var.
3769         (occur-read-primary-args): Return a replace string for nlines,
3770         if needed.
3771         (occur): Extend the meaning of nlines.
3773 2010-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3775         * progmodes/which-func.el (which-func-ff-hook): Log the error message.
3776         (which-func-update-1): Distinguish symbols from strings.
3777         (which-function): Stay within 80 columns.
3779 2010-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3781         * subr.el (with-demoted-errors): Distinguish symbols from strings.
3783         * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3784         Improve docstring.
3785         (comment-style): Use comment-styles's docs to describe values.
3787 2010-12-03  Jan Djärv  <jan.h.d@swipnet.se>
3789         * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3790         and ns-show-prefs (Bug#7535).
3792         * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3793         bindings (Bug#7535).
3795 2010-12-03  Glenn Morris  <rgm@gnu.org>
3797         * nxml/nxml-mode.el: Require rng-nxml.
3798         (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3799         Remove declarations.
3801         * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3802         * nxml/rng-nxml.el, nxml/rng-valid.el:
3803         Remove leading `*' from defcustom docs.
3805         * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3806         (normal-top-level-add-to-load-path, tty-handle-args):
3807         Convert comments to basic doc-strings.
3809         * net/browse-url.el (browse-url-url-at-point)
3810         (browse-url-default-browser): Remove autoload cookies.
3812         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3813         Remove more undefined cl functions.
3815         * vc/diff.el (diff-sentinel): Make new arguments optional.
3816         * ibuf-ext.el (diff-sentinel): Update declaration.
3818 2010-12-03  Daiki Ueno  <ueno@unixuser.org>
3820         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3821         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
3822         (epg-context-set-passphrase-callback): Mention that the callback
3823         is not called when used with GnuPG 2.x.
3825 2010-12-02  Michael Albinus  <michael.albinus@gmx.de>
3827         * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3828         (tramp-file-name-port): Check also for `tramp-default-port'.
3829         (tramp-get-connection-name): New defun.
3830         (tramp-get-connection-process): Use it.
3831         (tramp-debug-message): Extend function exclude list.
3832         (tramp-drop-volume-letter): Fix doc string.
3834         * net/tramp-cmds.el: Remove solved todo item.
3836         * net/tramp-ftp.el:
3837         * net/tramp-gvfs.el:
3838         * net/tramp-gw.el:
3839         * net/tramp-imap.el:
3840         * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3841         and `tramp-default-user-alist', respectively.
3843         * net/tramp-gw.el (tramp-gw-open-connection):
3844         Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3846         * net/tramp-imap.el (tramp-imap-make-iht): Use just
3847         `tramp-file-name-port'.
3849         * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3850         and "psftp".  Exchange "%k" marker with options.
3851         (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3852         Compute size of link target.
3853         (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3854         `tramp-current-*' up due to gateway methods.  Optimize computing of
3855         copy arguments.  Use `tramp-get-connection-name' and
3856         `tramp-get-connection-buffer'.  Improve debug messages.
3857         (tramp-compute-multi-hops): Remove port determination.
3858         (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3860         * net/trampver.el: Update release number.
3862 2010-12-02  Glenn Morris  <rgm@gnu.org>
3864         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3865         Avoid infinite loop over windows.  (Bug#7492)
3867         * progmodes/flymake.el (flymake-check-file-limit):
3868         Allow nil to mean "no limit".
3869         (flymake-check-patch-master-file-buffer): Update for above change.
3870         Allow a .tex file-name extension to be optional.
3871         (flymake-master-tex-init): Also match \include statements.
3873 2010-11-30  Sam Steingold  <sds@gnu.org>
3875         * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3876         (nxml-parent-document-set): A function to set `nxml-parent-document'.
3877         (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3878         (nxml-mode-hook): Remove `defcustom' (auto-defined by
3879         define-derived-mode').
3880         * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3881         users who want to call `nxml-parent-document-set'.
3883 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3885         * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3886         stand-alone lines, since that is handled by log-edit-match-to-eoh
3887         (Bug#6465).
3889 2010-11-27  Eduard Wiebe  <usenet@pusto.de>
3891         * dired.el (dired-get-filename): Replace backslashes with slashes
3892         in file names on MS-Windows, needed by `locate'.  (Bug#7308)
3893         * locate.el (locate-default-make-command-line): Don't consider
3894         drive letter and root directory part of
3895         `directory-listing-before-filename-regexp'.  (Bug#7308)
3896         (locate-post-command-hook, locate-post-command-hook): New defcustoms.
3898 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3900         * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3901         of :smie-open/close-alist.
3902         (smie-next-sexp): Make it accept a "start token" as argument.
3903         (smie-indent-keyword): Be careful not to misidentify tokens that span
3904         more than one line, as empty lines.  Add argument `token'.
3906 2010-11-27  Kenichi Handa  <handa@m17n.org>
3908         * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
3909         multipart subtypes, insert all as usual.
3911         * mail/rmail.el: Require rfc2047.
3913 2010-11-27  Kenichi Handa  <handa@m17n.org>
3915         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
3916         (rmail-mime-entity-disposition)
3917         (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
3918         (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
3919         (rmail-mime-save): Handle the case that the button's `data' is a
3920         MIME entity.
3921         (rmail-mime-insert-text): New function.
3922         (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
3923         (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
3924         (rmail-mime-insert-bulk): New function mostly copied from the old
3925         rmail-mime-bulk-handler.
3926         (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
3927         (rmail-mime-process-multipart): New function mostly copied from
3928         the old rmail-mime-multipart-handler.
3929         (rmail-mime-show): Just call rmail-mime-process.
3930         (rmail-mime-process): New function mostly copied from the old
3931         rmail-mime-show.
3932         (rmail-mime-insert-multipart, rmail-mime-parse)
3933         (rmail-mime-insert, rmail-show-mime)
3934         (rmail-insert-mime-forwarded-message)
3935         (rmail-insert-mime-resent-message): New functions.
3936         (rmail-insert-mime-forwarded-message-function): Set to
3937         rmail-insert-mime-forwarded-message.
3938         (rmail-insert-mime-resent-message-function): Set to
3939         rmail-insert-mime-resent-message.
3941         * mail/rmailsum.el: Require rfc2047.
3942         (rmail-header-summary): Handle multiline Subject: field.
3943         (rmail-summary-line-decoder): Change the default to
3944         rfc2047-decode-string.
3946         * mail/rmail.el (rmail-enable-mime): Change the default to t.
3947         (rmail-mime-feature): Change the default to `rmailmm'.
3948         (rmail-quit): Delete the specifal code for rmail-enable-mime.
3949         (rmail-display-labels): Likewise.
3950         (rmail-show-message-1): Check rmail-enable-mime, and use
3951         rmail-show-mime-function for a MIME message.  Decode the headers
3952         according to RFC2047.
3954 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3956         * progmodes/which-func.el (which-func-imenu-joiner-function):
3957         Return a string, as expected.
3958         (which-function-mode): Make sure we stop any previous timer before
3959         starting a new one.
3961 2010-11-27  Michael Albinus  <michael.albinus@gmx.de>
3963         * net/tramp.el (tramp-default-method-alist)
3964         (tramp-default-user-alist, tramp-default-proxies-alist):
3965         Adapt custom options type.  (Bug#7445)
3967 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3969         * progmodes/python.el: Add Ipython support (Bug#5390).
3970         (python-shell-prompt-alist)
3971         (python-shell-continuation-prompt-alist): New options.
3972         (python--set-prompt-regexp): New function.
3973         (inferior-python-mode, run-python, python-shell):
3974         Require ansi-color.  Use python--set-prompt-regexp to set the comint
3975         prompt based on the Python interpreter.
3976         (python--prompt-regexp): New var.
3977         (python-check-comint-prompt)
3978         (python-comint-output-filter-function): Use it.
3979         (run-python): Use a pipe (Bug#5694).
3981 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3983         * progmodes/python.el (run-python): Doc fix.
3984         (python-keep-current-directory-in-path): New var (Bug#7454).
3986 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3988         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3989         Prompt user before actually printing.
3991 2010-11-27  Glenn Morris  <rgm@gnu.org>
3993         * startup.el (package-enable-at-startup, package-initialize):
3994         Remove unnecessary declarations.
3996 2010-11-27  Eli Zaretskii  <eliz@gnu.org>
3998         * international/characters.el (glyphless-char-display-control):
3999         Exclude newline and TAB from the c0-control group.
4001 2010-11-27  Glenn Morris  <rgm@gnu.org>
4003         * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
4004         (expand-mail-aliases): Remove unnecessary autoload.
4006         * allout.el (allout-command-prefix, allout-mode-map): Declare.
4008         * shell.el (shell-dir-cookie-re): Move definition before use.
4010         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4011         Replace undefined CL functions.
4013 2010-11-26  Eli Zaretskii  <eliz@gnu.org>
4015         * simple.el (prog-mode): Set bidi-paragraph-direction to
4016         left-to-right.
4018         * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
4020 2010-11-26  Glenn Morris  <rgm@gnu.org>
4022         * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
4023         diary-outlook-formats can be sensitive to calendar-date-style.
4024         (diary-outlook-formats): Simplify the default setting.
4025         (diary-from-outlook-internal): Pass subject and body as arguments.
4026         Use dolist rather than dotimes.  Don't save the diary buffer.
4027         (diary-from-outlook-gnus, diary-from-outlook-rmail):
4028         Pass subject and body as explicit arguments to the -internal function.
4030 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4032         * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
4033         parsing them.  This makes mailto:...?subject=foo\nbar work.
4035 2010-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4037         * vc/diff.el (diff): Fix last change.
4039 2010-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4041         * emacs-lisp/pcase.el: Improve pcase-let.  Use "pcase--" prefix.
4042         (pcase--dontcare-upats): New var.
4043         (pcase-let, pcase-let*): Generate better code.
4044         Accept the same bodies as `let'.
4045         (pcase-dolist): New macro.
4046         (pcase--trivial-upat-p): New helper function.
4047         (pcase--expand): Strip leading "(let nil" if any.
4049 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4051         * mail/mailclient.el (browse-url): Require.
4052         (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
4053         use the external browser function to send the mail (bug#7469).
4055         * net/browse-url.el (browse-url-browser-function): Revert the
4056         default back to the previous value, since the new value broke
4057         mailclient.el.
4058         (browse-url-mailto-function): New variable for mailto: URLs.
4059         (browse-url): Use the new variable for mailto: URLs.
4061 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4063         * eshell/esh-cmd.el (eshell-parse-command):
4064         * eshell/esh-arg.el (eshell-parse-arguments):
4065         * eshell/em-script.el (eshell-source-file):
4066         Use with-silent-modifications.
4068 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
4070         * vc/vc.el (vc-merge): Remove optional arg PROMPT.  Always prompt
4071         for a merge location.
4073         * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
4074         (vc-bzr-merge-branch): Always prompt.
4075         (vc-bzr-async-command): Use the full branch filename.
4077 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4079         * shell.el (shell): Use current-buffer by default if it's already
4080         a shell mode buffer and its process is dead.
4081         Suggested by Jose E. Marchesi <jemarch@gnu.org>.
4083 2010-11-23  Tassilo Horn  <tassilo@member.fsf.org>
4085         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4086         Mention that the keywords should be comma separated.
4088 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
4090         * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
4091         Accept optional prefix arg meaning to prompt for a command.
4092         (vc-update): Use vc-BACKEND-pull if available.  Accept optional
4093         prefix arg meaning to prompt for a command.
4094         (vc-pull): Alias for vc-update.
4096         * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
4097         (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
4098         (vc-bzr-merge-branch): New functions, implementing merge-branch
4099         and pull operations.
4101 2010-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4103         * Makefile.in: Fix up last merge.
4105         * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
4106         (diff-sentinel): Get them as arguments instead.
4107         (diff-old-file, diff-new-file, diff-extra-args): Remove.
4108         (diff-file-local-copy, diff-better-file-name): New funs.
4109         (diff-no-select): Rename from diff-into-buffer.
4110         Support buffers additionally to files.  Move `buf' arg.  Don't display buf.
4111         Prefer closures to buffer-local variables.
4112         (diff): Adjust accordingly.
4113         (diff-buffer-with-file): Move from files.el.
4114         * files.el (diff-buffer-with-file): Move to vc/diff.el.
4115         (diff-buffer-internal): Remove.
4116         (diff-buffer-buffer): Remove.
4117         (save-some-buffers-action-alist): Use diff-no-select so as not to guess
4118         the buffer name used, and so as not to mess up windows and frames.
4120 2010-11-22  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
4122         * files.el: Make revert work with diff-buffer-with-file (bug#7277).
4123         (diff-buffer-internal): New function extracted from diff-buffer-with-file
4124         (diff-buffer-with-file): Use it.
4125         * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
4126         (diff): Use it.
4128 2010-11-22  Tassilo Horn  <tassilo@member.fsf.org>
4130         * textmodes/reftex-ref.el (reftex-goto-label): Use the current
4131         \ref's or \pageref's value as default instead of initial input.
4133 2010-11-21  Michael Albinus  <michael.albinus@gmx.de>
4135         * files.el (backup-by-copying-when-mismatch): The default value is
4136         now t.
4138         * startup.el (normal-top-level):
4139         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4140         `backup-by-copying-when-mismatch'.
4142 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
4144         * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
4146 2010-11-21  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
4148         * progmodes/python.el (python-font-lock-keywords):
4149         Highlight top-level augmented assignments (Bug#6445).
4151 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
4153         * term/ns-win.el (ns-right-control-modifier)
4154         (ns-right-command-modifier): Defvar them.
4156         * cus-start.el (all): Add ns-right-control-modifier and
4157         ns-right-command-modifier (Bug#7458).
4159 2010-11-20  Glenn Morris  <rgm@gnu.org>
4161         * emacs-lisp/authors.el (authors-ignored-files)
4162         (authors-valid-file-names, authors-renamed-files-alist): Add entries.
4164 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
4166         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
4167         (report-emacs-bug-parse-query-results)
4168         (report-emacs-bug-create-existing-bugs-buffer): Pass through
4169         keywords used for querying the bug database to show them in the
4170         existing bugs buffer.
4172 2010-11-20  Jan Djärv  <jan.h.d@swipnet.se>
4174         * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
4176         * info.el (info-tool-bar-map): Add some :vert-only keywords.
4178 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
4180         * international/characters.el (glyphless-char-display-control):
4181         Make it a defcustom, with update-glyphless-char-display as its
4182         :set attribute.
4183         (top level): Don't call update-glyphless-char-display.
4185 2010-11-20  Michael Albinus  <michael.albinus@gmx.de>
4187         Sync with Tramp 2.2.0.
4189         * net/tramp.el (tramp-handle-insert-file-contents): Don't use
4190         `file-remote-p' (due to compatibility).
4192         * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
4193         (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
4195         * net/trampver.el: Update release number.
4197 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
4199         * faces.el (glyphless-char): Define value for `pc'.
4201 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
4203         Implemented a bug querying mechanism.
4204         * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
4205         (report-emacs-bug-create-existing-bugs-buffer)
4206         (report-emacs-bug-parse-query-results)
4207         (report-emacs-bug-query-existing-bugs): New functions.
4209 2010-11-19  Tassilo Horn  <tassilo@member.fsf.org>
4211         * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
4212         a \ref{} or \pageref{} macro, then use its value as initial input.
4214 2010-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
4216         * calc/calc-units.el (math-build-units-table-buffer):
4217         calc/README: Mention that the TeX specific units won't use the
4218         `tex' prefix in TeX mode.
4219         calc/calc-lang.el (math-variable-table): Don't use the `tex'
4220         prefix for units in TeX mode.
4222 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4224         * simple.el (kill-new, kill-append, kill-region):
4225         * comint.el (comint-kill-region): Make the yank-handler argument
4226         obsolete.
4228 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4230         * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
4231         that are both openers (resp. closers) and something else.
4232         (smie-grammar): Loosen definition of valid values.
4233         (smie-next-sexp, smie-down-list, smie-blink-matching-open)
4234         (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
4235         (smie-indent-after-keyword): Adjust users.
4236         (smie-indent-keyword): Don't indent empty lines.
4238         * vc-hg.el (vc-hg-program): New var.
4239         Suggested by Norman Gray <norman@astro.gla.ac.uk>.
4240         (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
4242 2010-11-18  Glenn Morris  <rgm@gnu.org>
4244         * emacs-lisp/autoload.el (autoload-find-destination): The function
4245         coding-system-eol-type may return non-numeric values.  (Bug#7414)
4247 2010-11-18  Ulrich Mueller  <ulm@gentoo.org>
4249         * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
4251 2010-11-18  Eli Zaretskii  <eliz@gnu.org>
4253         * subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)
4255 2010-11-18  Chong Yidong  <cyd@stupidchicken.com>
4257         * textmodes/picture.el (picture-mouse-set-point): Don't use
4258         posn-col-row; explicitly compute the motion based on the posn at
4259         the window-start (Bug#7390).
4261 2010-11-18  Glenn Morris  <rgm@gnu.org>
4263         * novice.el (disabled-command-function):
4264         Fix 2009-11-15 change.  (Bug#7384)
4266 2010-11-18  Glenn Morris  <rgm@gnu.org>
4268         * calendar/calendar.el (diary-iso-date-forms): Make elements
4269         mutually exclusive.  (Bug#7377)
4271 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4273         * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
4274         when filling the remaining "unconstrained" values.
4276 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4278         * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
4279         safety predicate.
4281         * files.el (safe-local-variable-p): Gracefully handle errors.
4283         * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
4284         Use smie-indent-virtual when indenting relative to an opener.
4285         (smie-rule-separator): Use smie-rule-parent.
4286         (smie-indent-keyword): Consult rules, even for openers at bol.
4287         (smie-indent-comment-close): Try to align closer's content.
4289 2010-11-18  Glenn Morris  <rgm@gnu.org>
4291         * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
4293 2010-11-18  Glenn Morris  <rgm@gnu.org>
4295         * printing.el (pr-menu-bind): Doc fix.
4297         * speedbar.el (speedbar-toggle-images): Doc fix.
4299         * progmodes/python.el (python-shell): Doc fix.
4301         * wid-edit.el (widget-field-use-before-change)
4302         (widget-use-overlay-change): Doc fixes.
4304 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4306         Minor cleanup to improve style.
4307         * textmodes/rst.el (rst-update-section): Use point-marker.
4308         (rst-get-decoration): Eliminate unneeded assignment.
4309         (rst-promote-region, rst-straighten-decorations)
4310         (rst-section-tree, rst-adjust): Use point-marker.
4311         (rst-toc-mode-mouse-goto): Avoid setq.
4312         (rst-shift-region-guts, rst-shift-region-left)
4313         (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4314         (rst-convert-bullets-to-enumeration): Use copy-marker.
4316         * minibuffer.el (completion-fail-discreetly): New var.
4317         (completion--do-completion): Use it.
4319         * electric.el (electric-pair-pairs): New var.
4320         (electric-pair-post-self-insert-function): Use it.
4321         (electric-layout-post-self-insert-function): Don't insert a before
4322         newline unless it's actually needed.
4324 2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4326         * progmodes/python.el (run-python): Explain why we remove the current
4327         directory from sys.path.  Suggested by Eric Hanchrow <erich@cozi.com>.
4329         * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4331 2010-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4333         * progmodes/octave-mod.el: Rely on elecric-*-modes.
4334         (octave-mode-map): Don't bind ;, SPC, and LF.
4335         (octave-auto-indent, octave-auto-newline): Remove.
4336         (electric-layout-rules): Declare.
4337         (octave-mode): Set electric-layout-rules.
4338         (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4339         (octave-reindent-then-newline-and-indent, octave-electric-semi)
4340         (octave-electric-space): Remove.
4342         * electric.el (electric-layout-mode): New minor mode.
4343         (electric--after-char-pos): New function.
4344         (electric-indent-post-self-insert-function): Use it.
4345         (electric-layout-rules): New var.
4346         (electric-layout-post-self-insert-function): New function.
4347         (electric-indent-mode): Make them interact better.
4349 2010-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4351         * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4352         (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4353         (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4355 2010-11-15  Agustín Martín  <agustin.martin@hispalinux.es>
4357         * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4358         Make sure to check inside the word (Bug#6761).
4360 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
4362         * startup.el (command-line): If the cursorColor resource is set,
4363         change the cursor face-spec (Bug#7392).
4365 2010-11-13  Ken Manheimer  <ken.manheimer@gmail.com>
4367         The main features of the following allout.el changes are:
4368         - implement user customization for the allout key bindings
4369         - add a customization control by which the user can inhibit use of
4370           a trailing Ctrl-H, so by default it's reserved for use with
4371           describe-prefix-bindings
4372         - adapt to new version of called-interactively-p, while
4373           maintaining backwards compatibility with old version
4374         - fix hotspot navigation so i works properly with meta-modified keys.
4376         * allout.el (allout-keybindings, allout-bind-keys)
4377         (allout-keybindings-binding, allout-prefixed-keybindings)
4378         (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4379         (allout-keybindings-list, allout-mode-map-adjustments)
4380         (allout-setup-mode-map): Establish allout-mode keymaps as user
4381         customizable settings, and also establish a customizable setting which
4382         regulates whether or not a trailing control-h is reserved for use with
4383         describe-prefix-bindings - and inhibit it by default, so that control-h
4384         *is* reserved for describe-prefix-bindings unless the user changes it.
4386         * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4387         and accurately between modified and unmodified events, and handle
4388         modified events more comprehensively.
4390         * allout.el (allout-substring-no-properties):
4391         Alias to use or provide version of `substring-no-properties'.
4392         (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4394         * allout.el (allout-next-single-char-property-change):
4395         Alias to use or provide version of `next-single-char-property-change'.
4396         (allout-annotate-hidden, allout-hide-by-annotation):
4397         Use `allout-next-single-char-property-change'.
4399         * allout.el (allout-select-safe-coding-system):
4400         Alias to use or provide version of `select-safe-coding-system'.
4401         (allout-toggle-subtree-encryption):
4402         Use `allout-select-safe-coding-system'.
4404         * allout.el (allout-set-buffer-multibyte):
4405         Alias to use or provide version of `set-buffer-multibyte'.
4406         (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4408         * allout.el (allout-called-interactively-p): Macro for using the
4409         different versions of called-interactively-p identically, depending on
4410         the subroutine's argument signature.
4411         (allout-back-to-current-heading, allout-beginning-of-current-entry):
4412         Use `(interactive "p")' instead of `(called-interactively-p)'.
4414         * allout.el (allout-init, allout-ascend, allout-end-of-level)
4415         (allout-previous-visible-heading, allout-forward-current-level)
4416         (allout-backward-current-level, allout-show-children):
4417         Use `allout-called-interactively-p' instead of `called-interactively-p'.
4419         * allout.el (allout-before-change-handler):
4420         Exempt edits to the (overlaid) character after the allout outline
4421         bullet from edit confirmation prompt.
4423         * allout.el (allout-add-resumptions):
4424         Ensure that it respects correct buffer for keybindings.
4426         * allout.el (allout-beginning-of-line):
4427         Use `allout-previous-single-char-property-change' alias for the sake of
4428         diverse compatibility.
4430         * allout.el (allout-end-of-line):
4431         Use `allout-mark-active-p' to encapsulate respect for mark activity.
4433 2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
4435         * frame.el (frame-notice-user-settings): Don't clobber other
4436         user-set parameters when calling face-set-after-frame-default in
4437         response to background-color parameter (Bug#7373).
4439 2010-11-13  Eli Zaretskii  <eliz@gnu.org>
4441         * international/characters.el (glyphless-char-display-control):
4442         Rename from glyphless-char-control; all users changed.  Doc fix.
4443         Signal an error if display method is not one of the recognized
4444         symbols.
4446 2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
4448         * net/tramp-compat.el (tramp-compat-line-beginning-position)
4449         (tramp-compat-line-end-position): Remove them.
4451         * net/tramp.el (tramp-parse-rhosts-group)
4452         (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4453         (tramp-parse-hosts-group, tramp-parse-passwd-group)
4454         (tramp-parse-netrc-group, tramp-parse-putty-group)
4455         * net/tramp-cmds.el (tramp-append-tramp-buffers)
4456         * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4457         (tramp-sh-handle-file-selinux-context)
4458         (tramp-sh-handle-file-name-all-completions)
4459         (tramp-sh-handle-insert-directory)
4460         (tramp-sh-handle-expand-file-name, tramp-find-executable)
4461         (tramp-wait-for-output, tramp-send-command-and-read)
4462         * net/tramp-smb.el (tramp-smb-read-file-entry)
4463         (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4465         * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4466         `point-at-bol'.
4467         (tramp-remote-coding-commands): Add an alternative using "base64
4468         -d -i".  This is needed for older base64 versions from GNU
4469         coreutils.  Reported by Klaus Reichl
4470         <Klaus.Reichl@thalesgroup.com>.
4472 2010-11-13  Hrvoje Niksic  <hniksic@xemacs.org>
4474         * simple.el (count-words-region): New function.
4476 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4478         * shell.el (shell-dir-cookie-re): New custom variable.
4479         (shell-dir-cookie-watcher): New function.
4481         * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4482         and compilation-mode (bug#7350).
4484         * vc/smerge-mode.el (smerge-refine): Choose better default part to
4485         highlight when one of them is empty.
4487         * skeleton.el (skeleton-read): Don't use `newline' since it may strip
4488         trailing space.
4489         (skeleton-newline): New function.
4490         (skeleton-internal-1): Use it.
4492         * simple.el (open-line): `newline' may strip trailing space.
4494 2010-11-12  Kevin Ryde  <user42@zip.com.au>
4496         * international/mule-cmds.el (princ-list): Use mapc.
4498 2010-11-12  Glenn Morris  <rgm@gnu.org>
4500         * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
4501         Use it to replace all instances of "*Compile-Log*".
4503 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4505         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
4506         indentation specs.
4508 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4510         * progmodes/modula2.el: Use SMIE and skeleton.
4511         (m2-mode-syntax-table): (*..*) can be nested.
4512         Add //...\n.  Fix paren syntax.
4513         (m2-mode-map): Remove LF and TAB bindings.
4514         (m2-indent): Add safety property.
4515         (m2-smie-grammar): New var.
4516         (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
4517         (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
4518         (m2-mode): Use define-derived-mode.
4519         (m2-newline, m2-tab): Remove.
4520         (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
4521         (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
4522         (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
4523         (m2-import): Use define-skeleton.
4525 2010-11-11  Glenn Morris  <rgm@gnu.org>
4527         * obsolete/lucid.el: Don't warn about any CL functions in this file.
4529         * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
4530         (ls-lisp-verbosity): Add custom :set-after property.
4531         (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
4532         (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
4533         (ls-lisp-insert-directory): Update caller.
4534         (ls-lisp-set-options): New function.
4535         (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
4536         Doc fix.
4538         * play/landmark.el (lm-prompt-for-move):
4539         * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
4541         * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
4543         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
4544         (idlwave-study-twins): Prefix dynamic local variable `name'.
4545         (idlwave-routine-twin-compare): Update for above change.
4547         * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
4548         Prefix dynamic local variables `name', `kwd', and `link'.
4549         * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
4550         * progmodes/idlw-complete-structtag.el
4551         (idlwave-complete-structure-tag-help):
4552         * progmodes/idlwave.el (idlwave-complete-sysvar-help)
4553         (idlwave-complete-sysvar-tag-help)
4554         (idlwave-complete-class-structure-tag-help):
4555         Update for above name changes.
4557 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4559         * net/browse-url.el (browse-url-browser-function): Change the
4560         default to use `browse-url-mail' on mailto: URLs.
4562 2010-11-10  Chong Yidong  <cyd@stupidchicken.com>
4564         * emacs-lisp/package.el (package-read-all-archive-contents):
4565         Reset package-archive-contents to nil before re-reading.
4567 2010-11-10  Brandon Craig Rhodes  <brandon@rhodesmill.org>  (tiny change)
4569         * textmodes/flyspell.el (flyspell-word): Do not re-check words
4570         already found as misspellings by (flyspell-large-region), just
4571         do highlighting (bug#7322).
4573 2010-11-10  Glenn Morris  <rgm@gnu.org>
4575         * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
4577         * emulation/edt.el (edt-with-position): New macro.
4578         (edt-find-forward, edt-find-backward, edt-find-next-forward)
4579         (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
4580         (edt-paragraph-forward, edt-paragraph-backward): Use it.
4582         * emulation/tpu-extras.el (tpu-with-position): New macro.
4583         (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
4585         * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
4587         * textmodes/texnfo-upd.el (texinfo-all-menus-update)
4588         (texinfo-menu-copy-old-description, texinfo-start-menu-description)
4589         (texinfo-master-menu, texinfo-insert-node-lines)
4590         (texinfo-multiple-files-update):
4591         * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
4592         Use line-beginning-position.
4594         * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
4595         No recent Emacs supports system-type `emx'.
4597         * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
4598         (ada-command-separator, ada-default-prj-properties)
4599         (ada-find-any-references): Update for above name change.
4601         * dirtrack.el (dirtrack-directory-function)
4602         (dirtrack-canonicalize-function):
4603         * filecache.el (file-cache-completion-ignore-case)
4604         (file-cache-case-fold-search, file-cache-ignore-case):
4605         * term.el (serial-port-is-file-p): Cosmetic change.
4607         * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
4608         Remove non-existent `windows-95' system-type.
4609         * dired.el (dired-chown-program): Remove non-existent `linux'
4610         system-type.
4612         * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
4613         (ping-program-options): Remove non-existent `linux' system-type.
4615         * startup.el (package-initialize): Update declaration.
4617         * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
4618         (ls-lisp-handle-switches): Use time-less-p.
4619         (ls-lisp-format-time): Use float-time.
4621         * textmodes/remember.el (remember-time-to-seconds): Remove.
4622         (remember-store-in-mailbox): Use float-time.
4624         * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
4626         * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
4627         never a real function.
4628         (with-no-warnings): Remove compat stub, now unused.
4629         (time-less-p): Doc fix.
4630         (time-to-number-of-days): Simplify.
4632         * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
4633         Remove.
4634         (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
4635         * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
4636         * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
4637         * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
4638         * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
4640         * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
4641         (eshell-shuffle-files, eshell-shorthand-tar-command)
4642         (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
4643         Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
4644         * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
4645         Prefix dynamic local variable `matches'.
4647         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
4648         Prefix dynamic local variable `skeleton'.
4650 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4652         * net/browse-url.el (browse-url-mail): Insert body part of mailto url
4653         in mail buffer; make yank-action always a command that yanks original
4654         buffer.
4656 2010-11-09  Glenn Morris  <rgm@gnu.org>
4658         * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
4660 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4662         * minibuffer.el (minibuffer-completion-help): Specify the end of the
4663         completion field (bug#7211).
4665         * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
4666         Fix handling of backslash escapes.
4667         (python-quote-syntax): Adjust accordingly.
4669 2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
4671         * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
4672         (vc-mtn-workfile-branch): Adjust to new output format.
4674 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4676         * international/mule-cmds.el (princ-list): Mark as obsolete.
4678 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4680         * emacs-lisp/smie.el: New package.
4682 2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
4684         * files.el (backup-by-copying-when-mismatch):
4685         Set `permanent-local' property.
4687         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4688         `permanent-local' property for `backup-by-copying-when-mismatch'.
4690 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
4692         * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
4694 2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
4696         * progmodes/verilog-mode.el (verilog-insert-one-definition)
4697         (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
4698         AUTOINOUT for SV style multidimensional arrays, bug294.
4699         Reported by Eric Mastromarchi.
4700         (verilog-preprocess): Use with-current-buffer and
4701         font-lock-fontify-buffer to cleanup style issues.
4703 2010-11-09  Glenn Morris  <rgm@gnu.org>
4705         * locate.el (locate, locate-mode): Doc fixes.
4707 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
4709         * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
4710         user for confirmation.
4711         (server-force-stop): Use it.
4712         (server-start): Use server-force-stop for kill-emacs-hook, to
4713         avoid user interaction while killing Emacs.
4715 2010-11-09  Glenn Morris  <rgm@gnu.org>
4717         * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
4718         (meta-indent-line): Simplify.
4720         * vc/emerge.el (emerge-line-number-in-buf):
4721         * textmodes/ispell.el (ispell-region):
4722         * textmodes/fill.el (current-fill-column):
4723         * progmodes/xscheme.el (xscheme-send-current-line):
4724         * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
4725         * progmodes/tcl.el (tcl-hairy-scan-for-comment):
4726         * progmodes/sh-script.el (sh-handle-prev-do):
4727         * progmodes/meta-mode.el (meta-indent-line):
4728         * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
4729         (idlwave-in-quote):
4730         * progmodes/idlw-shell.el (idlwave-shell-current-frame)
4731         (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
4732         * progmodes/fortran.el (fortran-looking-at-if-then):
4733         * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
4734         * progmodes/cperl-mode.el (cperl-sniff-for-indent)
4735         (cperl-find-pods-heres):
4736         * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
4737         * net/quickurl.el (quickurl-list-insert):
4738         * net/ldap.el (ldap-search-internal):
4739         * net/eudc.el (eudc-expand-inline):
4740         * mail/sendmail.el (sendmail-send-it):
4741         * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
4742         * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
4743         (viper-brac-function):
4744         * calc/calc-yank.el (calc-do-grab-region):
4745         * calc/calc-keypd.el (calc-keypad-press):
4746         * term.el (term-move-columns, term-insert-spaces):
4747         * speedbar.el (speedbar-highlight-one-tag-line):
4748         * simple.el (current-word):
4749         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4750         * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
4751         (Info-scroll-down):
4752         * hippie-exp.el (he-line-beg):
4753         * epa.el (epa--marked-keys):
4754         * dired-aux.el (dired-kill-line, dired-do-kill-lines)
4755         (dired-update-file-line, dired-add-entry, dired-remove-entry)
4756         (dired-relist-entry):
4757         * buff-menu.el (Buffer-menu-buffer):
4758         * array.el (current-line):
4759         * allout.el (allout-resolve-xref)
4760         (allout-latex-verbatim-quote-curr-line):
4761         Replace yet more uses of end-of-line etc with line-end-position, etc.
4763 2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4765         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
4766         (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
4767         (checkdoc-syntax-table): Initialize in the declaration.
4768         (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
4769         the mode on unconditionally.
4771         * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
4772         (extent-end-position, extent-start-position): Remove setf method for
4773         non-existing functions (bug#7319).
4775 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4777         * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
4778         (smie-precs->prec2): Rename from smie-precs-precedence-table.
4779         (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4780         (smie-prec2->grammar): Rename from smie-prec2-levels.
4781         (smie-grammar): Rename from smie-op-levels.
4782         (smie-indent--hanging-p): Rename from smie-hanging-p.
4783         (smie-rule-hanging-p): New alias.
4784         (smie-indent--bolp): Rename from smie-bolp.
4785         (smie-indent--hanging-p): New alias.
4786         (smie--token): New dynamically bound variable.
4787         (smie-indent--parent): New function.
4788         (smie-rule-parent-p): Use it; rename from smie-parent-p.
4789         (smie-rule-next-p): Rename from smie-next-p.
4790         (smie-rule-prev-p): Rename from smie-prev-p.
4791         (smie-rule-sibling-p, smie-rule-parent)
4792         (smie-indent--separator-outdent, smie-rule-separator): New functions.
4793         (smie-rule-separator-outdent): New var.
4794         (smie-indent--rule): Merge with smie-indent--column.
4795         (smie-indent-forward-token, smie-indent-backward-token):
4796         Also recognize close parens.
4797         (smie-indent-keyword): Don't use smie-indent--column any more.
4798         (smie-indent-after-keyword): Ignore closers by default.
4799         (smie-indent-line): Use with-demoted-errors.
4800         * progmodes/octave-mod.el (octave-smie-grammar):
4801         Rename from octave-smie-op-levels.
4802         (octave-smie-rules): Adjust to new behavior.
4803         * progmodes/prolog.el (prolog-smie-grammar):
4804         Rename from prolog-smie-op-levels.
4806 2010-11-07  Glenn Morris  <rgm@gnu.org>
4808         * eshell/esh-util.el (subst-char-in-string)
4809         (directory-files-and-attributes): These compatibility definitions are
4810         not needed on any version of Emacs since at least 21.4.
4812         * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4813         (verilog-get-end-of-line): Remove.
4814         (verilog-within-string, verilog-re-search-forward-substr)
4815         (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4816         (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4817         Use point-at-bol, point-at-eol.
4818         * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4819         Remove.
4820         (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4821         (electric-pascal-terminate-line, pascal-set-auto-comments)
4822         (pascal-indent-paramlist, pascal-indent-declaration)
4823         (pascal-get-lineup-indent, pascal-func-completion)
4824         (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4825         Use point-at-bol, point-at-eol.
4826         * progmodes/flymake.el (flymake-line-beginning-position)
4827         (flymake-line-end-position): Remove.
4828         (flymake-highlight-line): Use point-at-bol, point-at-eol.
4829         * eshell/esh-util.el (line-end-position, line-beginning-position):
4830         Remove compat definitions.
4832         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4833         Use end-of-line N.
4834         (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4835         Use line-end-position.
4837         * emacs-lisp/chart.el (chart-zap-chars):
4838         * play/decipher.el (decipher-set-map):
4839         * progmodes/ada-mode.el (ada-get-current-indent)
4840         (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4841         * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4842         * progmodes/ada-xref.el (ada-initialize-runtime-library)
4843         (ada-get-all-references):
4844         * progmodes/cperl-mode.el (cperl-electric-paren)
4845         (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4846         (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4847         (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4848         (cperl-word-at-point-hard):
4849         * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4850         (idlwave-shell-filename-string, idlwave-shell-batch-command)
4851         (idlwave-shell-display-line):
4852         * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4853         (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4854         * progmodes/js.el (js--re-search-forward-inner)
4855         (js--re-search-backward-inner):
4856         * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4857         (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4858         * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4859         * textmodes/flyspell.el (flyspell-process-localwords):
4860         * textmodes/ispell.el (ispell-buffer-local-parsing)
4861         (ispell-buffer-local-dict, ispell-buffer-local-words):
4862         Use point-at-bol and point-at-eol.
4864         * speedbar.el (speedbar-generic-item-info)
4865         (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4866         (speedbar-add-indicator, speedbar-check-vc-this-line)
4867         (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4868         (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4869         Replace more uses of end-of-line etc with line-end-position.
4871 2010-11-06  Glenn Morris  <rgm@gnu.org>
4873         * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4874         (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4875         (texinfo-delete-existing-pointers, texinfo-find-pointer)
4876         (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4877         (texinfo-multiple-files-update):
4878         * textmodes/table.el (table--probe-cell-left-up)
4879         (table--probe-cell-right-bottom):
4880         * textmodes/picture.el (picture-tab-search):
4881         * textmodes/page-ext.el (pages-copy-header-and-position)
4882         (pages-directory-for-addresses):
4883         * progmodes/vera-mode.el (vera-get-offset):
4884         * progmodes/simula.el (simula-calculate-indent):
4885         * progmodes/python.el (python-pdbtrack-overlay-arrow):
4886         * progmodes/prolog.el (end-of-prolog-clause):
4887         * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4888         * progmodes/icon.el (indent-icon-exp):
4889         * progmodes/etags.el (tag-re-match-p):
4890         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4891         * progmodes/ebnf2ps.el (ebnf-begin-file):
4892         * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4893         (dcl-save-local-variable):
4894         * play/life.el (life-setup):
4895         * play/gametree.el (gametree-looking-at-ply):
4896         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4897         * mail/sendmail.el (mail-mode-auto-fill):
4898         * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4899         * emacs-lisp/edebug.el (edebug-overlay-arrow):
4900         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4901         * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4902         (woman-tab-to-tab-stop, WoMan-warn-ignored):
4903         * type-break.el (type-break-file-keystroke-count):
4904         * term.el (term-replace-by-expanded-history-before-point)
4905         (term-skip-prompt, term-extract-string):
4906         * speedbar.el (speedbar-edit-line, speedbar-expand-line)
4907         (speedbar-contract-line, speedbar-toggle-line-expansion)
4908         (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
4909         (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
4910         * sort.el (sort-skip-fields):
4911         * skeleton.el (skeleton-internal-list):
4912         * simple.el (line-move-finish, line-move-to-column):
4913         * shell.el (shell-forward-command):
4914         * misc.el (copy-from-above-command):
4915         * makesum.el (double-column):
4916         * ebuff-menu.el (electric-buffer-update-highlight):
4917         * dired.el (dired-move-to-end-of-filename):
4918         * dframe.el (dframe-popup-kludge):
4919         * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
4920         * arc-mode.el (archive-get-lineno):
4921         Use line-end-position and line-beginning-position.
4923         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
4924         (idlwave-study-twins): Prefix dynamic local `class'.
4925         (idlwave-routine-twin-compare): Update for above name change.
4927         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
4928         Use boundp tests to silence compiler.  Update for changed name of
4929         bytecomp-filename variable.
4931         * emulation/viper-cmd.el (viper-read-string-with-history):
4932         Prefix dynamic local `initial'.
4933         (viper-minibuffer-standard-hook): Update for above name change.
4935         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
4936         (elint-init-form): Update for above name change.
4938         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
4939         local variables `cbeg' and `cend' a prefix.
4940         (mail-extr-voodoo): Update for above name change.
4942         * textmodes/reftex-toc.el (reftex-toc-do-promote)
4943         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
4944         (reftex-toc-promote-action): Doc fix.
4946         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
4947         `prompt', `data' a prefix.
4948         (reftex-select-post-command-hook, reftex-select-callback)
4949         (reftex-select-mouse-accept, reftex-select-read-cite):
4950         Update for above name changes.
4952         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
4953         `refstyle' to reftex-refstyle.
4954         (reftex-offer-label-menu): Update for above name change.
4955         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
4956         `refstyle' name change.
4958         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
4959         with with-current-buffer.
4960         (diff, template): Give dynamic local variables a prefix.
4961         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
4962         (emerge-line-number-in-buf): Update for above name change.
4963         (emerge-combine-versions-internal): Rename local `template' to
4964         emerge-combine-template.
4965         (emerge-combine-versions-edit): Update for above name change.
4967 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
4969         * textmodes/reftex-cite.el
4970         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
4971         entries with whitespace after \bibitem.
4972         (reftex-create-bibtex-file): Match entries containing numbers and
4973         symbol constituents.  Make sure that entries with whitespace at
4974         various places are found.
4976 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
4978         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
4980 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
4982         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
4984 2010-11-05  Glenn Morris  <rgm@gnu.org>
4986         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
4987         (woman2-roff-buffer): Give local variable `request' a prefix.
4988         (woman0-macro): Rename argument `request' in the same way.
4989         (woman-request): New name for `request' dynamic variable.
4990         (woman-unquote, woman-forward-arg): Update for above name change.
4991         (woman1-roff-buffer): Give local variable `unquote' a prefix.
4992         (woman1-unquote): New name for `unquote' dynamic variable.
4993         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
4994         (woman-translations): Rename from `translations'.  No longer global.
4995         (woman2-tr, woman-translate): Update for above name change.
4996         (woman-translate): Check for bound variable.
4997         (woman2-roff-buffer): Give local variable `translations' a prefix.
4999         * play/doctor.el: Give all local variables a prefix.  Update callers.
5000         (doc$, doctor-put-meaning): Use backquote.
5002         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
5003         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
5005         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
5006         variables bytes, ptr, op a prefix.
5007         (disassemble-offset): Update for above change.
5009 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
5011         * emacs-lisp/package.el (package-unpack): Remove no-op.
5012         (package--builtins, package--dir): Doc fix.
5013         (package-activate-1, package-activate, package-install)
5014         (package-compute-transaction): Fix error message.
5015         (package-delete): Use delete-directory.  Omit system packages.
5016         (package-initialize): Set package-alist to nil first.
5017         (package-menu-mark-delete, package-menu-mark-install): Don't add
5018         symbols that are inconsistent with the package state.
5019         (package-menu-execute): Perform deletions and installations as
5020         single batch operations.
5022 2010-11-03  Glenn Morris  <rgm@gnu.org>
5024         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
5025         (props): Remove unnecessary declaration.
5027         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
5028         set-process-query-on-exit-flag.
5030         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
5031         (reftex-toc-do-promote): Remove unused local `mpos'.
5032         (reftex-toc-restore-region): Make `mpos' local to this function.
5034         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
5036         * play/landmark.el (lm-losing-threshold): Correct spelling.
5037         (lm-human-plays): Use new name.
5039         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
5040         (gomoku-human-plays): Use new name.
5042         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
5043         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
5044         (gomoku-score-trans-table, gomoku-winning-threshold)
5045         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
5047 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
5049         * emacs-lisp/package.el: Don't put built-in packages in
5050         package-alist, to avoid loading inefficiencies.
5051         (package-built-in-p): Make VERSION optional, and treat it as a
5052         minimum acceptable version.
5053         (package-activate): Search separately for built-in packages.
5054         Emit a warning if a dependency fails.
5055         (define-package): Handle most common case, where there is no
5056         obsolete package, first.
5057         (package-compute-transaction): Print required version in error.
5058         (package--initialized): New variable.
5059         (list-packages): Use it.
5060         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
5061         built-in packages in packages-alist; keep it separate.
5062         Set package--initialized.
5063         (describe-package): Avoid activating packages as a side-effect.
5064         Search separately for built-in packages.
5065         (describe-package-1): Handle the case where an elpa package is
5066         simultaneously built-in and available/installed.
5067         (package-installed-p, package--generate-package-list):
5068         Search separately for built-in packages.
5069         (package-load-descriptor): Doc fix.
5071 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5073         * progmodes/perl-mode.el (perl-syntax-propertize-function):
5074         Handle __DATA__ and __END__.
5076 2010-11-02  Noah Friedman  <friedman@splode.com>
5078         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
5079         nil, do not ask to recompile files that are not already compiled,
5080         and do not recompile them.
5082 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
5084         * emacs-lisp/package.el (package-initialize): Ensure that
5085         obsoleted built-in packages are not in package-activated-list
5086         during activation.
5087         (describe-package-1): Make the "installed" status override
5088         "built-in".
5090 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5092         * subr.el (version-separator, version-regexp-alist): Remove '*'
5093         from docstring.
5094         (version-list-<=, version<=, version=): Doc fix.
5096 2010-11-01  Kenichi Handa  <handa@m17n.org>
5098         * faces.el (glyphless-char): Inherit underline for tty.
5100 2010-11-01  Kenichi Handa  <handa@m17n.org>
5102         Implement various display methods for glyphless characters.
5104         * international/characters.el (char-acronym-table): New variable.
5105         (glyphless-char-control): New variable.
5106         (update-glyphless-char-display): New function.
5108         * faces.el (glyphless-char): New face.
5110 2010-11-01  Glenn Morris  <rgm@gnu.org>
5112         * calendar/holidays.el (general-holidays, oriental-holidays)
5113         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
5114         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
5115         the definitions of their targets.
5117         * emacs-lisp/smie.el (smie): New custom group.
5118         (smie-blink-matching-inners, smie-indent-basic): Add :group.
5120         * faces.el (xw-defined-colors, x-setup-function-keys):
5121         * mouse-sel.el (x-select-text):
5122         * term/w32console.el (x-setup-function-keys): Update declarations.
5124         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
5126         * textmodes/ispell.el (comment-add): Declare.
5128         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
5129         Declare.
5131         * info.el (finder-keywords-hash, package-alist): Declare.
5133 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
5135         * finder.el (finder-compile-keywords): Don't use intern-soft,
5136         since package names may not yet exist in the obarray.
5138 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
5140         * vc/vc-arch.el (vc-arch-checkin):
5141         * vc/vc-cvs.el (vc-cvs-checkin):
5142         * vc/vc-mtn.el (vc-mtn-checkin):
5143         * vc/vc-rcs.el (vc-rcs-checkin):
5144         * vc/vc-sccs.el (vc-sccs-checkin):
5145         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
5146         since 2010-04-21 commit by Stefan Monnier.
5148 2010-11-01  Glenn Morris  <rgm@gnu.org>
5150         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
5152         * startup.el (package-enable-at-startup, package-initialize):
5153         Silence compiler.
5155         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
5156         Silence compiler.
5158 2010-10-31  Julien Danjou  <julien@danjou.info>
5160         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
5161         (byte-recompile-directory):
5162         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
5163         Use `byte-recompile-file'.
5165 2010-10-31  Glenn Morris  <rgm@gnu.org>
5167         * cus-start.el: Handle standard values via a keyword.
5168         Only set version property if specified.
5169         (cursor-in-non-selected-windows, menu-bar-mode)
5170         (tool-bar-mode, show-trailing-whitespace):
5171         Do not specify standard values.
5172         (transient-mark-mode, temporary-file-directory): Use :standard.
5174 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
5176         * term/x-win.el (x-get-selection-value): New function that gets
5177         PRIMARY with type as specified in x-select-request-type.  (Bug#6802)
5179 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
5181         * net/tramp.el (tramp-handle-insert-file-contents): For root,
5182         preserve owner and group when editing files.  (Bug#7289)
5184 2010-10-31  Glenn Morris  <rgm@gnu.org>
5186         * speedbar.el (speedbar-mode):
5187         * play/fortune.el (fortune-in-buffer, fortune):
5188         * play/gomoku.el (gomoku-mode):
5189         * play/landmark.el (lm-mode):
5190         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
5191         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
5193         * select.el (x-selection): Mark it as an obsolete alias.
5195 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
5197         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
5198         major-mode (bug#7284).
5200 2010-10-31  Glenn Morris  <rgm@gnu.org>
5202         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
5203         rather than just an unused variable that inherits from the real one.
5205 2010-10-31  Alan Mackenzie  <acm@muc.de>
5207         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
5208         This fixes bug #7185.
5210 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
5212         * startup.el (command-line): Search for package directories, and
5213         don't load package.el if none are found.
5215         * emacs-lisp/package.el (describe-package, list-packages):
5216         Call package-initialize if it has not been called yet.
5218 2010-10-30  Alan Mackenzie  <acm@muc.de>
5220         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
5221         which fontifies the tail of an enum.
5222         (c-basic-matchers-after): Insert a call to the above new function.
5223         This fixes bug #7264.
5225 2010-10-30  Glenn Morris  <rgm@gnu.org>
5227         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
5228         tool-bar-mode, transient-mark-mode.  (Bug#7306)
5229         Include the :set property in the dumped Emacs.
5231 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5233         SMIE: change indent rules format, improve smie-setup.
5234         * emacs-lisp/smie.el (smie-precs-precedence-table)
5235         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
5236         Mark them pure so the tables gets built at compile time.
5237         (smie-bnf-precedence-table): Store the closer-alist in the table.
5238         (smie-prec2-levels): Preserve the closer-alist.
5239         (smie-blink-matching-open): Be more forgiving in case of indentation.
5240         (smie-hanging-p): Rename from smie-indent--hanging-p.
5241         (smie-bolp): Rename from smie-indent--bolp.
5242         (smie--parent, smie--after): New dynamic vars.
5243         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
5244         (smie-indent-rules): Remove.
5245         (smie-indent--offset-rule): Remove fun.
5246         (smie-rules-function): New var.
5247         (smie-indent--rule): New fun.
5248         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
5249         (smie-indent-exps): Use it.
5250         (smie-setup): Setup paren blinking; add keyword args for token
5251         functions; extract closer-alist from op-levels.
5252         (smie-indent-debug-log): Remove var.
5253         (smie-indent-debug): Remove fun.
5254         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
5255         (prolog-smie-rules): New fun to replace it.
5256         (prolog-mode-variables): Simplify.
5257         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
5258         it's setup automatically.
5259         (octave-smie-indent-rules): Remove.
5260         (octave-smie-rules): New fun to replace it.
5261         (octave-mode): Simplify.
5263 2010-10-29  Glenn Morris  <rgm@gnu.org>
5265         * files.el (temporary-file-directory): Remove (already defined in C).
5266         * cus-start.el: Add temporary-file-directory.
5268         * abbrev.el (abbrev-mode):
5269         * composite.el (auto-composition-mode):
5270         * menu-bar.el (menu-bar-mode):
5271         * simple.el (transient-mark-mode):
5272         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
5273         that they do not define the associated variables twice.
5274         * simple.el (transient-mark-mode): Remove defvar.
5275         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
5276         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
5277         Handle multiple groups, and also custom-delayed-init-variables.
5278         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5280 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5282         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
5283         (pcase-if): Add one minor optimization.
5284         (pcase-split-equal): Rename from pcase-split-eq.
5285         (pcase-split-member): Rename from pcase-split-memq.
5286         (pcase-u1): Add strings to the member optimization.
5287         Add `guard' variant of predicates.
5288         (pcase-q1): Add string patterns.
5290 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5292         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
5294 2010-10-28  Glenn Morris  <rgm@gnu.org>
5296         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5297         Move menu-bar related settings to ../menu-bar.el.
5298         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5299         Move ns-specific settings here from term/ns-win.el.
5301         * simple.el (x-selection-owner-p): Remove unused declaration.
5303 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5305         * minibuffer.el (completion-cycling): New var (bug#7266).
5306         (minibuffer-complete, completion--do-completion):
5307         Use completion--flush-all-sorted-completions.
5308         (minibuffer-complete): Only cycle if completion-cycling is set.
5309         (completion--flush-all-sorted-completions): Unset completion-cycling.
5310         (minibuffer-force-complete): Set completion-cycling.
5311         (completion-all-sorted-completions): Move declaration before first use.
5313 2010-10-28  Leo  <sdl.web@gmail.com>
5315         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5316         which changes the order of matches seen by users (bug#7231).
5318 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
5320         * progmodes/compile.el (compilation-mode-font-lock-keywords):
5321         Don't confuse -omega as "-o mega".
5323 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5325         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5326         (log-edit-author): New dynamic var.
5327         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5328         to return the author if different from committer.
5329         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5331         * play/landmark.el: Adjust commenting convention.
5332         (lm-nil-score): Rename from nil-score.
5333         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5334         (OOOOscore): Move into a let in lm-score-trans-table.
5335         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5337         * electric.el (electric-indent-chars): Autoload.
5338         * progmodes/octave-mod.el (octave-mode):
5339         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5340         (ruby-mode-abbrev-table): Merge initialization and declaration.
5342 2010-10-27  Glenn Morris  <rgm@gnu.org>
5344         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5345         variable.
5347         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5349         * term/ns-win.el: Restore require of cl when compiling.
5350         (menu-bar-final-items): Remove non-existent `windows' menu.
5351         (ns-handle-nxopen): Optionally handle the temp-case.
5352         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5353         (ns-insert-file, ns-find-file): Use `pop'.
5355 2010-10-26  Glenn Morris  <rgm@gnu.org>
5357         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5359 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
5361         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5362         global map.
5363         * term/common-win.el (x-setup-function-keys): Remove most of the
5364         keymappings.  Comment on the remaining ones.
5366 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
5368         * server.el (server-port): New option.  (Bug#854)
5369         (server-start): Use server-port.
5371 2010-10-26  Glenn Morris  <rgm@gnu.org>
5373         * term/ns-win.el (ns-version-string): Remove unused declaration.
5374         (ns-invocation-args): Change to x-invocation-args.
5375         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5376         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5377         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5378         Use x-invocation-args instead of ns-invocation-args.
5379         (ns-initialize-window-system, handle-args-function-alist):
5380         Use x-handle-args instead of ns-handle-args.
5381         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5382         * startup.el (command-line-ns-option-alist): Replace
5383         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5384         ns-handle-iconic with the x- equivalents.
5386         * term/common-win.el (x-select-enable-clipboard):
5387         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5389         * term/ns-win.el: No need to require cl when compiling.
5390         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5391         (xw-defined-colors): Use the common-win definitions.
5392         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5393         (ns-handle-iconic): Make it an alias for x-handle-iconic.
5394         * term/common-win.el (x-select-text, x-alternatives-map)
5395         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5396         * loadup.el [ns]: Load common-win.
5398 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
5400         * epa-mail.el (epa-mail-encrypt): Handle local-part only
5401         recipients; expand mail aliases (Bug#7280).
5403 2010-10-25  Glenn Morris  <rgm@gnu.org>
5405         * term/common-win.el (x-handle-switch): Simplify with pop.
5406         Optionally handle numeric switches.
5407         (x-handle-numeric-switch): Just call x-handle-switch.
5408         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5409         (x-handle-name-switch, x-handle-display, x-handle-args):
5410         Simplify with pop.
5412         * term/ns-win.el: Do not require easymenu.
5413         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5414         <spell>: Move adjustments to menu-bar.el.
5415         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5416         <separator-undo, spell>: Move ns-win's adjustments here.
5417         * loadup.el [ns]: Do not load easymenu.
5419 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5421         * image.el (image-checkbox-checked, image-checkbox-unchecked):
5422         Delete (Bug#7222).
5424         * startup.el (fancy-startup-tail): Instead of using inline images,
5425         refer to image files from etc/.
5427         * wid-edit.el (checkbox): Likewise.
5428         (widget-image-find): Center image specs.
5430 2010-10-24  Glenn Morris  <rgm@gnu.org>
5432         * term/ns-win.el (x-select-text): Doc fix.
5433         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5434         (x-select-text): Move to term/common-win.
5435         * term/w32-win.el (xw-defined-colors): Move to common-win.
5436         * term/x-win.el (xw-defined-colors, x-alternatives-map)
5437         (x-setup-function-keys, x-select-text): Move to common-win.
5438         * term/common-win.el (x-select-text, x-alternatives-map)
5439         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5440         definitions here.
5442 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
5444         * net/mairix.el (mairix-searches-mode-map):
5445         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5447 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
5449         * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5450         auto-built for efficiency of execution and updating.
5451         (verilog-extended-complete-re): Support 'pure' fucntion & task
5452         declarations (these have no bodies).
5453         (verilog-beg-of-statement): General cleanup to enable support of
5454         'pure' fucntion & task declarations (these have no bodies).
5455         These efforts together fix Verilog bug210 from veripool; which was also
5456         noticed by Steve Pearlmutter.
5457         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5458         (verilog-directive-nest-re, verilog-set-auto-endcomments):
5459         Support `elsif.  Reported by Shankar Giri.
5460         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5461         attribute handling for lining up declarations and assignments.
5462         (verilog-beg-of-statement-1): Fix issue where continued declaration
5463         is indented differently if it is after a begin..end clock.
5464         (verilog-in-attribute-p, verilog-skip-backward-comments)
5465         (verilog-skip-forward-comment-p): Support proper treatment of
5466         attributes by indent code.  Reported by Jeff Steele.
5467         (verilog-in-directive-p): Fix comment to correctly describe function.
5468         (verilog-backward-up-list, verilog-in-struct-region-p)
5469         (verilog-backward-token, verilog-in-struct-p)
5470         (verilog-in-coverage-p, verilog-do-indent)
5471         (verilog-pretty-declarations): Use verilog-backward-up-list as
5472         wrapper around backward-up-list inorder to properly skip comments.
5473         Reported by David Rogoff.
5474         (verilog-property-re, verilog-endcomment-reason-re)
5475         (verilog-beg-of-statement, verilog-set-auto-endcomments)
5476         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
5477         of if).  Reported by Max Bjurling and
5478         (verilog-calc-1): Fix for clocking block in modport
5479         declaration.  Reported by Brian Hunter.
5481 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
5483         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
5484         (verilog-gate-keywords, verilog-read-sub-decls)
5485         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
5486         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
5487         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
5488         (verilog-read-decls): Fix spaces in V2K module parameters causing
5489         mis-identification as interfaces, bug287.
5490         (verilog-read-decls): Fix not treating "parameter string" as a
5491         parameter in AUTOINSTPARAM.
5492         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
5493         treating `elsif similar to `endif inside AUTOSENSE.
5494         (verilog-do-indent): Implement correct automatic or static task or
5495         function end comment highlight.  Reported by Steve Pearlmutter.
5496         (verilog-font-lock-keywords-2): Fix highlighting of single
5497         character pins, bug264.  Reported by Michael Laajanen.
5498         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
5499         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
5500         (verilog-subdecls-get-interfaced, verilog-subdecls-new):
5501         Support interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
5502         (verilog-pretty-expr): Fix interactive arguments, bug272.
5503         Reported by Mark Johnson.
5504         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
5505         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
5506         bug269.  Suggested by Gary Delp.
5507         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
5508         (verilog-preprocessor, verilog-set-compile-command):
5509         Create verilog-preprocess and verilog-preprocessor to show
5510         preprocessed output.
5511         (verilog-get-beg-of-line, verilog-get-end-of-line)
5512         (verilog-modi-file-or-buffer, verilog-modi-name)
5513         (verilog-modi-point, verilog-within-string): Move defmacro's
5514         before first use to avoid warning.  Reported by Steve Pearlmutter.
5515         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
5516         (verilog-colorize-region, verilog-highlight-buffer)
5517         (verilog-highlight-includes, verilog-highlight-modules)
5518         (verilog-highlight-region, verilog-mode): Rename colorize to
5519         highlight to match other packages.  Disable module highlighting,
5520         as received speed complaints, reenable for experimentation only
5521         using new verilog-highlight-modules.
5522         (verilog-read-decls): Fix regexp stack overflow in very large
5523         AUTO_TEMPLATEs, bug250.
5524         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
5525         (verilog-scan): Create verilog-save-buffer-state to standardize
5526         making insignificant changes that shouldn't call hooks.
5527         (verilog-save-no-change-functions, verilog-save-scan-cache)
5528         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
5529         Create verilog-save-no-change-functions to wrap verilog-scan
5530         preservation, and fix to work with nested preserved calls.
5531         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
5532         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
5533         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
5534         (verilog-submit-bug-report): Update variable list to be complete.
5535         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
5536         breaking on-the-fly font-locking.
5537         (verilog-colorize-buffer, verilog-colorize-include-files)
5538         (verilog-colorize-include-files-buffer, verilog-colorize-region)
5539         (verilog-load-file-at-mouse, verilog-load-file-at-point)
5540         (verilog-mode, verilog-read-inst-module-matcher): With point on a
5541         AUTOINST cell instance name, middle mouse button now finds-file on
5542         it.  Suggested by Brad Dobbie.
5543         (verilog-alw-get-temps, verilog-auto-reset)
5544         (verilog-auto-sense-sigs, verilog-read-always-signals)
5545         (verilog-read-always-signals-recurse): Fix loop indexes being
5546         AUTORESET.  AUTORESET now assumes any variables in the
5547         initialization section of a for() should be ignored.
5548         Reported by Dan Dever.
5549         (verilog-error-font-lock-keywords)
5550         (verilog-error-regexp-emacs-alist)
5551         (verilog-error-regexp-xemacs-alist): Fix error detection of
5552         Cadence HAL, reported by David Asher.  Repair drift between the
5553         three similar error variables.
5554         (verilog-modi-lookup, verilog-modi-lookup-cache)
5555         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
5556         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
5557         Fix slow verilog-auto expansion on very large files.
5558         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
5559         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
5560         "{1*2{...".  Broke in last revision.
5561         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
5562         submodule connections with replications "{#{a},#{b}}".
5564 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
5566         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
5567         Fix typo in docstring.
5569 2010-10-24  Kenichi Handa  <handa@m17n.org>
5571         * face-remap.el (text-scale-adjust): Call read-event with a proper
5572         prompt.
5574 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5576         * emacs-lisp/unsafep.el: Don't mark functions that display
5577         messages as safe.  Suggested by Johan Bockgård.
5579 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5581         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
5582         Turn comments into docstrings.
5584         * minibuffer.el (completion--replace): Move point where it belongs
5585         when there's a common suffix (bug#7215).
5587 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5589         Merge read-color and facemenu-read-color (Bug#7242).
5591         * faces.el (read-color): Use the completion code from
5592         facemenu-read-color.  Require match in completion.  Doc fix.
5594         * facemenu.el (facemenu-read-color): Alias for read-color.
5595         (facemenu-set-foreground, facemenu-set-background):
5596         Use read-color.
5598         * frame.el (set-background-color, set-foreground-color)
5599         (set-cursor-color, set-mouse-color, set-border-color):
5600         Use read-color.
5602 2010-10-24  Leo  <sdl.web@gmail.com>
5604         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
5605         argument of delete-file and delete-directory (Bug#7011).
5607 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5609         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
5610         button-buffer-map.
5612 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
5614         * emacs-lisp/package.el (package--generate-package-list): Make the
5615         *Packages* buffer read-only.
5617 2010-10-24  Alan Mackenzie  <acm@muc.de>
5619         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
5620         result of `c-beginning-of-decl-1' between invocations of a lambda
5621         function (Bug #7265).
5623 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
5625         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
5626         executable is not available on the system (Bug#7268).
5628 2010-10-24  Glenn Morris  <rgm@gnu.org>
5630         * select.el (selection-coding-system, next-selection-coding-system):
5631         Sync doc with C versions.
5633         * w32-vars.el (x-select-enable-clipboard):
5634         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
5635         * term/common-win.el (x-select-enable-clipboard): Move here.
5637         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
5638         definition of C variable.
5640         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
5641         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5642         Don't redefine things that are defined in C.
5643         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
5644         (show-trailing-whitespace, auto-hscroll-mode)
5645         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5646         Set up the appropriate custom properties.
5648 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5650         Bind "C-c ]" to ...
5651         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
5652         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
5653         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
5654         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
5656 2010-10-23  Glenn Morris  <rgm@gnu.org>
5658         * textmodes/flyspell.el (flyspell-mode): If there was an error,
5659         say what it was.
5661         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
5662         Sync docs with C version.
5664         * term/ns-win.el (xw-defined-colors):
5665         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
5667         * term/pc-win.el (x-select-enable-clipboard):
5668         * term/x-win.el (x-select-enable-clipboard):
5669         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
5671         * comint.el (comint-password-prompt-regexp): Make it less vague.
5672         Bump version.
5674         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
5676         * help.el (finder-by-keyword): Remove unnecessary autoload.
5678 2010-10-22  Glenn Morris  <rgm@gnu.org>
5680         * loadup.el: Unconditionally load float-sup.
5681         * paren.el (show-paren-delay):
5682         * emacs-lisp/float-sup.el:
5683         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
5684         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
5685         (lazy-lock-stealth-verbose): Assume float support.
5686         * ps-print.el: Assume float support on Emacs.
5687         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
5688         Remove non-float branch.
5690         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
5691         src/Makefile no longer being pre-processed.
5693 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5695         * emacs-lisp/find-func.el (find-library): Use test-completion.
5697 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5699         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
5701 2010-10-21  Michael Albinus  <michael.albinus@gmx.de>
5703         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
5704         space in stat format string.
5705         (tramp-send-command): Unset $PS1 when using here documents, in
5706         order not to get several prompts.
5707         (tramp-get-inline-coding): Return `nil' in case of errors.
5709 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
5711         * hexl.el (hexl-mode, hexl-mode-exit):
5712         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
5713         (hexl-revert-buffer-function): New function.
5714         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
5716 2010-10-19  Alan Mackenzie  <acm@muc.de>
5718         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
5719         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
5720         that these keywords aren't wrongly matched as identifiers.
5722         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
5723         setting of c-new-BEG and c-new-END from c-before-change to
5724         c-after-change.  (Bug#7181)
5726 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
5728         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
5729         Don't mark as safe.
5731         * custom.el (custom-theme-set-variables): Likewise.
5732         (load-theme): Add custom-theme-set-faces and
5733         custom-theme-set-variables to safe-functions while loading.
5734         (custom-enabled-themes): Mark as risky.
5736 2010-10-18  Julien Danjou  <julien@danjou.info>
5738         * bindings.el: Remove end dashes in default mode-line-format.
5740 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
5742         * bindings.el (global-map): Bind C-d to delete-char and deletechar
5743         to delete-forward-char.
5745         * simple.el (normal-erase-is-backspace-mode): Remap delete to
5746         deletechar, and hence delete-forward-char.
5748 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5750         * repeat.el (repeat): Use read-key (bug#6256).
5752 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
5754         * emacs-lisp/unsafep.el: Don't mark functions that display
5755         messages as safe.  Suggested by Johan Bockgård.
5757 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5759         * minibuffer.el (completion--replace): Move point where it belongs
5760         when there's a common suffix (bug#7215).
5762 2010-10-19  Kenichi Handa  <handa@m17n.org>
5764         * international/characters.el: Add category '|' (word breakable)
5765         to fullwidth characters.
5767 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
5769         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
5770         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
5771         order to make stat results a float.  Patch by Andreas Schwab
5772         <schwab@linux-m68k.org>.
5774 2010-10-18  Julien Danjou  <julien@danjou.info>
5776         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
5777         hidden by `make-pointer-invisible'.
5779 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5781         * files.el (locate-file-completion-table): Strip non-matching elements
5782         before checking length of list (bug#7238).
5784 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
5786         * custom.el (custom-theme-set-variables): Mark as a safe function.
5787         (load-theme): Check forms using unsafep.
5789         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5791 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
5793         * textmodes/ispell.el (ispell-aspell-find-dictionary):
5794         Fix aspell data file searching (bug#7230).
5796 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
5798         * cus-theme.el (custom-theme--migrate-settings): New var.
5799         (customize-create-theme): Allow editing the `user' theme.
5800         (custom-theme-add-variable, custom-theme-add-var-1)
5801         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5802         to the front of each variable or face widget.
5803         (custom-theme-write): Save theme settings in the correct order.
5804         Optionally, remove saved settings from user customizations.
5805         (custom-theme-write-variables, custom-theme-write-faces):
5806         Save only the checked widgets.
5807         (customize-themes): Add a link for migrating custom settings.
5809         * custom.el (custom-declare-theme, provide-theme):
5810         Use custom-theme-name-valid-p.
5811         (custom-theme-name-valid-p): Remove checks that are now
5812         unnecessary since themes no longer obey load-path.
5814         * cus-edit.el (custom-variable-value-create): For the simple
5815         style, hide documentation string when hidden.
5817 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
5819         * cus-edit.el (custom-variable, custom-face): Combine the
5820         :inhibit-magic and :display-style properties into a single
5821         :custom-style property.
5822         (custom-toggle-hide-variable, custom-toggle-hide-face):
5823         New functions.  If hiding an edited value, save it to :shown-value.
5824         (custom-variable-value-create, custom-face-value-create): Use them.
5825         (custom-magic-reset): Allow magic property to be unset.
5827         * custom.el: Custom themes no longer use load-path.
5828         (custom-theme-load-path): New option.  Change built-in theme
5829         directory to etc/.
5830         (custom-enabled-themes): Add custom-theme-load-path dependency.
5831         (custom-theme--load-path): New function.
5832         (load-theme, custom-available-themes): Use it.
5834         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5835         (customize-themes): Link to custom-theme-load-path variable.
5836         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5837         :custom-style property.
5839         * themes/*.el: Moved to etc/.
5841 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
5843         * textmodes/reftex-cite.el
5844         (reftex-extract-bib-entries-from-thebibliography): Do not move
5845         point when searching for \bibitem entries.  Match entries with
5846         spaces or tabs in front of arguments.
5848 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
5850         * cus-theme.el (customize-create-theme): Delete overlays after
5851         erasing.  If given a THEME arg, display only the faces of that arg
5852         instead of custom-theme--listed-faces.
5853         (custom-theme-variable-menu, custom-theme-variable-action)
5854         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5855         (custom-theme-add-variable, custom-theme-add-face): Apply value
5856         from the theme settings, instead of the current value.
5857         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5858         (custom-theme-visit-theme): Allow calling outside theme buffers.
5859         (custom-theme-merge-theme): Don't enable the theme when merging.
5860         (custom-theme-write-variables, custom-theme-write-faces): Use the
5861         :shown-value properties to save buffer values, not global ones.
5862         (customize-themes): Display a warning about user customizations.
5864         * cus-edit.el (custom-variable-value-create)
5865         (custom-face-value-create): Obey new special properties
5866         :shown-value and :inhibit-magic.
5868 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
5870         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5871         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
5872         <dale@codefu.org>.
5874 2010-10-14  Kenichi Handa  <handa@m17n.org>
5876         * mail/rmail.el (rmail-show-message-1): Catch an error of
5877         base64-decode-region and just show an error message (bug#7165).
5879         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
5880         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5881         a font-spec (bug#7197).
5883 2010-10-14  Glenn Morris  <rgm@gnu.org>
5885         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5887 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
5889         * international/mule.el (define-coding-system):
5890         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5891         * composite.el (compose-region): Fix typo in docstring.
5893 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
5895         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5896         only after checking the theme-face property.
5898         * faces.el (face-spec-reset-face): Reset all attributes in one
5899         single call to set-face-attribute.
5900         (face-spec-match-p): Make it a defsubst.
5901         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5902         (x-create-frame-with-faces, tty-create-frame-with-faces)
5903         (tty-set-up-initial-frame-faces): Don't recompute face specs in
5904         frame-set-background-mode, since they are recomputed immediately
5905         afterwards in face-set-after-frame-default.
5906         (face-set-after-frame-default): Minor optimization.
5907         (cursor): Provide non-trivial defface spec.
5909         * custom.el (custom-theme-recalc-face): Simplify.
5911 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
5913         * calc/calc-alg.el (math-var): Rename from `var'.
5914         (math-is-polynomial, math-is-poly-rec): Replace `var'
5915         with `math-var'.
5917         * calc/calcalg2.el (math-var): Rename from `var'.
5918         (calcFunc-table, math-scan-for-limits): Replace `var'
5919         with `math-var'.
5921 2010-10-13  Glenn Morris  <rgm@gnu.org>
5923         * subr.el (last): Deal with dotted lists (reported in bug#7174).
5925 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
5927         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
5929 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5931         * net/tls.el (tls-program): Remove spurious %s from openssl.
5932         (tls-starttls-switches): Remove starttls hack.
5933         (open-tls-stream): Ditto.
5934         (tls-find-starttls-argument): Ditto.
5936 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
5938         * image.el (image-library-alist): Declare as obsolete alias.
5939         (image-type-available-p): Use `dynamic-library-alist'.
5941         * term/w32-win.el (dynamic-library-alist):
5942         Use instead of `image-library-alist'.
5944 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
5946         * subr.el (last): Make it faster.  (Bug#7174)
5948 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
5950         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
5952 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
5954         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
5955         (describe-theme-1): Extract doc from unloaded themes.
5957         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
5959         * themes/tango-theme.el:
5960         * themes/tango-dark-theme.el:
5961         * themes/wheatgrass-theme.el: New files.
5963 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
5965         * cus-theme.el (describe-theme, customize-themes)
5966         (custom-theme-save): New commands.
5967         (custom-new-theme-mode-map): Bind C-x C-s.
5968         (custom-new-theme-mode): Use custom--initialize-widget-variables.
5969         (customize-create-theme): New optional arg THEME.
5970         (custom-theme-revert): Use it.
5971         (custom-theme-visit-theme): Remove dead code.
5972         (custom-theme-merge-theme): Use custom-available-themes.
5973         (custom-theme-write): Make interactive.
5974         (custom-theme-write): Use custom-theme-name-valid-p.
5975         (describe-theme-1, custom-theme-choose-revert)
5976         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
5977         New funs.
5978         (custom-theme-allow-multiple-selections): New option.
5979         (custom-theme-choose-mode): New major mode.
5981         * custom.el (custom-theme-set-variables): Remove dead code.
5982         Obey custom--inhibit-theme-enable.
5983         (custom--inhibit-theme-enable): New var.
5984         (provide-theme): Obey it.
5985         (load-theme): Replace load with manual read/eval, in order to
5986         check for correctness.  Use custom-theme-name-valid-p.
5987         (custom-theme-name-valid-p): New function.
5988         (custom-available-themes): Use it.
5990         * cus-edit.el (custom--initialize-widget-variables): New function.
5991         (Custom-mode): Use it.
5993         * cus-face.el (custom-theme-set-faces): Remove dead code.
5994         Obey custom--inhibit-theme-enable.
5996         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
5998 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
6000         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
6002 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
6004         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
6005         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
6006         (mac-right-option-modifier): New alias for ns-right-option-modifier.
6008         * cus-start.el (all): ns-right-alternate-modifier is new.
6010 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6012         * emacs-lisp/lisp.el (lisp-completion-at-point):
6013         Use emacs-lisp-mode-syntax-table for the whole function.
6015 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
6017         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
6018         instead of font-lock-mode before adding keywords.
6019         Remove hi-lock-mode off code.  Remove inhibit hack.
6020         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
6021         non-nil; removed hook inhibit hack.
6023 2010-10-12  Glenn Morris  <rgm@gnu.org>
6025         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
6026         (load-path-shadows-find): ... to this.
6027         (list-load-path-shadows): Update for above change.
6029         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
6031 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
6033         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
6034         Fix comment for declare-function.
6036 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
6038         * custom.el (custom-fix-face-spec): New function; code moved from
6039         custom-face-edit-fix-value.
6040         (custom-push-theme): Use it when checking if a face has been
6041         changed outside customize.
6042         (custom-available-themes): New function.
6043         (load-theme): Use it.
6045         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
6047         * custom.el (custom-push-theme): Cleanup (use cond).
6048         (disable-theme): Recompute the saved-face property.
6049         (custom-theme-recalc-face): Follow face alias before setting prop.
6051         * image.el (image-checkbox-checked, image-checkbox-unchecked):
6052         New variables, containing checkbox images.
6054         * startup.el (fancy-startup-tail):
6055         * wid-edit.el (checkbox): Use them.
6057 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
6059         * shell.el (shell-mode-map):
6060         * progmodes/modula2.el (m2-mode-map):
6061         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
6062         * play/mpuz.el (mpuz-mode-map):
6063         * play/landmark.el (lm-mode-map):
6064         * play/decipher.el (decipher-mode-map):
6065         * play/5x5.el (5x5-mode-map):
6066         * net/telnet.el (telnet-mode-map):
6067         * net/quickurl.el (quickurl-list-mode-map):
6068         * net/mairix.el (mairix-searches-mode-map):
6069         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
6070         * net/dig.el (dig-mode-map):
6071         * mail/mspools.el (mspools-mode-map):
6072         * hexl.el (hexl-mode-map):
6073         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
6074         (wordstar-C-o-map, wordstar-C-q-map):
6075         * emacs-lisp/edebug.el (edebug-eval-mode-map):
6076         * emacs-lisp/chart.el (chart-map):
6077         * edmacro.el (edmacro-mode-map):
6078         * erc/erc-list.el (erc-list-menu-mode-map):
6079         * array.el (array-mode-map): Declare and define in one step.
6081         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
6083 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
6085         * epa.el (epa-passphrase-callback-function): Display filename
6086         passed as the 3rd arg.
6087         * epa-file.el (epa-file-passphrase-callback-function):
6088         Pass filename to epa-passphrase-callback-function.
6090 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
6092         * cus-edit.el (custom-face-widget-to-spec)
6093         (custom-face-get-current-spec, custom-face-state): New functions.
6094         (custom-face-set, custom-face-mark-to-save)
6095         (custom-face-value-create, custom-face-state-set): Use them.
6097         * cus-theme.el (custom-theme--listed-faces): New var.
6098         (customize-create-theme): Use *Custom Theme* as the buffer name.
6099         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
6100         faces listed in custom-theme--listed-faces.
6101         (custom-theme-revert): New function.
6102         (custom-theme-add-variable, custom-theme-add-face): Insert at the
6103         bottom of the list.
6104         (custom-theme-write): Prompt for theme name if empty.
6105         (custom-theme-write-variables): Use dolist.
6106         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
6108 2010-10-09  Alan Mackenzie  <acm@muc.de>
6110         Enhance fontification of declarators to take account of the
6111         presence/absence of "typedef".
6113         * cc-engine.el (c-forward-type): New &optional param
6114         "brace-block-too".
6115         (c-forward-decl-or-cast-1): cdr of return value now indicates the
6116         presence of either or both of a "struct"-like keyword and "typedef".
6118         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
6119         fontification of declarators which follow a "}".
6120         (c-font-lock-declarations): Fontify declarators according to the
6121         presence/absence of "typedef".
6123         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
6124         for "typedef".
6125         (c-typedef-decl-key): New lang variable built from
6126         c-typedef-decl-kwds.
6128 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6130         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
6131         since that's too annoying.  Move the filter groups commands to
6132         TAB/backtab.
6134         * epa.el (epa-passphrase-callback-function): Say what we're
6135         querying the password for.
6137         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
6138         behaviour, don't bury the ibuffer buffer when visiting other buffers.
6140 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
6142         * cus-edit.el (custom-commands, custom-buffer-create-internal)
6143         (custom-magic-value-create): Pad button tags with spaces.
6144         (custom-face-edit): New variable.
6145         (custom-face-value-create): Determine whether to use the usual
6146         face editor here, instead of using custom-face-selected.
6147         Pass face defaults to custom-face-edit widget.
6148         (custom-face-selected, custom-display-unselected): Delete widgets.
6149         (custom-display-unselected-match): Function removed.
6150         (custom-face-set, custom-face-mark-to-save):
6151         Accept custom-face-edit widgets as the direct widget child.
6153         * wid-edit.el (widget--completing-widget): New var.
6154         (widget-default-complete): Bind it when doing completion.
6155         (widget-string-complete, widget-file-complete): Use it.
6157 2010-10-09  Glenn Morris  <rgm@gnu.org>
6159         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
6160         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
6161         (holiday-hebrew-misc): Small simplifications.
6163         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
6165         * net/browse-url.el: Don't require thingatpt, term, dired,
6166         executable, or w3-auto when compiling.
6167         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
6168         Declare.
6169         (browse-url-text-emacs): Require term.
6171 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
6173         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
6175 2010-10-08  Glenn Morris  <rgm@gnu.org>
6177         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
6179         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
6180         (shadows-compare-text-p): Make it an obsolete alias for...
6181         (load-path-shadows-compare-text): ... new name.
6182         (find-emacs-lisp-shadows): Update for above name change.
6183         (load-path-shadows-same-file-or-nonexistent): New name for the old
6184         shadow-same-file-or-nonexistent.
6186 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
6188         * minibuffer.el (completion--some, completion--do-completion)
6189         (minibuffer-complete-and-exit, minibuffer-completion-help)
6190         (completion-basic-try-completion)
6191         (completion-basic-all-completions)
6192         (completion-pcm--find-all-completions): Use lexical-let to
6193         avoid some false matches in variable completion (Bug#7056)
6195 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
6197         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
6199 2010-10-08  Leo  <sdl.web@gmail.com>
6201         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
6202         return non-nil if the file exists (Bug#7090).
6204 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6206         * minibuffer.el (completion--replace):
6207         Better preserve markers (bug#7138).
6209 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
6211         * server.el (server-process-filter): Doc fix.
6213 2010-10-08  Drew Adams  <drew.adams@oracle.com>
6215         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
6217 2010-10-08  Glenn Morris  <rgm@gnu.org>
6219         * vc/ediff-wind.el (ediff-setup-control-frame):
6220         * vc/ediff-ptch.el (ediff-default-backup-extension):
6221         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
6222         (ediff-exec-process): Remove system-types emx, windows-95.
6224         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
6226 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
6228         * cus-edit.el (custom-variable, custom-face): Doc fix.
6229         (custom-face-edit): Add value-create attribute.
6230         (custom-face-edit-value-create)
6231         (custom-face-edit-value-visibility-action): New functions.
6232         Hide unused face attributes by default, and add a visibility toggle.
6233         (custom-face-edit-deactivate): Show empty values with shadow face.
6234         (custom-face-selected): Only use this for face specs with default
6235         attributes.
6236         (custom-face-value-create): Cleanup.
6238         * wid-edit.el (widget-checklist-value-create): Use dolist.
6239         (widget-checklist-match-find): Make second arg optional.
6241 2010-10-07  Glenn Morris  <rgm@gnu.org>
6243         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
6244         Prefix things.
6246         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
6247         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
6248         load-path-shadows-mode, update references.
6249         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
6250         Rename variable and button.
6251         (list-load-path-shadows): Update button caller.
6253 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6255         * emacs-lisp/smie.el (smie-bnf-classify): New function.
6256         (smie-bnf-precedence-table): Use it to remember the closers/openers.
6257         (smie-merge-prec2s): Handle those new entries.
6258         (smie-prec2-levels): Only set precedence to nil for actual
6259         openers/closers.
6260         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
6261         that is now unnecessary.
6263 2010-10-07  Miles Bader  <miles@gnu.org>
6265         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
6267 2010-10-07  Glenn Morris  <rgm@gnu.org>
6269         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
6270         (mail-position-on-field): Remove declarations.
6271         (mail-position-on-field): Autoload it.
6272         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
6273         and mail-header-end.  Don't require sendmail.
6275         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
6276         (shadow-mode): New mode.
6277         (shadow-find-file): New button.
6278         (list-load-path-shadows): Use shadow-mode and buttons.
6280         * iimage.el (iimage-version): Remove.
6281         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
6282         Turn into defcustoms.
6283         (iimage-mode-map): Give it a doc string.
6285         * calendar/appt.el (appt-activate): Give a warning rather than an error
6286         if there is no diary-file.
6288 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
6290         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6291         Use `tramp-handle-find-backup-file-name'.
6293 2010-10-06  Glenn Morris  <rgm@gnu.org>
6295         * font-core.el (font-lock-defaults-alist): Remove variable.
6296         (font-lock-mode): Doc fix.
6297         (font-lock-default-function): Do not consult font-lock-defaults-alist.
6298         * font-lock.el (font-lock-refresh-defaults): Doc fix.
6299         (font-lock-set-defaults): Doc fix.
6300         Do not consult font-lock-defaults-alist.
6302         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
6304         * emacs-lisp/cl.el: No longer provide cl-19.
6306 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
6308         * net/tramp.el (tramp-handle-directory-files-and-attributes)
6309         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6310         New defuns, taken from tramp-smb.el.
6311         (tramp-coding-system-change-eol-conversion)
6312         (tramp-set-process-query-on-exit-flag): Remove.
6314         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6315         (tramp-compat-coding-system-change-eol-conversion)
6316         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6317         from tramp.el.
6319         * net/tramp-gvfs.el:
6320         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6321         by `tramp-compat-set-process-query-on-exit-flag'.
6323         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6324         Use `tramp-handle-directory-files-and-attributes',
6325         `tramp-handle-file-exists-p' and
6326         `tramp-handle-file-newer-than-file-p'.
6327         (tramp-imap-handle-file-exists-p)
6328         (tramp-imap-handle-file-executable-p)
6329         (tramp-imap-handle-file-readable-p)
6330         (tramp-imap-handle-directory-files-and-attributes)
6331         (tramp-imap-handle-file-newer-than-file-p): Remove.
6333         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6334         by `tramp-compat-set-process-query-on-exit-flag' and
6335         `tramp-coding-system-change-eol-conversion' by
6336         `tramp-compat-coding-system-change-eol-conversion'.
6338         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6339         Use `tramp-handle-directory-files-and-attributes',
6340         `tramp-handle-file-exists-p' and
6341         `tramp-handle-file-newer-than-file-p'.
6342         (tramp-smb-handle-directory-files-and-attributes)
6343         (tramp-smb-handle-file-exists-p)
6344         (tramp-smb-handle-file-newer-than-file-p): Remove.
6345         (tramp-smb-maybe-open-connection):
6346         Replace `tramp-set-process-query-on-exit-flag' by
6347         `tramp-compat-set-process-query-on-exit-flag'.
6349 2010-10-05  Glenn Morris  <rgm@gnu.org>
6351         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6353 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
6355         Continue reorganization of load dependencies.  (Bug#7156)
6357         * net/tramp.el (tramp-handle-file-local-copy-hook)
6358         (tramp-delete-temp-file-function): Move down.
6359         (tramp-exists-file-name-handler): Move up.
6360         (tramp-register-file-name-handlers): Simplify autoload.
6361         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6362         (tramp-handle-directory-files, tramp-handle-dired-uncache)
6363         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6364         (tramp-handle-file-name-completion)
6365         (tramp-handle-file-name-directory)
6366         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6367         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6368         (tramp-handle-find-backup-file-name)
6369         (tramp-handle-insert-file-contents, tramp-handle-load)
6370         (tramp-handle-substitute-in-file-name)
6371         (tramp-handle-unhandled-file-name-directory)
6372         (tramp-mode-string-to-int, tramp-local-host-p)
6373         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6375         * net/tramp-gvfs.el (top):
6376         * net/tramp-smb.el (top): Do not require 'tramp-sh.
6378         * net/tramp-sh.el (all): Move several objects to tramp.el, see
6379         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6381 2010-10-04  Glenn Morris  <rgm@gnu.org>
6383         * calendar/appt.el (appt-add): Ensure reminders are enabled.
6384         (appt-activate): Give status messages.
6386 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
6388         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
6389         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6390         `gnutls-negotiate' (formerly `starttls-negotiate').
6391         Remove trivial wrapper `starttls-open-stream'.
6393 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
6395         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6396         log-outgoing commands.
6397         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6398         to create a buffer local revert-buffer-function variable.
6399         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6400         revert-buffer-function lambda.
6402 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
6404         * net/gnutls.el (starttls-negotiate): Use the plist interface to
6405         `gnutls-boot'.  Make TYPE the only required parameter.
6406         Allow TRUSTFILES and KEYFILES to be lists.
6407         (open-ssl-stream): Use it.
6409 2010-10-03  Glenn Morris  <rgm@gnu.org>
6411         * subr.el (directory-sep-char): Remove obsolete variable.
6412         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6413         it is "necessary".
6415         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6416         * vc/vc.el (vc-static-header-alist): Doc fix.
6417         * vc/vc-cvs.el (vc-cvs-header):
6418         * vc/vc-rcs.el (vc-rcs-header):
6419         * vc/vc-sccs.el (vc-sccs-header):
6420         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6421         * obsolete/vc-mcvs.el (vc-mcvs-header):
6422         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6423         on XEmacs.
6425 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
6427         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6428         Remove obsolete use of binary-overwrite-mode (Bug#7001).
6430 2010-10-03  Glenn Morris  <rgm@gnu.org>
6432         * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6434         * textmodes/rst.el (rst-font-lock-keywords-function):
6435         Drop Emacs 20 code.
6437         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6439         * printing.el: Drop Emacs 20 code.
6441         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6442         without having used appt.el already).
6444         * subr.el (make-local-hook): Remove function obsolete since 21.1.
6445         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6446         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6447         XEmacs.
6448         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6449         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6451         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6452         (charset-width, find-charset-region, chars-in-region, forward-point)
6453         (encode-coding-string, coding-system-p, ccl-execute-on-string)
6454         (define-ccl-program, multibyte-string-p, string-make-multibyte):
6455         Remove compatibility cruft (none of these are used by ps*.el).
6457 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
6459         * subr.el (booleanp): Return t instead of a list (Bug#7086).
6461 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
6463         * server.el (server-process-filter, server-return-error):
6464         Give emacsclient time to shut down after receiving an error string.
6466 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
6468         * files.el (remote-file-name-inhibit-cache): New defcustom.
6470         * time.el (display-time-file-nonempty-p):
6471         Use `remote-file-name-inhibit-cache'.
6473         * net/tramp.el (tramp-completion-reread-directory-timeout):
6474         Fix docstring.
6476         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
6477         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
6478         `remote-file-name-inhibit-cache'.  Check also for an integer
6479         value.  Add/increase counter when `tramp-verbose' >= 10.
6480         (tramp-set-file-property): Add/increase counter when
6481         `tramp-verbose' >= 10.
6483         * net/tramp-cmds.el (tramp-cleanup-all-connections)
6484         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
6485         (tramp-bug): Set tramp-autoload cookie.  Report all interned
6486         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
6487         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
6488         characters only in strings.
6490         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
6491         to backward compatibility.
6493         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
6494         (tramp-handle-file-name-all-completions)
6495         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
6496         (tramp-open-connection-setup-interactive-shell):
6497         Call `tramp-cleanup-connection' directly.
6499 2010-10-02  Glenn Morris  <rgm@gnu.org>
6501         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
6503         * subr.el (char-bytes): Remove obsolete function.
6505         * isearch.el (isearch-return-char): Remove obsolete function.
6507         * mouse.el: No longer provide mldrag.
6508         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
6509         Remove obsolete aliases.
6511         * comint.el (comint-kill-output): Remove obsolete alias.
6513         * composite.el (decompose-composite-char): Remove obsolete function.
6514         * ps-def.el (decompose-composite-char): Remove unused function.
6516         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
6518         * outline.el (outline-visible): Remove obsolete function.
6520         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
6521         * faces.el (internal-find-face, internal-get-face)
6522         (frame-update-faces, frame-update-face-colors)
6523         (x-frob-font-weight, x-frob-font-slant)
6524         (internal-frob-font-weight, internal-frob-font-slant)
6525         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
6526         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
6527         (x-make-font-bold-italic): Remove functions and aliases, obsolete
6528         since Emacs 21.1.
6529         * emulation/viper-util.el (viper-get-face):
6530         * obsolete/lucid.el (find-face, get-face): Use facep.
6531         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
6532         Remove unused functions.
6533         * vc/ediff-util.el (ediff-submit-report): Doc fix.
6535         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
6536         delete tempfile if interrupted during compilation.
6538 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6540         * net/tls.el (tls-starttls-switches): Give up on using starttls with
6541         gnutls-cli.
6542         (tls-program): Add --insecure to be consistent with the defaults from
6543         openssl s_client.  Now all three commands are insecure.
6545 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
6547         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
6548         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
6549         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
6551 2010-10-01  Glenn Morris  <rgm@gnu.org>
6553         * obsolete/sc.el: Remove file.
6555         * files.el (temporary-file-directory): On darwin, also try
6556         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
6558 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
6560         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
6561         Let's not break compatibility gratuitously, shall we?
6563 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6565         * net/tls.el (tls-starttls-switches): New variable.
6566         (tls-find-starttls-argument): Use it.
6567         (open-tls-stream): Ditto.
6569         * net/netrc.el (netrc-credentials): Return the value of the "default"
6570         entry.
6571         (netrc-machine): Ditto.
6573 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
6575         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
6577 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
6579         * server.el (server-start): Don't write pid to the authentication file.
6580         (server-create-tty-frame): Don't send pid.
6581         (server-process-filter): Send pid at the start of every connection.
6583 2010-09-30  Glenn Morris  <rgm@gnu.org>
6585         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
6586         (show-all-diary-entries): Remove obsolete function aliases.
6588         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
6589         Remove options, obsolete since 22.1.
6590         (appt-display-format, appt-display-message):
6591         Remove backwards-compatibility code.
6592         (appt-check): No longer check appt-issue-message.
6593         (appt-make-list): No longer autoload it.  Doc fix.  No longer
6594         activate the package.
6596 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6598         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
6599         (starttls-negotiate): Just call boot, and let the handshake be
6600         triggered from the read loop.
6602 2010-09-29  Glenn Morris  <rgm@gnu.org>
6604         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
6605         not displaying the diary.
6606         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
6607         * calendar/appt.el (appt-check): No longer need to kill diary.
6609         * calendar/diary-lib.el (diary-list-entries): Move the
6610         "Preparing..." message entirely here.
6611         (diary-simple-display, diary-fancy-display): Move "Preparing..."
6612         messages to diary-list-entries.
6613         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
6614         diary-display-function.
6616         * calendar/diary-lib.el (diary-include-other-diary-files):
6617         Trap some recursive includes.
6619         * calendar/appt.el (appt-activate): Check diary file.
6621 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
6623         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
6624         construction.
6626         * calendar/time-date.el: No need to require cl for Emacs 21.
6628 2010-09-28  Glenn Morris  <rgm@gnu.org>
6630         * calendar/appt.el (appt-check): Minor simplification.
6632 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
6634         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
6635         citation prefix.
6637 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
6639         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6640         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
6642 2010-09-27  Kenichi Handa  <handa@m17n.org>
6644         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
6645         "ustar" format.
6647 2010-09-27  Kenichi Handa  <handa@m17n.org>
6649         * international/mule.el (define-coding-system): Docstring fixed.
6651         * international/mule-diag.el (describe-character-set): Use princ
6652         with proper print-length and print-level instead of insert.
6654 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
6656         * window.el (walk-windows): Doc fix (bug#7105).
6658 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6660         * emacs-lisp/float-sup.el (e): Remove.
6662 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
6664         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
6665         variable.
6666         (starttls-negotiate): Use it.
6668 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6670         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
6671         back.
6673 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6675         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
6677 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6679         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
6681         * net/netrc.el (netrc-store-data): New function.
6683 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
6685         * net/gnutls.el: GnuTLS glue code to set up a connection.
6687 2010-09-25  Julien Danjou  <julien@danjou.info>
6689         * notifications.el: Call dbus-register-signal only if it is bound.
6691 2010-09-25  Glenn Morris  <rgm@gnu.org>
6693         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6694         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6695         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6696         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6697         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6698         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
6699         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
6700         * eshell/esh-util.el, eshell/esh-var.el:
6701         Remove leading `*' from docs of faces and defcustoms.
6703 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
6705         * eshell/em-ls.el (eshell-ls-archive-regexp):
6706         * eshell/esh-util.el (eshell-tar-regexp):
6707         * ibuffer.el (ibuffer-compressed-file-name-regexp):
6708         * info.el (Info-suffix-list):
6709         * international/mule.el (auto-coding-alist):
6710         * woman.el (woman-file-regexp, woman-file-compression-regexp):
6711         * progmodes/etags.el (tags-compression-info-list):
6712         Support xz compression.
6714 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
6716         * files.el (get-free-disk-space): Don't assume the "df" output
6717         columns line up (Bug#6995).
6719 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
6721         * finder.el (finder-unknown-keywords):
6722         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
6723         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
6725 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
6727         * server.el (server-start): Revert part of 2010-08-08 change.  Using
6728         address 127.0.0.1 for local host is now done in Fmake_network_process.
6730 2010-09-24  Glenn Morris  <rgm@gnu.org>
6732         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
6733         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
6734         * textmodes/css-mode.el, textmodes/dns-mode.el:
6735         Move autoloaded auto-mode-alist entries to files.el.
6736         * files.el (auto-mode-alist): Move entries here.
6738 2010-09-23  Glenn Morris  <rgm@gnu.org>
6740         * isearch.el (isearch-lazy-highlight-cleanup)
6741         (isearch-lazy-highlight-initial-delay)
6742         (isearch-lazy-highlight-interval)
6743         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
6744         * net/net-utils.el (ipconfig-program-options):
6745         Move aliases to options before the associated definitions.
6747 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6749         * newcomment.el (comment-normalize-vars): Better test validity of
6750         comment-end-skip.
6752 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6754         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
6755         (float-e): New name for `e'.
6756         (degrees-to-radians, radians-to-degrees):
6757         * calendar/solar.el (solar-longitude):
6758         * calculator.el (calculator-registers, calculator-funcall):
6759         * textmodes/artist.el (artist-spray-random-points):
6760         * play/bubbles.el (bubbles--initialize-images): Use new names.
6762 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
6764         Update to CEDET 1.0's version of EIEIO.
6766         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
6767         New function.
6768         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
6769         (eieio-default-eval-maybe): Eval val instead of unquoting only.
6770         (class-precedence-list): If class is nil, return nil.
6771         (eieio-generic-call): If class of first input arg is nil, don't
6772         look up static methods, and do check for primary methods.
6773         (initialize-instance): See if the default needs to be evaluated
6774         during the constructor.
6775         (eieio-perform-slot-validation-for-default): Don't do the check
6776         for values that will eventually be evaluated.
6777         (eieio-eval-default-p): New function.
6778         (eieio-default-eval-maybe): Use it.
6780 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
6782         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6783         method-invocation-order.
6784         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6785         (eieio-class-precedence-dfs): Compute class precedence list using
6786         dfs algorithm.
6787         (eieio-class-precedence-bfs): Compute class precedence list using
6788         bfs algorithm.
6789         (eieio-class-precedence-c3): Compute class precedence list using
6790         c3 algorithm.
6791         (class-precedence-list): New function.
6792         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6793         (inconsistent-class-hierarchy): New error symbol.
6794         (call-next-method): Stow the replacement argument list for future
6795         call-next-method invocations.
6797 2010-09-23  Glenn Morris  <rgm@gnu.org>
6799         * calendar/appt.el (appt-check): If not displaying the diary,
6800         use (diary 1) to only get the entries we need.
6801         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6802         that it is in day order.  (Bug#7019)
6804         * calendar/appt.el (appt-check): Rather than showing the diary,
6805         just turn off invisible display, and only if needed.
6807         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
6809 2010-09-23  Glenn Morris  <rgm@gnu.org>
6811         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6812         (byte-compile-defvar, byte-compile-cl-warn):
6813         Start warnings with lower-case, like the majority.
6815         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6817         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
6819         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6820         * files.el (auto-mode-alist): Move ld-script entries here, further down
6821         the list.
6823         * vc/add-log.el: Don't require timezone when compiling.
6824         (timezone-make-date-sortable): Autoload it.
6825         (change-log-sortable-date-at): Don't require timezone.
6826         Use `ignore-errors'.
6828         * comint.el (comint-use-prompt-regexp-instead-of-fields):
6829         Move alias before definition, so it does not need autoloading.
6831         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6832         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6833         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6834         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6835         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6836         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6837         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6838         * textmodes/tex-mode.el, textmodes/two-column.el:
6839         Remove leading `*' from docs of defcustoms etc.
6841 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
6843         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6845 2010-09-22  Dan Christensen  <jdc@uwo.ca>
6847         * calendar/time-date.el (date-to-time): Try using parse-time-string
6848         first before using the slower timezone-make-date-arpa-standard.
6850 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
6852         * calendar/time-date.el (format-seconds): Comment fix.
6854 2010-09-22  Glenn Morris  <rgm@gnu.org>
6856         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6857         is not automatically buffer-local.
6859 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6861         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6862         (smie-indent-comment): Be more careful with comment-start-skip.
6863         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6864         (smie-indent-functions): Use them.
6866 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
6868         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6870 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
6872         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6873         tool-bar-position.  Don't modify frame parameters here.
6874         (menu-bar-options-save): Add tool-bar-position.
6876         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6878 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6880         * textmodes/reftex-parse.el (reftex-what-macro)
6881         (reftex-context-substring): Let-bind forward-sexp-function to nil
6882         since we don't need/want to treat \begin...\end as a block (bug#7053).
6884         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6886         * simple.el (blink-matching-open): Use syntax-class.
6888         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6889         Set invisibility spec for pascal's outline mode.
6890         (pascal-outline-change): Clean up calling convention.
6891         (pascal-show-all, pascal-hide-other-defuns): Update callers.
6893         * progmodes/prolog.el (prolog-smie-forward-token)
6894         (prolog-smie-backward-token): New functions.
6895         (prolog-mode-variables): Use them to parse "!," correctly.
6896         Set up smie-blink-matching for ".".
6898         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6899         and `end'.
6900         (ispell-region, ispell-process-line): Update users.
6902         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
6903         point-min==1.
6905         * textmodes/ispell.el: Fix commenting convention.
6906         (ispell-parse-output): Simplify, use push.
6907         (ispell-region): Use match-string-no-properties.
6908         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
6909         (ispell-minor-mode): Use define-minor-mode.
6910         (ispell-message): Remove unused var `skip-regexp'.
6911         (ispell-add-per-file-word-list): Use dynamic let-binding.
6912         Try and use the proper comment marker.
6914         * mail/sendmail.el: Fix commenting convention.
6915         (sendmail-send-it): Use line-beginning-position.
6917         * help-fns.el (describe-variable): Add original value, if applicable.
6919 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
6921         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
6923         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
6925 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6927         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
6928         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
6929         (smie-prec2-levels): Use them to better diagnose precedence cycles.
6930         (smie-blink-matching-check): Don't signal a mismatch if car is t.
6931         (smie-blink-matching-open): Rewrite to remove assumptions, so that
6932         something like "." can also be a closer.
6933         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
6934         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
6935         Rename internal functions to use "--".  Update callers.
6937         * frame.el (make-frame-names-alist): Don't list frames on other displays.
6939         * fringe.el (fringe-styles): New var.
6940         (fringe-mode, fringe-query-style): Use it.
6942 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
6944         * progmodes/sql.el: Version 2.8
6945         (sql-login-params): Update widget structure; changes still needed.
6946         (sql-product-alist): Add :list-all and :list-table features for
6947         SQLite, Postgres and MySQL products.
6948         (sql-redirect): Handle default value.
6949         (sql-execute, sql-execute-feature): New functions.
6950         (sql-read-table-name): New function.
6951         (sql-list-all, sql-list-table): New functions.  User API.
6952         (sql-mode-map, sql-interactive-mode-map): Add key definitions
6953         for above functions.
6954         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
6955         for above functions.
6956         (sql-postgres-login-params): Add user and database defaults.
6957         (sql-buffer-live-p): Bug fix.
6958         (sql-product-history): New variable.
6959         (sql-read-product): New function.  Use it.
6960         (sql-set-product, sql-product-interactive): Use it.
6961         (sql-connection-history): New variable.
6962         (sql-read-connection): New function.  Use it.
6963         (sql-connect): New function.
6964         (sql-for-each-login): Redesign function interface.
6965         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
6966         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
6967         (sql-comint): Check for program.  Existing live buffer.
6968         (sql-comint-postgres): Add port parameter.
6970 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6972         * emacs-lisp/warnings.el: Fix commenting convention.
6973         (display-warning): Use special mode and make the buffer read-only.
6975 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
6977         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
6978         empty string when it follows a repeated or optional pattern.
6980 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6982         * indent.el (indent-according-to-mode): Apply syntax-propertize.
6983         (indent-region): Use indent-according-to-mode.
6985 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
6987         * fringe.el (fringe-mode): Doc fix.
6989 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
6991         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
6992         refreshing the preview buffer.
6994 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6996         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
6997         (latex-syntax-propertize-rules): New consts; replace
6998         tex-font-lock-syntactic-keywords.
6999         (tex-env-mark, latex-env-before-change): New functions.
7000         (latex-electric-env-pair-mode): New minor mode.
7001         (tex-font-lock-verb): Change arguments; do move point.
7002         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
7003         representation as a form of comment.
7004         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
7005         (doctex-syntax-propertize-rules): New const; replaces
7006         doctex-font-lock-syntactic-keywords.
7007         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
7009         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
7010         (fortran-make-syntax-propertize-function): New function; replaces
7011         fortran-font-lock-syntactic-keywords.
7012         (fortran-mode): Use it.
7013         (fortran-line-length): Use it.  Improve interactive spec.
7015         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
7016         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
7017         when adding surrounding \(..\).
7019         * progmodes/js.el (js-mode): Fix last change (bug#7054).
7021 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7023         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
7024         Use with-current-buffer.
7026         * isearch.el (isearch-face): Rename from `isearch'.
7027         (isearch-highlight): Use new name.
7029 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
7031         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
7032         5, for `half' width fringes.  (Bug#6933)
7034 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7036         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
7037         (byte-compile-defvar): "foo/bar" does not lack a prefix.
7039         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
7041 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
7043         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
7044         in calculating new frame position.  Add more space between new and
7045         parent on the left (Bug#7048).
7047 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
7049         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
7050         defmacro.
7052 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
7054         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
7056         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
7057         obsolete alias for x-selection-value.
7059         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
7061 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
7063         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
7064         cookie.
7066 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
7068         * net/tramp-compat.el (tramp-compat-with-temp-message)
7069         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
7070         (tramp-compat-process-put): New defuns.
7072         * net/tramp.el (top):
7073         * net/tramp-gvfs.el (top):
7074         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
7076         * net/tramp.el (tramp-progress-reporter-update):
7077         Use `tramp-compat-funcall'.
7079         * net/tramp.el (tramp-process-actions):
7080         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7081         * net/tramp-sh.el (tramp-handle-vc-registered)
7082         (tramp-get-remote-stat, tramp-get-remote-readlink):
7083         Use `tramp-compat-with-temp-message'.
7085         * net/tramp-sh.el (top): Require 'cl.
7086         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
7087         (tramp-open-connection-setup-interactive-shell):
7088         Use `tramp-compat-process-put'.
7090 2010-09-15  Alan Mackenzie  <acm@muc.de>
7092         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
7093         indentation.
7094         (c-forward-<>-arglist-recur): Fix an infinite recursion.
7096 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7098         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
7099         `lexical' for warnings related to lexical scoping.
7100         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
7101         global vars which don't have a prefix and could hence affect lexical
7102         scoping in unrelated files.
7104 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7106         * net/imap.el: Revert back to version
7107         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
7108         seem problematic.
7110 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
7112         * obsolete/old-whitespace.el (whitespace-unload-function):
7113         Explicitly pass `obarray' to `unintern' to avoid a warning.
7115 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7117         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
7118         Add `when' argument.  Update callers.
7120         * subr.el (unintern): Declare the obarray arg mandatory.
7122 2010-09-14  Glenn Morris  <rgm@gnu.org>
7124         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
7125         Doc fixes.
7127         * calendar/diary-lib.el (diary-included-files): New variable.
7128         (diary-list-entries): Maybe initialize diary-included-files.
7129         (diary-include-other-diary-files): Append to diary-included-files.
7130         * calendar/appt.el (appt-update-list): Also check the members of
7131         diary-included-files.  (Bug#6999)
7132         (appt-check): Doc fix.
7134 2010-09-14  David Reitter  <david.reitter@gmail.com>
7136         * simple.el (line-move-visual): Do not truncate goal column to
7137         integer size.  (Bug#7020)
7139 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7141         * repeat.el (repeat): Allow repeating when the last event is a click.
7142         Suggested by Drew Adams (bug#6256).
7144 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
7146         * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
7147         Replace setting HGRCPATH to "" by some less invasive --config options.
7149 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7151         * font-lock.el (font-lock-beginning-of-syntax-function):
7152         Mark as obsolete.
7154 2010-09-14  Glenn Morris  <rgm@gnu.org>
7156         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
7157         and tool-bar modes.  (Bug#6211)
7158         (menu-bar-mode): Move setting of standard-value after the
7159         minor-mode definition, otherwise it seems to have no effect.
7161 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
7163         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
7164         Fix typo.  (Bug#6976)
7166 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7168         * whitespace.el: Allow cleaning up blanks without blank
7169         visualization (Bug#6651).  Adjust help window for
7170         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
7171         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
7172         (whitespace-style): Add new value 'face.  Adjust docstring.
7173         (whitespace-space, whitespace-hspace, whitespace-tab):
7174         Adjust foreground property face.
7175         (whitespace-line-column): Adjust docstring and type declaration.
7176         (whitespace-style-value-list, whitespace-toggle-option-alist)
7177         (whitespace-help-text): Adjust const initialization.
7178         (whitespace-toggle-options, global-whitespace-toggle-options):
7179         Adjust docstring.
7180         (whitespace-display-window, whitespace-interactive-char)
7181         (whitespace-style-face-p, whitespace-color-on): Adjust code.
7182         (whitespace-help-scroll): New fun.
7184 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
7186         * calendar/time-date.el (format-seconds): Comment fix.
7188 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
7190         * progmodes/sql.el: Version 2.7.
7191         (sql-buffer-live-p): Improve detection.
7192         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7193         (sql-set-sqli-buffer): Use it.
7194         (sql-product-interactive): Run `sql-set-sqli-hook'.
7195         (sql-rename-buffer): Code cleanup.
7196         (sql-redirect, sql-redirect-value): New functions.  More to come.
7198 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
7200         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.
7201         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7202         (TRAMP_SRC): New macro.
7203         ($(lisp)/net/tramp-loaddefs.el): New target.
7205 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
7207         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
7209         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
7211         * net/tramp.el (top): Don't show loading message.  Require just
7212         'tramp-compat, everything else is required there.
7213         Use `ignore-errors' where appropriate.
7214         (tramp-inline-compress-start-size, tramp-copy-size-limit)
7215         (tramp-terminal-type, tramp-end-of-output)
7216         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
7217         (tramp-completion-function-alist-ssh)
7218         (tramp-completion-function-alist-telnet)
7219         (tramp-completion-function-alist-su)
7220         (tramp-completion-function-alist-putty, tramp-remote-path)
7221         (tramp-remote-process-environment, tramp-sh-extra-args)
7222         (tramp-actions-before-shell, tramp-uudecode)
7223         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
7224         (tramp-perl-file-attributes)
7225         (tramp-perl-directory-files-and-attributes)
7226         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
7227         (tramp-perl-encode, tramp-perl-decode)
7228         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
7229         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
7230         (tramp-handle-make-symbolic-link, tramp-handle-load)
7231         (tramp-handle-file-name-as-directory)
7232         (tramp-handle-file-name-directory)
7233         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
7234         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
7235         (tramp-do-file-attributes-with-ls)
7236         (tramp-do-file-attributes-with-perl)
7237         (tramp-do-file-attributes-with-stat)
7238         (tramp-handle-set-visited-file-modtime)
7239         (tramp-handle-verify-visited-file-modtime)
7240         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
7241         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
7242         (tramp-handle-file-selinux-context)
7243         (tramp-handle-set-file-selinux-context)
7244         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
7245         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
7246         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
7247         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
7248         (tramp-handle-file-ownership-preserved-p)
7249         (tramp-handle-directory-file-name, tramp-handle-directory-files)
7250         (tramp-handle-directory-files-and-attributes)
7251         (tramp-do-directory-files-and-attributes-with-perl)
7252         (tramp-do-directory-files-and-attributes-with-stat)
7253         (tramp-handle-file-name-all-completions)
7254         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
7255         (tramp-handle-copy-file, tramp-handle-copy-directory)
7256         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
7257         (tramp-do-copy-or-rename-file-via-buffer)
7258         (tramp-do-copy-or-rename-file-directly)
7259         (tramp-do-copy-or-rename-file-out-of-band)
7260         (tramp-handle-make-directory, tramp-handle-delete-directory)
7261         (tramp-handle-delete-file)
7262         (tramp-handle-dired-recursive-delete-directory)
7263         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
7264         (tramp-handle-insert-directory)
7265         (tramp-handle-unhandled-file-name-directory)
7266         (tramp-handle-expand-file-name)
7267         (tramp-handle-substitute-in-file-name)
7268         (tramp-handle-executable-find, tramp-process-sentinel)
7269         (tramp-handle-start-file-process, tramp-handle-process-file)
7270         (tramp-handle-call-process-region, tramp-handle-shell-command)
7271         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
7272         (tramp-handle-insert-file-contents)
7273         (tramp-handle-insert-file-contents-literally)
7274         (tramp-handle-find-backup-file-name)
7275         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
7276         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
7277         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
7278         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
7279         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
7280         (tramp-find-file-exists-command, tramp-open-shell)
7281         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
7282         (tramp-open-connection-setup-interactive-shell)
7283         (tramp-local-coding-commands, tramp-remote-coding-commands)
7284         (tramp-find-inline-encoding, tramp-call-local-coding-command)
7285         (tramp-inline-compress-commands, tramp-find-inline-compress)
7286         (tramp-compute-multi-hops, tramp-maybe-open-connection)
7287         (tramp-send-command, tramp-wait-for-output)
7288         (tramp-send-command-and-check, tramp-barf-unless-okay)
7289         (tramp-send-command-and-read, tramp-mode-string-to-int)
7290         (tramp-convert-file-attributes, tramp-check-cached-permissions)
7291         (tramp-file-mode-from-int, tramp-file-mode-permissions)
7292         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
7293         (tramp-method-out-of-band-p, tramp-local-host-p)
7294         (tramp-get-remote-path, tramp-get-remote-tmpdir)
7295         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
7296         (tramp-get-test-command, tramp-get-test-nt-command)
7297         (tramp-get-file-exists-command, tramp-get-remote-ln)
7298         (tramp-get-remote-perl, tramp-get-remote-stat)
7299         (tramp-get-remote-readlink, tramp-get-remote-trash)
7300         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
7301         (tramp-get-local-uid, tramp-get-local-gid)
7302         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
7303         tramp-sh.el.
7304         (tramp-methods, tramp-default-method-alist)
7305         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
7306         Move initialization to tramp-sh.el.
7307         (tramp-temp-name-prefix): Make it a defconst.
7308         (tramp-dissect-file-name): Don't check anymore for multi-hop
7309         methods.
7310         (tramp-debug-outline-regexp): Add a docstring.
7311         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7312         (tramp-get-debug-buffer): Use it.
7314         * net/tramp-cache.el (top): Set tramp-autoload cookie for
7315         initialization forms.
7316         (tramp-set-connection-property): Don't protect `tramp-message'
7317         call, it isn't necessary any longer.
7318         (tramp-dump-connection-properties): Use `ignore-errors'.
7320         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7321         'password-cache and 'auth-source.
7323         * net/tramp-gvfs.el (top):
7324         * net/tramp-smb.el (top): Require 'tramp-sh.
7326         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7328         * net/tramp-sh.el: New file, derived from tramp.el.
7329         (top): Initialize `tramp-methods', `tramp-default-method-alist',
7330         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7331         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7332         Use `ignore-errors' where appropriate.
7333         (tramp-sh-file-name-handler-alist): Rename from
7334         `tramp-file-name-handler-alist'.
7335         (tramp-send-command-and-check): Return t or nil.  Remove all
7336         `zerop' checks, where called.
7337         (tramp-handle-set-file-modes)
7338         (tramp-do-copy-or-rename-file-directly)
7339         (tramp-handle-delete-directory, tramp-handle-delete-file)
7340         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7341         (tramp-sh-file-name-handler, tramp-send-command-and-check)
7342         (tramp-get-remote-ln): Set tramp-autoload cookie.
7344         * net/tramp-fish.el: Remove file.
7346 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
7348         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7349         buffer-file-name to avoid file-locking.  (Bug#7026)
7351 2010-09-13  Julien Danjou  <julien@danjou.info>
7353         * notifications.el (notifications-notify): Add support for
7354         image-path and sound-name.
7355         (notifications-specification-version): Add this variable.
7357 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7359         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7361 2010-09-12  Leo  <sdl.web@gmail.com>
7363         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7364         (rcirc-completion-start): New variables.
7365         (rcirc-nick-completions): Rename to rcirc-completions.
7366         (rcirc-nick-completion-start-offset): Delete.
7367         (rcirc-completion-at-point): New function for constructing
7368         completion data for both nicks and irc commands.  Add to
7369         completion-at-point-functions in rcirc mode.
7370         (rcirc-complete): Rename from rcirc-nick-complete; use
7371         rcirc-completion-at-point.
7372         (defun-rcirc-command): Update rcirc-client-commands.
7374 2010-09-11  Glenn Morris  <rgm@gnu.org>
7376         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7377         atomically, to avoid parallel build errors.  (Bug#4196)
7379 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
7381         * progmodes/sql.el: Version 2.6
7382         (sql-dialect): Synonym for "sql-product".
7383         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7384         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7385         Set "sql-buffer" to buffer name not buffer object so multiple sql
7386         interactive buffers work properly.  Reverts misguided changes in
7387         earlier work.
7388         (sql-comint): Make sure different buffer name is used if "*SQL*"
7389         buffer is for a different product.
7390         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7391         login param.
7392         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7393         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7394         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7395         Accept new buffer name or prompt for one.
7396         (sql-port): Default to zero.
7397         (sql-comint-mysql): Handle "sql-port" as a numeric.
7398         (sql-port-history): Delete unused variable.
7399         (sql-get-login): Default "sql-port" to a number.
7400         (sql-product-alist): Correct Postgres prompt and terminator regexp.
7401         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7402         "sqlite3" executables.
7403         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7404         (sql-buffer-live-p): New function.
7405         (sql-mode-menu, sql-send-string): Use it.
7406         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7407         syntax pattern.
7408         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7409         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7411 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7413         * net/netrc.el (netrc-credentials): New convenience function.
7415 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7417         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7418         to replace texinfo-font-lock-syntactic-keywords.
7419         (texinfo-mode): Use it.
7421         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7422         Use syntax-propertize-function.
7424         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7425         replace sgml-font-lock-syntactic-keywords.
7426         (sgml-mode): Use it.
7428         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7429         since we don't use it.
7431         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7433         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7434         if available.
7435         (vhdl-fontify-buffer): Adjust.
7437         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7438         replace tcl-font-lock-syntactic-keywords.
7439         (tcl-mode): Use it.
7441         * progmodes/simula.el (simula-syntax-propertize-function): New var to
7442         replace simula-font-lock-syntactic-keywords.
7443         (simula-mode): Use it.
7445         * progmodes/sh-script.el (sh-st-symbol): Remove.
7446         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7447         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7448         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7449         (sh-font-lock-paren): Set syntax-multiline.
7450         (sh-font-lock-syntactic-keywords): Remove.
7451         (sh-syntax-propertize-function): New function to replace it.
7452         (sh-mode): Use it.
7454         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7455         Define while compiling.
7456         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7457         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7458         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7459         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7460         (ruby-here-doc-end-syntax): Only define when
7461         syntax-propertize is not available.
7462         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7463         New functions.
7464         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7465         (electric-indent-chars): Silence bytecompiler.
7466         (ruby-mode): Use prog-mode, syntax-propertize-function, and
7467         electric-indent-chars.
7469         * progmodes/python.el (python-syntax-propertize-function): New var to
7470         replace python-font-lock-syntactic-keywords.
7471         (python-mode): Use it.
7472         (python-quote-syntax): Simplify and adjust to new use.
7474         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
7475         replace perl-font-lock-syntactic-keywords.
7476         (perl-syntax-propertize-special-constructs): New fun to replace
7477         perl-font-lock-special-syntactic-constructs.
7478         (perl-font-lock-syntactic-face-function): New fun.
7479         (perl-mode): Use it.
7481         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
7482         to replace octave-font-lock-close-quotes.
7483         (octave-syntax-propertize-function): New function to replace
7484         octave-font-lock-syntactic-keywords.
7485         (octave-mode): Use it.
7487         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
7488         replaces mixal-font-lock-syntactic-keywords.
7489         (mixal-mode): Use it.
7491         * progmodes/make-mode.el (makefile-syntax-propertize-function):
7492         New var; replaces makefile-font-lock-syntactic-keywords.
7493         (makefile-mode): Use it.
7494         (makefile-imake-mode): Adjust.
7496         * progmodes/js.el (js--regexp-literal): Define while compiling.
7497         (js-syntax-propertize-function): New var; replaces
7498         js-font-lock-syntactic-keywords.
7499         (js-mode): Use it.
7501         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
7502         replaces gdb-script-font-lock-syntactic-keywords.
7503         (gdb-script-mode): Use it.
7505         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
7506         (fortran--font-lock-syntactic-keywords): New var.
7507         (fortran-line-length): Update syntax-propertize-function and
7508         fortran--font-lock-syntactic-keywords.
7510         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
7512         * progmodes/cfengine.el (cfengine-mode):
7513         Use syntax-propertize-function.
7514         (cfengine-font-lock-syntactic-keywords): Remove.
7516         * progmodes/autoconf.el (autoconf-mode):
7517         Use syntax-propertize-function.
7518         (autoconf-font-lock-syntactic-keywords): Remove.
7520         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
7521         (ada-after-change-function, ada-initialize-syntax-table-properties)
7522         (ada-handle-syntax-table-properties): Only define when
7523         syntax-propertize is not available.
7524         (ada-mode): Use syntax-propertize-function.
7526         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
7527         (font-lock-fontify-syntactic-keywords-region): Move handling of
7528         font-lock-syntactically-fontified to...
7529         (font-lock-default-fontify-region): ...here.
7530         Let syntax-propertize-function take precedence.
7531         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
7533         * emacs-lisp/syntax.el (syntax-propertize-function)
7534         (syntax-propertize-chunk-size, syntax-propertize--done)
7535         (syntax-propertize-extend-region-functions): New vars.
7536         (syntax-propertize-wholelines, syntax-propertize-multiline)
7537         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
7538         (syntax-propertize): New functions.
7539         (syntax-propertize-rules): New macro.
7540         (syntax-ppss-flush-cache): Set syntax-propertize--done.
7541         (syntax-ppss): Call syntax-propertize.
7543         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
7545 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
7547         * textmodes/ispell.el (ispell-init-process): Improve comments.
7548         XEmacs compatibility changes regarding (add-hook) 'local option
7549         and (set-process-query-on-exit-flag).
7551 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
7553         * net/tramp-cache.el (tramp-parse-connection-properties):
7554         Set tramp-autoload cookie.
7556 2010-09-09  Glenn Morris  <rgm@gnu.org>
7558         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
7559         (imagemagick-register-types): Doc fix.
7561 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7563         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
7565         * progmodes/js.el (require): Require is already "eval-and-compile".
7566         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
7567         (js--re-search-backward): Use js--re-search-forward.
7569         * progmodes/fortran.el (fortran-line-length): Don't recompute
7570         syntactic keywords redundantly a second time.
7572         * progmodes/ada-mode.el: Replace "(set '" with setq.
7573         (ada-mode): Simplify.
7574         (ada-create-case-exception, ada-adjust-case-interactive)
7575         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
7576         (ada-search-ignore-string-comment, ada-move-to-start)
7577         (ada-move-to-end): Use with-syntax-table.
7579         * font-lock.el (save-buffer-state): Remove `varlist' arg.
7580         (font-lock-unfontify-region, font-lock-default-fontify-region):
7581         Update usage correspondingly.
7582         (font-lock-fontify-syntactic-keywords-region):
7583         Set parse-sexp-lookup-properties buffer-locally here.
7584         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
7586         * simple.el (blink-matching-open): Don't burp if we can't find a match.
7588 2010-09-08  Glenn Morris  <rgm@gnu.org>
7590         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
7591         Error if not compiled with -DBYTE_CODE_METER.
7593         * emacs-lisp/bytecomp.el (byte-recompile-directory):
7594         Ignore dir-locals-file.
7596 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7598         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7599         Not a const.
7600         (compilation-error-regexp-alist-alist): Rule out ": " in file names
7601         for the `gnu' messages.
7602         (compilation-set-skip-threshold): New command.
7603         (compilation-start): Use \' rather than $.
7604         (compilation-forget-errors): Use clrhash.
7606 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
7608         * textmodes/ispell.el (ispell-valid-dictionary-list):
7609         Simplify logic.
7611 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
7613         Migrate to Tramp 2.2.  Rearrange load dependencies.
7614         (Bug#1529, Bug#5448, Bug#5705)
7616         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
7617         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
7618         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7620         * net/tramp.el (top): Remove all other tramp-* loads except
7621         tramp-compat.el.  Remove all changes to tramp-unload-hook for
7622         other tramp-* packages.  Rearrange defun order.  Change calls of
7623         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
7624         `tramp-compat-octal-to-decimal' to new function names.
7625         (tramp-terminal-type, tramp-initial-end-of-output)
7626         (tramp-methods, tramp-foreign-file-name-handler-alist)
7627         (tramp-tramp-file-p, tramp-completion-mode-p)
7628         (tramp-send-command-and-check, tramp-get-remote-path)
7629         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
7630         (tramp-shell-quote-argument): Set tramp-autoload cookie.
7631         (with-file-property, with-connection-property): Move to
7632         tramp-cache.el.
7633         (tramp-local-call-process, tramp-decimal-to-octal)
7634         (tramp-octal-to-decimal): Move to tramp-compat.el.
7635         (tramp-handle-shell-command): Do not require 'shell.
7636         (tramp-compute-multi-hops): No special handling for tramp-gw-*
7637         symbols.
7638         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
7640         * net/tramp-cache.el (top): Require 'tramp.  Add to
7641         `tramp-unload-hook'.
7642         (tramp-cache-data, tramp-get-file-property)
7643         (tramp-set-file-property, tramp-flush-file-property)
7644         (tramp-flush-directory-property, tramp-get-connection-property)
7645         (tramp-set-connection-property, tramp-flush-connection-property)
7646         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
7647         cookie.
7648         (with-file-property, with-connection-property): New defuns, moved
7649         from tramp.el.
7650         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
7651         macro.
7653         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
7654         (tramp-version): Set tramp-autoload cookie.
7656         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
7657         changes to tramp-unload-hook for other tramp-* packages.  Add to
7658         `tramp-unload-hook'.
7659         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
7660         (tramp-compat-call-process): New defuns, moved from tramp.el.
7662         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
7663         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7664         Add to `tramp-unload-hook'.  Change call of
7665         `tramp-compat-decimal-to-octal' to new function name.
7666         (tramp-fish-method): Make it a defconst.
7667         (tramp-fish-file-name-p): Make it a defsubst.
7668         (tramp-fish-method, tramp-fish-file-name-handler)
7669         (tramp-fish-file-name-p): Set tramp-autoload cookie.
7671         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
7672         `tramp-foreign-file-name-handler-alist'.  Add to
7673         `tramp-unload-hook'.
7674         (tramp-ftp-method): Make it a defconst.
7675         (tramp-ftp-file-name-p): Make it a defsubst.
7676         (tramp-ftp-method, tramp-ftp-file-name-handler)
7677         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
7679         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
7680         `tramp-foreign-file-name-handler-alist'.  Add to
7681         `tramp-unload-hook'.  Change checks, whether package can be
7682         loaded.
7683         (tramp-gvfs-file-name-p): Make it a defsubst.
7684         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
7685         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
7686         (tramp-gvfs-handle-file-directory-p): New defun.
7687         (tramp-gvfs-file-name-handler-alist): Use it.
7689         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
7690         `tramp-foreign-file-name-handler-alist'.  Add to
7691         `tramp-unload-hook'.
7692         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
7693         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
7694         defconst.
7695         (tramp-gw-tunnel-method, tramp-gw-socks-method)
7696         (tramp-gw-open-connection): Set tramp-autoload cookie.
7698         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
7699         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7700         Add to `tramp-unload-hook'.  Change checks, whether package can be
7701         loaded.
7702         (tramp-imap-file-name-p): Make it a defsubst.
7703         (tramp-imap-method, tramp-imaps-method)
7704         (tramp-imap-file-name-handler)
7705         (tramp-imap-file-name-p): Set tramp-autoload cookie.
7707         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
7708         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7709         Add to `tramp-unload-hook'.  Change checks, whether package can be
7710         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
7711         function name.
7712         (tramp-smb-tunnel-method): Make it a defconst.
7713         (tramp-smb-file-name-p): Make it a defsubst.
7714         (tramp-smb-method, tramp-smb-file-name-handler)
7715         (tramp-smb-file-name-p): Set tramp-autoload cookie.
7717         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
7718         (tramp-uuencode-region): Set tramp-autoload cookie.
7720         * net/trampver.el (top) Add to `tramp-unload-hook'.
7721         (tramp-version, tramp-bug-report-address): Set tramp-autoload
7722         cookie.  Update release number.
7724 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
7726         * textmodes/ispell.el (ispell-start-process): Make sure original
7727         arg list is properly initialized (Bug#6993, Bug#6994).
7729 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
7731         * files.el (directory-abbrev-alist): Use \` as default regexp.
7733         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
7734         chars like - or ] (bug#6984).
7735         (rx-any-condense-range): Explode 2-char ranges.
7737 2010-09-06  Glenn Morris  <rgm@gnu.org>
7739         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
7741 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7743         * textmodes/bibtex.el:
7744         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
7746 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7748         * net/imap.el (imap-message-map): Remove optional buffer parameter,
7749         since no callers use it.
7750         (imap-message-get): Ditto.
7751         (imap-message-put): Ditto.
7752         (imap-mailbox-map): Ditto.
7753         (imap-mailbox-put): Ditto.
7754         (imap-mailbox-get): Ditto.
7755         (imap-mailbox-get): Revert last change for this function.
7757 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7759         * net/imap.el (imap-fetch-safe): Remove function, and alter all
7760         callers to use `imap-fetch' instead.  According to the comments, this
7761         should be safe, since all other IMAP clients use the 1:* syntax.
7762         (imap-enable-exchange-bug-workaround): Remove.
7763         (imap-debug): Remove -- doesn't seem very useful.
7765 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7767         * net/imap.el (imap-log): New convenience function used throughout
7768         instead of repeating the same code all over the place.
7770 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
7772         * mouse.el (mouse-save-then-kill): Save region to kill-ring
7773         when mouse-drag-copy-region is non-nil (Bug#6956).
7775 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
7777         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
7778         Improve regexps (Bug#6987).
7779         (dired-sort-toggle): Search more robustly for -t flag.
7781         * files.el (get-free-disk-space): Search more robustly for
7782         "available" column.  Suggested by Ehud Karni
7783         <ehud@unix.mvs.co.il>.
7785 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
7787         * international/uni-bidi.el:
7788         * international/uni-category.el:
7789         * international/uni-combining.el:
7790         * international/uni-decimal.el:
7791         * international/uni-mirrored.el:
7792         * international/uni-name.el: Regenerate.
7794 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7796         * electric.el (electric-indent-post-self-insert-function):
7797         Don't reindent with a sloppy indentation function.
7799         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7800         border case in change-log-mode.
7802 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
7804         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7805         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7806         Recognize leading tab in gcc-include regexp.  Ignore names with
7807         leading "from" or "in" in gnu regexp (Bug#6937).
7809 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7811         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7812         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7813         (ispell-start-process): Avoid setq and simplify logic.
7814         (ispell-init-process): Setup kill-buffer-hook locally when needed.
7815         (kill-buffer-hook): Don't use it globally with code that uses
7816         expand-file-name since that may call kill-buffer via
7817         code_conversion_restore.
7819 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
7821         * emacs-lisp/package.el (package-directory-list): Only call
7822         file-name-nondirectory on a string.
7824 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
7826         * emacs-lisp/package.el (package--download-one-archive):
7827         Ensure that archive-contents is valid before saving it.
7828         (package-activate-1, package-mark-obsolete, define-package)
7829         (package-compute-transaction, package-list-maybe-add): Use push.
7831 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7833         Use SMIE's blink-paren for octave-mode.
7834         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7835         Backslashes do not escape single-quotes, single-quotes do.
7836         (octave-block-else-regexp, octave-block-end-regexp)
7837         (octave-block-match-alist): Remove.
7838         (octave-smie-bnf-table): New var, with old content.
7839         (octave-smie-op-levels): Use it.
7840         (octave-smie-closer-alist): New var.
7841         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
7842         (octave-blink-matching-block-open): Remove.
7843         (octave-reindent-then-newline-and-indent, octave-electric-semi)
7844         (octave-electric-space): Let self-insert-command run expand-abbrev and
7845         blink parens.
7847         * electric.el (electricity): New group.
7848         (electric-indent-chars): New var.
7849         (electric-indent-post-self-insert-function): New fun.
7850         (electric-indent-mode): New minor mode.
7851         (electric-pair-skip-self): New custom.
7852         (electric-pair-post-self-insert-function): New function.
7853         (electric-pair-mode): New minor mode.
7855         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7856         calcAlg-blink-matching-open.
7857         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7858         (calc-do-alg-entry): Only touch the part of the keymap that varies.
7859         Use the new blink-matching-check-function.
7861         Provide blink-matching support to SMIE.
7862         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7863         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7864         (smie-blink-matching-check, smie-blink-matching-open): New functions.
7866         * simple.el (newline): Fix last change to properly remove itself from
7867         the hook.
7869 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7871         * simple.el (newline): Eliminate optimization.
7872         Use post-self-insert-hook to set hard-newline and things before
7873         running post-self-insert-hook.
7874         (blink-matching-check-mismatch): New function.
7875         (blink-matching-check-function): New variable.
7876         (blink-matching-open): Use them.
7877         Skip back forward over prefix chars skipped by forward-sexp.
7878         Don't check if the parens are backslash escaped.
7879         (blink-paren-post-self-insert-function): Check backslash escaping here.
7881 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
7883         * emacs-lisp/package.el (package-menu-mode-map):
7884         Change package-menu-revert bindings to revert-buffer.
7885         (package-menu-mode): Set revert-buffer-function.
7886         (package-menu-revert): Doc fix.
7888 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
7890         * textmodes/ispell.el (ispell-init-process): Use "~/" as
7891         `default-directory' unless using Ispell per-directory personal
7892         dictionaries and not in a mini-buffer under XEmacs.
7893         (kill-buffer-hook): Do not kill ispell process on exit when
7894         `ispell-process-directory' is "~/".  (Bug#6143)
7896 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
7898         * simple.el (kill-new): Call interprogram-cut-function with only
7899         one argument.
7901         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7902         Remove cut buffer from error message.
7904         * term/x-win.el (x-select-text):
7905         * term/pc-win.el (x-selection-value):
7906         * term/ns-win.el (x-selection-value):
7907         * eshell/em-term.el:
7908         * w32-fns.el (x-get-selection-value):
7909         * mouse-sel.el (mouse-sel-set-selection-function):
7910         * frame.el (display-selections-p): Remove cut-buffer in documentation.
7912         * term/x-win.el: Update documentation for x-last-selected-text-*.
7913         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
7914         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
7915         (x-select-text): Remove argument PUSH, update documentation.
7916         Remove cut-buffer code.
7917         (x-selection-value-internal): Was previously x-selection-value.
7918         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7919         Update documentation, remove cut-buffer code.
7920         Call x-selection-value-internal.
7921         (x-clipboard-yank): Call x-selection-value-internal.
7922         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
7924         * term/pc-win.el (x-last-selected-text):
7925         x-cut-buffer-or-selection-value renamed to x-selection-value
7926         (x-select-text): Remove argument PUSH, update documentation.
7928         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
7929         x-cut-buffer-or-selection-value renamed to x-selection-value
7930         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7931         (x-select-text): Remove argument PUSH, update documentation.
7933         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
7935         * w32-fns.el (x-last-selected-text):
7936         x-cut-buffer-or-selection-value renamed to x-selection-value.
7937         (x-cut-buffer-max): Remove.
7938         (x-select-text): Remove argument PUSH, update documentation.
7940         * simple.el (interprogram-cut-function): Remove mention of PUSH.
7942         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
7944         * mouse-sel.el (mouse-sel-get-selection-function):
7945         x-cut-buffer-or-selection-value renamed to x-selection-value.
7946         (x-select-text): Remove optional push.
7948 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7950         * simple.el (blink-paren-function): Move from C to here.
7951         (blink-paren-post-self-insert-function): New function.
7952         (post-self-insert-hook): Use it.
7954         * emacs-lisp/pcase.el (pcase-split-memq):
7955         Fix overenthusiastic optimisation.
7956         (pcase-u1): Handle the case of a lambda pred.
7958 2010-08-31  Kenichi Handa  <handa@m17n.org>
7960         * international/mule-cmds.el (standard-display-european-internal):
7961         Setup standard-display-table for 8-bit characters by storing 8-bit
7962         characters in the element vector.
7964         * disp-table.el (standard-display-8bit):
7965         Setup standard-display-table for 8-bit characters by storing 8-bit
7966         characters in the element vector.
7967         (standard-display-european): Likewise.
7969 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
7971         * textmodes/nroff-mode.el (nroff-view): New command.
7972         (nroff-mode-map): Bind it to C-c C-c.
7974 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7976         * emacs-lisp/smie.el (smie-down-list): New command.
7978         Remove old indentation and navigation code on octave-mode.
7979         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
7980         smie-down-list rather than add a binding for octave-down-block.
7981         (octave-mark-block, octave-blink-matching-block-open):
7982         Rely on forward-sexp-function.
7983         (octave-fill-paragraph): Don't narrow, so you can use
7984         indent-according-to-mode.
7985         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
7986         (octave-in-block-p, octave-re-search-forward-kw)
7987         (octave-re-search-backward-kw, octave-indent-calculate)
7988         (octave-end-as-array-index-p, octave-block-end-offset)
7989         (octave-scan-blocks, octave-forward-block, octave-backward-block)
7990         (octave-down-block, octave-backward-up-block, octave-up-block)
7991         (octave-before-magic-comment-p, octave-indent-line): Remove.
7993 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
7995         * emacs-lisp/package.el (package--read-archive-file): Just use
7996         `read', to avoid copying an additional string.
7997         (package-menu-mode): Set header-line-format here.
7998         (package-menu-refresh, package-menu-revert): Signal an error if
7999         not in the Package Menu.
8000         (package-menu-package-list): New var.
8001         (package--generate-package-list): Operate on the current buffer;
8002         don't assume that it is *Packages*, since the user may rename it.
8003         Allow persistent package listings and sort keys using
8004         package-menu-package-list and package-menu-package-sort-key.
8005         (package-menu--version-predicate): Fix version calculation.
8006         (package-menu-sort-by-column): Don't select the window.
8007         (package--list-packages): Create the *Packages* buffer.
8008         Set package-menu-package-list-key.
8009         (list-packages): Sorting by status is now the default.
8010         (package-buffer-info): Use match-string-no-properties.
8011         (define-package): Add a &rest argument for future proofing, but
8012         don't use it yet.
8013         (package-install-from-buffer, package-install-buffer-internal):
8014         Merge into a single function, package-install-from-buffer.
8015         (package-install-file): Change caller.
8017         * finder.el: Load finder-inf using `require'.
8018         (finder-list-matches): Sorting by status is now the default.
8019         (finder-compile-keywords): Simpify printing.
8021 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8023         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8024         (octave-mode-map): Remove special bindings for forward/backward-block
8025         and octave-backward-up-block.  Use smie-close-block.
8026         (octave-continuation-marker-regexp): New var.
8027         (octave-continuation-regexp): Use it.
8028         (octave-operator-table, octave-smie-op-levels)
8029         (octave-operator-regexp, octave-smie-indent-rules): New vars.
8030         (octave-smie-backward-token, octave-smie-forward-token): New funs.
8031         (octave-mode): Use SMIE.
8032         (octave-close-block): Delete.
8034 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
8036         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
8037         CLIPBOARD, not in PRIMARY.  (Bug#6944)
8039 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8041         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
8042         a list of parents.
8043         (smie-indent-column): Allow indirection through variables.
8045         * composite.el (save-buffer-state): Delete, unused.
8046         * font-lock.el (save-buffer-state): Use with-silent-modifications.
8047         (font-lock-default-fontify-region): Use with-syntax-table.
8048         * jit-lock.el (with-buffer-unmodified): Remove.
8049         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
8051         Use `declare' in defmacros.
8052         * window.el (save-selected-window):
8053         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
8054         * progmodes/python.el (def-python-skeleton):
8055         * net/dbus.el (dbus-ignore-errors):
8056         * jka-cmpr-hook.el (with-auto-compression-mode):
8057         * international/mule.el (with-category-table):
8058         * emacs-lisp/timer.el (with-timeout):
8059         * emacs-lisp/lisp-mnt.el (lm-with-file):
8060         * emacs-lisp/eieio.el (with-slots):
8061         * emacs-lisp/easymenu.el (easy-menu-define):
8062         * emacs-lisp/debug.el (debugger-env-macro):
8063         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
8064         (Multiple-value-call, Multiple-value-prog1):
8065         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
8066         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
8067         edebug rule to definition.
8068         * emacs-lisp/lisp-mode.el (save-selected-window)
8069         (with-current-buffer, combine-after-change-calls)
8070         (with-output-to-string, with-temp-file, with-temp-buffer)
8071         (with-temp-message, with-syntax-table, read-if, eval-after-load)
8072         (dolist, dotimes, when, unless):
8073         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
8075 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
8077         * finder.el: Require `package'.
8078         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
8079         (finder-package-info): Var deleted.
8080         (finder-keywords-hash, finder--builtins-alist): New vars.
8081         (finder-compile-keywords): Compute package--builtins and
8082         finder-keywords-hash instead of finder-keywords-hash, respecting
8083         the "Package" header.
8084         (finder-unknown-keywords, finder-list-matches):
8085         Use finder-keywords-hash and package--list-packages.
8086         (finder-mode): Don't set font-lock-defaults.
8087         (finder-exit): We don't use "*Finder-package*" and "*Finder
8088         Category*" buffers anymore.
8090         * emacs-lisp/package.el (package--builtins-base): Var deleted.
8091         (package--builtins): Set default value to nil.
8092         (package-initialize): Load precomputed value of package--builtins
8093         from finder-inf.el.
8094         (package-alist, package-compute-transaction)
8095         (package-download-transaction): Improve docstring.
8096         (package-read-all-archive-contents): Do not change
8097         package--builtins here.
8098         (list-packages): Make package-list-packages an alias for this.
8099         Sort by status by default.
8100         (package--list-packages): Add optional PACKAGES arg.
8101         (describe-package-1): Use font-lock-face property.  For built-in
8102         packages, insert file commentary.
8103         (package--generate-package-list): Rename from
8104         package-list-packages-internal; all callers changed.  Add optional
8105         PACKAGES arg.  Add alphabetical sort fallbacks.
8106         (package-menu--version-predicate, package-menu--status-predicate)
8107         (package-menu--description-predicate)
8108         (package-menu--name-predicate): New functions.
8110         * info.el (Info-finder-find-node): Search package-alist instead of
8111         finder-package-info.
8113 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
8115         * subr.el (version-regexp-alist): Don't use "a" and "b" for
8116         "alpha" and "beta".
8117         (version-to-list): Handle versions like "10.3d".
8119 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8121         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
8122         (macroexp-accumulate): Use `declare'.
8124 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8126         * whitespace.el (whitespace-style): Adjust type declaration.
8128 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
8130         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
8132 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
8134         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
8135         (Bug#6907).
8137 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
8139         * progmodes/js.el: Make indentation more customizable (Bug#6914).
8140         (js-paren-indent-offset, js-square-indent-offset)
8141         (js-curly-indent-offset): New options.
8142         (js--proper-indentation): Use them.
8144 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
8146         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
8147         instead of inspecting font-lock properties (Bug#6916).
8149 2010-08-26  David Reitter  <david.reitter@gmail.com>
8151         * server.el (server-visit-files): Run pre-command-hook and
8152         post-command-hook for each buffer while it is current (Bug#6910).
8153         (server-execute): Do not run hooks here.
8155 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
8157         Sync with Tramp 2.1.19.
8159         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Protect
8160         deleting tmpfile.
8161         (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
8163         * net/tramp.el (tramp-handle-expand-file-name)
8164         (tramp-completion-handle-file-name-all-completions)
8165         (tramp-completion-handle-file-name-completion):
8166         Use `tramp-connectable-p'.
8168         * net/trampver.el: Update release number.
8170 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
8172         * help.el (help-map): Bind `C-h P' to describe-package.
8174         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
8176         * emacs-lisp/package.el (package-refresh-contents): Catch errors
8177         when downloading archives.
8178         (describe-package-1): Add package commentary.
8179         (package-install-button-action): New function.
8180         (package-menu-mode-map): Bind ? to package-menu-describe-package.
8181         (package-menu-view-commentary): Function removed.
8182         (package-list-packages-internal): Hide the `package' package too.
8184 2010-08-25  Kenichi Handa  <handa@m17n.org>
8186         * language/misc-lang.el ("Arabic"): New language environment.
8187         Setup composition-function-table for Arabic characters.
8189         * international/fontset.el (setup-default-fontset): Fix typo for
8190         arabic OTF spec (fini->fina).
8192 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
8194         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
8195         on all frames.
8197 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8199         * whitespace.el: Allow cleaning up blanks without blank
8200         visualization (Bug#6651).  Adjust help window for
8201         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
8202         instead of whitespace-line-column (from EmacsWiki).  New version
8203         13.1.
8204         (whitespace-style): Add new value 'face.  Adjust docstring.
8205         (whitespace-space, whitespace-hspace, whitespace-tab):
8206         Adjust foreground property face.
8207         (whitespace-line-column): Adjust docstring and type declaration.
8208         (whitespace-style-value-list, whitespace-toggle-option-alist)
8209         (whitespace-help-text): Adjust const initialization.
8210         (whitespace-toggle-options, global-whitespace-toggle-options):
8211         Adjust docstring.
8212         (whitespace-display-window, whitespace-interactive-char)
8213         (whitespace-style-face-p, whitespace-color-on): Adjust code.
8214         (whitespace-help-scroll): New fun.
8216 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
8218         * emacs-lisp/package.el (list-packages): Alias for
8219         package-list-packages.
8221 2010-08-24  Kevin Ryde  <user42@zip.com.au>
8223         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
8224         (Bug#5651).
8226         * progmodes/ruby-mode.el (ruby): Add defgroup.
8228 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
8230         * progmodes/python.el: Add Ipython support (Bug#5390).
8231         (python-shell-prompt-alist)
8232         (python-shell-continuation-prompt-alist): New options.
8233         (python--set-prompt-regexp): New function.
8234         (inferior-python-mode, run-python, python-shell):
8235         Require ansi-color.  Use python--set-prompt-regexp to set the comint
8236         prompt based on the Python interpreter.
8237         (python--prompt-regexp): New var.
8238         (python-check-comint-prompt)
8239         (python-comint-output-filter-function): Use it.
8240         (run-python): Use a pipe (Bug#5694).
8242 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
8244         * progmodes/python.el (python-send-region): Send a different
8245         Python command if Ipython is in use.
8246         (python-check-version): Use a Python command to find the version.
8248 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
8250         * mouse.el (mouse-yank-primary): Avoid setting primary when
8251         deactivating the mark (Bug#6872).
8253 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
8255         * progmodes/python.el (python-block-pairs): Allow use of "finally"
8256         with "else" (Bug#3991).
8258 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
8260         * net/dbus.el: Accept UNIX domain sockets as bus address.
8261         (top): Don't initialize `dbus-registered-objects-table' anymore,
8262         this is done in dbusbind.c.
8263         (dbus-check-event): Adapt test for bus.
8264         (dbus-return-values-table, dbus-unregister-service)
8265         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
8266         Adapt doc string.
8268 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
8270         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
8272 2010-08-22  Juri Linkov  <juri@jurta.org>
8274         * simple.el (read-extended-command): New function with the logic
8275         for `completing-read' moved to Elisp from `execute-extended-command'.
8276         Use `function-called-at-point' in `minibuffer-default-add-function'
8277         to get a command name for M-n (bug#5364, bug#5214).
8279 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
8281         * startup.el (command-line-1): Issue warning for ignored arguments
8282         --unibyte, etc (Bug#6886).
8284 2010-08-22  Leo  <sdl.web@gmail.com>
8286         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
8287         (ignore, bright, dim, keyword): Split list of nicknames before
8288         passing to rcirc-add-or-remove (Bug#6894).
8290 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
8292         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
8294 2010-08-22  Leo  <sdl.web@gmail.com>
8296         Fix buffer-list rename&refresh after killing a buffer in ido.
8297         * ido.el: Revert Óscar's.
8298         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
8299         Remember the buffers at head, rather than their name.
8300         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
8302 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
8303             Stefan Monnier  <monnier@iro.umontreal.ca>
8305         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
8306         extra backslash added to each line (bug#6890).
8308 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8310         * subr.el (read-key): Don't echo keystrokes (bug#6883).
8312 2010-08-22  Glenn Morris  <rgm@gnu.org>
8314         * menu-bar.el (menu-bar-games-menu): Add landmark.
8316 2010-08-22  Glenn Morris  <rgm@gnu.org>
8318         * align.el (align-regexp): Make group and spacing arguments
8319         use the interactive defaults when non-interactive.  (Bug#6698)
8321         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8322         expansion, so as not to need sendmail.
8323         (mail-text-start): Remove declaration.
8324         (rmail-retry-failure): Require sendmail.
8326 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
8328         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8330 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
8332         * progmodes/flymake.el (flymake-start-syntax-check-process):
8333         Use `start-file-process' in order to let it run also on remote hosts.
8335 2010-08-22  Kenichi Handa  <handa@m17n.org>
8337         * files.el: Add `word-wrap' as safe local variable.
8339 2010-08-22  Glenn Morris  <rgm@gnu.org>
8341         * woman.el (woman-translate): Case matters.  (Bug#6849)
8343 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
8345         * simple.el (kill-region): Doc fix (Bug#6787).
8347 2010-08-22  Glenn Morris  <rgm@gnu.org>
8349         * calendar/diary-lib.el (diary-header-line-format):
8350         Fit it to the window, not the frame.
8352 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
8354         * subr.el (ignore-errors): Add debug declaration.
8356 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
8358         * whitespace.el (whitespace-color-off): Remove post-command-hook
8359         locally.
8361 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8363         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8365 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
8367         * cus-edit.el (custom-group-value-create): Add extra newline
8368         before end line (Bug#6876).
8370 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
8372         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8373         when extending it.  Before killing on the second click, check if
8374         the buffer is the correct one.  Doc fix.
8375         (mouse-secondary-save-then-kill): Allow usage without first
8376         calling mouse-start-secondary, by defaulting to point.  Don't save
8377         an empty secondary selection.  Doc fix.
8379 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8381         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
8382         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8383         New version 13.0.
8384         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8385         Adjust initialization.
8386         (whitespace-bob-marker, whitespace-eob-marker)
8387         (whitespace-buffer-changed): New vars.
8388         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8389         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8390         (whitespace-post-command-hook, whitespace-display-char-on):
8391         Adjust code.
8392         (whitespace-looking-back, whitespace-buffer-changed): New funs.
8393         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8395 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8397         * files.el (locate-file-completion-table): Only list the .el and .elc
8398         extensions if there's no other choice (bug#5955).
8400         * facemenu.el (facemenu-self-insert-data): New var.
8401         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8402         New functions.
8403         (facemenu-add-face): Use them.
8405         * simple.el (blink-matching-open): Obey forward-sexp-function.
8407 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8409         * simple.el (prog-mode-map): New var.
8410         (prog-indent-sexp): New command.
8412         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8414         * progmodes/prolog.el (smie): Require.
8416         * emacs-lisp/smie.el (smie-default-backward-token)
8417         (smie-default-forward-token): Strip properties.
8418         (smie-next-sexp): Be more careful with associative operators.
8419         (smie-forward-sexp-command): Generalize.
8420         (smie-backward-sexp-command): Simplify.
8421         (smie-closer-alist): New var.
8422         (smie-close-block): New command.
8423         (smie-indent-debug-log): New var.
8424         (smie-indent-offset-rule): Add a few more cases.
8425         (smie-indent-column): New function.
8426         (smie-indent-after-keyword): Use it.
8427         (smie-indent-keyword): Use it.
8428         Fix up the opener code's point position.
8429         (smie-indent-comment): Only applies at BOL.
8430         (smie-indent-debug): New command.
8432         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8433         declarations that are useful before running the macro.
8435 2010-08-18  Joakim Verona  <joakim@verona.se>
8437         * image.el (imagemagick-types-inhibit): New variable.
8438         (imagemagick-register-types): New function.
8439         * image-mode.el (image-transform-properties): New function.
8440         (image-transform-set-scale, image-transform-fit-to-height)
8441         (image-transform-set-rotation, image-transform-set-resize)
8442         (image-transform-fit-to-width, image-transform-fit-to-height):
8443         New functions.
8444         (image-toggle-display-image): Support image transforms.
8446 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
8448         * image.el (create-animated-image): Don't add heuristic mask to image
8449         (Bug#6839).
8451 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
8453         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8454         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8456 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8458         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8460         Font-lock '...' strings, plus various simplifications and fixes.
8461         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8462         (octave-font-lock-close-quotes): New function.
8463         (octave-font-lock-syntactic-keywords): New var.
8464         (octave-mode): Use it.  Set beginning-of-defun-function.
8465         (octave-mode-map): Don't override the <foo>-defun commands.
8466         (octave-mode-menu): Pass it directly to easy-menu-define;
8467         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8468         (octave-block-match-alist): Fix up last change so that
8469         octave-close-block uses the more specific keyword.
8470         (info-lookup-mode): Silence byte-compiler.
8471         (octave-beginning-of-defun): Not interactive any more.
8472         Optimize slightly.
8473         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
8474         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
8475         (octave-completion-at-point-function): Make sure point is within
8476         beg..end.
8477         (octave-reindent-then-newline-and-indent):
8478         Use reindent-then-newline-and-indent.
8479         (octave-add-octave-menu): Remove.
8481 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
8483         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
8484         (report-emacs-bug-can-use-xdg-email): New functions.
8485         (report-emacs-bug): Set can-xdg-email to result of
8486         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
8487         \C-cm to report-emacs-bug-insert-to-mailer and add help text
8488         about it.
8490         * net/browse-url.el (browse-url-default-browser): Add cond
8491         for browse-url-xdg-open.
8492         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
8494 2010-08-17  Glenn Morris  <rgm@gnu.org>
8496         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
8497         (c-fontify-recorded-types-and-refs): Define for compiler.
8498         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
8499         before use.
8501         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
8502         Fix format call.
8504 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
8506         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
8507         properties.
8508         (tramp-handle-process-file): Call the program in a subshell, in
8509         order to preserve working directory.
8510         (tramp-action-password): Hide password prompt before next run.
8511         (tramp-process-actions): Widen connection buffer for the trace.
8513 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
8515         * net/rcirc.el (rcirc-log-process-buffers): New option.
8516         (rcirc-print): Use it.
8517         (rcirc-generate-log-filename): New function.
8518         (rcirc-log-filename-function): Change default to
8519         rcirc-generate-log-filename (Bug#6828).
8521 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
8523         * simple.el (deactivate-mark): If select-active-regions is `only',
8524         only set selection for temporarily active regions.
8526         * cus-start.el: Change defcustom for select-active-regions.
8528 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
8530         * mouse.el (mouse--drag-set-mark-and-point): New function.
8531         (mouse-drag-track): Use LOCATION arg to push-mark.
8532         Use mouse--drag-set-mark-and-point to take click-count into
8533         consideration when updating point and mark (Bug#6840).
8535 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
8537         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8538         Give the Ruby rule a lower priority than Gnu (Bug#6778).
8540 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
8542         * font-lock.el (lisp-font-lock-keywords-2):
8543         Add combine-after-change-calls, condition-case-no-debug,
8544         with-demoted-errors, and with-silent-modifications (Bug#6025).
8546 2010-08-14  Kevin Ryde  <user42@zip.com.au>
8548         * emacs-lisp/copyright.el (copyright-update-year)
8549         (copyright-update): Temporary switch-to-buffer to ensure the
8550         buffer change being queried is visible (Bug#5394).
8552 2010-08-14  Tom Tromey  <tromey@redhat.com>
8554         * progmodes/etags.el (tags-file-name): Mark safe if stringp
8555         (Bug#6733).
8557 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
8559         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
8560         MS-DOS.  (Bug#6689)
8562 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
8564         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
8565         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8566         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8567         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
8568         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
8569         Call menu-bar-set-tool-bar-position.
8571 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8573         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
8574         comment style (bug#6834).
8575         * progmodes/scheme.el (scheme-mode-syntax-table):
8576         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
8577         "b" flag in "' 14b" syntax.
8579         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
8580         for (un)commenting the region and performing completion.
8581         (octave-mode-menu): Use standard commands for help and completion.
8582         (octave-mode-syntax-table): Support %{..%} comments (sort of).
8583         (octave-mode): Use define-derived-mode.
8584         Set completion-at-point-functions and don't set columns.
8585         Don't disable adaptive-fill-regexp.
8586         (octave-describe-major-mode, octave-comment-region)
8587         (octave-uncomment-region, octave-comment-indent)
8588         (octave-indent-for-comment): Remove.
8589         (octave-indent-calculate): Rename from calculate-octave-indent.
8590         (octave-indent-line, octave-fill-paragraph): Update caller.
8591         (octave-initialize-completions): No need to make an alist.
8592         (octave-completion-at-point-function): New function.
8593         (octave-complete-symbol): Use it.
8594         (octave-insert-defun): Use define-skeleton.
8596         * progmodes/octave-mod.el (octave-mode): Set comment-add.
8597         (octave-mode-map): Use comment-dwim (bug#6829).
8599 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>
8601         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8602         indentation of inserted comment.
8604 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
8606         * faces.el (region): Add type gtk that uses gtk colors.
8608         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8609         Handle theme-name change.
8611 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
8613         * progmodes/sql.el: Version 2.5
8614         (sql-product-alist): Add :prompt-cont-regexp property for several
8615         database products.
8616         (sql-prompt-cont-regexp): New variable.
8617         (sql-output-newline-count, sql-output-by-send):
8618         New variables.  Record number of newlines in input text.
8619         (sql-send-string): Handle multiple filters and count newlines.
8620         (sql-send-magic-terminator): Count terminator newline.
8621         (sql-interactive-remove-continuation-prompt): Filters output to
8622         remove continuation prompts; one for each newline.
8623         (sql-interactive-mode): Set up new variables, prompt regexp and
8624         output filter.
8625         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8626         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8628 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8630         * emacs-lisp/pcase.el: New file.
8632 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
8634         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8635         as here-document, otherwise the command could exceed maximum
8636         length of command line.
8637         (tramp-handle-vc-registered): Call script accordingly.
8638         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8640 2010-08-10  Kenichi Handa  <handa@m17n.org>
8642         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8643         composable pattern.
8645 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
8647         * emacs-lisp/package.el (package-version-split)
8648         (package--version-first-nonzero, package-version-compare):
8649         Functions removed.
8650         (package-directory-list, package-load-all-descriptors)
8651         (package--built-in, package-activate, define-package)
8652         (package-installed-p, package-compute-transaction)
8653         (package-read-all-archive-contents)
8654         (package--add-to-archive-contents, package-buffer-info)
8655         (package-tar-file-info, package-list-packages-internal):
8656         Use version-to-list and version-list-*.
8658         * emacs-lisp/package-x.el (package-upload-buffer-internal):
8659         Use version-to-list.
8660         (package-upload-buffer-internal): Use version-list-<=.
8662 2010-08-09  Kenichi Handa  <handa@m17n.org>
8664         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8665         composable pattern.
8667 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
8669         * tutorial.el (tutorial--default-keys): C-d is now bound to
8670         delete-forward-char (Bug#6826).
8672         * mouse.el (mouse-drag-track): Remove accidentally-removed check
8673         for `double' value of mouse-1-click-follows-link (Bug#6807).
8675 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
8677         * replace.el (replace-highlight): Bind isearch-forward and
8678         isearch-error, ensuring that highlighting is updated if the user
8679         switches the search direction (Bug#6808).
8681         * isearch.el (isearch-lazy-highlight-forward): New var.
8682         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8683         (isearch-lazy-highlight-update): Use it.
8685 2010-08-08  Kenichi Handa  <handa@m17n.org>
8687         * international/mule.el (define-charset): Store NAME as :base property.
8688         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8689         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8690         current priority.  Force using the designation of the specific
8691         charset by adding `charset' text property.  Improve the whole algorithm.
8693 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8695         * emulation/pc-select.el (pc-selection-mode-hook)
8696         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8697         (pc-selection-mode): Fix typos in docstrings.
8699 2010-08-08  Kenichi Handa  <handa@m17n.org>
8701         * language/cyrillic.el: Don't add "microsoft-cp1251" to
8702         ctext-non-standard-encodings-alist here.
8704         * international/mule.el (ctext-non-standard-encodings-alist):
8705         Add "koi8-r" and "microsoft-cp1251".
8706         (ctext-standard-encodings): New variable.
8707         (ctext-non-standard-encodings-table): List only elements for
8708         non-standard encodings.
8709         (ctext-pre-write-conversion): Adjust for the above change.
8710         Check ctext-standard-encodings.
8712         * international/mule-conf.el (compound-text): Doc fix.
8713         (ctext-no-compositions): Doc fix.
8714         (compound-text-with-extensions): Doc fix.
8716 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8718         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8720 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8722         * progmodes/which-func.el (which-func-format): Split help-echo text
8723         into lines, like other mode-line tooltips.
8725         * server.el (server-start): When using TCP sockets, force IPv4
8726         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
8728 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8730         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8732 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8734         * term.el (term-delimiter-argument-list): Reflow docstring.
8735         (term-read-input-ring, term-write-input-ring, term-send-input)
8736         (term-bol, term-erase-in-display, serial-supported-or-barf):
8737         Fix typos in docstrings.
8739 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8741         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8743 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8745         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8747 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
8749         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8750         Fix typo in docstring (bug#6747).
8752 2010-08-08  Leo  <sdl.web@gmail.com>
8754         * eshell/esh-io.el (eshell-get-target): Better detection of
8755         read-only file (Bug#6762).
8757 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8759         * align.el (align-default-spacing): Doc fix.
8760         (align-region-heuristic, align-regexp): Fix typos in docstrings.
8762 2010-08-08  Stephen Peters  <speters@itasoftware.com>
8764         * calendar/icalendar.el
8765         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
8766         (icalendar--get-weekday-numbers): New.
8767         (icalendar--convert-recurring-to-diary): Handle multiple byday
8768         values in weekly rules.  (Bug#6766)
8770 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
8772         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8773         (icalendar--create-uid, icalendar-export-region)
8774         (icalendar--parse-summary-and-rest): Code formatting.
8776 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
8778         * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
8779         to italicize headers.
8780         (calc-highlight-selections-with-faces): New variable.
8781         (calc-selected-face, calc-nonselected-face): New faces.
8783         * calc/calccomp.el (math-comp-highlight-string): Use
8784         `calc-highlight-selections-with-faces' to determine how to highlight
8785         sub-formulas.
8787         * calc/calc-sel.el (calc-show-selections): Change message to when
8788         using faces to highlight selections.
8790 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
8792         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8793         Add SQLite 3 keywords, functions and datatypes.
8794         (sql-interactive-mode): Remove `comint-process-echoes' set to t
8795         (Bug#6686).
8797 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
8799         * simple.el (select-active-regions): Move to keyboard.c.
8800         (deactivate-mark): Used saved-region-selection.
8801         (select-active-region): Function removed.
8802         (activate-mark, set-mark, push-mark-command)
8803         (handle-shift-selection): Don't call it.
8804         (keyboard-quit): Avoid adding the region to the window selection.
8806         * mouse.el (mouse-drag-track): Remove hacks to deal with old
8807         select-active-regions implementation.
8808         (mouse-yank-at-click): Doc fix.
8810         * cus-start.el: Add custom declaration for select-active-regions.
8812 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
8814         * simple.el (delete-forward-char): Doc fix.
8816         * tutorial.el (help-with-tutorial): Hack safe file-local variables
8817         after reading the tutorial.
8819 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
8821         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8822         Fix for the case that a C style comment has its delimiters alone on
8823         their respective lines.  (Bug#193)
8825 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
8827         * net/tramp.el (tramp-handle-start-file-process): Set connection
8828         property "vec".
8829         (tramp-process-sentinel): Use it for flushing the cache.
8830         We cannot do it via the process buffer, the buffer could be deleted
8831         already when running the sentinel.
8833 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
8835         * comint.el (comint-mode): Make directory tracking functions
8836         functional on remote files.  (Bug#6764)
8838 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
8840         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8842 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
8844         * emacs-lisp/find-gc.el (find-gc-source-files):
8845         Rename unexec.c => unexcoff.c.
8847         * emacs-lisp/authors.el (authors-fixed-entries):
8848         Rename unexec.c => unexcoff.c.
8850 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
8852         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8853         cache, not only file cache.
8854         (tramp-process-sentinel): New defun.
8855         (tramp-handle-start-file-process): Use it, in order to invalidate
8856         file caches.
8858 2010-08-03  Leo  <sdl.web@gmail.com>
8860         * server.el (server-start): Simplify loop.
8862 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8864         * frame.el (screen-height, screen-width, set-screen-width)
8865         (set-screen-height): Remove ancient compatibility aliases.
8867         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8868         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
8870         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8871         that change current buffer.
8873 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
8875         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8876         beginning of the string.  Use `string-match-p'.  (Bug#6765)
8878 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
8880         * cus-start.el (x-gtk-use-system-tooltips): New variable.
8882 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
8884         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8885         (package--builtins): Tweak descriptions.
8886         (package-print-package): Upcase descriptions if necessary.
8887         Show all built-in packages in font-lock-builtin-face.
8888         (package-list-packages-internal): Omit "emacs" package.
8889         Show status of built-in packages as "built-in".
8891 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
8893         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
8894         before killing to preserve the primary selection (Bug#6701).
8896         * term/x-win.el (x-select-text): Doc fix.
8898 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
8900         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8901         (objc-font-lock-extra-types):
8902         * progmodes/cc-mode.el (c-basic-common-init):
8903         * progmodes/cc-langs.el (c-make-mode-syntax-table)
8904         (c++-make-template-syntax-table)
8905         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8906         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8907         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8908         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8909         * progmodes/cc-fonts.el (c-make-inverse-face)
8910         (c-basic-matchers-after):
8911         * progmodes/cc-engine.el (c-forward-keyword-clause)
8912         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
8913         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
8914         (c-guess-continued-construct, c-guess-basic-syntax):
8915         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
8916         The above functions were modified or created.
8918 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
8920         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
8922 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
8924         * files.el (bidi-paragraph-direction): Define safe local values.
8926         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
8927         language-info-alist.  Remove outdated FIXME in a comment.
8929 2010-07-31  Alan Mackenzie  <acm@muc.de>
8931         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
8932         Auto-fill broken in C/C++ modes.
8934 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
8936         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8937         (menu-bar-showhide-tool-bar-menu-customize-disable)
8938         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8939         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
8940         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
8941         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
8942         make a menu for Options => toolbar that can move it.
8944 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
8946         * emacs-lisp/package-x.el (package--make-rss-entry):
8947         (package-maint-add-news-item, package--update-news)
8948         (package-upload-buffer-internal): New arg ARCHIVE-URL.
8950         * emacs-lisp/package.el (package-archive-url): Rename from
8951         package-archive-id.
8952         (package-install): Doc fix.
8953         (package-download-single, package-download-tar, package-install)
8954         (package-menu-view-commentary): Callers changed.
8956 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
8958         * net/tramp.el (tramp-handle-start-file-process): Check only for
8959         `remote-tty' process property.
8960         (tramp-open-shell): Don't check for tty.
8961         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
8962         process property.
8964         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
8965         host.
8967 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
8969         * emacs-lisp/package.el (package-load-list, package-archives)
8970         (package-archive-contents, package-user-dir)
8971         (package-directory-list, package--builtins, package-alist)
8972         (package-activated-list, package-obsolete-alist): Mark as risky.
8974 2010-07-28  Phil Hagelberg  <phil@evri.com>
8976         Add support for non-default package repositories.
8977         * emacs-lisp/package.el (package-archive-base): Var deleted.
8978         (package-archives): New variable.
8979         (package-archive-contents): Doc fix.
8980         (package-load-descriptor): Do nothing if descriptor file is missing.
8981         (package--write-file-no-coding): New function.
8982         (package-unpack-single): Use it.
8983         (package-archive-id): New function.
8984         (package-download-single, package-download-tar)
8985         (package-menu-view-commentary): Use it.
8986         (package-installed-p): Make second argument optional.
8987         (package-read-all-archive-contents): New function.
8988         (package-initialize): Use it.
8989         (package-read-archive-contents): Add ARCHIVE argument.
8990         (package--add-to-archive-contents): New function.
8991         (package-install): Don't call package-read-archive-contents.
8992         (package--download-one-archive): Store archive file in a
8993         subdirectory of package-user-dir.
8994         (package-menu-execute): Remove spurious line movement.
8996 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
8998         * cus-start.el (tool-bar-style): Add text-image-horiz.
9000 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
9002         * progmodes/gud.el (gud-common-init): Check for remoteness of
9003         `file', and not of `default-directory'.
9005 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
9007         * net/tramp.el (tramp-methods): Move hostname to the end in all
9008         ssh `tramp-login-args'.
9009         (tramp-verbose): Describe verbose level 9.
9010         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
9011         (tramp-open-connection-setup-interactive-shell): Trace stty
9012         settings if `tramp-verbose' >= 9.
9013         (tramp-handle-start-file-process): Implement tty setting.
9014         (Bug#4604, Bug#6360)
9016         * net/tramp-cmds.el (tramp-bug): Recommend setting of
9017         `tramp-verbose' to 9.
9019 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
9021         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
9022         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
9023         Remove references to package `lisp-re' (bug#4369).
9025 2010-07-27  Tom Tromey  <tromey@redhat.com>
9027         * progmodes/js.el (js-mode):
9028         * progmodes/make-mode.el (makefile-mode):
9029         * progmodes/simula.el (simula-mode):
9030         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
9032 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
9034         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
9036         * time.el (display-time-day-and-date): Remove spurious * in docstring.
9037         (display-time-world-buffer-name, display-time-world-mode-map):
9038         Fix typos in docstrings.
9040 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
9042         * image-mode.el (image-display-size): New function.
9043         (image-forward-hscroll, image-next-line, image-eol, image-eob)
9044         (image-mode-fit-frame): Use it (Bug#6639).
9046 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
9048         * dired.el (dired-buffers-for-dir): Handle list values of
9049         dired-directory (Bug#6636).
9051 2010-07-26  Sam Steingold  <sds@gnu.org>
9053         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
9054         Do not call `x-get-selection' the second time, reuse the value.
9056 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
9058         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
9059         which consist of control chars only.  Suggested by Richard Stallman.
9061 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
9063         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
9064         exists before passing an error to find-file-not-found-functions
9065         (bug#6723).
9067 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
9069         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
9070         Remove leading nil element, adjust values.
9071         (tetris-shapes, tetris-shape-scores):
9072         Change representation of shapes and remove some redundancy.
9073         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
9074         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
9075         Adjust for working with new representation of shapes.
9076         (tetris-shape-rotations): New function.
9077         (tetris-move-bottom, tetris-move-left, tetris-move-right)
9078         (tetris-rotate-prev, tetris-rotate-next):
9079         Adjust for working with the new version of tetris-test-shape.
9081 2010-07-23  Markus Triska  <markus.triska@gmx.at>
9083         * progmodes/ps-mode.el: Use comint (bug#5954).
9084         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
9085         (ps-mode-other-newline): Simplify.
9086         (ps-run-mode): Derive from comint-mode instead of
9087         fundamental-mode, yielding input history etc.
9088         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
9089         (ps-run-send-string): Adapt for comint-mode.
9090         (ps-run-newline): Remove now unneeded function.
9092 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
9094         * net/tramp.el (tramp-methods): Move hostname to the end in all
9095         plink `tramp-login-args'.
9097 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
9099         * net/tramp.el (tramp-open-shell): New defun.
9100         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9101         Use it.
9103 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
9105         * net/tramp.el (tramp-file-name-regexp-unified)
9106         (tramp-completion-file-name-regexp-unified): On W32 systems, do
9107         not regard the volume letter as remote filename.  (Bug#5447)
9109 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
9111         * custom.el (custom-declare-variable): Give a clearer error message
9112         when the docstring is missing (bug#6476).
9114 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
9116         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
9117         (sql-login-params): New widget definition.
9118         (sql-oracle-login-params, sql-mysql-login-params)
9119         (sql-solid-login-params, sql-sybase-login-params)
9120         (sql-informix-login-params, sql-ingres-login-params)
9121         (sql-ms-login-params, sql-postgres-login-params)
9122         (sql-interbase-login-params, sql-db2-login-params)
9123         (sql-linter-login-params): Use it.
9124         (sql-sqlite-login-params): Use it; Define "database" parameter as
9125         a file name.
9126         (sql-sqlite-program): Change to "sqlite3".
9127         (sql-comint-sqlite): Make sure database name is complete.
9128         (sql-for-each-login): New function.
9129         (sql-connect, sql-save-connection): Use it.
9130         (sql-get-login-ext): New function.
9131         (sql-get-login): Use it.
9132         (sql-make-alternate-buffer-name): Handle :file parameters.
9134 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
9136         * dired.el (dired-no-confirm): Document value t and fix defcustom to
9137         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
9139 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
9141         * dired.el (dired-mode-map): Use command remapping (bug#6632).
9143 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
9145         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
9147 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
9149         * net/tramp.el (tramp-get-ls-command)
9150         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
9151         instead of "/".
9153 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
9155         * progmodes/sql.el: Version 2.3.
9156         (sql-connection-alist): Change keys from symbols to strings;
9157         enhanced the widget definition.
9158         (sql-mode-menu): Add submenu to select connections.
9159         (sql-interactive-mode-menu): Add "Save Connection" item.
9160         (sql-add-product): Fix menu item.
9161         (sql-get-product-feature): Improved error handling.
9162         (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
9163         (sql-make-alternate-buffer-name): Simplified.
9164         (sql-product-interactive): Handle missing product.
9165         (sql-connect): Support string keys, minor improvements.
9166         (sql-save-connection): New function.
9167         (sql-connection-menu-filter): New function.
9169 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
9171         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
9172         (tramp-open-connection-setup-interactive-shell):
9173         Apply workaround for IRIX64 bug.  Move argument of last
9174         `tramp-send-command' where it belongs to.
9176 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
9178         * net/tramp.el (tramp-perl-file-attributes)
9179         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
9180         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
9181         front of `login-args'.
9183 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
9185         * time.el (display-time-world-mode): Define with `define-derived-mode'.
9186         Set `show-trailing-whitespace' to nil.
9187         (display-time-world-display): Simplify.
9189 2010-07-18  Alan Mackenzie  <acm@muc.de>
9191         Enhance `c-file-style' in file/directory local variables.
9192         * progmodes/cc-mode.el (c-count-cfss): New function.
9193         (c-before-hack-hook): Call `c-set-style' differently according to
9194         whether c-file-style was set in file or directory local
9195         variables.
9197 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
9199         * progmodes/sql.el: Version 2.2.
9200         (sql-product, sql-user, sql-database, sql-server, sql-port):
9201         Use defcustom :safe keyword rather than putting safe-local-variable
9202         property.
9203         (sql-password): Use defcustom :risky keyword rather than putting
9204         risky-local-variable property.
9205         (sql-oracle-login-params, sql-sqlite-login-params)
9206         (sql-solid-login-params, sql-sybase-login-params)
9207         (sql-informix-login-params, sql-ingres-login-params)
9208         (sql-ms-login-params, sql-postgres-login-params)
9209         (sql-interbase-login-params, sql-db2-login-params)
9210         (sql-linter-login-params): Add `port' option.
9211         (sql-get-product-feature): Add NO-INDIRECT parameter.
9212         (sql-comint-oracle, sql-comint-sybase)
9213         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
9214         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
9215         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
9216         (sql-comint-linter): Rename sql-connect-* functions to
9217         sql-comint-*.
9218         (sql-product-alist, sql-mode-menu): Rename as above and
9219         :sqli-connect-func to :sqli-comint-func.
9220         (sql-connection): New variable.
9221         (sql-interactive-mode): Set it.
9222         (sql-connection-alist): New variable.
9223         (sql-connect): New function.
9224         (sql--alt-buffer-part, sql--alt-if-not-empty)
9225         (sql-make-alternate-buffer-name): Improved alternative buffer name.
9227 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9229         * image-mode.el (image-bookmark-make-record): Do not set context
9230         in an image (Bug#6650).
9232 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
9234         * simple.el (select-active-region): New function.
9235         (push-mark-command, set-mark, activate-mark)
9236         (handle-shift-selection): Use it.
9237         (deactivate-mark): Don't check for size of region.
9239         * mouse.el (mouse-drag-track): Use select-active-region.
9241 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
9243         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
9244         "--dired" stronger.
9246 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
9248         * term/x-win.el (x-select-enable-primary): Change default to nil.
9249         (x-select-enable-clipboard): Add :version keyword.
9251         * mouse.el (mouse-drag-copy-region):
9252         * simple.el (select-active-regions): Likewise.
9254 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
9256         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
9257         (vc-coding-system-for-diff): Use it to decide whether to inherit
9258         from the file the EOL format for reading the diffs of that file.
9259         (Bug#4451)
9261 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
9263         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
9264         unibyte, so compressed attachments are not compressed again.
9266 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
9268         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
9269         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
9270         (tramp-find-shell): Simplify setting connection property.
9271         (tramp-get-ls-command): Make test for "--color=never" stronger.
9273 2010-07-15  Simon South  <ssouth@member.fsf.org>
9275         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
9276         blocks within record declarations (i.e. variant parts) correctly.
9278 2010-07-15  Simon South  <ssouth@member.fsf.org>
9280         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
9281         over literal tokens when parsing so newlines aren't "absorbed" by
9282         single-line comments.  Corrects the indentation of case blocks
9283         that have a comment on the first line.
9285 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
9287         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
9288         by Drew Adams (Bug#5504).
9290 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
9292         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
9293         now that Unicode is used (Bug#6594).
9295 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
9297         * term/x-win.el (x-select-enable-clipboard): Default to t.
9298         (x-initialize-window-system): Don't overwrite Paste menu item.
9300         * simple.el (select-active-regions): Default to t.
9301         (push-mark-command): Don't overwrite primary with empty string.
9303         * mouse.el: Bind mouse-2 to mouse-yank-primary.
9304         (mouse-drag-copy-region): Default to nil.
9306         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
9307         Cut/Copy/Paste menu bar items.
9309 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9311         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9312         Patch applied by Karl Fogel.
9314         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9315         and `bookmark-current-buffer' if they have been already set in
9316         another buffer (e.g gnus-art).
9318 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
9319             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9321         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9323         * bookmark.el (bookmark-make-record-default): Allow unneeded
9324         information to be omitted from the record.
9326         Adjust declarations and calls:
9328         * info.el (bookmark-make-record-default): Adjust declaration.
9329         (Info-bookmark-make-record): Adjust call.
9331         * woman.el (bookmark-make-record-default): Adjust declaration.
9332         (woman-bookmark-make-record): Adjust call.
9334         * man.el (bookmark-make-record-default): Adjust declaration.
9335         (Man-bookmark-make-record): Adjust call.
9337         * image-mode.el (bookmark-make-record-default): Adjust declaration.
9339         * doc-view.el (bookmark-make-record-default): Adjust declaration.
9341 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
9343         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9344         This is also from Thierry Volpiatto's patch in bug #6444.  However,
9345         because it was extraneous to the functional change in that patch,
9346         and causes a re-indendation, I am committing it separately.
9348 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9350         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9351         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9352         Patch applied by Karl Fogel (Bug#6444).
9354 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
9356         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9358 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
9360         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9361         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
9362         (ns-alternatives-map): Change S-tab binding to backtab
9363         (bug#6616).
9365         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9366         under ns.
9368 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
9370         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9371         (Bug#5806)
9373         * language/tv-util.el (tai-viet-re): Remove format.
9375 2010-07-12  Kenichi Handa  <handa@m17n.org>
9377         * language/hebrew.el: Remove no-byte-compile declaration.
9378         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
9379         composition-function-table for 3-character looking back.
9380         (hebrew-font-get-precomposed): New function.
9381         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9383 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
9385         * mouse.el (mouse-drag-track): Handle select-active-regions
9386         (Bug#6612).
9388 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
9390         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9391         empty argument to gvfs-copy.
9393 2010-07-10  Glenn Morris  <rgm@gnu.org>
9395         * calendar/calendar.el (calendar-week-end-day): New function.
9396         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9397         Respect calendar-week-start-day.  (Bug#6606)
9398         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9399         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9400         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9401         respect calendar-week-start-day.
9403 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
9405         * simple.el (use-region-p): Doc fix (Bug#6607).
9407 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
9409         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9410         Add regexps for cucumber and ruby.
9412 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
9414         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9415         (epa-file-insert-file-contents): Hack to prevent
9416         find-file from opening empty buffer when decryption failed
9417         (bug#6568).
9419 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
9421         * textmodes/ispell.el (ispell-alternate-dictionary):
9422         Use file-readable-p.
9423         Return nil if no word-list is found at default locations.
9424         (ispell-complete-word-dict): Default to nil.
9425         (ispell-command-loop): Use 'word-list' when using lookup-words.
9426         (lookup-words): Use ispell-complete-word-dict or
9427         ispell-alternate-dictionary.  Check for word-list availability
9428         and handle errors if needed with better messages (Bug#6539).
9429         (ispell-complete-word): Use ispell-complete-word-dict or
9430         ispell-alternate-dictionary.
9432 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
9434         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9435         builtins (BufferError, BytesWarning, WindowsError; callables
9436         bin, bytearray, bytes, format, memoryview, next, print; __package__).
9438 2010-07-07  Glenn Morris  <rgm@gnu.org>
9440         * play/zone.el (top-level): Do not require timer, tabify, or cl.
9441         (zone-shift-left): Ignore intangibility, and any errors from
9442         forward-char.
9443         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
9444         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9445         deleting, and copying text properties.
9446         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9447         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9448         to point-max is hard.
9449         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9450         (zone-fill-out-screen): Ignore intangibility.
9452 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
9454         * menu-bar.el (menu-bar-mode):
9455         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9456         if it has been set.
9458         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9459         word/line selection (Bug#6565).
9461 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
9463         * net/dbus.el (dbus-send-signal): Declare function.
9465 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
9467         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9468         (dbus-register-property): New optional argument EMITS-SIGNAL.
9469         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9471 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
9473         * mouse.el (mouse-drag-overlay): Variable deleted.
9474         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
9475         (mouse--remap-link-click-p): New function.
9476         (mouse-drag-track): Handle dragging by using temporary Transient
9477         Mark mode, instead of a special overlay.
9478         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
9479         mouse-show-mark.
9481         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
9482         deleted.
9484 2010-07-02  Juri Linkov  <juri@jurta.org>
9486         * autoinsert.el (auto-insert-alist): Fix readability
9487         by using dotted pair notation for lambda.
9489 2010-07-02  Juri Linkov  <juri@jurta.org>
9491         * faces.el (read-face-name): Rename arg `string-describing-default'
9492         to `default'.  Doc fix.  Display the default value in quotes
9493         in the prompt.  With empty input, return the `default' arg,
9494         unless the default value is a string (in which case return nil).
9495         (describe-face): Replace the string `default' arg of `read-face-name'
9496         with the symbol `default'.
9498 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
9500         * emulation/viper-cmd.el (viper-delete-backward-char)
9501         (viper-del-backward-char-in-insert)
9502         (viper-del-backward-char-in-replace, viper-change)
9503         (viper-backward-indent): Replace delete-backward-char with
9504         delete-char (Bug#6552).
9506 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
9508         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
9510 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
9512         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
9513         argument passed to frame-creation-function (Bug#5378).
9515         * faces.el (x-handle-named-frame-geometry)
9516         (x-handle-reverse-video, x-create-frame-with-faces)
9517         (face-set-after-frame-default, tty-create-frame-with-faces):
9518         Don't separately consult default-frame-alist.  It is now passed as the
9519         PARAMETER argument.
9521 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
9523         * startup.el (command-line): Don't call tool-bar-setup in a
9524         tty-only build.
9526 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
9528         * ruler-mode.el (ruler--save-header-line-format): New fun.
9529         (ruler-mode): Use it as a setter function, so as not to overwrite
9530         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
9532 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
9534         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
9535         (vc-root-diff, vc-print-root-log, vc-log-incoming)
9536         (vc-log-outgoing): Use it.
9537         (vc-diff-internal): Set diff-vc-backend.
9539         * vc/diff-mode.el (diff-vc-backend): New var.
9541 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
9543         * dynamic-setting.el (font-setting-change-default-font):
9544         Remove call to message.
9546 2010-06-28  Kenichi Handa  <handa@m17n.org>
9548         * international/quail.el (quail-insert-kbd-layout): Fix the
9549         showing of untranslated characters.
9551 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
9553         * simple.el (delete-active-region): New option.
9554         (delete-backward-char): Implement in Lisp.
9555         (delete-forward-char): New command.
9557         * mouse.el (mouse-region-delete-keys): Delete.
9558         (mouse-show-mark): Simplify.
9560         * bindings.el (global-map): Bind delete and DEL, the former to
9561         delete-forward-char.
9563 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
9565         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
9566         (ruby-mode): Bind indent-line-function (Bug#5119).
9568 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
9570         * startup.el (command-line): Recognize "0" X resource value.
9572 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
9574         * startup.el (command-line): Use X resources to set the value of
9575         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
9577         * menu-bar.el (menu-bar-mode):
9578         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
9579         Set init-value to t.
9581         * frame.el (frame-notice-user-settings): Don't change
9582         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
9583         vice versa (Bug#2249).
9585 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
9587         * w32-fns.el (w32-convert-standard-filename): Doc fix.
9589 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
9591         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9592         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9594         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9595         default directories are expanded (Bug#6143).
9597 2010-06-24  Juri Linkov  <juri@jurta.org>
9599         * minibuffer.el (completions-format): Change default from nil to
9600         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
9602 2010-06-24  Juri Linkov  <juri@jurta.org>
9604         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9605         buffer-locally to lambda that re-runs the vc diff command.
9606         (Bug#6447)
9608 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
9610         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9611         echo area is in use (Bug#3412).
9613 2010-06-22  Glenn Morris  <rgm@gnu.org>
9615         * textmodes/texinfmt.el (texinfo-format-region)
9616         (texinfo-raise-lower-sections, texinfo-format-separate-node)
9617         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9618         (texinfo-format-option, texinfo-noindent):
9619         Use line-beginning-position and line-end-position.
9621         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9622         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9623         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9624         utf-8 characters.
9626 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
9628         * play/zone.el (zone-fall-through-ws): Fix next-line ->
9629         forward-line fallout.
9631 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
9633         * mouse.el (mouse-appearance-menu): Add docstring.
9635         * help.el (describe-key): Print up-event using key-description.
9637 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
9639         * net/zeroconf.el (zeroconf-resolve-service)
9640         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9641         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9643 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
9645         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9647 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
9649         Avoid displaying files with a nil state in vc-dir.
9650         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9651         cases that cause insertion.
9652         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9653         with a nil state.
9655 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
9657         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9659 2010-06-29  Leo  <sdl.web@gmail.com>
9661         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
9663 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
9665         * generic-x.el (bat-generic-mode): Fix regexp for command line
9666         switches (Bug#5719).
9668 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
9670         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9671         of nconc to avoid pure storage error (Bug#6239).
9673 2010-06-27  Christoph Scholtes  <cschol2112@googlemail.com>
9675         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9676         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9677         bindings of bookmark-automatically-show-annotations (Bug#6515).
9679 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
9681         * arc-mode.el (archive-zip-extract): Don't quote the file name on
9682         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
9684 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
9686         * comint.el (make-comint, make-comint-in-buffer): Mention return
9687         value in the docstrings.  (Bug#6498)
9689 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
9691         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9692         since it is not present when using some non-default switches.
9694 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
9696         * simple.el (compose-mail): Fix doc string to refer to
9697         `compose-mail-user-agent-warnings', instead of to the
9698         nonexistent `compose-mail-check-user-agent'.
9700 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
9702         Fix an indentation bug:
9704         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9705         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9706         of existing values.
9708         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9709         (c-clear->-pair-props-if-match-before): now return t when they've
9710         cleared properties, nil otherwise.
9711         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9712         by taking account of the existing value.
9714         * progmodes/cc-defs.el
9715         (c-clear-char-property-with-value-function): Fix this to clear the
9716         property rather than overwriting it with nil.
9718 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
9720         * emacs-lisp/package.el (package-print-package): Add link to
9721         package description via describe-package.
9722         (describe-package-1): List package requirements.  Add button to
9723         perform installation.
9724         (package-menu-describe-package): New command.
9726         * help-mode.el (help-package): New button type.
9728 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
9730         * emacs-lisp/package.el: Move package-list-packages binding to
9731         menu-bar.el.
9732         (describe-package, describe-package-1, package--dir): New funs.
9733         (package-activate-1): Use package--dir.
9735         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9737         * help-mode.el (help-package-def): New button type.
9739         * menu-bar.el: Move package-list-packages binding here from
9740         package.el.
9742 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
9744         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
9746 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9748         * emacs-lisp/edebug.el (edebug-read-list):
9749         Phase out old-style backquotes.
9751 2010-06-17  Juri Linkov  <juri@jurta.org>
9753         * help-mode.el (help-mode): Set buffer-local variable
9754         revert-buffer-function to help-mode-revert-buffer.
9755         (help-mode-revert-buffer): New function.
9757         * info.el (Info-revert-find-node): Check for major-mode Info-mode
9758         before popping to "*info*" (like in other Info functions).
9759         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
9760         old-history-forward.  Pop to old-buffer-name or "*info*" to
9761         recreate the killed buffer.  Set Info-history-forward from
9762         old-history-forward.
9763         (Info-breadcrumbs-depth): Add :group and :version.
9765 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
9767         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9769 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
9771         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9772         for languages like Portuguese with pt_{BR,PT} and no plain pt.
9774 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
9776         * emacs-lisp/package.el (package-menu-mode-map):
9777         Move initialization into declaration.
9779         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9781 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
9783         * emacs-lisp/package.el (package-archive-base): Point to
9784         elpa.gnu.org.
9785         (package-enable, package-load-list): New defcustoms.
9786         (package-user-dir, package-directory-list): Turn into defcustoms.
9787         Don't include package-user-dir in package-directory-list.
9788         (package--builtins-base): Don't include Emacs as a "package".
9789         (package-subdirectory-regexp): New var.
9790         (package-load-all-descriptors, package-compute-transaction)
9791         (package-download-transaction): Obey package-load-list.
9792         (package-activate-1): Rename from package-do-activate.
9793         (package-list-packages-internal): Check package-load-list.
9794         (package-load-descriptor, package-generate-autoloads)
9795         (package-unpack, package-unpack-single)
9796         (package--read-archive-file, package-delete):
9797         Use expand-file-name.
9799         * emacs-lisp/package-x.el: New file.  Package uploading
9800         functionality split out from package.el.
9802         * startup.el (command-line): Load packages after reading init file.
9804 2010-06-17  Tom Tromey  <tromey@redhat.com>
9806         * emacs-lisp/package.el: New file.
9808 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
9810         Fix vc-annotate for renamed files when using Git.
9811         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9812         ls-files.  Doe not pass the object as a file name to cat-file, it
9813         is not a file name.
9814         (vc-git-annotate-command): Pass the file name using -- to avoid
9815         ambiguity with the revision.
9816         (vc-git-previous-revision): Pass a relative file name.
9818 2010-06-22  Glenn Morris  <rgm@gnu.org>
9820         * progmodes/js.el (js-mode-map): Use standard capitalization and
9821         ellipses for menu entries.
9823         * wid-edit.el (widget-complete): Doc fix.
9825 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
9827         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9829 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
9831         Fix annotating other revisions for renamed files in vc-annotate.
9832         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9833         VC backend.  Use it when non-nil.
9834         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9835         (Bug#6487).
9837         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9838         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9839         Do not pass the file name to the 'previous-revision call when we
9840         don't want a file diff.  (Bug#6489)
9842 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
9844         Fix finding revisions for renamed files in vc-annotate.
9845         * vc/vc.el (vc-find-revision): Add an optional argument for
9846         the VC backend.  Use it when non-nil.
9847         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9848         backend to vc-find-revision.  (Bug#6487)
9850 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
9852         Fix reading file names in Git annotate buffers.
9853         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9854         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
9856 2010-06-20  Alan Mackenzie  <acm@muc.de>
9858         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9859         in file local variables, set it first.
9861 2010-06-19  Glenn Morris  <rgm@gnu.org>
9863         * descr-text.el (describe-char-unicode-data): Insert separating
9864         space when needed.  (Bug#6422)
9866         * progmodes/idlwave.el (idlwave-action-and-binding):
9867         Fix typo in 2009-12-03 change.  (Bug#6450)
9869 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9871         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9872         handling for `lambda' (misunderstanding).
9874 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
9876         * calc/calc-poly.el (math-accum-factors): Make sure that
9877         constants aren't distributed after they are factored out.
9879 2010-06-16  Juri Linkov  <juri@jurta.org>
9881         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9882         `list-colors-print'.  (Bug#6332)
9884         * subr.el (read-quoted-char): Fix up last change (bug#6290).
9886 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9888         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9889         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
9891         * font-lock.el (font-lock-major-mode): Rename from
9892         font-lock-mode-major-mode to distinguish it from
9893         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9894         (font-lock-set-defaults):
9895         * font-core.el (font-lock-default-function): Adjust users.
9896         (font-lock-mode): Don't set it at all.
9898 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9900         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9902 2010-06-16  Glenn Morris  <rgm@gnu.org>
9904         * calendar/appt.el (appt-time-msg-list): Doc fix.
9905         (appt-check): Let-bind appt-warn-time.
9906         (appt-add): Make the 3rd argument optional.
9907         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
9908         Only add WARNTIME to the output list if non-nil.
9910 2010-06-16  Ivan Kanis  <apple@kanis.eu>
9912         * calendar/appt.el (appt-check): Let the 3rd element of
9913         appt-time-msg-list specify the warning time.
9914         (appt-add): Add new argument with the warning time.  (Bug#5176)
9916 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
9918         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
9919         older than version 1.6.  (Bug#6361)
9921 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
9923         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
9924         used by cl-do-arglist.  (Bug#6408)
9926 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
9928         * textmodes/ispell.el (ispell-dictionary-base-alist):
9929         Fix portuguese casechars/not-casechars for missing 'çÇ'.
9930         Suggested by Rolando Pereira (bug#6434).
9932 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
9934         * facemenu.el (list-colors-sort): Doc fix.
9936 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
9938         * progmodes/sql.el (sql-connect-mysql): Fix typo.
9940 2010-06-14  Juri Linkov  <juri@jurta.org>
9942         Add sort option `list-colors-sort'.  (Bug#6332)
9943         * facemenu.el (color-rgb-to-hsv): New function.
9944         (list-colors-sort): New defcustom.
9945         (list-colors-sort-key): New function.
9946         (list-colors-display): Doc fix.  Sort list according to the option
9947         `list-colors-sort'.
9948         (list-colors-print): Add HSV values to `help-echo' property of
9949         RGB strings.
9951 2010-06-14  Juri Linkov  <juri@jurta.org>
9953         * compare-w.el: Move to the "vc" subdirectory.
9955 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9957         * image-mode.el (image-mode-map): Remap left-char and right-char.
9959         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
9961 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
9963         * term/common-win.el (x-colors): Add all the color names defined
9964         in rgb.txt (Bug#6332).
9966         * facemenu.el (list-colors-print): Don't print extra names if it
9967         will overflow the window width.
9969         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
9970         change (Bug#6343).
9972 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
9974         * files.el (make-directory): Doc fix (bug#6396).
9976 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
9978         * net/tramp.el (tramp-remote-process-environment): Protect version
9979         string by apostroph.
9980         (tramp-shell-prompt-pattern): Do not use a shy group in case of
9981         XEmacs.
9982         (tramp-file-name-for-operation): Add `call-process-region'.
9983         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
9985         * net/tramp-compat.el (top): Do not autoload
9986         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
9987         only when `start-file-process' is not bound.
9988         (tramp-advice-file-expand-wildcards): Do not use
9989         `tramp-handle-file-remote-p'.
9990         (tramp-compat-make-temp-file): Handle the case, that
9991         `make-temp-file' has no third argument EXTENSION.
9993 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
9995         * makefile.w32-in (WINS_BASIC): Include new directory vc.
9997         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
9999 2010-06-11  Juri Linkov  <juri@jurta.org>
10001         * finder.el (finder-known-keywords): Add keyword "vc"
10002         for version control.
10004         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
10005         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
10006         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
10007         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
10009 2010-06-11  Juri Linkov  <juri@jurta.org>
10011         Move version control related files to the "vc" subdirectory.
10012         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
10013         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
10014         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
10015         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
10016         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
10017         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
10018         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
10019         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
10020         Move files to the "vc" subdirectory.
10022 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
10024         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
10025         (Bug#6367).
10027 2010-06-11  Stephen Eglen  <stephen@gnu.org>
10029         * shell.el: Bind `shell-resync-dirs' to M-RET.
10031 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
10033         * notifications.el: Move file from lisp/net, because it is
10034         supposed to talk locally to the user.
10036 2010-06-10  Julien Danjou  <julien@danjou.info>
10038         * net/notifications.el (notifications-on-action-signal)
10039         (notifications-on-closed-signal): Pass notification id as first
10040         argument to the callback functions.  Add docstrings.
10041         (notifications-notify): Fix docstring.
10043 2010-06-10  Glenn Morris  <rgm@gnu.org>
10045         * emacs-lisp/authors.el (authors-ignored-files)
10046         (authors-valid-file-names): Add some files.
10048 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10050         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
10051         merge conflict, giving preference to the emacs-23 version of the code.
10053 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10055         * emacs-lisp/advice.el (ad-compile-function):
10056         Define warning-suppress-types before we let-bind it (bug#6275).
10058         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
10059         declare it, make it buffer-local and permanent-local (bug#6324).
10060         (vc-resynch-window): Adjust name.
10061         * vc-hooks.el (vc-find-file-hook): Adjust name.
10063 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
10065         * net/notifications.el (notifications-notify): Fix docstring.
10067 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
10069         Update to Unicode 6.0.0 beta.
10070         * international/charprop.el: Update copyright.
10071         * international/mule-cmds.el (ucs-names): Update character ranges.
10072         * international/uni-bidi.el:
10073         * international/uni-category.el:
10074         * international/uni-combining.el:
10075         * international/uni-comment.el:
10076         * international/uni-decimal.el:
10077         * international/uni-decomposition.el:
10078         * international/uni-digit.el:
10079         * international/uni-lowercase.el:
10080         * international/uni-mirrored.el:
10081         * international/uni-name.el:
10082         * international/uni-numeric.el:
10083         * international/uni-old-name.el:
10084         * international/uni-titlecase.el:
10085         * international/uni-uppercase.el: Regenerate.
10087 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
10089         * emacs-lisp/smie.el (comment-string-strip): Declare function.
10090         (smie-precs-precedence-table): Fix typo in docstring.
10092         * vc-mtn.el (log-edit-extract-headers): Declare function.
10094         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
10096         * net/notifications.el (dbus-register-signal): Declare function.
10097         (notifications-notify): Fix typos and reflow docstring.
10099 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
10101         Improve VC create/retrieve tag/branch.
10102         * vc.el (vc-create-tag): Do not read the directory name for VCs
10103         with repository revision granularity.  Adjust the tag/branch
10104         prompt.  Reset VC properties.
10105         (vc-retrieve-tag): Do not read the directory name for VCs
10106         with repository revision granularity.  Reset VC properties.
10108 2010-06-09  Julien Danjou  <julien@danjou.info>
10110         * net/notifications.el: New file.
10112 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
10114         Add optional support for resetting VC properties.
10115         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
10116         call vc-file-clearprops when true.
10117         (vc-resynch-buffer): Add new optional argument, pass it down.
10118         (vc-resynch-buffers-in-directory): Likewise.
10120         Improve support for special markup in the VC commit message.
10121         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
10122         * vc-hg.el (vc-hg-checkin): Add support for Date:.
10123         * vc-git.el (vc-git-checkin):
10124         * vc-bzr.el (vc-bzr-checkin): Likewise.
10126 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10128         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
10129         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
10131 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
10133         * iimage.el: Remove images as soon as the underlying text is modified.
10134         (iimage-modification-hook): New function.
10135         (iimage-mode-buffer): Use it.
10137 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10139         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
10140         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
10141         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
10142         (smie-indent-keyword): Add handling of open-paren keywords.
10143         (smie-indent-comment-continue): Don't assume comment-continue.
10145 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
10147         * window.el (pop-to-buffer): Remove the conditional that
10148         compares new-window and old-window, so it will reselect
10149         the selected window unconditionally.
10150         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
10152 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10154         * emacs-lisp/smie.el (smie-indent-offset-after)
10155         (smie-indent-forward-token, smie-indent-backward-token): New functions.
10156         (smie-indent-after-keyword): Use them.
10157         (smie-indent-fixindent): Only applies to the indentation of the BOL.
10158         (smie-indent-keyword): Tweak the black magic.
10159         (smie-indent-comment-continue): Strip comment-continue before use.
10160         (smie-indent-functions): Indent comments before keywords.
10162 2010-06-06  Juri Linkov  <juri@jurta.org>
10164         * isearch.el (isearch-lazy-highlight-search): Fix looping
10165         by checking for empty match.  This syncs this loop with the
10166         similar loop in `isearch-search'.  (Bug#6362)
10168 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
10170         * net/dbus.el (dbus-register-method): Declare function.
10171         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
10172         (dbus-introspect): Doc fix.
10173         (dbus-event-bus-name, dbus-introspect-get-interface)
10174         (dbus-introspect-get-argument): Reflow docstrings.
10176 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
10178         vc-log-incoming/vc-log-outgoing fixes for Git.
10179         * vc-git.el (vc-git-log-view-mode): Fix font lock for
10180         incoming/outgoing logs.
10181         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
10182         instead of vc-git-compute-remote.
10183         (vc-git-compute-remote): Remove.
10185 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
10187         * term/common-win.el (x-colors): Add "dark green" and "dark
10188         turquoise" (Bug#6332).
10190 2010-06-04  Juri Linkov  <juri@jurta.org>
10192         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
10193         Instead of setting `replace' to t and replacing the same string
10194         with itself, don't do certain actions when
10195         kill-do-not-save-duplicates is non-nil and string is equal to car
10196         of kill-ring: don't call menu-bar-update-yank-menu, don't push
10197         interprogram-paste strings to kill-ring, and don't push the input
10198         argument `string' to kill-ring.
10199         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
10201 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
10203         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
10205 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
10207         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
10208         (tramp-gvfs-handler-mounted-unmounted)
10209         (tramp-gvfs-connection-mounted-p): Handle default-location.
10211         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
10212         move files to trash.
10214 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
10216         * international/mule-cmds.el (nonascii-insert-offset)
10217         (nonascii-translation-table): Add obsolescence information.
10219         * international/mule.el (make-translation-table-from-vector): Doc fix.
10221 2010-06-03  Glenn Morris  <rgm@gnu.org>
10223         * desktop.el (desktop-clear-preserve-buffers):
10224         Add "*Warnings*" buffer.  (Bug#6336)
10226 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
10228         vc-log-incoming/vc-log-outgoing improvements for Git.
10229         * vc-git.el (vc-git-log-outgoing): Use the same format as the
10230         short log.
10231         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
10233         Add bindings for vc-log-incoming and vc-log-outgoing.
10234         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
10235         and vc-log-outgoing.
10236         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
10237         and vc-log-outgoing.
10239 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
10241         * net/rcirc.el (rcirc-sort-nicknames): Remove.
10242         (rcirc-handler-366): Always sort nicknames.
10244 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
10246         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
10248 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
10250         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
10252 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10254         * net/rcirc.el (rcirc-sort-nicknames): Change default.
10255         (rcirc-sort-nicknames-join): Avoid setq.
10257 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
10259         * net/rcirc.el (rcirc-sort-nicknames): New custom.
10260         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
10261         (rcirc-handler-366): Use them.
10263 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10265         Split smie-indent-calculate into more manageable chunks.
10266         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
10267         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
10268         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
10269         (smie-indent-exps): Extract from smie-indent-calculate.
10270         (smie-indent-functions): New var.
10271         (smie-indent-functions): Use them.
10273 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10275         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
10276         (smie-indent-calculate): Simplify and cleanup.
10278 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
10280         * net/tramp-gvfs.el (top): Require url-util.
10281         (tramp-gvfs-mount-point): Remove.
10282         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
10283         New defuns.
10284         (with-tramp-dbus-call-method): Format trace message.
10285         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
10286         Implement backup call, when operation on local files fails.
10287         Use progress reporter.  Flush properties of changed files.
10288         (tramp-gvfs-handle-make-directory): Make more traces.
10289         (tramp-gvfs-url-file-name): Hexify file name in url.
10290         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
10291         into account for the resulting file name.
10292         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
10293         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
10294         (tramp-gvfs-handler-mounted-unmounted)
10295         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
10296         attribute "default_location".  Set "prefix" property.
10297         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
10298         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
10299         exists.  Raise an error, if not (due to a corresponding answer
10300         "no" in interactive questions, for example).
10302 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
10304         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
10306 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
10308         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
10309         right-*.  (Bug#6265)
10311 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
10313         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10314         * vc-git.el (vc-git-compute-remote): New function.
10315         (vc-git-log-outgoing): Use it instead of hard coding a value.
10316         (vc-git-log-incoming): New function.
10318         Improve state updating for VC tag commands.
10319         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10320         to update the state of all buffers in the directory.
10322         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10324 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10326         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10327         `file-directory-p' to the filename part rather than to the whole text.
10329 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10331         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10333 2010-05-31  Drew Adams  <drew.adams@oracle.com>
10335         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10337 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
10339         * subr.el (momentary-string-display): Just use read-event to read
10340         the exit event (Bug#6238).
10342 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
10344         * international/mule.el (define-coding-system): Doc fix (bug#6313).
10346 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
10348         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10349         Suggested by Eli Zaretskii <eliz@gnu.org>.
10351 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10353         * minibuffer.el (completion-file-name-table): Don't return a boundary
10354         past the end of `string' (bug#6299).
10355         (completion--file-name-table): Delegate to completion-file-name-table
10356         for the `boundaries' case.
10358 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
10360         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10361         movement commands.
10363         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10364         `path-separator', but maintain compatibility with Emacs 20.2.
10366 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
10368         * server.el (server-process-filter): Receive parent-id argument
10369         from emacsclient.
10370         (server-create-window-system-frame): New arg.  Pass parent-id as
10371         frame parameter.
10373 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
10375         Bidi-sensitive word movement with arrow keys.
10376         * subr.el (right-arrow-command, left-arrow-command): Move to
10377         bindings.el.
10379         * bindings.el (right-char, left-char): Move from subr.el and
10380         rename from right-arrow-command and left-arrow-command.
10381         (right-word, left-word): New functions.
10382         (global-map) <right>: Bind to right-char.
10383         (global-map) <left>: Bind to left-char.
10384         (global-map) <C-right>: Bind to right-word.
10385         (global-map) <C-left>: Bind to left-word.
10387         * ls-lisp.el (ls-lisp-classify-file): New function.
10388         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10389         (ls-lisp-classify): Call ls-lisp-classify-file.
10390         (insert-directory): Remove blanks from switches.
10392 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
10394         * ansi-color.el: Delete unused escape sequences (Bug#6085).
10395         (ansi-color-drop-regexp): New constant.
10396         (ansi-color-apply, ansi-color-filter-region)
10397         (ansi-color-apply-on-region): Delete unrecognized control sequences.
10398         (ansi-color-apply): Build string list before calling concat.
10400 2010-05-28  Juri Linkov  <juri@jurta.org>
10402         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10403         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10404         (Bug#5270)
10406 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
10408         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10409         to ignored backtrace functions.
10410         (with-progress-reporter): Expand docstring.
10411         (tramp-handle-delete-file): Implement TRASH argument.
10412         (tramp-get-remote-trash): New defun.
10414 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
10416         * net/tramp-compat.el (tramp-compat-delete-file):
10417         Use `symbol-value' for backward compatibility.
10419         * net/tramp.el (tramp-handle-make-symbolic-link)
10420         (tramp-handle-load)
10421         (tramp-do-copy-or-rename-file-via-buffer)
10422         (tramp-do-copy-or-rename-file-directly)
10423         (tramp-do-copy-or-rename-file-out-of-band)
10424         (tramp-handle-process-file, tramp-handle-call-process-region)
10425         (tramp-handle-shell-command, tramp-handle-file-local-copy)
10426         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10427         (tramp-delete-temp-file-function): Use `delete-file' instead
10428         of `tramp-compat-delete-file'.
10430         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10431         (tramp-fish-handle-make-symbolic-link)
10432         (tramp-fish-handle-process-file): Use `delete-file' instead
10433         of `tramp-compat-delete-file'.
10435         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10436         Use `delete-file' instead of `tramp-compat-delete-file'.
10438         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Use
10439         `delete-file' instead of `tramp-compat-delete-file'.
10441         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10442         Use `delete-file' instead of `tramp-compat-delete-file'.
10444         * net/tramp-smb.el (tramp-smb-handle-copy-file)
10445         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10446         (tramp-smb-handle-write-region): Use `delete-file' instead of
10447         `tramp-compat-delete-file'.
10448         (tramp-smb-handle-delete-directory): Use 'trash as arg.
10450 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
10452         * dired.el (dired-delete-file): New arg TRASH.
10453         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
10454         (dired-do-flagged-delete, dired-do-delete): Use trash.
10456         * speedbar.el (speedbar-item-delete): Allow trashing.
10458         * files.el (delete-directory): New arg TRASH.
10460         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10461         (ange-ftp-rename-remote-to-remote)
10462         (ange-ftp-rename-local-to-remote)
10463         (ange-ftp-rename-remote-to-local, ange-ftp-load)
10464         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10465         `delete-file'.
10466         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10467         allow trashing.
10469         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10470         handle new TRASH arg of `delete-file'.
10472         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10473         (tramp-handle-make-symbolic-link, tramp-handle-load)
10474         (tramp-do-copy-or-rename-file-via-buffer)
10475         (tramp-do-copy-or-rename-file-directly)
10476         (tramp-do-copy-or-rename-file-out-of-band)
10477         (tramp-handle-process-file, tramp-handle-call-process-region)
10478         (tramp-handle-shell-command, tramp-handle-file-local-copy)
10479         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10480         (tramp-delete-temp-file-function): Use null TRASH arg in
10481         tramp-compat-delete-file call.
10483         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10484         (tramp-fish-handle-delete-file)
10485         (tramp-fish-handle-make-symbolic-link)
10486         (tramp-fish-handle-process-file): Use null TRASH arg in
10487         `tramp-compat-delete-file' call.
10489         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
10490         arg in `tramp-compat-delete-file' call.
10492         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
10493         (tramp-gvfs-handle-write-region): Use null TRASH arg in
10494         `tramp-compat-delete-file' call.
10496         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
10497         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
10498         `tramp-compat-delete-file' call.
10500         * net/tramp-smb.el (tramp-smb-handle-copy-file)
10501         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10502         (tramp-smb-handle-write-region): Use null TRASH arg in
10503         tramp-compat-delete-file call.
10504         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
10505         (tramp-smb-handle-delete-file): Rename arg.
10507         * diff.el (diff-sentinel):
10508         * epg.el (epg--make-temp-file, epg-decrypt-string)
10509         (epg-verify-string, epg-sign-string, epg-encrypt-string):
10510         * jka-compr.el (jka-compr-partial-uncompress)
10511         (jka-compr-call-process, jka-compr-write-region):
10512         * server.el (server-sentinel): Remove optional arg from
10513         delete-file, reverting 2010-05-03 change.
10515 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
10517         * progmodes/verilog-mode.el (verilog-type-font-keywords):
10518         Use font-lock-constant-face, not obsolete font-lock-reference-face.
10520 2010-05-27  Kenichi Handa  <handa@m17n.org>
10522         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
10523         element of GSTRING is nil.
10525 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10527         * emacs-lisp/smie.el (smie-forward-token-function)
10528         (smie-backward-token-function): New vars.
10529         (smie-backward-sexp, smie-forward-sexp)
10530         (smie-indent-hanging-p, smie-indent-calculate): Use them.
10531         (smie-default-backward-token): Rename from smie-backward-token and
10532         skip comments.
10533         (smie-default-forward-token): Rename from smie-forward-token and
10534         skip comments.
10535         (smie-next-sexp): Handle nil results from next-token.
10536         (smie-indent-calculate): Add a new case for special `fixindent' comments.
10538 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
10540         * progmodes/verilog-mode.el (verilog-type-font-keywords):
10541         Use font-lock-constant-face, not obsolete font-lock-reference-face.
10543 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
10545         * htmlfontify.el (hfy-face-resolve-face): New function.
10546         (hfy-face-to-style): Use it (Bug#6279).
10548 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10550         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
10551         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
10553 2010-05-26  Glenn Morris  <rgm@gnu.org>
10555         * emulation/edt.el (edt-load-keys): Use locate-library.
10557 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
10559         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
10560         (log-edit-changelog-entries): Doc fix.
10561         (log-edit-changelog-insert-entries): Args changed.
10562         Rename relative filenames in ChangeLog entries.  Delete tabs.
10563         (log-edit-insert-changelog-entries): Reorganize return value of
10564         `log-edit-changelog-entries' to pass filenames to
10565         log-edit-changelog-insert-entries.
10567 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10569         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
10570         `image-dired-dired-insert-marked-thumbs' to
10571         `image-dired-dired-toggle-marked-thumbs'.
10573         * image-dired.el: Require cl when compiling.
10574         (image-dired-dired-toggle-marked-thumbs): Rename from
10575         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
10576         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
10577         to 'no-dir.  Skip files whose names don't match
10578         `image-file-name-regexp'.  When file has a thumbnail overlay,
10579         delete it.  (Bug#5270)
10581 2010-05-25  Juri Linkov  <juri@jurta.org>
10583         * image-mode.el (image-mode): Add image-after-revert-hook to
10584         after-revert-hook.
10585         (image-after-revert-hook): New function.  (Bug#5669)
10587 2010-05-25  Juri Linkov  <juri@jurta.org>
10589         * image.el (image-animated-p): When delay between animated images
10590         is 0, set it to 10 (0.1 sec).  (Bug#6258)
10592 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
10594         * net/tramp.el (tramp-handle-insert-directory): Don't use
10595         `forward-word', its default syntax could be changed.
10597 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
10599         * net/tramp.el (tramp-progress-reporter-update): New defun.
10600         (with-progress-reporter): Use it.
10601         (tramp-process-actions):
10602         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10603         Preserve current message, in order to let progress reporter continue
10604         afterwards.  (Bug#6257)
10606 2010-05-25  Glenn Morris  <rgm@gnu.org>
10608         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10609         Add :version.
10611 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
10613         * net/rcirc.el (rcirc-default-user-name): Change to "user".
10614         (rcirc-default-full-name): Change to "unknown".
10615         (rcirc-user-name-history): Add variable.
10617 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
10618             Jonathan Rockway  <jon@jrock.us>
10620         * net/rcirc.el (rcirc-server-alist): Add :pass.
10621         (rcirc): When prompting for connection parameters, also prompt for
10622         username and password.
10623         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
10624         value to server when connecting.
10626 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10628         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10629         (smie-merge-prec2s): Pass the tables as separate args.
10630         (smie-bnf-precedence-table): Adjust call accordingly.
10631         (smie-prec2-levels): Set levels at the end.
10633         Replace Lisp calls to delete-backward-char by delete-char.
10634         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10635         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10636         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10637         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10638         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10639         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10640         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10641         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10642         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10643         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10644         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10645         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10646         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10647         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10648         delete-backward-char by calls to delete-char.
10650 2010-05-25  Kenichi Handa  <handa@m17n.org>
10652         * language/hebrew.el (hebrew-shape-gstring): New function.
10653         Register it in composition-function-table for all Hebrew combining
10654         characters.
10656 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10658         * epa.el (epa--select-keys): Don't explicitly delete the window since
10659         that can fail (e.g. sole window in frame).  Use dedication instead.
10661 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
10663         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10665 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
10667         * image.el (image-refresh): Define as an alias for image-flush.
10669         * image-mode.el (image-toggle-display-image): Caller changed.
10671 2010-05-21  Juri Linkov  <juri@jurta.org>
10673         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10674         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
10675         whitespace, call wildcard-to-regexp on substrings and concat them
10676         with "\\|".  (Bug#6114)
10678 2010-05-21  Alan Mackenzie  <acm@muc.de>
10680         * progmodes/cc-engine.el (c-parse-state-get-strategy):
10681         Replace parameter `here' with `here-' and `here-plus', which sandwich
10682         any pertinent CPP construct.
10683         (c-remove-stale-state-cache-backwards): Fix a bug which happens
10684         when doing (c-parse-state) in a CPP construct: Exclude any "new"
10685         CPP construct from taking part in the scanning.
10687 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
10689         * net/tramp.el (tramp-do-copy-or-rename-file)
10690         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10691         Tune `with-progress-reporter' messages.
10692         (tramp-handle-vc-registered):
10693         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10694         (tramp-fish-handle-insert-file-contents)
10695         (tramp-fish-maybe-open-connection):
10696         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10697         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10698         (tramp-imap-handle-insert-file-contents)
10699         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10701 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
10703         * add-log.el (change-log-font-lock-keywords):
10704         Highlight all authors in multi-author entries.
10706         * smerge-mode.el (smerge-refine-ignore-whitespace)
10707         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10708         Fix typos in docstrings.
10709         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10711 2010-05-21  Glenn Morris  <rgm@gnu.org>
10713         * progmodes/fortran.el (fortran-mode):
10714         * progmodes/f90.el (f90-mode): Derive from prog-mode.
10716         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10717         having a relative path in src/Makefile.in.
10719 2010-05-20  Kevin Ryde  <user42@zip.com.au>
10721         * help-mode.el (help-make-xrefs): For Info node links turn
10722         newlines into spaces.  Link node names with newlines are matched
10723         by help-xref-info-regexp and buttonized, this change ensures they
10724         can be followed successfully with RET.  (Bug#6206)
10726 2010-05-20  Juri Linkov  <juri@jurta.org>
10728         * locate.el (locate): Use pop-to-buffer instead of
10729         switch-to-buffer-other-window.  (Bug#6204)
10731 2010-05-20  Juri Linkov  <juri@jurta.org>
10733         * replace.el (replace-highlight): Fix lazy-highlighting
10734         for `M-s w str M-% str RET'.
10736 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
10738         * isearch.el (isearch-yank-word-or-char): Pull next subword
10739         when `subword-mode' is activated.  (Bug#6220)
10741 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
10743         * isearch.el (isearch-update-post-hook): New hook.
10744         (isearch-update): Use the new hook.  (Bug#6225)
10746 2010-05-20  Juri Linkov  <juri@jurta.org>
10748         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10749         [f1], [help], and (char-to-string help-char) instead of "\C-h".
10750         (Bug#6222)
10752 2010-05-20  Juri Linkov  <juri@jurta.org>
10754         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10755         (Bug#6223)
10757 2010-05-20  Juri Linkov  <juri@jurta.org>
10759         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10760         FILE-NAME to read from the minibuffer when called interactively
10761         with prefix argument instead of using buffer-file-name.
10762         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10764         * dired.el: Update autoloads.
10766 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
10768         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10769         nxml-finish-element, for consistency with SGML mode.
10771         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10772         octave-close-block.
10774 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
10776         * composite.el: Require cl when compiling.
10777         (reference-point-alist, compose-gstring-for-graphic)
10778         (compose-gstring-for-terminal): Fix typos in docstrings.
10780 2010-05-19  Juri Linkov  <juri@jurta.org>
10782         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10783         set-window-parameter.
10785 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
10787         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10788         where appropriate.
10789         (tramp-maybe-open-connection): Use it.
10791 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
10793         * simple.el (move-end-of-line): Make sure we are at line beginning
10794         before backing up to end of previous line.
10796 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
10798         * password-cache.el (password-cache-remove): Fix docstring.
10800         * net/secrets.el: Autoload the widget functions.
10801         (secrets-search-items, secrets-create-item)
10802         (secrets-get-attributes, secrets-expand-item): Attributes will be
10803         stored on the password database without leading ":", as all other
10804         clients do as well.
10805         (secrets-mode): Fix docstring.
10806         (secrets-show-secrets): Provide it as autoloaded command only when
10807         D-Bus support is available.  Check existence of Secret Service API.
10809 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10811         * indent.el (indent-region): Deactivate region (bug#6200).
10813 2010-05-19  Glenn Morris  <rgm@gnu.org>
10815         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
10817 2010-05-19  Kenichi Handa  <handa@m17n.org>
10819         * composite.el: Register compose-gstring-for-graphic in
10820         composition-function-table only for combining characters (Mn, Mc, Me).
10822 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
10824         * calc/calc-trail.el (calc-trail-isearch-forward)
10825         (calc-trail-isearch-backward): Ensure that the new window
10826         point is set correctly.
10828 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10830         * subr.el (read-quoted-char): Resolve modifiers after key
10831         remapping (bug#6212).
10833 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
10835         Add visualization code for secrets.
10836         * net/secrets.el (secrets-mode): New major mode.
10837         (secrets-show-secrets, secrets-show-collections)
10838         (secrets-expand-collection, secrets-expand-item)
10839         (secrets-tree-widget-after-toggle-function)
10840         (secrets-tree-widget-show-password): New defuns.
10842 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10844         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10845         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10846         handled in smie-next-sexp.
10847         (smie-indent-calculate): Provide a starting indentation (so the
10848         recursion is well-founded ;-).
10850         Fix handling of non-associative equal levels.
10851         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10852         when it's not needed.
10853         (smie-op-left, smie-op-right): New functions.
10854         (smie-next-sexp): New function, extracted from smie-backward-sexp.
10855         Better handle equal levels to distinguish the associative case from
10856         the "multi-keyword construct" case.
10857         (smie-backward-sexp, smie-forward-sexp): Use it.
10859 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
10861         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10863         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10864         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10866 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10868         Provide a simple generic indentation engine and use it for Prolog.
10869         * emacs-lisp/smie.el: New file.
10870         * progmodes/prolog.el (prolog-smie-op-levels)
10871         (prolog-smie-indent-rules): New var.
10872         (prolog-mode-variables): Use them to configure SMIE.
10873         (prolog-indent-line, prolog-indent-level): Remove.
10875 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
10877         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10878         order before computing the averages.
10880 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
10882         * calc/calc-vec.el (calc-histogram):
10883         (calcFunc-histogram): Allow vectors as inputs.
10884         (math-vector-avg): New function.
10886         * calc/calc-ext.el (math-group-float): Have the number of digits
10887         being grouped depend on the radix (Bug#6189).
10889 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
10891         * version.el (emacs-copyright, emacs-version): Don't define here,
10892         now that emacs.c defines it.
10894 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
10896         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10897         "Describe Language Environment" menu item.
10899         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10901         Bidi-sensitive movement with arrow keys.
10902         * subr.el (right-arrow-command, left-arrow-command): New functions.
10904         * bindings.el (global-map): Bind them to right and left arrow keys.
10906         Don't override standard definition of convert-standard-filename.
10907         * files.el (convert-standard-filename):
10908         Call w32-convert-standard-filename and dos-convert-standard-filename on
10909         the corresponding systems.
10911         * w32-fns.el (w32-convert-standard-filename): Rename from
10912         convert-standard-filename.  Doc fix.
10914         * dos-fns.el (dos-convert-standard-filename): Doc fix.
10915         (convert-standard-filename): Don't defalias.
10916         (register-name-alist, make-register, register-value)
10917         (set-register-value, intdos): Obsolete aliases for the
10918         corresponding dos-* functions and variables.
10919         (dos-intdos): Add a doc string.
10921 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
10923         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
10924         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
10925         (math-compose-tex-func):
10926         * calc/calccomp.el (math-compose-expr):
10927         * calc/calc-ext.el (math-format-flat-expr-fancy):
10928         * calc/calc-store.el (calc-read-var-name):
10929         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
10931         * calc/calc.el (var-π, var-φ, var-γ): New variables.
10932         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
10933         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
10934         (math-standard-units): Add units.
10936 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10938         * progmodes/asm-mode.el (asm-mode):
10939         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
10941         * pcomplete.el (pcomplete-completions-at-point): New function,
10942         extracted from pcomplete-std-complete.
10943         (pcomplete-std-complete): Use it.
10945 2010-05-15  Glenn Morris  <rgm@gnu.org>
10947         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10948         Remove references to CVS, RCS and Old directories.
10950 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
10952         * calc/calc-bin.el (math-format-twos-complement): Group digits when
10953         appropriate.
10955 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10957         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
10958         (sh-mode-syntax-table): Give it a default value instead.
10959         (sh-header-marker): Make buffer-local.
10960         (sh-mode): Move make-local-variable to the corresponding setq.
10961         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
10962         Use complete-with-action.
10964         * simple.el (prog-mode): New (abstract) major mode.
10965         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
10966         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
10968 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
10970         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
10971         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
10972         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
10973         (sql-make-alternate-buffer-name, sql-placeholders-filter)
10974         (sql-escape-newlines-filter, sql-input-sender)
10975         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
10977 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
10979         Add TeX open-block and close-block keybindings to SGML, and vice versa.
10981         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
10982         latex-open-block and C-c / to latex-close-block.
10984         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
10985         and C-c C-e to sgml-close-tag.
10987 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
10989         * net/tramp.el (with-progress-reporter): Create reporter object
10990         only when the message would be displayed.  Handle nested calls.
10991         (tramp-handle-load, tramp-handle-file-local-copy)
10992         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10993         (tramp-maybe-send-script, tramp-find-shell):
10994         Use `with-progress-reporter'.
10995         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
10996         Fix message text.
10998         * net/tramp-smb.el (tramp-smb-handle-copy-file)
10999         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11000         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
11001         Use `with-progress-reporter'.
11003 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
11005         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
11006         process everytime when spellchecking from the minibuffer (bug#6143).
11008 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11010         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
11012         * dos-fns.el: Add "dos-" prefix for namespace control.
11013         (convert-standard-filename): Define as alias for
11014         dos-convert-standard-filename but only if applicable.
11016 2010-05-12  Alan Mackenzie  <acm@muc.de>
11018         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
11019         Push the mark at the start of these functions when appropriate.
11021 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11023         * minibuffer.el (completion-cycle-threshold): New custom var.
11024         (completion--do-completion): Use it.
11025         (minibuffer-complete): Use cycling if appropriate.
11027 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
11029         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
11030         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
11032 2010-05-11  Juri Linkov  <juri@jurta.org>
11034         * scroll-all.el (scroll-all-check-to-scroll):
11035         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
11037 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11039         * iimage.el (iimage-mode-map): Move initialization into declaration.
11040         (iimage-mode-buffer): Use with-silent-modifications.
11041         Simplify calling convention.  Adjust callers.
11042         (iimage-mode): Don't run hook redundantly.
11044         * minibuffer.el (completion-pcm--pattern->regex):
11045         Fix last change (bug#6160).
11047 2010-05-10  Juri Linkov  <juri@jurta.org>
11049         Remove nodes visited during Isearch from the Info history.
11050         * info.el (Info-isearch-initial-history)
11051         (Info-isearch-initial-history-list): New variables.
11052         (Info-isearch-start): Record initial values of
11053         Info-isearch-initial-history and Info-isearch-initial-history-list.
11054         Add Info-isearch-end to isearch-mode-end-hook.
11055         (Info-isearch-end): New function.
11057 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
11059         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
11060         format string, in order to work around a bug in pdksh.
11061         Reported by Gilles Pion <gpion@lfdj.com>.
11062         (tramp-handle-verify-visited-file-modtime): Do not send a command
11063         when the connection is not established.
11064         (tramp-handle-set-file-times): Simplify the check for utc.
11066 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
11068         Fix use of `filter-buffer-substring' (rework previous change).
11069         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
11070         (cua-repeat-replace-region):
11071         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
11072         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11073         (cua-cut-region-to-global-mark): Use it.
11075 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
11077         * progmodes/sql.el: Version 2.1.
11078         (sql-product-alist): Redesign structure of product info.
11079         (sql-product, sql-user, sql-server, sql-database): Safe variables.
11080         (sql-port, sql-port-history): New variables.
11081         (sql-interactive-product): New variable.
11082         (sql-send-terminator): New variable.
11083         (sql-imenu-generic-expression): Add "Types" imenu entry.
11084         (sql-oracle-login-params, sql-sqlite-login-params)
11085         (sql-mysql-login-params, sql-solid-login-params)
11086         (sql-sybase-login-params, sql-informix-login-params)
11087         (sql-ingres-login-params, sql-ms-login-params)
11088         (sql-postgres-login-params, sql-interbase-login-params)
11089         (sql-db2-login-params, sql-linter-login-params)
11090         (sql-oracle-scan-on): New variables.
11091         (sql-mode-map): Add C-c C-i to start interactive mode.
11092         (sql-mode-menu): Update existing menu entries.
11093         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
11094         (sql-mode-oracle-font-lock-keywords)
11095         (sql-mode-postgres-font-lock-keywords)
11096         (sql-mode-ms-font-lock-keywords)
11097         (sql-mode-sybase-font-lock-keywords)
11098         (sql-mode-informix-font-lock-keywords)
11099         (sql-mode-interbase-font-lock-keywords)
11100         (sql-mode-ingres-font-lock-keywords)
11101         (sql-mode-solid-font-lock-keywords)
11102         (sql-mode-mysql-font-lock-keywords)
11103         (sql-mode-sqlite-font-lock-keywords)
11104         (sql-mode-db2-font-lock-keywords)
11105         (sql-mode-linter-font-lock-keywords): Update initialization to
11106         reduce run-time complexity.
11107         (sql-add-product, sql-del-product): New functions.
11108         (sql-set-product-feature, sql-get-product-feature): New functions.
11109         (sql-product-font-lock): Update product API.
11110         (sql-add-product-keywords): New function.
11111         (sql-highlight-product): Update product API.
11112         (sql-help-list-products): New function.
11113         (sql-help): Dynamically lists free and non-free products.
11114         (sql-get-login): Correct bug in handling history and added
11115         prompt for port.
11116         (sql-copy-column): Copy without properties.
11117         (sqli-input-sender): Apply filters to SQLi input.
11118         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
11119         Implement as a filter.
11120         (sql-escape-newlines-filter): Implement as a filter.
11121         (sql-remove-tabs-filter): New function.
11122         (sql-send-magic-terminator): New function.
11123         (sql-send-string): Implement magic terminator.
11124         (sql-send-region): Use `sql-send-string'.
11125         (sql-interactive-mode): Use product API.
11126         (sql-product-interactive): Use product API.
11127         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
11128         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
11129         (sql-db2, sql-linter): Use `sql-product-interactive'.
11130         (sql-connect): New function.
11131         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
11132         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
11133         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
11134         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
11135         Use `sql-connect'.
11137 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11139         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
11140         New custom variable.
11141         (completion-pcm--string->pattern): Use it.
11142         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
11143         Make it handle any symbol as `any'.
11144         (completion-pcm--merge-completions): Extract common suffix for the new
11145         `prefix' symbol as well.
11146         (completion-substring--all-completions): Use the new `prefix' symbol.
11148 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
11150         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
11151         not bound.
11152         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
11153         (tramp-compat-funcall): New defmacro.
11154         (tramp-compat-line-beginning-position)
11155         (tramp-compat-line-end-position)
11156         (tramp-compat-temporary-file-directory)
11157         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
11158         (tramp-compat-copy-file, tramp-compat-copy-directory)
11159         (tramp-compat-delete-file, tramp-compat-delete-directory)
11160         (tramp-compat-number-sequence, tramp-compat-process-running-p)
11161         * net/tramp.el (top, with-progress-reporter)
11162         (tramp-rfn-eshadow-setup-minibuffer)
11163         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
11164         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
11165         (tramp-completion-mode-p, tramp-check-for-regexp)
11166         (tramp-open-connection-setup-interactive-shell)
11167         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
11168         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
11169         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
11170         * net/tramp-cmds.el (tramp-cleanup-all-connections)
11171         (tramp-reporter-dump-variable, tramp-load-report-modules)
11172         (tramp-append-tramp-buffers)
11173         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
11175         * net/tramp-imap.el (top): Autoload `epg-make-context'.
11177 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11179         * progmodes/compile.el (compilation-buffer-modtime): Rename from
11180         buffer-modtime.  Adjust users.
11182 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
11184         * international/mule.el (auto-coding-alist): Only purecopy
11185         car of each item, not the whole list (Bug#6083).
11187 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
11189         * progmodes/js.el (js-mode): Make paragraph variables local before
11190         calling c-setup-paragraph-variables (Bug#6071).
11192 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
11194         * composite.el (compose-region, reference-point-alist): Fix typos
11195         in the doc strings.
11197 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
11199         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
11200         gnuplot's "set" command.
11202 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
11204         * abbrev.el (last-abbrev-text): Doc fix.
11205         (abbrev-prefix-mark): Don't escape parenthesis.
11207 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
11209         * composite.el (find-composition): Doc fix.
11211 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
11213         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
11214         (sql-oracle-program, sql-sqlite-options)
11215         (sql-query-placeholders-and-send): Doc fixes.
11216         (sql-set-product, sql-interactive-mode): Reflow docstrings.
11217         (sql-imenu-generic-expression, sql-buffer)
11218         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
11219         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
11220         (sql-mode-sybase-font-lock-keywords)
11221         (sql-mode-informix-font-lock-keywords)
11222         (sql-mode-interbase-font-lock-keywords)
11223         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
11224         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
11225         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
11226         (sql-product-feature, sql-highlight-product)
11227         (comint-line-beginning-position, sql-rename-buffer)
11228         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
11229         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
11230         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
11231         Fix typos in docstrings.
11233 2010-05-08  Juri Linkov  <juri@jurta.org>
11235         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
11236         property instead of `invisible' and `after-string' (bug#5998).
11238 2010-05-08  Juri Linkov  <juri@jurta.org>
11240         * image-mode.el (image-mode-as-text): Fix typo in docstring.
11242 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
11244         * filecache.el (file-cache-add-directory-list)
11245         (file-cache-add-directory-recursively): Fix typos in docstrings.
11247 2010-05-08  Kenichi Handa  <handa@m17n.org>
11249         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
11250         (gujarati-composable-pattern): Fix typo.
11252 2010-05-08  Kenichi Handa  <handa@m17n.org>
11254         * language/indian.el (oriya-composable-pattern)
11255         (tamil-composable-pattern, malayalam-composable-pattern):
11256         Add two-part vowels to "v" (vowel sign).
11258 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
11260         * files.el (copy-directory): Handle symlinks (Bug#5982).
11262 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
11264         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
11265         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
11266         (Bug#5846).
11268 2010-05-08  Glenn Morris  <rgm@gnu.org>
11270         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
11272         * minibuffer.el (completion-at-point): Doc fix.
11274 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11276         * electric.el (Electric-command-loop): Minor tweak.
11278         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
11279         better with dedicated windows.
11281 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
11283         * Version 23.2 released.
11285 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
11286             Stefan Monnier  <monnier@iro.umontreal.ca>
11288         Highlight vendor specific properties.
11289         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
11290         (css-proprietary-property): New face.
11291         (css-font-lock-keywords): Use them.
11293 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
11295         * cus-start.el (all): Add native condition for tool-bar-* symbols.
11297 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11299         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
11300         * files.el (auto-mode-alist): Remove redundant entries.
11302         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
11303         * simple.el (auto-save-mode): Move from files.el.
11304         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
11306 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
11308         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11310 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
11312         * mail/binhex.el (binhex-decode-region-internal)
11313         * mail/uudecode.el (uudecode-decode-region-internal)
11314         * net/dns.el (dns-read-string-name, dns-write, dns-read)
11315         (dns-read-type, dns-query)
11316         * pgg-parse.el (pgg-parse-armor)
11317         * pgg.el (pgg-verify-region)
11318         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11319         XEmacs.
11321         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11323 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
11325         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11327         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11328         * emulation/cua-base.el (cua-repeat-replace-region):
11329         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11330         (cua-cut-region-to-global-mark):
11331         Remove text properties with `set-text-properties'.
11333 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
11335         * net/tramp.el (top, with-progress-reporter):
11336         Use `symbol-function' inside `funcall'.
11338         * net/tramp-compat.el (tramp-compat-file-attributes)
11339         (tramp-compat-delete-file, tramp-compat-delete-directory):
11340         Handle only `wrong-number-of-arguments' error.
11342         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11343         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11344         inside `funcall'.
11346 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11348         * minibuffer.el (completion--sreverse, completion--common-suffix):
11349         New functions.
11350         (completion-pcm--merge-completions): Extract common suffix when safe.
11352         * emacs-lisp/easy-mmode.el (define-minor-mode):
11353         Make :variable more flexible.
11354         * files.el (auto-save-mode): Use it to define using define-minor-mode.
11356 2010-05-05  Juri Linkov  <juri@jurta.org>
11358         Add `slow' and `history' tags to the desktop data.
11360         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11361         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11362         (Info-finder-find-node): Require `finder.el' to be able
11363         to restore node from the desktop.
11364         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
11365         data `Info-history' and `slow' tag in the assoc list.
11366         (Info-restore-desktop-buffer): Don't restore nodes with the
11367         `slow' tag.  Restore `Info-history'.
11369 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
11371         Add FORCE argument to `delete-file'.
11373         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11374         forcing to delete the temporary file.
11375         (ange-ftp-delete-file): Add FORCE arg.
11376         (ange-ftp-rename-remote-to-remote)
11377         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11378         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11379         Force file deletion.
11381         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11383         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11384         (tramp-handle-make-symbolic-link, tramp-handle-load)
11385         (tramp-do-copy-or-rename-file-via-buffer)
11386         (tramp-do-copy-or-rename-file-directly)
11387         (tramp-do-copy-or-rename-file-out-of-band)
11388         (tramp-handle-process-file, tramp-handle-call-process-region)
11389         (tramp-handle-shell-command, tramp-handle-file-local-copy)
11390         (tramp-handle-insert-file-contents, tramp-handle-write-region)
11391         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11393         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11394         (tramp-fish-handle-make-symbolic-link)
11395         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11397         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11398         Use `tramp-compat-delete-file'.
11400         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11401         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11403         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11404         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11406         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11407         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11408         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11409         Use `tramp-compat-delete-file'.
11411 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11413         Minor cleanups.
11414         * subr.el (add-minor-mode): Use push.
11415         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11416         * emulation/edt.el (edt-select-mode): Simplify.
11418         Use define-minor-mode in more cases.
11419         * term/tvi970.el (tvi970-set-keypad-mode):
11420         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11421         (normal-erase-is-backspace-mode):
11422         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11423         (set-scroll-bar-mode-1): (Re)move to its sole caller.
11424         (get-scroll-bar-mode): New function.
11425         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11427         Use define-minor-mode for less obvious cases.
11428         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11429         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11430         * international/iso-ascii.el (iso-ascii-mode):
11431         * frame.el (auto-raise-mode, auto-lower-mode):
11432         * composite.el (global-auto-composition-mode): Use define-minor-mode.
11434 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
11436         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11437         in order to see error messages for failed logins.
11439 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
11441         * diff.el (diff-sentinel):
11443         * epg.el (epg--make-temp-file, epg-decrypt-string)
11444         (epg-verify-string, epg-sign-string, epg-encrypt-string):
11446         * jka-compr.el (jka-compr-partial-uncompress)
11447         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11449         * server.el (server-sentinel): Use delete-file's new FORCE arg
11450         (Bug#6070).
11452 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11454         Use define-minor-mode where applicable.
11455         * view.el (view-mode):
11456         * type-break.el (type-break-query-mode)
11457         (type-break-mode-line-message-mode):
11458         * textmodes/reftex.el (reftex-mode):
11459         * term/vt100.el (vt100-wide-mode):
11460         * tar-mode.el (tar-subfile-mode):
11461         * savehist.el (savehist-mode):
11462         * ibuf-ext.el (ibuffer-auto-mode):
11463         * composite.el (auto-composition-mode):
11464         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11465         Use define-minor-mode.
11466         (vhdl-mode): Use static mode-line format.
11467         (vhdl-mode-line-update): Delete.
11468         (vhdl-create-mode-menu, vhdl-activate-customizations)
11469         (vhdl-hs-minor-mode): Don't bother calling it.
11471 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11473         * simple.el (with-wrapper-hook): Move.
11474         (buffer-substring-filters): Mark obsolete.
11475         (filter-buffer-substring-functions): New variable.
11476         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
11478 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
11479             Michael Albinus  <michael.albinus@gmx.de>
11481         Implement compression for inline methods.
11483         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
11484         (tramp-copy-size-limit): Allow also nil.
11485         (tramp-inline-compress-commands): New defconst.
11486         (tramp-find-inline-compress, tramp-get-inline-compress)
11487         (tramp-get-inline-coding): New defuns.
11488         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
11489         replaced by `tramp-get-inline-coding'.
11490         (tramp-handle-file-local-copy, tramp-handle-write-region)
11491         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
11493 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11495         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
11496         Remove unused functions.
11498         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
11499         Set find-tag-default-function as a variable rather than a property.
11501         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
11502         * progmodes/etags.el (tags-completion-at-point-function):
11503         Remove left over interactive spec.  Add autoloading stub.
11504         (complete-tag): Use tags-completion-at-point-function.
11506 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
11508         * minibuffer.el (tags-completion-at-point-function): Fix return value.
11510 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
11512         * ido.el (ido-init-completion-maps): Remove C-v binding.
11513         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
11515 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
11517         * minibuffer.el (tags-completion-at-point-function): New function.
11518         (completion-at-point-functions): Use it.
11520         * progmodes/etags.el (complete-tag): Revert last change.
11522 2010-04-29  Alan Mackenzie  <acm@muc.de>
11524         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
11525         off-by-one error (in end of macro position).
11527 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11529         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
11530         firefox is absent.  Don't autoload.
11531         (browse-url-galeon-program): Don't autoload.
11533 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
11535         * bindings.el (complete-symbol): Move into minibuffer.el.
11537         * minibuffer.el (complete-tag): Move from etags.el.  If tags
11538         completion cannot be performed, return nil instead of signalling
11539         an error.
11540         (completion-at-point): Make it an alias for complete-symbol.
11541         (complete-symbol): Move from bindings.el, and replace with the
11542         body of completion-at-point.
11544         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
11546 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
11548         * net/tramp.el (tramp-remote-selinux-p): New defun.
11549         (tramp-handle-file-selinux-context)
11550         (tramp-handle-set-file-selinux-context): Use it.
11552 2010-04-28  Sam Steingold  <sds@gnu.org>
11554         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11555         `safe-local-variable' if the value is a string or a symbol with
11556         the property `bug-reference-url-format'.
11558 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
11560         * progmodes/bug-reference.el (bug-reference-url-format):
11561         Revert 2010-04-27 change due to security risk.
11563 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11565         Make it possible to locally disable a globally enabled mode.
11566         * simple.el (fundamental-mode): Run fundamental-mode-hook.
11567         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
11568         rather than kill-all-local-variables so it runs fundamental-mode-hook.
11569         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11570         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
11571         that subsequent hooks get a chance to disable it.
11573 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11575         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11576         Avoid re-enabling a minor mode after the user turned the minor mode
11577         off if MODE-enable-in-buffers is run twice (typically once from
11578         fundamental-mode's after-change-major-mode-hook and a second time from
11579         run-mode-hook's own after-change-major-mode-hook).
11581         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
11583 2010-04-27  Sam Steingold  <sds@gnu.org>
11585         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11586         `safe-local-variable' if the value is a string or a function, as
11587         documented and implemented on 2010-04-02.
11589 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
11591         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11592         when method is 'kill.
11594 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
11596         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11597         condition in default directory check.
11598         (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
11599         Kill ispell process when killing its associated buffer.
11601 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
11603         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11604         but we aren't using it.
11606 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
11608         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11609         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
11611 2010-04-24  Glenn Morris  <rgm@gnu.org>
11613         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11614         Ignore VCS-ignore files, and deleted nextstep preferences files.
11615         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11616         (authors-ambiguous-files): New list.
11617         (authors-valid-file-names): Add some deleted files.
11618         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11619         (authors-disambiguate-file-name): New function.  (Bug#5501)
11620         (authors-canonical-file-name): Doc fix.
11621         Don't warn about obsolete files.
11622         (authors-canonical-file-name, authors-scan-el):
11623         Use authors-disambiguate-file-name.
11625         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11626         Add autoload cookies.
11627         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11628         (generated-autoload-file): Set file-local value to "htmlfontify.el".
11629         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11630         They have definitions / compiler macros in cl.el.
11631         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11632         Replace manual autoloads with generated ones.
11633         (htmlfontify-unload-rgb-file): Remove autoload.
11634         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11636 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11638         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11639         (byte-compile-setq-default): Optimize for the
11640         single-var case and don't call byte-compile-form in this case to avoid
11641         inf-loop with byte-compile-set-default.
11643         * progmodes/compile.el (compilation-start): Abbreviate default directory.
11645 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
11647         Implement SELINUX backends.
11649         * net/tramp.el (tramp-file-name-handler-alist):
11650         Add `file-selinux-context' and `set-file-selinux-context'.
11651         (tramp-handle-file-selinux-context)
11652         (tramp-handle-set-file-selinux-context): New defuns.
11653         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11654         Handle PRESERVE-SELINUX-CONTEXT.
11656         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11657         Add `file-selinux-context' and `set-file-selinux-context'.
11658         (tramp-gvfs-handle-file-selinux-context)
11659         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11660         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11662         * net/ange-ftp.el (ange-ftp-copy-file):
11663         * net/tramp-fish.el (tramp-fish-handle-copy-file):
11664         * net/tramp-imap.el (tramp-imap-handle-copy-file):
11665         * net/tramp-smb.el (tramp-smb-handle-copy-file):
11666         Add PRESERVE-SELINUX-CONTEXT.
11668 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11670         Synchronize with Tramp repository.
11672         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11673         (tramp-action-process-alive, tramp-action-out-of-band)
11674         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11675         (tramp-exists-file-name-handler): Fix docstring.
11676         (with-progress-reporter): New defmacro.
11677         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11678         (tramp-maybe-open-connection): Use it.
11680 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
11682         Detect ssh 'ControlMaster' argument automatically in some cases.
11684         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11685         (tramp-default-method): Use it.
11687 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11689         * net/tramp.el (tramp-handle-copy-file): Add new optional
11690         parameter `preserve-selinux-context'.
11691         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11693 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11695         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11696         Ensure, that non remote files are still checked.  Oops.
11698 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
11700         Fix Bug#5840.
11702         * icomplete.el (icomplete-completions): Use `non-essential'.
11704         * net/tramp.el (tramp-connectable-p): New defun.
11705         (tramp-handle-expand-file-name)
11706         (tramp-completion-handle-file-name-all-completions)
11707         (tramp-completion-handle-file-name-completion): Use it.
11709 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11711         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11713 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
11715         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11717         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11719         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11720         is present.
11722         * info.el (info-tool-bar-map): Add labels.
11724         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11726         * cus-edit.el (custom-commands): Add labels for tool bar.
11727         (custom-buffer-create-internal, Custom-mode): Adjust for
11728         labels in custom-commands.
11730         * dynamic-setting.el: Renamed from font-setting.el.
11732 2010-04-21  John Wiegley  <jwiegley@gmail.com>
11734         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11735         toggles the use of virtual buffers.
11736         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11737         (ido-toggle-virtual-buffers): New function.
11739 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
11741         Use `define-derived-mode'; fix window selection; doc fixes.
11742         * play/tetris.el (tetris, tetris-update-speed-function)
11743         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11744         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11745         (tetris-rotate-next, tetris-end-game, tetris-start-game)
11746         (tetris-pause-game): Fix typos in docstrings.
11747         (tetris-mode-map, tetris-null-map):
11748         Move initialization into declaration.
11749         (tetris-mode): Define with `define-derived-mode';
11750         set show-trailing-whitespace to nil.
11751         (tetris): Prefer window already displaying the "*Tetris*" buffer.
11753 2010-04-21  Karel Klíč  <kklic@redhat.com>
11755         * files.el (backup-buffer): Handle SELinux context, and return it
11756         if a backup was made by renaming.
11757         (backup-buffer-copy): Set SELinux context to the target file.
11758         (basic-save-buffer): Set SELinux context of the newly written file.
11759         (basic-save-buffer-1): Now it also returns any SELinux context.
11760         (basic-save-buffer-2): Set SELinux context of the newly created file,
11761         and return it.
11762         * net/tramp.el (tramp-file-name-for-operation):
11763         Add file-selinux-context.
11765 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11767         Make the log-edit comments use RFC822 format throughout.
11769         * vc.el (vc-checkin, vc-modify-change-comment):
11770         Adjust to new vc-start/finish-logentry.
11771         (vc-find-conflicted-file): New command.
11772         (vc-transfer-file): Adjust to new vc-checkin.
11773         (vc-next-action): Improve scoping.
11775         * vc-hg.el (vc-hg-log-edit-mode): Remove.
11776         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
11778         * vc-git.el (vc-git-log-edit-mode): Remove.
11779         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
11780         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11782         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11783         (vc-start-logentry): Remove argument `extra'.
11784         (vc-finish-logentry): Remove extra args.
11786         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11787         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
11788         (vc-bzr-conflicted-files): New function.
11790         * log-edit.el (log-edit-extra-flags)
11791         (log-edit-before-checkin-process): Remove.
11792         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11793         (log-edit-headers-alist): New var.
11794         (log-edit-header-contents-regexp): New const.
11795         (log-edit-match-to-eoh): New function.
11796         (log-edit-font-lock-keywords): Use them.
11797         (log-edit): Insert a "Summary:" header as default.
11798         (log-edit-mode): Mark font-lock rules as case-insensitive.
11799         (log-edit-done): Cleanup headers.
11800         (log-view-process-buffer): Remove.
11801         (log-edit-extract-headers): New function to replace it.
11803 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
11805         * subr.el (default-direction-reversed): Remove obsolescence info.
11807 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11809         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11810         windows/frames.
11812         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11813         I.e. include text after point in the completion region.
11814         Also, return nil when we're not after/in a symbol.
11816         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11817         default enable-multibyte-characters.
11819 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11821         * international/mule.el: Help the user choose a valid coding-system.
11822         (read-buffer-file-coding-system): New function.
11823         (set-buffer-file-coding-system): Use it.  Prompt the user if the
11824         coding-system cannot encode all the chars.
11826         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11827         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11828         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11829         Don't use *vc-bzr-shelve*.
11831 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
11833         Fix the version number for added files.
11834         * vc-hg.el (vc-hg-working-revision): Check if the file is
11835         registered after hg parent fails (Bug#5961).
11837 2010-04-19  Glenn Morris  <rgm@gnu.org>
11839         * htmlfontify.el (htmlfontify-buffer)
11840         (htmlfontify-copy-and-link-dir): Autoload entry points.
11842 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
11844         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11845         name relative to the project root (Bug#5960).
11847 2010-04-19  Glenn Morris  <rgm@gnu.org>
11849         * vc-git.el (vc-git-print-log): Doc fix.
11851 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
11853         * ido.el (ido-file-internal): Fix 2009-12-02 change.
11855 2010-04-19  Christoph Scholtes  <cschol2112@googlemail.com>
11857         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11858         default settings (Bug#5928).
11860 2010-04-19  Glenn Morris  <rgm@gnu.org>
11862         * progmodes/fortran.el (fortran-match-and-skip-declaration):
11863         New function.
11864         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
11866 2010-04-19  Kenichi Handa  <handa@m17n.org>
11868         * language/indian.el (malayalam-composable-pattern): Fix previous
11869         change (add U+0D4D "SIGN VIRAMA").
11870         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11871         (tamil-composable-pattern): Fix typo in the regexp.
11872         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11873         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11874         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11876 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
11878         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11879         paragraph-separate (Bug#5821).
11881 2010-04-19  Juri Linkov  <juri@jurta.org>
11883         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11885         * info.el (Info-find-node-2): Comment out code that skips
11886         breadcrumbs line.
11887         (Info-mouse-follow-link): New command.
11888         (Info-link-keymap): New keymap.
11889         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11890         Return a string with links instead of inserting breadcrumbs
11891         to the Info buffer.
11892         (Info-fontify-node): Comment out code that inserts breadcrumbs.
11893         Instead of putting the `invisible' text property over the Info
11894         header, make an overlay over the Info header with the `invisible'
11895         property and `after-string' set to the string returned by
11896         `Info-breadcrumbs'.
11898 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
11900         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11901         Reported by monkey@sandpframing.com.
11903 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11905         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11906         (tmm-get-keymap): Add key-binding shortcuts now that they're not
11907         available in the "keyseq cache" any more.
11909         * custom.el (defcustom): Add edebug spec.
11911 2010-04-18  Juri Linkov  <juri@jurta.org>
11913         Test for special mode-class in view-buffer instead of view-file (bug#5513).
11915         * view.el (view-file, view-buffer): Move test for special mode-class
11916         from view-file to view-buffer.
11918         * tar-mode.el (tar-extract): Turn if's into one cond
11919         like in arc-mode.el.
11921 2010-04-18  Juri Linkov  <juri@jurta.org>
11923         Add 7z archive format support (bug#5475).
11925         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
11926         (archive-7z-extract): New defcustom.
11927         (archive-find-type): Add magic string for 7z.
11928         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
11929         If `stderr-file' is non-nil, use `(t stderr-file)' for the
11930         `buffer' arg of `call-process'.
11931         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
11932         call the function `archive-7z-extract' with the variable
11933         `archive-7z-extract' let-bound to `archive-zip-extract'.
11934         (archive-7z-summarize, archive-7z-extract): New functions.
11936         * international/mule.el (auto-coding-alist):
11937         * files.el (auto-mode-alist): Add 7z file extension.
11939 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11941         * loadup.el: Setup hash-cons for pure data.
11943         Fix duplicate entries in cedet's loaddefs.el files.
11944         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
11945         Should make most file-local generated-autoload-file unnecessary.
11946         (print-readably): Silence warnings.
11947         (autoload-find-destination): Take load-name as an arg to make sure
11948         it's the same as the one that will be in the file.
11949         (autoload-generate-file-autoloads): Adjust to above changes.
11950         Try to make the dataflow a bit simpler.
11952         * cvs-status.el (cvs-refontify): Remove unused.
11954 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
11956         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
11958         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
11959         twos-complement mode.
11961 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
11963         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
11964         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
11965         (calc-inverse): Add "Option" to message, as appropriate.
11966         (calc-hyperbolic): Add "Option" to message, as appropriate.
11967         (calc-option, calc-is-option): New functions.
11969         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
11970         (calc-option-prefix-help): New function.
11972         * calc/calc-misc.el (calc-help): Add "Option" entry.
11974         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
11975         (calc-option-flag): New variable.
11976         (calc-do): Set `calc-option-flag to nil.
11977         (calc-set-mode-line): Add "Opt " as appropriate.
11979 2010-04-16  Juri Linkov  <juri@jurta.org>
11981         Move scrolling commands from simple.el to window.el
11982         because their primitives are implemented in window.c.
11984         * simple.el (scroll-error-top-bottom)
11985         (scroll-up-command, scroll-down-command, scroll-up-line)
11986         (scroll-down-line, scroll-other-window-down)
11987         (beginning-of-buffer-other-window, end-of-buffer-other-window):
11988         * window.el (scroll-error-top-bottom)
11989         (scroll-up-command, scroll-down-command, scroll-up-line)
11990         (scroll-down-line, scroll-other-window-down)
11991         (beginning-of-buffer-other-window, end-of-buffer-other-window):
11992         Move from simple.el to window.el because their primitives are
11993         implemented in window.c.
11995 2010-04-16  Juri Linkov  <juri@jurta.org>
11997         * isearch.el (isearch-lookup-scroll-key): Check both
11998         `isearch-scroll' and `scroll-command' properties.
11999         (scroll-up, scroll-down): Remove `isearch-scroll' property.
12001         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
12003         * simple.el (scroll-up-command, scroll-down-command)
12004         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
12006 2010-04-15  Juri Linkov  <juri@jurta.org>
12008         * simple.el (scroll-up-command, scroll-down-command)
12009         (scroll-up-line, scroll-down-line): Put `scroll-command'
12010         property on the these symbols.  Remove them from
12011         `scroll-preserve-screen-position-commands'.
12013         * mwheel.el (mwheel-scroll): Put `scroll-command' and
12014         `isearch-scroll' properties on the `mwheel-scroll' symbol.
12015         Remove it from `scroll-preserve-screen-position-commands'.
12017         * isearch.el (isearch-allow-scroll): Doc fix.
12019 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
12021         * net/tramp.el (tramp-error-with-buffer): Don't show the
12022         connection buffer when we are in completion mode.
12023         (tramp-file-name-handler): Catch the error for some operations
12024         when we are in completion mode.  This gives the user the chance to
12025         correct the file name in the minibuffer.
12027 2010-04-15  Glenn Morris  <rgm@gnu.org>
12029         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
12031 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
12033         Simplify by using `define-derived-mode'.
12034         * info.el (Info-mode):
12035         * calendar/todo-mode.el (todo-mode):
12036         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
12037         (gomoku-mode-map): Move initialization into declaration.
12039 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
12041         Fix Bug#5840.
12042         * ido.el (ido-file-name-all-completions-1):
12043         * minibuffer.el (minibuffer-completion-help):
12044         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
12046 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12048         * simple.el (non-essential): New var.
12050         Add a new field `location' to bookmarks for non-file bookmarks.
12051         * bookmark.el (bookmark-location): Use the new field, if present.
12052         (bookmark-insert-location): Undo last change, not needed any more.
12053         * man.el (Man-bookmark-make-record):
12054         * woman.el (woman-bookmark-make-record): Add `location' field.
12056 2010-04-14  Juri Linkov  <juri@jurta.org>
12058         * simple.el (scroll-error-top-bottom): New defcustom.
12059         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
12061         * emulation/pc-select.el (pc-select-override-scroll-error):
12062         Obsolete in favor of `scroll-error-top-bottom'.
12064 2010-04-14  Juri Linkov  <juri@jurta.org>
12066         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
12067         `scroll-up-command' and `M-v' to `scroll-down-command'.
12069         * emulation/cua-rect.el (cua--init-rectangles):
12070         * forms.el (forms--change-commands):
12071         * image-mode.el (image-mode-map):
12072         Remap scroll-down-command and scroll-up-command
12073         in addition to scroll-down and scroll-up.
12075 2010-04-14  Juri Linkov  <juri@jurta.org>
12077         * mwheel.el (scroll-preserve-screen-position-commands):
12078         Add mwheel-scroll to this list of commands.
12080         * simple.el (scroll-preserve-screen-position-commands):
12081         Add scroll-up-command, scroll-down-command, scroll-up-line,
12082         scroll-down-line to this list of commands.
12084 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12086         * obsolete/complete.el: Move from lisp/complete.el.
12088         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
12090         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
12091         to the minor mode function now turns the mode ON unconditionally.
12093 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12095         * vc-dir.el (vc-dir-kill-line): New command.
12096         (vc-dir-mode-map): Bind it to C-k.
12098         * bookmark.el (bookmark-insert-location): Handle a nil filename.
12100         * woman.el: Add bookmark declarations to silence the compiler.
12101         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
12102         step to compatibility between man and woman bookmarks.
12103         Adjust for Man-default-bookmark-title renaming.
12104         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
12106         * man.el: Add bookmark declarations to silence the compiler.
12107         (Man-name-local-regexp): Make it match NAME as well.
12108         (Man-getpage-in-background): Return the buffer.
12109         (Man-notify-when-ready): Use `case'.
12110         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
12111         Don't hardcode "NAME".  Simplify.
12112         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
12113         Rename from Man-bookmark-make-record.
12114         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
12115         we have the actual man-args.  Use Man-getpage-in-background rather
12116         than `man' since the arg is already processed.  Let bookmark.el do the
12117         window handling.  Only wait for the relevant process.
12118         Don't forget to autoload.
12120         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
12122 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12124         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
12125         New functions.
12126         (woman-mode): Setup bookmark support.
12128         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
12129         (man-bookmark-jump): New functions.
12130         (Man-mode): Setup bookmark support.
12132 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
12134         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
12135         recognize ssh-keygen prompt (Bug#2817).
12137 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
12139         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
12141 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
12143         Synchronize with Tramp repository.
12145         * net/tramp.el (tramp-completion-function-alist)
12146         (tramp-file-name-regexp, tramp-chunksize)
12147         (tramp-local-coding-commands, tramp-remote-coding-commands):
12148         Fix docstring.
12149         (tramp-remote-process-environment): Use `format' instead of `concat'.
12150         (tramp-handle-directory-files-and-attributes)
12151         (tramp-get-remote-path): Use `copy-tree'.
12152         (tramp-handle-file-name-all-completions): Backward/ XEmacs
12153         compatibility: Use `completion-ignore-case' if
12154         `read-file-name-completion-ignore-case' does not exist.
12155         (tramp-do-copy-or-rename-file-directly): Do not use
12156         `tramp-handle-file-remote-p'.
12157         (tramp-do-copy-or-rename-file-out-of-band):
12158         Use `tramp-compat-delete-directory'.
12159         (tramp-do-copy-or-rename-file-out-of-band)
12160         (tramp-compute-multi-hops, tramp-maybe-open-connection):
12161         Use `format-spec-make'.
12162         (tramp-find-foreign-file-name-handler)
12163         (tramp-advice-make-auto-save-file-name)
12164         (tramp-set-auto-save-file-modes): Remove superfluous check for
12165         `stringp'.  This is done inside `tramp-tramp-file-p'.
12166         (tramp-debug-outline-regexp): New defconst.
12167         (tramp-get-debug-buffer): Use it.
12168         (tramp-check-for-regexp): Use (forward-line 1).
12169         (tramp-set-auto-save-file-modes): Adapt version check.
12171         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
12172         Wrap call of `featurep' for 2nd argument.
12173         (tramp-compat-make-temp-file): Simplify fallback implementation.
12174         (tramp-compat-copy-tree): Remove function.
12175         (tramp-compat-delete-directory): Provide implementation for older
12176         Emacsen.
12178         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
12179         Do not use `tramp-fish-handle-file-attributes.
12181         * net/trampver.el: Update release number.
12183 2010-04-10  Glenn Morris  <rgm@gnu.org>
12185         * progmodes/compile.el (compilation-save-buffers-predicate):
12186         Add missing :version tag.
12188 2010-04-09  Sam Steingold  <sds@gnu.org>
12190         * progmodes/compile.el (compilation-save-buffers-predicate):
12191         Remove the "autoload" cookie.
12193         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
12194         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
12195         and `bug-reference-prog-mode' can be used in hooks directly.
12197 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
12199         Add --author support to git commit.
12200         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
12201         (vc-git-log-edit-mode): New minor mode.
12202         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
12203         New declarations.
12205 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
12207         * vc-hooks.el, vc-git.el: Improve documentation comments.
12209 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12211         Fix some of the problems in defsubst* (bug#5728).
12212         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
12213         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
12215 2010-04-07  Sam Steingold  <sds@gnu.org>
12217         * progmodes/compile.el (compilation-save-buffers-predicate):
12218         New custom variable.
12219         (compile, recompile): Pass it to `save-some-buffers'.
12221 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
12223         * wid-edit.el (widget-choose): Move cursor to the second line of
12224         the buffer (Bug#5695).
12226 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
12228         Add new VC methods: vc-log-incoming and vc-log-outgoing.
12229         * vc.el (vc-print-log-setup-buttons): New function split out from
12230         vc-print-log-internal.
12231         (vc-log-internal-common): New function, a parametrized version of
12232         vc-print-log-internal.
12233         (vc-print-log-internal): Just call vc-log-internal-common with the
12234         right arguments.
12235         (vc-incoming-outgoing-internal):
12236         (vc-log-incoming, vc-log-outgoing): New functions.
12237         (vc-log-view-type): New permanent local variable.
12239         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
12241         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
12242         of the dynamic bound vc-short-log.
12243         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
12245         * vc-git.el (vc-git-log-outgoing): New function.
12246         (vc-git-log-view-mode): Use vc-log-view-type instead
12247         of the dynamic bound vc-short-log.
12249         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
12250         of the dynamic bound vc-short-log.  Highlight the tag.
12251         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
12252         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
12253         (vc-hg-incoming-mode): Remove.
12254         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
12256 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
12258         Fix default-directory for vc-root-diff.
12259         * vc.el (vc-root-diff): Bind default-directory to the root
12260         directory for the diff command.
12262 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
12264         * progmodes/verilog-mode.el (verilog-forward-sexp):
12265         (verilog-calc-1): Support "disable fork" and "fork wait" multi
12266         word keywords, suggested by Steve Pearlmutter.
12267         (verilog-pretty-declarations): Support lineup of declarations in
12268         port lists.
12269         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
12270         fix bug for /* / comments.
12271         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
12272         Speed up and simplfy as this is never called with a bound.
12273         (verilog-pretty-declarations): Enhance to line up declarations
12274         inside a parameter list, suggested by Alan Morgan.
12275         (verilog-pretty-expr): Tune assignment regular expression match
12276         string for corner cases; also use markers instead of character
12277         number as indent changes the later.
12279 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
12281         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
12282         as missing keyword.
12283         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
12284         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
12285         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
12286         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
12287         Tennant.
12288         (verilog-keywords):
12289         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
12290         1800-2009 keywords, including "global.".
12292 2010-04-06  John Wiegley  <jwiegley@gmail.com>
12294         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
12295         appearing in buffer list (if a live buffer name matched a recentf
12296         file basename).  Should use uniquify to offer a real solution.
12298 2010-04-06  John Wiegley  <jwiegley@gmail.com>
12300         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
12301         comment to code, and add a :version tag.
12302         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
12304 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
12306         Enable recentf-mode if using virtual buffers.
12307         * ido.el (recentf-list): Declare for byte-compiler.
12308         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
12309         (ido-make-buffer-list): Simplify.
12310         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
12312 2010-04-05  Juri Linkov  <juri@jurta.org>
12314         Scrolling commands which scroll a line instead of full screen.
12315         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12317         * simple.el (scroll-up-line, scroll-down-line): New commands.
12318         Put property isearch-scroll=t on them.
12320         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12321         Remove commands.
12323 2010-04-05  Juri Linkov  <juri@jurta.org>
12325         Scrolling commands which do not signal errors at top/bottom.
12326         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12328         * simple.el (scroll-up-command, scroll-down-command): New commands.
12329         Put property isearch-scroll=t on them.
12331         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12332         `scroll-down-command' and [next] from `scroll-up' to
12333         `scroll-up-command'.
12335         * emulation/cua-base.el: Put property CUA=move on
12336         `scroll-up-command' and `scroll-down-command'.
12337         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12338         and `scroll-down-command' to `cua-scroll-down'.
12340 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
12342         * help.el (describe-mode): Return nil.
12344 2010-04-04  John Wiegley  <jwiegley@gmail.com>
12346         * ido.el (ido-use-virtual-buffers): New variable to indicate
12347         whether "virtual buffer" support is enabled for IDO.
12348         (ido-virtual): Face used to indicate virtual buffers in the list.
12349         (ido-buffer-internal): If a buffer is chosen, and no such buffer
12350         exists, but a virtual buffer of that name does (which would be why
12351         it was in the list), recreate the buffer by reopening the file.
12352         (ido-make-buffer-list): If virtual buffers are being used, call
12353         `ido-add-virtual-buffers-to-list' before the make list hook.
12354         (ido-virtual-buffers): New variable which contains a copy of the
12355         current contents of the `recentf-list', albeit pared down for the
12356         sake of speed, and with proper faces applied.
12357         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12358         create a list of "virtual buffers" to present to the user in
12359         addition to the currently open set.  Note that this logic could
12360         get rather slow if that list is too large.  With the default
12361         `recentf-max-saved-items' of 200, there is little speed penalty.
12363 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12365         * font-lock.el: Require CL when compiling.
12366         (font-lock-turn-on-thing-lock): Use `case'.
12368 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
12370         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12371         Zaretskii.
12373 2010-04-02  Juri Linkov  <juri@jurta.org>
12375         * ehelp.el (electric-help-orig-major-mode):
12376         New buffer-local variable.
12377         (electric-help-mode): Set it to original major-mode.  Doc fix.
12378         (with-electric-help): Use `electric-help-orig-major-mode' instead
12379         of (default-value 'major-mode).  Doc fix.
12380         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12382 2010-04-02  Sam Steingold  <sds@gnu.org>
12384         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12385         `vc-hg-command' with a list of flags.
12387         * progmodes/bug-reference.el (bug-reference-bug-regexp):
12388         Also accept "patch" and "RFE".
12389         (bug-reference-fontify): `bug-reference-url-format' can also be a
12390         function to be able to handle the bug kind.
12391         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12393 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
12395         * tmm.el (tmm-get-keymap): Check with symbolp before passing
12396         value to fboundp, it may not be a symbol.
12398 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12400         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12402 2010-03-31  Juri Linkov  <juri@jurta.org>
12404         * simple.el (next-line, previous-line): Re-throw a signal
12405         with `signal' instead of using `ding'.
12406         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12408 2010-03-31  Juri Linkov  <juri@jurta.org>
12410         * simple.el (keyboard-escape-quit): Raise deselecting the active
12411         region higher than exiting the minibuffer.
12412         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12414 2010-03-31  Juri Linkov  <juri@jurta.org>
12416         * image.el (image-animated-p): Use `image-metadata' instead of
12417         `image-extension-data'.  Get GIF extenstion data from metadata
12418         property `extension-data'.
12420 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12422         * simple.el (append-to-buffer): Simplify.
12424 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
12426         * textmodes/artist.el (artist-mode): Fix typo in docstring.
12427         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
12429 2010-03-31  Kenichi Handa  <handa@m17n.org>
12431         * language/sinhala.el (composition-function-table): Fix regexp for
12432         the new Unicode specification.
12434         * language/indian.el (devanagari-composable-pattern)
12435         (tamil-composable-pattern, kannada-composable-pattern)
12436         (malayalam-composable-pattern): Adjust for the new Unicode
12437         specification.
12438         (bengali-composable-pattern, gurmukhi-composable-pattern)
12439         (gujarati-composable-pattern, oriya-composable-pattern)
12440         (telugu-composable-pattern): New variables to cope with the new
12441         Unicode specification.  Use them in composition-function-table.
12443 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12445         Make tmm-menubar work for the Buffers menu again (bug#5726).
12446         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12447         vectors rather than cons cells, as used in menu-bar-update-buffers.
12449 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12451         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12452         (js-insert-and-indent): Revert 2009-08-15 change, restoring
12453         electric punctuation for "{}();,:" (Bug#5586).
12455         * mail/sendmail.el (mail-default-directory): Doc fix.
12457 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12459         * mail/sendmail.el (mail-default-directory): Doc fix.
12461 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
12463         * subr.el (version-regexp-alist, version-to-list)
12464         (version-list-<, version-list-=, version-list-<=)
12465         (version-list-not-zero, version<, version<=, version=): Doc fix.
12466         (Bug#5744).
12468 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
12470         * vc.el (vc-root-diff): Doc fix.
12472 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12474         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
12476         * simple.el (append-to-buffer): Fix last change.
12478 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12480         * simple.el (append-to-buffer): Ensure that point is preserved if
12481         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
12482         (Bug#5749)
12484 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12486         * files.el (auto-mode-case-fold): Change default to t.
12488 2010-03-30  Juri Linkov  <juri@jurta.org>
12490         * dired-x.el (dired-omit-mode): Doc fix.
12492 2010-03-30  Juri Linkov  <juri@jurta.org>
12494         * replace.el (occur-accumulate-lines): Move occur-engine related
12495         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
12496         to be located after `occur-engine'.
12498 2010-03-30  Juri Linkov  <juri@jurta.org>
12500         Make occur handle multi-line matches cleanly with context.
12501         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
12503         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
12504         (occur-engine): Add local variables `ret', `prev-after-lines',
12505         `prev-lines'.  Use more arguments for `occur-context-lines'.
12506         Set first elem of its returned list to `data', and the second elem
12507         to `prev-after-lines'.  Don't print the separator line.
12508         In the end, print remaining context after-lines.
12509         (occur-context-lines): Add new arguments `begpt', `endpt',
12510         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
12511         after-lines of the previous match with before-lines of the
12512         current match and not overlap them.  Return a list with two
12513         values: the output line and the list of context after-lines.
12515 2010-03-30  Juri Linkov  <juri@jurta.org>
12517         * replace.el (occur-accumulate-lines): Fix a bug where the first
12518         context line at the beginning of the buffer was missing.
12520 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
12522         * files.el: Make bidi-display-reordering safe variable for boolean
12523         values.
12525 2010-03-29  Phil Hagelberg  <phil@evri.com>
12526             Chong Yidong  <cyd@stupidchicken.com>
12528         * subr.el: Extend progress reporters to perform "spinning".
12529         (progress-reporter-update, progress-reporter-do-update):
12530         Handle non-numeric value arguments.
12531         (progress-reporter--pulse-characters): New var.
12533 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
12535         * progmodes/compile.el (compilation-start): Fix regexp detection
12536         of initial cd command (Bug#5771).
12538 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
12540         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
12542 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
12544         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
12545         * progmodes/gdb-mi.el: Restore.
12546         * progmodes/gdb-ui.el: Remove.
12547         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
12549 2010-03-25  Glenn Morris  <rgm@gnu.org>
12551         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
12552         all dired buffers, even tramp ones.  (Bug#5755)
12554 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12556         Add "union tags" in mpc.el.
12557         * mpc.el: Remove backward compatibility code.
12558         (mpc-browser-tags): Change default.
12559         (mpc--find-memoize-union-tags): New var.
12560         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
12561         (mpc-cmd-find): Handle the case where the playlist does not exist.
12562         Handle union-tags.
12563         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
12564         (mpc-cmd-add): Use mpc-cmd-flush.
12565         (mpc-tagbrowser-tag-name): New fun.
12566         (mpc-tagbrowser-buf): Use it.
12567         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
12569 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12571         Misc cleanup.
12572         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
12573         Use replace-regexp-in-string.
12574         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
12575         (makefile-imake-mode-syntax-table): Move init into defvar.
12576         (makefile-mode): Use define-derived-mode.
12578         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
12579         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
12580         not be present any more.
12582 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
12584         * faces.el (set-face-attribute): Fix typo in docstring.
12585         (face-valid-attribute-values): Reflow docstring.
12587 2010-03-24  Glenn Morris  <rgm@gnu.org>
12589         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12591 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
12593         * indent.el (indent-for-tab-command): Doc fix.
12595 2010-03-24  Alan Mackenzie  <acm@muc.de>
12597         * progmodes/cc-engine.el (c-remove-stale-state-cache):
12598         Fix off-by-one error.  Fixes bug #5747.
12600 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
12602         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12603         (image-dired-read-comment): Doc fix.
12605         * json.el (json-object-type, json-array-type, json-key-type)
12606         (json-false, json-null, json-read-number):
12607         * minibuffer.el (completion-in-region-functions):
12608         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12609         (cal-tex-cursor-week):
12610         * emacs-lisp/trace.el (trace-function):
12611         * eshell/em-basic.el (eshell/printnl):
12612         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12613         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12614         * obsolete/levents.el (allocate-event, event-key, event-object)
12615         (event-point, event-process, event-timestamp, event-to-character)
12616         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12617         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12618         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12619         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12620         (reftex-highlight-selection): Fix typos in docstrings.
12622 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
12624         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12626 2010-03-24  Glenn Morris  <rgm@gnu.org>
12628         * mail/rmail.el (rmail-highlight-face): Restore option deleted
12629         2008-02-13 without comment; mark it obsolete.
12630         (rmail-highlight-headers): Use rmail-highlight-face once more.
12632 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
12634         * woman.el (woman2-process-escapes): Only consume the newline if
12635         the filler character is on a line by itself (Bug#5729).
12637 2010-03-24  Kenichi Handa  <handa@m17n.org>
12639         * language/indian.el (devanagari-composable-pattern): Add more
12640         consonants.
12642 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
12644         * net/trampver.el: Update release number.
12646 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
12648         * net/tramp.el (tramp-find-executable):
12649         Use `tramp-get-connection-buffer'.  Make the regexp for checking
12650         output of "wc -l" more robust.
12651         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12652         (tramp-open-connection-setup-interactive-shell): Remove workaround
12653         for OpenSolaris bug, it is not needed anymore.
12655 2010-03-24  Glenn Morris  <rgm@gnu.org>
12657         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
12659 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
12661         * files.el (auto-mode-alist): Accept more verilog file patterns.
12663 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12665         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12667 2010-03-24  Glenn Morris  <rgm@gnu.org>
12669         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12670         log-edit-before-checkin-process.
12672         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12674         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12676         * vc-dispatcher.el (vc-start-logentry): Doc fix.
12677         (log-view-process-buffer, log-edit-extra-flags): Declare.
12679         * log-edit.el (log-edit-before-checkin-process): Doc fix.
12681 2010-03-23  Sam Steingold  <sds@gnu.org>
12683         Fix bug#5620: recalculate all markers on compilation buffer
12684         modifications, not on file modifications.
12685         * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12686         variable: the buffer modification time, for buffers not associated with
12687         files.
12688         (compilation-mode): Create it.
12689         (compilation-filter): Update it.
12690         (compilation-next-error-function): Use it instead of
12691         `visited-file-modtime' for timestamp.
12693 2010-03-23  Juri Linkov  <juri@jurta.org>
12695         Implement Occur multi-line matches.
12696         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12698         * replace.el (occur): Doc fix.
12699         (occur-engine): Set `begpt' to the beginning of the first line.
12700         Set `endpt' to the end of the last match line.  At first, count
12701         line numbers between `origpt' and `begpt'.  Split out code from
12702         `out-line' variable to new let-bindings `match-prefix' and
12703         `match-str'.  In `out-line' add non-numeric prefix to all
12704         non-first lines of multi-line matches.  Finally, count lines
12705         between `begpt' and `endpt' and add to `lines'.
12707 2010-03-23  Juri Linkov  <juri@jurta.org>
12709         * replace.el (occur-accumulate-lines, occur-engine):
12710         Use `occur-engine-line' instead of duplicate code.
12711         (occur-engine-line): New function created from duplicate code
12712         in `occur-accumulate-lines' and `occur-engine'.
12714         * replace.el (occur-engine-line): Add optional arg `keep-props'.
12715         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12717 2010-03-23  Juri Linkov  <juri@jurta.org>
12719         * finder.el: Remove TODO tasks.
12721         * info.el (Info-finder-find-node): Add node "all"
12722         with all package info.  Handle a list of multiple keywords
12723         separated by comma.
12724         (info-finder): In interactive use with a prefix argument,
12725         use `completing-read-multiple' to read a list of keywords
12726         separated by comma.
12728 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12730         Add a new completion style `substring'.
12731         * minibuffer.el (completion-basic--pattern): New function.
12732         (completion-basic-try-completion, completion-basic-all-completions):
12733         Use it.
12734         (completion-substring--all-completions)
12735         (completion-substring-try-completion)
12736         (completion-substring-all-completions): New functions.
12737         (completion-styles-alist): New style `substring'.
12739 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12741         Get rid of .elc files after removal of the corresponding .el.
12742         * Makefile.in (compile-clean): New target.
12743         (compile-main): Use it.
12745 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
12747         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12748         don't do make there.  When compiling with separate object dir, there
12749         is no Makefile there.
12751 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12753         Get rid of the ELCFILES abomination, again.
12754         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12755         (all, compile): Don't call compile-last.
12756         (compile-main): Build the "elcfiles" list dynamically.
12757         (compile-targets): New (internal) target.
12759 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
12761         * Makefile.in (top_srcdir): Define.
12762         (abs_top_builddir): Define.
12763         (srcdir): Don't append `/..'.
12764         (EMACS): Use ${abs_top_builddir}.
12765         (all, compile, compile-always, compile-last): Don't set emacswd.
12766         (update-subdirs, update-authors): Use $(top_srcdir) instead of
12767         $(srcdir).
12768         (lisp): Use $(srcdir) instead of @srcdir@.
12770 2010-03-21  Juri Linkov  <juri@jurta.org>
12772         Fix message of multi-line occur regexps and multi-buffer header lines.
12773         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12775         * replace.el (occur-1): Don't display regexp if it is longer
12776         than window-width.  Use `query-replace-descr' to display regexp.
12777         (occur-engine): Don't display regexp in the buffer header for
12778         multi-buffer occur.  Display a separate header line with total
12779         match count and regexp for multi-buffer occur.
12780         Use `query-replace-descr' to display regexp.
12782 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
12784         * net/secrets.el: Fix parenthesis.
12785         (secrets-enabled): Fix parenthesis.
12787 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12789         Use more relative file and directory names.
12790         * Makefile.in (EMACS): Arrange for it to work when we chdir.
12791         (setwins, setwins_almost, setwins_for_subdirs):
12792         Don't `cd'; output relative names.
12793         (all, compile, compile-always, compile-last): Set emacswd.
12794         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12795         Just cd to the lisp source dir so we can use relative file names.
12797         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12799 2010-03-20  Glenn Morris  <rgm@gnu.org>
12801         * textmodes/rst.el: Use faces for font-lock customization, and make the
12802         old -face variables obsolete.
12803         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12804         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12805         (rst-block-face, rst-external-face, rst-definition-face)
12806         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12807         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12808         Make obsolete.
12809         (rst-font-lock-keywords-function): Update for above changes.
12811 2010-03-20  Juri Linkov  <juri@jurta.org>
12813         * s-region.el:
12814         * obsolete/s-region.el: Move to obsolete.
12816 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
12818         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12820 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
12822         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12824 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
12826         Add special markup processing for commit logs.
12827         * log-edit.el (log-edit-extra-flags): New variable.
12828         (log-edit): Add new argument MODE.  Use that mode when non-nil
12829         instead of the log-view-mode.
12830         (log-view-process-buffer): New function.
12832         * vc.el: Document that the checkin method takes optional
12833         arguments.  Document new backend specific method: log-view-mode.
12834         (vc-default-log-edit-mode): New function.
12835         (vc-checkin): Use a backend specific log-view-mode.
12836         Pass extra arguments to the checkin method.
12837         (vc-modify-change-comment): Pass a dummy extra argument.
12839         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12840         log-edit.
12841         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12842         (vc-finish-logentry): Process the log buffer before passing it
12843         down.  Pass log-edit-extra-flags.
12845         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12846         command.
12847         (log-edit-extra-flags, log-edit-before-checkin-process):
12848         New declarations.
12850         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12851         command.
12852         (log-edit-extra-flags, log-edit-before-checkin-process):
12853         New declarations.
12854         (vc-hg-log-edit-mode): New derived mode.
12856         * vc-arch.el (vc-arch-checkin):
12857         * vc-cvs.el (vc-cvs-checkin):
12858         * vc-git.el (vc-git-checkin):
12859         * vc-mtn.el (vc-mtn-checkin):
12860         * vc-rcs.el (vc-rcs-checkin):
12861         * vc-sccs.el (vc-sccs-checkin):
12862         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12864 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12866         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12867         parent typo).
12869 2010-03-19  Glenn Morris  <rgm@gnu.org>
12871         * password-cache.el (password-cache, password-cache-expiry): Autoload.
12873 2010-03-18  Glenn Morris  <rgm@gnu.org>
12875         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12877         * replace.el (query-replace-history): Give it a doc string.
12878         (map-query-replace-regexp): Use query-replace-from-history-variable
12879         and query-replace-to-history-variable.
12881         * mail/hashcash.el (declare-function): Remove duplicate definition.
12883         * mail/emacsbug.el (report-emacs-bug-pretest-address):
12884         Make it an obsolete alias for report-emacs-bug-address.
12885         (message-strip-special-text-properties): Declare.
12886         (report-emacs-bug): Remove test for a pretest bug address.
12887         Combine message-mode-specific code.
12889         * mail/supercite.el: Don't require sendmail.
12890         (mh-in-header-p): Declare rather than using with-no-warnings.
12891         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12892         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
12894         * calendar/cal-french.el: Convert to utf-8.
12896         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12897         Emacs scripts.
12899 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
12901         * net/secrets.el (secrets-enabled): New variable.  Use it instead
12902         of a subfeature.
12904 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
12906         * net/secrets.el (top): Register the D-Bus signals only when the
12907         service "org.freedesktop.secrets" can be pinged.
12908         Provide subfeature `enabled'.
12910 2010-03-14  Juri Linkov  <juri@jurta.org>
12912         Add finder unknown keywords.
12914         * finder.el (finder-unknown-keywords): New function.
12916         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
12917         to create a Finder node with unknown keywords.
12919 2010-03-14  Juri Linkov  <juri@jurta.org>
12921         * finder.el (finder-compile-keywords): Replace `princ' with
12922         `prin1' on a list of symbols interned from keyword strings.
12924         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
12925         a comma, then split keywords using a comma and optional whitespace.
12926         Otherwise, split by whitespace.
12928         * complete.el:
12929         * face-remap.el:
12930         * log-view.el:
12931         * net/hmac-def.el:
12932         * net/hmac-md5.el:
12933         * net/netrc.el:
12934         * progmodes/mixal-mode.el: Fix keywords.
12936 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
12938         * Makefile.in (ELCFILES): Add net/secrets.elc.
12940         * net/secrets.el: New file.
12942 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12944         * facemenu.el (list-colors-display, list-colors-print): New arg
12945         callback.  Use it to allow selecting colors.
12947         * wid-edit.el (widget-image-insert): Insert image prop even if the
12948         current display is non-graphic.
12949         (widget-field-value-set): New fun.
12950         (editable-field): Use it.
12951         (widget-field-value-get): Clean up unused var.
12952         (widget-color-value-create, widget-color--choose-action):
12953         New funs.  Allow using list-colors-display to choose color.
12955 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12957         * cus-edit.el: Resort topmost custom groups.
12958         (custom-buffer-sort-alphabetically): Default to t.
12959         (customize-apropos): Use apropos-parse-pattern.
12960         (custom-search-field): New var.
12961         (custom-buffer-create-internal): Add custom-apropos search field.
12962         (custom-add-parent-links): Don't display parent doc.
12963         (custom-group-value-create): Don't sort top-level custom group.
12964         (custom-magic-value-create): Show visibility button before option name.
12966         (custom-variable-state): New fun, from custom-variable-state-set.
12967         (custom-variable-state-set): Use it.
12968         (custom-group-value-create): Hide options with standard values
12969         using the :hidden-states property.  Use progress reporter.
12971         (custom-show): Simplify.
12972         (custom-visibility): Disable images by default.
12973         (custom-variable): New property :hidden-states.
12974         (custom-variable-value-create): Enable images for
12975         custom-visibility widgets.  Use :hidden-states property to
12976         determine initial visibility.
12978         * wid-edit.el (widget-image-find): Give images center ascent.
12979         (visibility): Add :on-image and :off-image properties.
12980         (widget-visibility-value-create): Use them.
12982 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12984         * cus-edit.el (processes): Remove from development group.
12985         (oop, hypermedia): Delete group.
12986         (comm): Promote to top-level group.
12988         * net/browse-url.el (browse-url):
12989         * net/xesam.el (xesam):
12990         * net/tramp.el (tramp):
12991         * net/goto-addr.el (goto-address):
12992         * net/ange-ftp.el (ange-ftp): Put in comm group.
12994         * view.el (view): Remove from editing group.
12996         * uniquify.el (uniquify): Put in files group.
12998         * net/browse-url.el (browse-url):
12999         * ps-print.el (postscript): Put in external group.
13001         * cus-edit.el (outlines):
13002         * textmodes/text-mode.el (text-mode-hook):
13003         * textmodes/table.el (table):
13004         * textmodes/picture.el (picture):
13005         * outline.el (outlines): Put in wp group.
13007         * nxml/nxml-mode.el (nxml): Remove from wp group.
13009         * net/tramp-imap.el (tramp-imap): Put in tramp group.
13011         * mail/metamail.el (metamail): Remove from hypermedia group.
13013         * cus-edit.el (abbrev):
13014         * whitespace.el (whitespace):
13015         * vcursor.el (vcursor):
13016         * reveal.el (reveal):
13017         * hl-line.el (hl-line): Put in convenience group.
13019         * epg-config.el (epg): Put in data group.
13021         * emulation/pc-select.el (pc-select): Put in emulations group.
13023         * calculator.el (calculator): Put in applications group.
13025 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
13027         Add .dir-locals.el support for file-less buffers.
13028         * files.el (hack-local-variables): Split out code to apply local
13029         variable settings ...
13030         (hack-local-variables-apply): ... here.  New function.
13031         (hack-dir-local-variables): Use the default directory for when the
13032         buffer does not have an associated file.
13033         (hack-dir-local-variables-non-file-buffer): New function.
13034         * diff-mode.el (diff-mode):
13035         * vc-annotate.el (vc-annotate-mode):
13036         * vc-dir.el (vc-dir-mode):
13037         * log-edit.el (log-edit-mode):
13038         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
13040 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
13042         Add support for shelving snapshots and for showing shelves.
13043         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
13044         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
13045         New functions.
13046         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13047         (vc-bzr-extra-menu-map): Map them.
13049 2010-03-11  Glenn Morris  <rgm@gnu.org>
13051         * cus-edit.el (customize-changed-options-previous-release):
13052         Bump to 23.1.
13054         * image.el (image-animate-max-time): Fix :version tag.
13056 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
13058         * Branch for 23.2.
13060 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13062         * vc-git.el (vc-git-revision-table): Include remote branches.
13064 2010-03-10  Kim F. Storm  <storm@cua.dk>
13066         Animated image API.
13067         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
13069         * image.el (image-animate-max-time): New defcustom.
13070         (image-animated-types): New defconst.
13071         (create-animated-image, image-animate-timer)
13072         (image-animate-start, image-animate-stop, image-animate-timeout)
13073         (image-animated-p): New functions.
13075         * image-mode.el (image-toggle-display-image):
13076         Replace `create-image' with `create-animated-image'.
13078 2010-03-09  Miles Bader  <miles@gnu.org>
13080         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
13081         instead of "format:"; this ensures that the output is
13082         newline-terminated.
13084 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
13086         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
13087         that all errors are caught, and that the return value is always a
13088         list (Bug#5692).
13090 2010-03-08  Kenichi Handa  <handa@m17n.org>
13092         * language/misc-lang.el (windows-1256): New coding system.
13093         (cp1256): New alias of windows-1256 (bug#5690).
13095 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
13097         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
13098         call to rfc822-bad-address.  (Bug#5692)
13100 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
13102         * vc-git.el (vc-git-annotate-extract-revision-at-line):
13103         Use vc-git-root as default directory for revision path (Bug#5657).
13105 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
13107         * calculator.el (calculator): Don't bind split-window-keep-point
13108         (Bug#5674).
13110 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
13112         * vc-git.el: Re-flow to fit into 80 columns.
13113         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
13114         Remove spurious `quote' element in each case alternative.
13115         (vc-git-show-log-entry): Use prog1.
13116         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
13118 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13120         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
13122 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
13124         * macros.el (insert-kbd-macro): Look up keyboard macro using the
13125         definition, not the name (Bug#5481).
13127 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
13129         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
13130         argument with a local variable.  (Bug#5670)
13132 2010-03-02  Juri Linkov  <juri@jurta.org>
13134         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
13136 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
13138         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
13139         error when FILENAME and NEWNAME are existing remote directories.
13141         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
13142         parameter DIR-FLAG.
13144 2010-03-02  Glenn Morris  <rgm@gnu.org>
13146         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
13147         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
13149 2010-03-01  Kenichi Handa  <handa@m17n.org>
13151         * language/burmese.el (burmese-composable-pattern): Rename from
13152         myanmar-composable-pattern.
13154         * international/characters.el (script-list):
13155         * international/fontset.el (script-representative-chars):
13156         Change myanmar to burmese.
13157         (otf-script-alist): Likewise.
13158         (setup-default-fontset): Likewise.  Re-fix :otf spec.
13160 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
13162         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
13164 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
13166         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
13168 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
13170         * net/tramp.el (tramp-handle-write-region): START can be a string.
13171         Take care in the checks.  Reported by Dan Davison
13172         <davison@stats.ox.ac.uk>.
13174 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
13176         * net/dbus.el (dbus-introspect, dbus-get-property)
13177         (dbus-set-property, dbus-get-all-properties):
13178         Use `dbus-call-method' when noninteractive.  (Bug#5645)
13180 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
13182         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
13183         * emacs-lisp/elint.el (elint-add-required-env):
13184         * calendar/icalendar.el (icalendar--add-diary-entry):
13185         * calc/calcalg2.el (math-tracing-integral):
13186         * files.el (recover-session-finish): Use with-current-buffer
13187         instead of save-excursion.
13189 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13191         Fix in-buffer completion when after-change-functions modify the buffer.
13192         * minibuffer.el (completion--replace): New function.
13193         (completion--do-completion): Use it and use relative movement.
13195 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
13197         * international/fontset.el (setup-default-fontset): Fix :otf spec.
13199 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
13201         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
13202         Allow the characters _<> in the stack entry (Bug#5653).
13204 2010-02-26  Kenichi Handa  <handa@m17n.org>
13206         * language/burmese.el: Fix entries in composition-function-table.
13207         (myanmar-composable-pattern): New variable.
13209         * international/fontset.el (setup-default-fontset): Add an entry
13210         for myanmar.
13212         * international/characters.el (script-list): Add Myanmar
13213         Extended-A.
13215 2010-02-26  Glenn Morris  <rgm@gnu.org>
13217         * custom.el (custom-initialize-delay): Doc fix.
13219         * mail/sendmail.el (send-mail-function): Autoload the call
13220         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
13222 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
13224         * files.el (hack-local-variables-filter): For eval forms, also
13225         check safe-local-variable-p (Bug#5636).
13227 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
13229         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
13230         setting the modes by `ignore-errors'.  It might fail, for example
13231         if the file is not owned by the user but the group.
13232         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
13234 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
13236         * files.el (directory-listing-before-filename-regexp):
13237         Use stricter matching for iso-style dates, to avoid false matches with
13238         date-like filenames (Bug#5597).
13240         * htmlfontify.el (htmlfontify): Doc fix.
13242         * eshell/eshell.el (eshell): Doc fix.
13244         * startup.el (fancy-about-screen): In mode-line, apply
13245         mode-line-buffer-id face only to the buffer name (Bug#5613).
13247 2010-02-20  Kevin Ryde  <user42@zip.com.au>
13249         * progmodes/compile.el (compilation-error-regexp-alist-alist):
13250         In `watcom' anchor regexp to start of line, to avoid slowness
13251         (Bug#5599).
13253 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
13255         * subr.el (remove-yank-excluded-properties): Explain in a comment
13256         why `category' property is removed.
13258 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
13260         * isearch.el (isearch-update-post-hook, isearch-update):
13261         Revert 2010-02-17 change.
13263 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
13265         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
13266         (icalendar--convert-weekly-to-ical)
13267         (icalendar--convert-yearly-to-ical)
13268         (icalendar--convert-block-to-ical)
13269         (icalendar--convert-cyclic-to-ical)
13270         (icalendar--convert-anniversary-to-ical): Take care of time
13271         specifications where hour has 1-digit only (Bug#5549).
13273 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
13275         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
13276         of disassemble output in GDB 7.1.
13278 2010-02-19  Glenn Morris  <rgm@gnu.org>
13280         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
13281         property.  (Bug#5593)
13283 2010-02-18  Sam Steingold  <sds@gnu.org>
13285         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
13287 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13289         Use abbreviated file names in bookmarks (bug#5591).
13290         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
13291         calls to expand-file-name.
13292         (bookmark-relocate): Use abbreviated file names in bookmarks.
13293         (bookmark-load): Use abbreviated file names in messages.
13295 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
13297         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
13298         expand "." and "..".  Reported by Thierry Volpiatto
13299         <thierry.volpiatto@gmail.com>.
13301 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
13303         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
13304         permissions of the temporary file to "0600".  In case the remote
13305         file has no read permissions for the owner, there might be
13306         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
13308 22010-02-18  Glenn Morris  <rgm@gnu.org>
13310         * emacs-lisp/authors.el (authors-renamed-files-alist):
13311         Add entries for INSTALL.CVS.
13313 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
13315         * vc-bzr.el: Fix typo in Known Bugs section.
13317         * isearch.el (isearch-update-post-hook): New hook.
13318         (isearch-update): Use the new hook.
13320 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
13322         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13323         Fix errors in copying directories.
13324         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13325         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13326         (tramp-handle-delete-file)
13327         (tramp-handle-dired-recursive-delete-directory)
13328         (tramp-handle-write-region): Flush also the cache for the upper
13329         directory.
13331 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
13333         * simple.el (save-interprogram-paste-before-kill): Doc fix.
13335         * cus-edit.el (hardware): Doc fix.
13337         * man.el (man): Add to external custom group.
13339         * delim-col.el (columns): Move to wp custom group.
13341         * doc-view.el (doc-view): Add to data custom group.
13343         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13345         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13346         by ispell-parse-output (Bug#5575).
13348 2010-02-16  Kenichi Handa  <handa@m17n.org>
13350         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13351         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13352         (skkdic-convert): Use `euc-japan' coding system for writing.
13354 2010-02-16  Glenn Morris  <rgm@gnu.org>
13356         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13357         tex-main-file before using it.  (Bug#5562)
13359 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13361         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13362         warnings, since it is annoying for the user to see them each time he
13363         runs the code.
13365 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
13367         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13368         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13369         instead of PROC for caching "first-password-request".  Otherwise,
13370         new processes would not profit from passwords already entered.
13372         * net/tramp-cache.el (tramp-dump-connection-properties):
13373         Don't save "first-password-request" property.
13375 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
13377         * outline.el (outline-head-from-level):
13378         * simple.el (with-wrapper-hook):
13379         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13380         (elint-defun, elint-buffer-env, elint-top-form-logged)
13381         (elint-unbound-variable):
13382         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13383         Fix typos in docstrings.
13385 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
13387         * files.el (insert-directory): When WILDCARD-REGEXP and
13388         FULL-DIRECTORY-P are nil, insert the file entry instead of the
13389         whole directory.  (Bug#5551)
13391         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
13392         dired's alignment sanity.  (Bug#5516)
13394 2010-02-14  Juri Linkov  <juri@jurta.org>
13396         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13397         Remove remaining ^H with their preceding chars.  (Bug#5566)
13399 2010-02-13  Glenn Morris  <rgm@gnu.org>
13401         * simple.el (transpose-subr): Give it a doc-string.
13403         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13404         Doc fixes.
13406 2010-02-12  Juri Linkov  <juri@jurta.org>
13408         * arc-mode.el (archive-unique-fname): Make directories for nested
13409         archives.  (Bug#5540)
13411 2010-02-12  Juri Linkov  <juri@jurta.org>
13413         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
13415 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13417         * subr.el (copy-overlay): Handle deleted overlays.
13419         * man.el (Man-completion-table): Don't signal an error if we can't run
13420         manual-program (bug#4056).
13422 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
13424         * textmodes/artist.el (artist-mt): Fix typos in docstring.
13426 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13428         * info.el (Info-bookmark-jump): Simplify.
13430         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13431         (bookmark-default-handler): Accept new bookmark field `buffer'.
13433 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
13435         * iswitchb.el (iswitchb-completions): Revert last change.
13437 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
13439         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13440         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13441         This prevents file names like "~/" being listed literally.
13443 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
13445         * term/xterm.el (xterm-maybe-set-dark-background-mode):
13446         Remove dead code.  (Bug#5546)
13448 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
13450         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13451         correctly (Bug#5548).
13453 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
13455         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13456         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13458 2010-02-08  Kenichi Handa  <handa@m17n.org>
13460         * international/mule-util.el (with-coding-priority): Add autoload
13461         cookie for putting `lisp-indent-function'.
13463 2010-02-07  Glenn Morris  <rgm@gnu.org>
13465         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13466         Move F2003 named interfaces from keywords-2 to keywords-1, and
13467         use function-name-face rather than constant-face.
13468         Simplify "abstract interface" regexp.
13470 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
13472         * eshell/esh-util.el (eshell-file-attributes): New optional arg
13473         ID-FORMAT.  Pass it to `file-attributes'.
13475         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
13477 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
13479         * faces.el (set-face-attribute): Allow calling
13480         internal-set-lisp-face-attribute with 'unspecified family and
13481         foundry argument (Bug#5536).
13483 2010-02-07  Glenn Morris  <rgm@gnu.org>
13485         * progmodes/f90.el (f90-font-lock-keywords-2)
13486         (f90-looking-at-type-like, f90-looking-at-program-block-end):
13487         Handle F2003 named interfaces.
13489 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
13491         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
13492         beg and end before calling c-get-state-before-change-functions.
13494 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
13496         * vc-bzr.el (vc-bzr-dir-extra-headers):
13497         Disable the pending merges header.
13499 2010-02-05  Juri Linkov  <juri@jurta.org>
13501         * doc-view.el (doc-view-mode):
13502         * image-mode.el (image-mode): Put property mode-class=special.
13503         (Bug#4896)
13505 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
13507         * vc-svn.el (vc-svn-revision-table): New function.
13509 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
13511         * net/ange-ftp.el (ange-ftp-insert-directory):
13512         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13513         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13514         Handle also directories.  (Bug#5478)
13516 2010-02-05  Glenn Morris  <rgm@gnu.org>
13518         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
13520 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
13522         * startup.el (command-line-1): Convert options beginning with a
13523         single dash as well (Bug#5519).
13525 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13527         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
13528         * minibuffer.el (completion-initials-expand): Only check the presence
13529         of delims *within* the boundaries, since otherwise the / delim is
13530         always found for files.
13532         Fix up various corner case problems.
13533         * doc-view.el (doc-view-last-page-number): New function.
13534         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
13535         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
13536         (doc-view-kill-proc): Avoid inf-loop in freak cases.
13537         (doc-view-reconvert-doc): Use the new recursive delete-directory.
13538         (doc-view-convert-current-doc): Don't create the resolution.el file
13539         here any more.
13540         (doc-view-pdf/ps->png): Do it here instead.
13541         (doc-view-already-converted-p): Check that resolution.el is present.
13542         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
13543         windows that are not yet showing images.
13545 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
13547         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
13548         `dired-uncache' for every elemnt which is an absolute file name.
13550         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
13551         directory, handle its directory component.
13552         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
13553         function is called permanently and creates noise, otherwise.
13555         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13556         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13557         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
13559 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
13561         * macros.el (apply-macro-to-region-lines):
13562         Minor simplification.  (Bug#5485)
13564 2010-02-04  Glenn Morris  <rgm@gnu.org>
13566         * mail/rmail.el (rmail-show-message-1): Handle malformed
13567         quoted-printable text.  (Bug#5441)
13569         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
13571         * simple.el (visual-line-mode): Capitalize lighter.
13573 2010-02-03  John Wiegley  <jwiegley@gmail.com>
13575         * iswitchb.el (iswitchb-completions): Add bookmark files to the
13576         list of files considered for "virtual buffer" completions.
13578 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
13580         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
13581         also in case of (and (not full) (not wildcard)).  This is needed
13582         when dired is called with a list of files, which are not in
13583         `default-directory'.  (Bug#5478)
13585 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13587         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13589 2010-02-02  Juri Linkov  <juri@jurta.org>
13591         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13592         from unidiff to allow function-line after @@.
13594 2010-02-02  Juri Linkov  <juri@jurta.org>
13596         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13597         '(RCS SCCS) with inverted condition.
13599 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
13601         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13602         messages.
13604 2010-02-01  Juri Linkov  <juri@jurta.org>
13606         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13607         compare with "pkunzip" and "pkzip" instead of only "pkzip".
13608         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13609         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
13611 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13613         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13614         (doc-view-revert-buffer): New command.
13615         (doc-view-mode-map): Use it.
13617 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
13619         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13620         pending merge is detected.
13622 2010-01-31  Juri Linkov  <juri@jurta.org>
13624         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13625         beginning of interactive spec like all other grep commands do.
13626         Put "all" in front of "gz".  (Bug#5260)
13628 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
13630         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13632 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
13634         * dirtrack.el (dirtrack): Warn instead of signalling error if the
13635         regexp is incorrect (Bug#5476).
13637 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
13639         * net/tramp.el (tramp-handle-insert-directory): Handle also
13640         symlinks, when FILENAME is not in `default-directory'.
13642 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
13644         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13645         FILE is not in `default-directory'.  (Bug#5478)
13647         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13648         of SWITCHES.  Handle the case, FILENAME is not in
13649         `default-directory'.  (Bug#5478)
13650         (tramp-register-file-name-handlers): Add safe-magic property.
13652 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
13654         * arc-mode.el (archive-zip-extract): Quote the argument passed to
13655         unzip (Bug#5475).
13657 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
13659         * progmodes/flymake.el (flymake-allowed-file-name-masks)
13660         (flymake-master-make-header-init): Add other C++ filename masks.
13661         (flymake-find-possible-master-files)
13662         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13664 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
13666         Fix some busybox annoyances.
13668         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13669         not responding." string.
13670         (tramp-open-connection-setup-interactive-shell): Dump stty
13671         settings.  Enable "neveropen" arg for all `tramp-send-command'
13672         calls.  Handle "=" in variable values properly.
13673         (tramp-find-inline-encoding): Raise an error, when no encoding is
13674         found.
13675         (tramp-wait-for-output): Check, whether PROC buffer is available.
13676         Remove spurious " ^H" sequences, sent by busybox.
13677         (tramp-get-ls-command): Suppress coloring, if possible.
13679 2010-01-28  Glenn Morris  <rgm@gnu.org>
13681         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
13683         * log-edit.el (log-edit-strip-single-file-name): Add missing
13684         :safe, :group, and :version tags.
13686 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
13688         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13689         buffers.  (Bug#5477)
13691 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
13693         * files.el (delete-directory): Handle moving to trash without
13694         first doing recursion (Bug#5436).
13696 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
13698         * vc-hooks.el (vc-path): Mark as obsolete.
13700 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
13702         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13703         names too.
13705         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13706         for the short log.
13707         (vc-bzr-log-view-mode): Adjust regexp for the above change.
13709 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
13711         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13713         * vc-bzr.el (vc-bzr-revision-table): New function.
13715 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>
13717         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13718         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
13720 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
13722         Remove support for adding --signoff on commit.
13723         Future support will use an incompatible generic mechanism.
13724         * vc-git.el (vc-git-add-signoff): Remove variable.
13725         (vc-git-toggle-signoff): Remove function.
13726         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13728         * term/xterm.el (xterm-maybe-set-dark-background-mode):
13729         Rename from xterm-set-background-mode.  Return t if the background mode
13730         was set.
13731         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13732         earlier, call it again in case the background mode has changed.
13734 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
13736         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13737         (Bug#3541).
13739 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
13741         * emacs-lisp/assoc.el (aelement): Doc fix.
13742         (aput, adelete, amake): Use lexical-let (Bug#5450).
13744 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
13746         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13747         is the same as subprogram call, not declaration.  (Bug#5435).
13749 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
13751         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13752         (tramp-smb-maybe-open-connection): Use it.
13754 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
13756         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
13758 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13760         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13761         just because we see "encoding: 8bit".
13762         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13764 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
13766         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13768 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
13770         * jka-compr.el (jka-compr-load): If load-file is not in
13771         load-history, try its file-truename version.  (bug#5447)
13773 2010-01-21  Alan Mackenzie  <acm@muc.de>
13775         Fix a situation where deletion of a cpp construct throws an error.
13776         * progmodes/cc-engine.el (c-invalidate-state-cache):
13777         Before invoking c-with-all-but-one-cpps-commented-out, check that the
13778         special cpp construct is still in the buffer.
13779         (c-parse-state): Record the special cpp with markers, not numbers.
13781 2010-01-21  Kenichi Handa  <handa@m17n.org>
13783         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13784         process last-command-event, as it is now decoded first (Bug#5380).
13786 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
13788         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13790 2010-01-20  Glenn Morris  <rgm@gnu.org>
13792         * indent.el (tab-always-indent): Fix custom-type.
13794 2010-01-19  Alan Mackenzie  <acm@muc.de>
13796         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13797         buffer throws "args out of range".
13798         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13799         playing the role of delimiter.
13801 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
13803         * progmodes/ada-mode.el: Fix bug#5400.
13804         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13805         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13806         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
13807         Improve comments in "is" portion.  Handle null procedure declaration.
13808         (ada-move-to-end): Improve doc string.
13810 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
13812         * ido.el (ido-cur-list): Initialize to nil.
13813         Remove obsolete information from commentary.
13814         (ido-choice-list): Initialize to nil.
13815         (ido-get-bufname): Reject minibuffers.
13816         (ido-make-buffer-list): If "default" is a nonexistent
13817         buffer, ignore it, as per the function's comment.
13818         (ido-kill-buffer-internal): New function.
13819         (ido-kill-buffer-at-head): Use it.
13820         (ido-visit-buffer): Likewise.
13822 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
13824         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13826 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
13828         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13829         Fix typos in chart titles.
13831         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13832         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13833         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13834         (describe-class, eieio-describe-generic, describe-generic):
13835         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13836         (eieio-speedbar-expand):
13837         * emulation/viper-cmd.el (viper-exec-form-in-vi)
13838         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13839         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13840         (viper-del-backward-char-in-replace, viper-backward-indent)
13841         (viper-brac-function, viper-register-to-point, viper-submit-report):
13842         * net/tramp.el (tramp-remote-coding-commands):
13843         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13844         Fix typos in docstrings.
13846 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
13848         * mail/sendmail.el (mail-yank-original): Set the mark if the
13849         specified function for yanking does not do it.
13851 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
13853         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
13855         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13856         resyncing a directory.
13858 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
13860         * progmodes/ada-mode.el: Fix bug#1920.
13861         (ada-ident-re): Delete ., allow multibyte characters.
13862         (ada-goto-label-re): New; matches goto labels.
13863         (ada-block-label-re): New; matches block labels.
13864         (ada-label-re): New; matches both.
13865         (ada-named-block-re): Delete; callers changed to use
13866         `ada-block-label-re' instead.
13867         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13868         Use `ada-block-label-re'.
13869         (ada-indent-on-previous-lines): Improve handling of goto labels.
13870         (ada-get-indent-block-start): Special-case block label.
13871         (ada-get-indent-label): Split into `ada-indent-block-label' and
13872         `ada-indent-goto-label'.
13873         (ada-goto-stmt-start, ada-goto-next-non-ws):
13874         Optionally ignore goto labels.
13875         (ada-goto-next-word): Simplify.
13876         (ada-indent-newline-indent-conditional): Insert newline before
13877         trying to fix indentation; doc fix.
13879 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
13881         * calc/calc.el (calc-command-flags): Give it an initial value.
13883 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
13885         * files.el (minibuffer-with-setup-hook):
13886         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13887         (artist-key-draw-continously, artist-key-do-continously-continously)
13888         (artist-key-set-point-continously, artist-mouse-draw-continously):
13889         Fix typos in docstrings.
13891 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
13893         * nxml/nxml-mode.el (nxml-extend-after-change-region):
13894         Never return t (Bug#3898).
13896 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
13898         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13899         can parse the output of the external commands (Bug#5279).
13901 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
13903         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13905 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
13907         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13909         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
13911         * startup.el (command-line): Remove unused --icon-type arg.
13912         Handle --display arg, passing it to command-line-1 (Bug#5392).
13914 2010-01-16  Mario Lang  <mlang@delysid.org>
13916         * emacs-lisp/chart.el (chart-translate-namezone):
13917         * textmodes/artist.el (artist-compute-popup-menu-table):
13918         Remove duplicated words in doc-strings.
13920 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
13922         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
13923         to mairix-search to suppress threading (Bug#5342).
13925 2010-01-15  Kenichi Handa  <handa@m17n.org>
13927         * international/mule-cmds.el (canonicalize-coding-system-name):
13928         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
13930 2010-01-15  Glenn Morris  <rgm@gnu.org>
13932         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
13934         * wid-edit.el (widget-keymap): Doc fix.
13936         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
13937         former seems to be more widely accepted by various svn versions.
13939 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13941         * find-cmd.el (find-constituents):
13942         * vc-arch.el (vc-arch-root):
13943         * window.el (window-body-height, pop-up-frames):
13944         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
13945         * progmodes/ada-stmt.el (ada-if):
13946         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
13947         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
13948         (ispell-encoding8-command, ispell-aspell-supports-utf8)
13949         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
13951         * progmodes/flymake.el (flymake-post-syntax-check):
13952         Fix typo in error message.
13954 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13956         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
13957         which is always a string.  (Bug#5313)
13959 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13961         * progmodes/ada-xref.el (ada-default-prj-properties):
13962         Simplify previous change.
13964 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13966         * progmodes/ada-xref.el (ada-default-prj-properties):
13967         Default ada_project_path to $ADA_PROJECT_PATH.
13969 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13971         * progmodes/ada-mode.el (ada-create-keymap):
13972         Override `narrow-to-defun' with `ada-narrow-to-defun'.
13974 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13976         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
13977         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
13978         (ada-get-current-indent, ada-imenu-generic-expression)
13979         (ada-which-function): Check for it.
13981 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13983         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
13984         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
13986 2010-01-14  Glenn Morris  <rgm@gnu.org>
13988         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
13990 2010-01-14  Kenichi Handa  <handa@m17n.org>
13992         * composite.el (auto-composition-mode): Make it a buffer local
13993         variable (permanent-local).
13994         (auto-composition-function): Set the default value to
13995         auto-compose-chars.
13996         (auto-composition-mode): Make it a simple function, not a minor mode.
13997         (global-auto-composition-mode): Likewise.
13998         (turn-on-auto-composition-if-enabled): Delete it.
14000 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
14002         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
14004 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
14006         * files.el (copy-directory): Compute target for recursive
14007         directories with identical names.  (Bug#5343)
14009 2010-01-12  Glenn Morris  <rgm@gnu.org>
14011         * mail/emacsbug.el (report-emacs-bug-pretest-address):
14012         Set it to bug-gnu-emacs rather than emacs-pretest-bug.
14014 2010-01-11  Sam Steingold  <sds@gnu.org>
14016         * imenu.el (imenu-default-create-index-function): Detect infinite
14017         loops caused by imenu-prev-index-position-function.
14019 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
14021         * htmlfontify.el (htmlfontify-load-rgb-file)
14022         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
14023         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
14024         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
14025         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
14026         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
14027         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
14028         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
14029         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
14030         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
14031         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
14032         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
14033         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
14034         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
14035         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
14036         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
14037         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
14038         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
14039         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
14040         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
14041         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
14042         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
14043         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
14044         backslash-quoting from parentheses, etc.
14046 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
14048         * progmodes/js.el: Autoload javascript-mode alias.
14050 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
14052         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
14053         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
14054         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
14055         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
14056         Fix typos in docstrings.
14057         (ffap-url-regexp): Doc fix.
14058         (ffap-at-mouse): Fix typo in message.
14060 2010-01-11  Glenn Morris  <rgm@gnu.org>
14062         * version.el (emacs-copyright): Set copyright year to 2010.
14064 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
14066         * format.el (format-annotate-function): Only set
14067         write-region-post-annotation-function after running to-fn so as not to
14068         affect nested write-region calls (bug#5273).
14070 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
14072         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
14073         wisent/python.el.
14075 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
14077         * man.el (Man-goto-section): Signal error if the section is not
14078         found (Bug#5317).
14080 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
14082         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
14083         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
14085 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
14087         * progmodes/compile.el: Don't treat compile-command as safe if
14088         compilation-read-command might be nil (Bug#4218).
14090 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
14092         * startup.el (command-line-1): Use orig-argi to check for ignored X and
14093         NS options.
14095 2010-01-08  Kenichi Handa  <handa@m17n.org>
14097         * international/fontset.el (build-default-fontset-data):
14098         Exclude characters in scripts kana, hangul, han, or cjk-misc.
14100 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
14102         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
14103         to `create-file-buffer' as it expects, not just a buffer name.
14104         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
14105         to help uniquify.  (Bug#3224)
14107 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
14109         * font-setting.el (font-setting-change-default-font): Use user-spec
14110         instead of name.
14112 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
14114         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
14116 2010-01-05  Tom Tromey  <tromey@redhat.com>
14118         * progmodes/python.el (python-font-lock-keywords):
14119         Handle qualified decorators (Bug#881).
14121 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
14123         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
14124         in a lightweight checkout.
14126 2010-01-05  Kenichi Handa  <handa@m17n.org>
14128         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
14130 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
14132         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
14134 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
14136         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
14137         checkouts.  (Bug#618)
14138         (vc-bzr-log-view-mode): Also highlight the author.
14139         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
14140         (vc-bzr-shelve-menu-map):
14141         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
14142         (vc-bzr-shelve-apply): Make prompt more explicit.
14144 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
14146         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
14147         They are valid characters in URL paths (rfc3986), and at least
14148         Firefox does not understand the encoded version (Bug#3166).
14150 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
14152         * progmodes/octave-mod.el (octave-end-keywords)
14153         (octave-block-begin-or-end-regexp, octave-block-match-alist):
14154         Add "end" keyword (Bug#3061).
14155         (octave-end-as-array-index-p): New function.
14156         (calculate-octave-indent): Use it.
14158 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14160         * bookmark.el: Consistently put the text property on the bookmark name.
14161         (bookmark-bmenu-marks-width): Bump back to 2, to include
14162         annotation marks.
14163         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
14164         property on the bookmark name, instead of not putting it at all.
14165         (bookmark-bmenu-list): Fix where we put the text property.
14167 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14169         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
14170         for showing buffer modified state (as added in the previous change).
14172 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14174         * bookmark.el: Show modified state of bookmark buffer more accurately.
14175         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
14176         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
14177         (with-buffer-modified-unmodified): New macro.
14178         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14179         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
14180         Use new macro to preserve the buffer modified state.
14182 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14184         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
14185         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
14186         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
14187         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
14188         (bookmark-bmenu-rename, bookmark-bmenu-locate)
14189         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
14190         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
14192 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
14194         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14195         Make the lines in the generated doc string shorter.  (Bug#4668)
14197 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
14199         * net/rcirc.el: Add follow-link binding (Bug#4738).
14201 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
14203         * Makefile.in (bzr-update): Rename from cvs-update.
14204         (cvs-update): New target for backward compatibility.
14206         * makefile.w32-in (bzr-update): Rename from cvs-update.
14207         (cvs-update): New target for backward compatibility.
14209 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14211         * bookmark.el: Remove gratuitous gratitude.
14213 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14215         * bookmark.el (bookmark-bmenu-any-marks): New function.
14216         (bookmark-bmenu-save): Clear buffer modification if no marks.
14218 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14220         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
14221         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
14222         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
14223         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
14225         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
14226         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
14227         To: emacs-devel {_AT_} gnu.org
14228         Subject: bookmark.el bug report
14229         Date: Mon, 28 Dec 2009 14:19:16 +0800
14230         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
14232 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14234         * bookmark.el: Improvements suggested by Drew Adams:
14235         (bookmark-bmenu-ensure-position): New name for
14236         `bookmark-bmenu-check-position'.  Just ensure the position,
14237         don't return any meaningful value.
14238         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
14239         New constants.
14241 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
14243         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
14244         (bookmark-yank-point, bookmark-bmenu-check-position):
14245         Fix typos in docstrings.
14246         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
14247         (bookmark-name-from-full-record, bookmark-get-position)
14248         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
14249         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
14250         Remove useless quoting of parenthesis, etc. in docstrings.
14252         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
14253         (ediff-append-custom-diff): Fix typo in error message.
14254         (ediff-meta-mark-equal-files): Fix typos in messages.
14256         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
14258         * net/imap-hash.el (imap-hash-make): Doc fix.
14259         (imap-hash-test): Fix typo in error message; reflow docstring.
14260         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
14261         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
14262         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
14263         Fix typos in docstrings.
14264         (imap-hash-open-connection): Fix typo in error message.
14266         * play/gomoku.el (gomoku): Fix typos in docstring.
14268         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
14269         (gdb-jsonify-buffer): Fix typos in docstring.
14270         (gdb-goto-breakpoint): Fix typo in error message.
14271         ("Display Other Windows"): Fix typo in help message.
14272         (gdb-speedbar-expand-node): Fix typo in question.
14274         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
14275         (idlwave-html-system-help-location, idlwave-html-help-location)
14276         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
14277         (idlwave-help-browser-generic-args, idlwave-help-directory)
14278         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
14279         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
14280         (idlwave-online-help, idlwave-help-html-link)
14281         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
14282         Fix typos in docstrings.
14283         (idlwave-help-with-source, idlwave-help-find-routine-definition):
14284         Reflow docstrings.
14285         (idlwave-help-assistant-start): Fix typo in error message.
14287         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
14288         (octave-electric-space): Fix typos in docstrings.
14290 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
14292         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
14294 2010-01-01  Juri Linkov  <juri@jurta.org>
14296         * comint.el (comint-input-ring-size): Make it a defcustom and
14297         increase the default to 500 (Bug#5148).
14299 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
14301         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
14302         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
14303         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
14305 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
14307         Show working revision correctly for mercurial.
14308         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
14309         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14311 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
14313         Declare some functions for the byte-compiler.
14314         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14315         (speedbar-timer-fn, speedbar-change-expand-button-char)
14316         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14318 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
14320         This changeset reverts GDB Graphical Interface to use annotations.
14321         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14323 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
14325         Make vc-dir work on subdirectories of the bzr root.
14326         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14327         Return file names relative to it.
14328         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14329         relative directory to vc-bzr-after-dir-status.
14331 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
14333         * font-lock.el (font-lock-refresh-defaults): New function, which
14334         can be used to let font-lock react to external changes in
14335         variables like font-lock-defaults and keywords.
14336         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14338 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
14340         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14342         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14344 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
14346         Supersede color.diff settings in git log (bug#5211).
14348         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14349         escape chars in its output when the user has color.diff set to `always'.
14350         This fix works on git 1.4.2 and newer (released on 2006-08-13).
14352 2009-12-26  Kevin Ryde  <user42@zip.com.au>
14354         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14355         node.  Keep previous "Index" name to work with past coreutils too.
14357         * man.el (man): Revise docstring a bit to show -a and -l as
14358         examples.  Add -k description since support for it has otherwise
14359         been a secret.  (Further to bug#3717.)
14360         (Man-bgproc-sentinel): When "-k foo" produces no output show error
14361         "no matches" rather than "Can't find manpage", as the latter reads
14362         like -k was interpreted as a page name, which is not so.  (Bug#5431)
14364 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
14366         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14367         switches.  Check also for //SUBDIRED// line.
14369 2009-12-25  Kenichi Handa  <handa@m17n.org>
14371         * language/indian.el (devanagari-composable-pattern): Fix to
14372         handle ZWNJ and ZWJ.  Use it in composition-function-table for
14373         Devanagari.
14374         (malayalam-composable-pattern): Fix previous change.
14376 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14378         * ps-print.el (ps-face-attributes): It was not returning the
14379         attribute face for faces specified as string.  Reported by harven
14380         <harven@free.fr>.  (Bug#5254)
14381         (ps-print-version): New version 7.3.5.
14383 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
14385         * calendar/icalendar.el (icalendar--convert-tz-offset):
14386         Fix timezone names.
14387         (icalendar--convert-tz-offset): Fix the "last-day-problem".
14388         (icalendar--add-diary-entry): Remove the trailing blank that
14389         diary-make-entry inserts.
14391 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
14393         Make `file-expand-wildcards' work for remote files.
14395         * files.el (file-expand-wildcards): In case of remote files, check
14396         only local file name part for wildcards.  Provide feature 'files
14397         and subfeature 'remote-wildcards.  (Bug#5198)
14399         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14400         if there is already an established connection.
14401         (tramp-advice-file-expand-wildcards): Remove it.
14403         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14404         (tramp-advice-file-expand-wildcards): Move from tramp.el.
14405         Activate advice for older GNU Emacs versions.  (Bug#5237)
14407 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
14409         Some doc fixes (more needed).
14411         * find-cmd.el (find-constituents): Reflow docstring.
14412         (find-cmd, find-prune, find-command): Fix typos in docstrings.
14413         (find-generic): Doc fix.
14415 2009-12-17  Juri Linkov  <juri@jurta.org>
14417         Fix regression from 23.1 to allow multiple modes in Local Variables.
14419         * files.el (hack-local-variables-filter): While ignoring duplicates,
14420         don't take `mode' into account.
14421         (hack-local-variables-filter, hack-dir-local-variables):
14422         Don't remove duplicate `mode' from local-variables-alist (like `eval').
14424 2009-12-17  Juri Linkov  <juri@jurta.org>
14426         Make `dired-diff' safer.  (Bug#5225)
14428         * dired-aux.el (dired-diff): Signal an error when `file' equals to
14429         `current' or when `file' is a directory of the `current' file.
14431 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
14433         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14434         unconditionally preloaded files.
14436 2009-12-16  Juri Linkov  <juri@jurta.org>
14438         Revert to old 23.1 logic of using the file at the mark as default.
14439         * dired-aux.el (dired-diff): Use the file at the mark as default
14440         if it's not the same as the current file, and the target dir is
14441         the current dir or the mark is active.  Add the current file
14442         as the arg of `dired-dwim-target-defaults'.  Use the default file
14443         in the prompt.  (Bug#5225)
14445 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
14447         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14448         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14449         (tramp-check-for-regexp): Check also, when an echoing shell stops
14450         to echo sent commands.
14452 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
14454         * Makefile.in: Revert last change (Bug#5191).
14456 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
14458         * vc-hg.el (vc-hg-print-log): Fix argument order.
14459         (vc-hg-working-revision): Make sure the command is executed in a
14460         known environment so that we can parse the output.  (Bug#4417)
14462 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
14464         * progmodes/python.el (python-symbol-completions): Remove text
14465         properties from symbol string before calling python-send-receive.
14467 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
14469         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14470         when there are values for both file and line.  (Bug#5060)
14472 2009-12-14  Juri Linkov  <juri@jurta.org>
14474         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
14475         whitespace after the file name of the first line of unified format,
14476         because git-diff doesn't output whitespace and file modification time
14477         after the file name.
14479 2009-12-14  David Kastrup  <dak@gnu.org>
14481         * info.el (Info-hide-cookies-node): Before hiding a cookie,
14482         check if it already has the `display' property added by
14483         `Info-display-images-node', and not put the `invisible' property
14484         in this case.
14486 2009-12-13  Glenn Morris  <rgm@gnu.org>
14488         * mail/emacsbug.el (message-sort-headers): Define for compiler.
14489         (report-emacs-bug): In message-mode, sort manually before storing
14490         original report text.  (Bug#5178)
14491         Remove superfluous save-excursion.
14493 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
14495         * net/dbus.el (dbus-property-handler): Filter lambda forms out
14496         when responding to "GetAll" properties.
14498 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
14500         * simple.el (compose-mail): Remove mail-setup-with-from from
14501         customization checks.
14503 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
14505         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
14506         RAR archives created on Unix systems.
14508 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14510         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
14511         the varalias that was accidentally removed by the 2009-11-19 change
14512         (bug#5186).
14514 2009-12-12  Kenichi Handa  <handa@m17n.org>
14516         * language/indian.el (indian-compose-regexp): New function.
14517         (malayalam-composable-pattern): Fix the pattern.
14518         (composition-function-table): Set malayalam-composable-pattern for
14519         Malayalam characters.
14521 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
14523         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
14524         rather than down-mouse-1, based on follow-link conventions.
14526         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
14527         are compiled.
14529 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
14531         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
14532         (verilog-vmm-statement-re, verilog-ovm-statement-re)
14533         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
14534         (verilog-leap-to-head, verilog-backward-token):
14535         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
14537 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
14539         * progmodes/verilog-mode.el (verilog-auto-lineup)
14540         (verilog-nameable-item-re): Cleanup user-visible spelling and
14541         documentation errors.  One reported by Gary Delp.
14542         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
14543         (verilog-read-decls): Fix AUTOWIRE with types declared in a
14544         package, bug195.  Reported by Pierre-David Pfister.
14546 2009-12-11  Glenn Morris  <rgm@gnu.org>
14548         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
14550         * mail/emacsbug.el: No longer require sendmail.
14551         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
14552         (report-emacs-bug-orig-text): Doc fix.
14553         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
14554         New local variables, to adapt to different mail-user-agents.
14555         (report-emacs-bug): Fix test for a gnu.org address.
14556         Use overlays for emphasis, since font-lock defeats 'face property.
14557         Pretest bugs also end up at the newsgroup these days.
14558         Stop message-mode stripping text properties.
14559         Set and use the new buffer-local variables.
14560         (report-emacs-bug-hook): Add doc-string.
14561         Remove some unnecessary save-excursions and simplify.
14562         Use the appropriate hook and send-command.
14564         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
14565         capitalization of some menu entries.
14567 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14569         * whitespace.el (whitespace-display-char-on):
14570         Ensure `buffer-display-table' is unique when two or more windows are
14571         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
14572         New version 12.1.
14574 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
14576         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
14577         characters in the Attribute field.
14579 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
14581         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
14583 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
14585         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
14586         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14587         Disregard autoload-excludes.
14588         (update-directory-autoloads): Obey autoload-excludes here instead.
14589         But don't store its contents in no-autoloads and remove entries that
14590         refer to excludes files.
14592 2009-12-10  Glenn Morris  <rgm@gnu.org>
14594         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14595         (expand-mail-aliases): Define for compiler.
14597         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14598         Define for compiler.
14600         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14601         appropriate for the mail-user-agent in use.
14603 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
14605         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14607 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
14609         Fix short log parsing and fontification.
14610         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14611         Fix fontification for the [merge] label.
14613 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
14615         Drop some properties to avoid surprises (bug#5002).
14616         * htmlfontify.el (hfy-ignored-properties): New defcustom.
14617         (hfy-fontify-buffer): Use it.
14619 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
14621         Minor cleanup.
14622         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14623         Adjust all callers.
14624         (ffap-locate-file): Remove unused arg `dir-ok' and make other
14625         args compulsory.  Adjust callers.
14626         (ffap-gopher-at-point): Remove unused var `name'.
14628         Get rid of the ELCFILES abomination.
14629         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14630         (compile-elcfiles): New phony target.
14631         (compile-main): Compute ELCFILES dynamically.
14632         (compile-clean): New target to remove left-over elc files.
14633         (compile, all): Use it.
14635 2009-12-09  Kenichi Handa  <handa@etlken>
14637         * international/mule-diag.el: Require help-mode instead of help-fns.
14639 2009-12-09  Kenichi Handa  <handa@m17n.org>
14641         * international/mule-cmds.el (ucs-names): Supply sufficiently
14642         fine ranges instead of pre-calculating accurate ranges.
14643         Iterate with bigger gc-cons-threshold.
14645 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
14647         Add support for stashing a snapshot of the current tree.
14648         * vc-git.el (vc-git-stash-snapshot): New function.
14649         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14651 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
14653         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14654         instead of `(beginning|end)-of-line'.
14656 2009-12-08  Glenn Morris  <rgm@gnu.org>
14658         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14660         * Makefile.in (ELCFILES): Regenerate.
14662 2009-12-07  Juri Linkov  <juri@jurta.org>
14664         Don't lazy-highlight the comint output in history Isearch mode.
14666         * comint.el (comint-history-isearch-search): Instead of
14667         `comint-line-beginning-position', use `comint-after-pmark-p'
14668         to check if point if before the process mark, and go to
14669         `process-mark' in this case.
14671 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14673         * textmodes/tex-mode.el (latex-complete)
14674         (latex-indent-or-complete): Remove.
14675         (latex-mode): Set completion-at-point-functions instead.
14677         Provide a standard completion command and hook it into TAB.
14678         * minibuffer.el (completion-at-point-functions): New var.
14679         (completion-at-point): New command.
14680         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14681         * progmodes/python.el (python-mode-map): Use completion-at-point.
14682         (python-completion-at-point): Rename from python-partial-symbol and
14683         adjust for use in completion-at-point-functions.
14684         (python-mode): Setup completion-at-point for Python completion.
14685         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14686         extracted from lisp-complete-symbol.
14687         (lisp-complete-symbol): Use it.
14688         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14689         setup completion-at-point for Elisp completion.
14690         (emacs-lisp-mode-map, lisp-interaction-mode-map):
14691         Use completion-at-point.
14692         * ielm.el (ielm-map): Use completion-at-point.
14693         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14694         * progmodes/sym-comp.el: Move to...
14695         * obsolete/sym-comp.el: Move from progmodes.
14697 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
14699         Prevent save-buffer in Rmail buffers from using the coding-system
14700         of the current message, and from clobbering the encoding mnemonics
14701         in the mode line (Bug#4623).
14703         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14704         flag, too.
14705         (rmail-message-encoding): New variable.
14706         (rmail-write-region-annotate): Record the encoding of the current
14707         message in rmail-message-encoding.
14708         (rmail-after-save-hook): New function, restores the encoding of
14709         the current message after the message collection is saved.
14711 2009-12-07  Juri Linkov  <juri@jurta.org>
14713         * progmodes/grep.el (grep-read-files): Use `completing-read'
14714         instead of `read-string'.  Set its `collection' arg to
14715         `read-file-name-internal'.  (Bug#4301)
14717 2009-12-07  Juri Linkov  <juri@jurta.org>
14719         Correctly restore original Isearch point.  (Bug#4994)
14721         * isearch.el (isearch-mode): Move `isearch-push-state' after
14722         `(run-hooks 'isearch-mode-hook)'.
14723         (isearch-cancel): When `isearch-push-state-function' is defined,
14724         let-bind `isearch-cmds' to the first state (the last element of
14725         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14726         function and restores the original point).  Otherwise, move point
14727         to `isearch-opoint'.
14729 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14731         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14732         chars that don't have names, so the table can be built much faster at
14733         run-time.
14735 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
14737         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14738         change.  Suggested by David Kastrup.
14740         * simple.el (compose-mail): Check for incompatibilities and warn.
14741         (compose-mail-user-agent-warnings): New option.
14743 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14745         Support showing a single log entry from vc-annotate.
14746         * vc.el (print-log): Add a new argument: START-REVISION.
14747         (vc-print-log-internal): Add a new optional argument and
14748         pass it to the backend.
14749         (vc-print-log, vc-print-root-log): Adjust callers.
14750         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14751         buffer already displays the requested log entry, use it.
14752         Otherwise display only the log entry in question.
14753         * vc-svn.el (vc-svn-print-log):
14754         * vc-mtn.el (vc-mtn-print-log):
14755         * vc-hg.el (vc-hg-state):
14756         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14757         (vc-git-show-log-entry): Return t on success.
14758         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14759         (vc-bzr-show-log-entry): Return t on success.
14760         * vc-rcs.el (vc-rcs-print-log):
14761         * vc-sccs.el (vc-sccs-print-log):
14762         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14764 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14766         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14767         Add menus to the meta mode.  (Bug#5043)
14769 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
14771         * ediff-init.el (ediff-event-key): Use event-to-character instead of
14772         event-key.
14774         * ediff.el (ediff-buffers-internal): Add unwind-protect.
14776 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
14778         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
14779         Berbain <raphael.berbain@gmail.com>.
14781         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
14782         characters.
14783         (tramp-initial-end-of-output): New defconst.
14784         (tramp-methods, tramp-find-shell)
14785         (tramp-open-connection-setup-interactive-shell)
14786         (tramp-maybe-open-connection): Use it.
14787         (tramp-shell-prompt-pattern, tramp-wait-for-output):
14788         Handle existence of `#' and `$'.
14790         * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14791         Use `tramp-initial-end-of-output'.
14793 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14795         Get the background mode from the terminal for xterm, and set
14796         faces accordingly.
14797         * term/xterm.el (xterm-set-background-mode): New function.
14798         (terminal-init-xterm): Use it in case xterm supports background
14799         color queries.  Recompute faces after getting the background
14800         color.
14802 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
14804         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14805         number comment back on its own line, for easier parsing.
14807 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14809         Make it work for non-file buffers (bug#5102).
14810         * doc-view.el (doc-view-current-cache-dir):
14811         Use doc-view-buffer-file-name rather than buffer-file-name.
14812         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14814 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
14816         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14817         author field is too short.
14819 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
14821         * vc-git.el (vc-git-print-log): Handle a limit argument.
14822         Display the short log in graph form and with labels.
14823         (vc-git-log-view-mode): Handle labels.
14825         Make vc-revert change VC state from 'added to 'unregistered.
14826         * vc-git.el (vc-git-revert): Call git reset first.
14828 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
14830         * net/newst-backend.el, net/newst-plainview.el:
14831         * net/newst-reader.el, net/newst-ticker.el:
14832         * net/newst-treeview.el, net/newsticker.el:
14833         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
14835 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
14837         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14839         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14840         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
14841         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14842         Update annotation regexp.
14844         * simple.el (beginning-of-visual-line): Constrain to field
14845         boundaries (Bug#5106).
14847 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
14849         * xml.el (xml-substitute-numeric-entities):
14850         Move newsticker--decode-numeric-entities in newst-backend.el to
14851         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
14852         * net/newst-backend.el (newsticker--parse-generic-feed)
14853         (newsticker--parse-generic-items)
14854         (newsticker--decode-numeric-entities):
14855         Move newsticker--decode-numeric-entities in newst-backend.el to
14856         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
14858 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
14860         * progmodes/js.el (js--js-not): Add null to the list of values.
14862 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
14864         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14866 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14868         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14869         delimiter if it is at the end of the current line.
14870         (bibtex-generate-url-list): Fix docstring.
14872 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14874         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14875         minibuffer's content with itself.
14876         Fold the confirm-after-completion case into the `confirm' case.
14877         (completion-pcm-word-delimiters): Add : and / to the delimiters.
14879 2009-12-06  Kevin Ryde  <user42@zip.com.au>
14881         * ffap.el (ffap-rfc-path): Make this a defcustom since
14882         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
14884         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14885         manuals, similar to existing setup for help-mode.  (Bug#3913.)
14887 2009-12-05  Juri Linkov  <juri@jurta.org>
14889         Save and restore dired buffer's point positions too.  (Bug#4880)
14891         * dired.el (dired-save-positions): Return in the first element
14892         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14893         Doc fix.
14894         (dired-restore-positions): First restore buffer's position.
14895         While restoring window's positions, check if window still displays
14896         the original buffer.
14898 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
14900         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14901         if possible.
14903         * shell.el (shell): Require ansi-color (Bug#5113).
14905         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14907         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14909 2009-12-05  Alan Mackenzie  <acm@muc.de>
14911         * progmodes/cc-mode.el (c-before-hack-hook)
14912         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
14913         `c-file-style' to work again.  This reversion restores the current
14914         software to its state in Emacs 23.1.  (Bug#4146)
14916 2009-12-05  Kevin Ryde  <user42@zip.com.au>
14918         * textmodes/sgml-mode.el (sgml-lexical-context):
14919         Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
14921 2009-12-05  Juri Linkov  <juri@jurta.org>
14923         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
14924         for virtual nodes.  (Bug#4147)
14925         (Info-find-node-2): Set `Info-current-node-virtual' to nil
14926         when moving from a virtual node.
14927         (Info-mode-menu): Add `Info-virtual-index' to the menu.
14928         (Info-mode): Add `Info-virtual-index' to the docstring.
14930 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14932         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
14933         track of the buffer position of the end of a BibTeX entry as this
14934         position may change during reformatting.
14935         (bibtex-format-entry): Remove whitespace before processing
14936         numerical fields so that we recognize the latter properly.
14937         (bibtex-reformat): Do not use push which changes the global value
14938         of bibtex-entry-format.
14939         (bibtex-field-braces-alist, bibtex-field-strings-alist)
14940         (bibtex-field-re-init): Replace only space characters by regexp
14941         for whitespace.
14942         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
14943         (bibtex-initialize): Also update bibtex-strings.
14944         (bibtex-kill-field): Preserve white space at end of entry.
14945         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
14946         Update bibtex-reference-keys.
14948 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14950         * minibuffer.el (completion-pcm--merge-try): Also consider placing
14951         point after a star, if that's the only place where modifications can
14952         make progress.
14954 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
14956         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
14957         in docstrings.
14959 2009-12-04  Juri Linkov  <juri@jurta.org>
14961         * proced.el (proced): Call `(proced-update t)' to update process
14962         information instead of only running proced-post-display-hook.
14963         (proced-send-signal): Add a leading space to the buffer name
14964         " *Marked Processes*" to make this buffer ephemeral.
14966 2009-12-04  Juri Linkov  <juri@jurta.org>
14968         * dired.el (dired-auto-revert-buffer): New defcustom.
14969         (dired-internal-noselect): Use it.
14971 2009-12-04  Juri Linkov  <juri@jurta.org>
14973         Change roles of modes and functions in image-mode.el (Bug#5062).
14975         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
14976         in `auto-mode-alist'.
14977         (image-mode-previous-major-mode): New variable.
14978         (image-minor-mode-map): Rename from `image-mode-text-map'.
14979         (image-mode): Move graceful error-handling code from
14980         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
14981         (image-minor-mode): Remove all image-handling code.
14982         Replace `image-mode-text-map' with `image-minor-mode-map'.
14983         Check for `image-type' in mode-line format string.
14984         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
14985         (image-mode-as-text): New function with most code from
14986         `image-mode-maybe'.
14987         (image-toggle-display-text): Move code that removes image
14988         properties from `image-toggle-display' to here.
14989         (image-toggle-display-image): New function with code that adds
14990         image properties copied from `image-toggle-display'.
14991         (image-toggle-display): Remove most code with leaving only code
14992         that toggles between `image-mode-as-text' and `image-mode'.
14994 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
14996         * net/newst-treeview.el
14997         (newsticker--treeview-list-highlight-start): Restored call to
14998         save-excursion: Selected item was stuck.
14999         (newsticker--treeview-list-select): New.
15000         (newsticker--treeview-item-show-text)
15001         (newsticker--treeview-item-show)
15002         (newsticker--treeview-item-update): Use new
15003         newsticker-treeview-item-mode.
15004         (newsticker-treeview-update): Keep current item.
15005         (newsticker-treeview-next-new-or-immortal-item): Doc change.
15006         (newsticker--treeview-first-feed): Doc change.
15007         (newsticker-treeview-list-menu)
15008         (newsticker-treeview-item-menu): Add menu entries.
15009         (newsticker-treeview-item-mode): New.
15011         * net/newst-backend.el (newsticker-customize): Delete other
15012         windows.
15014 2009-12-04  Sam Steingold  <sds@gnu.org>
15016         * log-view.el (log-view-mode-map): "q" calls quit-window,
15017         like in all the other non-self-insert buffers.
15019 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15021         Minor cleanup.
15022         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
15023         key decoding rather than do it manually via last-input-event +
15024         ascii-character.
15025         (term-exec): Use delete-and-extract-region.
15026         (term-handle-ansi-terminal-messages): Remove unused var `end'.
15027         (term-process-pager): Remove unused var `i'.
15028         (term-dynamic-simple-complete): Make obsolete.
15029         (serial-update-config-menu): Remove unused vars `y' and `str'.
15030         (term-update-mode-line): Remove unused var `temp'.
15032 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
15034         Limit the number of log entries displayed by default.
15035         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
15036         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
15037         using a prefix argument.
15039 2009-12-03  Glenn Morris  <rgm@gnu.org>
15041         * progmodes/idlwave.el (class): Restore still useful declaration.
15043 2009-12-03  Alan Mackenzie  <acm@muc.de>
15045         Enhance `c-parse-state' to run efficiently in "brace deserts".
15047         * progmodes/cc-mode.el (c-basic-common-init):
15048         Call c-state-cache-init.
15049         (c-neutralize-syntax-in-and-mark-CPP): Rename from
15050         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
15051         placing `category' properties value 'c-cpp-delimiter at its boundaries.
15053         * progmodes/cc-langs.el (c-before-font-lock-function):
15054         c-extend-and-neutralize-syntax-in-CPP has been renamed
15055         c-neutralize-syntax-in-and-mark-CPP.
15057         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
15058         with `category' properties now, not `syntax-table' ones.
15060         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
15061         enhanced (but slower) version of c-end-of-macro that won't land
15062         inside a literal or on another awkward character.
15063         (c-state-cache-too-far, c-state-cache-start)
15064         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
15065         (c-state-nonlit-pos-cache-limit, c-state-point-min)
15066         (c-state-point-min-lit-type, c-state-point-min-lit-start)
15067         (c-state-min-scan-pos, c-state-brace-pair-desert)
15068         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
15069         buffer local variables.
15070         (c-state-literal-at, c-state-lit-beg)
15071         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
15072         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
15073         (c-state-cache-top-paren, c-state-cache-after-top-paren)
15074         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
15075         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
15076         (c-renarrow-state-cache)
15077         (c-append-lower-brace-pair-to-state-cache)
15078         (c-state-push-any-brace-pair, c-append-to-state-cache)
15079         (c-remove-stale-state-cache)
15080         (c-remove-stale-state-cache-backwards, c-state-cache-init)
15081         (c-invalidate-state-cache-1, c-parse-state-1)
15082         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
15083         (c-parse-state): Enhance and refactor.
15084         (c-debug-parse-state): Amend to deal with all the new variables.
15086         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
15087         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
15088         modify to use category text properties rather than syntax-table ones.
15089         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
15090         to switch off/on the syntactic paren property of C++ template
15091         delimiters using the category property.
15092         (c-with-<->-as-parens-suppressed): Macro to invoke code with
15093         template delims suppressed.
15094         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
15095         New constant/macros which apply category properties to the start
15096         and end of preprocessor constructs.
15097         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
15098         "comment out" the syntactic value of characters in preprocessor
15099         constructs.
15100         (c-with-cpps-commented-out)
15101         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
15102         with characters in all or all but one preprocessor constructs
15103         "commented out".
15105 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
15107         * proced.el (proced-filter-alist): Use regexp-quote.
15109 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
15111         Cleanup.
15112         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
15113         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
15114         arguments.  Expand `default-directory'.
15116         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
15117         the benefit of returning an expanded localname.
15118         (tramp-tramp-file-p): Handle the case NAME is not a string.
15120 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
15122         Add support for bzr shelve/unshelve.
15123         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
15124         (vc-bzr-extra-menu-map): New variables.
15125         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
15126         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
15127         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
15128         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
15129         (vc-bzr-dir-extra-headers): Display shelves.
15131         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
15133 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15135         * textmodes/bibtex.el (bibtex-complete-internal):
15136         Use completion-in-region.
15137         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
15139 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
15141         Support applying stashes.  Improve UI.
15142         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
15143         (vc-git-stash-apply, vc-git-stash-pop)
15144         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
15145         (vc-git-stash-menu): New functions.
15146         (vc-git-stash-menu-map): New variable.
15147         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
15149 2009-12-03  Glenn Morris  <rgm@gnu.org>
15151         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
15152         (vc-print-log-internal): Fix previous change.
15153         (vc-revert): Correct pluralization.
15155 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15157         * progmodes/make-mode.el (makefile-special-targets-list): No need for
15158         it to be an alist any more.
15159         (makefile-complete): Use completion-in-region.
15161         * progmodes/octave-mod.el (octave-complete-symbol):
15162         Use completion-in-region.
15164         Misc cleanup.
15165         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
15166         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
15167         (idlwave-complete-class): Don't quote lambda.
15168         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
15169         (idlwave-mode-map): Move initialization into declaration.
15170         (idlwave-action-and-binding): Use backquotes.
15171         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
15172         Simplify.
15173         (idlwave-is-pointer-dereference): Remove unused var `pos'.
15174         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
15175         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
15176         `parts', and `all-parts'.
15177         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
15178         (idlwave-convert-xml-system-routine-info): Remove unused string
15179         `version-string'.
15180         (idlwave-display-user-catalog-widget): Use dolist.
15181         (idlwave-scanning-lib): Declare dynamically-scoped var.
15182         (idlwave-scan-library-catalogs): Remove unused var `flags'.
15183         (completion-highlight-first-word-only): Declare to silence bytecomp.
15184         (idlwave-popup-select): Tighten scope of `resp'.
15185         (idlwave-find-struct-tag): Remove unused var `beg'.
15186         (idlwave-after-load-rinfo-hook): Declare.
15187         (idlwave-sintern-class-info): Remove unused var `taglist'.
15188         (idlwave-find-class-definition): Remove unused var `list'.
15189         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
15190         (idlwave-what-module-find-class): Remove unused var `classes'.
15192 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
15194         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
15196 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15198         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
15199         buffers visited.  Remove redundant current-buffer-saving.
15201 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15203         Use completion-in-buffer and remove uses of dynamic scoping.
15204         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
15205         (pascal-buffer-to-use, pascal-flag): Don't declare.
15206         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
15207         (pascal-get-completion-decl, pascal-keyword-completion):
15208         Add `pascal-str' argument, save-excursion,
15209         return the found completions, and don't filter with pascal-pred.
15210         (pascal-completion-cache): New var.
15211         (pascal-completion): Don't switch buffer any more (it was never
15212         necessary).  Don't save-excursion any more (it's done by the called
15213         subroutines).  Use a cache to avoid redundant computations.
15214         Use complete-with-action rather than pascal-completion-response and
15215         let it apply the predicate as well.
15216         (pascal-complete-word): Use completion-in-buffer when
15217         pascal-toggle-completions is nil.
15218         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
15219         not used any more.
15220         (pascal-comp-defun): Don't change buffer any more.
15221         Use complete-with-action rather than pascal-completion-response and
15222         let it apply the predicate as well.
15223         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
15224         when neded.
15226 2009-12-02  Kenichi Handa  <handa@m17n.org>
15228         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
15229         shape for all Indic scripts.
15231 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15233         Use completion-in-buffer.
15234         * wid-edit.el (widget-field-text-end): New function.
15235         (widget-field-value-get): Use it.
15236         (widget-string-complete, widget-file-complete)
15237         (widget-color-complete): Use it and completion-in-region.
15238         (widget-complete): Don't narrow the buffer.
15240 2009-12-02  Glenn Morris  <rgm@gnu.org>
15242         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
15243         (rmail-select-summary): Use rmail-pop-to-buffer.
15244         * mail/rmailsum.el: Replace all pop-to-buffer calls with
15245         rmail-pop-to-buffer, to prevent horizontal splits.
15247         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
15248         save-excursion with save-current-buffer.
15249         Widen before searching.  (Bug#5093)
15250         (diary-list-sexp-entries): Remove superfluous save-excursion.
15252 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
15254         * woman.el (woman-make-bufname): Handle man-pages with "." in the
15255         name.  (Bug#5038)
15257 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
15259         * ido.el (ido-file-internal): Handle filenames at point that do
15260         not have a directory part.  (Bug#5049)
15262 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
15264         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
15265         (mpc-songs-jump-to, mpc-resume): Doc fixes.
15267 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
15269         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
15270         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
15271         any more.
15273 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15275         * comint.el (comint-insert-input): Ignore clicks to the right of
15276         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
15278         * vc.el (vc-print-log-internal): Don't wait for the process to
15279         terminate before setting up the major mode.
15281         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
15282         in case.
15284         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
15285         the last element.
15287         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
15289 2009-12-01  Glenn Morris  <rgm@gnu.org>
15291         * window.el (window--display-buffer-2): Fix previous changes.
15293 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
15295         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
15297 2009-12-01  Glenn Morris  <rgm@gnu.org>
15299         * Makefile.in (ELCFILES): Add mpc.elc.
15301 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15303         * mpc.el: New file.
15305 2009-12-01  Glenn Morris  <rgm@gnu.org>
15307         * window.el (window-to-use): Define for compiler.
15309         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15310         consistent with others (no final period).
15312         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15313         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
15315 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
15317         Make vc-print-log buttons work.
15318         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15320 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
15322         * savehist.el (savehist-autosave-interval): Allow setting to nil
15323         through customize.  (Bug#5056)
15325 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
15327         Fix references to jit-lock properties.
15328         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15329         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15330         (perl-font-lock-special-syntactic-constructs):
15331         Quote jit-lock-defer-multiline property.
15333 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
15335         * vc-git.el (vc-git-registered): Call vc-git-root only once.
15337 2009-11-30  Juri Linkov  <juri@jurta.org>
15339         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15340         value `buffer' of `multi-isearch-next-buffer-current-function'.
15341         Use `(current-buffer)' when `buffer' is nil.
15342         (multi-isearch-next-buffer-from-list): Don't fallback to
15343         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
15345 2009-11-30  Juri Linkov  <juri@jurta.org>
15347         * misearch.el (multi-isearch-read-buffers): Move canonicalization
15348         of buffers with `get-buffer' to `multi-isearch-buffers'.
15349         (multi-isearch-buffers, multi-isearch-buffers-regexp):
15350         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
15351         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15352         FILES with `expand-file-name' converting relative file names
15353         to absolute.  Doc fix.  (Bug#4727)
15355 2009-11-30  Juri Linkov  <juri@jurta.org>
15357         * misearch.el (multi-isearch-read-buffers)
15358         (multi-isearch-read-matching-buffers): New functions.
15359         (multi-isearch-buffers, multi-isearch-buffers-regexp):
15360         Use them in the `interactive' spec.  Doc fix.
15361         (multi-isearch-read-files, multi-isearch-read-matching-files):
15362         New functions.
15363         (multi-isearch-files, multi-isearch-files-regexp):
15364         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
15366 2009-11-30  Juri Linkov  <juri@jurta.org>
15368         * doc-view.el (doc-view-continuous):
15369         Rename from `doc-view-continuous-mode'.
15370         (doc-view-menu): Move "Toggle display" to the top.
15371         Add submenu "Continuous" with radio buttons "Off"/"On"
15372         and "Save as Default".
15373         (doc-view-scroll-up-or-next-page)
15374         (doc-view-scroll-down-or-previous-page)
15375         (doc-view-next-line-or-next-page)
15376         (doc-view-previous-line-or-previous-page):
15377         Rename `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
15379 2009-11-30  Juri Linkov  <juri@jurta.org>
15381         * comint.el (comint-mode-map): Rebind `M-r' from
15382         `comint-previous-matching-input' to
15383         `comint-history-isearch-backward-regexp'.
15384         Unbind `M-s' to allow global key binding `M-s'.
15385         Add menu items for `comint-history-isearch-backward' and
15386         `comint-history-isearch-backward-regexp'.  (Bug#3746)
15388 2009-11-30  Juri Linkov  <juri@jurta.org>
15390         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15391         For def=recenter, replace `recenter' with `recenter-top-bottom'
15392         that is called with `this-command' and `last-command' let-bound
15393         to `recenter-top-bottom'.  When the last `def' was not `recenter',
15394         set `recenter-last-op' to nil.  (Bug#4981)
15396 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15398         Minor cleanup and simplification.
15399         * filecache.el (file-cache-add-directory)
15400         (file-cache-add-directory-recursively)
15401         (file-cache-add-from-file-cache-buffer)
15402         (file-cache-delete-file-regexp, file-cache-delete-directory)
15403         (file-cache-files-matching-internal, file-cache-display): Use dolist.
15404         (file-cache-temp-minibuffer-message): Delete function.
15405         (file-cache-minibuffer-complete): Use minibuffer-message instead.
15407         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15408         Don't signal an error when bumping into EOB in tr, s, or y.
15410 2009-11-29  Juri Linkov  <juri@jurta.org>
15412         * startup.el (fancy-about-text): Fix wording of Guided Tour.
15413         (Bug#4960)
15415         * descr-text.el (describe-char-unidata-list): Use lowercase name
15416         for "Unicode name" like in other tags.
15418 2009-11-29  Juri Linkov  <juri@jurta.org>
15420         * ediff-util.el (ediff-minibuffer-with-setup-hook):
15421         New compatibility macro.
15422         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15424 2009-11-29  Juri Linkov  <juri@jurta.org>
15426         Add defcustom to define the cycling order of `recenter-top-bottom'.
15427         (Bug#4981)
15429         * window.el (recenter-last-op): Doc fix.
15430         (recenter-positions): New defcustom.
15431         (recenter-top-bottom): Rewrite to use `recenter-positions'.
15432         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15434 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
15436         Improve integration of Tramp and ange-ftp in eshell.
15438         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15439         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
15440         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
15442         * eshell/esh-util.el (top): Require also Tramp when compiling.
15443         (eshell-directory-files-and-attributes): Check for FTP remote
15444         connection.
15445         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15446         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15447         (eshell-file-attributes): Handle ".".  Return `entry'.
15449         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15450         (ange-ftp-directory-files-and-attributes)
15451         (ange-ftp-real-directory-files-and-attributes): New defuns.
15453         * net/tramp.el (tramp-maybe-open-connection): Open the remote
15454         shell with "exec" when possible.  This prevents trailing prompts
15455         in `start-file-process'.
15457 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15459         Try and remove assumptions about point-min==1.
15460         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15461         (rng-compute-mode-line-string): Show the validation percentage in
15462         terms of the narrowed text, not the widened text.
15463         (rng-do-some-validation): Don't catch internal errors when debugging.
15464         (rng-first-error): Simplify.
15465         (rng-after-change-function): Remove work around.  AFAIK the bug has
15466         been fixed a while ago.
15468         * image-mode.el (image-minor-mode): Exit more gracefully when the image
15469         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15471         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15473         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
15474         `cd' doesn't always do it for us (bug#5067).
15476         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
15477         on 2009-10-25 as part of some other change (bug#5067).
15479 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15481         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
15482         `suspicious'.
15483         (byte-compile-warnings): Use byte-compile-warning-types.
15484         (byte-compile-save-excursion): Warn about use of set-buffer right
15485         after save-excursion.
15487         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
15488         the excursion as well.
15490 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
15492         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
15493         providing a Tramp related implementation of "su" and "sudo".
15494         (eshell-unix-initialize): Add "su" and "sudo".
15496 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
15498         * net/socks.el (socks-send-command): Convert binary request to
15499         unibyte before sending.  This fixes mishandling of some port
15500         numbers such as 129.
15502 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15504         * help.el (describe-bindings-internal): Remove `interactive'.
15506         * man.el (Man-completion-table): Trim a terminating "(".
15507         Remove the space between name page a section.
15508         Add the command's description on the `help-echo' property.
15509         Remove `process-connection-type' binding since it's unused by
15510         call-process.
15511         Provide completion for the "<section> <name>" format as well.
15512         (Man-default-man-entry): Remove spurious var shadowing the argument.
15514 2009-11-26  Kevin Ryde  <user42@zip.com.au>
15516         * log-view.el: Add "Keywords: tools", since its other keywords
15517         aren't in finder-known-keywords, and following vc.el.
15519         * sha1.el (sha1-string-external): default-directory "/" in case
15520         otherwise non-existent.  process-connection-type pipe for touch of
15521         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
15523 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15525         Misc coding convention cleanups.
15526         * htmlfontify.el (hfy-init-kludge-hook): Rename from
15527         hfy-init-kludge-hooks.
15528         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
15529         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
15530         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
15531         and push.
15532         (hfy-slant, hfy-weight): Use tables rather than code.
15533         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
15534         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
15535         (hfy-face-attr-for-class): Initialize `face-spec' directly.
15536         (hfy-face-to-css): Remove `nconc' with single arg.
15537         (hfy-p-to-face-lennart): Use `or'.
15538         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
15539         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
15540         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
15541         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
15542         (hfy-force-fontification): Use run-hooks.
15544 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
15546         Various minor fixes.
15547         * htmlfontify.el (hfy-default-header): Add toggle_invis since
15548         Javascript belongs in the header, not the body.
15549         (hfy-javascript): Remove.
15550         (hfy-fontify-buffer): Don't insert it any more.
15551         (hfy-face-at): Handle (face0 face1 face2) style face properties.
15552         Fix bug in invis handling when there were no invis props in a chunk.
15554 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15556         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
15558 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
15560         * finder.el (finder-mode-map): Add a menu.
15562 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
15564         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
15565         "unsigned" structs.
15567         (verilog-leap-to-head, verilog-backward-token): Handle "disable
15568         fork" statement better.
15570 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
15572         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
15573         (verilog-delete-auto, verilog-delete-empty-auto-pair)
15574         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
15575         Reported by Clay Douglass.
15577         (verilog-auto-inst, verilog-auto-star-safe)
15578         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
15579         Fix removing "// Interfaces" when saving .* expansions.
15580         Reported by Pierre-David Pfister.
15582 2009-11-26  Glenn Morris  <rgm@gnu.org>
15584         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
15585         the scope.
15587 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
15589         * vc-annotate.el (vc-annotate-revision-previous-to-line):
15590         Really use previous revision.
15592 2009-11-25  Kevin Ryde  <user42@zip.com.au>
15594         * man.el (Man-completion-table): default-directory "/" in case
15595         doesn't otherwise exist.  process-environment COLUMNS=999 so as
15596         not to truncate long names.  process-connection-type pipe to avoid
15597         any chance of hitting the pseudo-tty TIOCGWINSZ.
15598         (man): completion-ignore-case t for friendliness and since man
15599         itself is case-insensitive on the command line.
15600         Further to Bug#3717.
15602         * arc-mode.el: Add "Keywords: files", so the details in its
15603         commentary can be reached from finder-by-keyword.
15604         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
15605         editing mode, but it's comms related and sgml-mode.el has "comm"
15606         on that basis too.
15607         * textmodes/bibtex-style.el: Add "Keywords: tex".
15608         * international/isearch-x.el, international/ja-dic-cnv.el:
15609         * international/ja-dic-utl.el, international/kkc.el:
15610         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15612 2009-11-25  Juri Linkov  <juri@jurta.org>
15614         * man.el (Man-completion-table): Modify regexp to include
15615         section names to completion strings.  (Bug#3717)
15617 2009-11-25  Juri Linkov  <juri@jurta.org>
15619         Search recursively in gzipped files.  (Bug#4982)
15621         * progmodes/grep.el (grep-highlight-matches): Add new options
15622         `always' and `auto'.  Doc fix.
15623         (grep-process-setup): Check `grep-highlight-matches' for
15624         `auto-detect' to determine the need to compute grep defaults.
15625         Move Windows/DOS specific --colors settings handling
15626         to `grep-compute-defaults'.  Check `grep-highlight-matches'
15627         to get the value of "--color=".
15628         (grep-compute-defaults): Compute `grep-highlight-matches' when it
15629         has the value `auto-detect'.  Move Windows/DOS specific settings
15630         from `grep-process-setup'.
15631         (zrgrep): New command with alias `rzgrep'.
15633 2009-11-25  Juri Linkov  <juri@jurta.org>
15635         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15636         to nil instead of switching off view-mode.  (Bug#4896)
15638 2009-11-25  Juri Linkov  <juri@jurta.org>
15640         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
15642         * mwheel.el (mwheel-scroll-up-function)
15643         (mwheel-scroll-down-function): New defvars.
15644         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15645         `scroll-up', and `mwheel-scroll-down-function' instead of
15646         `scroll-down'.
15648         * doc-view.el (doc-view-scroll-up-or-next-page)
15649         (doc-view-scroll-down-or-previous-page): Add optional ARG.
15650         Use this ARG in the call to image-scroll-up/image-scroll-down.
15651         Change `interactive' spec to "P".  Goto next/previous page only
15652         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15653         SPC/DEL case).  Doc fix.
15654         (doc-view-next-line-or-next-page)
15655         (doc-view-previous-line-or-previous-page): Rename arg to ARG
15656         for consistency.
15657         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15658         `doc-view-scroll-up-or-next-page', and buffer-local
15659         `mwheel-scroll-down-function' to
15660         `doc-view-scroll-down-or-previous-page'.
15662 2009-11-25  Juri Linkov  <juri@jurta.org>
15664         Provide additional default values (directories at other Dired
15665         windows) via M-n in the minibuffer of some Dired commands.
15667         * dired-aux.el (dired-diff, dired-compare-directories)
15668         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15669         `minibuffer-default' in `minibuffer-with-setup-hook'.
15670         (dired-dwim-target-directory): Find a window that displays Dired
15671         buffer instead of failing when the next window is not Dired.
15672         Use `get-window-with-predicate' to find for the next Dired window.
15673         (dired-dwim-target-defaults): New function.
15675         * ediff-util.el (ediff-read-file-name):
15676         Use `dired-dwim-target-defaults' to set `minibuffer-default'
15677         in `minibuffer-with-setup-hook'.
15679 2009-11-25  Juri Linkov  <juri@jurta.org>
15681         Provide additional default values (file name at point or at the
15682         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
15684         * minibuffer.el (read-file-name-defaults): New function.
15685         (read-file-name): Reset `minibuffer-default' to nil when
15686         it duplicates initial input `insdef'.
15687         Bind `minibuffer-default-add-function' to lambda that
15688         calls `read-file-name-defaults' in `minibuffer-selected-window'.
15689         (minibuffer-insert-file-name-at-point): New command.
15691         * files.el (file-name-at-point-functions): New defcustom.
15692         (find-file-default): Remove defvar.
15693         (find-file-read-args): Don't use `find-file-default'.
15694         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15695         to `read-file-name'.
15696         (find-file-literally): Use `read-file-name' with
15697         `confirm-nonexistent-file-or-buffer'.
15699         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15701         * dired.el (dired-read-dir-and-switches):
15702         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15703         to `read-file-name'.
15704         (dired-file-name-at-point): New function.
15705         (dired-mode): Add hook `dired-file-name-at-point' to
15706         `file-name-at-point-functions'.
15708 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15710         Really make the *Completions* window soft-dedicated (bug#5030).
15711         * window.el (window--display-buffer-2): Add `dedicated' argument.
15712         (display-buffer): Pass it when needed so the dedicated flag is set
15713         after calling set-window-buffer, which would otherwise reset it.
15715 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15717         * progmodes/meta-mode.el (meta-complete-symbol):
15718         * progmodes/etags.el (complete-tag):
15719         * mail/mailabbrev.el (mail-abbrev-complete-alias):
15720         Use completion-in-region.
15722         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15723         (dabbrev-completion): Use completion-in-region.
15724         (dabbrev--abbrev-at-point): Simplify regexp.
15726         * abbrev.el (abbrev--before-point): Use word-motion functions
15727         if :regexp is not specified (bug#5031).
15729         * subr.el (string-prefix-p): New function.
15731         * man.el (Man-completion-cache): New var.
15732         (Man-completion-table): Use it.
15734         * vc.el (vc-print-log-internal): Make `limit' optional for better
15735         compatibility (e.g. with vc-annotate.el).
15737 2009-11-24  Kevin Ryde  <user42@zip.com.au>
15739         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15740         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
15742         * emacs-lisp/elint.el (elint-add-required-env): Better error message
15743         when .el source file not found or other error.
15745 2009-11-24  Markus Triska  <markus.triska@gmx.at>
15747         * linum.el (linum-update-window): Ignore intangible (bug#4996).
15749 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15751         Handle the [back] button properly (bug#4979).
15752         * descr-text.el (describe-text-properties): Add a `buffer' argument.
15753         Use help-setup-xref, help-buffer, and with-help-window.
15754         (describe-char): Add `buffer' argument.
15755         Pass proper command to help-setup-xref.  Don't meddle with
15756         help-xref-stack-item directly.
15757         (describe-text-category): Use with-help-window and help-buffer.
15759         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15760         for the displayed buffer (bug#4887).
15762         * man.el (Man-completion-table): New function.
15763         (man): Use it.
15765 2009-11-24  David Reitter  <david.reitter@gmail.com>
15767         * vc-git.el (vc-git-registered): Use checkout directory (where
15768         .git is) rather than the file's directory and a relative path spec
15769         to work around a bug in git.
15771 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
15773         Improve handling of processes on remote hosts.
15775         * eshell/esh-util.el (eshell-path-env): New defvar.
15776         (eshell-parse-colon-path): New defun.
15777         (eshell-file-attributes): Use `eshell-parse-colon-path'.
15779         * eshell/esh-ext.el (eshell-search-path):
15780         Use `eshell-parse-colon-path'.
15781         (eshell-remote-command): Remove argument HANDLER.
15782         (eshell-external-command): Check for FTP remote connection.
15784         * eshell/esh-proc.el (eshell-gather-process-output):
15785         Use `file-truename', in order to start also symlinked files.
15786         Apply `start-file-process' instead of `start-process'.
15787         Shorten `command' to the local file name part.
15789         * eshell/em-cmpl.el (eshell-complete-commands-list):
15790         Use `eshell-parse-colon-path'.
15792         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15794         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
15795         to `eshell-directory-change-hook'.
15797 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
15799         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15800         because it could be enabled automatically if view-read-only is non-nil.
15802 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
15804         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15805         made on 2009-11-22.
15807 2009-11-24  Glenn Morris  <rgm@gnu.org>
15809         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15810         deleted variable bookmark-bmenu-bookmark-column.
15812 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15814         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15816 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
15818         * net/browse-url.el (browse-url-filename-alist): On Windows, add
15819         two slashes to the "file:" prefix.
15820         (browse-url-file-url): De-munge Cygwin filenames before passing
15821         them to Windows browser.
15822         (browse-url-default-windows-browser): Use call-process.
15824 2009-11-23  Juri Linkov  <juri@jurta.org>
15826         Implement DocView Continuous mode.  (Bug#4896)
15827         * doc-view.el (doc-view-continuous-mode): New defcustom.
15828         (doc-view-mode-map): Bind C-n/<down> to
15829         `doc-view-next-line-or-next-page', C-p/<up> to
15830         `doc-view-previous-line-or-previous-page'.
15831         (doc-view-next-line-or-next-page)
15832         (doc-view-previous-line-or-previous-page): New commands.
15834 2009-11-23  Juri Linkov  <juri@jurta.org>
15836         Implement Isearch in comint input history.  (Bug#3746)
15837         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15838         `isearch-mode-hook'.
15839         (comint-history-isearch): New defcustom.
15840         (comint-history-isearch-backward)
15841         (comint-history-isearch-backward-regexp): New commands.
15842         (comint-history-isearch-message-overlay): New buffer-local variable.
15843         (comint-history-isearch-setup, comint-history-isearch-end)
15844         (comint-goto-input, comint-history-isearch-search)
15845         (comint-history-isearch-message, comint-history-isearch-wrap)
15846         (comint-history-isearch-push-state)
15847         (comint-history-isearch-pop-state): New functions.
15849 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
15851         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15852         return.
15853         (tramp-handle-make-symbolic-link)
15854         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15855         Quote file names.
15856         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15857         (tramp-handle-process-file): Use it.
15859 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15861         * window.el (move-to-window-line-last-op): Remove.
15862         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15864 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
15866         Make M-r mirror the new cycling behavior of C-l.
15867         * window.el (move-to-window-line-last-op): New var.
15868         (move-to-window-line-top-bottom): New command.
15869         (global-map): Bind M-r move-to-window-line-top-bottom.
15871 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
15873         * dired-x.el (dired-guess-shell-alist-default):
15874         Support xz format.  (Bug#4953)
15876 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
15878         * emulation/viper-cmd.el: Use viper-last-command-char instead of
15879         last-command-char/last-command-event.
15880         (viper-prefix-arg-value): Do correct conversion of event-char for
15881         XEmacs.
15883         * emulation/viper-util.el, emulation/viper.el:
15884         Use viper-last-command-char instead of
15885         last-command-char/last-command-event.
15887         * ediff-init.el, ediff-mult.el, ediff-util.el:
15888         Replace last-command-char and last-command-event
15889         with (ediff-last-command-char) everywhere.
15891         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15892         created in fundamental mode.
15894         * ediff.el (ediff-version): Revert the change of interactive-p to
15895         called-interactively-p.
15897 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
15899         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15900         generation from word-movement command names.
15902 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
15904         * cus-start.el (all): Add native condition for font-use-system-font.
15906 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
15908         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15909         Correct the patch from 2009-11-18.  (Bug#3910)
15911 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
15913         * progmodes/subword.el: Rename from lisp/subword.el.
15915         * subword.el: Rename to progmodes/subword.el.
15917         * Makefile.in (ELCFILES): Adapt to subword.el move.
15919 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15920             Stefan Monnier  <monnier@iro.umontreal.ca>
15922         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
15923         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
15924         (bookmark-bmenu-show-filenames): Use push.
15925         (bookmark-bmenu-hide-filenames): Use local var instead of
15926         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
15927         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
15928         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
15929         filenames now that the bookmark names are always available.
15931 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15933         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
15934         (bookmark-search-pattern): Move and leave unbound.
15935         (bookmark-bmenu-mode-map): Change binding.
15936         (bookmark-read-search-input): Simplify.
15937         Don't use text-char-description.  Don't error on non-char events.
15938         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
15939         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
15940         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
15941         Use a local var for the timer.
15942         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
15943         (i.e. bookmark-bmenu-search).
15945 2009-11-21  Glenn Morris  <rgm@gnu.org>
15947         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
15949 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
15951         * net/browse-url.el (browse-url-default-windows-browser):
15952         Use cygstart for cygwin.
15954 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
15956         * bookmark.el: Formatting and doc fixes only:
15957         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
15958         (bookmark-bmenu-search): Wrap to fit within 80 columns.
15959         Minor grammar and punctuation fixes in doc string.
15960         (bookmark-read-search-input): Adjust to fit within 80 columns.
15962 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
15964         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
15965         (c-backward-into-nomenclature): Adapt to subword renaming.
15967         * subword.el (subword-forward, subword-backward, subword-mark)
15968         (subword-kill, subword-backward-kill, subword-transpose)
15969         (subword-downcase, subword-upcase, subword-capitalize)
15970         (subword-forward-internal, subword-backward-internal):
15971         Rename from forward-subword, backward-subword, mark-subword,
15972         kill-subword, backward-kill-subword, transpose-subwords,
15973         downcase-subword, upcase-subword, capitalize-subword,
15974         forward-subword-internal, backward-subword-internal.
15976 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15978         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
15979         New options.
15980         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
15981         New vars.
15982         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
15983         (bookmark-bmenu-filter-alist-by-regexp)
15984         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
15985         (bookmark-bmenu-search): New command.
15986         (bookmark-bmenu-mode-map): Bind it.
15988 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
15990         * progmodes/cc-cmds.el: declare-functioned forward-subword and
15991         backward-subword to quit the byte-compiler.
15993         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
15995         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
15997         * progmodes/cc-cmds.el (c-update-modeline)
15998         (c-forward-into-nomenclature, c-backward-into-nomenclature):
15999         Refer to subword.el functions instead of cc-subword.el.
16001         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
16002         subword.el functions instead of cc-subword.el.
16004         * progmodes/cc-subword.el: Rename to subword.el.
16005         * subword.el: Rename from progmodes/cc-subword.el.
16006         (subword-mode-map): Rename from c-subword-mode-map.
16007         (subword-mode): Rename from c-subword-mode.
16008         (global-subword-mode): New global minor mode.
16009         (forward-subword): Rename from c-forward-subword.
16010         (backward-subword): Rename from c-backward-subword.
16011         (mark-subword): Rename from c-mark-subword.
16012         (kill-subword): Rename from c-kill-subword.
16013         (backward-kill-subword): Rename from c-backward-kill-subword.
16014         (transpose-subwords): Rename from c-tranpose-subword.
16015         (downcase-subword): Rename from c-downcase-subword.
16016         (capitalize-subword): Rename from c-capitalize-subword.
16017         (forward-subword-internal): Rename from c-forward-subword-internal.
16018         (backward-subword-internal): Rename from c-backward-subword-internal.
16020 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
16022         * vc.el (vc-deduce-fileset): Allow non-state changing operations
16023         from a dired buffer.
16024         (vc-dired-deduce-fileset): New function.
16025         (vc-root-diff, vc-print-root-log): Use it.
16027         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
16028         nil LIMIT argument to vc-print-log-internal.
16030 2009-11-20  Glenn Morris  <rgm@gnu.org>
16032         * Makefile.in (ELCFILES): Regenerate.
16034 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
16036         * calc/calc.el (calc-set-mode-line):
16037         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16038         (math-format-number): Rename `math-format-complement-signed' to
16039         `math-format-twos-complement'.
16041         * calc/calc-bin.el (math-format-twos-complement): Rename from
16042         math-format-complement-signed.
16043         (calc-radix): Rename `calc-complement-signed-mode' to
16044         `calc-twos-complement-mode'.
16045         (calc-octal-radix, calc-hex-radix): Add an argument for
16046         two's complement.
16048         * calc/calc-embed.el (calc-embedded-mode-vars):
16049         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16051         * calc/calc-ext.el (calc-init-extensions):
16052         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16053         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
16055         * calc/calc-units.el (math-build-units-table-buffer):
16056         Let `calc-twos-complement-mode' be nil.
16058         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
16059         entries.
16061         * calc/calc-vec.el (calcFunc-vunpack):
16062         * calc/calc-aent.el (calc-do-calc-eval):
16063         * calc/calc-forms.el (math-format-date):
16064         * calc/calc-graph.el (calc-graph-plot):
16065         * calc/calc-math.el (math-use-emacs-fn):
16066         * calc/calccomp.el (math-compose-expr):
16067         Let `calc-twos-complement-mode' be nil.
16069 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16071         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
16072         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
16073         * minibuffer.el (completion-in-region-functions): New hook.
16074         (completion-in-region): New function.
16075         * emacs-lisp/lisp.el (lisp-complete-symbol):
16076         * pcomplete.el (pcomplete-std-complete): Use it.
16078 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16080         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
16081         (latex-complete-alist): New vars.
16082         (latex-string-prefix-p, latex-complete-bibtex-keys)
16083         (latex-complete-envnames, latex-complete-refkeys)
16084         (latex-complete-data): New functions.
16085         (latex-complete, latex-indent-or-complete): New commands.
16087         * window.el (display-buffer-mark-dedicated): New var.
16088         (display-buffer): Obey it.
16089         * minibuffer.el (minibuffer-completion-help): Use it.
16091         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
16093         * filecache.el (file-cache-add-file): Use push and cons.
16094         (file-cache-delete-file-regexp): Use push.
16095         (file-cache-complete): Use completion-in-region.
16097         * simple.el (with-wrapper-hook): Fix thinko.
16099         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
16100         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
16101         Use with-current-buffer and string-to-number.
16102         (hfy-fallback-colour-values): Use assoc-string.
16103         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
16104         (hfy-face-at): Remove unused var `found-face'.
16105         (hfy-compile-stylesheet): Remove unused var `css'.
16106         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
16107         and `orig-buffer'.
16108         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
16109         Use with-current-buffer.
16110         (hfy-text-p): Use expand-file-name and fewer setq.
16112 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
16114         * htmlfontify.el, hfy-cmap.el: New files.
16116 2009-11-19  Juri Linkov  <juri@jurta.org>
16118         * minibuffer.el (completions-format): New defcustom.
16119         (completion--insert-strings): Implement vertical format.
16121         * simple.el (switch-to-completions): Move point to the first
16122         completion when point was at the beginning of the buffer.
16124 2009-11-19  Juri Linkov  <juri@jurta.org>
16126         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
16128         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
16130 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
16132         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
16133         (mail-signature): Change default to t.
16134         (mail-from-style): Deprecate `system-default' value.
16135         (mail-insert-from-field): For default value of mail-from-style,
16136         default to `angles' unless `angles' needs quoting and `parens'
16137         does not.
16138         (mail-citation-prefix-regexp): Use citation regexp from
16139         message-mode.
16141 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
16143         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
16144         Set variables for computing the prompt for reading password.
16146 2009-11-19  Glenn Morris  <rgm@gnu.org>
16148         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
16150         * textmodes/flyspell.el (sgml-lexical-context): Declare.
16152         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
16153         (newsticker-treeview-listwindow-height): Fix custom type.
16155 2009-11-19  Kenichi Handa  <handa@m17n.org>
16157         * descr-text.el (describe-char-padded-string): Compose with TAB
16158         only if there's a font for CH.
16159         (describe-char): Fix the condition for detecting a trivial composition.
16161 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
16163         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
16164         more accurate version of the regexp.  (Bug#3910)
16166 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
16168         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
16170 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
16172         * font-setting.el (font-use-system-font): Declare for byte-compiler.
16173         (font-setting-change-default-font): Fix typo in docstring.
16175 2009-11-18  Alan Mackenzie  <acm@muc.de>
16177         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
16179 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
16181         * font-setting.el (font-use-system-font): Move ...
16183         * cus-start.el (all): ... to here.
16185 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
16187         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
16188         Don't set `ad-return-value' if `ad-do-it' doesn't.
16190         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
16191         modification time.
16193 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
16195         * menu-bar.el: Put "Use system font" in Option-menu.
16196         (menu-bar-options-save): Add font-use-system-font.
16198         * loadup.el: If feature system-font-setting or font-render-setting is
16199         there, load font-setting.
16201         * Makefile.in (ELCFILES): Add font-settings.el.
16202         * font-setting.el: New file.
16204 2009-11-17  Glenn Morris  <rgm@gnu.org>
16206         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
16208         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
16209         Preserve point in the list buffer.  (Bug#4939)
16210         Use point-at-eol.
16211         (newsticker--treeview-list-update-highlight)
16212         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
16214 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
16216         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
16217         Remove.
16219         * calc/calc-ext.el (calc-init-extensions): Remove references to
16220         symclip.
16222         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
16224         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
16225         * calc/calc-help.el (calc-b-prefix-help): Remove references to
16226         `calc-symclip'.
16228 2009-11-16  Kevin Ryde  <user42@zip.com.au>
16230         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16231         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
16233         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
16234         (lm-keywords-list): Allow comma-only separator like "foo,bar".
16235         Ignore trailing spaces by omit-nulls to split-string (fixing
16236         regression from Emacs 21 due to the incompatible split-string
16237         change).  (Bug #4928.)
16239 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
16241         * vc.el (vc-log-show-limit): Default to 2000.
16242         (vc-print-log-internal): Insert buttons to request more entries
16243         when limiting the output.
16245         * vc-sccs.el (vc-sccs-print-log):
16246         * vc-rcs.el (vc-rcs-print-log):
16247         * vc-cvs.el (vc-cvs-print-log):
16248         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
16249         LIMIT is non-nil.
16251 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
16253         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
16254         error when `tramp-gvfs-dbus-event-vector' is set.
16255         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
16257 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16259         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
16261 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
16263         * net/dbus.el (dbus-unregister-service): New defun.
16264         (dbus-register-property): Register the handlers of
16265         "org.freedesktop.DBus.Properties" for SERVICE.
16266         (dbus-property-handler): Fix docstring.
16268 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
16270         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
16271         Quote doc string reference in defvaralias as it is not in special form.
16272         (byte-compile-output-docform): Doc fix.
16274 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
16276         * calc/calc.el (math-2-word-size, math-half-2-word-size)
16277         (calc-complement-signed-mode): New variables.
16278         (calc-set-mode-line): Add indicator for twos-complements.
16279         (math-format-number): Format twos-complement notation.
16281         * calc/calc-bin.el (calc-word-size): Reset the variables
16282         `math-2-word-size' and `math-half-2-word-size'.
16283         (math-format-complement-signed, math-symclip, calcFunc-symclip)
16284         (calc-symclip): New functions.
16286         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
16288         * calc/calc-embed.el (calc-embedded-mode-vars):
16289         Add `calc-complement-signed-mode' to the list of modes.
16291         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
16292         (calc-b-oper-keys): Add `calc-symclip' to list.
16294         * calc/calc-ext.el (math-read-number-fancy): Read complement
16295         signed numbers.
16296         (calc-init-extensions): Add binding for `calc-symclip'.
16297         Add autoload for `calcFunc-symclip' and `calc-symclip'.
16299         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
16300         `calc-symclip'.
16301         (calc-modes-menu): Add item for twos complement mode.
16303         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
16305 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
16307         * register.el (jump-to-register, insert-register): Handle Semantic
16308         tags.  From commented-out advice in semantic/senator.el.
16310 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
16312         * vc.el (vc-log-show-limit): New variable.
16313         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
16314         when using a prefix argument.
16315         (vc-print-log-internal): Add new argument LIMIT.
16317         * vc-svn.el (vc-svn-print-log):
16318         * vc-mtn.el (vc-mtn-print-log):
16319         * vc-hg.el (vc-hg-print-log):
16320         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16321         pass it to the log command when set.  Make the BUFFER argument
16322         non-optional.
16324         * vc-sccs.el (vc-sccs-print-log):
16325         * vc-rcs.el (vc-rcs-print-log):
16326         * vc-git.el (vc-git-print-log):
16327         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16328         ignore it.  Make the BUFFER argument non-optional.
16330         * bindings.el (mode-line-buffer-identification): Do not purecopy.
16332 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
16334         * dired.el (dired-mode-map): Move encryption items to "Operate"
16335         menu (Bug#4703).
16337         * strokes.el (strokes-update-window-configuration): Make strokes
16338         buffer current before erasing (Bug#4906).
16340 2009-11-15  Juri Linkov  <juri@jurta.org>
16342         * simple.el (set-mark-default-inactive): Add :type, :group
16343         and :version.  (Bug#4876)
16345 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
16347         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16348         (archive-unique-fname): ... here.  (Bug#4929)
16350 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16352         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16353         with a real fix.
16355         * novice.el (disabled-command-function): Add useful args.
16356         Setup the help buffer so that [back] works.
16357         Remove redundant call to help-mode.
16358         (disabled-command-function): Use `case'.
16359         (en/disable-command): New function extracted from enable-command.
16360         (enable-command, disable-command): Use it.
16362 2009-11-14  Glenn Morris  <rgm@gnu.org>
16364         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16365         constants.  (Bug#4913)
16367         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16369 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
16371         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16372         defined in C that have no doc-strings.  (Bug#1063)
16374 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
16376         * cus-edit.el (data, files):
16377         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
16379 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
16381         * simple.el (shell-command): Doc fix (Bug#4891).
16383         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16385 2009-11-14  Glenn Morris  <rgm@gnu.org>
16387         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16388         statements for vc-diff, emerge-quit, and rmail-cease-edit.
16389         If they are already loaded, eval-after-load will do the right thing.
16391         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16392         compiling.
16394         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16396         * simple.el (x-selection-owner-p): Declare.
16397         (read-mail-command): Use custom radio type rather than choice.
16398         (completion-no-auto-exit): Doc fix.
16400         * custom.el (defgroup):
16401         * epg-config.el (epg): Doc fixes.
16403 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
16405         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16406         * international/ccl.el (define-ccl-program): Do not purecopy the
16407         docstring, defconst does it anyway.
16409 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16411         * add-log.el (add-change-log-entry): Avoid displaying the changelog
16412         a second time.
16414         * x-dnd.el (x-dnd-maybe-call-test-function):
16415         * window.el (split-window-vertically):
16416         * whitespace.el (whitespace-help-on):
16417         * vc-rcs.el (vc-rcs-consult-headers):
16418         * userlock.el (ask-user-about-lock-help)
16419         (ask-user-about-supersession-help):
16420         * type-break.el (type-break-force-mode-line-update):
16421         * time-stamp.el (time-stamp-conv-warn):
16422         * terminal.el (te-set-output-log, te-more-break, te-filter)
16423         (te-sentinel, terminal-emulator):
16424         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16425         (term-write-input-ring, term-check-source, term-start-output-log):
16426         (term-display-buffer-line, term-dynamic-list-completions):
16427         (term-ansi-make-term, serial-term):
16428         * subr.el (selective-display):
16429         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16430         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16431         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16432         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16433         (speedbar-remove-localized-speedbar-support)
16434         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16435         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16436         (speedbar-buffers-line-directory):
16437         * simple.el (shell-command-on-region, append-to-buffer)
16438         (prepend-to-buffer):
16439         * shadowfile.el (shadow-save-todo-file):
16440         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16441         (scroll-bar-maybe-set-window-start):
16442         * sb-image.el (speedbar-image-dump):
16443         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16444         (load-save-place-alist-from-file):
16445         * ps-samp.el (ps-print-message-from-summary):
16446         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16447         (ps-background-image, ps-begin-job, ps-do-despool):
16448         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16449         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16450         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16451         (pr-call-process, pr-file-list, pr-interface-save):
16452         * novice.el (disabled-command-function)
16453         (enable-command, disable-command):
16454         * mouse.el (mouse-buffer-menu-alist):
16455         * mouse-copy.el (mouse-kill-preserving-secondary):
16456         * macros.el (kbd-macro-query):
16457         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16458         * informat.el (batch-info-validate):
16459         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16460         * hippie-exp.el (try-expand-dabbrev-visible):
16461         * help-mode.el (help-make-xrefs):
16462         * help-fns.el (describe-variable):
16463         * generic-x.el (bat-generic-mode-run-as-comint):
16464         * finder.el (finder-mouse-select):
16465         * find-dired.el (find-dired-sentinel):
16466         * filesets.el (filesets-file-close):
16467         * files.el (list-directory):
16468         * faces.el (list-faces-display, describe-face):
16469         * facemenu.el (list-colors-display):
16470         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16471         * epg.el (epg--process-filter, epg-cancel):
16472         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16473         (epa--read-signature-type):
16474         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
16475         (emerge-file-names):
16476         * ehelp.el (electric-helpify):
16477         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
16478         * ediff-vers.el (rcs-ediff-view-revision):
16479         * ediff-util.el (ediff-setup):
16480         * ediff-mult.el (ediff-append-custom-diff):
16481         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
16482         (ediff-wordify):
16483         * echistory.el (Electric-command-history-redo-expression):
16484         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
16485         * disp-table.el (describe-display-table):
16486         * dired.el (dired-find-buffer-nocreate):
16487         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
16488         * dabbrev.el (dabbrev--same-major-mode-p):
16489         * chistory.el (list-command-history):
16490         * apropos.el (apropos-documentation):
16491         * allout.el (allout-obtain-passphrase):
16492         (allout-copy-exposed-to-buffer):
16493         (allout-verify-passphrase): Use with-current-buffer.
16495 2009-11-13  Glenn Morris  <rgm@gnu.org>
16497         * Makefile.in (ELCFILES): Regenerate.
16499 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
16501         * net/dbus.el (dbus-registered-objects-table): Rename from
16502         `dbus-registered-functions-table', because it contains also properties.
16503         (dbus-unregister-object): Unregister also properties.
16504         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
16505         Use a timeout of 500 msec, in order to not block.
16506         (dbus-register-property, dbus-property-handler): New defuns.
16508 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16510         * simple.el (minibuffer-default-add-completions): Drop deprecated
16511         4th arg.
16513 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
16515         * textmodes/artist.el (artist-mouse-choose-operation):
16516         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
16517         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
16518         (artist-compute-up-event-key): New function.
16519         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
16521 2009-11-13  Kenichi Handa  <handa@m17n.org>
16523         * language/japan-util.el: Make sure that the value of jisx0208
16524         property is jisx0208 character.
16526 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
16528         * international/mule.el (auto-coding-regexp-alist): Only purecopy
16529         car or each item, not the whole list.
16531 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16533         * minibuffer.el (minibuffer-completion-help):
16534         Use minibuffer-hide-completions.
16536 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
16538         * dired.el (dired-save-positions, dired-restore-positions): New funs.
16539         (dired-revert): Use them (bug#4880).
16541 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
16543         * tooltip.el (tooltip-frame-parameters): Undo previous change.
16545 2009-11-12  Juri Linkov  <juri@jurta.org>
16547         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
16548         New functions.
16549         (find-file-literally-at-point): Alias of `ffap-literally'.
16551 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
16553         * textmodes/ispell.el (ispell-skip-region-alist):
16554         * textmodes/css-mode.el (auto-mode-alist):
16555         * progmodes/compile.el (auto-mode-alist):
16556         * international/mule.el (ctext-non-standard-encodings-alist)
16557         (ctext-non-standard-encodings-regexp):
16558         * simple.el (shell-command-switch, text-read-only):
16559         * replace.el (occur-mode-map):
16560         * paths.el (rmail-file-name):
16561         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
16562         * find-file.el (ff-special-constructs):
16563         * files.el (file-name-handler-alist):
16564         * composite.el: Purecopy strings.
16566         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
16568 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
16570         * widget.el (define-widget): Purecopy the docstring.
16571         * international/mule-cmds.el (charset): Do not purecopy the
16572         docstring here, define-widget does it.
16574         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
16575         * textmodes/bibtex-style.el (auto-mode-alist):
16576         * progmodes/inf-lisp.el (inferior-lisp-prompt):
16577         * progmodes/compile.el (compile-command):
16578         * language/korea-util.el (default-korean-keyboard):
16579         * international/mule-conf.el (file-coding-system-alist):
16580         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
16581         * tooltip.el (tooltip-frame-parameters):
16582         * newcomment.el (comment-end, comment-padding):
16583         * dired.el (dired-trivial-filenames):
16584         * comint.el (comint-file-name-prefix): Purecopy initial values.
16586 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
16588         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16589         (tramp-advice-minibuffer-electric-tilde): Unload advices via
16590         `tramp-unload'.
16591         (tramp-advice-make-auto-save-file-name)
16592         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16593         after removing the advice.
16595 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
16597         * progmodes/grep.el (grep-regexp-alist):
16598         * international/mule-cmds.el (iso-2022-control-alist):
16599         * emacs-lisp/timer.el (timer-duration-words):
16600         * subr.el (version-separator, version-regexp-alist):
16601         * minibuffer.el (completion-styles-alist):
16602         * faces.el (face-attribute-name-alist, list-faces-sample-text):
16603         Change defvars to defconsts.
16605         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16606         * loadup.el ("international/mule-conf"): Load the byte compiled version.
16607         * international/mule-conf.el: Allow to be byte compiled.
16609         * international/mule.el (define-charset): Purecopy props.
16610         (load-with-code-conversion): Purecopy doc string and file name.
16611         (put-charset-property): Purecopy strings.
16612         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16614         * international/mule-cmds.el (register-input-method): Purecopy arguments.
16615         (define-char-code-property): Correctly purecopy the table.
16617         * international/ccl.el (define-ccl-program): Purecopy the docstring.
16619         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16621         * subr.el (add-hook): Purecopy strings.
16622         (eval-after-load): Purecopy load-history-regexp and the form.
16624         * custom.el (custom-declare-group): Purecopy load-file-name.
16626         * subr.el (menu-bar-separator): New defconst.
16627         * net/eudc.el (eudc-tools-menu):
16628         * international/mule-cmds.el (set-coding-system-map)
16629         (mule-menu-keymap):
16630         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16631         * vc-hooks.el (vc-menu-map):
16632         * replace.el (occur-mode-map):
16633         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16634         (menu-bar-edit-menu, menu-bar-goto-menu)
16635         (menu-bar-custom-menu, menu-bar-showhide-menu)
16636         (menu-bar-options-menu, menu-bar-tools-menu)
16637         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16638         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16639         (menu-bar-help-menu):
16640         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16641         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16643         * term/x-win.el (x-gtk-stock-map):
16644         * progmodes/vera-mode.el (auto-mode-alist):
16645         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16646         (inferior-lisp-program, inferior-lisp-load-command):
16647         * progmodes/hideshow.el (hs-special-modes-alist):
16648         * progmodes/gud.el (same-window-regexps):
16649         * progmodes/grep.el (grep-program, find-program, xargs-program):
16650         * net/telnet.el (same-window-regexps):
16651         * net/rlogin.el (same-window-regexps):
16652         * language/ethiopic.el (font-ccl-encoder-alist):
16653         * vc-sccs.el (vc-sccs-master-templates):
16654         * vc-rcs.el (vc-rcs-master-templates):
16655         * subr.el (cl-assertion-failed):
16656         * simple.el (next-error-overlay-arrow-position):
16657         * lpr.el (lpr-command):
16658         * locate.el (locate-ls-subdir-switches):
16659         * info.el (same-window-regexps, info)
16660         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16661         * image-mode.el (image-mode, auto-mode-alist):
16662         * hippie-exp.el (hippie-expand-ignore-buffers):
16663         * format.el (format-alist):
16664         * find-dired.el (find-ls-subdir-switches, find-grep-options)
16665         (find-name-arg):
16666         * facemenu.el (facemenu-keybindings):
16667         * dired.el (dired-listing-switches, dired-chown-program):
16668         * diff.el (diff-switches, diff-command):
16669         * cus-edit.el (same-window-regexps):
16670         * bindings.el (mode-line-mule-info)
16671         (mode-line-buffer-identification): Purecopy strings.
16673 2009-11-11  Juri Linkov  <juri@jurta.org>
16675         * simple.el (dired-get-filename) <declare-function>:
16676         Tell the byte-compiler about dired-get-filename.
16677         (shell-command): In Dired mode, get filename from the current line
16678         as the default value.
16680 2009-11-10  Glenn Morris  <rgm@gnu.org>
16682         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16683         * calendar/holidays.el, progmodes/cperl-mode.el:
16684         Update x-popup-menu declarations.
16686         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16687         (list-load-path-shadows): Use dolist.
16688         (list-load-path-shadows): Use with-current-buffer.
16690 2009-11-10  Juri Linkov  <juri@jurta.org>
16692         * minibuffer.el (read-file-name): Support a list of default values
16693         in `default-filename'.  Use the first file name where only one
16694         element is required.  Doc fix.
16696 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
16698         * net/dbus.el (dbus-unregister-object): Release service, if no
16699         other method is registered for it.
16701 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
16703         * bookmark.el (bookmark-completing-read): Sort bookmark names if
16704         bookmark-sort-flag is non-nil (Bug#4653).
16706 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
16708         * emulation/cua-base.el: Add CUA property to some CC mode commands
16709         (Bug#4100).
16711 2009-11-08  Kevin Ryde  <user42@zip.com.au>
16713         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16714         at end of sentence (Bug#4818).
16716 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
16718         * progmodes/compile.el (compilation-error-regexp-alist-alist):
16719         Handle "see declaration of" MSFT statements (Bug#4100).
16721 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
16723         * net/tramp.el (tramp-advice-make-auto-save-file-name)
16724         (tramp-advice-file-expand-wildcards): Unload via
16725         `ad-remove-advice'.
16727         * net/trampver.el: Update release number.
16729 2009-11-08  Kevin Ryde  <user42@zip.com.au>
16731         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16732         `ad-do-it'.
16734 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
16736         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16737         in order to keep context in SELinux.
16739 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
16741         * dired-aux.el (dired-query): Place cursor in echo area and allow
16742         C-g.
16744         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16745         menu item if not on a directory (Bug#4701).
16747 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
16749         Sync with Tramp 2.1.17.
16751         * net/tramp.el (tramp-handle-copy-directory): Don't use
16752         `file-remote-p' (due to compatibility).
16754         * net/tramp-compat.el (tramp-compat-copy-directory)
16755         (tramp-compat-delete-directory): New defuns.
16757         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16758         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16759         Use `tramp-compat-delete-directory'.
16761         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16762         (tramp-smb-handle-delete-directory):
16763         Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16765         * net/trampver.el: Update release number.
16767 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
16769         * tar-mode.el (tar-copy): Call write-region on the right buffer
16770         (Bug#4857).
16772         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16773         by hand, if necessary (Bug#4878).
16775 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
16777         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16778         align size column (Bug#4839).
16780         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16781         statement.
16783 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
16785         * progmodes/ld-script.el (auto-mode-alist):
16786         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16788         * cus-face.el (custom-declare-face): Purecopy face spec.
16790 2009-11-06  Kenichi Handa  <handa@m17n.org>
16792         * international/uni-bidi.el: Re-generated.
16793         * international/uni-category.el: Re-generated.
16794         * international/uni-combining.el: Re-generated.
16795         * international/uni-mirrored.el: Re-generated.
16797 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
16799         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16800         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16801         (tex-start-options, slitex-run-command, latex-run-command)
16802         (tex-run-command, tex-directory):
16803         * textmodes/ispell.el (ispell-html-skip-alists)
16804         (ispell-tex-skip-alists, ispell-tex-skip-alists):
16805         * textmodes/fill.el (adaptive-fill-first-line-regexp):
16806         (adaptive-fill-regexp):
16807         * textmodes/dns-mode.el (auto-mode-alist):
16808         * progmodes/python.el (interpreter-mode-alist):
16809         * progmodes/etags.el (tags-compression-info-list):
16810         * progmodes/etags.el (tags-file-name):
16811         * net/browse-url.el (browse-url-galeon-program)
16812         (browse-url-firefox-program):
16813         * mail/sendmail.el (mail-signature-file)
16814         (mail-citation-prefix-regexp):
16815         * international/mule-conf.el (eight-bit):
16816         * international/latexenc.el (latex-inputenc-coding-alist):
16817         * international/fontset.el (x-pixel-size-width-font-regexp):
16818         * emacs-lisp/warnings.el (warning-type-format):
16819         * emacs-lisp/trace.el (trace-buffer):
16820         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16821         (emacs-lisp-mode-map):
16822         * calendar/holidays.el (holiday-solar-holidays)
16823         (holiday-bahai-holidays, holiday-islamic-holidays)
16824         (holiday-christian-holidays, holiday-hebrew-holidays)
16825         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16826         (hebrew-holidays-1, holiday-oriental-holidays)
16827         (holiday-general-holidays):
16828         * x-dnd.el (x-dnd-known-types):
16829         * tool-bar.el (tool-bar):
16830         * startup.el (site-run-file):
16831         * shell.el (shell-dumb-shell-regexp):
16832         * rfn-eshadow.el (file-name-shadow-tty-properties)
16833         (file-name-shadow-properties):
16834         * paths.el (remote-shell-program, news-directory):
16835         * mouse.el ([C-down-mouse-3]):
16836         * menu-bar.el (menu-bar-tools-menu):
16837         * jka-cmpr-hook.el (jka-compr-load-suffixes)
16838         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16839         (jka-compr-compression-info-list):
16840         * isearch.el (search-whitespace-regexp):
16841         * image-file.el (image-file-name-extensions):
16842         * find-dired.el (find-ls-option):
16843         * files.el (directory-listing-before-filename-regexp)
16844         (directory-free-space-args, insert-directory-program)
16845         (list-directory-brief-switches, magic-fallback-mode-alist)
16846         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16847         (automount-dir-prefix):
16848         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16849         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16850         (face-font-registry-alternatives, face-font-registry-alternatives)
16851         (face-font-family-alternatives):
16852         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16853         (facemenu-foreground-menu, facemenu-face-menu):
16854         * epa-hook.el (epa-file-name-regexp):
16855         * dnd.el (dnd-protocol-alist):
16856         * textmodes/rst.el (auto-mode-alist):
16857         * button.el (default-button): Purecopy strings.
16859 2009-11-06  Glenn Morris  <rgm@gnu.org>
16861         * Makefile.in (ELCFILES): Update.
16863 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16865         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16866         * emacs-lisp/levents.el: Move to obsolete/levents.el.
16868         * nxml/xsd-regexp.el (xsdre-gen-categories):
16869         * nxml/xmltok.el (xmltok-parse-entity):
16870         * nxml/rng-parse.el (rng-parse-validate-file):
16871         * nxml/rng-maint.el (rng-format-manual)
16872         (rng-manual-output-force-new-line):
16873         * nxml/rng-loc.el (rng-save-schema-location-1):
16874         * nxml/rng-cmpct.el (rng-c-parse-file):
16875         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16876         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16878 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
16880         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16881         Remove extra save-excursions and make-variable-buffer-local's.
16882         Suggested by Stefan Monnier.
16884         (verilog-getopt-file, verilog-module-inside-filename-p)
16885         (verilog-set-define): Merge GNU 1.35 and repair changes from
16886         switching to using with-current-buffer.
16888         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16889         being treated as a number and confusing AUTORESET.
16890         Reported by Dan Dever.
16892         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16893         Add verilog-auto-ignore-concat to fix backward compatibility with
16894         older verilog-modes.  Reported by Dan Katz.
16896         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16897         containing closing anchors "...$".
16899         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16900         Reported by Wade Smith.
16902         (verilog-batch-execute-func): Comment on function usage.
16904 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
16906         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16907         for labels.
16909         (verilog-label-re, verilog-calc-1): Support proper indent of named
16910         asserts.
16912         (verilog-backward-token, verilog-basic-complete-re)
16913         (verilog-beg-of-statement, verilog-indent-re): Support proper
16914         indent of the assert statement at the beginning of a block of text.
16916         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
16917         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
16918         tokens as begins.
16920 2009-11-05  Glenn Morris  <rgm@gnu.org>
16922         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
16923         Emacs 19.  (Bug#1531)
16924         (byte-compile-fix-header): Update for the above change.
16925         Drop test for epoch::version.
16927         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
16928         * cus-dep.el (custom-make-dependencies):
16929         * finder.el (finder-compile-keywords):
16930         Use autoload-rubric's feature argument.
16932         * calendar/diary-lib.el (top-level): Make load behave more like require.
16934         * vc-git.el (vc-git-stash-map): Move definition before use.
16936 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
16938         * custom.el (custom-declare-group): Purecopy standard-value.
16939         (custom-declare-group): Purecopy custom-prefix.
16941         * international/mule.el (load-with-code-conversion):
16942         Call do-after-load-evaluation unconditionally.
16944         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
16946 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16948         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
16950 2009-11-04  Glenn Morris  <rgm@gnu.org>
16952         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
16953         (byte-compile-compatibility): Remove option.
16954         (byte-compile-close-variables, byte-compile-fix-header)
16955         (byte-compile-insert-header, byte-compile-output-docform)
16956         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
16957         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
16958         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
16959         (byte-compile-insert, byte-compile-defun):
16960         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
16961         (byte-defop-compiler19): Remove.
16962         Without byte-compile-compatibility, the 'emacs19-opcode property is not
16963         used by anything.  Replace all calls with byte-defop-compiler.
16965 2009-11-04  Juri Linkov  <juri@jurta.org>
16967         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
16968         (menu-bar-options-menu): Don't quote the `prop' arg of
16969         `menu-bar-make-mm-toggle'.
16971 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
16973         * calendar/calendar.el (cal-loaddefs):
16974         * calendar/diary-lib.el (diary-loaddefs):
16975         * calendar/holidays.el (hol-loaddefs):
16976         * eshell/esh-module.el (esh-groups): Load rather than require.
16978 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16980         * calendar/todo-mode.el (todo-add-category): Don't hardcode
16981         point-min==1.
16982         (todo-top-priorities): Only display-buffer when called interactively.
16983         (todo-item-start): Don't save excursion point.
16984         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
16985         (todo-insert-item-here, todo-file-item, todo-remove-item):
16986         Adjust uses of todo-item-start and todo-item-end.
16988         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
16989         (autoload-rubric): Don't use any more.
16991         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
16992         and only put a prop if it is non-nil.
16994 2009-11-03  Juri Linkov  <juri@jurta.org>
16996         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
16997         (menu-bar-options-menu): Fix list quoting (Bug#4429).
16999         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
17000         and "Menu" to make top-level menu item visually one unit (like
17001         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
17002         multi-word menu items).  Fix :help string for quit-window.
17004 2009-11-03  Glenn Morris  <rgm@gnu.org>
17006         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
17007         (byte-compile-file-form-define-abbrev-table)
17008         (byte-compile-file-form-custom-declare-variable)
17009         (byte-compile-variable-ref, byte-compile-defvar):
17010         Whether or not a warning is enabled should only affect whether we issue
17011         the warning, not whether or not we collect the relevant data.
17012         Eg warnings can be turned on and off throughout the course of a file.
17014         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
17015         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
17017 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
17019         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
17020         * play/mpuz.el (mpuz-create-buffer):
17021         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
17022         (lm-print-y,s,noise, lm-print-w0, lm-init):
17023         * play/gomoku.el (gomoku-prompt-for-move):
17024         * play/fortune.el (fortune-in-buffer):
17025         * play/dissociate.el (dissociated-press):
17026         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
17027         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
17028         * mail/supercite.el (sc-eref-show):
17029         * mail/smtpmail.el (smtpmail-send-it):
17030         * mail/rmailsum.el (rmail-summary-next-labeled-message)
17031         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
17032         (rmail-summary-undelete-many, rmail-summary-rmail-update)
17033         (rmail-summary-goto-msg, rmail-summary-expunge)
17034         (rmail-summary-get-new-mail, rmail-summary-search-backward)
17035         (rmail-summary-add-label, rmail-summary-output-menu)
17036         (rmail-summary-output-body):
17037         * mail/rfc822.el (rfc822-addresses):
17038         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
17039         * mail/mailpost.el (post-mail-send-it):
17040         * mail/hashcash.el (hashcash-generate-payment):
17041         * mail/feedmail.el (feedmail-run-the-queue)
17042         (feedmail-queue-send-edit-prompt-help-first)
17043         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
17044         (feedmail-deduce-address-list):
17045         * eshell/esh-ext.el (eshell-remote-command):
17046         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
17047         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
17048         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
17049         (viper-save-string-in-file, viper-valid-marker):
17050         * emulation/viper-keym.el (viper-toggle-key):
17051         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
17052         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
17053         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
17054         * emulation/viper-cmd.el (viper-exec-form-in-vi)
17055         (viper-exec-form-in-emacs, viper-brac-function):
17056         * emulation/viper.el (viper-delocalize-var):
17057         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
17058         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
17059         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
17060         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
17061         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
17062         * emulation/edt.el (edt-electric-helpify):
17063         * emulation/cua-rect.el (cua--rectangle-aux-replace):
17064         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
17065         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
17066         (cua-indent-to-global-mark-column):
17067         * calendar/diary-lib.el (calendar-mark-1):
17068         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
17069         Use with-current-buffer.
17070         * emulation/viper.el (viper-delocalize-var): Use dolist.
17072 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
17074         * comint.el (comint-replace-by-expanded-history-before-point):
17075         Replace !! with the previous input string literally (Bug#1795).
17077 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
17079         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
17080         to be made up of whitespace.
17082 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
17084         * minibuffer.el (read-file-name): Don't use file dialogs for
17085         remote directories (Bug#99).
17087 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
17089         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
17091 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17093         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
17094         instead of deleting the window or frame.
17096 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
17098         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
17099         Support face colors.
17101         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
17102         New function.  Support face colors (Bug#1168).
17103         (tex-common-initialization): Use it.
17105         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
17106         mode allows it (Bug#1168).
17108 2009-10-31  Juri Linkov  <juri@jurta.org>
17110         * facemenu.el (list-colors-display): Don't mark buffer as
17111         modified (Bug#3948).
17113 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
17115         * international/mule-diag.el (list-character-sets-1):
17116         Minor message fix (Bug#3526).
17118         * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
17119         Fix face property (Bug#4834).
17120         (etags-list-tags, etags-tags-apropos-additional)
17121         (etags-tags-apropos, tags-select-tags-table): Add follow-link
17122         property.
17124         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
17125         items.
17127 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
17129         * textmodes/two-column.el (2C-split):
17130         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
17131         * textmodes/tex-mode.el (tex-set-buffer-directory):
17132         * textmodes/spell.el (spell-region, spell-string):
17133         * textmodes/reftex.el (reftex-erase-buffer):
17134         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
17135         * textmodes/reftex-toc.el (reftex-toc-promote-action):
17136         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
17137         (reftex-select-item):
17138         * textmodes/reftex-ref.el (reftex-label-info-update)
17139         (reftex-offer-label-menu):
17140         * textmodes/reftex-index.el (reftex-index-change-entry)
17141         (reftex-index-phrases-info):
17142         * textmodes/reftex-global.el (reftex-create-tags-file)
17143         (reftex-save-all-document-buffers, reftex-ensure-write-access):
17144         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
17145         (reftex-view-crossref-from-bibtex):
17146         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
17147         (reftex-extract-bib-entries-from-thebibliography)
17148         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
17149         * textmodes/refbib.el (r2b-capitalize-title):
17150         (r2b-convert-buffer, r2b-help):
17151         * textmodes/page-ext.el (pages-directory)
17152         (pages-directory-goto-with-mouse):
17153         * textmodes/bibtex.el (bibtex-validate-globally):
17154         * textmodes/bib-mode.el (bib-capitalize-title):
17155         * textmodes/artist.el (artist-clear-buffer, artist-system):
17156         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
17157         (local-set-scheme-interaction-buffer, xscheme-process-filter)
17158         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
17159         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
17160         (xscheme-send-control-g-interrupt, xscheme-start-process)
17161         (xscheme-process-sentinel, xscheme-cd):
17162         * progmodes/verilog-mode.el (verilog-read-always-signals)
17163         (verilog-set-define, verilog-getopt-file)
17164         (verilog-module-inside-filename-p):
17165         * progmodes/sh-script.el:
17166         * progmodes/python.el (python-pdbtrack-get-source-buffer)
17167         (python-pdbtrack-grub-for-buffer, python-execute-file):
17168         * progmodes/octave-inf.el (inferior-octave):
17169         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
17170         (idlwave-shell-compile-helper-routines, idlwave-set-local)
17171         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
17172         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
17173         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
17174         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
17175         (idlwave-shell-filter, idlwave-shell-examine-highlight)
17176         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
17177         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
17178         (idlwave-shell-examine-display, idlwave-shell-run-region)
17179         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
17180         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
17181         * progmodes/idlw-help.el (idlwave-help-get-special-help)
17182         (idlwave-help-get-help-buffer):
17183         * progmodes/gud.el (gud-basic-call, gud-find-class)
17184         (gud-tooltip-activate-mouse-motions-if-enabled):
17185         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
17186         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
17187         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
17188         (ebrowse-tags-next-file):
17189         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
17190         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
17191         (ebnf-eps-finish-and-write):
17192         * progmodes/cpp.el (cpp-edit-save):
17193         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
17194         * progmodes/cc-defs.el (c-emacs-features):
17195         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
17196         (antlr-directory-dependencies):
17197         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
17198         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
17199         (ada-find-any-references, ada-make-filename-from-adaname)
17200         (ada-make-body-gnatstub):
17201         * obsolete/rnews.el (news-list-news-groups):
17202         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
17203         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
17204         * net/rcirc.el (rcirc-debug):
17205         * net/newst-treeview.el (newsticker--treeview-list-add-item)
17206         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
17207         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
17208         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
17209         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
17210         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
17211         (newsticker--treeview-list-clear-highlight)
17212         (newsticker--treeview-list-update-highlight)
17213         (newsticker--treeview-list-highlight-start)
17214         (newsticker--treeview-tree-update-highlight)
17215         (newsticker--treeview-get-selected-item)
17216         (newsticker-treeview-mark-list-items-old)
17217         (newsticker--treeview-set-current-node):
17218         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
17219         * net/newst-backend.el (newsticker--get-news-by-funcall)
17220         (newsticker--get-news-by-wget, newsticker--image-get)
17221         (newsticker--image-sentinel):
17222         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
17223         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
17224         (eudc-ph-close-session):
17225         * net/eudc.el (eudc-save-options):
17226         * language/thai-word.el (thai-update-word-table):
17227         * language/japan-util.el (japanese-string-conversion):
17228         * international/titdic-cnv.el (tsang-quick-converter)
17229         (ziranma-converter, ctlau-converter):
17230         * international/mule-cmds.el (describe-language-environment):
17231         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
17232         (skkdic-convert-postfix, skkdic-convert-prefix):
17233         (skkdic-convert-okuri-nasi, skkdic-convert):
17234         * emacs-lisp/re-builder.el (reb-update-overlays):
17235         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
17236         * emacs-lisp/gulp.el (gulp-send-requests):
17237         * emacs-lisp/find-gc.el (trace-call-tree):
17238         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
17239         (eieio-describe-generic):
17240         * emacs-lisp/eieio-base.el (eieio-persistent-read):
17241         * emacs-lisp/edebug.el (edebug-outside-excursion):
17242         * emacs-lisp/debug.el (debugger-make-xrefs):
17243         * emacs-lisp/cust-print.el (custom-prin1-to-string):
17244         * emacs-lisp/chart.el (chart-new-buffer):
17245         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
17246         Use with-current-buffer.
17247         * textmodes/artist.el (artist-system): Don't call
17248         copy-sequence on a fresh string.
17249         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
17251 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
17253         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
17254         is no item to edit.  (Bug#4820)
17255         (todo-top-priorities): Restore point and restore narrowing in Todo
17256         buffer.  (Bug#4820)
17258 2009-10-31  Glenn Morris  <rgm@gnu.org>
17260         * net/ange-ftp.el (top-level): Don't require dired when compiling.
17261         (comint-last-output-start, comint-last-input-start)
17262         (comint-last-input-end): Don't defvar when compiling.
17263         (ange-ftp-process-file): Use bound-and-true-p.
17265         * pcmpl-rpm.el (top-level): Move provide statement to end.
17266         (pcmpl-rpm): Remove unused custom group.
17268         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
17270         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
17272         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
17273         (byte-compile-warnings): Add `constants' as an option.
17274         (byte-compile-callargs-warn, byte-compile-arglist-warn)
17275         (display-call-tree): Update for byte-compile-fdefinition possibly
17276         returning `(macro lambda ...)'.  (Bug#4778)
17277         (byte-compile-variable-ref, byte-compile-setq-default):
17278         Respect `constants' member of byte-compile-warnings.
17280 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
17282         * vc-bzr.el (vc-bzr-revision-keywords): New var.
17283         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
17284         to "submit:".
17286 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
17288         * textmodes/ispell.el (ispell-skip-region-alist):
17289         * international/mule-conf.el (eight-bit):
17290         * international/fontset.el (font-encoding-alist):
17291         * startup.el (pure-space-overflow-message):
17292         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
17293         * paths.el (gnus-nntp-service, rmail-spool-directory)
17294         (term-file-prefix):
17295         * files.el (save-some-buffers-action-alist):
17296         * cmuscheme.el (same-window-buffer-names):
17297         * ielm.el (same-window-buffer-names):
17298         * shell.el (same-window-buffer-names):
17299         * mail/sendmail.el (same-window-buffer-names):
17300         * progmodes/inf-lisp.el (same-window-buffer-names):
17301         * bindings.el (mode-line-client)
17302         (mode-line-column-line-number-mode-map):
17303         * language/tibetan.el (tibetan-precomposition-rule-regexp)
17304         (tibetan-precomposed-regexp): Purecopy string arguments.
17306 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17308         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
17309         (calcDigit-nondigit):
17310         * calc/calc-yank.el (calc-copy-to-buffer):
17311         * calc/calc-units.el (calc-invalidate-units-table):
17312         * calc/calc-trail.el (calc-trail-yank):
17313         * calc/calc-store.el (calc-insert-variables):
17314         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17315         * calc/calc-prog.el (calc-read-parse-table):
17316         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17317         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17318         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17319         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17320         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17321         (calc-graph-name, calc-graph-find-command, calc-graph-view)
17322         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17323         * calc/calc-ext.el (calc-realign):
17324         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17325         (calc-embedded-finish-edit, calc-embedded-make-info)
17326         (calc-embedded-finish-command, calc-embedded-stack-change):
17327         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17329         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17330         shell-dynamic-complete-filename in preference to
17331         comint-dynamic-complete-filename.
17333         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17334         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17335         Don't consider whether the display supports colors.
17336         (bookmark-import-new-list): Use dolist.
17337         (bookmark-bmenu-mode-map): Move initialization into declaration.
17338         (bookmark-bmenu-list): Use dolist, simplify.
17339         (bookmark-show-all-annotations): Use save-selected-window and dolist.
17340         (menu-bar-final-items): Use push.
17342 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
17344         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17345         it works on remote files.
17346         (vc-hg-diff): Don't pass any `--cwd' argument.
17348 2009-10-27  Kevin Ryde  <user42@zip.com.au>
17350         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17351         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17352         (Further to Bug#3921).
17354 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
17356         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17357         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17358         calling `tramp-imap-put-file'.  Add file size to the call.
17359         (tramp-imap-get-file-entries): Compute also user name, file size,
17360         and date.
17361         (tramp-imap-handle-insert-directory): Insert uid and gid.
17362         (tramp-imap-handle-file-attributes): Transform uid and gid
17363         according to `id-format'.
17364         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
17365         size in header X-Size.
17367 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
17369         * simple.el (transpose-subr): Give clearer error when the mark
17370         is not set.  (Bug#4807)
17372 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
17374         * net/tramp.el (tramp-perl-file-truename): New defconst.
17375         Perl code contributed by yary <not.com@gmail.com> (tiny change).
17376         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17377         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17378         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17380         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17381         Ignore `dired-call-process'.
17382         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17384 2009-10-26  Julian Scheid  <julians37@gmail.com>
17386         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17387         (tramp-get-remote-readlink): New defun.
17388         (tramp-handle-file-truename): Use it.
17389         (tramp-handle-file-exists-p): Check file-attributes cache, assume
17390         file exists if cache value present.
17391         (tramp-check-cached-permissions): New defun.
17392         (tramp-handle-file-readable-p): Use it.
17393         (tramp-handle-file-writable-p): Likewise.
17394         (tramp-handle-file-executable-p): Likewise.
17395         (tramp-handle-file-name-all-completions): Try using Perl to get
17396         partial completions.  When perl not available, combine `cd' and
17397         `ls' into single remote operation and use shell expansion to get
17398         partial remote directory contents.  Set `file-exists-p' cache for
17399         directory and any files returned by ls.  Change cache handling to
17400         support partial directory contents.  Use error message emitted by
17401         remote `cd' or Perl code for local tramp-error.
17402         (tramp-do-copy-or-rename-file-directly): Avoid separate
17403         tramp-send-command-and-check call.
17404         (tramp-handle-process-file): Merge three remote ops into one.
17405         Do not flush all caches when `process-file-side-effects' is set.
17406         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17407         file-attributes shows uid/gid to be set already.
17409 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
17411         * textmodes/tex-mode.el (tex-dvi-view-command)
17412         (tex-show-queue-command, tex-open-quote):
17413         * progmodes/ruby-mode.el (auto-mode-alist)
17414         (interpreter-mode-alist): Purecopy strings.
17416         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17418         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17419         string for the hook, keymap and abbrev table.
17421         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17423         * x-dnd.el (x-dnd-xdnd-to-action):
17424         * startup.el (fancy-startup-text, fancy-about-text): Change to
17425         defconst from defvar.
17427         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17429         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17430         Purecopy initialization strings.
17432         * mail/sendmail.el (mail-header-separator)
17433         (mail-personal-alias-file):
17434         * mail/rmail.el (rmail-default-dont-reply-to-names)
17435         (rmail-ignored-headers, rmail-retry-ignored-headers)
17436         (rmail-highlighted-headers, rmail-secondary-file-directory)
17437         (rmail-secondary-file-regexp):
17438         * files.el (null-device, file-name-invalid-regexp)
17439         (locate-dominating-stop-dir-regexp)
17440         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17441         (interpreter-mode-alist): Use mapcar instead of mapc.
17443         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17445         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17446         (completion-ignored-extensions):
17447         (debug-ignored-errors): Purecopy strings.
17449 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
17451         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17452         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17453         (pcomplete--here): Use push.
17455         * subr.el (all-completions): Declare the 4th arg obsolete.
17457 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17459         * pcomplete.el (pcomplete-unquote-argument-function): New var.
17460         (pcomplete-unquote-argument): New function.
17461         (pcomplete--common-suffix): Always pay attention to case.
17462         (pcomplete--table-subvert): Quote and unquote the text.
17463         (pcomplete--common-quoted-suffix): New function.
17464         (pcomplete-std-complete): Use it and pcomplete-begin.
17466         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17467         we're inside a dedicated or minibuffer window.
17469 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
17471         * bookmark.el: Update documentation, especially documentation
17472         of `bookmark-alist' and of the bookmark file format.
17473         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
17475 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
17477         * mail/emacsbug.el (report-emacs-bug): Clarify that the
17478         keybindings apply to the mail buffer (Bug#4003).  Shrink help
17479         window to buffer.
17481         * whitespace.el (whitespace-mode, whitespace-newline-mode)
17482         (global-whitespace-mode, global-whitespace-newline-mode)
17483         (whitespace-toggle-options, global-whitespace-toggle-options):
17484         Doc fix (Bug#3660).
17486         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
17487         of xmltok-start before the end tag was inserted (Bug#2840).
17489         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
17490         patterns that are preceded by an open-paren (Bug#1320).
17492 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
17494         * files.el (delete-directory): Delete symlinks to directories with
17495         delete-file (Bug#4739).
17497 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
17499         * vc.el (vc-backend-for-registration): Rename from
17500         vc-get-backend-for-registration.  Update callers.
17502         * international/mule-cmds.el (set-language-info-alist):
17503         Purecopy lang-env.
17504         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
17505         (charset): Purecopy the name.
17506         (define-char-code-property): Purecopy string arguments.
17508         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17509         Purecopy string arguments.
17511         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17512         * ediff-hook.el (menu-bar-ediff-menu):
17513         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
17514         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
17516 2009-10-24  Glenn Morris  <rgm@gnu.org>
17518         * comint.el (comint-dynamic-list-completions):
17519         * term.el (term-dynamic-list-completions): Use choose-completion rather
17520         than obsolete alias mouse-choose-completion.
17522         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
17523         file-cache-choose-completion.
17524         (file-cache-choose-completion): Handle an optional event argument.
17525         (file-cache-mouse-choose-completion): Make it an obsolete alias.
17527         * progmodes/octave-mod.el (octave-complete-symbol):
17528         Use choose-completion if mouse-choose-completion is ever removed.
17530         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
17531         use.
17533         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
17534         compiler.
17536         * vc-hooks.el (vc-responsible-backend): Fix declaration.
17538 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17540         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
17541         Ignore `pred' now that we receive one.
17542         Handle test-completion specially.
17544 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
17546         * vc.el (vc-responsible-backend): Throw an error if not backend is
17547         found.  Remove the REGISTER argument.  Move the code dealing with
17548         REGISTER ...
17549         (vc-get-backend-for-registration): ... here.  New function.
17550         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
17551         of vc-responsible-backend, pass the file name instead of the
17552         directory name.
17554 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17556         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
17557         New funs.
17558         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
17559         (pcomplete-comint-setup): Don't modify a global var via
17560         accidental side-effects.
17561         (pcomplete-shell-setup): Adjust call accordingly.
17562         (pcomplete-parse-comint-arguments): Use push.
17564 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
17566         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17567         Allow uncapitalized info node names (Bug#3921).
17569         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
17570         to the DEBUG file (Bug#3781).
17572 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
17574         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
17575         dictionary entry (Bug#4579).
17577 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
17579         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
17580         from `rfn-eshadow-update-overlay-hook' when unloading.
17581         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
17582         "rsyncc".  Adjust doc string.
17583         (tramp-temp-buffer-file-name): New buffer-local defvar.
17584         (tramp-handle-insert-file-contents, tramp-handle-write-region):
17585         Keep temporary file when indicated by method ("rsync" and
17586         "rsyncc").
17587         (tramp-handle-write-region): Handle APPEND.
17588         (tramp-delete-temp-file-function): New defun.  Added to
17589         `kill-buffer-hook'.
17591 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
17593         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17595 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
17597         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17598         (color-name-rgb-alist, tty-standard-colors)
17599         (tty-color-mode-alist): Change to defconst.
17601         * simple.el (mark-inactive): Purecopy message.
17603         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17604         (global-map, yank-menu):
17605         * textmodes/ispell.el (ispell-menu-map):
17606         * net/eudc.el (eudc-tools-menu):
17607         * international/mule-cmds.el (describe-language-environment-map)
17608         (setup-language-environment-map, set-coding-system-map)
17609         (mule-menu-keymap):
17610         * vc-hooks.el (vc-menu-entry, vc-menu-map):
17611         * replace.el (occur-mode-map):
17612         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17614 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
17616         * calc/calc.el (math-read-number, math-read-number-simple):
17617         Use `save-match-data'.
17619 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17621         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17622         rather than fiddling with global-map bindings, since it should only
17623         affect per-terminal settings.
17624         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17626         * minibuffer.el (completion-table-with-terminator): Allow to specify
17627         the terminator-regexp.
17629         * simple.el (switch-to-completions): Look for *Completions* in other
17630         frames as well.
17632         * pcomplete.el: Allow the use of completion-tables.
17633         (pcomplete-std-complete): New command.
17634         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17635         (pcomplete--here): Use a function for `form' rather than an expression,
17636         so it can be byte-compiled.
17637         (pcomplete-here, pcomplete-here*): Adjust accordingly.
17638         Add edebug declaration.
17639         (pcomplete-show-completions): Remove unused var `curbuf'.
17640         (pcomplete-do-complete, pcomplete-stub):
17641         Don't assume `completions' is a list of strings any more.
17643 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
17645         * find-dired.el (find-name-arg): Fix typo in docstring.
17647 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17649         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17650         (pcmpl-linux-fs-types): Same, and update to new modules layout.
17652         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17653         pcomplete-entries.
17655         * comint.el (comint-read-input-ring, comint-write-input-ring)
17656         (comint-substitute-in-file-name)
17657         (comint-dynamic-complete-as-filename)
17658         (comint-dynamic-simple-complete)
17659         (comint-dynamic-list-filename-completions)
17660         (comint-dynamic-list-completions)
17661         (comint-redirect-results-list-from-process): Minor simplifications.
17663 2009-10-21  Kevin Ryde  <user42@zip.com.au>
17665         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17666         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17667         the first form.  And insert a blank line after ";;; Code" since
17668         that's usual style.  (Bug#4612)
17670         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17672 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17674         * minibuffer.el (completion-table-with-terminator): Properly implement
17675         boundaries, in case `terminator' appears in the suffix.
17676         (completion--embedded-envvar-table): Don't return boundaries if
17677         there's no valid completion.  Simplify.
17678         (completion-file-name-table): New completion table extracted from
17679         completion--file-name-table.
17680         (completion--file-name-table): Use it.
17681         (read-file-name-predicate): Declare obsolete.
17682         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17683         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17684         completion-file-name-table, and use the `pred' argument.
17685         * files.el (locate-file-completion-table): Use the `pred' arg rather
17686         than read-file-name-predicate.
17687         (abbreviate-file-name): Use \` rather than ^ for BOS.
17689 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
17691         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17692         vc-responsible-backend to register, it causes problems.
17694 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17696         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17698 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
17700         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17701         (tramp-smb-handle-file-attributes): Use it.
17702         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17703         (tramp-smb-handle-insert-directory): Use `mapc' rather than
17704         `mapcar'.  Use `tramp-smb-get-stat-capability'.
17705         Add `dired-filename' text properties.
17706         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17707         (tramp-smb-maybe-open-connection): Simplify check for smbclient
17708         version.
17710 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17712         * subr.el (read-key-delay): Reduce to 0.01.
17713         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17714         (bug#4751).
17716 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17718         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17720         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17721         (Info-menu): Remove unused vars `last' and `completions'.
17722         (Info-index-nodes): Remove unused var `node'.
17724         * info.el (Info-complete-menu-item): Use complete-with-action.
17726 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
17728         Make vc-annotate work through copies and renames.
17729         * vc-annotate.el (vc-annotate-extract-revision-at-line):
17730         Return the file name too.
17731         (vc-annotate-revision-at-line)
17732         (vc-annotate-find-revision-at-line)
17733         (vc-annotate-revision-previous-to-line)
17734         (vc-annotate-show-log-revision-at-line): Update to get the file
17735         name from vc-annotate-extract-revision-at-line.
17736         (vc-annotate-show-diff-revision-at-line-internal): Change the
17737         argument to mean whether to show a file diff or not.  Get the file
17738         name from vc-annotate-extract-revision-at-line.
17739         (vc-annotate-show-diff-revision-at-line):
17740         Update vc-annotate-show-diff-revision-at-line call.
17741         (vc-annotate-warp-revision): Add an optional file argument.
17743         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17744         (vc-git-annotate-extract-revision-at-line): Also return the file
17745         name if found.
17747         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17748         command.  Remove unused code.
17749         (vc-hg-annotate-re): Update to match --follow output.
17750         (vc-hg-annotate-extract-revision-at-line): Also return the file
17751         name if found.
17753         * vc.el: Update annotate-extract-revision-at-line documentation.
17755 2009-10-18  Kevin Ryde  <user42@zip.com.au>
17757         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17758         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17760         * net/browse-url.el (browse-url): Identify alist with "consp and
17761         not functionp" and let all other things go down the `apply' leg,
17762         as suggested by Stefan.  (Further to bug#4531.)
17764 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
17766         * minibuffer.el (read-file-name): Check for repeat before putting
17767         a default argument in file-name-history (Bug#4657).
17769         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17770         read syntax (Bug#4737).
17772         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17774 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
17776         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17777         (html-tag-alist, html-tag-help): Add descriptions for undocumented
17778         entries and make note of obsolete tags.
17780 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17782         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17784 2009-10-18  Glenn Morris  <rgm@gnu.org>
17786         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17787         grep, so that binary files (eg international/uni-bidi.el) can match.
17788         Remove test for "UnicodeData" files, since it is hopefully unnecessary
17789         now, and in any case the file header format has changed.
17791 2009-10-17  Glenn Morris  <rgm@gnu.org>
17793         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17794         (flyspell-get-word, flyspell-large-region)
17795         (flyspell-auto-correct-previous-word): Doc/error message fixes.
17797 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
17799         * Makefile.in (ELCFILES): Add ede/shell.
17801 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
17803         * term/common-win.el (x-colors): Purecopy it.
17805 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17807         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17808         permissive for when the buffer is empty.
17809         (tar-header-block-tokenize): Decode the username and groupname.
17810         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17812 2009-10-17  Eric Ludlam  <zappo@gnu.org>
17814         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17815         contains multibyte characters, choose first applicable coding
17816         system automatically.
17818 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17820         * international/mule-cmds.el (select-safe-coding-system): If the file
17821         has a coding cookie, use it regardless of any other setting (bug#4712).
17823 2009-10-17  Glenn Morris  <rgm@gnu.org>
17825         * foldout.el (foldout-mouse-swallow-events):
17826         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17828         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17829         (dired-keep-marker-copy, dired-keep-marker-hardlink)
17830         (dired-keep-marker-symlink, dired-dwim-target)
17831         (dired-copy-preserve-time): Do not autoload these defcustoms.
17833         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17834         messages from messing up the file coding.  (Bug#4623)
17836 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
17838         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17839         if no match is found for the current dictionary.  (Bug#4578)
17841         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17842         optional, since that is how it is documented, and this is often called
17843         with a nil argument.  (Bug#4577)
17844         (flyspell-external-point-words, flyspell-auto-correct-word)
17845         (flyspell-correct-word-before-point, flyspell-word-search-forward)
17846         (flyspell-word-search-backward): Remove nil argument in calls to
17847         flyspell-get-word, since it is not needed now.
17849 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
17851         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
17853 2009-10-16  Glenn Morris  <rgm@gnu.org>
17855         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17857 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
17859         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17860         (ange-ftp-file-size): New function.
17861         (ange-ftp-file-attributes): Use it.
17863 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
17865         * net/tramp-smb.el (tramp-smb-version): New defvar.
17866         (tramp-smb-maybe-open-connection): Use it, in order to avoid
17867         repeated checks.
17869 2009-10-16  Glenn Morris  <rgm@gnu.org>
17871         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17872         Maybe copy some custom properties from old to new name.  (Bug#4706)
17874 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
17876         * subr.el (error, sit-for, start-process-shell-command)
17877         (start-file-process-shell-command): Set the calling convention
17878         after the function definition.
17880 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17882         * subr.el (error, sit-for, start-process-shell-command)
17883         (start-file-process-shell-command): Use the new
17884         set-advertised-calling-convention feature.
17886 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
17888         * international/ucs-normalize.el (ucs-normalize-version):
17889         Change to 1.2.
17890         (check-range): Adjust for Unicode 5.2.
17892 2009-10-15  Juri Linkov  <juri@jurta.org>
17894         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17895         to the `menu-item' format.
17897 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
17899         * net/tramp.el (tramp-replace-environment-variables): Do not fail
17900         if the environment variable does not exist.
17902         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17903         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17904         parameter.
17905         (tramp-smb-handle-add-name-to-file)
17906         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17907         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17908         (tramp-smb-handle-file-attributes)
17909         (tramp-smb-do-file-attributes-with-stat)
17910         (tramp-smb-handle-file-local-copy)
17911         (tramp-smb-handle-insert-directory)
17912         (tramp-smb-handle-make-directory)
17913         (tramp-smb-handle-make-directory-internal)
17914         (tramp-smb-handle-make-symbolic-link)
17915         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
17916         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
17917         (tramp-smb-maybe-open-connection): Apply the changed parameters.
17918         (tramp-smb-read-file-entry): Read Disk names in compressed format.
17919         Handle long file names.
17920         (tramp-smb-get-cifs-capabilities): Check, whether the connection
17921         process is running.
17922         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
17923         Read share names with "-g" option.
17925 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
17927         * net/rcirc.el (rcirc-view-log-file): New command.
17928         (rcirc-track-minor-mode-map): Remove C-c ` binding.
17929         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
17930         specified.
17932 2009-10-15  Glenn Morris  <rgm@gnu.org>
17934         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
17935         from the second command-line argument.
17936         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
17937         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
17938         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
17939         w32-batch-update-autoloads.
17940         * emacs-lisp/autoload.el (autoload-make-program): New variable.
17941         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
17943         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
17944         the headers cannot be located.  Simplify, subtracting superflous
17945         save-excursions.
17947 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17949         Replace completion-base-size by completion-base-position to fix bugs
17950         such as (bug#4699).
17951         * simple.el (completion-base-position): New var.
17952         (completion-base-size): Mark as obsolete.
17953         (choose-completion): Make it work for mouse events as well.
17954         Pass the new base-position to choose-completion-string.
17955         (choose-completion-guess-base-position): New function, extracted from
17956         choose-completion-delete-max-match.
17957         (choose-completion-delete-max-match): Use it.  Make obsolete.
17958         (choose-completion-string): Use the new base-position info.
17959         (completion-root-regexp): Delete.
17960         (completion-setup-function): Preserve completion-base-position.
17961         Eliminate obsolete base-size manipulation.
17962         * minibuffer.el (display-completion-list): Don't mess with base-size.
17963         (minibuffer-completion-help): Set completion-base-position instead.
17964         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
17965         choose-completion.
17966         * textmodes/bibtex.el (bibtex-complete):
17967         * emacs-lisp/crm.el (crm--choose-completion-string):
17968         Adjust to new calling convention.
17969         * complete.el (partial-completion-mode): Use minibufferp to avoid
17970         bumping into incompatible change to choose-completion-string-functions.
17971         * ido.el (ido-choose-completion-string): Make its calling convention
17972         more permissive.
17973         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
17974         base-size manipulation.
17975         (comint-dynamic-list-input-ring): Use dotimes and push.
17976         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
17977         fundamental-mode.  Use `or'.
17979 2009-10-14  Juri Linkov  <juri@jurta.org>
17981         * misearch.el (multi-isearch-next-buffer-from-list)
17982         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
17984 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17986         * Makefile.in (compile-onefile): Load `bytecomp' rather than
17987         `bytecomp.el'.
17989         * minibuffer.el (completion-pcm--merge-completions): Make sure the
17990         string we return is all made up of text from the completions rather
17991         than part from the completions and part from the input (bug#4219).
17993         * ido.el (ido-everywhere): Use define-minor-mode.
17995         * buff-menu.el (list-buffers, ctl-x-map):
17996         Mark the entry points with ;;;###autoload cookies.
17998 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
18000         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
18001         correctly in the detached head case.
18002         (vc-git-print-log): Remove unused binding.
18004         * vc.el (vc-responsible-backend): When a directory is passed for
18005         for registration create a VC repository if no backend is
18006         responsible for the directory argument.
18007         (vc-deduce-fileset): Tell vc-responsible-backend to register.
18009         * vc.el: Move comments about RCS and SCCS ...
18010         * vc-rcs.el:
18011         * vc-sccs.el: ... here, respectively.
18013 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
18015         * minibuffer.el (completion--file-name-table): Return nil if there's
18016         no file completion, even if substitute-in-file-name changed
18017         the string (bug#4708).
18019 2009-10-13  Juri Linkov  <juri@jurta.org>
18021         * files-x.el (read-file-local-variable-value): Don't filter out
18022         minor modes from mode name completion (bug#4664).
18024 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
18026         * international/mule-cmds.el (ucs-names): Remove exclusion of
18027         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
18029 2009-10-13  Kenichi Handa  <handa@m17n.org>
18031         * international/uni-name.el: Regenerated.
18033 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
18035         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
18036         should be automatically buffer-local, but isn't.)
18038 2009-10-12  Sam Steingold  <sds@gnu.org>
18040         * progmodes/compile.el (compilation-next-error-function): Fix the
18041         timestamps if the buffer has been visited before.
18042         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
18043         non-anchored patterns, like the perl one (bug#3928).
18045 2009-10-12  Glenn Morris  <rgm@gnu.org>
18047         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
18048         Let-bind `size'.
18050 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
18052         * proced.el (proced-unload-function): New function.
18054         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
18055         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
18056         Doc fix.
18058         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
18060 2009-10-11  Juri Linkov  <juri@jurta.org>
18062         * files-x.el (read-file-local-variable-value):
18063         Provide default value only for bound variables (bug#4664).
18065 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
18067         * net/tramp.el (tramp-local-host-p): Function shall return nil for
18068         connection methods like smb.
18070         * net/tramp-cache.el (tramp-flush-connection-property): The hash
18071         can be empty.
18073         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18074         (tramp-smb-file-name-handler-alist): Add handlers for
18075         `add-name-to-file', `make-symbolic-link'.
18076         (tramp-smb-handle-add-name-to-file)
18077         (tramp-smb-do-file-attributes-with-stat)
18078         (tramp-smb-handle-make-symbolic-link)
18079         (tramp-smb-get-cifs-capabilities): New defuns.
18080         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18081         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18082         (tramp-smb-handle-file-local-copy)
18083         (tramp-smb-handle-make-directory-internal)
18084         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
18085         The file name syntax depends on cifs capabilities.
18086         (tramp-smb-handle-file-attributes):
18087         Call `tramp-smb-do-file-attributes-with-stat' if possible.
18088         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
18089         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
18091 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
18093         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
18094         (eieio-defclass): Apply deftype handler and setf-method properties
18095         directly.
18096         (eieio-add-new-slot): Avoid union function from cl library.
18097         (eieio--typep): New function.
18098         (eieio-perform-slot-validation): Use it.
18100 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
18102         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
18103         Update documentation to refer to the variables documented in r1.135.
18104         (Bug#4188)
18106 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
18108         * bookmark.el (Info-suffix-list): Remove this unused variable.
18109         (bookmark-current-point): Remove this obsolete variable.
18110         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
18111         Adjust for removal of bookmark-current-point.
18113         (bookmarks-already-loaded, bookmark-current-buffer)
18114         (bookmark-yank-point): Document.  (Bug#4188)
18116 2009-10-10  Glenn Morris  <rgm@gnu.org>
18118         * frame.el (frame-height): Doc fix.
18120         * calendar/calendar.el (calendar-split-width-threshold): New option.
18121         (calendar-basic-setup): Use calendar-split-width-threshold.
18123 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
18125         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
18126         Ideographic Supplement" range (U+1F200..U+1F2FF).
18128 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
18130         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
18131         since the list will have been rebuilt anyway.  (Bug#4349)
18133 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
18135         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
18136         (bookmark-bmenu-execute-deletions): Don't save here, as
18137         bookmark-delete will now do so if necessary.
18138         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
18139         (Bug#4348)
18141 2009-10-09  Glenn Morris  <rgm@gnu.org>
18143         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
18145 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
18147         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
18148         (bookmark-jump-other-window): Just invoke bookmark-jump with new
18149         argument now, so the two function's behaviors will match.  (Bug#3645)
18151 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
18153         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
18154         (tramp-file-name-real-host, tramp-file-name-port):
18155         Apply `save-match-data'.
18157         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
18158         case both directories are remote.
18159         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
18160         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
18162 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
18164         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
18166 2009-10-07  Glenn Morris  <rgm@gnu.org>
18168         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
18169         of concat.
18171 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
18173         * files-x.el (read-file-local-variable): Include some
18174         non-user-variables in the completion table (bug#4664).
18176 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
18178         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
18179         message.
18181         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18182         (tramp-smb-file-name-handler-alist): Add handler for
18183         `copy-directory', `expand-file-name', `set-file-modes'.
18184         (tramp-smb-handle-copy-directory)
18185         (tramp-smb-handle-expand-file-name)
18186         (tramp-smb-handle-set-file-modes): New defuns.
18187         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
18188         (tramp-smb-handle-file-attributes): Simplify check for retrieving
18189         entry.
18190         (tramp-smb-handle-insert-directory): Don't flush the cache.
18191         (tramp-smb-maybe-open-connection): Check for samba client and
18192         server versions.
18194 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
18196         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
18197         to not error out of search for "^lisp=" fails.
18199 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
18201         * makefile.w32-in (WINS_UPDATES): New macro.
18202         (custom-deps, finder-data, autoloads): Use it.
18204 2009-10-07  Glenn Morris  <rgm@gnu.org>
18206         * Makefile.in (autoloads): Revert previous change.
18207         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
18208         the list of preloaded files passed on the command-line, get
18209         it from src/Makefile.
18211         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
18212         show the original buffer rather than a random one.
18214 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
18216         * help.el (describe-no-warranty): Place point in a slightly better
18217         position in the GPLv3 text.
18219 2009-10-06  Sam Steingold  <sds@gnu.org>
18221         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
18222         the comm attribute is present before calling regexp-quote.
18224 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
18226         * play/animate.el (animate-string): For good effect, make sure
18227         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
18229         * play/animate.el (animate-sequence, animate-birthday-present):
18230         * misc.el (butterfly): Don't set `indent-tabs-mode'.
18232 2009-10-06  Glenn Morris  <rgm@gnu.org>
18234         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
18236         * emacs-lisp/autoload.el (autoload-excludes): New variable.
18237         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
18238         (batch-update-autoloads): Process a string value of autoload-excludes,
18239         set during the build process.
18240         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
18242         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
18243         inside with-parsed...  macro so that `v' is defined.
18245         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
18246         * progmodes/fortran.el (fortran-end-of-block)
18247         (fortran-beginning-of-block):
18248         Also push mark in the macro case.
18250         * emerge.el (emerge-show-file-name):
18251         * calc/calc.el (calc-quit):
18252         * calc/calc-misc.el (calc-big-or-small):
18253         * calc/calc-graph.el (calc-graph-view):
18254         * calc/calc-ext.el (calc-reset):
18255         * calendar/calendar.el (calendar-basic-setup):
18256         Use window-full-height-p.
18258         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
18259         header we don't understand, don't insert another.  (Bug#4624)
18260         If changing mime charset, insert the new one in the right place.
18262 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
18264         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
18265         (cal-tex-cursor-month): Correctly increment the end date for diary and
18266         holiday listing.  (Bug#4626)
18268 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18270         * help-fns.el (describe-function-1): Don't burp if the function is not
18271         a symbol.
18273 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
18275         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
18276         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
18277         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
18278         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
18280         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
18281         (eieio-default-superclass): Reflow docstrings.
18282         (this, class-option-assoc, defclass, eieio-class-un-autoload)
18283         (eieio-unbind-method-implementations, defmethod)
18284         (eieio-validate-slot-value, eieio-validate-class-slot-value)
18285         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
18286         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
18287         (eieio-slot-originating-class-p, eieio-slot-name-index)
18288         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
18289         (constructor, initialize-instance, no-next-method, object-print)
18290         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
18291         Fix typos in docstrings.
18292         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
18293         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
18294         (next-method-p): Doc fixes.
18295         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
18296         Fix typos in error messages.
18297         (eieio-defmethod): Fix typo in description of generic method.
18299         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
18300         (eieio-persistent-save-interactive, slot-missing):
18301         Fix typos in docstrings.
18302         (eieio-instance-inheritor-slot-boundp): Doc fix.
18304         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
18305         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
18307         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
18308         (eieio-custom-object-apply-reset):
18309         Fix typos in docstrings and error messages.
18311         * emacs-lisp/eieio-datadebug.el (data-debug-show):
18312         Fix typo in docstring.
18314         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18315         (eieio-browse-tree): Doc fix.
18316         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18317         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18318         Fix typos in docstrings.
18320         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18321         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18322         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18323         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18324         Reflow docstrings.
18326 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
18328         * vc-hg.el (log-view-vc-backend): Declare for compiler.
18329         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18330         Set log-view-vc-backend so that diff can work.
18332         * log-view.el (log-view-diff): Use vc-diff-internal instead of
18333         vc-version-diff.
18334         (vc-diff-internal): Autoload this instead of vc-version-diff.
18336 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
18338         * simple.el (eval-expression): Doc fix.
18340         * progmodes/cwarn.el (cwarn-mode): Doc fix.
18342 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
18344         * files.el (directory-files-no-dot-files-regexp): New defconst.
18345         (delete-directory): Use it.
18346         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
18348         * net/tramp.el (tramp-verbose): Fix docstring.
18349         (tramp-methods): Add recursive option to `tramp-copy-args'.
18350         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
18351         "scp1_old", "scp2_old", "rsync", "rsyncc".
18352         (tramp-default-method): Check also for `auth-source-user-or-password'.
18353         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18354         Add handler for `copy-directory'.
18355         (tramp-handle-copy-directory): New defun.
18356         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18357         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18358         Optimize sent command.
18360 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18362         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18363         window if necessary.
18365         * calendar/calendar.el (calendar-basic-setup): Don't call
18366         switch-to-buffer in a dedicated window.
18368 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
18370         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18371         don't do anything related to relocating, just return nil.
18372         (bookmark-error-no-filename): New error.
18373         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18374         bookmark has no file.  Don't even attempt to handle things that
18375         are not files; the whole point of custom handlers is to keep that
18376         knowledge elsewhere anyway.  Tighten some comments.
18377         (bookmark-file-or-variation-thereof): Remove now-unused function.
18378         (bookmark-location): Doc string fix.
18379         (Bug#4250)
18381 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18383         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18384         don't use a file dialog, because they usually don't know how to read
18385         a directory target from the user.  (Bug#4230)
18386         Also, make sure the prompt can display directories as well as files.
18388 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18390         * bookmark.el (bookmark-set, bookmark-buffer-name):
18391         Improve doc strings.  (Bug#1193)
18393 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18395         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18396         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18397         (bookmark-get-annotation, bookmark-set-annotation)
18398         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18399         (bookmark-set-position, bookmark-get-front-context-string)
18400         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18401         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18402         (bookmark-jump-other-window, bookmark-handle-bookmark)
18403         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18404         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18405         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18406         Improve doc strings to say whether bookmark can be a string or
18407         a record or both, and make other consistency and clarity fixes.
18408         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18409         (bookmark-default-annotation-text, bookmark-yank-word)
18410         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18411         (bookmark-import-new-list, bookmark-maybe-rename)
18412         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18413         (bookmark-bmenu-bookmark): Give these doc strings.
18414         (bookmark-bmenu-check-position): Give this a doc string, but also
18415         add a FIXME comment about how the function may be pointless.
18416         (bookmark-default-handler): Rework doc string and change a
18417         parameter name, to clarify that this takes a bookmark record
18418         not a bookmark name.
18419         (bookmark-set): Change a parameter name to indicate its meaning,
18420         and improve the doc string a bit.
18421         (Bug#4188)
18423 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18425         * bookmark.el (bookmark-alist): Document the new `handler' element
18426         in the param alist.
18427         (bookmark-make-record-function): Adjust documentation for above.
18428         (Bug#4193)
18430 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18432         * info.el (Info-bookmark-make-record): Document this function.
18433         (Info-bookmark-jump): Document with a doc string, not just a comment.
18434         (Bug#4203)
18436 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
18438         * files.el (copy-directory): New defun.
18440         * dired-aux.el (dired-copy-file-recursive): Use it.
18442 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
18444         * files-x.el (modify-dir-local-variable)
18445         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18446         docstrings.
18448         * recentf.el (recentf-unload-function): New function.
18450 2009-10-04  Glenn Morris  <rgm@gnu.org>
18452         * window.el (window-full-height-p): Add doc string.
18454 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
18456         * window.el (window-full-height-p): New function.  (Bug#4543)
18458 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
18460         * vc.el: Remove commented out code.
18461         (vc-derived-from-dir-mode): Remove, unused.
18462         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18464 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
18466         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18467         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
18468         there could be recursive loading when `default-directory' is a
18469         remote file name.  (Bug#4614)
18471 2009-10-03  Glenn Morris  <rgm@gnu.org>
18473         * calendar/calendar.el (calendar-basic-setup): Handle the case where
18474         the frame is wide.
18475         (calendar-generate-window): Test for shrinkability rather than width.
18477         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
18478         reusing existing buffers, in case we happen to visit two files with the
18479         same basename.  (Bug#4593)
18481 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
18483         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
18484         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
18485         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
18486         subdirs of cedet as well.
18487         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
18489 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
18491         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
18492         Obey advertised-signature-table.
18494         * help-fns.el (help-function-arglist): Don't check
18495         advertised-signature-table.
18496         (describe-function-1): Do it here instead so it also applies to subrs.
18498 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
18500         * simple.el (start-file-process): Say in the doc-string, that file
18501         handlers might not support pty association, if PROGRAM is nil.
18503         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
18504         HOST and USER are strings.  They are nil, when there are
18505         incomplete entries in ~/.netrc, for example.
18506         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
18507         root directory ("device busy" error otherwise).
18509         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
18510         Flush file properties of created directory.
18512 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
18514         * makefile.w32-in (WINS_BASIC): Remove cedet.
18515         (WINS_CEDET): Add cedet.
18516         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
18518 2009-10-02  Kevin Ryde  <user42@zip.com.au>
18520         * net/browse-url.el (browse-url): Pass any symbol in
18521         browse-url-browser-function to `apply', since if you've mistakenly put
18522         an unbound symbol then the error is clearer.  (Bug#4531)
18524 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
18526         * allout.el (allout-init, allout-back-to-current-heading)
18527         (allout-beginning-of-current-entry, allout-ascend-to-depth)
18528         (allout-ascend, allout-up-current-level, allout-end-of-level)
18529         (allout-previous-visible-heading, allout-forward-current-level)
18530         (allout-backward-current-level, allout-show-children):
18531         * apropos.el (apropos-describe-plist):
18532         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
18533         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
18534         * completion.el (add-completion, add-permanent-completion):
18535         * descr-text.el (describe-text-category, describe-char):
18536         * desktop.el (desktop-lazy-abort):
18537         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
18538         * dired.el (dired-build-subdir-alist):
18539         * ediff.el (ediff-version):
18540         * elide-head.el (elide-head, elide-head-show):
18541         * emerge.el (emerge-version):
18542         * env.el (getenv):
18543         * face-remap.el (variable-pitch-mode):
18544         * faces.el (describe-face):
18545         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
18546         (dired-at-point):
18547         * files.el (find-file-existing, auto-save-mode):
18548         * font-lock.el (font-lock-fontify-buffer):
18549         * help-fns.el (describe-function, describe-variable)
18550         (describe-syntax, describe-categories):
18551         * help.el (view-lossage, describe-bindings, describe-key)
18552         (describe-mode):
18553         * hexl.el (hexl-current-address):
18554         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
18555         * info.el (Info-goto-emacs-key-command-node):
18556         * log-edit.el (log-edit-insert-cvs-template)
18557         (log-edit-insert-cvs-rcstemplate):
18558         * menu-bar.el (menu-bar-mode):
18559         * mouse.el (mouse-appearance-menu):
18560         * newcomment.el (comment-indent-new-line):
18561         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
18562         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
18563         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
18564         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
18565         * recentf.el (recentf-mode):
18566         * savehist.el (savehist-mode, savehist-save):
18567         * shadowfile.el (shadow-copy-files):
18568         * simple.el (kill-ring-save, next-line, previous-line)
18569         (normal-erase-is-backspace-mode):
18570         * strokes.el (strokes-update-window-configuration)
18571         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
18572         (strokes-xpm-for-stroke):
18573         * time.el (emacs-uptime, emacs-init-time):
18574         * tutorial.el (tutorial--describe-nonstandard-key)
18575         (tutorial--detailed-help):
18576         * type-break.el (type-break-mode)
18577         (type-break-mode-line-message-mode, type-break-query-mode)
18578         (type-break-guesstimate-keystroke-threshold):
18579         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
18580         * version.el (emacs-version):
18581         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
18582         * winner.el (winner-mode):
18583         * calendar/timeclock.el (timeclock-in, timeclock-out)
18584         (timeclock-status-string, timeclock-change)
18585         (timeclock-workday-remaining-string)
18586         (timeclock-workday-elapsed-string)
18587         (timeclock-when-to-leave-string):
18588         * calendar/todo-mode.el (todo-add-category):
18589         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18590         * emacs-lisp/autoload.el (update-file-autoloads):
18591         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18592         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18593         (checkdoc-message-text, checkdoc-defun):
18594         * emacs-lisp/debug.el (debugger-list-functions):
18595         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18596         * emacs-lisp/eieio-opt.el (eieio-describe-class)
18597         (eieio-describe-generic):
18598         * emacs-lisp/lisp-mnt.el (lm-synopsis):
18599         * emacs-lisp/shadow.el (list-load-path-shadows):
18600         * emulation/cua-base.el (cua-mode):
18601         * emulation/edt.el (edt-set-scroll-margins):
18602         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18603         (tpu-toggle-regexp, tpu-toggle-search-direction)
18604         (tpu-toggle-rectangle, tpu-toggle-control-keys):
18605         * emulation/tpu-extras.el (tpu-set-scroll-margins):
18606         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18607         (viper-set-parsing-style-toggling-macro)
18608         (viper-set-emacs-state-searchstyle-macros):
18609         * emulation/viper.el (viper-set-hooks):
18610         * eshell/esh-mode.el (eshell-truncate-buffer):
18611         * international/mule-cmds.el (prefer-coding-system)
18612         (describe-input-method, describe-language-environment):
18613         * international/mule-diag.el (list-character-sets)
18614         (describe-character-set, describe-coding-system)
18615         (describe-fontset, list-fontsets, list-input-methods):
18616         * mail/sendmail.el (mail-signature):
18617         * net/ange-ftp.el (ange-ftp-copy-file):
18618         * net/browse-url.el (browse-url):
18619         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18620         * net/quickurl.el (quickurl-add-url):
18621         * net/rcirc.el (names, topic):
18622         * net/xesam.el (xesam-mode):
18623         * play/5x5.el (5x5-new-game):
18624         * play/yow.el (apropos-zippy):
18625         * progmodes/ada-mode.el (ada-mode-version):
18626         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18627         (f90-end-of-block)
18628         (f90-beginning-of-block):
18629         * progmodes/fortran.el (fortran-end-of-block)
18630         (fortran-beginning-of-block):
18631         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18632         * progmodes/python.el (python-describe-symbol, python-shell):
18633         * term/ns-win.el (ns-print-buffer):
18634         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18635         * textmodes/flyspell.el (flyspell-mode-on):
18636         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18637         (pages-directory-for-addresses):
18638         * textmodes/table.el (table-recognize-cell)
18639         (table-query-dimension, table-generate-source)
18640         (table-insert-sequence, table--warn-incompatibility):
18641         * textmodes/tex-mode.el (tex-validate-buffer):
18642         * textmodes/texinfmt.el (texinfmt-version)
18643         (texinfo-format-buffer):
18644         Use `called-interactively-p' instead of `interactive-p'.
18646 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
18648         * image-mode.el (image-toggle-display):
18649         * emacs-lisp/elp.el (elp-instrument-function):
18650         * emacs-lisp/advice.el (ad-make-advised-definition):
18651         * emacs-lisp/easy-mmode.el (define-minor-mode):
18652         * net/browse-url.el (browse-url-maybe-new-window):
18653         * progmodes/sh-script.el (sh-learn-buffer-indent):
18654         Pass new argument 'any to `called-interactively-p'.
18656 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
18658         * international/uni-bidi.el:
18659         * international/uni-category.el:
18660         * international/uni-combining.el:
18661         * international/uni-comment.el:
18662         * international/uni-decimal.el:
18663         * international/uni-decomposition.el:
18664         * international/uni-digit.el:
18665         * international/uni-lowercase.el:
18666         * international/uni-mirrored.el:
18667         * international/uni-name.el:
18668         * international/uni-numeric.el:
18669         * international/uni-old-name.el:
18670         * international/uni-titlecase.el:
18671         * international/uni-uppercase.el:
18672         Regenerate from Unicode 5.2.0 data.
18674 2009-10-01  Glenn Morris  <rgm@gnu.org>
18676         * Makefile.in (ELCFILES): Regenerate.
18678 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18680         * subr.el (interactive-p): Mark obsolete.
18681         (called-interactively-p): Make the optional-ness of `kind' obsolete.
18682         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18683         advertised-signature-table for subroutines as well.
18685         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18686         (set-advertised-calling-convention): New function.
18687         (make-obsolete, define-obsolete-function-alias)
18688         (make-obsolete-variable, define-obsolete-variable-alias):
18689         Make the optional-ness of `when' obsolete.
18690         (define-obsolete-face-alias): Make `when' non-optional.
18691         * help-fns.el (help-function-arglist):
18692         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18693         Use advertised-signature-table.
18695 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
18697         * files.el (delete-directory): New defun.  The original function
18698         in fileio.c has been renamed to `delete-directory-internal'.
18700         * dired.el (dired-delete-file): Call `delete-directory' with
18701         RECURSIVE parameter.
18703         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18704         parameter RECURSIVE.  Implementation is missing.
18706         * net/tramp.el (tramp-handle-make-directory): Flush upper
18707         directory's file properties.
18708         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18709         (tramp-handle-dired-recursive-delete-directory): Flush directory
18710         properties after the remove command only.
18712         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18713         Handle optional parameter RECURSIVE.
18715         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18716         Handle optional parameter RECURSIVE.
18718         * net/tramp-smb.el (tramp-smb-errors): Add error message for
18719         connection timeout.
18720         (tramp-smb-handle-delete-directory): Handle optional parameter
18721         RECURSIVE.
18723 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18725         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18726         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18727         (byte-compile-defmacro): Use backquotes.
18729         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18731         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18732         has no associated file.
18733         (vc-resynch-buffer): Use vc-dir-buffers.
18735 2009-10-01  Glenn Morris  <rgm@gnu.org>
18737         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18738         (chart-file-count):
18739         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18740         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18741         * emacs-lisp/eieio-opt.el (eieio-describe-class):
18742         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18743         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18744         (eieio-copy-parents-into-subclass, make-instance, class-children)
18745         (eieio-generic-form):
18747         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18748         match-data.  (Bug#4555).
18750         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18751         rather than parsing it as a regexp.  This relaxes the layout
18752         requirements and makes errors easier to detect.
18753         (check-declare-verify): Check file is regular.
18754         (check-declare-directory): Doc fix.
18755         * subr.el (declare-function): Doc fix.
18757         * ibuffer.el (ibuffer-format-qualifier):
18758         * isearch.el (hi-lock-regexp-okay):
18759         * calc/calc.el (math-zerop):
18760         * mail/uce.el (rmail-msgbeg, rmail-msgend):
18761         * term/w32-win.el (setup-default-fontset, set-fontset-font):
18762         Remove unused declarations.
18764 2009-09-30  Eric Ludlam  <zappo@gnu.org>
18766         * emacs-lisp/eieio.el (boolean-p): Delete.
18768 2009-09-30  Glenn Morris  <rgm@gnu.org>
18770         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18772         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18773         filename is not a string.
18775 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
18777         * files.el (safe-local-eval-forms): Fix typo.
18779 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18781         * vc-hooks.el (vc-dir-buffers): New var.
18782         (vc-state-refresh): New function.
18783         (vc-state): Use it.
18784         (vc-after-save): Always ask the backend to recompute the new state.
18785         Always call vc-dir if necessary, using vc-dir-buffers.
18786         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18787         Use vc-dir-buffers.
18788         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18789         (vc-dir-prepare-status-buffer, vc-dir-update)
18790         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18791         Don't call expand-file-name on default-directory.
18793 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
18795         * speedbar.el (speedbar-item-delete):
18796         * calc/calc-prog.el (calc-kbd-if):
18797         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18799         * epa.el (epa-key-list-mode-map):
18800         * hi-lock.el (hi-lock-menu): Fix typos in menus.
18802         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18803         (hs-show-hook): Fix typo in docstring.
18805 2009-09-29  Glenn Morris  <rgm@gnu.org>
18807         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18808         file-name-nondirectory call preventing location of cedet files.
18809         (check-declare-verify): Use literal search rather than re-search.
18810         Add basic defmethod and defclass, and define-overloadable-function.
18812         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18813         Use tramp-compat-file-attributes rather than nonexistent
18814         tramp-compat-handle-file-attributes.
18816         * Makefile.in (lisptagsfiles4): New.
18817         (AUTOGENEL): Add cedet loaddefs files.
18818         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18819         (update-elclist, compile-always, backup-compiled-files)
18820         (bootstrap-clean): Add yet another directory level.
18821         (update-elclist): Use LC_COLLATE rather than COLLATE.
18822         (ELCFILES): Update, via `make update-elclist'.
18824 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
18826         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18827         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18828         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18830 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
18832         * Makefile.in (lisptagsfiles3): Define.
18833         (TAGS, TAGS-LISP): Use it.
18834         (update-elclist): Add third directory level to look for elc files.
18835         (compile-always): Likewise.
18836         (backup-compiled-files): Likewise.
18837         (bootstrap-clean): Likewise.
18838         (ELCFILES): Update.
18840 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
18842         * Makefile.in (ELCFILES): Add CEDET files.
18844 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
18846         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18848         * net/tramp.el (top): Require tramp-imap.
18850         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18851         Use `tramp-compat-handle-file-attributes'.
18853 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
18855         * net/tramp-imap.el: New package.
18857 2009-09-28  Eric Ludlam  <zappo@gnu.org>
18859         * emacs-lisp/chart.el:
18860         * emacs-lisp/eieio-base.el:
18861         * emacs-lisp/eieio-comp.el:
18862         * emacs-lisp/eieio-custom.el:
18863         * emacs-lisp/eieio-datadebug.el:
18864         * emacs-lisp/eieio-opt.el:
18865         * emacs-lisp/eieio-speedbar.el:
18866         * emacs-lisp/eieio.el: New files.
18868 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
18870         * whitespace.el (whitespace-trailing-regexp)
18871         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18872         Fix doc string.
18874 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
18876         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18877         menu.
18879         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18880         menu-bar-ediff-menu.
18882         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18883         define-overloadable-function.
18885         * progmodes/autoconf.el: Provide autoconf as well, so that this
18886         file can be `require'd.
18888         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18890         * emacs-lisp/autoload.el (generated-autoload-feature)
18891         (generated-autoload-load-name): New vars.
18892         (autoload-rubric, autoload-generate-file-autoloads): Use them.
18893         (make-autoload): Recognize define-overloadable-function and
18894         defclass forms (for EIEIO).
18896         * Makefile.in (update-subdirs): Exclude cedet directory.
18898 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
18900         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
18902         * faces.el: Default light-background background for region face to
18903         ns_selection_color under NS.
18905 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
18907         * net/imap-hash.el: New library, see NEWS.
18909         * Makefile.in (ELCFILES): Add imap-hash.el.
18911 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18913         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
18914         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
18915         * help-macro.el (make-help-screen): Avoid using an ambiguous function
18916         definition where the docstring could be taken for the return value.
18918 2009-09-26  Glenn Morris  <rgm@gnu.org>
18920         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
18921         Add option to only show images below a certain size.
18922         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
18923         save-excursion calls.
18925 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
18927         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
18928         subdirectories) and eieio.
18930 2009-09-26  Alan Mackenzie  <acm@muc.de>
18932         * progmodes/cc-engine.el (c-beginning-of-statement-1):
18933         Correct buggy bracketing.  (Bug#4289)
18935         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
18936         character constants (as case labels).  (Bug#4289)
18938 2009-09-25  Juri Linkov  <juri@jurta.org>
18940         * files.el (safe-local-eval-forms): Allow time-stamp in
18941         before-save-hook (Bug#4554).
18943 2009-09-25  Drew Adams  <drew.adams@oracle.com>
18945         * menu-bar.el (list-buffers-directory): Doc fix.
18947 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
18949         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
18950         Try and avoid copying twice the same paragraph.
18951         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
18952         Remove save-excursion.
18953         (log-edit-changelog-entry): Do it here instead.
18955 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
18957         * bs.el (bs--get-file-name): Use `list-buffers-directory'
18958         when available, instead of hardcoding mode names.  Doc fix.
18960         * menu-bar.el (list-buffers-directory): Add docstring.
18961         Make automatically buffer-local.
18963         * dired.el (dired-mode):
18964         * files.el (cd-absolute):
18965         * pcvs.el (cvs-temp-buffer):
18966         * pcvs-util.el (cvs-get-buffer-create):
18967         * shell.el (shell-mode):
18968         * vc-dir.el (vc-dir-mode):
18969         Don't make `list-buffers-directory' buffer local.
18971 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
18973         * comint.el (comint-exec, comint-run, make-comint):
18974         Doc fixes (Bug#4542).
18976 2009-09-25  Glenn Morris  <rgm@gnu.org>
18978         * mail/rmailmm.el (rmail-mime): New custom group.
18979         Move all defcustoms in this file into this group.
18980         (rmail-mime-media-type-handlers-alist): Revert previous change.
18981         (rmail-mime-show-images): New option.
18982         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
18983         references to it, since it wasn't actually used for anything.
18984         (rmail-mime-insert-image): New function.
18985         (rmail-mime-image): Use rmail-mime-insert-image.
18986         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
18987         obey the value of `rmail-mime-show-images' option.  Print the size of
18988         attachments.
18990 2009-09-25  David Engster  <deng@randomsample.de>
18992         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
18994 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
18996         * whitespace.el: Does not highlight trailing spaces While point is
18997         at end of line.  Does not highligt spaces at beginning of buffer
18998         while point is at beginning of buffer.  Does not highlight spaces
18999         at end of buffer while point is at end of buffer.  (Bug#4177)
19000         New version 12.0.
19001         (whitespace-display-mappings): Adjust initialization.
19002         (whitespace-point, whitespace-font-lock-refontify): New vars.
19003         (whitespace-color-on, whitespace-color-off): Adjust code.
19004         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
19005         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
19006         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
19008 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
19010         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
19012         * textmodes/sgml-mode.el: Remove xml-mode alias.
19014         * files.el (auto-mode-alist, conf-mode-maybe)
19015         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
19017 2009-09-24  Alan Mackenzie  <acm@muc.de>
19019         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
19020         c-forward-conditionals, but it doesn't move point and doesn't set
19021         the mark.
19022         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
19023         (c-down-conditional-with-else, c-backward-conditional)
19024         (c-forward-conditional): Refactor to use c-scan-conditionals.
19026 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
19028         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
19029         (help-default-arg-highlight): Remove.
19030         (help-highlight-arg): New function.
19031         (help-do-arg-highlight): Use it.
19032         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
19034 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
19036         * term.el (term-set-scroll-region, term-handle-ansi-escape):
19037         Undo last change, which didn't fix the problem and introduced others.
19039 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
19041         * progmodes/gdb-mi.el: Don't require speedbar.
19042         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
19044 2009-09-24  Glenn Morris  <rgm@gnu.org>
19046         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
19048         * term/ns-win.el (ns-reg-to-script): Define for compiler.
19050         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
19051         there is no newline after the final mime boundary.  (Bug#4539)
19052         Move markers on insertion so that any buttons inserted don't end up in
19053         the next part of a multipart message.
19054         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
19055         (rmail-mime-bulk-handler): Optionally handle images.
19056         (rmail-mime-image): New button action.
19057         (rmail-mime-image-handler): New function.
19058         (rmail-mime-mode): New mode.
19059         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
19061 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
19063         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
19064         than just dropping elements from it (bug#4504).
19066         * term.el (term-set-scroll-region): Don't move cursor any more.
19067         (term-handle-ansi-escape): Call term-goto here instead.
19068         Suggested by Ivan Kanis <apple@kanis.eu>.
19070         * term.el: Require CL.
19071         (term-ansi-reset): New function.
19072         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
19073         (term-handle-colors-array): Simplify.
19075 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
19077         * allout.el (allout-overlay-interior-modification-handler)
19078         (allout-obtain-passphrase):
19079         * epa-file.el (epa-file-write-region):
19080         * ps-print.el (ps-begin-job):
19081         * vc-hooks.el (vc-toggle-read-only):
19082         * vc-rcs.el (vc-rcs-rollback):
19083         * vc-sccs.el (vc-sccs-rollback):
19084         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
19085         (vc-version-diff, vc-revert, vc-rollback):
19086         * wdired.el (wdired-check-kill-buffer):
19087         * emacs-lisp/authors.el (authors):
19088         * net/socks.el (socks-open-connection):
19089         * net/zeroconf.el (zeroconf-service-add-hook):
19090         * obsolete/vc-mcvs.el (vc-mcvs-register):
19091         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
19092         (gdb-select-frame):
19093         * progmodes/grep.el (lgrep, rgrep):
19094         * progmodes/idlw-help.el (idlwave-help-check-locations)
19095         (idlwave-help-html-link, idlwave-help-assistant-open-link):
19096         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
19097         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
19098         (reftex-toc-rename-label): Fix typos in error messages.
19100         * dired-aux.el (dired-do-shell-command): Reflow docstring.
19101         (dired-copy-how-to-fn): Doc fix.
19102         (dired-files-attributes, dired-read-shell-command):
19103         Fix typos in docstrings.
19105         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
19106         (dired-x-find-file-other-window): Reflow docstrings.
19107         (dired-omit-marker-char, dired-read-shell-command)
19108         (dired-x-submit-report): Fix typos in docstrings.
19110         * shell.el (shell-mode-hook):
19111         * view.el (View-scroll-line-forward):
19112         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
19113         Fix typos in docstrings.
19115         * net/dig.el (dig-invoke): Fix typo in docstring.
19116         (query-dig): Reflow docstring.
19118         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
19119         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
19120         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
19121         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
19122         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
19123         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
19124         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
19125         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
19126         (idlwave-completion-map, idlwave-current-indent)
19127         (idlwave-custom-ampersand-surround, idlwave-customize)
19128         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
19129         (idlwave-define-abbrev, idlwave-determine-class-special)
19130         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
19131         (idlwave-end-block-reg, idlwave-end-of-statement)
19132         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
19133         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
19134         (idlwave-explicit-class-listed, idlwave-file-header)
19135         (idlwave-fill-paragraph, idlwave-find-class-definition)
19136         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
19137         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
19138         (idlwave-in-quote, idlwave-indent-action-table)
19139         (idlwave-indent-expand-table, idlwave-indent-line)
19140         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
19141         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
19142         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
19143         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
19144         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
19145         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
19146         (idlwave-outlawed-buffers, idlwave-popup-select)
19147         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
19148         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
19149         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
19150         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
19151         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
19152         (idlwave-statement-type, idlwave-struct-skip)
19153         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
19154         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
19155         (idlwave-what-module-find-class): Fix typos in docstrings.
19156         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
19157         (idlwave-calculate-cont-indent, idlwave-expand-equal)
19158         (idlwave-find-module, idlwave-find-structure-definition)
19159         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
19160         (idlwave-list-load-path-shadows, idlwave-next-statement)
19161         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
19162         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
19163         (idlwave-template): Reflow docstrings.
19165         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
19166         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
19167         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
19168         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
19169         (idlwave-shell-display-line, idlwave-shell-display-wframe)
19170         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
19171         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
19172         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
19173         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
19174         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
19175         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
19176         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
19177         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
19178         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
19179         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
19180         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
19181         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
19182         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
19183         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
19184         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
19185         Fix typos in docstrings.
19186         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
19187         (idlwave-shell-hide-output, idlwave-shell-mode)
19188         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
19189         Reflow docstrings.
19191         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
19193 2009-09-24  Ivan Kanis  <apple@kanis.eu>
19195         * term.el (term-bold-attribute): New var.
19196         (term-handle-colors-array): Use it.
19198 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
19200         * progmodes/gdb-mi.el (gdb-version): New variable.
19201         (gdb-non-stop-handler): Set gdb-version.
19202         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
19203         Condition "--thread" option on gdb-version.
19204         (gdb-invalidate-threads): Remove unused argument.
19206 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
19208         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
19209         to looking-back to avoid ridiculous slow down in large files (bug#4511).
19211 2009-09-23  Glenn Morris  <rgm@gnu.org>
19213         * mail/rmail.el (rmail-reply): Don't try to add a References header when
19214         replying to mail without References or Message-Id.  (Bug#4525)
19216 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
19218         * term/ns-win.el (ns-reg-to-script): New variable.
19220 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
19222         * epg.el (epg-wait-for-status): Preserve existing 'error results.
19224 2009-09-22  Sam Steingold  <sds@gnu.org>
19226         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
19227         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
19228         to 1 because hg returns status 1 when nothing is found.
19229         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
19231 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
19233         * textmodes/fill.el: Convert to utf-8 encoding.
19234         (fill-french-nobreak-p): Remove redundant » and « inherited from our
19235         pre-Unicode days.
19237         * add-log.el (change-log-fill-forward-paragraph): New function.
19238         (change-log-mode): Use it so fill-region DTRT.
19239         Set fill-indent-according-to-mode here rather than in
19240         change-log-fill-paragraph.
19241         (change-log-fill-paragraph): Remove.
19243 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
19245         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
19246         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
19248 2009-09-22  Glenn Morris  <rgm@gnu.org>
19250         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
19251         the scroll-bar scroll the calendar window rather than the buffer.
19253         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
19254         commands that move point (as opposed to scrolling).
19256         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
19258         * emacs-lisp/elint.el (elint): New custom group.
19259         (elint-log-buffer): Make it a defcustom.
19260         (elint-scan-preloaded, elint-ignored-warnings)
19261         (elint-directory-skip-re): New options.
19262         (elint-builtin-variables): Doc fix.
19263         (elint-preloaded-env): New variable.
19264         (elint-unknown-builtin-args): Add an entry for encode-time.
19265         (elint-extra-errors): Make it a variable rather than a constant.
19266         (elint-preloaded-skip-re): New constant.
19267         (elint-directory): Skip files matching elint-directory-skip-re.
19268         (elint-features): New variable, local to linted buffers.
19269         (elint-update-env): Initialize elint-features.  Possibly add
19270         elint-preloaded-env to the buffer's environment.
19271         (elint-get-top-forms): Bind elint-current-pos, for log messages.
19272         Skip quoted forms.
19273         (elint-init-form): New function, extracted from elint-init-env.
19274         Make non-list forms a warning rather than an error.
19275         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
19276         easy-menu-define, put that adds an error-condition, and provide.
19277         When requiring cl, also require cl-macs.  Really require cl, to handle
19278         some cl macros.  Store required libraries in the list elint-features,
19279         so as not to re-load them.  Treat cc-require like require.
19280         (elint-init-env): Call elint-init-form to do the work.
19281         Handle eval-and-compile and such like.
19282         (elint-add-required-env): Do not clear messages.
19283         (elint-special-forms): Add handlers for function, defalias, if, when,
19284         unless, and, or.
19285         (elint-form): Add optional argument to ignore elint-special-forms,
19286         useful to prevent recursive calls from handlers.  Doc fix.
19287         Respect elint-ignored-warnings.
19288         (elint-form): Respect elint-ignored-warnings.
19289         (elint-bound-variable, elint-bound-function): New variables.
19290         (elint-unbound-variable): Respect elint-bound-variable.
19291         (elint-get-args): Respect elint-bound-function.
19292         (elint-check-cond-form): Add some simple handling for (f)boundp and
19293         featurep tests.
19294         (elint-check-defalias-form): New handler.
19295         (elint-check-let-form): Make an empty let a warning rather than an
19296         error.
19297         (elint-check-setq-form): Make an empty setq a warning rather than an
19298         error.  Respect elint-ignored-warnings.
19299         (elint-check-defvar-form): Accept null doc-strings.
19300         (elint-check-conditional-form): New handler.  Does some simple-minded
19301         checking of featurep and (f)boundp tests.
19302         (elint-put-function-args): New function.
19303         (elint-initialize): Use elint-scan-doc-file rather than
19304         elint-find-builtin-variables.  Use elint-put-function-args.
19305         Possibly scan preloaded-file-list.
19306         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
19307         extend to handle functions as well.
19309 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
19311         * linum.el (linum-delete-overlays, linum-update-window):
19312         Do not modify the right margin.  (Bug#3971)
19314 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
19316         * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19317         Use nxml-mode instead of xml-mode.
19319 2009-09-21  Kevin Ryde  <user42@zip.com.au>
19321         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
19323 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
19325         * net/dig.el (dig-mode): Use define-derived-mode.
19327 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
19329         * vc-dispatcher.el (vc-do-command): Return the process object in
19330         the asynchronous case.  Use when instead of if.  Do not run
19331         vc-exec-after to display a message if not enabled.  (Bug#4463)
19333         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19334         properties to the stash strings.
19335         (vc-git-stash-list): Return a list of strings.
19336         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19337         (vc-git-stash-show-at-point): New functions.
19338         (vc-git-stash-map): New keymap.
19340         * register.el (ctl-x-r-map): Define the keys here instead of
19341         using autoload.
19343 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
19345         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19346         list, to workaround performance problem (bug#4485).
19348 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
19350         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19352 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
19354         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19355         Document that this option is not recommended to use.
19357 2009-09-19  Glenn Morris  <rgm@gnu.org>
19359         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19360         variable `var'.
19362         * calc/calc-alg.el (var):
19363         * calc/calcalg2.el (var): Define for compiler.
19365 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
19367         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19368         Doc fix (Bug#3932).
19370         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19372         * time-stamp.el (time-stamp-month-dd-yyyy)
19373         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19374         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19375         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19376         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19377         Remove functions that have been obsolete since 1995 (Bug#4436).
19379         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19380         indent buffer only if called interactively (Bug#4452).
19382 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
19383             Eli Zaretskii  <eliz@gnu.org>
19385         This fixes bug#4197 (merged to bug#865, though not identical).
19386         * server.el (server-auth-dir): Add docstring note about FAT32.
19387         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19388         but warn against using them.
19390 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
19392         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19393         older GDB where there is no has_more field.
19395 2009-09-19  Glenn Morris  <rgm@gnu.org>
19397         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19399 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
19401         * files.el (auto-mode-alist): Change default for XML files to nXML
19402         mode (Bug#4169).
19404 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
19406         * server.el (server-ensure-safe-dir): Pass 'integer
19407         to `file-attributes', as suggested.
19409 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
19411         * dired-aux.el (dired-query-alist): Remove spurious backslash.
19412         (dired-query): Use read-key.
19414 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
19416         * cus-start.el (ns-use-qd-smoothing): Remove.
19418 2009-09-18  Glenn Morris  <rgm@gnu.org>
19420         * allout.el (top-level): Remove unnecessary progn.
19422         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19424         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19425         definition of abbrev table.
19427         * speedbar.el (speedbar-track-mouse):
19428         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19429         * net/eudc.el (eudc-expand-inline):
19430         * net/newst-backend.el (newsticker--cache-read-feed):
19431         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19432         condition-case handlers.
19434 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
19436         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19437         (gdb-var-list): Add an element for has_more field.
19438         (gdb-non-stop-handler): Enable pretty printing for STL containers.
19439         (gdb-var-create-handler, gdb-var-list-children-handler-1)
19440         (gdb-var-update-handler-1): Parse output of dynamic variable
19441         objects (STL containers).
19442         (gdb-var-delete-1): Pass var1 as an explicit second argument.
19443         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
19445         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19446         gdb-var-list.
19447         (gud-speedbar-buttons): Make node expandable if expression "has more"
19448         children.
19450 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
19452         * startup.el (emacs-quick-startup): Remove variable and all uses.
19453         (command-line): Set `inhibit-x-resources' instead.
19454         (command-line-1): Use `inhibit-x-resources' instead.
19456 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
19458         * subr.el: Fix last change to avoid using the `unless' macro,
19459         which breaks bootstrapping.
19461 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19463         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19464         extended definitions, in case we reload subr.el after having
19465         loaded CL.
19466         (eval-next-after-load): Mark as obsolete.
19468 2009-09-17  Juri Linkov  <juri@jurta.org>
19470         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19471         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19472         (menu-bar-showhide-menu, menu-bar-tools-menu)
19473         (menu-bar-describe-menu, menu-bar-help-menu)
19474         (minibuffer-local-completion-map, minibuffer-local-map):
19475         Fix list quoting.
19477 2009-09-17  Glenn Morris  <rgm@gnu.org>
19479         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
19480         arguments, whether or not it has a handler.
19482         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
19484         * simple.el (hard-newline): Give it a doc-string.
19486         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19487         (lisp-mode-syntax-table): Give them doc-strings.
19489 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
19491         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
19492         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
19493         (menu-bar-options-menu, menu-bar-showhide-menu)
19494         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
19495         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
19496         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
19497         (menu-bar-options-menu, menu-bar-tools-menu)
19498         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
19499         (menu-bar-help-menu):
19500         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
19501         string arguments.
19503         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
19504         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
19505         calls for the menu names and :help.
19507 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19509         * mouse.el (minor-mode-menu-from-indicator): Pay attention
19510         to :minor-mode-function (bug#4455).
19512 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
19514         * startup.el (command-line): Initialize the window-system after
19515         processing the command-line.
19517         * textmodes/page.el (what-page): Make sure we don't inf-loop if
19518         page-delimiter matches the empty string.
19520 2009-09-16  Glenn Morris  <rgm@gnu.org>
19522         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
19523         byte-compile-not-obsolete-var.  It's a list now.
19524         (byte-compile-not-obsolete-funcs): New variable.
19525         (byte-compile-warn-obsolete): Don't warn about functions if they are in
19526         byte-compile-not-obsolete-funcs.
19527         (byte-compile-variable-ref, byte-compile-defvar): Update for
19528         byte-compile-not-obsolete-vars name-change and list nature.
19529         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
19530         and variables behind (f)boundp tests.
19531         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
19533 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
19535         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
19537 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19539         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
19540         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
19541         Don't autoload.
19543 2009-09-15  Stephen Eglen  <stephen@gnu.org>
19545         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
19546         the virtual-buffers, use the name of the buffer specified by
19547         find-file-noselect, as the match may be a symlink.  (This was a
19548         problem if the target and the symlink had different names.)
19550 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19552         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
19554         * desktop.el (desktop-path): Check user-emacs-directory.
19556         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
19558         * loadup.el: Use after-load-functions to GC after loading each file.
19559         Remove the explicit GC calls that used to be sprinkled around.
19561         * subr.el (after-load-functions): New hook.
19562         (do-after-load-evaluation): Run it.  Use string-match-p to detect
19563         `obsolete' packages, rather than painfully extracting the relevant
19564         directory name.
19566 2009-09-15  Glenn Morris  <rgm@gnu.org>
19568         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
19569         free variable `doc'.
19571         * dired.el (dired-mode-map): Add menu entry for async shell command.
19573         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
19574         variables, also consider the .elc files, since the .el files are
19575         normally gzipped (subsequent code locates the .el.gz from the .elc).
19577         * calc/calc-prog.el (arglist): Define for compiler.
19579         * calendar/diary-lib.el (diary-display-function): Change the default to
19580         fancy display.
19581         (body): Define for compiler.
19583         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
19584         (byte-compile-file-form, byte-compile-lambda)
19585         (byte-compile-top-level-body, byte-compile-form)
19586         (byte-compile-variable-ref, byte-compile-setq)
19587         (byte-compile-setq-default, byte-compile-body)
19588         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19589         (batch-byte-compile): Give some more local variables with common names
19590         a "bytecomp-" prefix to avoid masking warnings about free variables.
19592         * startup.el (command-line-1): Give local variables with common names a
19593         distinguishing prefix, so as not to hide free variable warnings during
19594         bootstrap.
19596         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19597         clever and add a suffix to make a unique name, just let the user decide
19598         whether or not to overwrite it.  If the input is a directory, write the
19599         default filename to that directory.  (Bug#4388)
19600         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19601         is a filename-as-a-directory.
19603 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19605         * textmodes/page.el (what-page): Don't move to beginning of line.
19606         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19608 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
19610         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19612 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
19614         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19615         * help.el (help-for-help-internal): Add purecopy calls for text.
19617         * vc.el (top): print-log method now takes an optional SHORTLOG
19618         argument.  Add a new method: root.
19619         (vc-root-diff, vc-print-root-log): New functions.
19620         (vc-log-short-style): New variable.
19621         (vc-print-log-internal): Add support for showing short logs.
19623         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19624         vc-print-root-log and vc-print-root-diff.
19626         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19627         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19628         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19629         short logs.
19631         * vc-cvs.el (vc-cvs-print-log):
19632         * vc-mtn.el (vc-mtn-print-log):
19633         * vc-rcs.el (vc-rcs-print-log):
19634         * vc-sccs.el (vc-sccs-print-log):
19635         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19636         that is ignored for now.
19638         * vc-mtn.el (vc-mtn-annotate-command):
19639         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19641 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
19643         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19644         to function-key-map, and give them ascii-character property.
19645         * term/x-win.el (x-alternatives-map):
19646         * term/ns-win.el (ns-alternatives-map):
19647         * term/internal.el (msdos-key-remapping-map):
19648         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19650 2009-09-14  Glenn Morris  <rgm@gnu.org>
19652         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19653         temp-buffers (2009-09-12).
19655 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19657         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19658         the new read-key function.
19660 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
19662         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19663         is defined (Bug#4405).
19665 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
19667         * recentf.el (recentf-cleanup): Use a hash table to find
19668         duplicates (Bug#4407).
19670 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
19672         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19673         kp-0 to ascii equivalents (Bug#4325).
19675 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
19677         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19679         * eshell/em-hist.el:
19680         * eshell/em-dirs.el (eshell-complete-user-reference):
19681         Declare pcomplete functions and variables to avoid compiler warnings.
19683 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
19685         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19686         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19687         * eshell/em-alias.el (eshell-aliases-file):
19688         * eshell/em-hist.el (eshell-history-file-name):
19689         Use expand-file-name instead of concat to make file names (Bug#4308).
19691 2009-09-13  Glenn Morris  <rgm@gnu.org>
19693         * ediff-merg.el (ediff-do-merge):
19694         * filesets.el (filesets-run-cmd):
19695         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19696         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19697         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19698         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19699         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19700         Replace empty `let's with `progn'.
19702 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19704         * mail/sendmail.el (send-mail-function):
19705         * tooltip.el (tooltip-mode):
19706         * simple.el (transient-mark-mode):
19707         * rfn-eshadow.el (file-name-shadow-mode):
19708         * frame.el (blink-cursor-mode):
19709         * font-core.el (global-font-lock-mode):
19710         * files.el (temporary-file-directory)
19711         (small-temporary-file-directory, auto-save-file-name-transforms):
19712         * epa-hook.el (auto-encryption-mode):
19713         * composite.el (global-auto-composition-mode):
19714         Use custom-initialize-delay.
19715         * startup.el (command-line): Don't explicitly call
19716         custom-reevaluate-setting for all the above vars.
19717         * custom.el (custom-initialize-safe-set)
19718         (custom-initialize-safe-default): Delete.
19720 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19722         * term/x-win.el (x-initialize-window-system):
19723         * term/w32-win.el (w32-initialize-window-system):
19724         * term/ns-win.el (ns-initialize-window-system): Don't call
19725         mouse-wheel-mode since it's enabled globally by default already.
19727         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19728         actually define the variable, but only silences the byte-compiler.
19729         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19730         before looking it up.
19731         (mouse-wheel-scroll-amount): Also reset the bindings if this value
19732         is changed.
19734 2009-09-12  Glenn Morris  <rgm@gnu.org>
19736         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19737         1000.
19738         (elint-add-required-env): Don't beep on error.
19739         (elint-forms): In case of error, return ENV unchanged.
19740         (elint-init-env): Skip non-list forms.
19741         (elint-log): Handle unknown file positions.
19743 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
19745         * epg.el (epg-make-context): Add autoload cookie.
19746         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19747         (epg-decrypt-string, epg-start-verify, epg-verify-file)
19748         (epg-verify-string, epg-start-sign, epg-sign-file)
19749         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19750         (epg-encrypt-string, epg-start-export-keys)
19751         (epg-export-keys-to-file, epg-export-keys-to-string)
19752         (epg-start-import-keys, epg-import-keys-from-file)
19753         (epg-import-keys-from-string, epg-start-receive-keys)
19754         (epg-receive-keys, epg-import-keys-from-server)
19755         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19756         (epg-sign-keys, epg-start-generate-key)
19757         (epg-generate-key-from-file, epg-generate-key-from-string):
19758         Remove autoload cookie.
19760 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
19762         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19763         reevaluation of trash-directory.
19765         * mwheel.el: Fix last change.
19766         (mouse-wheel-mode): New defvar.
19767         (mouse-wheel-mode): Remove autoload cookie.
19769 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19771         * mwheel.el (mwheel-installed-bindings): New var.
19772         (mouse-wheel-mode): Use it, so as to make sure we really remove all
19773         the bindings we set last time.  Use custom-initialize-delay.
19774         * loadup.el: Load mwheel after term/*-win.el.
19775         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19776         and mouse-wheel-up-event now that their first evaluation is done
19777         sufficiently late to be correct.
19779         * startup.el (tutorial-directory): Make it a defcustom.
19780         Use custom-initialize-delay rather than eval-at-startup to set it.
19781         * image.el (image-load-path): Make it a defcustom.
19782         Use custom-initialize-delay rather than eval-at-startup to set it.
19783         * subr.el (eval-at-startup): Remove.
19784         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19786         * subr.el (do-after-load-evaluation): Warn the user after loading an
19787         obsolete package.
19789 2009-09-12  Glenn Morris  <rgm@gnu.org>
19791         * proced.el (proced-mark-alt): Remove alias.
19792         (proced-mode-map): Remove proced-mark-alt.
19794         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19795         Elint file and directory.  Remove initialization entry.
19797         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19798         commands.
19799         (elint-current-buffer): Set mode-line-process.
19800         (elint-init-env): Handle define-derived-mode.
19801         Fix declare-function with unspecified arglist.  Guard against odd
19802         defalias statements (eg iso-insert's 8859-1-map).
19803         (elint-add-required-env): Use a temp buffer.
19804         (elint-form): Just print the function/macro name, not the whole form.
19805         Return env unchanged if we fail to parse a macro.
19806         (elint-forms): Guard against parse errors.
19807         (elint-output): New function, to handle batch mode.
19808         (elint-log-message): Add optional argument.  Use elint-output.
19809         (elint-set-mode-line): New function.
19811 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
19813         * emacs-lisp/elp.el (elp-not-profilable): Add more
19814         functions (Bug#4233).
19816 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
19818         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19819         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19821 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
19823         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19824         (gdb-var-list-children): Use json parsing.
19826 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
19828         * progmodes/js.el (js--proper-indentation): Handle the case where
19829         char-before is null.  Reported by Deniz Dogan.
19831 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
19833         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19835 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
19837         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19838         (epg-digest-algorithm-alist): Add SHA224.
19839         (epg-context-set-passphrase-callback)
19840         (epg-context-set-progress-callback): Add description about
19841         callback function.
19843 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19845         * custom.el (custom-delayed-init-variables): New var.
19846         (custom-initialize-delay): New function.
19847         * startup.el (command-line): "Re"evaluate all vars in
19848         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
19849         explicitly any more.
19850         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19851         to avoid creating a ~/.emacs.d at build-time (bug#4347).
19853         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19855 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
19857         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19858         (gdb-var-update-handler): Use json parsing.
19860 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
19862         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19863         decode annotated text, regardless of language environment.  (Bug#2741)
19865 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19867         * Makefile.in (autoloads): Make rmail.el writable as well.
19869 2009-09-11  Glenn Morris  <rgm@gnu.org>
19871         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19872         loaddefs.el.
19873         * dired.el: Regenerate with extracted autoloads.
19874         * Makefile.in (autoloads): Make dired.el writable.
19876         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19877         * ibuffer.el: Regenerate with extracted autoloads.
19878         * Makefile.in (autoloads): Make ibuffer.el writable.
19880         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19881         * version.el (emacs-copyright, emacs-major-version)
19882         (emacs-minor-version): Reformat doc-strings for make-docfile.
19884         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19885         functions and variables, since they must be stuff specific to some other
19886         platform.
19887         (apropos-print): Make mouse-click message less specific about button.
19889         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19890         that records where a macro was defined.
19891         * help-fns.el (describe-function-1): Mention if a function has a
19892         compiler-macro.
19893         * help-mode.el (help-function-cmacro): New button.
19895         * locate.el (top-level): Always require dired.
19896         (locate-mode-map): Initialize inside the defvar.
19898         * net/ange-ftp.el (dired-compress-file): Declare.
19899         (ange-ftp-dired-compress-file): Add doc string.
19901         * term/ns-win.el (x-display-name, x-setup-function-keys):
19902         Unify doc-strings with X versions.
19904 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19906         * emulation/crisp.el (crisp-mode-map): Move initialization
19907         into declaration.
19908         (crisp-mode): Use define-minor-mode.
19910         * progmodes/xscheme.el (xscheme-evaluation-commands):
19911         Put a :advertised-binding property rather than using
19912         advertised-xscheme-send-previous-expression.
19913         (advertised-xscheme-send-previous-expression): Declare obsolete.
19914         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
19915         `advertised-undo'.
19916         (crisp-mode): Add corresponding bindings to
19917         undo's :advertised-binding instead.
19918         * dired.el (dired-mode-map): Put a :advertised-binding property rather
19919         than using dired-advertised-find-file.
19920         (dired-advertised-find-file):
19921         * simple.el (advertised-undo):
19922         * wid-edit.el (advertised-widget-backward): Declare obsolete.
19923         (widget-keymap): Put a :advertised-binding property rather
19924         than using advertised-widget-backward.
19925         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
19926         than using advertised-undo.
19927         * tutorial.el (tutorial--default-keys): Adjust accordingly.
19929 2009-09-10  Simon South  <ssouth@slowcomputing.org>
19931         * progmodes/delphi.el (delphi-tab): Indent region when Transient
19932         Mark mode is enabled and region is active; otherwise indent or
19933         insert TAB as usual.
19934         (delphi-mode): Update description of TAB-key binding.
19936 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
19938         * subr.el (define-key-rebound-commands): Mark obsolete.
19939         * startup.el (precompute-menubar-bindings): Remove.
19940         (normal-top-level): Remove obsolete code that tried to precompute
19941         menubar bindings.
19942         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
19943         define-key-rebound-commands and precompute-menubar-bindings.
19945 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
19947         * net/imap.el (imap-interactive-login): Better messages.
19948         (imap-open): Fix bug with renamed buffer on reconnect.
19949         (imap-authenticate): Add buffer-local imap-last-authenticator variable
19950         for easier debugging and cleaner code.  On successful (guessed based on
19951         server capabilities) secondary authentication, set imap-state
19952         correctly.
19953         (imap-last-authenticator): Define imap-last-authenticator as a variable
19954         to avoid warnings.
19956 2009-09-10  Glenn Morris  <rgm@gnu.org>
19958         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
19960         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
19961         (byte-compile-file-form-autoload): Don't warn about unknown functions
19962         where the autoload statement comes after the use.
19963         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
19964         that any handlers inside the body (eg require) are in turn respected.
19966         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
19967         effects.
19969         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
19970         and syntax and abbrev tables basic docs, if they don't have any.
19972         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
19974         * international/mule-cmds.el (top-level): Require cl when compiling.
19975         (view-hello-file): Use default-value rather than
19976         default-enable-multibyte-characters.
19978         * progmodes/fortran.el: Move all safe and risky properties into the
19979         defcustoms.
19981         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
19982         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
19983         * mail/undigest.el:
19984         Put autoloads in rmail.el rather than loaddefs.el.
19985         * mail/rmail.el: Regenerate with extracted autoloads.
19987         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
19988         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
19990 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
19992         Reported in thread for Bug#4375.
19993         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
19994         "-data-evaluate-expression" instead of print.
19995         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
19996         (gdb-tooltip-print): Parse output from above MI command.
19997         (gdb): Revert 2009-08-11 change.  User should detach inferior
19998         manually.
20000         Remove the word "separate" from IO functions as inferior
20001         output is now never displayed in the GUD buffer.
20003 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
20005         * startup.el (command-line-normalize-file-name): On Windows and
20006         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
20008 2009-09-10  Juri Linkov  <juri@jurta.org>
20010         * isearch.el (isearch-text-char-description): Propertize escape
20011         character sequences with the `escape-glyph' face.  (Bug#4344)
20013         * simple.el (shell-command): Set asynchronous process filter to
20014         `comint-output-filter'.  (Bug#4343)
20016         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
20017         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
20018         the list.  Move "asm" to the bottom.
20019         (grep-find-ignored-directories): Add `choice' with nil value
20020         to empty the list easily.
20021         (grep-find-ignored-files): New option.
20022         (grep-files-history): Set to nil by default instead of '("ch" "el").
20023         (grep-compute-defaults): Add "<X>" to `grep-template'.
20024         (grep-read-files): Bind new local variables `default-alias' and
20025         `default-extension'.  Use a list of default values for the file prompt.
20026         (lgrep): Add `--exclude=' command line options composed from
20027         `grep-find-ignored-files'.
20028         (rgrep): Add `-name' command line options composed from
20029         `grep-find-ignored-files'.  (Bug#4301)
20031 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
20033         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
20034         (bug#4368).
20036 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
20038         * calendar/time-date.el (autoload):
20039         Expand define-obsolete-function-alias into defalias and make-obsolete
20040         for old Emacsen that Gnus supports.
20041         (with-no-warnings): Define it for old Emacsen.
20042         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
20043         is available.
20044         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
20045         float-time is available; suppress compile warning for time-to-seconds.
20047 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
20049         * net/imap.el (imap-message-map): Docstring fix.
20051 2009-09-09  Glenn Morris  <rgm@gnu.org>
20053         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
20054         line numbers too.  (Bug#4374)
20056 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
20058         * smerge-mode.el (smerge-remove-props, smerge-refine):
20059         Use with-silent-modifications (bug#4342).
20061         * subr.el (with-silent-modifications): New macro.
20063 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
20065         * files.el (top-level): Require `cl' when compiling.
20067 2009-09-07  Glenn Morris  <rgm@gnu.org>
20069         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
20071         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
20072         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
20074 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
20076         * vc-git.el (vc-git-annotate-command): Use separator to parse
20077         arguments correctly.
20079 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
20081         * proced.el (proced-mode): Doc fix.
20083 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
20085         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
20086         lstat fails.
20087         (tramp-do-file-attributes-with-ls): Check for file existence at
20088         remote end.
20089         (tramp-do-file-attributes-with-stat): Likewise.
20090         (tramp-convert-file-attributes): Return nil when attr is nil.
20092 2009-09-05  Glenn Morris  <rgm@gnu.org>
20094         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
20095         properties to this button.
20096         (diary-fancy-display): Don't extend the button to the final newline.
20097         (diary-fancy-display-mode): Continue to define "q" as a local key.
20099         * calendar/cal-china.el (holiday-chinese): Make it slightly more
20100         efficient.
20102         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
20104         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
20105         (byte-compile-dest-file-function): New option.
20106         (byte-compile-dest-file): Doc fix.
20107         Obey byte-compile-dest-file-function.
20108         (byte-compile-cl-file-p): New function.
20109         (byte-compile-eval): Only suppress noruntime warnings about cl functions
20110         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
20111         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
20112         than for file being previously loaded.
20113         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
20114         (byte-compile-file-form-require): Handle the case where requiring a file
20115         indirectly causes CL to be loaded.
20117 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
20119         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
20120         before killing the old buffer, since by the time `kill-buffer' is
20121         run so many buffer variables have been set to nil that it may not
20122         behave as expected.  (Bug#4061)
20124 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
20126         * files.el (find-alternate-file): If the old buffer is modified
20127         and visiting a file, behave similarly to `kill-buffer' when
20128         killing it, thus reverting to the pre-1.878 behavior; see
20129         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
20130         for discussion.  Also, consult `buffer-file-name' as a variable
20131         not as a function, for consistency with the rest of the code.
20133 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
20135         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
20136         also when adding a new directory.
20138         * net/tramp-compat.el (tramp-compat-line-beginning-position):
20139         New defun.
20141 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
20143         * files.el (locate-file-completion-table): Make it provide boundary
20144         information, so partial-completion works better.
20146 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
20148         * mail/footnote.el (Footnote-text-under-cursor):
20149         Check footnote-text-marker-alist before using it (bug#4324).
20151 2009-09-04  Glenn Morris  <rgm@gnu.org>
20153         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
20154         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
20155         * play/solitaire.el, play/tetris.el:
20156         Remove leading * from defcustom and defface docs.
20158         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
20159         necessary.
20160         (diary-fancy-overriding-map): New variable.
20161         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
20162         Use view-mode.
20164         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
20165         goto-line.
20167 2009-09-03  Glenn Morris  <rgm@gnu.org>
20169         * arc-mode.el (archive-mode):
20170         * dos-fns.el (set-default-process-coding-system):
20171         * man.el (Man-getpage-in-background):
20172         * menu-bar.el (menu-bar-describe-menu):
20173         * server.el (server-process-filter):
20174         * startup.el (command-line):
20175         * tar-mode.el (tar-header-block-tokenize, tar-extract):
20176         * w32-fns.el (set-default-process-coding-system):
20177         * x-dnd.el (x-dnd-handle-file-name):
20178         * international/mule-cmds.el (mule-menu-keymap)
20179         (set-default-coding-systems, language-info-alist, set-language-info)
20180         (set-language-environment, standard-display-european-internal)
20181         (set-locale-environment):
20182         * international/mule-diag.el (mule-diag):
20183         * mail/emacsbug.el (report-emacs-bug):
20184         * mail/rmail.el (rmail-mode):
20185         * mail/sendmail.el (mail-setup):
20186         Use default-value rather than default-enable-multibyte-characters.
20188         * progmodes/f90.el: Move all safe properties into the defcustoms.
20189         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
20191         * calendar/appt.el (appt-check):
20192         * calendar/diary-lib.el (diary-set-header, diary-live-p)
20193         (diary-check-diary-file, diary-list-entries)
20194         (diary-include-other-diary-files, diary-simple-display)
20195         (diary-fancy-display, diary-print-entries)
20196         (diary-mark-included-diary-files, diary-make-entry):
20197         Don't call substitute-in-file-name on diary-file.
20199 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
20200             Stefan Monnier  <monnier@iro.umontreal.ca>
20202         * mail/footnote.el (footnote-prefix): Make it a defcustom.
20203         (footnote-mode-map): Move initialization into the declaration.
20204         (footnote-minor-mode-map): Define it rather than changing global-map.
20205         (footnote-mode): Use define-minor-mode.
20207 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
20209         * net/tramp.el (tramp-handle-file-attributes-with-ls)
20210         (tramp-do-file-attributes-with-perl)
20211         (tramp-do-file-attributes-with-stat): Rename from
20212         `tramp-handle-file-attributes-with-*'.
20213         (tramp-handle-file-attributes): Use them.
20214         (tramp-do-directory-files-and-attributes-with-perl)
20215         (tramp-do-directory-files-and-attributes-with-stat): Rename from
20216         `tramp-handle-directory-files-and-attributes-with-*'.
20217         (tramp-handle-directory-files-and-attributes): Use them.
20218         (tramp-method-out-of-band-p): Additional parameter SIZE.
20219         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
20220         (tramp-handle-write-region): Use it.
20221         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
20222         (tramp-handle-vc-registered): Check, whether the first run did
20223         return files to be tested.
20224         (tramp-advice-make-auto-save-file-name): Do not call directly
20225         `tramp-handle-make-auto-save-file-name', because this would bypass
20226         the locking mechanism.
20228         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
20229         (file-remote-p, process-file, start-file-process, set-file-times)
20230         (tramp-compat-file-attributes): Compatibility functions shall not
20231         call directly `tramp-handle-*', because this would bypass the
20232         locking mechanism.
20233         (tramp-compat-number-sequence): New defun.
20235 2009-09-02  Glenn Morris  <rgm@gnu.org>
20237         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
20238         alias for float-time.
20239         (time-to-number-of-days): In Emacs, use float-time.
20240         * net/newst-backend.el (time-add): Suppress warnings from compat
20241         function.
20242         * time.el (emacs-uptime, emacs-init-time):
20243         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
20244         Use float-time rather than time-to-seconds.
20246         * minibuffer.el (completion-initials-expand): Fix typo.
20248         * faces.el (modeline, modeline-inactive, modeline-highlight)
20249         (modeline-buffer-id):
20250         * info.el (info-menu-5): Mark these face aliases as obsolete.
20252 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
20254         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
20255         space ...
20256         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
20257         no "--thread" option.
20258         (gdb-stopped): Don't print "Switched to thread" message when it is
20259         unchanged.
20261 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
20263         * minibuffer.el (completion-try-completion)
20264         (completion-all-completions): Remove ill-defined (and
20265         mistakenly installed and luckily never used nor documented)
20266         `completion-styles' property.
20267         (completion-initials-expand, completion-initials-all-completions)
20268         (completion-initials-try-completion): New functions.
20269         (completion-styles-alist): Add doc to each entry.
20270         Add new `initials' entry.
20272 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
20274         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
20275         MI command -var-evaluate-expression.
20276         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
20277         and tweak for case of string child.
20278         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
20280 2009-09-01  Glenn Morris  <rgm@gnu.org>
20282         * add-log.el (change-log-date-face, change-log-name-face)
20283         (change-log-email-face, change-log-file-face, change-log-list-face)
20284         (change-log-conditionals-face, change-log-function-face)
20285         (change-log-acknowledgement-face):
20286         * cus-edit.el (custom-invalid-face, custom-rogue-face)
20287         (custom-modified-face, custom-set-face, custom-changed-face)
20288         (custom-saved-face, custom-button-face, custom-button-pressed-face)
20289         (custom-documentation-face, custom-state-face, custom-comment-face)
20290         (custom-comment-tag-face, custom-variable-tag-face)
20291         (custom-variable-button-face, custom-face-tag-face)
20292         (custom-group-tag-face-1, custom-group-tag-face):
20293         * diff-mode.el (diff-header-face, diff-file-header-face)
20294         (diff-index-face, diff-hunk-header-face, diff-removed-face)
20295         (diff-added-face, diff-changed-face, diff-function-face)
20296         (diff-context-face, diff-nonexistent-face):
20297         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
20298         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20299         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
20300         (Info-title-4-face):
20301         * isearch.el (isearch-lazy-highlight-face):
20302         * log-view.el (log-view-file-face, log-view-message-face):
20303         * paren.el (show-paren-match-face, show-paren-mismatch-face):
20304         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
20305         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
20306         (cvs-msg-face):
20307         * smerge-mode.el (smerge-mine-face, smerge-other-face)
20308         (smerge-base-face, smerge-markers-face):
20309         * wid-edit.el (widget-documentation-face, widget-button-face)
20310         (widget-field-face, widget-single-line-field-face)
20311         (widget-inactive-face, widget-button-pressed-face):
20312         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20313         (woman-addition-face):
20314         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20315         (eshell-ls-executable-face, eshell-ls-readonly-face)
20316         (eshell-ls-unreadable-face, eshell-ls-special-face)
20317         (eshell-ls-missing-face, eshell-ls-archive-face)
20318         (eshell-ls-backup-face, eshell-ls-product-face)
20319         (eshell-ls-clutter-face):
20320         * eshell/em-prompt.el (eshell-prompt-face):
20321         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20322         * obsolete/old-whitespace.el (whitespace-highlight-face):
20323         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20324         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20325         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20326         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20327         (antlr-font-lock-literal-face):
20328         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20329         (ebrowse-root-class-face, ebrowse-file-name-face)
20330         (ebrowse-default-face, ebrowse-member-attribute-face)
20331         (ebrowse-member-class-face, ebrowse-progress-face):
20332         * progmodes/make-mode.el (makefile-space-face):
20333         * progmodes/sh-script.el (sh-heredoc-face):
20334         * textmodes/flyspell.el (flyspell-incorrect-face)
20335         (flyspell-duplicate-face):
20336         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20337         * textmodes/texinfo.el (texinfo-heading-face):
20338         Mark face aliases with "-face" suffix as obsolete.
20340         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20341         compiler.
20343         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20344         (eudc-bob-sound-menu): Use defvar rather than defconst, since
20345         easy-menu-define wants to modify these.
20347         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20349         * net/browse-url.el (browse-url-file-url):
20350         * term/internal.el (dos-codepage-setup):
20351         Use default-value rather than default-enable-multibyte-characters.
20353         * progmodes/etags.el (etags-goto-tag-location):
20354         * progmodes/flymake.el (flymake-highlight-line)
20355         (flymake-goto-file-and-line, flymake-goto-line):
20356         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20357         (gdb-goto-breakpoint):
20358         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20359         * progmodes/python.el (python-find-function)
20360         (python-pdbtrack-track-stack-file):
20361         * progmodes/verilog-mode.el (verilog-surelint-off):
20362         * term/ns-win.el (ns-open-file-select-line):
20363         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20364         Use forward-line rather than goto-line.
20366         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20367         * textmodes/reftex-index.el (reftex-display-index):
20368         * textmodes/reftex-ref.el (reftex-offer-label-menu):
20369         * textmodes/reftex-toc.el (reftex-toc):
20370         Remove unnecessary bindings of default-major-mode (all are followed by
20371         major-mode check and possible mode switch).
20373 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
20375         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20376         Handle watchpoints (bug#4282).
20377         (def-gdb-thread-buffer-command): Enable thread to be selected by
20378         clicking without selecting threads buffer first.
20379         (gdb-current-context-command): Use selected frame so that "up",
20380         "down" etc work in the GUD buffer.
20381         (gdb-update): Find selected frame before rendering stack buffer.
20382         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20384 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
20386         * progmodes/sym-comp.el (displayed-completions): Remove.
20387         (symbol-complete): Use minibuffer-complete.
20389 2009-08-31  Glenn Morris  <rgm@gnu.org>
20391         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20393         * apropos.el (apropos-symbols-internal):
20394         Handle (obsolete) face aliases.
20396         * faces.el (describe-face): Adjust the output format to be more like
20397         describe-variable, and to mention (obsolete) face aliases.
20398         Adjust the whitespace so that help-setup-xref works.
20400         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20401         * calendar/diary-lib.el (diary-button-face):
20402         Mark these face aliases as obsolete.
20404         * calendar/calendar.el (calendar-today): Doc fix.
20406 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
20408         * progmodes/gdb-mi.el (gdb-control-all-threads)
20409         (gdb-control-current-thread): Force tool bar update.
20410         (gdb-non-stop-handler): New function.
20411         (gdb-init-1): Use it to test if non-stop mode is supported.
20412         Remove unused gdbmi buffer type.
20414 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
20416         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20417         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
20419 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
20421         * comint.el (comint-exec-1): Check command is non-null first.
20422         Part of gdb-mi.el change (2009-08-28).
20424 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
20426         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20428 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
20430         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20431         instead of `dolist' to avoid a recursive require when bootstrapping.
20433 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
20435         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20437         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20439         * net/imap.el (imap-send-command): Simplify.
20440         (imap-wait-for-tag): point-max -> buffer-size.
20442         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20444         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20445         with constant argument.
20447         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20449         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20451         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20452         Change default, since most of our files don't have a history.
20453         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20454         the user.
20456         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20457         Add comint-run.
20459         * calc/calc.el: Improve commenting convention.
20460         (calc-digit-map, toplevel): Simplify.
20462         * comint.el (comint-insert-input): Be careful to only set point if we
20463         don't delegate to some other command.
20465         * proced.el (proced-signal-list): Make it an alist.
20466         (proced-grammar-alist): Capitalize names.
20467         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20468         Disable undo manually and make it read-only.
20469         Use completion-annotate-function.
20471         * minibuffer.el (minibuffer-message): If the current buffer is not
20472         a minibuffer, insert the message in the echo area rather than at the
20473         end of the buffer.
20474         (completion-annotate-function): New variable.
20475         (minibuffer-completion-help): Use it.
20476         (completion--embedded-envvar-table): Environment vars are
20477         always case-sensitive.
20479 2009-08-30  Glenn Morris  <rgm@gnu.org>
20481         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
20482         from fortran-current-defun.
20483         (fortran-beginning-of-subprogram): Be more precise about finding the
20484         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
20485         (fortran-end-of-subprogram): Simplify.
20486         (fortran-current-defun): Use fortran-start-prog-re.
20488 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
20490         * subr.el (do-after-load-evaluation): Simplify.
20492 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
20494         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
20496         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
20497         (vc-rcs-print-log): Use it.
20499         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
20501 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
20503         * paths.el (abbrev-file-name): Move to abbrev.el.
20504         * abbrev.el (abbrev-file-name): Move from paths.el.
20505         Obey user-emacs-directory.
20506         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
20507         user-emacs-directory.
20508         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
20509         abbrev-file-name and calc-settings-file any more.
20510         * startup.el (command-line): Recompute abbrev-file-name and
20511         abbreviated-home-dir.
20512         (normal-no-mouse-startup-screen): Improve the generic code and get rid
20513         of the special code for when C-h bindings haven't been changed.
20514         (display-startup-echo-area-message): Use with-current-buffer.
20515         (command-line-1): Use a list of strings, rather than a list of lists
20516         of strings for longopts.
20518         * files.el (get-free-disk-space): Use / for default-directory.
20520         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
20521         Use with-current-buffer.
20523         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
20524         Recognize immutable variables like most-positive-fixnum.
20525         (byte-compile-setq-default): Check and warn if trying to assign
20526         to an immutable variable, or a non-variable.
20528         * progmodes/cc-vars.el (c-comment-continuation-stars):
20529         * progmodes/cc-engine.el (c-looking-at-bos):
20530         * progmodes/cc-cmds.el (c-toggle-auto-state)
20531         (c-forward-into-nomenclature, c-backward-into-nomenclature)
20532         (c-comment-line-break-function): Add version of obsolescence.
20534 2009-08-28  Juri Linkov  <juri@jurta.org>
20536         * files.el (magic-fallback-mode-alist): Add ZIP magic number
20537         associated with `archive-mode'.
20539         * image.el (image-type-header-regexps): Use only JPEG magic number
20540         to determine JPEG images, and don't use `image-jpeg-p' because
20541         Emacs can display non-JFIF non-Exif JPEG images.
20543 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
20545         * arc-mode.el (archive-mode):
20546         * emacs-lisp/re-builder.el (re-builder-unload-function):
20547         Protect against the default value of `major-mode' being nil.
20549 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
20551         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
20552         Fix typos in docstrings.
20554         * progmodes/js.el (js--macro-decl-re): Doc fix.
20555         (js--plain-method-re, js--split-name): Refloc docstring.
20556         (js--class-styles, js--make-merged-item, js--splice-into-items):
20557         Fix typos in docstrings; reflow docstrings.
20558         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
20559         (js--variable-decl-matcher, js--inside-pitem-p)
20560         (js--parse-state-at-point, js--get-all-known-symbols)
20561         (js--symbol-history, js-find-symbol, js--js-references)
20562         (js--moz-interactor, js--js-encode-value, js--read-tab):
20563         Fix typos in docstrings.
20565 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20567         * textmodes/reftex.el (reftex-get-file-buffer-force):
20568         * progmodes/verilog-mode.el (verilog-batch-execute-func):
20569         * emulation/viper.el (viper-go-away, viper-set-hooks):
20570         * emacs-lisp/re-builder.el (re-builder-unload-function):
20571         * emacs-lisp/bytecomp.el (byte-compile-file):
20572         * ses.el (ses-unload-function):
20573         * hexl.el (hexl-find-file):
20574         * files.el (normal-mode):
20575         * ehelp.el (with-electric-help):
20576         * autoinsert.el (auto-insert-alist):
20577         * arc-mode.el (archive-mode):
20578         Use (default-value 'major-mode) instead of default-major-mode.
20580         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
20581         * international/mule.el (load-with-code-conversion):
20582         * emacs-lisp/debug.el (debug):
20583         * ediff-vers.el (ediff-rcs-get-output-buffer):
20584         * dired.el (dired-internal-noselect): Don't let-bind
20585         default-major-mode around code that doesn't use it.
20586         E.g. buffer creation via get-buffer-create doesn't use it.
20588 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
20590         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20591         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20592         when writing the temp file.  Otherwise, epa-file gets confused.
20593         (tramp-register-file-name-handlers): Make it a defun.  Move also
20594         `epa-file-handler' to the front of `file-name-handler-alist'.
20596 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20598         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20599         start right after a ^M.
20600         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20601         (tramp-completion-file-name-regexp-separate)
20602         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20603         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20604         Don't modify last-coding-system-used by accident.
20605         (tramp-completion-file-name-handler): Apply the checks here,
20606         instead during registration.
20607         (tramp-register-file-name-handlers): Rename from
20608         `tramp-register-file-name-handler'.  Register both
20609         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20610         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
20612 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
20614         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20615         Remove variable ...
20616         (gdb-init-1, gdb-display-separate-io-buffer)
20617         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20618         references to it.
20619         (gdb-inferior-io-mode): Use make-comint-in-buffer.
20620         (gdb-inferior-filter): Use comint-output-filter to stop
20621         echoing and remove ^M characters.
20623 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20625         * emulation/viper-init.el (viper-restore-cursor-type):
20626         * emulation/cua-base.el (cua--update-indications):
20627         Replace default-cursor-type with (default-value 'cursor-type).
20629         * mail/sendmail.el (mail-recover-1):
20630         * international/mule-diag.el (describe-current-coding-system-briefly)
20631         (describe-current-coding-system):
20632         * international/mule-cmds.el (select-safe-coding-system)
20633         (select-message-coding-system)
20634         (set-language-environment-coding-systems, set-locale-environment):
20635         * hexl.el (hexl-insert-multibyte-char):
20636         * dos-w32.el (find-buffer-file-type-coding-system):
20637         * simple.el (what-cursor-position):
20638         Replace uses of default-buffer-file-coding-system
20639         with (default-value 'buffer-file-coding-system).
20641         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20642         Replace uses of default-cursor-in-non-selected-windows
20643         with (default-value 'cursor-in-non-selected-windows).
20644         Use with-current-buffer.
20646         * mail/feedmail.el: Use CL macros.
20647         (feedmail-run-the-queue, feedmail-send-it-immediately):
20648         * dos-w32.el (find-buffer-file-type): Replace uses of
20649         default-buffer-file-type with (default-value 'buffer-file-type).
20651 2009-08-28  Glenn Morris  <rgm@gnu.org>
20653         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20654         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20655         Use default-value of major-mode rather than default-major-mode.
20657 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20659         * Makefile.in (update-elcfiles): Report left over elc files.
20661         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20662         expand-file-name and with-current-buffer.
20663         (mail-get-names, mail-directory): Use with-current-buffer.
20665         * vc.el (vc-read-revision): New function.
20666         (vc-version-diff, vc-merge): Use it.
20668 2009-08-27  Sam Steingold  <sds@gnu.org>
20670         * simple.el (kill-do-not-save-duplicates): New user option.
20671         (kill-new): When it is non-nil, and the new string is the same as
20672         the latest kill, set replace to t to avoid duplicates in kill-ring.
20674 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
20676         * net/tramp.el (tramp-handle-process-file): Do not flush all
20677         caches when `process-file-side-effects' is set.
20678         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20679         instead of `tramp-find-file-exists-command'.
20680         Unset `process-file-side-effects'.
20682 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
20684         * net/tramp.el (tramp-methods): New method "rsyncc".
20685         (top): Add completion function for "rsyncc".
20686         (tramp-message-show-message): New defvar.
20687         (tramp-message, tramp-error): Use it.
20688         (tramp-do-copy-or-rename-file-directly): Extend check for direct
20689         remote copying.
20690         (tramp-do-copy-or-rename-file-out-of-band): Handle new
20691         `tramp-methods' entry `copy-env' of "rsyncc".
20692         (tramp-vc-registered-read-file-names): New defconst.
20693         (tramp-vc-registered-file-names): New defvar.
20694         (tramp-handle-vc-registered): Implement optimization strategy.
20695         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20696         (tramp-vc-file-name-handler): New defun.
20697         (tramp-get-ls-command, tramp-get-test-command)
20698         (tramp-get-file-exists-command, tramp-get-remote-ln)
20699         (tramp-get-remote-perl, tramp-get-remote-stat)
20700         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20702         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20703         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
20704         timestamps.
20705         (tramp-get-file-property): Check for timestamps in
20706         `tramp-cache-inhibit-cache'.
20707         (tramp-set-file-property): Write timestamp.
20709 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
20711         * language/japan-util.el (japanese-symbol-table): Add entries for
20712         cp932-2-byte.
20714         * international/characters.el: Add category `j' to cp932-2-byte.
20716 2009-08-27  Kenichi Handa  <handa@m17n.org>
20718         * international/fontset.el (build-default-fontset-data): New macro.
20719         (setup-default-fontset): Use build-default-fontset-data for CJK,
20720         tibetan, ethiopic, and ipa.
20722 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20724         * cus-start.el (default-major-mode): Customize `major-mode' instead.
20725         (enable-multibyte-characters): Not customizable any more.
20727         * subr.el (default-mode-line-format, default-header-line-format)
20728         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20729         (default-direction-reversed, default-truncate-lines)
20730         (default-left-margin, default-tab-width, default-case-fold-search)
20731         (default-left-margin-width, default-right-margin-width)
20732         (default-left-fringe-width, default-right-fringe-width)
20733         (default-fringes-outside-margins, default-scroll-bar-width)
20734         (default-vertical-scroll-bar, default-indicate-empty-lines)
20735         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20736         (default-fringe-cursor-alist, default-scroll-up-aggressively)
20737         (default-scroll-down-aggressively, default-fill-column)
20738         (default-cursor-type, default-buffer-file-type)
20739         (default-cursor-in-non-selected-windows)
20740         (default-buffer-file-coding-system, default-major-mode)
20741         (default-enable-multibyte-characters): Mark as obsolete.
20743 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
20745         * vc-dir.el (vc-dir-update): Remove debug helper.
20747         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20749 2009-08-26  Sam Steingold  <sds@gnu.org>
20751         * simple.el (save-interprogram-paste-before-kill): New user option.
20752         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20753         save the interprogram-paste into kill-ring before overriding it
20754         with the Emacs kill.
20756 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
20758         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20759         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20760         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20761         and move to vc-rcs.el.
20762         (vc-default-next-revision): Rename to vc-rcs-next-revision and
20763         move to vc-rcs.el.
20764         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20765         (vc-rcs-update-changelog): Remove.
20766         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20767         and move to vc-rcs.el.
20769         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20770         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20771         renaming.
20772         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20773         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20774         vc.el, renamed to be RCS specific.
20776         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20777         New functions.
20778         (vc-cvs-update-changelog): Move here from vc.el.
20780         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20781         New functions.
20783 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
20785         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20787 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
20789         * vc-git.el (vc-git-register): Use "git add" for directories.
20790         (vc-git-stash, vc-git-stash-show): New functions.
20791         (vc-git-extra-menu-map): Bind them.
20793         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20794         directory correctly in case the item is a directory itself.
20796         * vc.el: Document the desired behavior for reverted files in the
20797         `added' state.
20798         (vc-default-prettify-state-info): Remove function, unused.
20800         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20802 2009-08-26  Glenn Morris  <rgm@gnu.org>
20804         * bindings.el (standard-mode-line-format): Reposition dashes in
20805         which-func entry.  (Bug#4217)
20807         * files.el (enable-local-variables, enable-local-eval)
20808         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20809         the defcustoms.
20810         (auto-mode-alist, ignored-local-variables)
20811         (save-some-buffers-action-alist): Move risky declarations to the
20812         definitions.
20813         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20814         (font-lock-defaults, format-alist, imenu--index-alist)
20815         (imenu-generic-expression, input-method-alist, minor-mode-alist)
20816         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20817         (mode-line-modified, mode-line-mule-info, mode-line-position)
20818         (mode-line-process, mode-line-remote, outline-level)
20819         (parse-time-rules, rmail-output-file-alist)
20820         (special-display-buffer-names, vc-mode):
20821         Move risky declarations to the relevant files.
20822         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20823         (mode-line-modified, mode-line-process, mode-line-position)
20824         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20825         * font-core.el (font-lock-defaults):
20826         * format.el (format-alist):
20827         * vc-hooks.el (vc-mode):
20828         * window.el (special-display-buffer-names):
20829         * international/mule-cmds.el (input-method-alist):
20830         Define riskiness here (dumped file) rather than in files.el.
20831         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20832         * imenu.el (imenu-generic-expression, imenu--index-alist):
20833         * outline.el (outline-level):
20834         * time.el (display-time-string):
20835         * calendar/parse-time.el (parse-time-rules):
20836         * mail/rmailout.el (rmail-output-file-alist):
20837         Autoload riskiness here, rather than placing in files.el.
20839 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
20841         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20843 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
20845         * simple.el (process-file-side-effects): New defvar.
20847         * dired-aux.el (dired-show-file-type):
20848         * vc.el (vc-diff-internal):
20849         * vc-arch.el (vc-arch-diff):
20850         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20851         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20852         * vc-git.el (vc-git-registered, vc-git-working-revision)
20853         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20854         (vc-git--empty-db-p):
20855         * vc-hooks.el (vc-user-login-name):
20856         * vc-svn.el (vc-svn-registered, vc-svn-state)
20857         (vc-svn-dir-extra-headers, vc-svn-find-revision):
20858         * progmodes/grep.el (grep-probe): Let-bind
20859         `process-file-side-effects' with nil.
20861         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20863         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20864         daemon.  Replace ping by checking for running service for bluez
20865         and zeroconf.  (Bug#4239)
20867 2009-08-25  Kevin Ryde  <user42@zip.com.au>
20869         * net/dig.el (dig): Add autoload cookie.
20871 2009-08-25  Glenn Morris  <rgm@gnu.org>
20873         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20874         load-history for absolute file-names.
20875         (byte-compile-file-form-require): Warn about use of the cl package.
20877         * format.el (format-alist): Doc fix.
20879         * play/bubbles.el (top-level): Don't require cl at run-time.
20881         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20882         run-time cl).
20884 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
20886         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20887         from cl package.
20888         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20890 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
20892         * calc/calc-alg.el (math-trig-rewrite)
20893         (math-hyperbolic-trig-rewrite): New functions.
20894         (calc-simplify): Simplify trig functions when asked.
20896 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
20898         * diff-mode.el (diff-find-source-location): Avoid goto-line.
20900 2009-08-24  Kenichi Handa  <handa@m17n.org>
20902         * language/ind-util.el (mapthread): Delete it.
20903         (combinatorial): New function.
20904         (indian--puthash-cv): Use combinatorial instead of mapthread.
20906 2009-08-22  Kevin Ryde  <user42@zip.com.au>
20908         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20909         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
20910         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
20911         Clarify docstring that the value is strings not symbols.
20912         (checkdoc-list-of-strings-p): New function.
20914 2009-08-22  Glenn Morris  <rgm@gnu.org>
20916         * files.el (auto-mode-alist):
20917         * hippie-exp.el (he-concat-directory-file-name):
20918         * lpr.el (lpr-windows-system, printer-name):
20919         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
20920         * ps-print.el (ps-windows-system):
20921         * startup.el (command-line):
20922         * emulation/viper-ex.el (viper-glob-function):
20923         * international/mule-cmds.el (set-language-environment-coding-systems):
20924         * net/ange-ftp.el (ange-ftp-write-region):
20925         * obsolete/fast-lock.el (fast-lock-cache-name):
20926         Remove code for defunct system-types emx, macos, mswindows, next-mach,
20927         unisoft-unix, vax-vms, win32, w32.
20929         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
20930         given name if the pattern is not more specific.
20932         * calendar/lunar.el (lunar-phase-names): New option.
20933         (lunar-phase): Doc fix.
20934         (lunar-cycles-per-year): New constant.
20935         (lunar-index): New function.
20936         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
20937         (lunar-phase-name): Use lunar-phase-names.
20938         (calendar-lunar-phases): Use format.
20939         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
20941         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
20942         Copy imenu-example--name-and-position function here for own use.
20943         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
20945         * bs.el (bs--redisplay):
20946         * cus-edit.el (custom-redraw):
20947         * ibuffer.el (ibuffer-bury-buffer):
20948         * server.el (server-goto-line-column):
20949         * startup.el (command-line-1):
20950         * strokes.el (strokes-xpm-for-stroke):
20951         * term.el (term-display-buffer-line):
20952         * view.el (View-goto-line):
20953         * calc/calc.el (calc-do, calc-trail-buffer):
20954         * play/gamegrid.el (gamegrid-add-score-insecure):
20955         * progmodes/ada-mode.el (ada-compile-goto-error):
20956         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
20957         (ebrowse-select-1st-to-9nth):
20958         * progmodes/cperl-mode.el (cperl-time-fontification):
20959         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
20960         * progmodes/gud.el (gud-display-line):
20961         (idlwave-shell-display-line):
20962         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
20963         * progmodes/make-mode.el (makefile-browser-toggle):
20964         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
20965         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
20966         * textmodes/picture.el (picture-draw-rectangle):
20967         * textmodes/reftex-index.el (reftex-index-goto-letter):
20968         (reftex-select-jump-to-previous):
20969         * textmodes/reftex-sel.el (reftex-find-start-point)
20970         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
20971         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
20972         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
20973         * textmodes/tex-mode.el (tex-compilation-parse-errors):
20974         * textmodes/two-column.el (2C-associated-buffer):
20975         Use forward-line rather than goto-line.
20977         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
20978         goto-line.
20980         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
20981         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
20982         (quick-check-list-to-regexp): Declare.
20984         * progmodes/make-mode.el (makefile-browser-insert-selection):
20985         Use goto-char rather than goto-line.
20987         * progmodes/prolog.el (compilation-error-regexp-alist)
20988         (compilation-forget-errors): Declare.
20990 2009-08-22  Juri Linkov  <juri@jurta.org>
20992         * progmodes/grep.el (lgrep, rgrep): At the beginning
20993         set `dir' to `default-directory' unless `dir' is a non-nil
20994         readable directory.  (Bug#4052)
20995         (lgrep, rgrep): Change a weird way to report an error
20996         from using `read-string' to using `error'.
20997         Instead of using interactive arguments in the function body,
20998         add new argument `confirm'.
21000 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
21002         * textmodes/remember.el (remember-buffer):
21003         * progmodes/cperl-mode.el (cperl-vc-header-alist):
21004         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
21005         (icalendar-extract-ical-from-buffer):
21006         * net/newst-treeview.el (newsticker-groups-filename):
21007         * net/newst-backend.el (newsticker-cache-filename):
21008         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
21009         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
21010         (speedbar-add-ignored-path-regexp, speedbar-line-path)
21011         (speedbar-buffers-line-path, speedbar-path-line)
21012         (speedbar-buffers-line-path):
21013         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
21014         (epg-sign-keys):
21015         * epa.el (epa-display-verify-result):
21016         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
21018 2009-08-21  Glenn Morris  <rgm@gnu.org>
21020         * progmodes/js.el (inferior-moz-process): Fix declaration.
21022         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
21024         * obsolete/rnewspost.el (news-mail-reply):
21025         Use goto-char rather than goto-line.
21027         * term/ns-win.el (ns-open-file-select-line):
21028         Use line-beginning-position rather than goto-line.
21030         * apropos.el (apropos-command):
21031         * ehelp.el (electric-helpify):
21032         * printing.el (pr-show-setup):
21033         * strokes.el (strokes-help):
21034         * tutorial.el (tutorial--describe-nonstandard-key)
21035         (tutorial--detailed-help):
21036         * woman.el (woman-mini-help, woman-display-extended-fonts):
21037         * calc/calc-help.el (calc-describe-key):
21038         * emulation/edt.el (edt-electric-helpify):
21039         * international/mule-diag.el (mule-diag):
21040         * play/yow.el (apropos-zippy):
21041         * progmodes/python.el (python-describe-symbol):
21042         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
21043         * textmodes/table.el (*table--cell-describe-mode)
21044         (*table--cell-describe-bindings):
21045         Use help-print-return-message rather than the now obsolete alias.
21047         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
21048         (calendar-cursor-to-visible-date):
21049         * play/5x5.el (5x5-position-cursor):
21050         * play/decipher.el (decipher):
21051         * play/gomoku.el (gomoku-goto-xy):
21052         * play/landmark.el (lm-goto-xy):
21053         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
21054         (mpuz-paint-digit):
21055         Use forward-line, not goto-line.
21057         * mail/rmail.el (rmail-obsolete): Delete custom group.
21058         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
21059         (rmail-remote-password, rmail-remote-password-required):
21060         Remove unneeded :set-after and :set properties.
21062 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
21064         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
21066 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
21068         * loadup.el: Remove leftover macos code.
21070         * vc-git.el (vc-git-annotate-command): Run asynchronously.
21071         Explicitly pass the date format to git blame so that user local
21072         so that the output format can be parsed.
21074 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
21076         * net/dbus.el (top): Don't check for (getenv
21077         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
21079 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
21081         * log-edit.el (log-edit-strip-single-file-name): New var.
21082         (log-edit-insert-changelog): Use it.  Bug#3571.
21084 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
21086         * subr.el (read-passwd): Use read-key so keypad keys work as well.
21087         Bug#3287.
21089         * help.el (help-print-return-message): Rename from
21090         print-help-return-message.
21092         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
21093         cvs-mode-map parent hack.
21094         (log-view-mode): Derive from special-mode.
21096         * linum.el (linum-mode): window-size-change-functions is redundant.
21097         Adapt to new window-configuration-change-hook behavior.
21098         (linum-after-size, linum-after-config): Remove.
21100         * imenu.el (imenu-example--name-and-position)
21101         (imenu-example--lisp-extract-index-name)
21102         (imenu-example--create-lisp-index, imenu-example--create-c-index):
21103         Mark as obsolete.
21105         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
21106         (inferior-prolog-mode): Use it.
21107         (inferior-prolog-load-file): Reset list of errors.
21109 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
21111         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
21113         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
21115 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
21117         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
21118         is running already.
21120 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
21122         * subr.el (listify-key-sequence-1): Use normal syntax since those
21123         integers are nowadays always represented by the same (positive) number
21124         on all platforms.
21125         (read-key-empty-map): New const.
21126         (read-key-delay): New var.
21127         (read-key): New function.
21128         (force-mode-line-update): Use with-current-buffer.
21129         (locate-user-emacs-file): Don't forget to abbreviate the file name.
21130         (start-process-shell-command, start-file-process-shell-command):
21131         Discourage the use of command-args.
21133 2009-08-19  Glenn Morris  <rgm@gnu.org>
21135         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
21137 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
21139         * simple.el (choose-completion-string): Don't rely on
21140         minibuffer-completing-file-name and ad-hoc checks to decide whether
21141         to continue completion or not.
21143         * minibuffer.el (minibuffer-hide-completions): New function.
21144         (completion--do-completion): Use it.
21145         (completions-annotations): New face.
21146         (completion--insert-strings): Use it.
21147         (completion-pcm--delim-wild-regex): Add docstring.
21148         (completion-pcm--string->pattern): Add support for 0-width delimiters
21149         in completion-pcm--delim-wild-regex.
21151 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
21153         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
21154         Remove unused var `buffer-modified-p'.
21156         * minibuffer.el (completion--do-completion): Move point for the #b001
21157         case as well (bug#4176).
21158         (minibuffer-complete, minibuffer-complete-word): Don't move point.
21160 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
21162         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
21163         and :session buses.
21165 2009-08-18  Kenichi Handa  <handa@m17n.org>
21167         * international/ucs-normalize.el (ucs-normalize-version):
21168         Change to 1.1.
21169         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
21170         (utf-8-hfs): Make it perform normalization on encoding too.
21172         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
21173         (sentence-end-without-space): Delete duplicated chars.
21174         (sentence-end-base): Likewise.
21176         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
21177         (html-mode): Delete duplicated chars from sentence-end-base.
21179         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
21180         (texinfo-mode): Delete duplicated chars from sentence-end-base.
21182 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
21184         * files.el (hack-one-local-variable): If the mode function is for
21185         a minor mode, pass it an argument (Bug#4148).
21187 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
21189         * net/tramp.el (tramp-register-completion-file-name-handler):
21190         Check also for (member 'partial-completion completion-styles).
21192 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
21194         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
21195         abbrev (Bug#3943).
21197 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
21199         * progmodes/cperl-mode.el: Merge upstream 6.2.
21200         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
21201         (cperl-forward-re): Check cperl-brace-recursing.
21202         (cperl-highlight-charclass): New function.
21203         (cperl-find-pods-heres): Use it.
21204         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
21205         (cperl-beautify-regexp-piece): Fix column calculation.
21206         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
21207         (cperl-beautify-level): Don't process entire regexp.
21208         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
21209         calling man.
21210         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
21211         (cperl-init-faces): Build a list in the normal way.
21213 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
21215         * calendar/parse-time.el (parse-time-string-chars): Save match
21216         data.
21218 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
21220         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
21221         (sql-product): Use it.
21222         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
21223         (sql-set-product): Add completion.
21224         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
21225         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
21226         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
21227         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
21228         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
21229         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
21230         (sql-highlight-db2-keywords): Remove.
21231         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
21232         (sql-highlight-product): Use derived-mode-p.
21233         (sql-set-sqli-buffer): Use with-current-buffer.
21234         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
21235         Simplify.
21237         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
21239         * term.el: Fix commenting convention, turn comments into docstrings.
21241 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
21243         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
21245 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
21247         * calendar/parse-time.el (parse-time-string-chars): Compute using
21248         character classes, to handle non-ascii characters (Bug#3190).
21250 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
21252         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
21253         another heredoc if the user adds another < (Bug#3226).
21255         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
21256         Don't initialize based on window-system (Bug#4124).
21258         * facemenu.el (facemenu-read-color): Use a completion function
21259         that accepts any defined color, such as RGB triplets (Bug#3677).
21261         * files.el (get-free-disk-space): Change fallback default
21262         directory to /.  Expand DIR argument before switching to fallback.
21263         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
21265 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
21267         * files.el (load-library): Doc fix.
21269 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
21271         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
21272         (viper-if-string): Redefine C-s in the minibuffer to insert the last
21273         incremental search string.
21275         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
21276         XEmacs.
21278         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
21279         (ediff-merge-region-is-non-clash)
21280         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
21281         Also check if the job is really a merge job.
21283         * ediff.el (ediff-current-file): New function.
21285 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
21287         * progmodes/js.el: Edit docstrings throughout to follow Emacs
21288         conventions.
21289         (js-insert-and-indent): Delete function.
21290         (js-mode-map): Don't bind keys to js-insert-and-indent.
21291         (js-beginning-of-defun): Rename from js--beginning-of-defun.
21292         (js-end-of-defun): Rename from js--end-of-defun.
21293         (js-auto-indent-flag): Delete variable.
21295 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
21297         * progmodes/js.el: Remove proclaim statement.
21298         Defvar which-func-imenu-joiner-function to silence compiler.
21300         * files.el (auto-mode-alist): Use js-mode for .js files.
21302         * progmodes/js2-mode.el: Remove file.
21304         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
21306         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
21308         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21310 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
21311             Karl Landstrom  <karl.landstrom@brgeight.se>
21313         * progmodes/js.el: New file.
21315 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
21317         * timezone.el (timezone-parse-date): Add ability to understand ISO
21318         basic format (minimal separators) dates in addition to the
21319         already-supported extended format dates.
21321 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
21323         * international/ucs-normalize.el: Add a `coding' file variable.
21325         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21327 2009-08-14  Sam Steingold  <sds@gnu.org>
21329         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21331 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
21333         * faces.el (help-argument-name): Define it here instead of
21334         help-fns.el, because in daemon mode help-fns.el may be loaded when
21335         faces are still uninitialized (Bug#1078).
21337         * help-fns.el (help-argument-name): Move defface to faces.el.
21339 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
21341         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21342         create buffer with a pty but no process so that GDB can make the
21343         inferior the controlling process.
21345 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
21347         * international/ucs-normalize.el: New file.
21349 2009-08-13  Richard Stallman  <rms@gnu.org>
21351         * mail/rmail.el (rmail-get-attr-names):
21352         Accept an attribute header that is too short.
21354         * mail/rmail.el (rmail-forget-messages):
21355         Ignore nil elt in rmail-message-vector.  Use dotimes.
21357         * progmodes/compile.el (compilation-goto-locus):
21358         Use next-error-move-function.
21360         * simple.el (next-error-move-function): New variable.
21362 2009-08-12  Juri Linkov  <juri@jurta.org>
21364         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21365         always non-nil.  (Bug#4052)
21367         * replace.el (read-regexp): Return empty string when
21368         `default-value' is nil.
21369         (keep-lines-read-args): Don't use empty string as the
21370         default value for `read-regexp'.  (Bug#2495)
21372 2009-08-12  Juri Linkov  <juri@jurta.org>
21374         * international/mule-cmds.el (ucs-insert): Change arguments
21375         from `arg' to `character', `count', `inherit' to be the same
21376         as in `insert-char'.  Doc fix.  (Bug#4039)
21378         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21380 2009-08-12  Juri Linkov  <juri@jurta.org>
21382         * files-x.el: New file.
21384         * files.el: Move code that deals with adding/deleting
21385         file/directory-local variables to files-x.el.
21387         * Makefile.in (ELCFILES): Add files-x.elc.
21389 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
21391         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21392         to use `goto-line'.
21393         (gdb-place-breakpoints, gdb-get-location): Rewritten without
21394         `goto-line'.
21395         (gdb-invalidate-disassembly): Do not refresh upon receiving
21396         'update signal.  Instead, update all disassembly buffers only after
21397         threads list.
21398         (gdb): Send -target-detach when buffer is killed (Bug#3794).
21399         (gdb-starting): Move -data-list-register-names...
21400         (gdb-stopped): ...here so it's sent when first thread stops.
21401         (gdb-registers-handler-custom): Do nothing if register names are
21402         unknown yet.
21404         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21405         from `gdb-mi.el' to avoid extra tangling.
21407         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21408         change which breaks `gud-def' definitions used in `gdb'.
21409         (gdb-update-gud-running): No extra fuss for updating frame number.
21411 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
21413         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21414         (describe-language-environment-map, setup-language-environment-map)
21415         (set-coding-system-map): Move initialization into declaration.
21416         (set-language-info-alist): Last arg to define-key-after can be skipped.
21418         * international/quail.el (quail-completion-1): Simplify.
21419         (quail-define-rules): Use slightly more compact code.
21420         (quail-insert-decode-map): Propertize keys, compact columns.
21422         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21423         Add goto-line.
21425 2009-08-10  Miles Bader  <miles@gnu.org>
21427         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21428         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21429         (js2-instance-member, js2-private-member, js2-private-function-call)
21430         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21431         (js2-magic-paren, js2-external-variable):
21432         Remove "-face" suffix from face names.
21433         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21434         (js2-highlight-undeclared-vars, js2-peek-token)
21435         (js2-parse-function-params, js2-mode-show-errors)
21436         (js2-mode-show-warnings, js2-make-magic-delimiter)
21437         (js2-mode-highlight-magic-parens): Update to use new face names.
21439 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
21441         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21442         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
21444 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
21446         * subr.el: Provide hashtable-print-readable.
21448         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21449         hs-c-like-adjust-block-beginning.
21450         (hs-hide-block-at-point): Stop hiding at the beginning of
21451         hs-block-end-regexp (Bug#700).
21453 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
21455         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21456         a macro.
21457         (gdb-registers-handler-custom): Do not fail when register names
21458         are unavailable.
21460 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
21462         * progmodes/gdb-mi.el (gdb-control-all-threads)
21463         (gdb-control-current-thread): Interactive setters for
21464         `gdb-gud-control-all-threads' to use in menu.
21465         (gdb-show-run-p): Show «Go» when process is not active.
21466         (gud-tool-bar-map): Add non-stop/A,T indicator.
21467         Uses gud/thread.xpm and gud/all.xpm.
21469 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
21471         * net/net-utils.el (net-utils-font-lock-keywords): New var.
21472         (nslookup-font-lock-keywords): Make it a variable.
21473         (net-utils-mode): New mode for viewing diagnostic network output.
21474         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
21475         (net-utils-run-simple): New function.
21476         (ifconfig, iwconfig, netstat, arp, route): Use it.
21478 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
21480         * progmodes/gdb-mi.el (gdb-read-memory-custom)
21481         (gdb-memory-set-address, def-gdb-set-positive-number)
21482         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
21483         after changing settings.
21484         (gdb-invalidate-disassembly): Update when first shown.
21485         (gdb-edit-locals-value): Fix.
21486         (gdb-registers-handler-custom): Print registers in right order and
21487         allow changing register values (only for current thread yet).
21488         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
21489         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
21490         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
21491         (gdb-locals-handler-custom, gdb-registers-handler-custom):
21492         Thread info in mode name.
21493         (gdb-registers-mode-map): TAB to switch to locals.
21495 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
21497         * mail/rmail.el (rmail-add-mbox-headers)
21498         (rmail-set-message-counters-counter): Search for
21499         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
21501 2009-08-08  Glenn Morris  <rgm@gnu.org>
21503         * Makefile.in (ELCFILES): Update.
21505 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
21507         * mail/sendmail.el (mail-yank-original):
21508         Set buffer-file-coding-system from the one used by the message whose
21509         text is yanked.
21511         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
21512         to "windows" when "pgnuplot" is used.
21513         (calc-graph-command, calc-gnuplot-command, calc-graph-init):
21514         Don't call accept-process-output if "pgnuplot" is used.
21515         (calc-graph-init): Don't send -display and -geometry to
21516         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
21517         running "pgnuplot -V" with shell-command-to-string.
21519         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
21520         the default.
21522 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
21524         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
21525         org/org-latex.elc.
21527 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
21529         * vc-dispatcher.el (vc-resynch-window): Update comment.
21531         * term.el (term-handle-ansi-escape): Add comments with the
21532         terminfo capabilities implemented.
21534 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
21536         * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
21537         (gdb-var-create-handler): Rewritten using JSON parser.
21538         (gdb-propertize-header): Move earlier.
21539         (gdb-set-header): Remove to avoid duplication.
21540         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
21541         Refresh disassembly buffers only after threads list have been
21542         update.
21543         (gdb-threads-header, gdb-registers-header): Per-buffer header line
21544         variables.
21546 2009-08-04  Juri Linkov  <juri@jurta.org>
21548         * files.el: Commands to add/delete file/directory-local variables.
21549         (read-file-local-variable, read-file-local-variable-value)
21550         (read-file-local-variable-mode, modify-file-local-variable)
21551         (modify-file-local-variable-prop-line)
21552         (modify-dir-local-variable): New functions.
21553         (add-file-local-variable, delete-file-local-variable)
21554         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
21555         (add-dir-local-variable, delete-dir-local-variable)
21556         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
21557         (copy-dir-locals-to-file-locals-prop-line): New commands.
21559 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
21561         * abbrev.el (insert-abbrev-table-description): Prettify output.
21562         Suggested by Karl Chen.
21564 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
21566         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
21567         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
21568         (gdb-overlay-arrow-position, gdb-thread-position)
21569         (gdb-disassembly-position): Declare variables.
21570         (gdb-wait-for-pending): Function now.
21571         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
21572         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
21573         compilation goes smoothly.
21574         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
21575         (gdb-non-stop-setting): New customization setting which replaces
21576         `gdb-non-stop' so changing it doesn't break active GDB session.
21577         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
21578         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
21579         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
21580         (gdb-show-threads-by-default): New customization options.
21581         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
21582         routines.
21583         (gdb-get-buffer-create): Send buffers update signal when they are
21584         created.
21585         (gdb-invalidate-locals, gdb-invalidate-registers)
21586         (gdb-invalidate-breakpoints)
21587         (gdb-invalidate-threads, gdb-invalidate-disassembly)
21588         (gdb-invalidate-memory): Accept update signal.
21589         (gdb-current-context-command): Use --frame option.
21590         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21591         Implement `gdb-frame-number' selection logic.
21592         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21593         whether to show GUD toolbar buttons.
21594         (gdb-thread-exited): Unselect current thread when it exits.
21595         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21596         (gdb-mark-line): Routine which sets overlay arrow or inverses
21597         video on fringeless displays.
21598         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21599         to build aligned columns of data in GDB buffers and set text
21600         properties line-by-line.
21601         (gdb-invalidate-breakpoints)
21602         (gdb-breakpoints-list-handler-custom)
21603         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21604         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21605         (gdb-registers-handler-custom): Align data columns.
21606         (gdb-locals-handler-custom): Now prints data like in variable
21607         declarations.
21608         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21609         Remove confusing buttons.
21610         (gdb-invalidate-threads): Append --frame.
21611         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21612         between breakpoints/threads buffers.
21613         (gdb-set-window-buffer): Now can ignore dedicated windows.
21614         (gdb-propertize-header): Use `gdb-set-window-buffer'.
21615         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21616         (def-gdb-thread-buffer-gud-command): Replaces
21617         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21618         for fine thread control.
21619         (gdb-preempt-existing-or-display-buffer): New function used to
21620         display bound buffers without breaking window layout.
21621         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21622         (gdb-select-frame): New version of `gdb-frames-select' which now
21623         sets `gdb-frame-number' so commands may use --frame option instead
21624         of inner debugger state.
21625         (gdb-frame-handler): Do not set `gdb-frame-number'.
21626         (gdb-threads-mode-map): Select threads with mouse.
21628         * progmodes/gud.el (gdb-gud-context-call): Declare function to
21629         avoid compilation warning.
21630         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21631         `gdb-show-stop-p`.
21633         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21634         Argument `key' renamed to `buffer-type'.
21635         (gdb-current-context-buffer-name): Do not add thread info to
21636         buffer name when no thread is selected.
21637         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21638         command (bug 3794).
21639         (gdb-thread-selected): Handle `=thread-selected' notification.
21640         (gdb-wait-for-pending): New macro to deal with congestion problems.
21641         (gdb-breakpoints-list-handler-custom): Don't fail on pending
21642         breakpoints.
21643         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21644         This fixes problem similar to one described in bug 3947.
21645         (gud-menu-map): More menu items.
21646         (gdb-init-1): Reset `gdb-thread-number' to nil.
21648         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21649         non-stop settings.
21651         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21652         (gdb-current-context-command): Do not append --thread if
21653         `gdb-thread-number' is nil.
21654         (gdb-running-threads-count, gdb-stopped-threads-count):
21655         New variables.
21656         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21657         (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21658         New customization options.
21659         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21660         GUD commands.
21661         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21662         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21663         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21664         set `gdb-thread-number' and update `gud-running' properly.
21665         (gdb-running): Update threads list when new threads appear.
21666         (gdb-stopped): Support non-stop operation and new thread switching
21667         logic.
21668         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21669         (gdb-json-partial-output): New set of JSON routines.
21670         (def-gdb-auto-update-trigger): New `signal-list' optional
21671         argument.
21672         (gdb-thread-list-handler-custom): Update `gud-running',
21673         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21674         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21675         (gdb-continue-thread, gdb-step-thread): New commands for fine
21676         thread execution control.
21677         (gud-menu-map): New menu items to switch non-stop options.
21678         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21679         (gdb-send): Mimic RET properly (bug 3794).
21681         * progmodes/gdb-mi.el (gdb-rules-name-maker)
21682         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21683         gdb-buffer-rules.
21684         (def-gdb-auto-update-handler): New nopreserve optional argument.
21685         (gdb-stack-list-frames-custom): Print stack from top to bottom.
21687         * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21688         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21689         (gdb-parent-mode): New mode to derive other GDB modes from.
21690         (gdb-display-disassembly-for-thread)
21691         (gdb-frame-disassembly-for-thread): New commands for threads
21692         buffer.
21694         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21695         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21696         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21697         (gdb-update): We now store all GDB buffers in a list so that they
21698         can be updated by traversing a list instead of calling invalidate
21699         triggers explicitly.
21700         (def-gdb-trigger-and-handler): New macro to define trigger-handler
21701         pair for GDB buffer.
21702         (gdb-stack-buffer-name): Add thread information.
21703         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21704         handle pending triggers.
21705         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21706         (def-gdb-thread-buffer-simple-command)
21707         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21708         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21709         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21710         New commands which show buffers bound to thread.
21711         (gdb-stack-list-locals-regexp): Remove unused regexp.
21713         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21714         (gdb-locals-buffer-name, gdb-registers-buffer-name)
21715         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21716         to (gud-comint-buffer) in *-buffer-name functions
21717         because (gdb-get-target-string) already does that.
21718         (gdb-locals-handler-custom, gdb-registers-handler-custom)
21719         (gdb-changed-registers-handler): Rewritten without regexps.
21721         * progmodes/gdb-mi.el: Basic thread selection support.
21722         (gdb-thread-number): New variable.
21723         (gdb-current-context-command): New macro which adds --thread
21724         option to command.
21725         (gdb-threads-mode-map): Select thread with SPC.
21726         (gdb-thread-list-handler-custom): Mark current thread with overlay
21727         arrow.  Synchronize GDB thread and Emacs thread.
21728         (gdb-select-thread): New command which selects current thread.
21729         (gdb-invalidate-frames, gdb-invalidate-locals)
21730         (gdb-invalidate-registers): Use --thread option.
21732 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
21734         * net/tramp.el (top): Make check for tramp-gvfs loading more
21735         robust.  (Bug#3977)
21736         (tramp-handle-insert-file-contents): `unwind-protect' must be
21737         inside `with-parsed-tramp-file-name'.
21739         * net/tramp-gvfs.el (top): Remove superfluous message when loading
21740         fails.
21742 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
21744         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21745         directory if CLASSPATH is not set.
21747 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
21749         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21750         New defconst.
21751         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
21753 2009-08-02  Kevin Ryde  <user42@zip.com.au>
21755         * net/newst-backend.el (newsticker--raw-url-list-defaults):
21756         Update freshmeat link.  Delete newsforge.com as it seems gone.
21758 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
21760         * select.el (x-set-selection): Doc fix (Bug#4021).
21762         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21764         * help-fns.el (describe-variable): Treat list return values from
21765         dir-locals-find-file properly (Bug#4005).
21767 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
21769         * net/tramp.el (tramp-debug-message): Print also microseconds.
21771 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
21773         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21774         or END is non-nil.
21775         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21776         (tramp-get-debug-buffer): Change `outline-regexp' according to new
21777         format.
21779         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21780         (tramp-get-file-property): Use it.
21782         * autorevert.el (auto-revert-handler):
21783         Allow `auto-revert-tail-mode' for remote files.
21785 2009-08-02  Jason Rumney  <jasonr@gnu.org>
21787         * minibuffer.el (read-file-name): Treat confirm options to
21788         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
21790 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
21792         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21793         (font-lock-variable-name-face, font-lock-constant-face):
21794         Darken the colors for light backgrounds.
21796 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
21798         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21799         month names.  (Bug#3987)
21801 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
21803         * simple.el (line-move-finish): Pass whole number to
21804         line-move-to-column.
21805         (line-move-visual): Perform hscroll to the recorded position.
21807 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
21809         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21811 2009-07-29  Alan Mackenzie  <acm@muc.de>
21813         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21815 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
21817         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21818         (gdb-place-breakpoints): Use full path when setting breakpoints.
21820 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
21822         * calc/calc.el (calc-mode-map): Add keybinding for
21823         `calc-transpose-lines'.
21825 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
21827         * calc/calc-misc.el (calc-transpose-lines): New function.
21829 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
21831         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21832         Simplify check for out-of-band methods.
21833         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21834         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
21836 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
21838         * vc-git.el (vc-git-checkin): Fix typo.
21840 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
21842         * progmodes/js2-mode.el: New file.
21844 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
21846         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21847         (gud-menu-map): Adjust tooltip accordingly.
21849 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
21851         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21852         (vc-bzr-log-view-mode): Adjust log-view-file-re.
21854         * add-log.el (change-log-mode-map): Add a menu.
21856 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
21858         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21859         function returns nil.
21860         (dbus-handle-event): Handle special return value :ignore.
21861         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21863 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
21865         * view.el (view-mode-enable): Don't define Helper-return-blurb if
21866         it's not needed.
21868 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
21870         Fix Bug#3888:
21872         * w32-vars.el (x-select-enable-clipboard): Doc fix.
21874         * term/pc-win.el (x-display-name, x-colors)
21875         (x-select-enable-clipboard, x-select-text): Doc fix.
21877         * term/common-win.el (x-display-name, x-colors): Doc fix.
21879         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21880         (xw-defined-colors): Doc fix.
21882         * w32-fns.el (x-select-text, x-setup-function-keys)
21883         (x-get-selection, x-set-selection): Doc fix.
21885         * term/x-win.el (x-select-text, x-setup-function-keys)
21886         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21888         * select.el (x-set-selection): Doc fix.
21890 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
21892         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21893         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
21894         "IsNSSSupportAvailable" method is not available.
21895         Reported by Steve Youngs <steve@sxemacs.org>.
21897 2009-07-24  Kenichi Handa  <handa@m17n.org>
21899         * international/characters.el: Fix setting of category ?C, ?|, ?K,
21900         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
21901         (build-unicode-category-table): Fix range checks.
21903 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
21905         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21906         the buffer we try to sync is current when calling
21907         vc-resynch-buffer.
21909         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
21910         not show up to date files.
21912 2009-07-24  Glenn Morris  <rgm@gnu.org>
21914         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
21915         Add autoload cookies.  If necessary, initialize.
21916         (elint-log): Handle non-file buffers.
21917         (elint-initialize): Add optional argument to reinitialize.
21918         (elint-find-builtin-variables): Save excursion.
21920 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
21922         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
21923         for Lint.
21925 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
21927         * vc.el (vc-print-log-internal): New function, split out from ...
21928         (vc-print-log): ... here.
21929         (vc-dir-move-to-goal-column): Declare.
21931         * vc-git.el (vc-git-add-signoff): New variable.
21932         (vc-git-checkin): Use it.
21933         (vc-git-toggle-signoff): New function.
21934         (vc-git-extra-menu-map): Bind it to menu.
21935         (vc-git--run-command-string): Accept a nil FILE argument.
21936         (vc-git-stash-list): New function.
21937         (vc-git-dir-extra-headers): Use it.
21939 2009-07-23  Glenn Morris  <rgm@gnu.org>
21941         * help-fns.el (describe-variable): Describe ignored and risky local
21942         variables in a similar way to that in which we describe safe ones.
21944         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
21945         (byte-compile-output-file-form, byte-compile-output-docform)
21946         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
21947         Give some more local variables with common names a "bytecomp-" prefix,
21948         so as not to shadow things during compilation.
21949         * emacs-lisp/cl-macs.el (load-time-value)
21950         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
21951         `outbuffer' to `bytecomp-outbuffer'.
21953         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
21954         since the next two variables cover them automatically now.
21955         (elint-builtin-variables, elint-autoloaded-variables): New.
21956         (elint-unknown-builtin-args): Remove all members, since they can be
21957         parsed automatically now.
21958         (elint-extra-errors): New.
21959         (elint-env-add-env, elint-env-add-macro): Use cadr.
21960         (elint-current-buffer): Use or.  Change final message.
21961         (elint-get-top-forms): Use line-end-position.
21962         (elint-init-env): Use cadr.  Handle autoload, declare-function,
21963         and defalias.
21964         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
21965         (regexp-assoc): Remove unused function.
21966         (elint-top-form): Set elint-current-pos, to record the start of the
21967         top-level form, for compilation-mode.
21968         (elint-form): Trap errors in macro expansion.  Use dolist.
21969         (elint-unbound-variable): Use elint-builtin-variables and
21970         elint-autoloaded-variables.
21971         (elint-get-args): Use cadr, or.
21972         (elint-check-cond-form): Use dolist, cadr.
21973         (elint-check-condition-case-form): Doc fix.  Use cadr.
21974         Use elint-extra-errors.
21975         (elint-log): New function.
21976         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
21977         Distinguish errors and warnings.
21978         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
21979         Use a bytecomp-style format.
21980         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
21981         (elint-get-log-buffer): Use compilation mode.  Disable undo.
21982         Don't truncate lines.
21983         (elint-initialize): Set builtin and autoloaded variable lists.
21984         Only process elint-unknown-builtin-args if non-nil.
21985         (elint-find-builtin-variables, elint-find-autoloaded-variables):
21986         New functions.
21987         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
21989 2009-07-22  Kevin Ryde  <user42@zip.com.au>
21991         * net/newst-backend.el (newsticker--parse-atom-1.0)
21992         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
21993         (newsticker--parse-rss-1.0):
21994         * progmodes/idlwave.el (idlwave-mode):
21995         * progmodes/idlw-shell.el (idlwave-shell-mode):
21996         * progmodes/vera-mode.el (vera-mode):
21997         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
21998         * progmodes/vhdl-mode.el (vhdl-mode):
21999         * textmodes/table.el (table-generate-source)
22000         (table--warn-incompatibility):
22001         Hyperlink urls in docstrings with URL `...'.
22003 2009-07-22  Glenn Morris  <rgm@gnu.org>
22005         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
22006         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
22007         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
22008         Remove leading * from defcustom docs.
22010         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
22012         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
22013         defcustom doc.
22014         (list-load-path-shadows): Optionally, just return shadows as a string.
22016         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
22018 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
22020         * mail/rmailedit.el (rmail-edit-mode):
22021         Use auto-save-include-big-deletions.
22023         * mail/rmail.el (rmail-variables):
22024         Use auto-save-include-big-deletions.
22026         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
22027         changes.
22029 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
22031         * calc/calc.el (calc-undo-length): New variable.
22032         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
22034 2009-07-21  Richard Stallman  <rms@gnu.org>
22036         * files.el (auto-save-mode): Handle buffer-save-size = -2
22037         for toggling mode.
22039 2009-07-21  Glenn Morris  <rgm@gnu.org>
22041         * textmodes/ispell.el (ispell-looking-back): Update declaration.
22043         * calendar/todo-mode.el (calendar-current-date): Update declaration.
22045         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
22046         silence compiler.  Instead...
22047         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
22048         (ps-print-ensure-fontified): Update for above function name changes.
22050         * printing.el (pr-mh-get-msg-num, pr-mh-show)
22051         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
22052         silence compiler.  Instead...
22053         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
22054         (mh-show-buffer): Only define for compiler.
22055         (pr-mh-current-message): Update for above function name changes.
22057         * files.el (abort-if-file-too-large): Explicitly pass `filename'
22058         as an argument.
22059         (find-file-noselect, insert-file-1): Update for above change.
22061         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
22063         * mail/mailclient.el (mailclient-send-it): Fix message.
22065         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
22066         (edebug-eval): Check cl-debug-env is bound.
22067         (print-level, print-circle): Don't redefine built-in variables.
22069         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
22070         (custom-print-vectors): Remove old comments from doc.
22072         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
22073         (emerge-version): Make the variable an obsolete alias for the
22074         emacs-version variable.  Make the function obsolete.
22075         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
22076         Emerge options, rather than merging in into the main Options menu.
22077         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
22078         and auto advance modes.  Disable edit/fast items when not relevant.
22080 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
22082         * term/vt420.el (terminal-init-vt420): Fix typo.
22084 2009-07-20  Sam Steingold  <sds@gnu.org>
22086         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
22087         variable (removed from compile.el on 2004-03-11).
22089 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
22091         * files.el (hack-local-variables-filter): Fix last change.
22093 2009-07-19  Juri Linkov  <juri@jurta.org>
22095         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
22096         (dir-local-variables-alist): New buffer-local variable.
22097         (hack-local-variables-filter): If variable is not dir-local,
22098         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
22099         because file-local overrides dir-local.
22100         (c-postprocess-file-styles) <declare-function>:
22101         Remove obsolete declaration.
22102         (hack-dir-local-variables): Add dir-local variable/value pair to
22103         `dir-local-variables-alist' and remove duplicates.  Doc fix.
22105         * help-fns.el (describe-variable): Add information about
22106         file-local and dir-local variables.
22108 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
22110         * files.el (hack-local-variables-filter): Rewrite.
22112 2009-07-19  Glenn Morris  <rgm@gnu.org>
22114         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
22115         Silence compiler by only defining on XEmacs.
22117         * international/mule.el (auto-coding-regexp-alist): Only match
22118         BABYL... at the start of buffer, not of lines.  (Bug#3790)
22120         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
22121         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
22122         (cal-menu-context-mouse-menu): Doc fix.
22124         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
22126         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
22128 2009-07-18  Juri Linkov  <juri@jurta.org>
22130         * info.el: Virtual Info keyword finder.
22131         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
22132         (Info-finder-file): New variable.
22133         (Info-finder-find-file): New function.
22134         (finder-known-keywords, finder-package-info)
22135         (find-library-name, lm-commentary): Use defvar and
22136         declare-function to silence compiler warnings.
22137         (Info-finder-find-node): New function.
22138         (info-finder): New command.
22140         * subr.el (process-kill-buffer-query-function): New function.
22141         (add-hook)<kill-buffer-query-functions>: Add hook
22142         `process-kill-buffer-query-function'.
22144 2009-07-18  Alan Mackenzie  <acm@muc.de>
22146         * progmodes/cc-mode.el (c-before-hack-hook)
22147         (c-postprocess-file-styles): Give invocation of `c-set-style'
22148         DONT-OVERRIDE parameter of t.  Already set style variables will
22149         thus not be overridden by style settings given by `c-file-syle'.
22151         * files.el (hack-local-variables-filter): Remove entries with
22152         duplicate keys from `file-local-variables-alist'.
22154 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
22156         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
22157         x-set-selection if display-selections-p returns nil for the
22158         current frame.
22160 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
22162         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
22164 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
22166         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
22167         Accept nil in addition to a regexp.
22168         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
22169         Accept nil in addition to a regexp.
22170         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
22171         buffers that have an associated file.  Handle nil values of
22172         desktop-buffers-not-to-save and desktop-files-not-to-save.
22173         (Bug#3833)
22175         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
22176         (x-disown-selection-internal): New functions.
22178 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
22180         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
22181         warning.
22182         (gdb-breakpoints-header): Move forward to avoid compiler warning.
22183         (gdb-make-header-line-mouse-map): Remove duplicate definition.
22185 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
22187         * simple.el (set-mark): Revert last change.
22189 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
22191         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
22192         rendering of pngs is not possible instead of messaging a long
22193         description.
22195 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
22197         * w32-fns.el (x-selection-owner-p): New function.
22199         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
22200         (mouse-yank-at-click, mouse-yank-primary):
22201         If select-active-regions is non-nil, deactivate the mark before
22202         insertion.
22204         * simple.el (deactivate-mark, set-mark): Only save selection if we
22205         own it.
22207 2009-07-17  Kenichi Handa  <handa@m17n.org>
22209         * case-table.el (describe-buffer-case-table): Fix for the case
22210         that KEY is a cons.
22212 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
22214         * vc-rcs.el (vc-rcs-find-file-hook):
22215         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
22217 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
22219         * net/tramp.el (tramp-wait-for-output): Handle the case when
22220         commands do not return a newline but a null byte before the shell
22221         prompt.  (Bug#3858)
22223 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
22225         * term/ns-win.el (ns-set-alpha): Don't declare.
22226         (ns-set-background-alpha): Remove function.
22228 2009-07-16  Kevin Ryde  <user42@zip.com.au>
22230         * emacs-lisp/copyright.el (copyright-update): Save match-data across
22231         y-or-n-p, for safety.
22233 2009-07-16  Richard Stallman  <rms@gnu.org>
22235         * files.el (auto-save-mode): If buffer-saved-size is -2,
22236         don't clobber it.
22238         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
22239         (rmail-retry-ignored-headers): Add more uninteresting fields.
22241 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
22243         * net/rcirc.el (rcirc): Use history variables.
22244         (rcirc-server-name-history, rcirc-nick-name-history)
22245         (rcirc-server-port-history): New variables.
22247 2009-07-15  Kenichi Handa  <handa@m17n.org>
22249         * international/mule-cmds.el (set-language-environment-charset):
22250         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
22251         ignore them.
22253         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
22254         Delete unibyte-display.
22256 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
22258         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
22260 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
22262         * simple.el (deactivate-mark): Optional argument FORCE.
22263         (set-mark): Use deactivate-mark.
22265         * info.el (Info-search): No need to check transient-mark-mode
22266         before calling deactivate-mark.
22268         * select.el (x-set-selection): Doc fix.
22269         (x-valid-simple-selection-p): Allow buffer values.
22270         (xselect--selection-bounds): Handle buffer values.
22271         Suggested by David De La Harpe Golden.
22273         * mouse.el (mouse-set-region, mouse-drag-track):
22274         Call copy-region-as-kill before setting the mark, to let
22275         select-active-regions work.
22277 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
22279         * simple.el (deactivate-mark): If select-active-regions is
22280         non-nil, copy the selection data into a string.
22281         (activate-mark): If select-active-regions is non-nil, set the
22282         selection to the current buffer.
22283         (set-mark): Update selection if select-active-regions is non-nil.
22285         * select.el (x-valid-simple-selection-p): Allow buffer values.
22287 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
22289         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
22290         and more featureful message-mode.
22292 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
22294         * select.el (x-set-selection): Doc fix.
22295         (x-valid-simple-selection-p): Disallow selection data consisting
22296         of a list or cons of integers, since that is not used.
22297         (xselect--selection-bounds, xselect--int-to-cons): New functions.
22298         (xselect-convert-to-string, xselect-convert-to-length)
22299         (xselect-convert-to-filename, xselect-convert-to-charpos)
22300         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
22302 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
22304         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
22305         output in -break-info command (Emacs bug #3794).
22307 2009-07-14  Glenn Morris  <rgm@gnu.org>
22309         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22310         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22311         (edebug-print-length, edebug-print-level, edebug-print-circle)
22312         (edebug-sit-for-seconds, edebug-view-outside)
22313         (edebug-bounce-point, edebug-set-global-break-condition)
22314         (edebug-Go-nonstop-mode, edebug-trace-mode)
22315         (edebug-Trace-fast-mode, edebug-continue-mode)
22316         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22317         (edebug-visit-eval-list): Doc fixes.
22319         * subr.el (def-edebug-spec): Doc fix.
22321 2009-07-14  Kenichi Handa  <handa@m17n.org>
22323         * international/characters.el: Fix setting of category ?C.
22325 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
22327         * term/ns-win.el (x-select-font): defalias x-select-font to
22328         ns-popup-font-panel instead of generate-fontset-menu.
22330 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
22332         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
22334 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
22336         * arc-mode.el (archive-find-type): Allow for a PK00 string before
22337         the PK\003\004 header (Bug#3770).
22339 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
22341         * pcomplete.el (pcomplete-comint-setup): Check for
22342         shell-dynamic-complete-filename too.
22344 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
22346         * simple.el (temporary-goal-column): Change the value for
22347         line-move-visual to a cons cell.
22348         (line-move-visual): Record or set the window hscroll, if
22349         necessary (Bug#3494).
22350         (line-move-1): Handle cons value of temporary-goal-column.
22352 2009-07-11  Kenichi Handa  <handa@m17n.org>
22354         * international/mule-diag.el (describe-character-set): Don't show
22355         width.
22357 2009-07-10  Sam Steingold  <sds@gnu.org>
22359         * progmodes/compile.el (compilation-mode-font-lock-keywords):
22360         Omake sometimes indents the errors it prints, so allow all
22361         regexps to start with spaces.
22363 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
22365         * cus-edit.el (customize-changed-options-previous-release):
22366         Bump value to 22.1.  (Bug#3804)
22368 2009-07-08  Sam Steingold  <sds@gnu.org>
22370         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22371         to be a cons cell (test . ignored-directory) to selectively ignore
22372         some directories depending on the location of the search.
22374 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
22376         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22377         remote user is root, on the local host.
22378         (tramp-local-host-p): Either the local user or the remote user
22379         must be root.  (Bug#3771)
22381 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
22383         * progmodes/gdb-mi.el (gdb): Remove description of
22384         gdb-use-separate-io-buffer.
22385         (menu): Don't allow toggling of or enable
22386         gdb-use-separate-io-buffer from menubar.
22388 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
22390         * mail/unrmail.el (unrmail): Make sure the message ends with two
22391         newlines (Bug#3769).
22393 2009-07-08  Glenn Morris  <rgm@gnu.org>
22395         * calendar/calendar.el (calendar-current-date): Rework previous change.
22397 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
22399         * calendar/calendar.el (calendar-current-date):
22400         Add an optional argument giving an offset from today.
22402 2009-07-08  Glenn Morris  <rgm@gnu.org>
22404         * tutorial.el (tutorial--describe-nonstandard-key):
22405         Adjust the message for when a key has been unbound.
22406         (help-with-tutorial): Hide the arch-tag.
22408 2009-07-08  Kenichi Handa  <handa@m17n.org>
22410         * international/fontset.el (setup-default-fontset): For each
22411         script, append (not set) font-specs.
22413         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22414         docstring.
22416 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
22418         * progmodes/gdb-mi.el (gdb-init-1): Move sending
22419         -data-list-register-names to ...
22420         (gdb-starting): ... here because GDB 7.0 requires execution to
22421         have started when using this MI command.
22422         (gdb-set-header): New function to distinguish select and
22423         unselected tabs in gdb buffers.
22424         (gdb-propertize-header): New macro that uses gdb-set-header.
22425         (gdb-breakpoints-header, gdb-locals-header): Use it.
22426         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22428 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
22430         * Makefile.in (ELCFILES): Remove fadr.elc.
22432 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
22434         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22435         may contain frame information, so `string-match' should be used.
22436         (gdb-update): Disassembly is invalidated through
22437         `gdb-get-selected-frame'.
22438         (gdb-pad-string): New function to pad string with spaces.
22439         (gdb-invalidate-disassembly): Invalidate only if the buffer
22440         exists.
22441         (gdb-disassembly-handler-custom): Column alignment.
22442         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22443         placing new ones.
22444         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22445         end of line, too.
22446         (gdb-frame-handler): Match convention to for disassembly buffer
22447         mode name.
22448         (gdb-stack-list-frames-handler): Rewritten without regexps.
22449         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22450         not highlight breakpoints without line information.
22451         (gdb-input): Add trailing newline to command.
22453         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22454         buffer properly.
22455         (gdb-breakpoints-list-handler-custom): Replacement for
22456         `gdb-break-list-handler'.  Using real parser instead of regexps
22457         now.
22458         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22459         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22460         to place breakpoints.
22461         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22462         functions.
22463         (gdb-disassembly-handler-custom): Show overlay arrow.
22464         (gdb-disassembly-place-breakpoints): Show breakpoints in
22465         disassembly buffer.
22466         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22467         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22468         instead of parsing breakpoints buffer.  Fixed old menu references
22469         in `gud-menu-map'.
22471         * fadr.el: Remove.
22473         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
22474         (gdb-memory-address): New variable which holds top address of
22475         memory page shown in memory buffer.
22476         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
22477         New customization variables.
22478         New functions:
22479         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
22480         display the memory buffer.
22481         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
22482         buffer display parameters.
22483         (def-gdb-memory-format, gdb-memory-format-binary)
22484         (gdb-memory-format-octal, gdb-memory-format-unsigned)
22485         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
22486         Functions for setting memory buffer format.
22487         (gdb-memory-unit-word, gdb-memory-unit-halfword)
22488         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
22489         unit size used in memory buffer.
22490         (gdb-memory-show-next-page, gdb-memory-show-previous-page):
22491         Switch to next/previous page of memory buffer.
22492         Now using (bindat-get-field) instead of fadr functions.
22494 2009-07-07  Sam Steingold  <sds@gnu.org>
22496         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
22497         non-top-level files.
22499 2009-07-07  Kenichi Handa  <handa@m17n.org>
22501         * international/mule-cmds.el (reset-language-environment):
22502         Put the highset priority to the charset iso-8859-1.
22504 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
22506         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
22507         to the end of the line when locating the block (Bug#700).
22509 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
22511         * net/tramp.el (tramp-handle-write-region): Flush file properties
22512         in case of short track.
22514 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
22516         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
22517         Coded custom representation of verilog error regular expressions
22518         to work with Emacs-22's new format.
22519         (verilog-error-regexp-xemacs-alist): Coded custom representation
22520         of verilog error regular expressions to work with XEmacs format.
22521         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
22522         error recognition into XEmacs.
22523         (verilog-error-regexp-add-emacs): Hook routine to install verilog
22524         error recognition into Emacs-22.
22526 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
22528         * woman.el: Remove stand-alone closing parentheses.
22529         (woman-file-name, woman2-format-paragraphs)
22530         (woman-leave-blank-lines): Code cleanup.
22531         (woman-use-own-frame): Change default to nil.
22532         (woman-italic, woman-bold, woman-unknown, woman-addition):
22533         Change defaults to inherit from default faces.
22534         (woman2-process-escapes): Consume the newline after a stand-alone
22535         filler character (Bug#3651).
22537 2009-07-06  Glenn Morris  <rgm@gnu.org>
22539         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
22540         (top-level): Move provide to the end.
22541         (ffap): Remove defunct URL from custom group.
22543         * subr.el (eval-after-load): Doc fix.
22545 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
22547         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
22548         `calc-embedded-word' is called twice.
22550 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
22552         * files.el (find-alternate-file-other-window, find-alternate-file):
22553         Obey confirm-nonexistent-file-or-buffer.
22555 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
22557         * dired-aux.el (dired-show-file-type): Handle remote files.
22559 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
22561         * desktop.el (desktop-globals-to-save):
22562         Add file-name-history (Bug#2750).
22564 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
22566         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
22568 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
22570         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
22571         property on entire argument since this is what eshell-lisp-command
22572         expects.
22574 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
22576         * net/tramp-gvfs.el (tramp-gvfs-methods)
22577         (tramp-gvfs-zeroconf-domain)
22578         (tramp-bluez-discover-devices-timeout): Add version flag.
22579         (tramp-gvfs-handler-mounted-unmounted)
22580         (tramp-gvfs-connection-mounted-p): Polish handling of
22581         incompatibilities between GVFS 0.2 and 1.0.
22583 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
22585         * cus-start.el (all): Add make-pointer-invisible.
22587 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
22589         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22590         formatted correctly.
22592 2009-07-02  Juri Linkov  <juri@jurta.org>
22594         * info.el: Virtual Info files and nodes.
22595         (Info-virtual-files, Info-virtual-nodes): New variables.
22596         (Info-current-node-virtual): New variable.
22597         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22598         New functions.
22599         (Info-file-supports-index-cookies): Use Info-virtual-file-p
22600         to check for a virtual file instead of checking a fixed list
22601         of node names.
22602         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22603         instead of ad-hoc processing of "dir" and (apropos history toc).
22604         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22605         instead of ad-hoc processing of "dir" and (apropos history toc).
22606         Reread a file when moving from a virtual node.
22607         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22608         (Info-directory-toc-nodes, Info-directory-find-file)
22609         (Info-directory-find-node): New functions.
22610         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22611         (Info-history): Move part of code to
22612         `Info-history-find-node'.
22613         (Info-history-toc-nodes, Info-history-find-file)
22614         (Info-history-find-node): New functions.
22615         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22616         (Info-toc): Move part of code to `Info-toc-find-node'.
22617         (Info-toc-find-node): New function.
22618         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
22619         the current Info file name to references because now the node
22620         "*TOC*" belongs to the same Info manual.
22621         (Info-toc-build): Rename from `Info-build-toc'.
22622         (Info-toc-nodes): Rename input argument `file' to `filename'.
22623         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22624         instead of ad-hoc processing of ("dir" apropos history toc).
22625         (Info-index-nodes): Use Info-virtual-file-p
22626         to check for a virtual file instead of checking a fixed list
22627         of node names.
22628         (Info-index-node): Add check for `Info-current-node-virtual'.
22629         Raise `save-match-data' higher up the tree to contain
22630         `search-forward' too (bug fix).
22631         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22632         (Info-virtual-index-nodes): New variable.
22633         (Info-virtual-index-find-node, Info-virtual-index): New functions.
22634         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22635         (Info-apropos-file, Info-apropos-nodes): New variables.
22636         (Info-apropos-toc-nodes, Info-apropos-find-file)
22637         (Info-apropos-find-node, Info-apropos-matches): New functions.
22638         (info-apropos): Move part of code to `Info-apropos-find-node' and
22639         `Info-apropos-matches'.
22640         (Info-mode-map): Bind "I" to `Info-virtual-index'.
22641         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22642         for a virtual file instead of checking a fixed list of node names.
22644         * simple.el (async-shell-command): New command.
22646         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22648         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22649         instead of `mount-info'.
22651 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
22653         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22654         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22656 2009-07-02  Kenichi Handa  <handa@m17n.org>
22658         * international/mule.el (set-keyboard-coding-system): Force *-unix
22659         coding-system to avoid eol conversion.
22661 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
22663         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22664         Add handler for `process-file', `shell-command' and
22665         `start-file-process'.
22666         (tramp-gvfs-handle-shell-command)
22667         (tramp-gvfs-handle-start-file-process)
22668         (tramp-gvfs-handle-process-file): New defuns.
22669         (tramp-synce-list-devices): Simplify check for existence of property.
22671 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
22673         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22675 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
22677         * language/korean.el (set-language-info-alist): Add korean-cp949,
22678         cp949 to spec.
22680 2009-07-01  Kenichi Handa  <handa@m17n.org>
22682         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22684         * international/encoded-kb.el: Deleted.
22686         * international/mule.el (set-keyboard-coding-system): Perform the
22687         necessary setup here instead of calling encoded-kbd-setup-display.
22689 2009-07-01  Glenn Morris  <rgm@gnu.org>
22691         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22693 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
22695         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
22697 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
22699         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22700         Handle also the 'rename case, when setting file modes.  (Bug#3712)
22701         (tramp-default-file-modes): Remove execute permissions.
22703         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22704         (top): Add a default for "synce" in `tramp-default-user-alist'.
22705         Add completion function for "synce" method.
22706         (tramp-hal-service, tramp-hal-path-manager)
22707         (tramp-hal-interface-manager, tramp-hal-interface-device):
22708         New defconst.
22709         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22710         (tramp-synce-list-devices, tramp-synce-parse-device-names):
22711         New defuns.
22713         * net/trampver.el: Update release number.
22715 2009-06-30  Kenichi Handa  <handa@m17n.org>
22717         * international/fontset.el (setup-default-fontset): Add CJK fonts
22718         for symbols and the other miscellaneous characters.
22720         * language/korea-util.el (setup-korean-environment-internal):
22721         Make char-width-table suitable for Korean environments.
22722         (exit-korean-environment): Cancel above.
22724         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22725         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22726         setup-function to make char-width-table suitable for respective
22727         environments, and an exit-function to cancel that.
22729         * language/japan-util.el (setup-japanese-environment-internal):
22730         Call use-cjk-char-width-table with arg `ja_JP'.
22732         * international/characters.el (cjk-char-width-table): Delete it.
22733         (cjk-char-width-table-list): New variable.
22734         (use-cjk-char-width-table): New arg local-name.
22735         (use-default-char-width-table): Fix for the case that Emacs is
22736         already using the default char-width-table.
22738 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
22740         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22741         modes mandatory.  (Bug#3712)
22743 2009-06-29  Alan Mackenzie  <acm@muc.de>
22745         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22746         correction between the visible width of TABs and their number of bytes.
22748 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
22750         * server.el (server-buffer-done): Prevent kill-buffer from
22751         prompting by clearing the buffer modification flag (Bug#3696).
22753 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
22755         * progmodes/verilog-mode.el (verilog-beg-of-statement)
22756         (verilog-endcomment-reason-re): Support unique case and priority case.
22757         (verilog-basic-complete-re): Support localparam lineup.
22758         (verilog-beg-of-statement-1): Fix for robustness, unique case.
22759         (verilog-set-auto-endcomments): Fix for unique case, always_comb
22760         commenting.
22761         (verilog-leap-to-case-head): Now support *nested* unique &
22762         priority case statements.
22763         (verilog-auto-lineup): Make just declarations the default (as it
22764         had been).
22765         (verilog-leap-to-case-head): Support priority/unique case statements.
22766         (verilog-auto-lineup): Rework to give users radio buttons to
22767         select the various styles of automatic lineup.
22768         (verilog-error-regexp-alist): Rework to support the XEmacs style
22769         of error regular expressions from compilers, lint tools &
22770         simulators.  Note that GNU Emacs has made it impossible for a mode
22771         to load such things.
22772         (electric-verilog-terminate-line, verilog-indent-declaration)
22773         (verilog-auto-wiure): Rework for radio button selection of
22774         auto-lineup selection of specification of auto lineup.
22775         (verilog-beg-of-statement-1): Redesign to support proper operation
22776         in additional code, based on testing with auto-lineup.
22777         (verilog-calculate-indent, assignments & declarations)
22778         (verilog-backward-token): Enhance to support auto-lineup of
22779         assignments & declarations.
22780         (verilog-in-directive-p, verilog-at-struct-p): New function for
22781         easy test of whether we are.
22782         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22783         to support safe execution at almost anyline.
22784         (verilog-calc-1): Properly support indenting deep inside generate
22785         blocks.
22786         (verilog-init-font): Remove definition & use of verilog-init-font,
22787         as it is redundant with font-lock-defaults.
22788         (verilog-mode): Alter the definition of verilog-font-lock-defaults
22789         to avoid circular calls if syntax-ppss is a function (as is the
22790         case now in 22.x GNU Emacs) as that function would sometimes call
22791         itself, leading to (nearly) infinite recursion.
22792         (verilog-ovm-begin-re, verilog-ovm-end-re)
22793         (verilog-ovm-statement-re, verilog-leap-to-head)
22794         (verilog-backward-token): Add support for OVM macros.  Some are
22795         complete statements, and others open and close scopes like begin
22796         and end.
22797         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22798         (verilog-defun-level-generate-only-re): Really fix the defun-list
22799         compilation issue.
22800         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22801         coverpoint, constraint and cross statements.
22802         (verilog-defun-level-list, verilog-generate-defun-level-list)
22803         (verilog-all-defun-level-list): Redo these specifications - it is
22804         too hard to support eval-when compile aggregation of lists also
22805         built at when-compile time.
22806         (verilog-defun-level-list): Place defconsts of variables used in
22807         building regular expressions which are built in eval-when-compile
22808         bodies in the same eval-when-compile body to facilitate compile
22809         without load.
22810         (verilog-beg-block-re-ordered): Support indenting
22811         virtual/protected tasks and functions.
22812         (verilog-defun-level-list, verilog-in-generate-region-p)
22813         (verilog-backward-ws&directives, verilog-calc-1): Speed up
22814         indentation of some module items (generate items).
22815         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22816         across virtual/protected tasks and functions.
22818 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
22820         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22821         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
22822         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22823         in concatenations.  Reported by Yishay Belkind.
22824         (verilog-auto-ascii-enum): Support one-hot state machines in
22825         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
22826         (verilog-auto-inst, verilog-auto-inst-port): Include interface
22827         modport in AUTOINST and add vl-modport for users.
22828         Reported by David Rogoff.
22829         (verilog-auto-inout-module, verilog-auto-inst)
22830         (verilog-decls-get-interfaces, verilog-insert-definition)
22831         (verilog-insert-one-definition, verilog-read-decls)
22832         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22833         (verilog-sig-modport, verilog-signals-combine-bus)
22834         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22835         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22836         Suggested by David Rogoff.
22837         (verilog-repair-open-comma): Fix non-insertion of comma when
22838         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
22839         (verilog-make-width-expression): Simplify [A-1:0] expression
22840         widths to just {A{1'b0}}.
22841         (verilog-mode): Cleanup checkdoc warnings.
22842         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22843         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22844         inputs/outputs or data type.  Suggested by Vasu Kandadi.
22845         (next-error-last-buffer): Fix byte-compiler warning.
22846         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22847         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22848         or shell command text during AUTO expansion.  Suggested by Tad Truex.
22849         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22850         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22851         Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
22852         in AUTOINOUT.  Reported by Matthew Lovell.
22853         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22854         causing use of <= assignments.  Reported by Alex Reed.
22855         (verilog-read-decls): Fix triand, trior, wand, wor to be
22856         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
22857         (verilog-extended-complete-re): Support import "DPI-C" functions.
22858         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22859         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
22860         (verilog-insert-date, verilog-insert-year)
22861         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22862         Windows systems.  Reported by Michael Potts.
22863         (verilog-read-module-name): Fix AUTOINST when the child module
22864         declaration's name is a tick define.  Reported by Elliot Mednick.
22865         (verilog-read-decls): Fix V2K parameter bit subscripts getting
22866         passed to next parameter's definition.  Reported by Bruce T.
22867         (verilog-read-decls): Fix detecting "parameter int" when using
22868         AUTOINSTPARAM.  Reported by Bruce T.
22869         (verilog-goto-defun): Fix goto not finding modules unless first
22870         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
22871         (verilog-mode): Expand -f flag arguments on entry to mode so
22872         verilog-goto-defun will work.  Reported by Lawrence Butcher.
22873         (verilog-getopt): Expand environment variables in -f file
22874         arguments.  Suggested by Lawrence Butcher.
22875         (verilog-set-define): Fix "Symbol's value as variable is void"
22876         when reading enumerations.
22877         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22878         Suggested by Stephen Peltan.
22879         (verilog-read-defines): Fix reading of enumerations in include
22880         files.  Reported by Steve Peltan.
22882 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
22884         * files.el (trash-directory): Fix defcustom type.
22886 2009-06-28  Juri Linkov  <juri@jurta.org>
22888         * help-fns.el (describe-function-1): Correctly locate adviced
22889         functions in hyperlink (Bug#2438).
22891 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
22893         * files.el (trash-directory): Change default to nil.
22894         (move-file-to-trash): If trash-directory is nil and
22895         system-move-file-to-trash is unbound, perform freedesktop-style
22896         trashing.
22898 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
22900         * files.el (move-file-to-trash): Add freedesktop trash
22901         support (Bug#973).
22903 2009-06-28  Glenn Morris  <rgm@gnu.org>
22905         * autorevert.el (global-auto-revert-non-file-buffers)
22906         (global-auto-revert-mode): Doc fixes.
22908 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
22910         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
22912 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
22914         * faces.el (x-handle-named-frame-geometry): Ensure that we have
22915         opened an X connection before calling x-get-resource (Bug#3194).
22917         * play/doctor.el: Remove reference to obsolete website.
22918         (make-doctor-variables): Correct grammar mistake (Bug#2633).
22920 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
22922         Remove find-file-not-found-hook VC method.  (Bug#2757)
22923         * vc-hooks.el (vc-file-not-found-hook)
22924         (vc-default-find-file-not-found-hook): Remove functions.
22925         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
22926         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
22927         * vc.el:
22928         * vc-hg.el:
22929         * vc-git.el: Do not mention find-file-not-found-hook VC method.
22931 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
22933         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
22934         compatibility function for `looking-back'.
22936         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
22937         Use `ispell-looking-back'.
22939 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
22941         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
22942         rather than `filename'.
22944 2009-06-23  Miles Bader  <miles@gnu.org>
22946         * face-remap.el (text-scale-set): New function.
22948 2009-06-23  Glenn Morris  <rgm@gnu.org>
22950         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
22952         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
22954         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
22956         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
22958         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
22959         Simplify Persian conditionals.
22961         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
22962         variable `filename'.
22964         * comint.el (comint-insert-input): Doc fix.
22966         * Makefile.in (ELCFILES): Fix typo in previous change.
22968 2009-06-23  Miles Bader  <miles@gnu.org>
22970         * cus-start.el: Add entry for `recenter-redisplay'.
22972 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
22974         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
22975         Add an optional argument for the backend, use it instead of
22976         calling vc-backend.
22977         (vc-mode-line): Add an optional argument for the backend.
22978         Pass the backend to vc-state and vc-working-revision.  Move code for
22979         special handling for vc-state being a buffer to ...
22981         * vc-rcs.el (vc-rcs-find-file-hook):
22982         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
22984         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
22985         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
22986         vc-stay-local-p and vc-mode-line calls.
22988         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
22989         (vc-cvs-diff, vc-cvs-annotate-command)
22990         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
22991         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
22992         vc-mode-line calls.
22994         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
22995         direct comparison.
22996         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
22997         backend when calling vc-mode-line.
22998         (vc-register): Do not create a closure for calling the vc register
22999         function, call it directly.
23001 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
23003         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
23004         to make it obvious item can be clicked.
23006         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
23008 2009-06-23  Kenichi Handa  <handa@m17n.org>
23010         * language/korea-util.el (korean-key-bindings): Change the binding
23011         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
23012         same command.
23014 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
23016         Sync with Tramp 2.1.16.
23018         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
23020         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
23021         when a loading of a package fails.  Completion function for rsync
23022         is `tramp-completion-function-alist-ssh'.
23023         (all): Replace all calls of `split-string' and
23024         `tramp-split-string' by `tramp-compat-split-string'.
23025         (tramp-default-method): Use `tramp-compat-process-running-p'.
23026         (tramp-default-proxies-alist): Allow also Lisp forms.
23027         (tramp-remote-path): Add choice "Private Directories".
23028         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
23029         (tramp-domain-regexp): Allow also "-", "_" and ".".
23030         (tramp-end-of-output): Remove newlines, and add "$" at the end.
23031         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
23032         (tramp-debug-message): Insert header line in debug buffer.
23033         (tramp-handle-directory-files-and-attributes-with-stat):
23034         Care about filenames with spaces, or starting with "-".
23035         (tramp-handle-dired-uncache): New defun.
23036         (tramp-handle-insert-directory): Don't flush the directory from
23037         cache, this is handled by `dired-uncache' now.
23038         (tramp-handle-insert-file-contents): Improve error handling.
23039         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
23040         Quote `tramp-end-of-output'.
23041         (tramp-action-password): Improve trace message.
23042         (tramp-check-for-regexp): Both echoes must be present, before removing.
23043         (tramp-open-connection-setup-interactive-shell): Trace coding system.
23044         (tramp-compute-multi-hops): Eval cons cells of
23045         `tramp-default-proxies-alist'.
23046         (tramp-maybe-open-connection): Use the same command pattern for
23047         first hop and further hops.
23048         (tramp-wait-for-output): Remove handling of newlines.
23049         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
23050         (tramp-split-string): Remove function.  It is handled in
23051         tramp-compat now.
23053         * net/tramp-cmds.el (tramp-bug):
23054         Recommend `tramp-cleanup-all-connections' in the bug mail.
23056         * net/tramp-compat.el (tramp-compat-split-string)
23057         (tramp-compat-process-running-p): New defuns.
23059         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
23060         for `dired-uncache'.
23062         * net/tramp-gvfs.el: New package.
23064         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
23065         Add handler for `dired-uncache'.
23066         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
23068         * net/trampver.el: Update release number.  Make version check fit
23069         for SXEmacs 22.
23071 2009-06-22  Jim Meyering  <meyering@redhat.com>
23073         Automatically handle .xz suffix (XZ-compressed files), too.
23074         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
23075         XZ is the successor to LZMA: <http://tukaani.org/xz/>
23077 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
23078             Nick Roberts  <nickrob@snap.net.nz>
23080         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
23081         repository (http://sphinx.net.ru/hg/gdb-mi/).
23083 2009-06-22  Glenn Morris  <rgm@gnu.org>
23085         * files.el (dir-locals-collect-mode-variables): Allow for any number of
23086         `mode' and `eval' entries.  (Bug#3430)
23088         * Makefile.in (ELCFILES): Add fadr.elc.
23090         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
23091         differing behavior of \n and ^ in strings.  (Bug#3385)
23093         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
23095         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
23096         property.
23097         (lisp-indent-function): Make it a defcustom.
23099 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
23101         * progmodes/gdb-ui.el: Replace with ...
23102         * progmodes/gdb-mi.el: ... this file.
23103         * progmodes/gud.el: Modify for gdb-mi.el.
23105 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
23107         * fadr.el: New file.
23109 See ChangeLog.14 for earlier changes.
23111 ;; Local Variables:
23112 ;; coding: utf-8
23113 ;; End:
23115   Copyright (C) 2009-2011  Free Software Foundation, Inc.
23117   This file is part of GNU Emacs.
23119   GNU Emacs is free software: you can redistribute it and/or modify
23120   it under the terms of the GNU General Public License as published by
23121   the Free Software Foundation, either version 3 of the License, or
23122   (at your option) any later version.
23124   GNU Emacs is distributed in the hope that it will be useful,
23125   but WITHOUT ANY WARRANTY; without even the implied warranty of
23126   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23127   GNU General Public License for more details.
23129   You should have received a copy of the GNU General Public License
23130   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.