all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Accessing recent file history
@ 2006-01-04 13:45 Mathias Dahl
  2006-01-04 14:30 ` Matt Hodges
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Mathias Dahl @ 2006-01-04 13:45 UTC (permalink / raw)



I want to write a small function to open files using iswitchb
functions, using the recent file names list as input. Somewhat similar
to what I do in the following defun:

(defun my-switch-to-bookmark (bname)
  "Interactively switch to bookmark as `iswitchb' does."
  (interactive (list (flet ((iswitchb-make-buflist
                             (default)
                             (require 'bookmark)
                             (setq iswitchb-buflist (bookmark-all-names))))
                       (iswitchb-read-buffer "Jump to bookmark: "))))
  (bookmark-jump bname))

So, I want something exactly like the above, but instead of
`bookmark-jump' I want to use `find-file' and instead of
`bookmark-all-names' I want to get hold of the file history.

The file history that I see in the File -> Open Recently Visited would
be best, but I guess the minibuffer history for `find-file' would work
too.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-01-05  7:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-04 13:45 Accessing recent file history Mathias Dahl
2006-01-04 14:30 ` Matt Hodges
2006-01-04 16:55 ` Henrik Enberg
2006-01-04 16:56 ` Drew Adams
     [not found] ` <mailman.21390.1136393858.20277.help-gnu-emacs@gnu.org>
2006-01-04 21:06   ` Mathias Dahl
2006-01-05  7:17     ` Mathias Dahl

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.