From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bojohan+news@dd.chalmers.se (Johan =?utf-8?Q?Bockg=C3=A5rd?=) Newsgroups: gmane.emacs.devel Subject: Re: [drew.adams@oracle.com: RE:weirddefadvicebugwithbyte-compilation] Date: Wed, 14 Dec 2005 18:17:01 +0100 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1134594940 11406 80.91.229.2 (14 Dec 2005 21:15:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 14 Dec 2005 21:15:40 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 14 22:15:38 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EmdwV-0006UO-84 for ged-emacs-devel@m.gmane.org; Wed, 14 Dec 2005 22:13:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Emdx6-0006bn-EG for ged-emacs-devel@m.gmane.org; Wed, 14 Dec 2005 16:14:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EmaTS-0001mN-0T for emacs-devel@gnu.org; Wed, 14 Dec 2005 12:31:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EmaRj-0000d2-Id for emacs-devel@gnu.org; Wed, 14 Dec 2005 12:29:46 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EmaRW-0000WQ-P3 for emacs-devel@gnu.org; Wed, 14 Dec 2005 12:29:31 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1EmaTc-00013m-B4 for emacs-devel@gnu.org; Wed, 14 Dec 2005 12:31:40 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EmaLT-000115-Dg for emacs-devel@gnu.org; Wed, 14 Dec 2005 18:23:15 +0100 Original-Received: from linus019.dd.chalmers.se ([129.16.117.219]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 Dec 2005 18:23:15 +0100 Original-Received: from bojohan+news by linus019.dd.chalmers.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 Dec 2005 18:23:15 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-To: emacs-devel@gnu.org Original-Lines: 22 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: linus019.dd.chalmers.se Mail-Copies-To: never User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:SeYsLWCz/l69EysrDSoYzIR1l9k= 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:47717 Archived-At: "Drew Adams" writes: [ad-default-compilation-action] > The default value is `maybe', and that's the value I had. The doc > string says that that means that activation will also compile - if > the byte-compiler is already loaded. I have no idea what loads the > byte compiler, or why its being loaded would be the criterion > applied here, but I must assume that in my case it was already > loaded, and that that is the default situation (?). The byte-compiler is not loaded by default. The (defadvice ... (... compile)...) in bar.el makes the difference. > But I guess the `compile' FLAG for defadvice acts like the COMPILE > arg to ad-activate in this regard (not mentioned in the doc string). > Is that correct? It seems so. -- Johan Bockgård