From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xue Fuqiao Newsgroups: gmane.emacs.bugs Subject: bug#13729: [patch] Menu for IELM Date: Sat, 16 Feb 2013 13:15:58 +0800 Organization: The Church of Emacs Message-ID: <20130216131558.a51be6ae5dd3447237877413@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1360991840 32056 80.91.229.3 (16 Feb 2013 05:17:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 Feb 2013 05:17:20 +0000 (UTC) To: 13729@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 16 06:17:42 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U6a9d-0008Vp-Hl for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Feb 2013 06:17:41 +0100 Original-Received: from localhost ([::1]:38311 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6a9J-0001cw-Do for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Feb 2013 00:17:21 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:60083) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6a9F-0001cr-Re for bug-gnu-emacs@gnu.org; Sat, 16 Feb 2013 00:17:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U6a9E-0004Ee-BZ for bug-gnu-emacs@gnu.org; Sat, 16 Feb 2013 00:17:17 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52989) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6a9E-0004Ea-8e for bug-gnu-emacs@gnu.org; Sat, 16 Feb 2013 00:17:16 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U6a9y-0002jm-HC for bug-gnu-emacs@gnu.org; Sat, 16 Feb 2013 00:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Xue Fuqiao Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Feb 2013 05:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 13729 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.136099183410455 (code B ref -1); Sat, 16 Feb 2013 05:18:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Feb 2013 05:17:14 +0000 Original-Received: from localhost ([127.0.0.1]:58449 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U6a9B-0002iZ-9f for submit@debbugs.gnu.org; Sat, 16 Feb 2013 00:17:14 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:48655) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U6a99-0002iQ-Bi for submit@debbugs.gnu.org; Sat, 16 Feb 2013 00:17:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U6a8N-00047Y-Sl for submit@debbugs.gnu.org; Sat, 16 Feb 2013 00:16:24 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:47886) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6a8N-00047R-Pt for submit@debbugs.gnu.org; Sat, 16 Feb 2013 00:16:23 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:60013) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6a8M-0001ZH-KD for bug-gnu-emacs@gnu.org; Sat, 16 Feb 2013 00:16:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U6a8L-00046g-3k for bug-gnu-emacs@gnu.org; Sat, 16 Feb 2013 00:16:22 -0500 Original-Received: from mail-pa0-f44.google.com ([209.85.220.44]:38654) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6a8K-00046L-S7 for bug-gnu-emacs@gnu.org; Sat, 16 Feb 2013 00:16:20 -0500 Original-Received: by mail-pa0-f44.google.com with SMTP id kp1so2057419pab.17 for ; Fri, 15 Feb 2013 21:16:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:subject:message-id:organization:x-mailer :mime-version:content-type:content-transfer-encoding; bh=Jn0S4QK/+1RQpu2AHXPx4GFVYvBXMQtCEmiRKDuE3MM=; b=d9wQbZ6tDLZkBKRMDAgp9cHvNTZfDinzrdCf0dPvHSohoSGH/7Aamqm9yBIWlMMOTb luVf2WRqI7rVD71YzOR78BDsmwXqMrsekWBFgO0vSX/qqVNkgXtAER3v8pXFEb/h7wA9 J6GKolZBVP9VP0rbhId2RKp9xh1Y1no0eTRAR9NsYm1BYFgRpChwf7vtLnMG3/8Zk+Rw qG0RkIFWUXtmNUuBltUadqBlvJYiCCvKTRDYJS9gKgJnh3xIfascqjlOIeekTQj7q8HX fY/Metvh3qtpHKClmaZY4N2b+1OYL3Twi9fVjARPwNtkM1YB6uMtgSF1JiAjBNNBpFSm EjHg== X-Received: by 10.66.243.169 with SMTP id wz9mr18499833pac.34.1360991779885; Fri, 15 Feb 2013 21:16:19 -0800 (PST) Original-Received: from Emacs ([124.117.94.252]) by mx.google.com with ESMTPS id zm1sm6892347pbc.26.2013.02.15.21.16.08 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 15 Feb 2013 21:16:19 -0800 (PST) X-Mailer: Sylpheed 3.2.0 (GTK+ 2.24.13; x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:71373 Archived-At: 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 + + * ielm.el: (ielm-map): Add a menu for IELM. + 2013-02-10 Chong Yidong * files.el (basic-save-buffer-1): Do not set -- Best regards, Xue Fuqiao. http://www.emacswiki.org/emacs/XueFuqiao