[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] A weird warning and a test (eager macro expansion) error

From: Bastien
Subject: Re: [O] A weird warning and a test (eager macro expansion) error
Date: Tue, 05 Nov 2013 21:59:11 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Hi Achim,

Achim Gratz <address@hidden> writes:

> This is caused by the following constructs in test-ob.el:
> (ert-deftest test-org-babel/inline-src_blk-default-results-replace-line-1 ()
>   (let ((test-line "src_sh{echo 1}"))
>     ;; src_ at bol line 1...
>     (org-test-with-temp-text
>       test-line
> ert-deftest is a macro and when it gets expanded the let binding is not
> yet established, thus the expansion of test-line fails further down in
> the body.  I'm not sure if this is supposed to work or not.  The older
> Emacsen just didn't expand the macro at all so the body was interpreted
> at runtime, Stefan Monnier made this an error a while back in trunk,
> IIRC.  You might ask on emacs-devel for more details.

Thanks -- I remember we had this issue before.  I'm just surprise I'm
the first one to report it, I assume many people use a recent Emacs
with macro expansion done this way.

Can you ask this on emacs-devel and see what could be done?

Or someone else that grok the issue well?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]