texmacs-dev
[Top][All Lists]
Advanced

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

Re: [Texmacs-dev] Changed semantics of 'action' tags


From: François Poulain
Subject: Re: [Texmacs-dev] Changed semantics of 'action' tags
Date: Thu, 28 Nov 2013 15:12:32 +0100

Le Thu, 14 Nov 2013 14:53:22 +0100,
Joris van der Hoeven <address@hidden> a écrit :

> I changed the semantics of action tags, to make them behave in
> a similar way as extern tags (a function name + an arbitrary
> number of arguments).  For the moment, I still support
> the old semantics in a heuristic way, but please be aware
> that this will now be deprecated.
> 
> Example: (action "hi" "(display* \"hi\\n\")") should become
> (action "hi" "(lambda () (display* \"hi\\n\"))")

So, we should substitute all code like

<action| |mouse-fold|<arg|x>>

by code like :

<action| |(lambda (y) (mouse-fold y))|<arg|x>>

??

François

-- 
François Poulain <address@hidden>



reply via email to

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