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: Wed, 20 Aug 2003 09:46:33 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <3F432759.7090005@math.ku.dk> References: <87ekzmsdjs.fsf@emacswiki.org> <3F3DDDF3.4090500@math.ku.dk> <87lltrt111.fsf@emacswiki.org> <3F41E39F.6040502@math.ku.dk> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1061370074 20892 80.91.224.253 (20 Aug 2003 09:01:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 20 Aug 2003 09:01:14 +0000 (UTC) Cc: alex@emacswiki.org, emacs-devel@gnu.org, miles@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Aug 20 11:01:12 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 19pOq8-0005iO-00 for ; Wed, 20 Aug 2003 11:01:12 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19pOtL-0002dg-00 for ; Wed, 20 Aug 2003 11:04:31 +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 19pOfN-0006Yq-HG for emacs-devel@quimby.gnus.org; Wed, 20 Aug 2003 04:50:05 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19pNlx-0003XT-QM for emacs-devel@gnu.org; Wed, 20 Aug 2003 03:52:49 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19pNjS-0002gC-50 for emacs-devel@gnu.org; Wed, 20 Aug 2003 03:50:45 -0400 Original-Received: from [62.84.220.10] (helo=post.kabelnettet.dk) by monty-python.gnu.org with esmtp (Exim 4.20) id 19pNg2-0001Rr-Pf; Wed, 20 Aug 2003 03:46:42 -0400 Original-Received: from math.ku.dk [62.84.220.219] by post.kabelnettet.dk with ESMTP (SMTPD32-8.01) id A76AD7F0098; Wed, 20 Aug 2003 09:46:50 +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: rms@gnu.org 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:16030 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16030 Richard Stallman wrote: >What do you think of the suggestion that loading a desktop should set >desktop-enable to t? > > I guess you refer to the function desktop-read? As a wrote in my previous mail you should not call desktop-read in your .emacs file, so I don't think desktop-read should change desktop-enable. I suggest we make desktop enabling into a minor mode: - Rename variable desktop-enable to desktop-save-mode - Introduce an autoloaded toggling function desktop-save-mode - Get rid of desktop-remove If we let desktop-save-mode default to nil, users that don't want desktop saving wont be bothered. Users that want desktop enabling should turn it on desktop-save-mode using customize, or put (desktop-save-mode 1) in their .emacs file. WDYT