From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: --no-desktop broken? Date: Tue, 24 Jan 2006 01:00:34 +0200 Message-ID: References: <1137804521.206430.18968.nullmailer@Update.UU.SE> <43D2012A.8050406@soem.dk> <2E5FEB1A-6442-41BC-BDEC-60A1B45C13E6@raeburn.org> <43D36D66.9010108@soem.dk> <87mzhnfykz.fsf@jurta.org> <87fynf32w8.fsf@jurta.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1138057292 12911 80.91.229.2 (23 Jan 2006 23:01:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 Jan 2006 23:01:32 +0000 (UTC) Cc: larsh@soem.dk, ams@gnu.org, raeburn@raeburn.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 24 00:01:29 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 1F1AgS-0007hf-Ag for ged-emacs-devel@m.gmane.org; Tue, 24 Jan 2006 00:01:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F1Aj5-0003J4-9e for ged-emacs-devel@m.gmane.org; Mon, 23 Jan 2006 18:03:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F1Aid-0003Fh-Qv for emacs-devel@gnu.org; Mon, 23 Jan 2006 18:03:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F1Aib-0003DQ-Sl for emacs-devel@gnu.org; Mon, 23 Jan 2006 18:03:26 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F1Aib-0003Cz-Em for emacs-devel@gnu.org; Mon, 23 Jan 2006 18:03:25 -0500 Original-Received: from [192.114.186.66] (helo=romy.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1F1AnN-0000Je-M2; Mon, 23 Jan 2006 18:08:21 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-80-233.inter.net.il [80.230.80.233]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id DKP24227 (AUTH halo1); Tue, 24 Jan 2006 01:00:34 +0200 (IST) Original-To: Juri Linkov In-reply-to: <87fynf32w8.fsf@jurta.org> (message from Juri Linkov on Mon, 23 Jan 2006 08:18:31 +0200) 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:49466 Archived-At: > From: Juri Linkov > Date: Mon, 23 Jan 2006 08:18:31 +0200 > Cc: larsh@soem.dk, ams@gnu.org, raeburn@raeburn.org, emacs-devel@gnu.org > > Only the first solution loads desktop.el, and I agree that it is not > a good solution. The remaining two solutions don't load desktop.el. > They use the autoload cookie. Are you sure? I didn't have time to try your proposal, but the hook it uses references 2 desktop.el symbols which are both autoloaded from desktop.el. Even if today it won't load desktop.el at startup, some future change in that hook might cause it to be loaded, especially if we don't even say in a comment there that the hook is supposed to ignore "--no-desktop" without loading the package.