From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Lars Hansen Newsgroups: gmane.emacs.devel Subject: Re: desktop Date: Mon, 25 Aug 2003 08:03:18 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <3F49A6A6.1020709@math.ku.dk> References: <87ekzmsdjs.fsf@emacswiki.org> <3F3DDDF3.4090500@math.ku.dk> <87lltrt111.fsf@emacswiki.org> <3F41E39F.6040502@math.ku.dk> <3F432759.7090005@math.ku.dk> <3F450793.9020201@math.ku.dk> <3F4854CA.5010107@math.ku.dk> <87y8xiomhj.fsf@emacswiki.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0529982242==" X-Trace: sea.gmane.org 1061803444 23309 80.91.224.253 (25 Aug 2003 09:24:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Aug 2003 09:24:04 +0000 (UTC) Cc: emacs-devel@gnu.org, rms@gnu.org, miles@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Aug 25 11:24:02 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19rDZy-0001BR-00 for ; Mon, 25 Aug 2003 11:24:02 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19rDfR-0005cz-00 for ; Mon, 25 Aug 2003 11:29:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19rDWp-0000hC-BJ for emacs-devel@quimby.gnus.org; Mon, 25 Aug 2003 05:20:47 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19rDW6-0000fN-Ik for emacs-devel@gnu.org; Mon, 25 Aug 2003 05:20:02 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19rDVY-0000WW-R4 for emacs-devel@gnu.org; Mon, 25 Aug 2003 05:20:00 -0400 Original-Received: from [62.84.220.10] (helo=post.kabelnettet.dk) by monty-python.gnu.org with esmtp (Exim 4.20) id 19rDVY-0000W1-AG; Mon, 25 Aug 2003 05:19:28 -0400 Original-Received: from math.ku.dk [62.84.220.219] by post.kabelnettet.dk with ESMTP (SMTPD32-8.01) id A6B3B1C0152; Mon, 25 Aug 2003 08:03:31 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1 X-Accept-Language: en Original-To: Alex Schroeder X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:16144 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16144 --===============0529982242== Content-Type: multipart/alternative; boundary="------------050208050000000105010702" --------------050208050000000105010702 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit > > >>So this is correct: >> >> (setq desktop-enable t) >> >> > >This is probably not correct, since setting a variable will not load >a file. *Customizing* this variable will store extra information in >the .emacs file which will then load desktop.el. But for the >non-custom solution, I think the best thing would be > >(desktop-mode 1) > >And desktop-mode is an autoloaded global minor mode from desktop.el >which also sets desktop-enable to t when active. > >Alex. > > Yes, you are right. So until I have finished implementing desktop-save-mode, it should be (require 'desktop) (setq desktop-enable t) --------------050208050000000105010702 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit
So this is correct:

    (setq desktop-enable t)
    

This is probably not correct, since setting a variable will not load
a file.  *Customizing* this variable will store extra information in
the .emacs file which will then load desktop.el.  But for the
non-custom solution, I think the best thing would be

(desktop-mode 1)

And desktop-mode is an autoloaded global minor mode from desktop.el
which also sets desktop-enable to t when active.

Alex.
  
Yes, you are right.
So until I have finished implementing desktop-save-mode, it should be

   (require 'desktop)
   (setq desktop-enable t)

--------------050208050000000105010702-- --===============0529982242== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel --===============0529982242==--