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

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

Re: how to open a list of files?


From: Tassilo Horn
Subject: Re: how to open a list of files?
Date: Mon, 05 Jan 2009 16:35:54 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

thth <address@hidden> 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





reply via email to

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