From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: desktop Date: Thu, 21 Aug 2003 10:11:11 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87ekzmsdjs.fsf@emacswiki.org> <3F3DDDF3.4090500@math.ku.dk> <87lltrt111.fsf@emacswiki.org> <3F41E39F.6040502@math.ku.dk> <3F432759.7090005@math.ku.dk> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1061516126 8408 80.91.224.253 (22 Aug 2003 01:35:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 22 Aug 2003 01:35:26 +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 Fri Aug 22 03:35:24 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 19q0po-0005cM-00 for ; Fri, 22 Aug 2003 03:35:24 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19q0tm-0001rt-00 for ; Fri, 22 Aug 2003 03:39:30 +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 19q0Pi-0000kO-Or for emacs-devel@quimby.gnus.org; Thu, 21 Aug 2003 21:08:26 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19pziX-0006VT-Un for emacs-devel@gnu.org; Thu, 21 Aug 2003 20:23:49 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19prEJ-000254-74 for emacs-devel@gnu.org; Thu, 21 Aug 2003 11:20:34 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19pqCL-0000nM-7K for emacs-devel@gnu.org; Thu, 21 Aug 2003 10:13:57 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.20) id 19pq9f-00044n-I9; Thu, 21 Aug 2003 10:11:11 -0400 Original-To: Lars Hansen In-reply-to: <3F432759.7090005@math.ku.dk> (message from Lars Hansen on Wed, 20 Aug 2003 09:46:33 +0200) 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:16047 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16047 As a wrote in my previous mail you should not call desktop-read in your .emacs file, I don't remember seeing that. Here's what the manual says now: To use Desktop, you should use the Customization buffer (@pxref{Easy Customization}) to set @code{desktop-enable} to a non-@code{nil} value, or add these lines at the end of your @file{.emacs} file: @example (desktop-load-default) (desktop-read) (setq desktop-enable t) @end example Are you saying that the second option is a mistake? Otherwise, it looks like desktop-read should set desktop-enable. Is there a case where people want to use desktop-read without setting desktop-enable? I suggest we make desktop enabling into a minor mode: - Rename variable desktop-enable to desktop-save-mode That's ok, if we preserve compatibility with a variable alias. - Introduce an autoloaded toggling function desktop-save-mode That seems ok too. - Get rid of desktop-remove Why do that? 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. Ok.