[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Texmacs-dev] problem using action inside a macro
From: |
david |
Subject: |
Re: [Texmacs-dev] problem using action inside a macro |
Date: |
Wed, 23 Apr 2003 11:31:02 +0200 |
User-agent: |
Mutt/1.5.3i |
On Tue, Apr 22, 2003 at 08:01:53PM -0400, Leo Razoumov wrote:
> David,
> thank you for your reply but, apparently, your solution
> does NOT work!!
>
> It seems that "merge" does not work inside the action's second
> argument. Try the following simple example
>
> (action "print me"
> (merge "(write \"print me\")" ""))
>
>
> In my case (TeXmacs-1.0.1, RHL-8.0) action produces no output whatsoever.
Yes, my bad... (merge "foo" "bar") is no more atomic than
(concat "foo" "bar").
Here the trick is to do the merge first, and THEN evaluate the action:
(eval (delay (action "print me" (merge "(write \"print me\")" ""))))
I guess typeset_action could use a fix...
--
-- DDAA