all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Oleksandr Gavenko <gavenkoa@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to load latest opened files? Or load specific files?
Date: Thu, 11 Sep 2008 21:30:13 +0300	[thread overview]
Message-ID: <gabo3k$39g$1@aioe.org> (raw)
In-Reply-To: af35966a-356e-40c6-924a-42d6673b2a59@26g2000hsk.googlegroups.com

ssecorp wrote:
> Can I somehow make a command like "open the files that were open last
> time emacs was used"?
> 
> And can I set a command to open for example:
> haskell-mode
> c:/mypath/haskell/someprogram.hs
> 
> ?
In my .emacs I put

;; ----------------------------------------------
;; *Recentf*
;; Recent files in menu
(require 'recentf)
(recentf-mode t)
(setq recentf-max-saved-items 200)
(global-set-key (kbd "\e\eq")  'recentf-open-files)

If I need file with wich I recently worked I type <Esc> <Esc> q and 
search by C-s for a needed file.

Such method take advantage in speed from finding file by C-x C-f or in 
Dired.


  parent reply	other threads:[~2008-09-11 18:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-01 23:18 How to load latest opened files? Or load specific files? ssecorp
2008-09-02  3:41 ` B. T. Raven
2008-09-02 11:22 ` Bernardo Bacic
2008-09-11 18:30 ` Oleksandr Gavenko [this message]
2008-09-11 18:45 ` Charles Sebold

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='gabo3k$39g$1@aioe.org' \
    --to=gavenkoa@gmail.com \
    --cc=help-gnu-emacs@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.