unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Reitter <david.reitter@gmail.com>
To: Bernhard Koenig <b.a.koenig@googlemail.com>
Cc: emacs-devel@gnu.org
Subject: Re: enhancement/wish
Date: Sat, 25 Oct 2008 11:20:44 -0400	[thread overview]
Message-ID: <CA583762-F8E0-4C01-903B-8BA381781474@gmail.com> (raw)
In-Reply-To: <de34c09f0810241736u21ca13a4n4d97e24406ebbfcd@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 847 bytes --]

On 24 Oct 2008, at 20:36, Bernhard Koenig wrote:


> you get a list of "recent files". In Emacs, even with the recentf
> extension, it seems impossible to add a "recentf-open-files" icon to
> the toolbar. Of course you can use keybindings, but some people like
> the mouse and the "recent files" in the menubar require more clicks.

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")




[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2193 bytes --]

  parent reply	other threads:[~2008-10-25 15:20 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-25  0:36 enhancement/wish Bernhard Koenig
2008-10-25  8:12 ` enhancement/wish Eli Zaretskii
     [not found]   ` <de34c09f0810250129m5fea708bh78e06f9219fd864@mail.gmail.com>
2008-10-25 10:25     ` enhancement/wish Eli Zaretskii
2008-10-25 15:20 ` David Reitter [this message]
2008-10-25 20:21   ` enhancement/wish Bernhard Koenig
2008-10-27 23:38   ` enhancement/wish Bernhard Koenig
2008-10-28  4:12     ` enhancement/wish Eli Zaretskii
2008-10-28  5:11       ` enhancement/wish Bernhard Koenig
     [not found]         ` <4906BF50.40709@swipnet.se>
2008-10-28  8:17           ` enhancement/wish Bernhard Koenig
2008-10-28  8:38             ` enhancement/wish Bernhard Koenig
2008-10-28 16:39             ` enhancement/wish Jan Djärv
2008-10-28 20:40               ` enhancement/wish Bernhard Koenig
2008-10-29  7:01                 ` enhancement/wish Bernhard Koenig
2008-10-29  7:26                 ` enhancement/wish Jan D.
2008-10-29  7:40                   ` enhancement/wish Bernhard Koenig
2008-10-29 11:21                     ` enhancement/wish Jan D.
2008-10-29 17:01 ` enhancement/wish Chming
2008-10-29 20:10   ` enhancement/wish Bernhard Koenig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA583762-F8E0-4C01-903B-8BA381781474@gmail.com \
    --to=david.reitter@gmail.com \
    --cc=b.a.koenig@googlemail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).