> Bonsoir,
> Encore et toujours cet éditeur merveilleux ....
> D'ailleurs merveilleux comme il est, lui serait-il possible de conserver
> d'une session à l'autre (et oui de temps en temps je dors et donc je
> ferme emacs) l'historique des diverses commandes effectuées ...
> Tout ce qu'on obtient à coup de M-x ou de chose comme ça ....
> Vu qu'il le stock quelque part pendant la session, peut on sauvegarder
> ce quelque part ???
j'ai une grosse flemme alors je te copie directement le manuel:
Saving Emacs Sessions
=====================
You can use the Desktop library to save the state of Emacs from one
session to another. Saving the state means that Emacs starts up with
the same set of buffers, major modes, buffer positions, and so on that
the previous Emacs session had.
To use Desktop, you should use the Customization buffer (*note Easy
Customization::.) to set `desktop-enable' to a non-`nil' value, or add
these lines at the end of your `.emacs' file:
(desktop-load-default)
(desktop-read)
The first time you save the state of the Emacs session, you must do it
manually, with the command `M-x desktop-save'. Once you have done
that, exiting Emacs will save the state again--not only the present
Emacs session, but also subsequent sessions. You can also save the
state at any time, without exiting Emacs, by typing `M-x desktop-save'
again.
In order for Emacs to recover the state from a previous session, you
must start it with the same current directory as you used when you
started the previous session. This is because `desktop-read' looks in
the current directory for the file to read. This means that you can
have separate saved sessions in different directories; the directory in
which you start Emacs will control which saved session to use.
The variable `desktop-files-not-to-save' controls which files are
excluded from state saving. Its value is a regular expression that
matches the files to exclude. By default, remote (ftp-accessed) files
are excluded; this is because visiting them again in the subsequent
session would be slow. If you want to include these files in state
saving, set `desktop-files-not-to-save' to `"^$"'. *Note Remote
Files::.
n'oublie pas d'allez voir le "customize group" sur desktop pour le
paramétrer.
> Merci d'avance aux allumés d'emacs ...
je ne suis pas un allumé d'emacs, juste un utilisateur qui de temps à
autre va lire le manuel!
A plus
Dominque
--
------------------ http://www.geocities.com/Athens/3766 ------------------
17 avenue du Vercors-38240 Meylan FRANCE -- tel: (+33)476.90.24.78
Il travaille un p'tit peu quand son corps est d'accord
Pour lui faut pas s'en faire il sait doser son effort
Il est libre Max (H. Christiani)