From: "Robert J. Chassell" <bob@rattlesnake.com>
Cc: emacs-devel@gnu.org
Subject: Re: [tutufan@gmail.com: restoring emacs session fails for missing files]
Date: Thu, 18 May 2006 21:45:59 +0000 (UTC) [thread overview]
Message-ID: <m1FgqJj-0004EnC@rattlesnake.com> (raw)
In-Reply-To: <446CA2E2.3090701@soem.dk> (message from Lars Hansen on Thu, 18 May 2006 18:37:54 +0200)
If you kill the buffer foo *before* calling desktop-save, I don't see
how it can be saved in the desktop file.
Are you shure that you killed the buffer foo before calling desktop-save?
My apologies. My error. I killed the buffer *after* calling
desktop-save. The first time, I loaded the library, too. I did not
have to create and save any more buffers, however.
I just did it again, still with
Today's GNU Emacs CVS snapshot, 2006 May 18, 10:17 UTC
GNU Emacs 22.0.50.72 (i686-pc-linux-gnu, GTK+ Version 2.8.16)
started with
emacs/src/emacs -Q -D
First I created `foo' with contents, "this is foo.
"
The *Buffer List* shows:
. foo 13 Fundamental ~/foo
* *scratch* 72 Lisp Interaction
* *Messages* 220 Fundamental
I tried to evaluate (desktop-save "~bob/") but received a `void
function' error. So, in the *scratch* buffer I evaluated
(desktop-save-mode 1)
and then was able to evaluate:
(desktop-save "~bob/")
I killed that instance of Emacs and started another plain vanilla instance.
In that instance in the previously empty *scratch* buffer I was able
to evaluate
(desktop-read "~bob/")
and did not have to evaluate (desktop-save-mode 1).
I did not ever have to create and save another buffer.
--
Robert J. Chassell
bob@rattlesnake.com GnuPG Key ID: 004B4AC8
http://www.rattlesnake.com http://www.teak.cc
next prev parent reply other threads:[~2006-05-18 21:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-17 23:13 [tutufan@gmail.com: restoring emacs session fails for missing files] Richard Stallman
2006-05-18 7:06 ` Lars Hansen
2006-05-19 2:04 ` Richard Stallman
[not found] ` <3c6c07c20605190513l63ec73a8mb0aa182dd66aa70a@mail.gmail.com>
[not found] ` <3c6c07c20605241253n71f78609p660043b9fe6c76a9@mail.gmail.com>
2006-05-25 10:01 ` Lars Hansen
2006-05-18 11:48 ` Robert J. Chassell
2006-05-18 16:37 ` Lars Hansen
2006-05-18 21:45 ` Robert J. Chassell [this message]
2006-05-19 2:05 ` Richard Stallman
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=m1FgqJj-0004EnC@rattlesnake.com \
--to=bob@rattlesnake.com \
--cc=emacs-devel@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).