From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Hansen Newsgroups: gmane.emacs.devel Subject: Re: A few questions about desktop.el Date: Fri, 05 May 2006 08:44:13 +0200 Message-ID: <445AF43D.3020604@soem.dk> References: <58643.128.165.123.132.1146179153.squirrel@webmail.lanl.gov> <877j55gb6p.fsf@jurta.org> <4458C031.5060201@soem.dk> <36957.128.165.123.132.1146760030.squirrel@webmail.lanl.gov> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1146811479 10412 80.91.229.2 (5 May 2006 06:44:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 5 May 2006 06:44:39 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 05 08:44:33 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fbu3E-0002GU-1r for ged-emacs-devel@m.gmane.org; Fri, 05 May 2006 08:44:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fbu3C-0008RB-SK for ged-emacs-devel@m.gmane.org; Fri, 05 May 2006 02:44:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fbu31-0008R0-0G for emacs-devel@gnu.org; Fri, 05 May 2006 02:44:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fbu2z-0008OU-6k for emacs-devel@gnu.org; Fri, 05 May 2006 02:44:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fbu2y-0008OL-TG for emacs-devel@gnu.org; Fri, 05 May 2006 02:44:16 -0400 Original-Received: from [212.99.225.245] (helo=odin.broadcom.dk) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Fbu35-0008EQ-3R for emacs-devel@gnu.org; Fri, 05 May 2006 02:44:23 -0400 Original-Received: from pppoe3-ves.broadcom.dk ([212.99.255.42] helo=[10.17.0.131]) by odin.broadcom.dk with esmtp (Exim 4.24; FreeBSD) id 1Fbu20-000L5c-Eh; Fri, 05 May 2006 08:43:16 +0200 User-Agent: Debian Thunderbird 1.0.2 (X11/20051002) X-Accept-Language: en-us, en Original-To: herring@lanl.gov In-Reply-To: <36957.128.165.123.132.1146760030.squirrel@webmail.lanl.gov> 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:53938 Archived-At: Stuart D. Herring wrote: >So what happens if you turn desktop-save-mode off, another Emacs loads, >locks, overwrites, and unlocks the file, and then you turn >desktop-save-mode back on? (The desktop file's buffer (if it is made to >have one) will always be unmodified unless the user explicitly finds it >and changes it; desktop does not use a buffer as some sort of "scratch >pad" whose state of modification would reflect the state of the abstract >desktop.) Besides, someone could have a "standard desktop" that they load >frequently but save rarely, and so never have desktop-save-mode turned on. > Then they might occasionally improve on or update the standard, and issue >an explicit (desktop-save) which would take place without the protections >of file locking. > > I see your point. >I encourage the testing of my patch to see if its behavior is close enough >to everyone's idea of safe, correct, vigilant, and intuitive. > > I will do so. Thanks.