From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 02 04:22:21 2013 Received: (at submit) by debbugs.gnu.org; 2 Apr 2013 08:22:21 +0000 Received: from localhost ([127.0.0.1]:57165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UMwU0-0000fd-0O for submit@debbugs.gnu.org; Tue, 02 Apr 2013 04:22:21 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35781) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UMwTv-0000fS-QV for submit@debbugs.gnu.org; Tue, 02 Apr 2013 04:22:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UMwQy-0004VB-0v for submit@debbugs.gnu.org; Tue, 02 Apr 2013 04:19:18 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-102.6 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_LOW,USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:37956) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMwQx-0004V7-Ug for submit@debbugs.gnu.org; Tue, 02 Apr 2013 04:19:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47097) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMwQw-0008Pt-Kl for bug-gnu-emacs@gnu.org; Tue, 02 Apr 2013 04:19:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UMwQp-0004TF-RQ for bug-gnu-emacs@gnu.org; Tue, 02 Apr 2013 04:19:10 -0400 Received: from mail-ve0-f170.google.com ([209.85.128.170]:61618) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMwQp-0004TA-N0 for bug-gnu-emacs@gnu.org; Tue, 02 Apr 2013 04:19:03 -0400 Received: by mail-ve0-f170.google.com with SMTP id 15so160553vea.29 for ; Tue, 02 Apr 2013 01:19:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:sender:x-originating-ip:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to :content-type:x-gm-message-state; bh=fqayf5YoYJoYRXag9Udoa12YcbdLPmA7qXdYgup60rk=; b=hQmKaCVfhzO8w7aBkvT65boaTMhuqWb49T1jMu6tYJEopFlUkL8XvhMMQOTwbQTkPH MPZdNlivQGKKR7oEYMhrTmBBrI3DAuQFRQhHr0NjWYWiW0YOH7mco/W1iyswXADA5IXu CSziN0creSBfB+UIACV8qMN20GBdNGBq1hil3uEV/76a/IQKUl4ffwjV3Pon/4vhOTXa LsmEmdb8XiGNrCTzU4jeVYpB6Eqn2nxzsPbdnd39FjNGCa/Ozzdtw+MaxzLGOTjG1nZq jb4MrFlUeGMBsIRQ8opVlZ3TMAxU/m/bi8aDmEw7Dve3sPE1rq3faMXSWulyhKE957jA 4P2Q== X-Received: by 10.220.177.138 with SMTP id bi10mr11883313vcb.31.1364890743345; Tue, 02 Apr 2013 01:19:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.188.77 with HTTP; Tue, 2 Apr 2013 01:18:43 -0700 (PDT) X-Originating-IP: [109.170.191.194] In-Reply-To: References: From: Michael Olson Date: Tue, 2 Apr 2013 09:18:43 +0100 X-Google-Sender-Auth: AdqPSprtcqSzSkgDDHHqTY2TftA Message-ID: Subject: Fwd: Eager macroexpansion failure in Emacs 24.3 To: bug-gnu-emacs@gnu.org Content-Type: multipart/mixed; boundary=001a11c2bd58ea2f2f04d95c6369 X-Gm-Message-State: ALoCoQnPiwySI8MsRnNkF8XjV4Rj3YZ2EBj71Sk3yIoQPfDNFMfpKM3hMsE73LXpzaF68TGbO40g X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) --001a11c2bd58ea2f2f04d95c6369 Content-Type: multipart/alternative; boundary=001a11c2bd58ea2f2c04d95c6367 --001a11c2bd58ea2f2c04d95c6367 Content-Type: text/plain; charset=UTF-8 ---------- Forwarded message ---------- From: Michael Olson Date: Mon, Apr 1, 2013 at 11:40 AM Subject: Eager macroexpansion failure in Emacs 24.3 To: Emacs Development Discussions emacs --no-init-file --load ~/test-case.el In *Messages* buffer: Eager macro-expansion failure: (error "(erc-response\\.contents parsed) is not a valid place expression") I can work around this by putting (require 'erc) and the function definition in different 'when' blocks, but it's not ideal. The erc-response struct is defined in erc-backend.el, which is loaded by erc.el. Putting (require 'erc) inside of a 'when' statement along with code that relies on functions provided by a struct defined by a file it loads seems to trigger the problem. -- Michael Olson | http://mwolson.org/ -- Michael Olson | http://mwolson.org/ --001a11c2bd58ea2f2c04d95c6367 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


---------- Forwarded me= ssage ----------
From: Michael Olson <= span dir=3D"ltr"><mwolson@gnu.org= >
Date: Mon, Apr 1, 2013 at 11:40 AM
Subject: Eager macroexpansion failure= in Emacs 24.3
To: Emacs Development Discussions <emacs-devel@gnu.org>


emacs --no-init-file --load ~/test-case.el

In *Messages*= buffer:

Eager macro-expansion failure: (erro= r "(erc-response\\.contents parsed) is not a valid place expression&qu= ot;)

I can work around this by putting (require 'erc) an= d the function definition in different 'when' blocks, but it's = not ideal.

The erc-response struct is defined in e= rc-backend.el, which is loaded by erc.el.

Putting (require 'erc) inside of a 'when' s= tatement along with code that relies on functions provided by a struct defi= ned by a file it loads seems to trigger the problem.

--
Michael Olson=C2=A0 |=C2=A0 http://mwolson.org/



--
Michael Olson=C2=A0 |=C2= =A0 http://mwolson.org/
--001a11c2bd58ea2f2c04d95c6367-- --001a11c2bd58ea2f2f04d95c6369 Content-Type: application/octet-stream; name="test-case.el" Content-Disposition: attachment; filename="test-case.el" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hezi346j0 Cih3aGVuIHQKICAocmVxdWlyZSAnZXJjKQogIChkZWZ1biBteS1lcmMtcmVtb3ZlLXRyYWlsaW5n LXdoaXRlc3BhY2UgKHByb2MgcGFyc2VkKQogICAgIlJlbW92ZSB0cmFpbGluZyB3aGl0ZXNwYWNl IGZyb20gdGhlIGN1cnJlbnQgbWVzc2FnZS4KU29tZSBJTSBjbGllbnRzIHVzZSBhbiBPVFIgcGx1 Zy1pbiB0aGF0IHNlbmRzIHNvbWUgYW5ub3lpbmcKdHJhaWxpbmcgc3BhY2UgdG8gdGhlIHNjcmVl biwgc28gd2Ugd2FudCB0byBjbGVhbiB0aGF0IHVwLiIKICAgIChsZXQgKChtc2cgKGVyYy1yZXNw b25zZS5jb250ZW50cyBwYXJzZWQpKSkKICAgICAgKHdoZW4gKHN0cmluZ3AgbXNnKQogICAgICAg IChzZXRmIChlcmMtcmVzcG9uc2UuY29udGVudHMgcGFyc2VkKQogICAgICAgICAgICAgIChlcmMt cmVwbGFjZS1yZWdleHAtaW4tc3RyaW5nICJbWzpzcGFjZTpdXStcXCciICIiIG1zZykpCiAgICAg ICAgbmlsKSkpCiAgKGFkZC1ob29rICdlcmMtc2VydmVyLVBSSVZNU0ctZnVuY3Rpb25zICdteS1l cmMtcmVtb3ZlLXRyYWlsaW5nLXdoaXRlc3BhY2UpKQo= --001a11c2bd58ea2f2f04d95c6369-- From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 03 14:44:42 2013 Received: (at 14121) by debbugs.gnu.org; 3 Apr 2013 18:44:42 +0000 Received: from localhost ([127.0.0.1]:60467 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNSfq-0001p9-Dg for submit@debbugs.gnu.org; Wed, 03 Apr 2013 14:44:42 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:24694) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNSfp-0001oz-2i; Wed, 03 Apr 2013 14:44:41 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFxLSu/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJIgeBsEtkQoDpHqBXoMT X-IPAS-Result: Av4EABK/CFFFxLSu/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJIgeBsEtkQoDpHqBXoMT X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="6406124" Received: from 69-196-180-174.dsl.teksavvy.com (HELO pastel.home) ([69.196.180.174]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 03 Apr 2013 14:41:32 -0400 Received: by pastel.home (Postfix, from userid 20848) id AAFE567A1E; Wed, 3 Apr 2013 14:41:34 -0400 (EDT) From: Stefan Monnier To: Michael Olson Subject: Re: bug#14121: Fwd: Eager macroexpansion failure in Emacs 24.3 Message-ID: References: Date: Wed, 03 Apr 2013 14:41:34 -0400 In-Reply-To: (Michael Olson's message of "Tue, 2 Apr 2013 09:18:43 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 14121 Cc: 14121@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.5 (/) tags 14121 notabug thanks > emacs --no-init-file --load ~/test-case.el [...] > In *Messages* buffer: [...] > Eager macro-expansion failure: (error "(erc-response\\.contents parsed) is > not a valid place expression") Not a big surprise: emacs24 -Q --batch -f batch-byte-compile test-case.el In end of data: test-case.el:14:1:Warning: the following functions are not known to be defined: erc-response.contents, setf, erc-replace-regexp-in-string Wrote /home/monnier/tmp/test-case.elc Emacs-24.3 tries to expand macros more eagerly (i.e. more like the byte-compiler), so files that fail to byte-compile properly are also likely to fail that eager macro-expansion. But do note that the above message is somewhat harmless: when eager macro-expansion fails, Emacs falls back on macro-expanding lazily as it has always done. IOW other than emitting the above message your code should still work fine. Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 03 14:50:31 2013 Received: (at 14121) by debbugs.gnu.org; 3 Apr 2013 18:50:31 +0000 Received: from localhost ([127.0.0.1]:60478 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNSlT-0001yq-DT for submit@debbugs.gnu.org; Wed, 03 Apr 2013 14:50:31 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:36591) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNSlQ-0001yd-Fu for 14121@debbugs.gnu.org; Wed, 03 Apr 2013 14:50:29 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MKP00M0000LGN00@a-mtaout20.012.net.il> for 14121@debbugs.gnu.org; Wed, 03 Apr 2013 21:47:11 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MKP00L3W06NF0L0@a-mtaout20.012.net.il>; Wed, 03 Apr 2013 21:47:11 +0300 (IDT) Date: Wed, 03 Apr 2013 21:47:46 +0300 From: Eli Zaretskii Subject: Re: bug#14121: Fwd: Eager macroexpansion failure in Emacs 24.3 In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <83d2ubh2nh.fsf@gnu.org> References: X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 14121 Cc: 14121@debbugs.gnu.org, mwolson@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: Stefan Monnier > Date: Wed, 03 Apr 2013 14:41:34 -0400 > Cc: 14121@debbugs.gnu.org > > Emacs-24.3 tries to expand macros more eagerly (i.e. more like the > byte-compiler), so files that fail to byte-compile properly are also > likely to fail that eager macro-expansion. > > But do note that the above message is somewhat harmless: when eager > macro-expansion fails, Emacs falls back on macro-expanding lazily as it > has always done. Perhaps the failure message should mention that. From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 03 19:44:39 2013 Received: (at 14121) by debbugs.gnu.org; 3 Apr 2013 23:44:39 +0000 Received: from localhost ([127.0.0.1]:60762 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNXM6-0001uO-LU for submit@debbugs.gnu.org; Wed, 03 Apr 2013 19:44:39 -0400 Received: from mail-vc0-f172.google.com ([209.85.220.172]:42391) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNXM3-0001uE-Tc for 14121@debbugs.gnu.org; Wed, 03 Apr 2013 19:44:37 -0400 Received: by mail-vc0-f172.google.com with SMTP id hr11so1914937vcb.31 for <14121@debbugs.gnu.org>; Wed, 03 Apr 2013 16:41:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:sender:x-originating-ip:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:x-gm-message-state; bh=7cpm6D+o8bphJLVqTdStSqHos2s8PzKlzxr3o14okd0=; b=GbKUl95rND1if3YgSp6tWeRJUhtDd6iQAdoNEbIiLjOdCBgdRafMbdaaJCi86e1tsk 3BewD7Ut3wg0A/rNazYIoJuwQcFqYBHAcOCVtEYukBEW+sYoGuK8pv4VDa4ekPhbxdcA eNlRtcH0NS9UoLJOKhX0/h8B7nv/gRuvyTzAQyPhPB6Skh25ZUw91qo48fH5BCtFLO2d UizR2IXT2ThWgDikSrR095J1oRCM4rZTW0JU9Wn271hADHN5Dw3FqFRZpzYYFGkXtp38 cMHKDY6Z8ejBsVJXxwI+g3v2wzjuLjeV4A5K6Tn3tjOfdxRDrraM/QfMUGnfWea19PT3 nUAw== MIME-Version: 1.0 X-Received: by 10.58.224.101 with SMTP id rb5mr3053739vec.17.1365032488810; Wed, 03 Apr 2013 16:41:28 -0700 (PDT) Received: by 10.58.188.77 with HTTP; Wed, 3 Apr 2013 16:41:28 -0700 (PDT) X-Originating-IP: [166.137.179.9] In-Reply-To: <83d2ubh2nh.fsf@gnu.org> References: <83d2ubh2nh.fsf@gnu.org> Date: Thu, 4 Apr 2013 00:41:28 +0100 X-Google-Sender-Auth: TPOpgkY6ViZ2FFrEQc_riNKUoEs Message-ID: Subject: Re: bug#14121: Fwd: Eager macroexpansion failure in Emacs 24.3 From: Michael Olson To: Eli Zaretskii Content-Type: multipart/alternative; boundary=089e0117635f9a4c5604d97d649b X-Gm-Message-State: ALoCoQn/J2t4+zG5NOmFiw8B4gdwwXek+Zy+xUrbLY8pgfCbZ8xW9fEr+z+sblAwfNjkA5dRwuUE X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 14121 Cc: "14121@debbugs.gnu.org" <14121@debbugs.gnu.org>, "mwolson@gnu.org" , Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) --089e0117635f9a4c5604d97d649b Content-Type: text/plain; charset=UTF-8 If the message really is harmless (and no change to the code is recommended, which seems to be the case), then it really ought to be removed completely. On Wednesday, April 3, 2013, Eli Zaretskii wrote: > > From: Stefan Monnier > > > Date: Wed, 03 Apr 2013 14:41:34 -0400 > > Cc: 14121@debbugs.gnu.org > > > > Emacs-24.3 tries to expand macros more eagerly (i.e. more like the > > byte-compiler), so files that fail to byte-compile properly are also > > likely to fail that eager macro-expansion. > > > > But do note that the above message is somewhat harmless: when eager > > macro-expansion fails, Emacs falls back on macro-expanding lazily as it > > has always done. > > Perhaps the failure message should mention that. > -- Michael Olson | http://mwolson.org/ --089e0117635f9a4c5604d97d649b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable If the message really is harmless (and no change to the code is recommended= , which seems to be the case), then it really ought to be removed completel= y.

On Wednesday, April 3, 2013, Eli Zaretskii wrote:
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Date: Wed, 03 Apr 2013 14:41:34 -0400
> Cc: 14121@debbugs.gnu.org
>
> Emacs-24.3 tries to expand macros more eagerly (i.e. more like the
> byte-compiler), so files that fail to byte-compile properly are also > likely to fail that eager macro-expansion.
>
> But do note that the above message is somewhat harmless: when eager > macro-expansion fails, Emacs falls back on macro-expanding lazily as i= t
> has always done.

Perhaps the failure message should mention that.


--
Michael Olson=C2=A0 |=C2=A0 http://mwolson.org/
--089e0117635f9a4c5604d97d649b-- From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 03 20:54:56 2013 Received: (at 14121) by debbugs.gnu.org; 4 Apr 2013 00:54:56 +0000 Received: from localhost ([127.0.0.1]:60818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNYS7-0003eb-6n for submit@debbugs.gnu.org; Wed, 03 Apr 2013 20:54:56 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:32479) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNYS2-0003eP-Mp for 14121@debbugs.gnu.org; Wed, 03 Apr 2013 20:54:51 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFxLSu/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJIgeBsEtkQoDpHqBXoMT X-IPAS-Result: Av4EABK/CFFFxLSu/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJIgeBsEtkQoDpHqBXoMT X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="6434522" Received: from 69-196-180-174.dsl.teksavvy.com (HELO ceviche.home) ([69.196.180.174]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 03 Apr 2013 20:51:40 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 33B42660E5; Wed, 3 Apr 2013 20:51:43 -0400 (EDT) From: Stefan Monnier To: Michael Olson Subject: Re: bug#14121: Fwd: Eager macroexpansion failure in Emacs 24.3 Message-ID: References: <83d2ubh2nh.fsf@gnu.org> Date: Wed, 03 Apr 2013 20:51:43 -0400 In-Reply-To: (Michael Olson's message of "Thu, 4 Apr 2013 00:41:28 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 14121 Cc: Eli Zaretskii , "14121@debbugs.gnu.org" <14121@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > If the message really is harmless (and no change to the code is > recommended, which seems to be the case), No, the message does mean "you should fix your code". It's just that we additionally try to handle it right, for backward compatibility's sake. Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 03 23:26:03 2013 Received: (at 14121) by debbugs.gnu.org; 4 Apr 2013 03:26:03 +0000 Received: from localhost ([127.0.0.1]:60969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNaoM-0007sI-AS for submit@debbugs.gnu.org; Wed, 03 Apr 2013 23:26:03 -0400 Received: from mail-vc0-f181.google.com ([209.85.220.181]:49921) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNaoJ-0007rq-F7 for 14121@debbugs.gnu.org; Wed, 03 Apr 2013 23:26:00 -0400 Received: by mail-vc0-f181.google.com with SMTP id hv10so2032926vcb.12 for <14121@debbugs.gnu.org>; Wed, 03 Apr 2013 20:22:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:sender:x-originating-ip:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to:cc :content-type:x-gm-message-state; bh=tBe5KdZMeQapuragAWYSSL0ShltR7WIe+UuFW0ODsjI=; b=jjp2q3xC1qX7Wygmtf+HURuqZukue/ymVKEp7DMsECfZj6QI7nZA0IAaY/aEq/yDxW l3vESXVbmsgCOyUSPT9a3bSRelLRRrLnAM9zv0orfiZLcjocyhxNwxkvF5TYBE9Qjmot tpyhyN/smiE4AKfD/w0dpFPWX1vXpzJQO0SheIwXLN38xyFdIS3JYsnQTLAfRxkRo7gI 5lEMqsRjpHS4yGrIGhm6u9EvDuMxKbsNcS9cW76InxYroE59K/zG83lIYZ8JcpckZs3+ hZHv/CnwqEmuK5jPV7+UsDVBGVVY8PS45m0ENormfSZI2Nw6LCfsSwvQ1AhlghymjYWM 3d1Q== X-Received: by 10.58.224.101 with SMTP id rb5mr3477374vec.17.1365045771767; Wed, 03 Apr 2013 20:22:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.188.77 with HTTP; Wed, 3 Apr 2013 20:22:31 -0700 (PDT) X-Originating-IP: [99.116.250.80] In-Reply-To: References: <83d2ubh2nh.fsf@gnu.org> From: Michael Olson Date: Wed, 3 Apr 2013 20:22:31 -0700 X-Google-Sender-Auth: Oo2oE2rFOEo0Ivx2AvnMhpWO5t0 Message-ID: Subject: Re: bug#14121: Fwd: Eager macroexpansion failure in Emacs 24.3 To: Stefan Monnier Content-Type: multipart/alternative; boundary=089e0117635f5429f104d9807c56 X-Gm-Message-State: ALoCoQlE/+oAxIA0/ffmpAx2a6vpuMLTJEYmK8la5kIpQO/4ZKbHCMhjMEwiJNWXWkcKOXRlxpl5 X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 14121 Cc: Eli Zaretskii , "14121@debbugs.gnu.org" <14121@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) --089e0117635f5429f104d9807c56 Content-Type: text/plain; charset=UTF-8 What is the "fix" then? Using a macro in the same 'when' block that the macro is defined in doesn't seem wrong to me. On Wed, Apr 3, 2013 at 5:51 PM, Stefan Monnier wrote: > > If the message really is harmless (and no change to the code is > > recommended, which seems to be the case), > > No, the message does mean "you should fix your code". It's just that we > additionally try to handle it right, for backward compatibility's sake. > > > Stefan > -- Michael Olson | http://mwolson.org/ --089e0117635f5429f104d9807c56 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
What is the "fix" then? =C2=A0Using a macro in t= he same 'when' block that the macro is defined in doesn't seem = wrong to me.


On Wed, Apr 3, 2013 at 5:51 PM, Stefan Monnier <<= a href=3D"mailto:monnier@iro.umontreal.ca" target=3D"_blank">monnier@iro.um= ontreal.ca> wrote:
> If the message really= is harmless (and no change to the code is
> recommended, which seems to be the case),

No, the message does mean "you should fix your code". =C2= =A0It's just that we
additionally try to handle it right, for backward compatibility's sake.=


=C2=A0 =C2=A0 =C2=A0 =C2=A0 Stefan



-- Michael Olson=C2=A0 |=C2=A0 http://mwolson.org/
--089e0117635f5429f104d9807c56-- From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 04 08:36:41 2013 Received: (at 14121) by debbugs.gnu.org; 4 Apr 2013 12:36:41 +0000 Received: from localhost ([127.0.0.1]:33173 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNjPE-00071H-Ux for submit@debbugs.gnu.org; Thu, 04 Apr 2013 08:36:41 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:35414) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNjPD-00071B-Uz for 14121@debbugs.gnu.org; Thu, 04 Apr 2013 08:36:40 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFxLSu/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJIgeBsEtkQoDpHqBXoMT X-IPAS-Result: Av4EABK/CFFFxLSu/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJIgeBsEtkQoDpHqBXoMT X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="6457319" Received: from 69-196-180-174.dsl.teksavvy.com (HELO pastel.home) ([69.196.180.174]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 04 Apr 2013 08:33:27 -0400 Received: by pastel.home (Postfix, from userid 20848) id AA76967C34; Thu, 4 Apr 2013 08:33:29 -0400 (EDT) From: Stefan Monnier To: Michael Olson Subject: Re: bug#14121: Fwd: Eager macroexpansion failure in Emacs 24.3 Message-ID: References: <83d2ubh2nh.fsf@gnu.org> Date: Thu, 04 Apr 2013 08:33:29 -0400 In-Reply-To: (Michael Olson's message of "Wed, 3 Apr 2013 20:22:31 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 14121 Cc: Eli Zaretskii , "14121@debbugs.gnu.org" <14121@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > What is the "fix" then? E.g. move the `require' to the top-level. > Using a macro in the same 'when' block that the > macro is defined in doesn't seem wrong to me. It is, because macro expansion can take place (long) before the code is executed, i.e. long before the macro is defined. Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue May 07 03:25:25 2013 Received: (at control) by debbugs.gnu.org; 7 May 2013 07:25:25 +0000 Received: from localhost ([127.0.0.1]:60535 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UZcH5-00087J-EQ for submit@debbugs.gnu.org; Tue, 07 May 2013 03:25:24 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:46907) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UZcH3-000875-7h for control@debbugs.gnu.org; Tue, 07 May 2013 03:25:21 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1UZcG2-0007TD-Kv for control@debbugs.gnu.org; Tue, 07 May 2013 03:24:18 -0400 Date: Tue, 07 May 2013 03:24:18 -0400 Message-Id: Subject: control message for bug 14121 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.4 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) tag 14121 notabug close 14121 From unknown Sat Aug 16 21:01:42 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 04 Jun 2013 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator