help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: buffer for unopened file?


From: Sebastian Tennant
Subject: Re: buffer for unopened file?
Date: Fri, 19 Oct 2007 19:07:13 +0300
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]