unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Xah Lee <xahlee@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: how to open a list of files?
Date: Mon, 5 Jan 2009 17:04:55 -0800 (PST)	[thread overview]
Message-ID: <121ac258-15bc-4308-88bb-6b385cb68102@b38g2000prf.googlegroups.com> (raw)
In-Reply-To: mailman.4022.1231169170.26697.help-gnu-emacs@gnu.org

On Jan 5, 2:58 am, thth <thomas.hartm...@uni-rostock.de> wrote:
> Hi,
>
> I have a file containing pathes to several other files I want to open
> (actually it is just the buffer list of a previous session saved in a file).
> Opening each file by hand from this list is a bit laborious. So I wonder if
> there is a way to open all files contained in a list automatically in emacs?
>
> Cheers & Thanks for all ideas,

depending on what you mean...

others has mentioned desktop mode...

if you want to open a bunch of marked files in dired, put

(require 'dired-x)

in your .emacs then you can
Alt+x dired-x and dired-do-find-marked-files.

If you have a list of paths, you can create this text

(find-file "path1")
(find-file "path2")
...

then select them then Alt+x eval-region.

  Xah
∑ http://xahlee.org/

  parent reply	other threads:[~2009-01-06  1:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.4022.1231169170.26697.help-gnu-emacs@gnu.org>
2009-01-05 17:12 ` how to open a list of files? Andreas Politz
2009-01-06  1:27   ` Chetan
2009-01-06  1:04 ` Xah Lee [this message]
2009-01-06 14:53 ` OtherMichael
2009-01-07  6:32 ` roodwriter
2009-01-05 10:58 thth
2009-01-05 15:35 ` Tassilo Horn
2009-01-05 16:10 ` Thierry Volpiatto

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=121ac258-15bc-4308-88bb-6b385cb68102@b38g2000prf.googlegroups.com \
    --to=xahlee@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.
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).