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: Sat, 25 Oct 2008 16:21:21 -0400	[thread overview]
Message-ID: <de34c09f0810251321q151d1ae4x5113c5fdc324d002@mail.gmail.com> (raw)
In-Reply-To: <CA583762-F8E0-4C01-903B-8BA381781474@gmail.com>

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

Thanks for your help. If I add your patch below to my .emacs I get

Debugger entered--Lisp error: (wrong-type-argument listp "Recent")

The grep.el example that Eli mentioned is not that straightforward. Well,
I'm not a lisp techie but maybe I'll look at it again this weekend.

Best,
Bernhard


On Sat, Oct 25, 2008 at 11:20 AM, David Reitter <david.reitter@gmail.com>wrote:

> 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: Type: text/html, Size: 2548 bytes --]

  reply	other threads:[~2008-10-25 20:21 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   ` Bernhard Koenig [this message]
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

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

  git send-email \
    --in-reply-to=de34c09f0810251321q151d1ae4x5113c5fdc324d002@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.