From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Bernhard Koenig" Newsgroups: gmane.emacs.devel Subject: Re: enhancement/wish Date: Tue, 28 Oct 2008 01:11:53 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1225170737 8179 80.91.229.12 (28 Oct 2008 05:12:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Oct 2008 05:12:17 +0000 (UTC) Cc: david.reitter@gmail.com, emacs-devel@gnu.org To: "Eli Zaretskii" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 28 06:13:18 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 1KugtJ-0007pC-GS for ged-emacs-devel@m.gmane.org; Tue, 28 Oct 2008 06:13:17 +0100 Original-Received: from localhost ([127.0.0.1]:55946 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KugsD-0007eI-7V for ged-emacs-devel@m.gmane.org; Tue, 28 Oct 2008 01:12:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kugs3-0007aP-Up for emacs-devel@gnu.org; Tue, 28 Oct 2008 01:12:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kugrz-0007Vy-P8 for emacs-devel@gnu.org; Tue, 28 Oct 2008 01:11:59 -0400 Original-Received: from [199.232.76.173] (port=60008 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kugrz-0007VX-Ew for emacs-devel@gnu.org; Tue, 28 Oct 2008 01:11:55 -0400 Original-Received: from ug-out-1314.google.com ([66.249.92.175]:25390) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kugry-0001g7-9u; Tue, 28 Oct 2008 01:11:54 -0400 Original-Received: by ug-out-1314.google.com with SMTP id 36so185450uga.17 for ; Mon, 27 Oct 2008 22:11:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Mv9tHvzzQ2pvvDsq6bMP+3ro/9PVVz1ASqixXPPopCk=; b=gch67XC0ayk+VyEBjN9hpgL5Tbw/pV2HRg+JOT/DibC3aI/cWeAWn+ClBaseEVe7LS zrYYG6vamTxOmwGN5AmIIoHxcFa1IVmWo/EV8Ta/3yO1hJ9YvK6c5Khlqp4btYHWtPN+ w6zsETXgv8dU3NefIjZEjLwjl0JHBJmOGgIVA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=bv2qJNntkHUZqyyuB5kBin9vExnLbW8/mMiF5yzmeUsY/pPs/3DUdy3LFX4JKgTiNU IzOWScPfl/N3kcBjcc0wUcmXmCDQKFIC9NPB70fKs3Ou+L33c9IxrOta4JPacAFW8Fl+ zuC3wZHZyMpLj2xsLIb4q5J3FPbElzfLOD1xQ= Original-Received: by 10.67.116.9 with SMTP id t9mr2665523ugm.65.1225170713356; Mon, 27 Oct 2008 22:11:53 -0700 (PDT) Original-Received: by 10.67.31.19 with HTTP; Mon, 27 Oct 2008 22:11:53 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:105060 Archived-At: Yes, I did restart. I found a thread with a similar problem but I don't know how to resolve it: http://www.nabble.com/Ciao-on-Intel-Mac-td15000558.html In this thread they define a new function ciao-setup-tool-bar-helper, but I don't understand the syntax. The patch below gives me (wrong-type-argument listp "Recent"), the same problem from the url. Bernhard On Tue, Oct 28, 2008 at 12:12 AM, Eli Zaretskii wrote: >> 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? >