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: Tue, 2 May 2006 17:14:52 +0200 Message-ID: References: <58643.128.165.123.132.1146179153.squirrel@webmail.lanl.gov> <25279.128.165.0.81.1146286645.squirrel@webmail.lanl.gov> <34179.128.165.123.132.1146582412.squirrel@webmail.lanl.gov> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1146582942 1587 80.91.229.2 (2 May 2006 15:15:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 2 May 2006 15:15:42 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 02 17:15:38 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 1Faway-0001rv-GM for ged-emacs-devel@m.gmane.org; Tue, 02 May 2006 17:15:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Faway-0001q9-0b for ged-emacs-devel@m.gmane.org; Tue, 02 May 2006 11:15:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FawaV-0001lh-MX for emacs-devel@gnu.org; Tue, 02 May 2006 11:14:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FawaU-0001l1-4W for emacs-devel@gnu.org; Tue, 02 May 2006 11:14:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FawaT-0001kv-Sa for emacs-devel@gnu.org; Tue, 02 May 2006 11:14:53 -0400 Original-Received: from [66.249.92.169] (helo=uproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fawae-0005GW-R1 for emacs-devel@gnu.org; Tue, 02 May 2006 11:15:05 -0400 Original-Received: by uproxy.gmail.com with SMTP id m2so2083995ugc for ; Tue, 02 May 2006 08:14:52 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=o4QGWG7u81xp4kA/X7Bk5RxYv6P2KkqqqbKI8DsnAaiWGnsYkunCkLskmsubrQexp1YE5cBRBBpcBP7k+6Nr05bq8eyn1Hr6k89bdAXVwjwjZOg/Vd/zlDeLDH9IiePzsGjHWkjbMnfUSuEPopxadspnZhM4wRHx9gtHCTkqLyI= Original-Received: by 10.78.17.4 with SMTP id 4mr1254huq; Tue, 02 May 2006 08:14:52 -0700 (PDT) Original-Received: by 10.78.33.18 with HTTP; Tue, 2 May 2006 08:14:52 -0700 (PDT) Original-To: herring@lanl.gov In-Reply-To: <34179.128.165.123.132.1146582412.squirrel@webmail.lanl.gov> 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:53794 Archived-At: On 5/2/06, Stuart D. Herring wrote: > It seems to me that > (add-hook 'desktop-not-loaded-hook (lambda () (setq desktop-save nil))) > ...would be cumbersome (especially for non-Lispy users). You could always do M-x customize-variable desktop-not-loaded-hook, couldn't you? > Is there any > other use for such a hook (maybe `kill-emacs'? ;) Certainly, running an external app (likely gnuclient) to bring the other Emacs instance to focus and then killing the current one would be my first use, yes. > Or instead to ask, > when the user chooses to honor a lock, whether to then disable Desktop? I hate being asked (by a program :-) about things that could be automated. -- /L/e/k/t/u