From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: enhancement/wish Date: Tue, 28 Oct 2008 06:12:53 +0200 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1225167204 1138 80.91.229.12 (28 Oct 2008 04:13:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Oct 2008 04:13:24 +0000 (UTC) Cc: david.reitter@gmail.com, emacs-devel@gnu.org To: Bernhard Koenig Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 28 05:14:25 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KufyI-0004nS-Re for ged-emacs-devel@m.gmane.org; Tue, 28 Oct 2008 05:14:23 +0100 Original-Received: from localhost ([127.0.0.1]:35685 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KufxC-0004W6-8h for ged-emacs-devel@m.gmane.org; Tue, 28 Oct 2008 00:13:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kufx8-0004W1-Oa for emacs-devel@gnu.org; Tue, 28 Oct 2008 00:13:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kufx7-0004Vo-Oz for emacs-devel@gnu.org; Tue, 28 Oct 2008 00:13:10 -0400 Original-Received: from [199.232.76.173] (port=54604 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kufx7-0004Vl-MD for emacs-devel@gnu.org; Tue, 28 Oct 2008 00:13:09 -0400 Original-Received: from mtaout6.012.net.il ([84.95.2.16]:25936) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kufx7-0003W8-7I for emacs-devel@gnu.org; Tue, 28 Oct 2008 00:13:09 -0400 Original-Received: from HOME-C4E4A596F7 ([77.127.192.143]) by i-mtaout6.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K9F00GVHL406LE0@i-mtaout6.012.net.il> for emacs-devel@gnu.org; Tue, 28 Oct 2008 06:14:25 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:105058 Archived-At: > Date: Mon, 27 Oct 2008 19:38:29 -0400 > From: "Bernhard Koenig" > Cc: emacs-devel@gnu.org > > > (tool-bar-add-item '("history" . "Recent") (lambda () > > (interactive) > > (popup-menu (easy-menu-filter-return > > (recentf-make-menu-items) > > "Open Recent"))) > > 'recent-files > > :visible '(and (boundp 'recentf-mode) recentf-mode) > > :help "Pop up the Recent Files menu") > > Sorry for being a noob here but how do I integrate this into .emacs? > "tool-bar-add-item" is not an interactive command so just adding it to > .emacs does nothing. ??? .emacs is not only for interactive commands. If adding this to it does nothing, then something is wrong. You did restart Emacs after adding this, did you?