aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorBob Rogers2010-11-22 12:57:46 -0500
committerStefan Monnier2010-11-22 12:57:46 -0500
commit6a7662bb7d5f9c1905d2177ecf5cf0a0e0f76204 (patch)
tree32d91ccf0aa4d58ba2ced36a00d4b7610afdc99e /lisp
parent440b1345f63d5ce7e3924a20779e259e75c6c776 (diff)
downloademacs-6a7662bb7d5f9c1905d2177ecf5cf0a0e0f76204.tar.gz
emacs-6a7662bb7d5f9c1905d2177ecf5cf0a0e0f76204.zip
* lisp/files.el: Make revert work with diff-buffer-with-file.
(diff-buffer-internal): New function extracted from diff-buffer-with-file (diff-buffer-with-file): Use it. * lisp/vc/diff.el (diff-into-buffer): New fun, extracted from diff. (diff): Use it. Fixes: debbugs:7277
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog316
-rw-r--r--lisp/files.el32
-rw-r--r--lisp/vc/diff.el8
3 files changed, 193 insertions, 163 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 5353efa267a..4b76ea9c593 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,11 @@
12010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2
3 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
4 (diff-buffer-internal): New function extracted from diff-buffer-with-file
5 (diff-buffer-with-file): Use it.
6 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
7 (diff): Use it.
8
12010-11-22 Tassilo Horn <tassilo@member.fsf.org> 92010-11-22 Tassilo Horn <tassilo@member.fsf.org>
2 10
3 * textmodes/reftex-ref.el (reftex-goto-label): Use the current 11 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
@@ -18,8 +26,8 @@
18 26
192010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com> 272010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20 28
21 * progmodes/python.el (python-font-lock-keywords): Highlight 29 * progmodes/python.el (python-font-lock-keywords):
22 top-level augmented assignments (Bug#6445). 30 Highlight top-level augmented assignments (Bug#6445).
23 31
242010-11-21 Jan Djärv <jan.h.d@swipnet.se> 322010-11-21 Jan Djärv <jan.h.d@swipnet.se>
25 33
@@ -922,22 +930,22 @@
922 package-alist, to avoid loading inefficiencies. 930 package-alist, to avoid loading inefficiencies.
923 (package-built-in-p): Make VERSION optional, and treat it as a 931 (package-built-in-p): Make VERSION optional, and treat it as a
924 minimum acceptable version. 932 minimum acceptable version.
925 (package-activate): Search separately for built-in packages. Emit 933 (package-activate): Search separately for built-in packages.
926 a warning if a dependency fails. 934 Emit a warning if a dependency fails.
927 (define-package): Handle most common case, where there is no 935 (define-package): Handle most common case, where there is no
928 obsolete package, first. 936 obsolete package, first.
929 (package-compute-transaction): Print required version in error. 937 (package-compute-transaction): Print required version in error.
930 (package--initialized): New variable. 938 (package--initialized): New variable.
931 (list-packages): Use it. 939 (list-packages): Use it.
932 (package-initialize): Optional arg NO-ACTIVATE. Don't put 940 (package-initialize): Optional arg NO-ACTIVATE. Don't put
933 built-in packages in packages-alist; keep it separate. Set 941 built-in packages in packages-alist; keep it separate.
934 package--initialized. 942 Set package--initialized.
935 (describe-package): Avoid activating packages as a side-effect. 943 (describe-package): Avoid activating packages as a side-effect.
936 Search separately for built-in packages. 944 Search separately for built-in packages.
937 (describe-package-1): Handle the case where an elpa package is 945 (describe-package-1): Handle the case where an elpa package is
938 simultaneously built-in and available/installed. 946 simultaneously built-in and available/installed.
939 (package-installed-p, package--generate-package-list): Search 947 (package-installed-p, package--generate-package-list):
940 separately for built-in packages. 948 Search separately for built-in packages.
941 (package-load-descriptor): Doc fix. 949 (package-load-descriptor): Doc fix.
942 950
9432010-11-03 Stefan Monnier <monnier@iro.umontreal.ca> 9512010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
@@ -1084,8 +1092,8 @@
1084 * startup.el (command-line): Search for package directories, and 1092 * startup.el (command-line): Search for package directories, and
1085 don't load package.el if none are found. 1093 don't load package.el if none are found.
1086 1094
1087 * emacs-lisp/package.el (describe-package, list-packages): Call 1095 * emacs-lisp/package.el (describe-package, list-packages):
1088 package-initialize if it has not been called yet. 1096 Call package-initialize if it has not been called yet.
1089 1097
10902010-10-30 Alan Mackenzie <acm@muc.de> 10982010-10-30 Alan Mackenzie <acm@muc.de>
1091 1099
@@ -1369,8 +1377,8 @@
1369 character pins, bug264. Reported by Michael Laajanen. 1377 character pins, bug264. Reported by Michael Laajanen.
1370 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls) 1378 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
1371 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig) 1379 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
1372 (verilog-subdecls-get-interfaced, verilog-subdecls-new): Support 1380 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
1373 interfaces with AUTOINST, bug270. Reported by Luis Gutierrez. 1381 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
1374 (verilog-pretty-expr): Fix interactive arguments, bug272. 1382 (verilog-pretty-expr): Fix interactive arguments, bug272.
1375 Reported by Mark Johnson. 1383 Reported by Mark Johnson.
1376 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp): 1384 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
@@ -1416,8 +1424,8 @@
1416 (verilog-auto-sense-sigs, verilog-read-always-signals) 1424 (verilog-auto-sense-sigs, verilog-read-always-signals)
1417 (verilog-read-always-signals-recurse): Fix loop indexes being 1425 (verilog-read-always-signals-recurse): Fix loop indexes being
1418 AUTORESET. AUTORESET now assumes any variables in the 1426 AUTORESET. AUTORESET now assumes any variables in the
1419 initialization section of a for() should be ignored. Reported by 1427 initialization section of a for() should be ignored.
1420 Dan Dever. 1428 Reported by Dan Dever.
1421 (verilog-error-font-lock-keywords) 1429 (verilog-error-font-lock-keywords)
1422 (verilog-error-regexp-emacs-alist) 1430 (verilog-error-regexp-emacs-alist)
1423 (verilog-error-regexp-xemacs-alist): Fix error detection of 1431 (verilog-error-regexp-xemacs-alist): Fix error detection of
@@ -1464,12 +1472,12 @@
1464 facemenu-read-color. Require match in completion. Doc fix. 1472 facemenu-read-color. Require match in completion. Doc fix.
1465 1473
1466 * facemenu.el (facemenu-read-color): Alias for read-color. 1474 * facemenu.el (facemenu-read-color): Alias for read-color.
1467 (facemenu-set-foreground, facemenu-set-background): Use 1475 (facemenu-set-foreground, facemenu-set-background):
1468 read-color. 1476 Use read-color.
1469 1477
1470 * frame.el (set-background-color, set-foreground-color) 1478 * frame.el (set-background-color, set-foreground-color)
1471 (set-cursor-color, set-mouse-color, set-border-color): Use 1479 (set-cursor-color, set-mouse-color, set-border-color):
1472 read-color. 1480 Use read-color.
1473 1481
14742010-10-24 Leo <sdl.web@gmail.com> 14822010-10-24 Leo <sdl.web@gmail.com>
1475 1483
@@ -2463,8 +2471,8 @@
2463 2471
2464 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window): 2472 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
2465 Remove options, obsolete since 22.1. 2473 Remove options, obsolete since 22.1.
2466 (appt-display-format, appt-display-message): Remove 2474 (appt-display-format, appt-display-message):
2467 backwards-compatibility code. 2475 Remove backwards-compatibility code.
2468 (appt-check): No longer check appt-issue-message. 2476 (appt-check): No longer check appt-issue-message.
2469 (appt-make-list): No longer autoload it. Doc fix. No longer 2477 (appt-make-list): No longer autoload it. Doc fix. No longer
2470 activate the package. 2478 activate the package.
@@ -3536,8 +3544,8 @@
3536 (tramp-compat-call-process): New defuns, moved from tramp.el. 3544 (tramp-compat-call-process): New defuns, moved from tramp.el.
3537 3545
3538 * net/tramp-fish.el (top) Require just 'tramp. Add objects to 3546 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
3539 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add 3547 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
3540 to `tramp-unload-hook'. Change call of 3548 Add to `tramp-unload-hook'. Change call of
3541 `tramp-compat-decimal-to-octal' to new function name. 3549 `tramp-compat-decimal-to-octal' to new function name.
3542 (tramp-fish-method): Make it a defconst. 3550 (tramp-fish-method): Make it a defconst.
3543 (tramp-fish-file-name-p): Make it a defsubst. 3551 (tramp-fish-file-name-p): Make it a defsubst.
@@ -3572,8 +3580,8 @@
3572 (tramp-gw-open-connection): Set tramp-autoload cookie. 3580 (tramp-gw-open-connection): Set tramp-autoload cookie.
3573 3581
3574 * net/tramp-imap.el (top) Require just 'tramp. Add objects to 3582 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
3575 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add 3583 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
3576 to `tramp-unload-hook'. Change checks, whether package can be 3584 Add to `tramp-unload-hook'. Change checks, whether package can be
3577 loaded. 3585 loaded.
3578 (tramp-imap-file-name-p): Make it a defsubst. 3586 (tramp-imap-file-name-p): Make it a defsubst.
3579 (tramp-imap-method, tramp-imaps-method) 3587 (tramp-imap-method, tramp-imaps-method)
@@ -3581,8 +3589,8 @@
3581 (tramp-imap-file-name-p): Set tramp-autoload cookie. 3589 (tramp-imap-file-name-p): Set tramp-autoload cookie.
3582 3590
3583 * net/tramp-smb.el (top) Require just 'tramp. Add objects to 3591 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
3584 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add 3592 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
3585 to `tramp-unload-hook'. Change checks, whether package can be 3593 Add to `tramp-unload-hook'. Change checks, whether package can be
3586 loaded. Change call of `tramp-compat-decimal-to-octal' to new 3594 loaded. Change call of `tramp-compat-decimal-to-octal' to new
3587 function name. 3595 function name.
3588 (tramp-smb-tunnel-method): Make it a defconst. 3596 (tramp-smb-tunnel-method): Make it a defconst.
@@ -3788,12 +3796,12 @@
3788 * term/x-win.el: Update documentation for x-last-selected-text-*. 3796 * term/x-win.el: Update documentation for x-last-selected-text-*.
3789 (x-last-selected-text-cut, x-last-selected-text-cut-encoded) 3797 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
3790 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove. 3798 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
3791 (x-select-text): Remove argument PUSH, update documentation. Remove 3799 (x-select-text): Remove argument PUSH, update documentation.
3792 cut-buffer code. 3800 Remove cut-buffer code.
3793 (x-selection-value-internal): Was previously x-selection-value. 3801 (x-selection-value-internal): Was previously x-selection-value.
3794 (x-selection-value): Rename from x-cut-buffer-or-selection-value. 3802 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
3795 Update documentation, remove cut-buffer code. Call 3803 Update documentation, remove cut-buffer code.
3796 x-selection-value-internal. 3804 Call x-selection-value-internal.
3797 (x-clipboard-yank): Call x-selection-value-internal. 3805 (x-clipboard-yank): Call x-selection-value-internal.
3798 (x-initialize-window-system): Remove setting of x-cut-buffer-max. 3806 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
3799 3807
@@ -4124,8 +4132,8 @@
4124 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file): 4132 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
4125 Implement backup call, when operation on local files fails. 4133 Implement backup call, when operation on local files fails.
4126 Use progress reporter. Flush properties of changed files. 4134 Use progress reporter. Flush properties of changed files.
4127 (tramp-gvfs-handle-delete-file): Add TRASH arg. Use 4135 (tramp-gvfs-handle-delete-file): Add TRASH arg.
4128 `tramp-compat-delete-file'. 4136 Use `tramp-compat-delete-file'.
4129 (tramp-gvfs-handle-expand-file-name): Expand "~/". 4137 (tramp-gvfs-handle-expand-file-name): Expand "~/".
4130 (tramp-gvfs-handle-make-directory): Make more traces. 4138 (tramp-gvfs-handle-make-directory): Make more traces.
4131 (tramp-gvfs-handle-write-region): Protect deleting tmpfile. 4139 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
@@ -4316,8 +4324,8 @@
4316 instead of whitespace-line-column (from EmacsWiki). New version 4324 instead of whitespace-line-column (from EmacsWiki). New version
4317 13.1. 4325 13.1.
4318 (whitespace-style): Added new value 'face. Adjust docstring. 4326 (whitespace-style): Added new value 'face. Adjust docstring.
4319 (whitespace-space, whitespace-hspace, whitespace-tab): Adjust 4327 (whitespace-space, whitespace-hspace, whitespace-tab):
4320 foreground property face. 4328 Adjust foreground property face.
4321 (whitespace-line-column): Adjust docstring and type declaration. 4329 (whitespace-line-column): Adjust docstring and type declaration.
4322 (whitespace-style-value-list, whitespace-toggle-option-alist) 4330 (whitespace-style-value-list, whitespace-toggle-option-alist)
4323 (whitespace-help-text): Adjust const initialization. 4331 (whitespace-help-text): Adjust const initialization.
@@ -4345,8 +4353,8 @@
4345 (python-shell-prompt-alist) 4353 (python-shell-prompt-alist)
4346 (python-shell-continuation-prompt-alist): New options. 4354 (python-shell-continuation-prompt-alist): New options.
4347 (python--set-prompt-regexp): New function. 4355 (python--set-prompt-regexp): New function.
4348 (inferior-python-mode, run-python, python-shell): Require 4356 (inferior-python-mode, run-python, python-shell):
4349 ansi-color. Use python--set-prompt-regexp to set the comint 4357 Require ansi-color. Use python--set-prompt-regexp to set the comint
4350 prompt based on the Python interpreter. 4358 prompt based on the Python interpreter.
4351 (python--prompt-regexp): New var. 4359 (python--prompt-regexp): New var.
4352 (python-check-comint-prompt) 4360 (python-check-comint-prompt)
@@ -4932,16 +4940,16 @@
4932 4940
49332010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org> 49412010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
4934 4942
4935 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix 4943 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
4936 for the case that a C style comment has its delimiters alone on 4944 Fix for the case that a C style comment has its delimiters alone on
4937 their respective lines. 4945 their respective lines.
4938 4946
49392010-08-06 Michael Albinus <michael.albinus@gmx.de> 49472010-08-06 Michael Albinus <michael.albinus@gmx.de>
4940 4948
4941 * net/tramp.el (tramp-handle-start-file-process): Set connection 4949 * net/tramp.el (tramp-handle-start-file-process): Set connection
4942 property "vec". 4950 property "vec".
4943 (tramp-process-sentinel): Use it for flushing the cache. We 4951 (tramp-process-sentinel): Use it for flushing the cache.
4944 cannot do it via the process buffer, the buffer could be deleted 4952 We cannot do it via the process buffer, the buffer could be deleted
4945 already when running the sentinel. 4953 already when running the sentinel.
4946 4954
49472010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change) 49552010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
@@ -4955,11 +4963,11 @@
4955 4963
49562010-08-05 Eli Zaretskii <eliz@gnu.org> 49642010-08-05 Eli Zaretskii <eliz@gnu.org>
4957 4965
4958 * emacs-lisp/find-gc.el (find-gc-source-files): Rename 4966 * emacs-lisp/find-gc.el (find-gc-source-files):
4959 unexec.c => unexcoff.c. 4967 Rename unexec.c => unexcoff.c.
4960 4968
4961 * emacs-lisp/authors.el (authors-fixed-entries): Rename 4969 * emacs-lisp/authors.el (authors-fixed-entries):
4962 unexec.c => unexcoff.c. 4970 Rename unexec.c => unexcoff.c.
4963 4971
49642010-08-05 Michael Albinus <michael.albinus@gmx.de> 49722010-08-05 Michael Albinus <michael.albinus@gmx.de>
4965 4973
@@ -5283,8 +5291,8 @@
52832010-07-20 Michael Albinus <michael.albinus@gmx.de> 52912010-07-20 Michael Albinus <michael.albinus@gmx.de>
5284 5292
5285 * net/tramp.el (tramp-file-name-handler): Trace 'quit. 5293 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
5286 (tramp-open-connection-setup-interactive-shell): Apply 5294 (tramp-open-connection-setup-interactive-shell):
5287 workaround for IRIX64 bug. Move argument of last 5295 Apply workaround for IRIX64 bug. Move argument of last
5288 `tramp-send-command' where it belongs to. 5296 `tramp-send-command' where it belongs to.
5289 5297
52902010-07-20 Michael Albinus <michael.albinus@gmx.de> 52982010-07-20 Michael Albinus <michael.albinus@gmx.de>
@@ -5311,8 +5319,8 @@
53112010-07-18 Michael R. Mauger <mmaug@yahoo.com> 53192010-07-18 Michael R. Mauger <mmaug@yahoo.com>
5312 5320
5313 * progmodes/sql.el: Version 2.2. 5321 * progmodes/sql.el: Version 2.2.
5314 (sql-product, sql-user, sql-database, sql-server, sql-port): Use 5322 (sql-product, sql-user, sql-database, sql-server, sql-port):
5315 defcustom :safe keyword rather than putting safe-local-variable 5323 Use defcustom :safe keyword rather than putting safe-local-variable
5316 property. 5324 property.
5317 (sql-password): Use defcustom :risky keyword rather than putting 5325 (sql-password): Use defcustom :risky keyword rather than putting
5318 risky-local-variable property. 5326 risky-local-variable property.
@@ -5520,8 +5528,8 @@
5520 5528
55212010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change) 55292010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
5522 5530
5523 * progmodes/compile.el (compilation-error-regexp-alist-alist): Add 5531 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5524 regexps for cucumber and ruby. 5532 Add regexps for cucumber and ruby.
5525 5533
55262010-07-08 Daiki Ueno <ueno@unixuser.org> 55342010-07-08 Daiki Ueno <ueno@unixuser.org>
5527 5535
@@ -5628,8 +5636,8 @@
5628 5636
5629 * faces.el (x-handle-named-frame-geometry) 5637 * faces.el (x-handle-named-frame-geometry)
5630 (x-handle-reverse-video, x-create-frame-with-faces) 5638 (x-handle-reverse-video, x-create-frame-with-faces)
5631 (face-set-after-frame-default, tty-create-frame-with-faces): Don't 5639 (face-set-after-frame-default, tty-create-frame-with-faces):
5632 separately consult default-frame-alist. It is now passed as the 5640 Don't separately consult default-frame-alist. It is now passed as the
5633 PARAMETER argument. 5641 PARAMETER argument.
5634 5642
56352010-06-30 Andreas Schwab <schwab@linux-m68k.org> 56432010-06-30 Andreas Schwab <schwab@linux-m68k.org>
@@ -5654,8 +5662,8 @@
5654 5662
56552010-06-28 Jan Djärv <jan.h.d@swipnet.se> 56632010-06-28 Jan Djärv <jan.h.d@swipnet.se>
5656 5664
5657 * dynamic-setting.el (font-setting-change-default-font): Remove 5665 * dynamic-setting.el (font-setting-change-default-font):
5658 call to message. 5666 Remove call to message.
5659 5667
56602010-06-28 Kenichi Handa <handa@m17n.org> 56682010-06-28 Kenichi Handa <handa@m17n.org>
5661 5669
@@ -5907,8 +5915,8 @@
5907 (package-list-packages-internal): Check package-load-list. 5915 (package-list-packages-internal): Check package-load-list.
5908 (package-load-descriptor, package-generate-autoloads) 5916 (package-load-descriptor, package-generate-autoloads)
5909 (package-unpack, package-unpack-single) 5917 (package-unpack, package-unpack-single)
5910 (package--read-archive-file, package-delete): Use 5918 (package--read-archive-file, package-delete):
5911 expand-file-name. 5919 Use expand-file-name.
5912 5920
5913 * emacs-lisp/package-x.el: New file. Package uploading 5921 * emacs-lisp/package-x.el: New file. Package uploading
5914 functionality split out from package.el. 5922 functionality split out from package.el.
@@ -6027,7 +6035,7 @@
6027 appt-time-msg-list specify the warning time. 6035 appt-time-msg-list specify the warning time.
6028 (appt-add): Add new argument with the warning time. (Bug#5176) 6036 (appt-add): Add new argument with the warning time. (Bug#5176)
6029 6037
60302010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change) 60382010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
6031 6039
6032 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions 6040 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
6033 older than version 1.6. (Bug#6361) 6041 older than version 1.6. (Bug#6361)
@@ -6039,15 +6047,15 @@
6039 6047
60402010-06-16 Agustín Martín <agustin.martin@hispalinux.es> 60482010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
6041 6049
6042 * textmodes/ispell.el (ispell-dictionary-base-alist): Fix 6050 * textmodes/ispell.el (ispell-dictionary-base-alist):
6043 portuguese casechars/not-casechars for missing 'çÇ'. 6051 Fix portuguese casechars/not-casechars for missing 'çÇ'.
6044 Suggested by Rolando Pereira (bug#6434). 6052 Suggested by Rolando Pereira (bug#6434).
6045 6053
60462010-06-15 Juanma Barranquero <lekktu@gmail.com> 60542010-06-15 Juanma Barranquero <lekktu@gmail.com>
6047 6055
6048 * facemenu.el (list-colors-sort): Doc fix. 6056 * facemenu.el (list-colors-sort): Doc fix.
6049 6057
60502010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change) 60582010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
6051 6059
6052 * progmodes/sql.el (sql-connect-mysql): Fix typo. 6060 * progmodes/sql.el (sql-connect-mysql): Fix typo.
6053 6061
@@ -6527,8 +6535,8 @@
6527 6535
65282010-05-28 Michael Albinus <michael.albinus@gmx.de> 65362010-05-28 Michael Albinus <michael.albinus@gmx.de>
6529 6537
6530 * net/tramp-compat.el (tramp-compat-delete-file): Use 6538 * net/tramp-compat.el (tramp-compat-delete-file):
6531 `symbol-value' for backward compatibility. 6539 Use `symbol-value' for backward compatibility.
6532 6540
6533 * net/tramp.el (tramp-handle-make-symbolic-link) 6541 * net/tramp.el (tramp-handle-make-symbolic-link)
6534 (tramp-handle-load) 6542 (tramp-handle-load)
@@ -6546,15 +6554,15 @@
6546 (tramp-fish-handle-process-file): Use `delete-file' instead 6554 (tramp-fish-handle-process-file): Use `delete-file' instead
6547 of `tramp-compat-delete-file'. 6555 of `tramp-compat-delete-file'.
6548 6556
6549 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use 6557 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
6550 `delete-file' instead of `tramp-compat-delete-file'. 6558 Use `delete-file' instead of `tramp-compat-delete-file'.
6551 6559
6552 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg. 6560 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
6553 (tramp-gvfs-handle-write-region): Use `delete-file' instead of 6561 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
6554 `tramp-compat-delete-file'. 6562 `tramp-compat-delete-file'.
6555 6563
6556 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use 6564 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
6557 `delete-file' instead of `tramp-compat-delete-file'. 6565 Use `delete-file' instead of `tramp-compat-delete-file'.
6558 6566
6559 * net/tramp-smb.el (tramp-smb-handle-copy-file) 6567 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6560 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file) 6568 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
@@ -6629,8 +6637,8 @@
6629 6637
66302010-05-27 Chong Yidong <cyd@stupidchicken.com> 66382010-05-27 Chong Yidong <cyd@stupidchicken.com>
6631 6639
6632 * progmodes/verilog-mode.el (verilog-type-font-keywords): Use 6640 * progmodes/verilog-mode.el (verilog-type-font-keywords):
6633 font-lock-constant-face, not obsolete font-lock-reference-face. 6641 Use font-lock-constant-face, not obsolete font-lock-reference-face.
6634 6642
66352010-05-27 Kenichi Handa <handa@m17n.org> 66432010-05-27 Kenichi Handa <handa@m17n.org>
6636 6644
@@ -6714,8 +6722,8 @@
6714 * net/tramp.el (tramp-progress-reporter-update): New defun. 6722 * net/tramp.el (tramp-progress-reporter-update): New defun.
6715 (with-progress-reporter): Use it. 6723 (with-progress-reporter): Use it.
6716 (tramp-process-actions): 6724 (tramp-process-actions):
6717 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve 6725 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
6718 current message, in order to let progress reporter continue 6726 Preserve current message, in order to let progress reporter continue
6719 afterwards. (Bug#6257) 6727 afterwards. (Bug#6257)
6720 6728
67212010-05-25 Glenn Morris <rgm@gnu.org> 67292010-05-25 Glenn Morris <rgm@gnu.org>
@@ -7019,8 +7027,8 @@
7019 * bindings.el (global-map): Bind them to right and left arrow keys. 7027 * bindings.el (global-map): Bind them to right and left arrow keys.
7020 7028
7021 Don't override standard definition of convert-standard-filename. 7029 Don't override standard definition of convert-standard-filename.
7022 * files.el (convert-standard-filename): Call 7030 * files.el (convert-standard-filename):
7023 w32-convert-standard-filename and dos-convert-standard-filename on 7031 Call w32-convert-standard-filename and dos-convert-standard-filename on
7024 the corresponding systems. 7032 the corresponding systems.
7025 7033
7026 * w32-fns.el (w32-convert-standard-filename): Rename from 7034 * w32-fns.el (w32-convert-standard-filename): Rename from
@@ -7520,8 +7528,8 @@
7520 7528
7521 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg. 7529 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
7522 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy) 7530 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
7523 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use 7531 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
7524 `tramp-compat-delete-file'. 7532 Use `tramp-compat-delete-file'.
7525 7533
75262010-05-05 Stefan Monnier <monnier@iro.umontreal.ca> 75342010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7527 7535
@@ -9347,8 +9355,8 @@
9347 9355
93482010-02-21 Chong Yidong <cyd@stupidchicken.com> 93562010-02-21 Chong Yidong <cyd@stupidchicken.com>
9349 9357
9350 * files.el (directory-listing-before-filename-regexp): Use 9358 * files.el (directory-listing-before-filename-regexp):
9351 stricter matching for iso-style dates, to avoid false matches with 9359 Use stricter matching for iso-style dates, to avoid false matches with
9352 date-like filenames (Bug#5597). 9360 date-like filenames (Bug#5597).
9353 9361
9354 * htmlfontify.el (htmlfontify): Doc fix. 9362 * htmlfontify.el (htmlfontify): Doc fix.
@@ -9371,8 +9379,8 @@
9371 9379
93722010-02-19 Chong Yidong <cyd@stupidchicken.com> 93802010-02-19 Chong Yidong <cyd@stupidchicken.com>
9373 9381
9374 * isearch.el (isearch-update-post-hook, isearch-update): Revert 9382 * isearch.el (isearch-update-post-hook, isearch-update):
9375 2010-02-17 change. 9383 Revert 2010-02-17 change.
9376 9384
93772010-02-19 Ulf Jasper <ulf.jasper@web.de> 93852010-02-19 Ulf Jasper <ulf.jasper@web.de>
9378 9386
@@ -9838,8 +9846,8 @@
9838 (vc-git-toggle-signoff): Remove function. 9846 (vc-git-toggle-signoff): Remove function.
9839 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff. 9847 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
9840 9848
9841 * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename 9849 * term/xterm.el (xterm-maybe-set-dark-background-mode):
9842 from xterm-set-background-mode. Return t if the background mode 9850 Rename from xterm-set-background-mode. Return t if the background mode
9843 was set. 9851 was set.
9844 (terminal-init-xterm): Move tty-set-up-initial-frame-faces 9852 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
9845 earlier, call it again in case the background mode has changed. 9853 earlier, call it again in case the background mode has changed.
@@ -10003,8 +10011,8 @@
10003 10011
100042010-01-16 Lennart Borgman <lennart.borgman@gmail.com> 100122010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
10005 10013
10006 * nxml/nxml-mode.el (nxml-extend-after-change-region): Never 10014 * nxml/nxml-mode.el (nxml-extend-after-change-region):
10007 return t (Bug#3898). 10015 Never return t (Bug#3898).
10008 10016
100092010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change) 100172010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
10010 10018
@@ -10121,8 +10129,8 @@
10121 10129
101222010-01-12 Glenn Morris <rgm@gnu.org> 101302010-01-12 Glenn Morris <rgm@gnu.org>
10123 10131
10124 * mail/emacsbug.el (report-emacs-bug-pretest-address): Set 10132 * mail/emacsbug.el (report-emacs-bug-pretest-address):
10125 it to bug-gnu-emacs rather than emacs-pretest-bug. 10133 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
10126 10134
101272010-01-11 Sam Steingold <sds@gnu.org> 101352010-01-11 Sam Steingold <sds@gnu.org>
10128 10136
@@ -10436,8 +10444,8 @@
104362009-12-29 Dan Nicolaescu <dann@ics.uci.edu> 104442009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
10437 10445
10438 Make vc-dir work on subdirectories of the bzr root. 10446 Make vc-dir work on subdirectories of the bzr root.
10439 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument. Return 10447 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
10440 file names relative to it. 10448 Return file names relative to it.
10441 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root 10449 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
10442 relative directory to vc-bzr-after-dir-status. 10450 relative directory to vc-bzr-after-dir-status.
10443 10451
@@ -10897,11 +10905,11 @@
10897 (tramp-methods, tramp-find-shell) 10905 (tramp-methods, tramp-find-shell)
10898 (tramp-open-connection-setup-interactive-shell) 10906 (tramp-open-connection-setup-interactive-shell)
10899 (tramp-maybe-open-connection): Use it. 10907 (tramp-maybe-open-connection): Use it.
10900 (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle 10908 (tramp-shell-prompt-pattern, tramp-wait-for-output):
10901 existence of `#' and `$'. 10909 Handle existence of `#' and `$'.
10902 10910
10903 * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use 10911 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
10904 `tramp-initial-end-of-output'. 10912 Use `tramp-initial-end-of-output'.
10905 10913
109062009-12-07 Dan Nicolaescu <dann@ics.uci.edu> 109142009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
10907 10915
@@ -10959,13 +10967,13 @@
10959 10967
109602009-12-06 Ulf Jasper <ulf.jasper@web.de> 109682009-12-06 Ulf Jasper <ulf.jasper@web.de>
10961 10969
10962 * xml.el (xml-substitute-numeric-entities): Move 10970 * xml.el (xml-substitute-numeric-entities):
10963 newsticker--decode-numeric-entities in newst-backend.el to 10971 Move newsticker--decode-numeric-entities in newst-backend.el to
10964 xml-substitute-numeric-entities in xml.el. (Bug#5008) 10972 xml-substitute-numeric-entities in xml.el. (Bug#5008)
10965 * net/newst-backend.el (newsticker--parse-generic-feed) 10973 * net/newst-backend.el (newsticker--parse-generic-feed)
10966 (newsticker--parse-generic-items) 10974 (newsticker--parse-generic-items)
10967 (newsticker--decode-numeric-entities): Move 10975 (newsticker--decode-numeric-entities):
10968 newsticker--decode-numeric-entities in newst-backend.el to 10976 Move newsticker--decode-numeric-entities in newst-backend.el to
10969 xml-substitute-numeric-entities in xml.el. (Bug#5008) 10977 xml-substitute-numeric-entities in xml.el. (Bug#5008)
10970 10978
109712009-12-06 Daniel Colascione <dan.colascione@gmail.com> 109792009-12-06 Daniel Colascione <dan.colascione@gmail.com>
@@ -11028,8 +11036,8 @@
11028 11036
110292009-12-05 Kevin Ryde <user42@zip.com.au> 110372009-12-05 Kevin Ryde <user42@zip.com.au>
11030 11038
11031 * textmodes/sgml-mode.el (sgml-lexical-context): Recognise 11039 * textmodes/sgml-mode.el (sgml-lexical-context):
11032 comment-start-skip to comment-end-skip as comment (Bug#4781). 11040 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
11033 11041
110342009-12-05 Juri Linkov <juri@jurta.org> 110422009-12-05 Juri Linkov <juri@jurta.org>
11035 11043
@@ -11486,8 +11494,8 @@
11486 (doc-view-scroll-up-or-next-page) 11494 (doc-view-scroll-up-or-next-page)
11487 (doc-view-scroll-down-or-previous-page) 11495 (doc-view-scroll-down-or-previous-page)
11488 (doc-view-next-line-or-next-page) 11496 (doc-view-next-line-or-next-page)
11489 (doc-view-previous-line-or-previous-page): Rename 11497 (doc-view-previous-line-or-previous-page):
11490 `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896) 11498 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
11491 11499
114922009-11-30 Juri Linkov <juri@jurta.org> 115002009-11-30 Juri Linkov <juri@jurta.org>
11493 11501
@@ -11689,8 +11697,8 @@
11689 11697
11690 (verilog-auto-inst, verilog-auto-star-safe) 11698 (verilog-auto-inst, verilog-auto-star-safe)
11691 (verilog-delete-auto-star-implicit, verilog-read-sub-decls): 11699 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
11692 Fix removing "// Interfaces" when saving .* expansions. Reported by 11700 Fix removing "// Interfaces" when saving .* expansions.
11693 Pierre-David Pfister. 11701 Reported by Pierre-David Pfister.
11694 11702
116952009-11-26 Glenn Morris <rgm@gnu.org> 117032009-11-26 Glenn Morris <rgm@gnu.org>
11696 11704
@@ -12868,12 +12876,12 @@
12868 (tramp-compat-delete-directory): New defuns. 12876 (tramp-compat-delete-directory): New defuns.
12869 12877
12870 * net/tramp-fish.el (tramp-fish-handle-delete-directory): 12878 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
12871 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use 12879 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
12872 `tramp-compat-delete-directory'. 12880 Use `tramp-compat-delete-directory'.
12873 12881
12874 * net/tramp-smb.el (tramp-smb-handle-copy-directory) 12882 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
12875 (tramp-smb-handle-delete-directory): Use 12883 (tramp-smb-handle-delete-directory):
12876 `tramp-compat-copy-directory' and `tramp-compat-delete-directory'. 12884 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
12877 12885
12878 * net/trampver.el: Update release number. 12886 * net/trampver.el: Update release number.
12879 12887
@@ -13225,11 +13233,11 @@
13225 13233
132262009-10-31 Chong Yidong <cyd@stupidchicken.com> 132342009-10-31 Chong Yidong <cyd@stupidchicken.com>
13227 13235
13228 * international/mule-diag.el (list-character-sets-1): Minor 13236 * international/mule-diag.el (list-character-sets-1):
13229 message fix (Bug#3526). 13237 Minor message fix (Bug#3526).
13230 13238
13231 * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix 13239 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
13232 face property (Bug#4834). 13240 Fix face property (Bug#4834).
13233 (etags-list-tags, etags-tags-apropos-additional) 13241 (etags-list-tags, etags-tags-apropos-additional)
13234 (etags-tags-apropos, tags-select-tags-table): Add follow-link 13242 (etags-tags-apropos, tags-select-tags-table): Add follow-link
13235 property. 13243 property.
@@ -13726,8 +13734,8 @@
13726 13734
137272009-10-23 Jay Belanger <jay.p.belanger@gmail.com> 137352009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
13728 13736
13729 * calc/calc.el (math-read-number, math-read-number-simple): Use 13737 * calc/calc.el (math-read-number, math-read-number-simple):
13730 `save-match-data'. 13738 Use `save-match-data'.
13731 13739
137322009-10-22 Stefan Monnier <monnier@iro.umontreal.ca> 137402009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
13733 13741
@@ -15042,8 +15050,8 @@
15042 15050
150432009-09-26 Alan Mackenzie <acm@muc.de> 150512009-09-26 Alan Mackenzie <acm@muc.de>
15044 15052
15045 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct 15053 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15046 buggy bracketing. (Bug#4289) 15054 Correct buggy bracketing. (Bug#4289)
15047 15055
15048 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted 15056 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
15049 character constants (as case labels). (Bug#4289) 15057 character constants (as case labels). (Bug#4289)
@@ -15426,8 +15434,8 @@
15426 15434
154272009-09-21 Chong Yidong <cyd@stupidchicken.com> 154352009-09-21 Chong Yidong <cyd@stupidchicken.com>
15428 15436
15429 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use 15437 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
15430 nxml-mode instead of xml-mode. 15438 Use nxml-mode instead of xml-mode.
15431 15439
154322009-09-21 Kevin Ryde <user42@zip.com.au> 154402009-09-21 Kevin Ryde <user42@zip.com.au>
15433 15441
@@ -16248,8 +16256,8 @@
16248 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired" 16256 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
16249 also when adding a new directory. 16257 also when adding a new directory.
16250 16258
16251 * net/tramp-compat.el (tramp-compat-line-beginning-position): New 16259 * net/tramp-compat.el (tramp-compat-line-beginning-position):
16252 defun. 16260 New defun.
16253 16261
162542009-09-04 Stefan Monnier <monnier@iro.umontreal.ca> 162622009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
16255 16263
@@ -17576,8 +17584,8 @@
17576 (gdb-control-current-thread): Interactive setters for 17584 (gdb-control-current-thread): Interactive setters for
17577 `gdb-gud-control-all-threads' to use in menu. 17585 `gdb-gud-control-all-threads' to use in menu.
17578 (gdb-show-run-p): Show «Go» when process is not active. 17586 (gdb-show-run-p): Show «Go» when process is not active.
17579 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses 17587 (gud-tool-bar-map): Add non-stop/A,T indicator.
17580 gud/thread.xpm and gud/all.xpm. 17588 Uses gud/thread.xpm and gud/all.xpm.
17581 17589
175822009-08-08 Yoni Rabkin <yoni@rabkins.net> 175902009-08-08 Yoni Rabkin <yoni@rabkins.net>
17583 17591
@@ -17601,8 +17609,8 @@
17601 (gdb-breakpoints-mode-map): Don't assume threads buffer is present. 17609 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
17602 (gdb-threads-mode-map): Don't assume breakpoints buffer is present. 17610 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
17603 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom) 17611 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
17604 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread 17612 (gdb-locals-handler-custom, gdb-registers-handler-custom):
17605 info in mode name. 17613 Thread info in mode name.
17606 (gdb-registers-mode-map): TAB to switch to locals. 17614 (gdb-registers-mode-map): TAB to switch to locals.
17607 17615
176082009-08-08 Eli Zaretskii <eliz@gnu.org> 176162009-08-08 Eli Zaretskii <eliz@gnu.org>
@@ -17617,14 +17625,14 @@
17617 17625
176182009-08-07 Eli Zaretskii <eliz@gnu.org> 176262009-08-07 Eli Zaretskii <eliz@gnu.org>
17619 17627
17620 * mail/sendmail.el (mail-yank-original): Set 17628 * mail/sendmail.el (mail-yank-original):
17621 buffer-file-coding-system from the one used by the message whose 17629 Set buffer-file-coding-system from the one used by the message whose
17622 text is yanked. 17630 text is yanked.
17623 17631
17624 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device 17632 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
17625 to "windows" when "pgnuplot" is used. 17633 to "windows" when "pgnuplot" is used.
17626 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't 17634 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
17627 call accept-process-output if "pgnuplot" is used. 17635 Don't call accept-process-output if "pgnuplot" is used.
17628 (calc-graph-init): Don't send -display and -geometry to 17636 (calc-graph-init): Don't send -display and -geometry to
17629 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by 17637 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
17630 running "pgnuplot -V" with shell-command-to-string. 17638 running "pgnuplot -V" with shell-command-to-string.
@@ -17764,11 +17772,11 @@
17764 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil. 17772 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
17765 (gdb-current-context-command): Do not append --thread if 17773 (gdb-current-context-command): Do not append --thread if
17766 `gdb-thread-number' is nil. 17774 `gdb-thread-number' is nil.
17767 (gdb-running-threads-count, gdb-stopped-threads-count): New 17775 (gdb-running-threads-count, gdb-stopped-threads-count):
17768 variables. 17776 New variables.
17769 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons) 17777 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
17770 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New 17778 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
17771 customization options. 17779 New customization options.
17772 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for 17780 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
17773 GUD commands. 17781 GUD commands.
17774 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'. 17782 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
@@ -17892,8 +17900,8 @@
17892 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar. 17900 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
17893 (tramp-get-file-property): Use it. 17901 (tramp-get-file-property): Use it.
17894 17902
17895 * autorevert.el (auto-revert-handler): Allow 17903 * autorevert.el (auto-revert-handler):
17896 `auto-revert-tail-mode' for remote files. 17904 Allow `auto-revert-tail-mode' for remote files.
17897 17905
178982009-08-02 Jason Rumney <jasonr@gnu.org> 179062009-08-02 Jason Rumney <jasonr@gnu.org>
17899 17907
@@ -17903,8 +17911,8 @@
179032009-08-02 Chong Yidong <cyd@stupidchicken.com> 179112009-08-02 Chong Yidong <cyd@stupidchicken.com>
17904 17912
17905 * font-lock.el (font-lock-string-face, font-lock-builtin-face) 17913 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
17906 (font-lock-variable-name-face, font-lock-constant-face): Darken 17914 (font-lock-variable-name-face, font-lock-constant-face):
17907 the colors for light backgrounds. 17915 Darken the colors for light backgrounds.
17908 17916
179092009-08-01 Eli Zaretskii <eliz@gnu.org> 179172009-08-01 Eli Zaretskii <eliz@gnu.org>
17910 17918
@@ -18004,8 +18012,8 @@
18004 18012
18005 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString" 18013 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
18006 instead of "IsNSSSupportAvailable". Avahi ought to work also when 18014 instead of "IsNSSSupportAvailable". Avahi ought to work also when
18007 "IsNSSSupportAvailable" method is not available. Reported by 18015 "IsNSSSupportAvailable" method is not available.
18008 Steve Youngs <steve@sxemacs.org>. 18016 Reported by Steve Youngs <steve@sxemacs.org>.
18009 18017
180102009-07-24 Kenichi Handa <handa@m17n.org> 180182009-07-24 Kenichi Handa <handa@m17n.org>
18011 18019
@@ -18130,11 +18138,11 @@
18130 18138
181312009-07-21 Chong Yidong <cyd@stupidchicken.com> 181392009-07-21 Chong Yidong <cyd@stupidchicken.com>
18132 18140
18133 * mail/rmailedit.el (rmail-edit-mode): Use 18141 * mail/rmailedit.el (rmail-edit-mode):
18134 auto-save-include-big-deletions. 18142 Use auto-save-include-big-deletions.
18135 18143
18136 * mail/rmail.el (rmail-variables): Use 18144 * mail/rmail.el (rmail-variables):
18137 auto-save-include-big-deletions. 18145 Use auto-save-include-big-deletions.
18138 18146
18139 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16 18147 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
18140 changes. 18148 changes.
@@ -18310,8 +18318,8 @@
18310 * w32-fns.el (x-selection-owner-p): New function. 18318 * w32-fns.el (x-selection-owner-p): New function.
18311 18319
18312 * mouse.el (mouse-drag-track): Call deactivate-mark earlier. 18320 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
18313 (mouse-yank-at-click, mouse-yank-primary): If 18321 (mouse-yank-at-click, mouse-yank-primary):
18314 select-active-regions is non-nil, deactivate the mark before 18322 If select-active-regions is non-nil, deactivate the mark before
18315 insertion. 18323 insertion.
18316 18324
18317 * simple.el (deactivate-mark, set-mark): Only save selection if we 18325 * simple.el (deactivate-mark, set-mark): Only save selection if we
@@ -18380,11 +18388,11 @@
18380 18388
18381 * select.el (x-set-selection): Doc fix. 18389 * select.el (x-set-selection): Doc fix.
18382 (x-valid-simple-selection-p): Allow buffer values. 18390 (x-valid-simple-selection-p): Allow buffer values.
18383 (xselect--selection-bounds): Handle buffer values. Suggested by 18391 (xselect--selection-bounds): Handle buffer values.
18384 David De La Harpe Golden. 18392 Suggested by David De La Harpe Golden.
18385 18393
18386 * mouse.el (mouse-set-region, mouse-drag-track): Call 18394 * mouse.el (mouse-set-region, mouse-drag-track):
18387 copy-region-as-kill before setting the mark, to let 18395 Call copy-region-as-kill before setting the mark, to let
18388 select-active-regions work. 18396 select-active-regions work.
18389 18397
183902009-07-15 David De La Harpe Golden <david@harpegolden.net> 183982009-07-15 David De La Harpe Golden <david@harpegolden.net>
@@ -18586,8 +18594,8 @@
18586 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el. 18594 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
18587 (gdb-memory-address): New variable which holds top address of 18595 (gdb-memory-address): New variable which holds top address of
18588 memory page shown in memory buffer. 18596 memory page shown in memory buffer.
18589 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New 18597 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
18590 customization variables. 18598 New customization variables.
18591 New functions: 18599 New functions:
18592 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to 18600 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
18593 display the memory buffer. 18601 display the memory buffer.
@@ -18600,8 +18608,8 @@
18600 (gdb-memory-unit-word, gdb-memory-unit-halfword) 18608 (gdb-memory-unit-word, gdb-memory-unit-halfword)
18601 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set 18609 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
18602 unit size used in memory buffer. 18610 unit size used in memory buffer.
18603 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch 18611 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
18604 to next/previous page of memory buffer. 18612 Switch to next/previous page of memory buffer.
18605 Now using (bindat-get-field) instead of fadr functions. 18613 Now using (bindat-get-field) instead of fadr functions.
18606 18614
186072009-07-07 Sam Steingold <sds@gnu.org> 186152009-07-07 Sam Steingold <sds@gnu.org>
@@ -18611,8 +18619,8 @@
18611 18619
186122009-07-07 Kenichi Handa <handa@m17n.org> 186202009-07-07 Kenichi Handa <handa@m17n.org>
18613 18621
18614 * international/mule-cmds.el (reset-language-environment): Put 18622 * international/mule-cmds.el (reset-language-environment):
18615 the highset priority to the charset iso-8859-1. 18623 Put the highset priority to the charset iso-8859-1.
18616 18624
186172009-07-06 Chong Yidong <cyd@stupidchicken.com> 186252009-07-06 Chong Yidong <cyd@stupidchicken.com>
18618 18626
@@ -18642,8 +18650,8 @@
18642 (woman-file-name, woman2-format-paragraphs) 18650 (woman-file-name, woman2-format-paragraphs)
18643 (woman-leave-blank-lines): Code cleanup. 18651 (woman-leave-blank-lines): Code cleanup.
18644 (woman-use-own-frame): Change default to nil. 18652 (woman-use-own-frame): Change default to nil.
18645 (woman-italic, woman-bold, woman-unknown, woman-addition): Change 18653 (woman-italic, woman-bold, woman-unknown, woman-addition):
18646 defaults to inherit from default faces. 18654 Change defaults to inherit from default faces.
18647 (woman2-process-escapes): Consume the newline after a stand-alone 18655 (woman2-process-escapes): Consume the newline after a stand-alone
18648 filler character (Bug#3651). 18656 filler character (Bug#3651).
18649 18657
@@ -18937,8 +18945,8 @@
18937 (verilog-auto-ascii-enum): Support one-hot state machines in 18945 (verilog-auto-ascii-enum): Support one-hot state machines in
18938 AUTOASCIIENUM. Suggested by Lloyd Gomez. 18946 AUTOASCIIENUM. Suggested by Lloyd Gomez.
18939 (verilog-auto-inst, verilog-auto-inst-port): Include interface 18947 (verilog-auto-inst, verilog-auto-inst-port): Include interface
18940 modport in AUTOINST and add vl-modport for users. Reported by 18948 modport in AUTOINST and add vl-modport for users.
18941 David Rogoff. 18949 Reported by David Rogoff.
18942 (verilog-auto-inout-module, verilog-auto-inst) 18950 (verilog-auto-inout-module, verilog-auto-inst)
18943 (verilog-decls-get-interfaces, verilog-insert-definition) 18951 (verilog-decls-get-interfaces, verilog-insert-definition)
18944 (verilog-insert-one-definition, verilog-read-decls) 18952 (verilog-insert-one-definition, verilog-read-decls)
diff --git a/lisp/files.el b/lisp/files.el
index 42a3f87cb11..4513045e5c2 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -4491,24 +4491,42 @@ Before and after saving the buffer, this function runs
4491 "View the differences between BUFFER and its associated file. 4491 "View the differences between BUFFER and its associated file.
4492This requires the external program `diff' to be in your `exec-path'." 4492This requires the external program `diff' to be in your `exec-path'."
4493 (interactive "bBuffer: ") 4493 (interactive "bBuffer: ")
4494 (with-current-buffer (get-buffer (or buffer (current-buffer))) 4494 (diff-buffer-internal (get-buffer (or buffer (current-buffer)))
4495 (get-buffer-create "*Diff*"))
4496 ;; return always nil, so that save-buffers-kill-emacs will not move
4497 ;; over to the next unsaved buffer when calling `d'.
4498 nil)
4499
4500(defvar diff-buffer-buffer) ;; suppress compiler warnings.
4501
4502(defun diff-buffer-internal (buffer result-buffer)
4503 (if (not (and buffer (buffer-name buffer)))
4504 (error "Original buffer deleted."))
4505 (with-current-buffer buffer
4495 (if (and buffer-file-name 4506 (if (and buffer-file-name
4496 (file-exists-p buffer-file-name)) 4507 (file-exists-p buffer-file-name))
4497 (let ((tempfile (make-temp-file "buffer-content-"))) 4508 (let ((tempfile (make-temp-file "buffer-content-")))
4498 (unwind-protect 4509 (unwind-protect
4499 (progn 4510 (progn
4500 (write-region nil nil tempfile nil 'nomessage) 4511 (write-region nil nil tempfile nil 'nomessage)
4501 (diff buffer-file-name tempfile nil t) 4512 ;; No asynch so we don't delete the temp file prematurely.
4502 (sit-for 0)) 4513 (diff-into-buffer result-buffer buffer-file-name tempfile
4514 nil t)
4515 (sit-for 0)
4516 ;; Now revise the revert-buffer-function, since the
4517 ;; default will not be able to find the temp file.
4518 (with-current-buffer result-buffer
4519 (set (make-local-variable 'diff-buffer-buffer) buffer)
4520 (setq revert-buffer-function
4521 (lambda (ignore-auto noconfirm)
4522 (diff-buffer-internal diff-buffer-buffer
4523 (current-buffer))))))
4503 (when (file-exists-p tempfile) 4524 (when (file-exists-p tempfile)
4504 (delete-file tempfile)))) 4525 (delete-file tempfile))))
4505 (message "Buffer %s has no associated file on disc" (buffer-name)) 4526 (message "Buffer %s has no associated file on disc" (buffer-name))
4506 ;; Display that message for 1 second so that user can read it 4527 ;; Display that message for 1 second so that user can read it
4507 ;; in the minibuffer. 4528 ;; in the minibuffer.
4508 (sit-for 1))) 4529 (sit-for 1))))
4509 ;; return always nil, so that save-buffers-kill-emacs will not move
4510 ;; over to the next unsaved buffer when calling `d'.
4511 nil)
4512 4530
4513(defvar save-some-buffers-action-alist 4531(defvar save-some-buffers-action-alist
4514 `((?\C-r 4532 `((?\C-r
diff --git a/lisp/vc/diff.el b/lisp/vc/diff.el
index e79e72c8b0d..1a835b59994 100644
--- a/lisp/vc/diff.el
+++ b/lisp/vc/diff.el
@@ -108,11 +108,16 @@ specified in `diff-switches' are passed to the diff command."
108 (read-file-name "Diff original file: " 108 (read-file-name "Diff original file: "
109 (file-name-directory newf) nil t))) 109 (file-name-directory newf) nil t)))
110 (list oldf newf (diff-switches)))) 110 (list oldf newf (diff-switches))))
111 (diff-into-buffer nil old new switches no-async))
112
113(defun diff-into-buffer (buf old new &optional switches no-async)
114 ;; Noninteractive helper for creating and reverting diff buffers.
111 (setq new (expand-file-name new) 115 (setq new (expand-file-name new)
112 old (expand-file-name old)) 116 old (expand-file-name old))
113 (or switches (setq switches diff-switches)) ; If not specified, use default. 117 (or switches (setq switches diff-switches)) ; If not specified, use default.
118 (or buf (setq buf (get-buffer-create "*Diff*")))
114 (let* ((old-alt (file-local-copy old)) 119 (let* ((old-alt (file-local-copy old))
115 (new-alt (file-local-copy new)) 120 (new-alt (file-local-copy new))
116 (command 121 (command
117 (mapconcat 'identity 122 (mapconcat 'identity
118 `(,diff-command 123 `(,diff-command
@@ -123,7 +128,6 @@ specified in `diff-switches' are passed to the diff command."
123 ,(shell-quote-argument (or old-alt old)) 128 ,(shell-quote-argument (or old-alt old))
124 ,(shell-quote-argument (or new-alt new))) 129 ,(shell-quote-argument (or new-alt new)))
125 " ")) 130 " "))
126 (buf (get-buffer-create "*Diff*"))
127 (thisdir default-directory) 131 (thisdir default-directory)
128 proc) 132 proc)
129 (save-excursion 133 (save-excursion