From: AlFire <spamgrinder.trylater@ggmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: desktop-read issue on XP - emacs 23.2 or 3
Date: Thu, 11 Sep 2008 19:45:10 -0700 [thread overview]
Message-ID: <48C9D7B6.5090109@ggmail.com> (raw)
In-Reply-To: <mailman.18977.1221116390.18990.help-gnu-emacs@gnu.org>
Nick Sandow wrote:
> I think in Emacs 22 and later the way to activate `desktop' has changed.
>
> I think you just need:
>
> (desktop-save-mode 1)
>
> in your .emacs nowadays.
>
> Is it possible you are using an older config? Perhaps a read of the
> info page on desktop would solve ye problem.
>
that was it. I replaced:
(setq desktop-enable t)
(desktop-load-default)
(desktop-read)
(defun desktop-auto-save ()
"Added to auto-save-hook so the desktop is not lost."
(desktop-save "~/")
(message "Wrote desktop.")
)
(add-hook 'auto-save-hook 'desktop-auto-save t)
by:
(desktop-save-mode 1)
and all works. And just for the record - the versions in subject I put
are wrong - it supposed to be 22.2.1 and 23.0.60.1.
thx, Andy
next prev parent reply other threads:[~2008-09-12 2:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-11 1:52 desktop-read issue on XP - emacs 23.2 or 3 AlFire
2008-09-11 6:59 ` Nick Sandow
2008-09-11 7:01 ` Nick Sandow
[not found] ` <mailman.18977.1221116390.18990.help-gnu-emacs@gnu.org>
2008-09-12 2:45 ` AlFire [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-09-11 9:17 martin rudalics
[not found] <mailman.18997.1221124833.18990.help-gnu-emacs@gnu.org>
2008-09-12 2:47 ` AlFire
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=48C9D7B6.5090109@ggmail.com \
--to=spamgrinder.trylater@ggmail.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).