From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: AlFire Newsgroups: gmane.emacs.help Subject: Re: desktop-read issue on XP - emacs 23.2 or 3 Date: Thu, 11 Sep 2008 19:45:10 -0700 Message-ID: <48C9D7B6.5090109@ggmail.com> References: <48C879C7.2080608@ggmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1221191719 28404 80.91.229.12 (12 Sep 2008 03:55:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Sep 2008 03:55:19 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 12 05:56:14 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KdzlW-000462-7y for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Sep 2008 05:56:14 +0200 Original-Received: from localhost ([127.0.0.1]:41813 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KdzkW-00052E-0e for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Sep 2008 23:55:12 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 34 Original-X-Trace: individual.net bwrdgHeVpZ0lPgdUs7yq4QsyitnZzjL/1nqBhtLg0yAW1RbuhE Cancel-Lock: sha1:BE+4X43Acgu3+sav+Lr2PZp9jKQ= User-Agent: Thunderbird 2.0.0.16 (X11/20080724) In-Reply-To: Original-Xref: news.stanford.edu gnu.emacs.help:162114 X-Mailman-Approved-At: Thu, 11 Sep 2008 23:53:21 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:57460 Archived-At: 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