aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Steingold2001-11-25 05:46:35 +0000
committerSam Steingold2001-11-25 05:46:35 +0000
commitdf5bde6d9a3e77ec250bf1f7c7a0b5a5f77e378f (patch)
tree4f77f9fa07e2895b7e74df1c351d231a89afa58f
parentc85ee897fae7f880ce2be07d4cc2a98eeffb32f8 (diff)
downloademacs-df5bde6d9a3e77ec250bf1f7c7a0b5a5f77e378f.tar.gz
emacs-df5bde6d9a3e77ec250bf1f7c7a0b5a5f77e378f.zip
(menu-bar-apropos-menu): Moved all `apropos' bindings here.
(menu-bar-help-menu): Added `menu-bar-apropos-menu'.
-rw-r--r--lisp/ChangeLog14
-rw-r--r--lisp/menu-bar.el38
2 files changed, 40 insertions, 12 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7502e811211..92b014a92b5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12001-11-25 Sam Steingold <sds@gnu.org>
2
3 * menu-bar.el (menu-bar-apropos-menu): New variable.
4 Moved all `apropos' bindings to this menu.
5 (menu-bar-help-menu): Added `menu-bar-apropos-menu'.
6
12001-11-24 KAWABATA, Taichi <batta@beige.ocn.ne.jp> 72001-11-24 KAWABATA, Taichi <batta@beige.ocn.ne.jp>
2 8
3 The following changes are for new indian languages support based 9 The following changes are for new indian languages support based
@@ -11,10 +17,10 @@
11 17
12 * international/fontset.el: Delete the setting for indian-1-column 18 * international/fontset.el: Delete the setting for indian-1-column
13 and add the setting for indian-glyph in the default fontset. 19 and add the setting for indian-glyph in the default fontset.
14 20
15 * language/indian.el: Completely re-written. 21 * language/indian.el: Completely re-written.
16 22
17 * language/devanagari.el: Completely re-written. 23 * language/devanagari.el: Completely re-written.
18 24
19 * language/devan-util.el: Completely re-written. 25 * language/devan-util.el: Completely re-written.
20 26
@@ -49,7 +55,7 @@
492001-11-23 Colin Walters <walters@debian.org> 552001-11-23 Colin Walters <walters@debian.org>
50 56
51 * Makefile.in (finder_setwins, setwins): Include Calc again. 57 * Makefile.in (finder_setwins, setwins): Include Calc again.
52 58
53 * calc/calc-rules.el: Add header comment. 59 * calc/calc-rules.el: Add header comment.
54 60
552001-11-23 Andre Spiegel <spiegel@gnu.org> 612001-11-23 Andre Spiegel <spiegel@gnu.org>
@@ -65,7 +71,7 @@
65 71
662001-11-22 Colin Walters <walters@debian.org> 722001-11-22 Colin Walters <walters@debian.org>
67 73
68 * calc/calc-misc.el (report-calc-bug): 74 * calc/calc-misc.el (report-calc-bug):
69 Use `reporter-prompt-for-summary-p'. 75 Use `reporter-prompt-for-summary-p'.
70 76
71 * calc/INSTALL, calc/Makefile: Remove. 77 * calc/INSTALL, calc/Makefile: Remove.
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index c0454fdb776..8bafa451126 100644
--- a/lisp/menu-bar.el
+++ b/lisp/menu-bar.el
@@ -809,6 +809,10 @@ Do the same for the keys of the same name."
809 '(menu-item "Show All of Mule Status" mule-diag 809 '(menu-item "Show All of Mule Status" mule-diag
810 :visible default-enable-multibyte-characters 810 :visible default-enable-multibyte-characters
811 :help "Display multilingual environment settings")) 811 :help "Display multilingual environment settings"))
812(define-key menu-bar-describe-menu [describe-coding-system-briefly]
813 '(menu-item "Describe Coding System (Briefly)..."
814 describe-current-coding-system-briefly
815 :visible default-enable-multibyte-characters))
812(define-key menu-bar-describe-menu [describe-coding-system] 816(define-key menu-bar-describe-menu [describe-coding-system]
813 '(menu-item "Describe Coding System..." describe-coding-system 817 '(menu-item "Describe Coding System..." describe-coding-system
814 :visible default-enable-multibyte-characters)) 818 :visible default-enable-multibyte-characters))
@@ -827,9 +831,12 @@ Do the same for the keys of the same name."
827(define-key menu-bar-describe-menu [list-keybindings] 831(define-key menu-bar-describe-menu [list-keybindings]
828 '(menu-item "List Key Bindings" describe-bindings 832 '(menu-item "List Key Bindings" describe-bindings
829 :help "Display a list of all current keybindings")) 833 :help "Display a list of all current keybindings"))
830(define-key menu-bar-describe-menu [list-keybindings] 834(define-key menu-bar-describe-menu [describe-current-display-table]
831 '(menu-item "List Key Bindings" describe-bindings 835 '(menu-item "Describe Display Table" describe-current-display-table
832 :help "Display a list of all current keybindings")) 836 :help "Describe the current display table"))
837(define-key menu-bar-describe-menu [describe-face]
838 '(menu-item "Describe Face..." describe-face
839 :help "Display the properties of a face"))
833(define-key menu-bar-describe-menu [describe-variable] 840(define-key menu-bar-describe-menu [describe-variable]
834 '(menu-item "Describe Variable..." describe-variable 841 '(menu-item "Describe Variable..." describe-variable
835 :help "Display documentation of variable/option")) 842 :help "Display documentation of variable/option"))
@@ -841,15 +848,27 @@ Do the same for the keys of the same name."
841 ;; Users typically don't identify keys and menu items... 848 ;; Users typically don't identify keys and menu items...
842 :help "Display documentation of command bound to a \ 849 :help "Display documentation of command bound to a \
843key (or menu-item)")) 850key (or menu-item)"))
844(define-key menu-bar-describe-menu [apropos-variables] 851(define-key menu-bar-describe-menu [describe-mode]
852 '(menu-item "Describe Buffer Modes" describe-mode
853 :help "Describe this buffer's major and minor mode"))
854
855(defvar menu-bar-apropos-menu (make-sparse-keymap "Apropos"))
856
857(define-key menu-bar-apropos-menu [apropos-documentation]
858 '(menu-item "Apropos Documentation..." apropos-documentation
859 :help "List variables whose doc strings match a regexp"))
860(define-key menu-bar-apropos-menu [apropos]
861 '(menu-item "Apropos Symbol..." apropos
862 :help "List symbols whose names match a regexp"))
863(define-key menu-bar-apropos-menu [apropos-value]
864 '(menu-item "Apropos Value..." apropos-value
865 :help "List variables whose values match a regexp"))
866(define-key menu-bar-apropos-menu [apropos-variables]
845 '(menu-item "Apropos Variables..." apropos-variable 867 '(menu-item "Apropos Variables..." apropos-variable
846 :help "List variables whose names match a regexp")) 868 :help "List variables whose names match a regexp"))
847(define-key menu-bar-describe-menu [apropos-commands] 869(define-key menu-bar-apropos-menu [apropos-commands]
848 '(menu-item "Apropos Commands..." apropos-command 870 '(menu-item "Apropos Commands..." apropos-command
849 :help "List commands whose names match a regexp")) 871 :help "List commands whose names match a regexp"))
850(define-key menu-bar-describe-menu [describe-mode]
851 '(menu-item "Describe Buffer Modes" describe-mode
852 :help "Describe this buffer's major and minor mode"))
853 872
854(defvar menu-bar-manuals-menu (make-sparse-keymap "Manuals")) 873(defvar menu-bar-manuals-menu (make-sparse-keymap "Manuals"))
855 874
@@ -898,6 +917,9 @@ key (or menu-item)"))
898(define-key menu-bar-help-menu [finder-by-keyword] 917(define-key menu-bar-help-menu [finder-by-keyword]
899 '(menu-item "Find Emacs Packages..." finder-by-keyword 918 '(menu-item "Find Emacs Packages..." finder-by-keyword
900 :help "Find packages and features by keyword")) 919 :help "Find packages and features by keyword"))
920(define-key menu-bar-help-menu [apropos]
921 (list 'menu-item "Apropos" menu-bar-apropos-menu
922 :help "Find commands, variables, keys"))
901(define-key menu-bar-help-menu [describe] 923(define-key menu-bar-help-menu [describe]
902 (list 'menu-item "Describe" menu-bar-describe-menu 924 (list 'menu-item "Describe" menu-bar-describe-menu
903 :help "Describe commands, variables, keys")) 925 :help "Describe commands, variables, keys"))