all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#13729: [patch] Menu for IELM
@ 2013-02-16  5:15 Xue Fuqiao
  2013-02-18  0:07 ` Xue Fuqiao
  0 siblings, 1 reply; 4+ messages in thread
From: Xue Fuqiao @ 2013-02-16  5:15 UTC (permalink / raw)
  To: 13729

I thought that IELM should have a menu, so I made a patch.


*** trunk/lisp/ielm.el	2013-02-03 09:46:50.383143000 +0800
--- ielm-menu/lisp/ielm.el	2013-02-16 12:48:18.453722888 +0800
*************** This variable is buffer-local.")
*** 182,187 ****
--- 182,193 ----
      (define-key map "\C-c\C-v" 'ielm-print-working-buffer)
      map)
    "Keymap for IELM mode.")
+ (easy-menu-define ielm-menu ielm-map
+   "Menu for IELM mode."
+   '("IELM"
+     ["Evaluate S-expression" ielm-send-input]
+     ["Change Working Buffer" ielm-change-working-buffer]
+     ["Display Working Buffer" ielm-display-working-buffer]))
  (defvaralias 'inferior-emacs-lisp-mode-map 'ielm-map)
  
  (defvar ielm-font-lock-keywords


*** trunk/lisp/ChangeLog	2013-02-10 19:50:32.740492000 +0800
--- ielm-menu/lisp/ChangeLog	2013-02-16 13:10:44.388397005 +0800
***************
*** 1,3 ****
--- 1,7 ----
+ 2013-02-16  Xue Fuqiao  <xfq.free@gmail.com>
+ 
+ 	* ielm.el: (ielm-map): Add a menu for IELM.
+ 
  2013-02-10  Chong Yidong  <cyd@gnu.org>
  
  	* files.el (basic-save-buffer-1): Do not set

-- 
Best regards, Xue Fuqiao.
http://www.emacswiki.org/emacs/XueFuqiao





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-05-23 16:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-16  5:15 bug#13729: [patch] Menu for IELM Xue Fuqiao
2013-02-18  0:07 ` Xue Fuqiao
2013-05-08 17:08   ` Glenn Morris
2013-05-23 16:03     ` Glenn Morris

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.