From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: A few questions about desktop.el Date: Wed, 27 Jul 2005 16:28:17 +0200 Message-ID: References: Reply-To: Juanma Barranquero NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1122475374 7996 80.91.229.2 (27 Jul 2005 14:42:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Jul 2005 14:42:54 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 27 16:42:53 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dxn6z-0002Th-D7 for ged-emacs-devel@m.gmane.org; Wed, 27 Jul 2005 16:42:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dxn9O-0006rs-5W for ged-emacs-devel@m.gmane.org; Wed, 27 Jul 2005 10:44:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dxn41-00059f-6V for emacs-devel@gnu.org; Wed, 27 Jul 2005 10:39:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dxn3w-00057W-Hk for emacs-devel@gnu.org; Wed, 27 Jul 2005 10:39:13 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dxn3v-00051R-Uw for emacs-devel@gnu.org; Wed, 27 Jul 2005 10:39:12 -0400 Original-Received: from [64.233.182.204] (helo=nproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dxn4O-0004Q3-Uz for emacs-devel@gnu.org; Wed, 27 Jul 2005 10:39:41 -0400 Original-Received: by nproxy.gmail.com with SMTP id b2so52033nfe for ; Wed, 27 Jul 2005 07:28:18 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=pm24uqsRmbIh2DA32U4169b9jn923GpZQnLWC65TP+RBisN4s6uaIBf9EiSJ6to560277voLPZbbrAAqIyRyzMFKAvFgUoKSRm16/ldR+gnr38kpn+XNmG4MaECpm6Advh0LBQnPaJ5sYZ7IZ/qLjp7qDqVq9WUqJYQ3YCAcpso= Original-Received: by 10.48.250.9 with SMTP id x9mr34433nfh; Wed, 27 Jul 2005 07:28:18 -0700 (PDT) Original-Received: by 10.48.250.5 with HTTP; Wed, 27 Jul 2005 07:28:17 -0700 (PDT) Original-To: rms@gnu.org In-Reply-To: Content-Disposition: inline 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:41240 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:41240 > As you can see, I don't know much about desktop.el--I don't use it. It's quite useful, and it'll be great the day we can make it save/restore window and frame configurations. But I don't think there's an easy way to turn a window configuration into elisp and back :( > If you see that a certain mode needs special processing, > please just implement that. I'll do. Not-totally-unrelated: running two or more Emacs instances that use the same desktop file is a classical race condition; the last one to exit overwrites the desktop file (quite funny when the desktop was very elaborate and the last instance to exit uses almost no buffers). It'd be very useful to try to detect it and at least stop the second instance from loading and using the desktop file if it's already in use. There's no way to do that from Emacs, is there? --=20 /L/e/k/t/u