From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Olson Newsgroups: gmane.emacs.bugs Subject: bug#14121: Fwd: Eager macroexpansion failure in Emacs 24.3 Date: Tue, 2 Apr 2013 09:18:43 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=001a11c2bd58ea2f2f04d95c6369 X-Trace: ger.gmane.org 1364890822 28120 80.91.229.3 (2 Apr 2013 08:20:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Apr 2013 08:20:22 +0000 (UTC) To: 14121@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 02 10:20:50 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UMwSU-0007Oc-4Z for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Apr 2013 10:20:46 +0200 Original-Received: from localhost ([::1]:57247 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMwS5-0000UQ-F5 for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Apr 2013 04:20:21 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47392) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMwRu-0000TR-R7 for bug-gnu-emacs@gnu.org; Tue, 02 Apr 2013 04:20:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UMwRq-00059g-2v for bug-gnu-emacs@gnu.org; Tue, 02 Apr 2013 04:20:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53056) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMwRq-00059a-0N for bug-gnu-emacs@gnu.org; Tue, 02 Apr 2013 04:20:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UMwUg-0000gs-QC for bug-gnu-emacs@gnu.org; Tue, 02 Apr 2013 04:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Olson Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 02 Apr 2013 08:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14121 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13648909412585 (code B ref -1); Tue, 02 Apr 2013 08:23:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Apr 2013 08:22:21 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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) Original-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: X-Google-Sender-Auth: AdqPSprtcqSzSkgDDHHqTY2TftA 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:73088 Archived-At: --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--