diff options
| author | Dave Love | 2000-03-02 10:32:17 +0000 |
|---|---|---|
| committer | Dave Love | 2000-03-02 10:32:17 +0000 |
| commit | 3a4df6e5167ffe855a5add59e2cd8457c158fab0 (patch) | |
| tree | 3b0ea4fb11f9f13e2d1bb5c745103be8435fd575 | |
| parent | d0e2c63e287fcd2473cfe3e5e5b63d8bce4e5541 (diff) | |
| download | emacs-3a4df6e5167ffe855a5add59e2cd8457c158fab0.tar.gz emacs-3a4df6e5167ffe855a5add59e2cd8457c158fab0.zip | |
(list-character-sets): Call
help-setup-xref. Add help-echo to xrefs.
(list-character-sets-1): Add help-echo to xrefs.
| -rw-r--r-- | lisp/international/mule-diag.el | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lisp/international/mule-diag.el b/lisp/international/mule-diag.el index b501bfe2190..b91b06b1bf8 100644 --- a/lisp/international/mule-diag.el +++ b/lisp/international/mule-diag.el | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | ;; Copyright (C) 1995 Electrotechnical Laboratory, JAPAN. | 3 | ;; Copyright (C) 1995 Electrotechnical Laboratory, JAPAN. |
| 4 | ;; Licensed to the Free Software Foundation. | 4 | ;; Licensed to the Free Software Foundation. |
| 5 | 5 | ||
| 6 | ;; Keywords: multilingual, charset, coding system, fontset, diagnosis | 6 | ;; Keywords: multilingual, charset, coding system, fontset, diagnosis, i18n |
| 7 | 7 | ||
| 8 | ;; This file is part of GNU Emacs. | 8 | ;; This file is part of GNU Emacs. |
| 9 | 9 | ||
| @@ -90,14 +90,16 @@ but still shows the full information." | |||
| 90 | (insert (car (car columns))) | 90 | (insert (car (car columns))) |
| 91 | (search-backward (car (car columns))) | 91 | (search-backward (car (car columns))) |
| 92 | (help-xref-button 0 'sort-listed-character-sets | 92 | (help-xref-button 0 'sort-listed-character-sets |
| 93 | (cdr (car columns))) | 93 | (cdr (car columns)) |
| 94 | "mouse-2, C-c: sort on this column") | ||
| 94 | (goto-char (point-max))) | 95 | (goto-char (point-max))) |
| 95 | (setq columns (cdr columns))) | 96 | (setq columns (cdr columns))) |
| 96 | (insert "\n")) | 97 | (insert "\n")) |
| 97 | (insert "------\t------------\t\t\t--------------\t- -- ----------\n") | 98 | (insert "------\t------------\t\t\t--------------\t- -- ----------\n") |
| 98 | 99 | ||
| 99 | ;; Insert body sorted by charset IDs. | 100 | ;; Insert body sorted by charset IDs. |
| 100 | (list-character-sets-1 'id))))) | 101 | (list-character-sets-1 'id) |
| 102 | (help-setup-xref (list #'list-character-sets arg) (interactive-p)))))) | ||
| 101 | 103 | ||
| 102 | 104 | ||
| 103 | ;; Sort character set list by SORT-KEY. | 105 | ;; Sort character set list by SORT-KEY. |
| @@ -175,7 +177,8 @@ but still shows the full information." | |||
| 175 | (indent-to 8) | 177 | (indent-to 8) |
| 176 | (insert (symbol-name (nth 1 elt))) ; CHARSET-NAME | 178 | (insert (symbol-name (nth 1 elt))) ; CHARSET-NAME |
| 177 | (search-backward (symbol-name (nth 1 elt))) | 179 | (search-backward (symbol-name (nth 1 elt))) |
| 178 | (help-xref-button 0 'list-charset-chars (nth 1 elt)) | 180 | (help-xref-button 0 'list-charset-chars (nth 1 elt) |
| 181 | "mouse-2, RET: show table of this character set") | ||
| 179 | (goto-char (point-max)) | 182 | (goto-char (point-max)) |
| 180 | (insert "\t") | 183 | (insert "\t") |
| 181 | (indent-to 40) | 184 | (indent-to 40) |