Subject: mailing-list for TeXmacs Users
List archive
From : Sam Liddicott <address@hidden>- To: François Poulain <address@hidden>
- Cc: address@hidden
- Subject: Re: [TeXmacs] More on TeXmacs Footnote behaviour
- Date: Mon, 21 Jan 2013 07:25:30 +0000
The recursion was invoked inside the continuation and I did add render-footnote to the continuation then so it should have recursed into the original definition.
Sam
On Jan 21, 2013 7:22 AM, "François Poulain" <address@hidden> wrote:
Hi Sam,
Le Mon, 21 Jan 2013 02:43:44 +0000,
Sam Liddicott <address@hidden> a écrit :
> Interestingly I had to re-define render-footnote using quasi; adding
> it to the with-default-style closure and defining it like this caused
> a crash (I guess infinite recursion)
> <assign|render-footnote|<macro|nr|body|<with-default-style|<render-footnote|<arg|nr>|<arg|body>>>>>
> I tried deferring evaluation if the inner render-footnote so it would
> take the enclosed value by means of compound, and quote, but it
> always crashed.
I don't understand what do you expect from this code if not a
recursion trap. :)
It's like (define (f x y) (f x y)).
Anyway, we should avoid TeXmacs crash, e.g. using a max recursion depth
counter.
François
--
François Poulain <address@hidden>
- [TeXmacs] More on TeXmacs Footnote behaviour, Arun Kishore, 01/18/2013
- Re: [TeXmacs] More on TeXmacs Footnote behaviour, Sam Liddicott, 01/18/2013
- Re: [TeXmacs] More on TeXmacs Footnote behaviour, Miguel de Benito Delgado, 01/18/2013
- Re: [TeXmacs] More on TeXmacs Footnote behaviour, Sam Liddicott, 01/18/2013
- Re: [TeXmacs] More on TeXmacs Footnote behaviour, Miguel de Benito Delgado, 01/18/2013
- Re: [TeXmacs] More on TeXmacs Footnote behaviour, Sam Liddicott, 01/21/2013
- Re: [TeXmacs] More on TeXmacs Footnote behaviour, Arun Kishore, 01/21/2013
- Re: [TeXmacs] More on TeXmacs Footnote behaviour, François Poulain, 01/21/2013
- Re: [TeXmacs] More on TeXmacs Footnote behaviour, Sam Liddicott, 01/21/2013
- Re: [TeXmacs] More on TeXmacs Footnote behaviour, François Poulain, 01/21/2013
- Re: [TeXmacs] More on TeXmacs Footnote behaviour, Sam Liddicott, 01/21/2013
- Re: [TeXmacs] More on TeXmacs Footnote behaviour, François Poulain, 01/21/2013
- Re: [TeXmacs] More on TeXmacs Footnote behaviour, Sam Liddicott, 01/21/2013
- Re: [TeXmacs] More on TeXmacs Footnote behaviour, François Poulain, 01/21/2013
- Re: [TeXmacs] More on TeXmacs Footnote behaviour, Sam Liddicott, 01/21/2013
- Re: [TeXmacs] More on TeXmacs Footnote behaviour, Sam Liddicott, 01/21/2013
- Re: [TeXmacs] More on TeXmacs Footnote behaviour, Miguel de Benito Delgado, 01/21/2013
- Re: [TeXmacs] More on TeXmacs Footnote behaviour, Sam Liddicott, 01/21/2013
- [TeXmacs] Some questions, Anderson Brasil, 01/23/2013
- Re: [TeXmacs] More on TeXmacs Footnote behaviour, Sam Liddicott, 01/21/2013
- Re: [TeXmacs] More on TeXmacs Footnote behaviour, Miguel de Benito Delgado, 01/18/2013
- Re: [TeXmacs] More on TeXmacs Footnote behaviour, Sam Liddicott, 01/18/2013
- Re: [TeXmacs] More on TeXmacs Footnote behaviour, Miguel de Benito Delgado, 01/18/2013
- Re: [TeXmacs] More on TeXmacs Footnote behaviour, Sam Liddicott, 01/18/2013
Archive powered by MHonArc 2.6.19.