|
From: | Sam Liddicott |
Subject: | Re: [Texmacs-dev] How texmacs is so slow for my macro |
Date: | Sat, 09 Apr 2011 15:01:41 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17pre) Gecko/20110408 Lanikai/3.1.10pre |
On 07/04/11 10:44, Gubinelli Massimiliano wrote:
Hi Sam,I guess that you approach could work, I would have done the same. Unfortunately the only one well acquainted with TeXmacs macro handling optimizations (to my knowledge) is Joris and I do not know if in this moment he has the time to follow the discussion on the list.It would be interesting if you continue to report your progress to the list, so that we can build some knowledge on macro writing techniques. Ideally we would need a wiki to gather all this....
I do manage to have a defining macro, so that I can make a new nf-chunk-XXX macro for a chunk called XXX, but chunks generally have the name as a parameter so that a chunk can easily have a new name. So the wrapper macro that invokes the current chunk macro still exists and suffers the same problem.
I think maybe I need sneaky access so a macro can declare that some of it's args should be included with it as part of the key to what I suppose is used in the optimization routines.
Sam
[Prev in Thread] | Current Thread | [Next in Thread] |