From: "Bernhard Koenig" <b.a.koenig@googlemail.com>
To: Chming <chming@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: enhancement/wish
Date: Wed, 29 Oct 2008 16:10:20 -0400 [thread overview]
Message-ID: <de34c09f0810291310i481a6055mbc05010ed571362b@mail.gmail.com> (raw)
In-Reply-To: <ab4823ab0810291001na1338dr83250c3ed6eb607@mail.gmail.com>
Ido is a nice extension but AFAIK it does not add a toolbar item for
"Recent Files". Neither does recentf.el. I know that many geeks are
switching off the toolbar anyway, but I'm a "mouse person", lol.
That's why I suggested to add this hack to recent.el. There was a
couple of misprints in my earlier post, so I'll post it again:
;; define function to add recent files button
(defun tool-bar-add-recentf ()
"Add toolbar button for Recent Files."
(interactive)
(tool-bar-add-item "clock" (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")
)
;; write tool-bar-add-recentf into all hooks
(add-hook 'emacs-startup-hook 'tool-bar-add-recentf)
(add-hook 'text-mode-hook 'tool-bar-add-recentf)
(add-hook 'Info-mode-hook 'tool-bar-add-recentf)
On Wed, Oct 29, 2008 at 1:01 PM, Chming <chming@gmail.com> wrote:
> ido does this perfectly
prev parent reply other threads:[~2008-10-29 20:10 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 ` 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 ` Bernhard Koenig [this message]
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=de34c09f0810291310i481a6055mbc05010ed571362b@mail.gmail.com \
--to=b.a.koenig@googlemail.com \
--cc=chming@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 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).