Subject: bug#15599: closed (Re: bug#15599: [PATCH] Inferior Lisp Mode Menu)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 25 Oct 2013 02:37:02 +0000

Your bug report

#15599: [PATCH] Inferior Lisp Mode Menu

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
15599: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15599
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#15599: [PATCH] Inferior Lisp Mode Menu
From: Glenn Morris <[email-masked]>
To: [email-masked]
Date: Thu, 24 Oct 2013 22:36:11 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 24.4

Applied.

Subject: [PATCH] Inferior Lisp Mode Menu
From: John Anthony <[email-masked]>
To: [email-masked]
Date: Sat, 12 Oct 2013 18:08:46 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

I have put together a menu for inferior-lisp mode, which is one of the
two listed in etc/TODO (line 66, I already supplied a patch for
text-mode). Please do let me know if there's anything I could have
done better as I'm planning to make sure all major modes have
appropriate menus.

-- 
John Anthony
diff --git a/lisp/progmodes/inf-lisp.el b/lisp/progmodes/inf-lisp.el
index d73e948..4cda3fe 100644
--- a/lisp/progmodes/inf-lisp.el
+++ b/lisp/progmodes/inf-lisp.el
@@ -91,6 +91,19 @@ mode.  Default is whitespace followed by 0 or 1 single-letter colon-keyword
     (define-key map "\C-c\C-v" 'lisp-show-variable-documentation)
     map))
 
+(easy-menu-define
+  inferior-lisp-menu
+  inferior-lisp-mode-map
+  "Inferior Lisp Menu"
+  `("Inf-Lisp"
+    ["Eval Last Sexp" lisp-eval-last-sexp t]
+    ["Load File" lisp-load-file t]
+    ["Compile File" lisp-compile-file t]
+    ["Show Arglist" lisp-show-arglist t]
+    ["Describe Sym" lisp-describe-sym t]
+    ["Show Fucntion Doc" lisp-show-function-documentation t]
+    ["Show Variable Doc" lisp-show-variable-documentation t]))
+
 ;;; These commands augment Lisp mode, so you can process Lisp code in
 ;;; the source files.
 (define-key lisp-mode-map "\M-\C-x"  'lisp-eval-defun)     ; Gnu convention