]> git.eshelyaron.com Git - emacs.git/commitdiff
(emacs-lisp-mode-map): Add menu entries
authorDan Nicolaescu <dann@ics.uci.edu>
Wed, 2 Apr 2008 06:29:40 +0000 (06:29 +0000)
committerDan Nicolaescu <dann@ics.uci.edu>
Wed, 2 Apr 2008 06:29:40 +0000 (06:29 +0000)
for tracing and re-builder.

lisp/ChangeLog
lisp/emacs-lisp/lisp-mode.el

index 380aa4c111eee9d96edd2aa3e4e8fe1e0ef8795b..41da617afb76e7578ba07ec0111c777639277b66 100644 (file)
@@ -1,3 +1,8 @@
+2008-04-02  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
+       for tracing and re-builder.
+
 2008-04-02  Glenn Morris  <rgm@gnu.org>
 
        * calendar/appt.el (appt-disp-window-function): Doc fix.
index d264de6834fc9bd4d83726bdfdbc431d03758fe4..ad54d1b1774734fb7a89a7f9a5da006dc40dcb26 100644 (file)
 (defvar emacs-lisp-mode-map 
   (let ((map (make-sparse-keymap "Emacs-Lisp"))
        (menu-map (make-sparse-keymap "Emacs-Lisp"))
-       (prof-map (make-sparse-keymap)))
+       (prof-map (make-sparse-keymap))
+       (tracing-map (make-sparse-keymap)))
     (set-keymap-parent map lisp-mode-shared-map)
     (define-key map "\e\t" 'lisp-complete-symbol)
     (define-key map "\e\C-x" 'eval-defun)
     (define-key menu-map [checkdoc]
       '(menu-item "Check Documentation Strings" checkdoc
                  :help "Check documentation strings for style requirements"))
+    (define-key menu-map [re-builder]
+      '(menu-item "Construct Regexp" re-builder
+                 :help "Construct a regexp interactively"))
+    (define-key menu-map [tracing] (cons "Tracing" tracing-map))
+    (define-key tracing-map [tr-a]
+      '(menu-item "Untrace all" untrace-all
+                 :help "Untraces all currently traced functions"))
+    (define-key tracing-map [tr-uf]
+      '(menu-item "Untrace function..." untrace-function
+                 :help "Untraces FUNCTION and possibly activates all remaining advice"))
+    (define-key tracing-map [tr-sep] '("--"))
+    (define-key tracing-map [tr-q]
+      '(menu-item "Trace function quietly..." trace-function
+                 :help "Trace the function with trace output going quietly to a buffer"))
+    (define-key tracing-map [tr-f]
+      '(menu-item "Trace function..." trace-function
+                 :help "Trace the function given as a argument"))
     (define-key menu-map [profiling] (cons "Profiling" prof-map))
     (define-key prof-map [prof-restall]
       '(menu-item "Remove Instrumentation for All Functions" elp-restore-all