From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: desktop.el not playing nice Date: Sun, 17 Apr 2005 23:22:18 +0200 Message-ID: <85y8bh9jzp.fsf@gnu.org> References: <40781.194.95.226.87.1113749198.squirrel@wwws.franken.de> <4262CFD5.2050008@math.ku.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1113773176 18425 80.91.229.2 (17 Apr 2005 21:26:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 17 Apr 2005 21:26:16 +0000 (UTC) Cc: Stephan Stahl , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 17 23:26:13 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DNHGv-0004tO-VP for ged-emacs-devel@m.gmane.org; Sun, 17 Apr 2005 23:25:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DNHKu-0002MC-O8 for ged-emacs-devel@m.gmane.org; Sun, 17 Apr 2005 17:29:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DNHJU-0001K4-DU for emacs-devel@gnu.org; Sun, 17 Apr 2005 17:28:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DNHJL-0001FN-Qc for emacs-devel@gnu.org; Sun, 17 Apr 2005 17:28:14 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DNHJK-0001Dp-L7 for emacs-devel@gnu.org; Sun, 17 Apr 2005 17:28:10 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DNHFC-0001Mx-Uy for emacs-devel@gnu.org; Sun, 17 Apr 2005 17:23:55 -0400 Original-Received: from localhost ([127.0.0.1] helo=localhost.localdomain) by fencepost.gnu.org with esmtp (Exim 4.34) id 1DNHDU-00080O-Pi; Sun, 17 Apr 2005 17:22:09 -0400 Original-To: Lars Hansen In-Reply-To: <4262CFD5.2050008@math.ku.dk> (Lars Hansen's message of "Sun, 17 Apr 2005 23:06:29 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:36066 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36066 Lars Hansen writes: > Stephan Stahl wrote: > >> Specify the option `--no-desktop' on the command line when you don't >>want it to reload any saved desktop. >> >> > IMHO this describes clearly what the --no-desktop flag does. But you > may be right the the flag should do something different. > > I can make --no-desktop disabel desktop-save-mode as you propose. > If some people don't like the flag to change desktop-save-mode, I > could add a second flag --no-desktop-load that only inhibits desktop > loading. > > What do people like best: > 1. Just change --no-desktop to disabel desktop-save-mode. That. Other effects are too confusing to warrant a separate option: you can achieve them by setting variables manually. However, when calling desktop-read explicitly in a --no-desktop session, desktop-save-mode should probably be reset to the customized default. At least I think that is more or less what people would expect. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum