diff options
| author | Karoly Lorentey | 2004-02-20 15:42:55 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2004-02-20 15:42:55 +0000 |
| commit | a225e738abdeb149e9b4bc87d5f9d9a201160aa2 (patch) | |
| tree | cf6652c0926bcf51ba512260bf29db86f354d3f5 /lisp | |
| parent | 3b7fbceb8359279028f466091b22ab11c5484bc3 (diff) | |
| parent | 8bc5e4c131dba618a458f481a5fcbff60f252228 (diff) | |
| download | emacs-a225e738abdeb149e9b4bc87d5f9d9a201160aa2.tar.gz emacs-a225e738abdeb149e9b4bc87d5f9d9a201160aa2.zip | |
Merged in changes from CVS HEAD
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-107
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-88
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 24 | ||||
| -rw-r--r-- | lisp/ediff-util.el | 28 | ||||
| -rw-r--r-- | lisp/eshell/em-pred.el | 4 | ||||
| -rw-r--r-- | lisp/gdb-ui.el | 32 | ||||
| -rw-r--r-- | lisp/help-fns.el | 4 |
5 files changed, 60 insertions, 32 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index bf4e852c494..7a1f7e0ec17 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,27 @@ | |||
| 1 | 2004-02-20 John Wiegley <johnw@newartisans.com> | ||
| 2 | |||
| 3 | * eshell/em-pred.el (eshell-modifier-alist): Changed the "eval | ||
| 4 | again" modifier from 'e' to 'E', since 'e' is also used by the | ||
| 5 | "file extension" modifier. | ||
| 6 | |||
| 7 | 2004-02-19 Luc Teirlinck <teirllm@auburn.edu> | ||
| 8 | |||
| 9 | * help-fns.el (describe-categories): Doc fix. | ||
| 10 | |||
| 11 | 2003-02-19 Michael Kifer <kifer@cs.stonybrook.edu> | ||
| 12 | |||
| 13 | * ediff-util.el (ediff-compute-custom-diffs-maybe): Avoid creating | ||
| 14 | temporary file for buffer already visiting one. This change makes | ||
| 15 | output likely to be directly usable by patch program. | ||
| 16 | Suggested by Adrian Aichner <adrian@xemacs.org> | ||
| 17 | |||
| 18 | 2004-02-20 Nick Roberts <nick@nick.uklinux.net> | ||
| 19 | |||
| 20 | * gdb-ui.el (gdb-use-colon-colon-notation): Set default to nil for | ||
| 21 | case of variables defined in compound statements. | ||
| 22 | (gdb-setup-windows, gdb-source-info, gdb-source-info): Simplify | ||
| 23 | constructions using switch-to-buffer. | ||
| 24 | |||
| 1 | 2004-02-19 Simon Josefsson <jas@extundo.com> | 25 | 2004-02-19 Simon Josefsson <jas@extundo.com> |
| 2 | 26 | ||
| 3 | * play/morse.el: Fix typo. | 27 | * play/morse.el: Fix typo. |
diff --git a/lisp/ediff-util.el b/lisp/ediff-util.el index 9550e65c2e9..79f85cc1896 100644 --- a/lisp/ediff-util.el +++ b/lisp/ediff-util.el | |||
| @@ -3401,29 +3401,33 @@ Without an argument, it saves customized diff argument, if available | |||
| 3401 | (let ((buf-A-file-name (buffer-file-name ediff-buffer-A)) | 3401 | (let ((buf-A-file-name (buffer-file-name ediff-buffer-A)) |
| 3402 | (buf-B-file-name (buffer-file-name ediff-buffer-B)) | 3402 | (buf-B-file-name (buffer-file-name ediff-buffer-B)) |
| 3403 | file-A file-B) | 3403 | file-A file-B) |
| 3404 | (if (stringp buf-A-file-name) | 3404 | (unless (and buf-A-file-name (file-exists-p buf-A-file-name)) |
| 3405 | (setq buf-A-file-name (file-name-nondirectory buf-A-file-name))) | 3405 | (setq file-A |
| 3406 | (if (stringp buf-B-file-name) | 3406 | (ediff-make-temp-file ediff-buffer-A))) |
| 3407 | (setq buf-B-file-name (file-name-nondirectory buf-B-file-name))) | 3407 | (unless (and buf-B-file-name (file-exists-p buf-B-file-name)) |
| 3408 | (setq file-A (ediff-make-temp-file ediff-buffer-A buf-A-file-name) | 3408 | (setq file-B |
| 3409 | file-B (ediff-make-temp-file ediff-buffer-B buf-B-file-name)) | 3409 | (ediff-make-temp-file ediff-buffer-B))) |
| 3410 | |||
| 3411 | (or (ediff-buffer-live-p ediff-custom-diff-buffer) | 3410 | (or (ediff-buffer-live-p ediff-custom-diff-buffer) |
| 3412 | (setq ediff-custom-diff-buffer | 3411 | (setq ediff-custom-diff-buffer |
| 3413 | (get-buffer-create | 3412 | (get-buffer-create |
| 3414 | (ediff-unique-buffer-name "*ediff-custom-diff" "*")))) | 3413 | (ediff-unique-buffer-name "*ediff-custom-diff" "*")))) |
| 3415 | (ediff-with-current-buffer ediff-custom-diff-buffer | 3414 | (ediff-with-current-buffer ediff-custom-diff-buffer |
| 3416 | (setq buffer-read-only nil) | 3415 | (setq buffer-read-only nil) |
| 3417 | (erase-buffer)) | 3416 | (erase-buffer)) |
| 3418 | (ediff-exec-process | 3417 | (ediff-exec-process |
| 3419 | ediff-custom-diff-program ediff-custom-diff-buffer 'synchronize | 3418 | ediff-custom-diff-program ediff-custom-diff-buffer 'synchronize |
| 3420 | ediff-custom-diff-options file-A file-B) | 3419 | ediff-custom-diff-options |
| 3420 | ;; repetition of buf-A-file-name is needed so it'll return a file | ||
| 3421 | (or (and buf-A-file-name (file-exists-p buf-A-file-name) buf-A-file-name) | ||
| 3422 | file-A) | ||
| 3423 | (or (and buf-B-file-name (file-exists-p buf-B-file-name) buf-B-file-name) | ||
| 3424 | file-B)) | ||
| 3421 | ;; put the diff file in diff-mode, if it is available | 3425 | ;; put the diff file in diff-mode, if it is available |
| 3422 | (if (fboundp 'diff-mode) | 3426 | (if (fboundp 'diff-mode) |
| 3423 | (with-current-buffer ediff-custom-diff-buffer | 3427 | (with-current-buffer ediff-custom-diff-buffer |
| 3424 | (diff-mode))) | 3428 | (diff-mode))) |
| 3425 | (delete-file file-A) | 3429 | (and file-A (file-exists-p file-A) (delete-file file-A)) |
| 3426 | (delete-file file-B) | 3430 | (and file-B (file-exists-p file-B) (delete-file file-B)) |
| 3427 | )) | 3431 | )) |
| 3428 | 3432 | ||
| 3429 | (defun ediff-show-diff-output (arg) | 3433 | (defun ediff-show-diff-output (arg) |
diff --git a/lisp/eshell/em-pred.el b/lisp/eshell/em-pred.el index 3be32fde10d..26349b4e94b 100644 --- a/lisp/eshell/em-pred.el +++ b/lisp/eshell/em-pred.el | |||
| @@ -113,7 +113,7 @@ The format of each entry is | |||
| 113 | (put 'eshell-predicate-alist 'risky-local-variable t) | 113 | (put 'eshell-predicate-alist 'risky-local-variable t) |
| 114 | 114 | ||
| 115 | (defcustom eshell-modifier-alist | 115 | (defcustom eshell-modifier-alist |
| 116 | '((?e . '(lambda (lst) | 116 | '((?E . '(lambda (lst) |
| 117 | (mapcar | 117 | (mapcar |
| 118 | (function | 118 | (function |
| 119 | (lambda (str) | 119 | (lambda (str) |
| @@ -207,7 +207,7 @@ EXAMPLES: | |||
| 207 | "Eshell modifier quick reference: | 207 | "Eshell modifier quick reference: |
| 208 | 208 | ||
| 209 | FOR SINGLE ARGUMENTS, or each argument of a list of strings: | 209 | FOR SINGLE ARGUMENTS, or each argument of a list of strings: |
| 210 | e evaluate again | 210 | E evaluate again |
| 211 | L lowercase | 211 | L lowercase |
| 212 | U uppercase | 212 | U uppercase |
| 213 | C capitalize | 213 | C capitalize |
diff --git a/lisp/gdb-ui.el b/lisp/gdb-ui.el index 6e469427e73..60ac57dd10f 100644 --- a/lisp/gdb-ui.el +++ b/lisp/gdb-ui.el | |||
| @@ -179,7 +179,7 @@ The following interactive lisp functions help control operation : | |||
| 179 | ;; | 179 | ;; |
| 180 | (run-hooks 'gdba-mode-hook)) | 180 | (run-hooks 'gdba-mode-hook)) |
| 181 | 181 | ||
| 182 | (defcustom gdb-use-colon-colon-notation t | 182 | (defcustom gdb-use-colon-colon-notation nil |
| 183 | "Non-nil means use FUNCTION::VARIABLE format to display variables in the | 183 | "Non-nil means use FUNCTION::VARIABLE format to display variables in the |
| 184 | speedbar." | 184 | speedbar." |
| 185 | :type 'boolean | 185 | :type 'boolean |
| @@ -1622,13 +1622,13 @@ the source buffer." | |||
| 1622 | (other-window 1) | 1622 | (other-window 1) |
| 1623 | (switch-to-buffer (gdb-locals-buffer-name)) | 1623 | (switch-to-buffer (gdb-locals-buffer-name)) |
| 1624 | (other-window 1) | 1624 | (other-window 1) |
| 1625 | (if (and gdb-view-source | 1625 | (switch-to-buffer |
| 1626 | (eq gdb-selected-view 'source)) | 1626 | (if (and gdb-view-source |
| 1627 | (switch-to-buffer | 1627 | (eq gdb-selected-view 'source)) |
| 1628 | (if gud-last-last-frame | 1628 | (if gud-last-last-frame |
| 1629 | (gud-find-file (car gud-last-last-frame)) | 1629 | (gud-find-file (car gud-last-last-frame)) |
| 1630 | (gud-find-file gdb-main-file))) | 1630 | (gud-find-file gdb-main-file)) |
| 1631 | (switch-to-buffer (gdb-get-create-buffer 'gdb-assembler-buffer))) | 1631 | (gdb-get-create-buffer 'gdb-assembler-buffer))) |
| 1632 | (setq gdb-source-window (get-buffer-window (current-buffer))) | 1632 | (setq gdb-source-window (get-buffer-window (current-buffer))) |
| 1633 | (split-window-horizontally) | 1633 | (split-window-horizontally) |
| 1634 | (other-window 1) | 1634 | (other-window 1) |
| @@ -1668,13 +1668,13 @@ This arrangement depends on the value of `gdb-many-windows'." | |||
| 1668 | (delete-other-windows) | 1668 | (delete-other-windows) |
| 1669 | (split-window) | 1669 | (split-window) |
| 1670 | (other-window 1) | 1670 | (other-window 1) |
| 1671 | (if (and gdb-view-source | 1671 | (switch-to-buffer |
| 1672 | (eq gdb-selected-view 'source)) | 1672 | (if (and gdb-view-source |
| 1673 | (switch-to-buffer | 1673 | (eq gdb-selected-view 'source)) |
| 1674 | (if gud-last-last-frame | 1674 | (if gud-last-last-frame |
| 1675 | (gud-find-file (car gud-last-last-frame)) | 1675 | (gud-find-file (car gud-last-last-frame)) |
| 1676 | (gud-find-file gdb-main-file))) | 1676 | (gud-find-file gdb-main-file)) |
| 1677 | (switch-to-buffer (gdb-get-create-buffer 'gdb-assembler-buffer))) | 1677 | (gdb-get-create-buffer 'gdb-assembler-buffer))) |
| 1678 | (setq gdb-source-window (get-buffer-window (current-buffer))) | 1678 | (setq gdb-source-window (get-buffer-window (current-buffer))) |
| 1679 | (other-window 1))) | 1679 | (other-window 1))) |
| 1680 | 1680 | ||
| @@ -1721,12 +1721,10 @@ buffers." | |||
| 1721 | (delete-other-windows) | 1721 | (delete-other-windows) |
| 1722 | (split-window) | 1722 | (split-window) |
| 1723 | (other-window 1) | 1723 | (other-window 1) |
| 1724 | (if gdb-view-source | 1724 | (switch-to-buffer |
| 1725 | (switch-to-buffer | 1725 | (if gdb-view-source |
| 1726 | (if gud-last-last-frame | 1726 | (gud-find-file gdb-main-file) |
| 1727 | (gud-find-file (car gud-last-last-frame)) | 1727 | (gdb-get-create-buffer 'gdb-assembler-buffer))) |
| 1728 | (gud-find-file gdb-main-file))) | ||
| 1729 | (switch-to-buffer (gdb-get-create-buffer 'gdb-assembler-buffer))) | ||
| 1730 | (setq gdb-source-window (get-buffer-window (current-buffer))) | 1728 | (setq gdb-source-window (get-buffer-window (current-buffer))) |
| 1731 | (other-window 1))) | 1729 | (other-window 1))) |
| 1732 | 1730 | ||
diff --git a/lisp/help-fns.el b/lisp/help-fns.el index 9769d613cbc..4201a3de1a5 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el | |||
| @@ -544,7 +544,9 @@ BUFFER defaults to the current buffer." | |||
| 544 | ;;;###autoload | 544 | ;;;###autoload |
| 545 | (defun describe-categories (&optional buffer) | 545 | (defun describe-categories (&optional buffer) |
| 546 | "Describe the category specifications in the current category table. | 546 | "Describe the category specifications in the current category table. |
| 547 | The descriptions are inserted in a buffer, which is then displayed." | 547 | The descriptions are inserted in a buffer, which is then displayed. |
| 548 | If BUFFER is non-nil, then describe BUFFER's category table instead. | ||
| 549 | BUFFER should be a buffer or a buffer name." | ||
| 548 | (interactive) | 550 | (interactive) |
| 549 | (setq buffer (or buffer (current-buffer))) | 551 | (setq buffer (or buffer (current-buffer))) |
| 550 | (help-setup-xref (list #'describe-categories buffer) (interactive-p)) | 552 | (help-setup-xref (list #'describe-categories buffer) (interactive-p)) |