From: Tassilo Horn <tassilo@member.fsf.org>
To: help-gnu-emacs@gnu.org
Subject: Re: how to open a list of files?
Date: Mon, 05 Jan 2009 16:35:54 +0100 [thread overview]
Message-ID: <87sknxix45.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: 21289016.post@talk.nabble.com
thth <thomas.hartmann@uni-rostock.de> writes:
Hi Thomas,
> 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?
That's exactly what `desktop-save-mode' is made for.
,----[ C-h f desktop-save-mode RET ]
| desktop-save-mode is an interactive autoloaded Lisp function in `desktop.el'.
|
| (desktop-save-mode &optional arg)
|
| Toggle desktop saving mode.
| With numeric arg, turn desktop saving on if arg is positive, off
| otherwise. If desktop saving is turned on, the state of Emacs is
| saved from one session to another. See variable `desktop-save'
| and function `desktop-read' for details.
`----
And also see the info docs:
,----[ (info "(emacs)Saving Emacs Sessions") ]
| Use the desktop library to save the state of Emacs from one session to
| another. Once you save the Emacs "desktop"--the buffers, their file
| names, major modes, buffer positions, and so on--then subsequent Emacs
| sessions reload the saved desktop.
`----
Bye,
Tassilo
next prev parent reply other threads:[~2009-01-05 15:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-05 10:58 how to open a list of files? thth
2009-01-05 15:35 ` Tassilo Horn [this message]
2009-01-05 16:10 ` Thierry Volpiatto
[not found] <mailman.4022.1231169170.26697.help-gnu-emacs@gnu.org>
2009-01-05 17:12 ` Andreas Politz
2009-01-06 1:27 ` Chetan
2009-01-06 1:04 ` Xah Lee
2009-01-06 14:53 ` OtherMichael
2009-01-07 6:32 ` roodwriter
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=87sknxix45.fsf@thinkpad.tsdh.de \
--to=tassilo@member.fsf.org \
--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.