unofficial mirror of bug-gnu-emacs@gnu.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

* bug#13729: [patch] Menu for IELM
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Xue Fuqiao @ 2013-02-18  0:07 UTC (permalink / raw)
  To: 13729

There is a little bug, please use the following patch.

*** trunk/lisp/ChangeLog.orig	2013-02-17 22:42:17.309803000 +0800
--- trunk/lisp/ChangeLog	2013-02-18 08:04:51.758106415 +0800
***************
*** 1,3 ****
--- 1,7 ----
+ 2013-02-18  Xue Fuqiao  <xfq.free <at> gmail.com>
+ 
+ 	* ielm.el: (ielm-map): Add a menu for IELM.
+ 
  2013-02-17  Glenn Morris  <rgm@gnu.org>
  
  	* menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.

*** trunk/lisp/ielm.el.orig	2013-02-03 09:46:50.383143000 +0800
--- trunk/lisp/ielm.el	2013-02-18 08:03:29.641699220 +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

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





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

* bug#13729: [patch] Menu for IELM
  2013-02-18  0:07 ` Xue Fuqiao
@ 2013-05-08 17:08   ` Glenn Morris
  2013-05-23 16:03     ` Glenn Morris
  0 siblings, 1 reply; 4+ messages in thread
From: Glenn Morris @ 2013-05-08 17:08 UTC (permalink / raw)
  To: Xue Fuqiao; +Cc: 13729

Xue Fuqiao wrote:

> + (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]))

Thanks. I'm not sure it is worth having a menu with just these items,
but feel free to install it if you want.





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

* bug#13729: [patch] Menu for IELM
  2013-05-08 17:08   ` Glenn Morris
@ 2013-05-23 16:03     ` Glenn Morris
  0 siblings, 0 replies; 4+ messages in thread
From: Glenn Morris @ 2013-05-23 16:03 UTC (permalink / raw)
  To: 13729-done

Version: 24.4

Glenn Morris wrote:

> Thanks. I'm not sure it is worth having a menu with just these items,
> but feel free to install it if you want.

Too late, a very similar menu was added by someone else.

http://lists.gnu.org/archive/html/emacs-devel/2013-05/msg00514.html





^ 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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).