aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPer Abrahamsen2002-02-17 12:15:17 +0000
committerPer Abrahamsen2002-02-17 12:15:17 +0000
commita9c6d330d55b3c79780146346de165bb96ddfaba (patch)
tree71e624a95b4110383a181eb271fb59dcf3bc52d7
parent3eda3649dbcdafbbefa1bd5c8385b3387295b65f (diff)
downloademacs-a9c6d330d55b3c79780146346de165bb96ddfaba.tar.gz
emacs-a9c6d330d55b3c79780146346de165bb96ddfaba.zip
2002-02-17 Per Abrahamsen <abraham@dina.kvl.dk>
* menu-bar.el (menu-bar-showhide-menu): Added speedbar. (menu-bar-tools-menu): Removed speedbar. * textmodes/ispell.el (ispell-menu-map): Added `customize-ispell' and `flyspell-mode' entries. * textmodes/flyspell.el (flyspell): Add to ispell group.
-rw-r--r--etc/NEWS2
-rw-r--r--lisp/ChangeLog10
-rw-r--r--lisp/menu-bar.el11
-rw-r--r--lisp/textmodes/flyspell.el1
-rw-r--r--lisp/textmodes/ispell.el11
5 files changed, 32 insertions, 3 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 76eed7c383e..c4456e5c119 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -87,6 +87,8 @@ scroll bar to either side here or turn it off completely. There is also
87a menu-item to toggle displaying of current date and time, current line 87a menu-item to toggle displaying of current date and time, current line
88and column number in the mode-line. 88and column number in the mode-line.
89 89
90** Speedbar has moved from the "Tools" top level menu to "Show/Hide".
91
90** Emacs can now indicate in the mode-line the presence of new e-mails in 92** Emacs can now indicate in the mode-line the presence of new e-mails in
91directory in addition to file. See the documentation of the user option 93directory in addition to file. See the documentation of the user option
92`display-time-mail-directory'. 94`display-time-mail-directory'.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 862a1c46b49..47307871181 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,13 @@
12002-02-17 Per Abrahamsen <abraham@dina.kvl.dk>
2
3 * menu-bar.el (menu-bar-showhide-menu): Added speedbar.
4 (menu-bar-tools-menu): Removed speedbar.
5
6 * textmodes/ispell.el (ispell-menu-map): Added `customize-ispell'
7 and `flyspell-mode' entries.
8
9 * textmodes/flyspell.el (flyspell): Add to ispell group.
10
12002-02-17 Kai Gro,A_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> 112002-02-17 Kai Gro,A_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
2 12
3 * emacs-lisp/lisp.el (mark-sexp): Don't leave multiple marks when 13 * emacs-lisp/lisp.el (mark-sexp): Don't leave multiple marks when
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index 12656013408..e6814a4e76c 100644
--- a/lisp/menu-bar.el
+++ b/lisp/menu-bar.el
@@ -626,6 +626,15 @@ Do the same for the keys of the same name."
626(define-key menu-bar-showhide-menu [datetime-separator] 626(define-key menu-bar-showhide-menu [datetime-separator]
627 '("--")) 627 '("--"))
628 628
629(define-key menu-bar-showhide-menu [showhide-speedbar]
630 '(menu-item "Speedbar" speedbar-frame-mode
631 :help "Display speedbar"
632 :button (:toggle
633 . (and (boundp 'speedbar-frame)
634 (frame-live-p (symbol-value 'speedbar-frame))
635 (frame-visible-p
636 (symbol-value 'speedbar-frame))))))
637
629(defvar menu-bar-showhide-scroll-bar-menu (make-sparse-keymap "Scroll-bar")) 638(defvar menu-bar-showhide-scroll-bar-menu (make-sparse-keymap "Scroll-bar"))
630 639
631(define-key menu-bar-showhide-scroll-bar-menu [right] 640(define-key menu-bar-showhide-scroll-bar-menu [right]
@@ -874,8 +883,6 @@ Do the same for the keys of the same name."
874 :help "Invoke the Emacs built-in scientific calculator")) 883 :help "Invoke the Emacs built-in scientific calculator"))
875(define-key menu-bar-tools-menu [calendar] 884(define-key menu-bar-tools-menu [calendar]
876 '(menu-item "Display Calendar" calendar)) 885 '(menu-item "Display Calendar" calendar))
877(define-key menu-bar-tools-menu [speedbar]
878 '(menu-item "Display Speedbar" speedbar-frame-mode))
879 886
880(define-key menu-bar-tools-menu [separator-net] 887(define-key menu-bar-tools-menu [separator-net]
881 '("--")) 888 '("--"))
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el
index 292df46976d..44e5f9a92aa 100644
--- a/lisp/textmodes/flyspell.el
+++ b/lisp/textmodes/flyspell.el
@@ -51,6 +51,7 @@
51 "Spell checking on the fly." 51 "Spell checking on the fly."
52 :tag "FlySpell" 52 :tag "FlySpell"
53 :prefix "flyspell-" 53 :prefix "flyspell-"
54 :group 'ispell
54 :group 'processes) 55 :group 'processes)
55 56
56;*---------------------------------------------------------------------*/ 57;*---------------------------------------------------------------------*/
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index 180bedc6481..041a4935111 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -1,6 +1,6 @@
1;;; ispell.el --- interface to International Ispell Versions 3.1 and 3.2 1;;; ispell.el --- interface to International Ispell Versions 3.1 and 3.2
2 2
3;; Copyright (C) 1994, 1995, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. 3;; Copyright (C) 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
4 4
5;; Author: Ken Stevens <k.stevens@ieee.org> 5;; Author: Ken Stevens <k.stevens@ieee.org>
6;; Maintainer: Ken Stevens <k.stevens@ieee.org> 6;; Maintainer: Ken Stevens <k.stevens@ieee.org>
@@ -878,11 +878,20 @@ and added as a submenu of the \"Edit\" menu.")
878 '(menu-item "Save Dictionary" 878 '(menu-item "Save Dictionary"
879 (lambda () (interactive) (ispell-pdict-save t t)) 879 (lambda () (interactive) (ispell-pdict-save t t))
880 :help "Save personal dictionary")) 880 :help "Save personal dictionary"))
881 (define-key ispell-menu-map [ispell-customize]
882 '(menu-item "Customize..."
883 (lambda () (interactive) (customize-group 'ispell))
884 :help "Customize spell checking options"))
881 (define-key ispell-menu-map [ispell-help] 885 (define-key ispell-menu-map [ispell-help]
882 ;; use (x-popup-menu last-nonmenu-event(list "" ispell-help-list)) ? 886 ;; use (x-popup-menu last-nonmenu-event(list "" ispell-help-list)) ?
883 '(menu-item "Help" 887 '(menu-item "Help"
884 (lambda () (interactive) (describe-function 'ispell-help)) 888 (lambda () (interactive) (describe-function 'ispell-help))
885 :help "Show standard Ispell keybindings and commands")) 889 :help "Show standard Ispell keybindings and commands"))
890 (define-key ispell-menu-map [flyspell-mode]
891 '(menu-item "Automatic spell checking (Flyspell)"
892 flyspell-mode
893 :help "Check spelling while you edit the text"
894 :button (:toggle . flyspell-mode)))
886 (define-key ispell-menu-map [ispell-complete-word] 895 (define-key ispell-menu-map [ispell-complete-word]
887 '(menu-item "Complete Word" ispell-complete-word 896 '(menu-item "Complete Word" ispell-complete-word
888 :help "Complete word at cursor using dictionary")) 897 :help "Complete word at cursor using dictionary"))