all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Bernhard Koenig" <b.a.koenig@googlemail.com>
To: "David Reitter" <david.reitter@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: enhancement/wish
Date: Mon, 27 Oct 2008 19:38:29 -0400	[thread overview]
Message-ID: <de34c09f0810271638t7071af7cs159eaafea075a00b@mail.gmail.com> (raw)
In-Reply-To: <CA583762-F8E0-4C01-903B-8BA381781474@gmail.com>

> 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




  parent reply	other threads:[~2008-10-27 23:38 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 ` enhancement/wish David Reitter
2008-10-25 20:21   ` enhancement/wish Bernhard Koenig
2008-10-27 23:38   ` Bernhard Koenig [this message]
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

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

  git send-email \
    --in-reply-to=de34c09f0810271638t7071af7cs159eaafea075a00b@mail.gmail.com \
    --to=b.a.koenig@googlemail.com \
    --cc=david.reitter@gmail.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.