From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: Strange eval-after-load Date: Mon, 03 Jul 2006 18:28:19 +0200 Message-ID: References: <20060702133304.GA4008@muc.de> <20060702191851.GA1299@muc.de> <20060703171606.GD2626@muc.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1151944123 23138 80.91.229.2 (3 Jul 2006 16:28:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 3 Jul 2006 16:28:43 +0000 (UTC) Cc: Richard Stallman , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 03 18:28:40 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 1FxRHr-0004Xo-66 for ged-emacs-devel@m.gmane.org; Mon, 03 Jul 2006 18:28:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FxRHq-0006RJ-FQ for ged-emacs-devel@m.gmane.org; Mon, 03 Jul 2006 12:28:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FxRHg-0006R1-C0 for emacs-devel@gnu.org; Mon, 03 Jul 2006 12:28:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FxRHe-0006Qo-7E for emacs-devel@gnu.org; Mon, 03 Jul 2006 12:28:27 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FxRHe-0006Ql-1F for emacs-devel@gnu.org; Mon, 03 Jul 2006 12:28:26 -0400 Original-Received: from [194.113.59.96] (helo=mailrelay2.alcatel.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FxRV6-0003Ip-Rp; Mon, 03 Jul 2006 12:42:21 -0400 Original-Received: from slbhac.alcatel.de (slbhac.bln.sel.alcatel.de [149.204.63.216]) by mailrelay2.alcatel.de (8.12.11.20060308/8.12.11/ICT TSC MAIL 2005) with ESMTP id k63GSMQn031779; Mon, 3 Jul 2006 18:28:22 +0200 Original-To: Alan Mackenzie In-Reply-To: <20060703171606.GD2626@muc.de> (Alan Mackenzie's message of "Mon, 3 Jul 2006 18:16:06 +0100") User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/20.7 (hpux) X-Scanned-By: MIMEDefang 2.49 on 149.204.45.73 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:56430 Archived-At: Alan Mackenzie writes: > It seems to me that eval-after-load is essential in the following > circumstance: > > A package (say, CC Mode) must tweak something in an optional library > which a user may choose to load (say, font-lock[*] or edebug) in order > to work satisfactorally with it. | edebug-setup-hook's value is | nil | | Documentation: | *Functions to call before edebug is used. | Each time it is set to a new value, Edebug will call those functions | once and then `edebug-setup-hook' is reset to nil. You could use this | to load up Edebug specifications associated with a package you are | using but only when you also use Edebug. | | You can customize this variable. | | Defined in `edebug'. I've checked this with prehistoric Emacs 20.7. Best regards, Michael.