From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?R=FCdiger?= Sonderfeld Newsgroups: gmane.emacs.devel Subject: [PATCH 1/2] Add menu for ielm. Date: Thu, 23 May 2013 13:42:45 +0200 Message-ID: <1804970.gPhPtnaXoD@descartes> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1369309387 7294 80.91.229.3 (23 May 2013 11:43:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 May 2013 11:43:07 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 23 13:43:06 2013 Return-path: Envelope-to: ged-emacs-devel@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 1UfTvF-0006hG-L1 for ged-emacs-devel@m.gmane.org; Thu, 23 May 2013 13:43:05 +0200 Original-Received: from localhost ([::1]:38388 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfTvF-0003NF-8D for ged-emacs-devel@m.gmane.org; Thu, 23 May 2013 07:43:05 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43228) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfTv6-0003Lh-KX for emacs-devel@gnu.org; Thu, 23 May 2013 07:43:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UfTv0-0005Bc-CM for emacs-devel@gnu.org; Thu, 23 May 2013 07:42:56 -0400 Original-Received: from ptmx.org ([178.63.28.110]:36349) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfTv0-0005BQ-6M for emacs-devel@gnu.org; Thu, 23 May 2013 07:42:50 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by ptmx.org (Postfix) with ESMTP id 294CA2A3AB; Thu, 23 May 2013 13:42:48 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at ptmx.org Original-Received: from ptmx.org ([127.0.0.1]) by localhost (ptmx.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0JcQeXsDc6ud; Thu, 23 May 2013 13:42:46 +0200 (CEST) Original-Received: from descartes.localnet (chello080108246092.7.14.vie.surfer.at [80.108.246.92]) by ptmx.org (Postfix) with ESMTPSA id 871752A37C; Thu, 23 May 2013 13:42:46 +0200 (CEST) User-Agent: KMail/4.10.2 (Linux/3.8.0-19-generic; KDE/4.10.2; x86_64; ; ) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 178.63.28.110 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:159740 Archived-At: * lisp/ielm.el (ielm-menu): Add menu for ielm. Signed-off-by: R=C3=BCdiger Sonderfeld --- lisp/ielm.el | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lisp/ielm.el b/lisp/ielm.el index d908008..e63c11d 100644 --- a/lisp/ielm.el +++ b/lisp/ielm.el @@ -184,6 +184,14 @@ This variable is buffer-local.") "Keymap for IELM mode.") (defvaralias 'inferior-emacs-lisp-mode-map 'ielm-map) =20 +(require 'easymenu) +(easy-menu-define ielm-menu ielm-map + "IELM mode menu." + '("IELM" + ["Change Working Buffer" ielm-change-working-buffer t] + ["Display Working Buffer" ielm-display-working-buffer t] + ["Print Working Buffer" ielm-print-working-buffer t])) + (defvar ielm-font-lock-keywords '(("\\(^\\*\\*\\*[^*]+\\*\\*\\*\\)\\(.*$\\)" (1 font-lock-comment-face) --=20 1.8.2.3