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: Mon, 27 Oct 2008 19:38:29 -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 1225150742 28110 80.91.229.12 (27 Oct 2008 23:39:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Oct 2008 23:39:02 +0000 (UTC) Cc: emacs-devel@gnu.org To: "David Reitter" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 28 00:40:04 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 1Kubge-0007vt-4D for ged-emacs-devel@m.gmane.org; Tue, 28 Oct 2008 00:39:54 +0100 Original-Received: from localhost ([127.0.0.1]:39123 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KubfW-0001uU-RW for ged-emacs-devel@m.gmane.org; Mon, 27 Oct 2008 19:38:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KubfT-0001uL-4N for emacs-devel@gnu.org; Mon, 27 Oct 2008 19:38:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KubfS-0001u1-5G for emacs-devel@gnu.org; Mon, 27 Oct 2008 19:38:38 -0400 Original-Received: from [199.232.76.173] (port=57660 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KubfS-0001ty-1f for emacs-devel@gnu.org; Mon, 27 Oct 2008 19:38:38 -0400 Original-Received: from ug-out-1314.google.com ([66.249.92.169]:53331) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KubfR-0007Dz-CD for emacs-devel@gnu.org; Mon, 27 Oct 2008 19:38:37 -0400 Original-Received: by ug-out-1314.google.com with SMTP id 36so116586uga.17 for ; Mon, 27 Oct 2008 16:38:29 -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=+hQ7F+iYE6OI5y49eqWN4yZWfRs74guO8MEjEso/KuA=; b=kXs3ItSTETa8322BLQIAxOEMMx47eqdMSphzb6mDsDxUUCpEJN3/SIrEv9mQqPn664 xVhSggqVWjMceD6EyJLkuaxC2BB2y4UFfYlPXRYY5EhDeFlcecgehXn5Z3hM2o3W5CSm YIB/IHK76kwRDyJFgwqTWf1NLMlRG4bLztED0= 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=A4kvlBO/PSiqv77yn6r0HIJ86Kt2ZfUDZp4xeFe+SnIqZdZbIdirf7vZqB8gc2mDHN yfvvf5foKHArtLfSaFPv6jalU/7+YHGdnWZrJ6ZNPvunJ6BjBkZbbRe4RKOz15sNMPc0 QkO14uHhefbS7ItXOsQqjvuzZ+vSR45cyQDYA= Original-Received: by 10.66.248.5 with SMTP id v5mr2524218ugh.76.1225150709829; Mon, 27 Oct 2008 16:38:29 -0700 (PDT) Original-Received: by 10.67.31.19 with HTTP; Mon, 27 Oct 2008 16:38:29 -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:105054 Archived-At: > It's perfectly possible. I have it in Aquamacs, and it just took me a bit > of Lisp code. The full code is in aquamacs-tool-bar.el if you want to look > it up. Specifically, this is what does it: > > > (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. Where can I download aquamacs-tool-bar.el? Is this only applicable for Mac or does it also make sense on other OS? Best, Bernhard