From: Sebastian Tennant <sebyte@smolny.plus.com>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: buffer for unopened file?
Date: Fri, 19 Oct 2007 19:07:13 +0300 [thread overview]
Message-ID: <87przbks0e.fsf@moley.moleskin.org> (raw)
In-Reply-To: <DNEMKBNJBGPAOPIJOOICOELKEAAA.drew.adams@oracle.com> (Drew Adams's message of "Fri, 19 Oct 2007 08:54:14 -0700")
Quoth "Drew Adams" <drew.adams@oracle.com>:
>> > 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).
I'm no expert on dired-x (and apologies if C-u F doesn't actually visit
any files) but I think he wants the list of files to hand without even
_visiting_ them, let alone displaying them.
"It takes a minute or so to open all of the files and wastes memory to
open them all."
Sebastian
next prev parent reply other threads:[~2007-10-19 16:07 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
2007-10-19 16:07 ` Sebastian Tennant [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87przbks0e.fsf@moley.moleskin.org \
--to=sebyte@smolny.plus.com \
--cc=drew.adams@oracle.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.