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 | |
| 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
| -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 | ||||
| -rw-r--r-- | src/ChangeLog | 8 | ||||
| -rw-r--r-- | src/category.c | 22 |
7 files changed, 79 insertions, 43 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)) |
diff --git a/src/ChangeLog b/src/ChangeLog index 58661af0867..a25239d88a3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2004-02-19 Luc Teirlinck <teirllm@auburn.edu> | ||
| 2 | |||
| 3 | * category.c (Fdefine_category, Fcategory_docstring) | ||
| 4 | (Fget_unused_category, Fset_category_table) | ||
| 5 | (Fcategory_set_mnemonics): Doc fixes. | ||
| 6 | |||
| 1 | 2004-02-20 Kim F. Storm <storm@cua.dk> | 7 | 2004-02-20 Kim F. Storm <storm@cua.dk> |
| 2 | 8 | ||
| 3 | * keyboard.c: Undo 2004-02-16 and 2004-02-17 changes. | 9 | * keyboard.c: Undo 2004-02-16 and 2004-02-17 changes. |
| @@ -7,7 +13,7 @@ | |||
| 7 | (read_avail_input): Separate and rework handling of read_socket_hook | 13 | (read_avail_input): Separate and rework handling of read_socket_hook |
| 8 | and non-read_socket_hook cases. Use smaller input_event buffer | 14 | and non-read_socket_hook cases. Use smaller input_event buffer |
| 9 | in read_socket_hook case, and repeat if full buffer is read. Use | 15 | in read_socket_hook case, and repeat if full buffer is read. Use |
| 10 | new local variable 'discard' to skip input after C-g. | 16 | new local variable 'discard' to skip input after C-g. |
| 11 | In non-read_socket_hook case, just use a single input_event, and | 17 | In non-read_socket_hook case, just use a single input_event, and |
| 12 | call kbd_buffer_store_event on the fly for each character. | 18 | call kbd_buffer_store_event on the fly for each character. |
| 13 | 19 | ||
diff --git a/src/category.c b/src/category.c index 223ec20cd73..b7eadd0e771 100644 --- a/src/category.c +++ b/src/category.c | |||
| @@ -87,11 +87,11 @@ those categories. */) | |||
| 87 | Lisp_Object check_category_table (); | 87 | Lisp_Object check_category_table (); |
| 88 | 88 | ||
| 89 | DEFUN ("define-category", Fdefine_category, Sdefine_category, 2, 3, 0, | 89 | DEFUN ("define-category", Fdefine_category, Sdefine_category, 2, 3, 0, |
| 90 | doc: /* Define CHAR as a category which is described by DOCSTRING. | 90 | doc: /* Define CATEGORY as a category which is described by DOCSTRING. |
| 91 | CHAR should be an ASCII printing character in the range ` ' to `~'. | 91 | CATEGORY should be an ASCII printing character in the range ` ' to `~'. |
| 92 | DOCSTRING is a documentation string of the category. | 92 | DOCSTRING is the documentation string of the category. |
| 93 | The category is defined only in category table TABLE, which defaults to | 93 | The category is defined only in category table TABLE, which defaults to |
| 94 | the current buffer's category table. */) | 94 | the current buffer's category table. */) |
| 95 | (category, docstring, table) | 95 | (category, docstring, table) |
| 96 | Lisp_Object category, docstring, table; | 96 | Lisp_Object category, docstring, table; |
| 97 | { | 97 | { |
| @@ -107,7 +107,9 @@ The category is defined only in category table TABLE, which defaults to | |||
| 107 | } | 107 | } |
| 108 | 108 | ||
| 109 | DEFUN ("category-docstring", Fcategory_docstring, Scategory_docstring, 1, 2, 0, | 109 | DEFUN ("category-docstring", Fcategory_docstring, Scategory_docstring, 1, 2, 0, |
| 110 | doc: /* Return the documentation string of CATEGORY, as defined in CATEGORY-TABLE. */) | 110 | doc: /* Return the documentation string of CATEGORY, as defined in TABLE. |
| 111 | TABLE should be a category table and defaults to the current buffer's | ||
| 112 | category table. */) | ||
| 111 | (category, table) | 113 | (category, table) |
| 112 | Lisp_Object category, table; | 114 | Lisp_Object category, table; |
| 113 | { | 115 | { |
| @@ -119,10 +121,9 @@ DEFUN ("category-docstring", Fcategory_docstring, Scategory_docstring, 1, 2, 0, | |||
| 119 | 121 | ||
| 120 | DEFUN ("get-unused-category", Fget_unused_category, Sget_unused_category, | 122 | DEFUN ("get-unused-category", Fget_unused_category, Sget_unused_category, |
| 121 | 0, 1, 0, | 123 | 0, 1, 0, |
| 122 | doc: /* Return a category which is not yet defined in CATEGORY-TABLE. | 124 | doc: /* Return a category which is not yet defined in TABLE. |
| 123 | If no category remains available, return nil. | 125 | If no category remains available, return nil. |
| 124 | The optional argument CATEGORY-TABLE | 126 | The optional argument TABLE specifies which category table to modify; |
| 125 | specifies which category table to modify; | ||
| 126 | it defaults to the current buffer's category table. */) | 127 | it defaults to the current buffer's category table. */) |
| 127 | (table) | 128 | (table) |
| 128 | Lisp_Object table; | 129 | Lisp_Object table; |
| @@ -267,7 +268,8 @@ DEFUN ("make-category-table", Fmake_category_table, Smake_category_table, | |||
| 267 | } | 268 | } |
| 268 | 269 | ||
| 269 | DEFUN ("set-category-table", Fset_category_table, Sset_category_table, 1, 1, 0, | 270 | DEFUN ("set-category-table", Fset_category_table, Sset_category_table, 1, 1, 0, |
| 270 | doc: /* Specify TABLE as the category table for the current buffer. */) | 271 | doc: /* Specify TABLE as the category table for the current buffer. |
| 272 | Return TABLE. */) | ||
| 271 | (table) | 273 | (table) |
| 272 | Lisp_Object table; | 274 | Lisp_Object table; |
| 273 | { | 275 | { |
| @@ -294,7 +296,7 @@ DEFUN ("category-set-mnemonics", Fcategory_set_mnemonics, | |||
| 294 | Scategory_set_mnemonics, 1, 1, 0, | 296 | Scategory_set_mnemonics, 1, 1, 0, |
| 295 | doc: /* Return a string containing mnemonics of the categories in CATEGORY-SET. | 297 | doc: /* Return a string containing mnemonics of the categories in CATEGORY-SET. |
| 296 | CATEGORY-SET is a bool-vector, and the categories \"in\" it are those | 298 | CATEGORY-SET is a bool-vector, and the categories \"in\" it are those |
| 297 | that are indexes where t occurs the bool-vector. | 299 | that are indexes where t occurs in the bool-vector. |
| 298 | The return value is a string containing those same categories. */) | 300 | The return value is a string containing those same categories. */) |
| 299 | (category_set) | 301 | (category_set) |
| 300 | Lisp_Object category_set; | 302 | Lisp_Object category_set; |