From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alex Schroeder Newsgroups: gmane.emacs.devel Subject: Re: desktop Date: Mon, 18 Aug 2003 17:53:46 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87lltrt111.fsf@emacswiki.org> References: <87ekzmsdjs.fsf@emacswiki.org> <3F3DDDF3.4090500@math.ku.dk> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1061222192 13595 80.91.224.253 (18 Aug 2003 15:56:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 18 Aug 2003 15:56:32 +0000 (UTC) Cc: Lars Hansen , rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Aug 18 17:56:30 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 19omMv-0001Ik-00 for ; Mon, 18 Aug 2003 17:56:29 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19omPM-0001aK-00 for ; Mon, 18 Aug 2003 17:59:00 +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 19omMM-0002qt-4V for emacs-devel@quimby.gnus.org; Mon, 18 Aug 2003 11:55:54 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19omLt-0002q5-QC for emacs-devel@gnu.org; Mon, 18 Aug 2003 11:55:25 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19omLN-0002h0-Gv for emacs-devel@gnu.org; Mon, 18 Aug 2003 11:55:24 -0400 Original-Received: from [62.2.95.247] (helo=smtp.hispeed.ch) by monty-python.gnu.org with esmtp (Exim 4.20) id 19omKL-0001pc-8A; Mon, 18 Aug 2003 11:53:49 -0400 Original-Received: from confusibombus.emacswiki.org (dclient80-218-92-212.hispeed.ch [80.218.92.212]) by smtp.hispeed.ch (8.12.6/8.12.6/tornado-1.0) with ESMTP id h7IFrjTU031499; Mon, 18 Aug 2003 17:53:46 +0200 Original-To: Miles Bader Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAACkElEQVR42s1a0bLsIAgzjv// y7kPd9pVKxKVdk6fzux2C4EAwR6QZBpcQEopIf3Fq3a52Lfh0Mjjk99zcWYBwA2ihEen9jVxfAf/ u0+Y2HQwNoVw4Dx34trRV6NSjiLPmfPt77jwiBxB/3PnZ3B2AGxzHnGu0wcBwAIAyQwZGvQhiFcy YLOFQcSB/MS82n3ec37vykNqRFTX9rVWR2U5+pZNIggll0CUOQN9BDdm1LfBmcZxIEqjL6r2JU/D galaB7Zg4jlY2ulnIx9OR4iMRl38CAFyKaA8jAxE7lNn650VKMULZ/54crqn0YQCJGQliebXkFIK hwqmGm28cgsSjz/hzRCMneQEwMjVoH3gWTtMPgIslJUV5uIluvUEkyzU+gUGQO62e9NuSdZCzNOM fDPC87iCqfE9gHinsIrSL16TPBfrYIeHzqKU90a50jCh54EcrgAUFo5ibzvebgr/I66USQ0CspQp IVSoBQK3WswDDIndIraHxoglqOjM1d044PQvu1NY0EHtqQR/XwJ+PeCs0x2dSlApZVw4MPER23PD 7JekoHxrqTRod/2Gx5nhx5dfAJhqPt7tDMIZxNN/7lOIaparPn7ZQ88drlORC2eLWXowxIq4gHTh VN1BSmsHoxYAbPWDTuGQuuecS+aYQUYpfr0YqPQOuuUk5tApK077+2xfOYP+XyWEIwPcE49lvT9N y2+wU2KylGGp4yxlALcm6fSlmgk62yfSsfNunDl5d6W91MBUoZw679YAJoMMkhijuXdFOL+khaL2 s+g3zy4APQuQvSc/BNAYnkl6E8ivYtEHJXa1dihE3zgnKMdNgN8DiIwgA17NykUMvFDQ+LALvXXI BuBLAHv/DvBmc/0HzR03PqXmLcQAAAAASUVORK5CYII= In-Reply-To: (Miles Bader's message of "18 Aug 2003 19:05:48 +0900") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) 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:16007 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16007 Miles Bader writes: > Because then desktop keeps asking annoying questions? > > I really don't know anything about desktop, but for some reason I set > `desktop-enable' to t at some point. > > Then emacs started asking questions when I exited -- `Save desktop?' `Where?' > etc. I think you must be confusing something. Or perhaps desktop.el changed in the meantime. These days, if you load desktop.el and call the two defuns you are supposed to call, then you will resume the session from your .emacs.desktop file. When you quit Emacs, and desktop-enable is nil, your session will not be saved to the .emacs.desktop file. This is the problem I was reporting. What you are reporting, however, seems to occur only once: When you don't have a .emacs.desktop file, it will ask you for one on quitting. Next time, however, upon finding the existing file, you should not see any questions. That is the behaviour dictated by the default value of desktop-save -- 'ask-if-new. Perhaps you have set desktop-save to something different? > If desktop did something useful without being annoying I suppose it > could be turned on by default. Hm, I didn't read Richard's comment that way. I don't think we should turn desktop on by default. Alex. -- http://www.emacswiki.org/alex/ There is no substitute for experience.