unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "Sebastian Tennant" <sebyte@smolny.plus.com>, <help-gnu-emacs@gnu.org>
Subject: RE: buffer for unopened file?
Date: Fri, 19 Oct 2007 08:54:14 -0700	[thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICOELKEAAA.drew.adams@oracle.com> (raw)
In-Reply-To: <87y7dzktfx.fsf@moley.moleskin.org>

> > I'd like to be able to give emacs a big list of filenames
> > and have each file appear as if it has been visited with
> > respect to having it appear in my buffer list.  But only
> > when changing to that buffer do I want it to actually open
> > the file.  Is that possible?  It takes a minute or so to open
> > all of the files and wastes memory to open them all.  But
> > I like to have a menu of the files I might be needing.
>
> How about just creating a plain text file, such as:
>  ~/workspace/file1
>  ~/workspace/file2
...
>  ~/workspace/fileN
> and save it as ~/workspace/files-i-often-visit.txt
> Then add the following to your ~/.emacs:
>  (global-set-key "\C-cf" 'find-file-at-point)
>  (find-file "~/workspace/files-i-often-visit.txt")
> Then all you need to do is...

You don't need to do all that. Just use Dired. Put this in your .emacs:
(require 'dired-x)

Then, in Dired:

1. Mark each of the files you want to visit (without displaying).

2. C-u F

You will see the file buffers in the buffer list (C-x C-b), where you can
choose them individually or in groups. Use `C-h m' to see the possibilities.

  reply	other threads:[~2007-10-19 15:54 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-19 14:27 buffer for unopened file? David L
2007-10-19 15:18 ` Amy Templeton
2007-10-19 15:36 ` Sebastian Tennant
2007-10-19 15:54   ` Drew Adams [this message]
2007-10-19 16:07     ` Sebastian Tennant
2007-10-19 17:21       ` Drew Adams
2007-10-19 17:53         ` David L
2007-10-19 18:20           ` Drew Adams
2007-10-20 16:39             ` Dieter Wilhelm
2007-10-20 17:09               ` Drew Adams
2007-10-20 17:53                 ` Dieter Wilhelm
2007-10-20 20:47                 ` Dieter Wilhelm
2007-10-20 21:29                   ` Icicles and Emacs [was: buffer for unopened file?] Drew Adams
     [not found]                 ` <mailman.2372.1192913119.18990.help-gnu-emacs@gnu.org>
2007-10-23 13:29                   ` Icicles integration into CVS emacs (was: buffer for unopened file?) Giles Chamberlin
2007-10-21 20:56             ` buffer for unopened file? David L
     [not found]             ` <mailman.2406.1193000213.18990.help-gnu-emacs@gnu.org>
2007-10-24 12:55               ` Mathias Dahl
     [not found] <mailman.2307.1192804070.18990.help-gnu-emacs@gnu.org>
2007-10-19 17:42 ` Stefan Monnier

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=DNEMKBNJBGPAOPIJOOICOELKEAAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=sebyte@smolny.plus.com \
    /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.
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).