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: Problem with desktop.el Date: Fri, 08 Sep 2006 22:45:11 +0200 Message-ID: <858xkujdew.fsf@lola.goethe.zz> References: <85wt8eomzp.fsf@lola.goethe.zz> <85r6yml5s9.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1157748347 31643 80.91.229.2 (8 Sep 2006 20:45:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 8 Sep 2006 20:45:47 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 08 22:45:45 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 1GLnEF-0006RW-Mt for ged-emacs-devel@m.gmane.org; Fri, 08 Sep 2006 22:45:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GLnEF-0005ED-8k for ged-emacs-devel@m.gmane.org; Fri, 08 Sep 2006 16:45:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GLnE1-00055i-Dl for emacs-devel@gnu.org; Fri, 08 Sep 2006 16:45:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GLnE0-00051u-KH for emacs-devel@gnu.org; Fri, 08 Sep 2006 16:45:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GLnE0-00051h-GF for emacs-devel@gnu.org; Fri, 08 Sep 2006 16:45:20 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GLnEg-0001sU-2b for emacs-devel@gnu.org; Fri, 08 Sep 2006 16:46:02 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1GLnDt-0004SS-6L; Fri, 08 Sep 2006 16:45:13 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 31F391C40B5B; Fri, 8 Sep 2006 22:45:11 +0200 (CEST) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Fri\, 08 Sep 2006 16\:29\:44 -0400") 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:59583 Archived-At: Richard Stallman writes: > Your patch looks plausible; can you test it? Well, I checked that the saving of the desktop upon killing Emacs will no longer trash the desktop file if there is a desktop load in progress. That works. With regard to the lazy timer: I am afraid that this is a complicated race condition for getting several timers active, and I don't use them, anyway. Just setting the timer variable to zero without stopping the timer can't be a good idea, however, so I think this change is correct. I think that there may be several other cases where it might make sense to either cancel the lazy load or complete it. However, I have not used or programmed that mode myself, and would think it more appropriate if the author checked that. I don't feel I know my way around that one. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum