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 and tilde-expand-file-name Date: Wed, 19 Feb 2003 21:54:38 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <3E53EF0E.40904@math.ku.dk> References: <3E52AE07.70401@math.ku.dk> <5xof593zpx.fsf@kfs2.cua.dk> <5x7kbw14ks.fsf@kfs2.cua.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1045688280 19268 80.91.224.249 (19 Feb 2003 20:58:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 19 Feb 2003 20:58:00 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18lbHy-00050d-00 for ; Wed, 19 Feb 2003 21:57:58 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18lbV6-0007aj-00 for ; Wed, 19 Feb 2003 22:11:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18lbH2-00046j-06 for emacs-devel@quimby.gnus.org; Wed, 19 Feb 2003 15:57:00 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18lbF5-0003dG-00 for emacs-devel@gnu.org; Wed, 19 Feb 2003 15:54:59 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18lbEw-0003Pu-00 for emacs-devel@gnu.org; Wed, 19 Feb 2003 15:54:53 -0500 Original-Received: from [62.84.220.10] (helo=mail.dantel.dk) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18lbEY-000368-00 for emacs-devel@gnu.org; Wed, 19 Feb 2003 15:54:26 -0500 Original-Received: from math.ku.dk [62.84.221.46] by mail.dantel.dk with ESMTP (SMTPD32-7.13) id AF8E157A021E; Wed, 19 Feb 2003 21:56:46 +0100 User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-us, en Original-To: "Kim F. Storm" In-Reply-To: <5x7kbw14ks.fsf@kfs2.cua.dk> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:11777 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11777 Kim F. Storm wrote: >I'd like > ask-if-exists -- ask if desktop file exists, otherwise DON'T save. > I have added this combination as well. Now we have: When the user changes desktop or quits emacs, should the desktop be saved? (in the current desktop directory) t -- always save. ask -- always ask. ask-if-new -- ask if no desktop file exists, otherwise just save. ask-if-exists -- ask if desktop file exists, otherwise don't save. if-exists -- save if desktop file exists, otherwise don't save. nil -- never save. The desktop is never saved when `desktop-enable' is nil.