From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jpw@pobox.com (John Paul Wallington) Newsgroups: gmane.emacs.devel Subject: Re: Strange eval-after-load Date: Mon, 03 Jul 2006 18:06:58 +0100 Message-ID: <87irmer51p.fsf@thunk.shootybangbang.com> 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 1151946463 31390 80.91.229.2 (3 Jul 2006 17:07:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 3 Jul 2006 17:07:43 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 03 19:07: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 1FxRtS-0003SI-Gb for ged-emacs-devel@m.gmane.org; Mon, 03 Jul 2006 19:07:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FxRtS-0002iW-2y for ged-emacs-devel@m.gmane.org; Mon, 03 Jul 2006 13:07:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FxRtG-0002hq-UQ for emacs-devel@gnu.org; Mon, 03 Jul 2006 13:07:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FxRtD-0002fy-03 for emacs-devel@gnu.org; Mon, 03 Jul 2006 13:07:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FxRtC-0002fv-Rd for emacs-devel@gnu.org; Mon, 03 Jul 2006 13:07:14 -0400 Original-Received: from [207.106.133.28] (helo=proof.pobox.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FxS6h-00072d-9l for emacs-devel@gnu.org; Mon, 03 Jul 2006 13:21:11 -0400 Original-Received: from proof (localhost [127.0.0.1]) by proof.pobox.com (Postfix) with ESMTP id 43F6123934; Mon, 3 Jul 2006 13:06:51 -0400 (EDT) Original-Received: from thunk.shootybangbang.com (thunk.shootybangbang.com [217.169.11.184]) by proof.sasl.smtp.pobox.com (Postfix) with ESMTP id 9712D5B301; Mon, 3 Jul 2006 13:06:49 -0400 (EDT) Original-To: Alan Mackenzie X-Mailer: Norman X-Attribution: JPW X-Face: oX^^1Wzw=7hF+$9sbFF; "@y\k=M:/\KKp>Ix4]Nue{W[-D*|!E&nB]#ZV7!P (Alan Mackenzie's message of "Mon, 3 Jul 2006 18:16:06 +0100") User-Agent: Gnus/5.110006 (No Gnus v0.6) 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:56432 Archived-At: Alan Mackenzie writes: > ;; Make edebug understand the macros. > (eval-after-load "edebug" > '(progn > (def-edebug-spec cc-eval-when-compile t) > (def-edebug-spec c-point t) > (def-edebug-spec c-set-region-active t) > .... > )) How about getting rid of the (eval-after-load "edebug" '(progn ... )) form and instead replacing the `def-edebug-spec' calls with (put 'mumble 'edebug-form-spec 'spec) at toplevel ? Or alternatively having those `def-edebug-spec' calls appear at toplevel where they would be expanded to `put' calls when compiled provided that `def-edebug-spec' is defined (untested) ?