On Mon, Oct 23, 2006 at 03:14:32PM +0200, Lionel Elie Mamane wrote:
> On Mon, Oct 23, 2006 at 11:49:02AM +0200, Lionel Elie Mamane wrote:
>> The problem happens at the time the user types "enter"
> It seems related to having a Scheme variable containing a position
> (set with "position-set") that points within the document snippet
> that gets removed, but I haven't been able yet to reproduce it with
> the pnambic plugin. Still trying...
I nailed it down. Here is a small reproduction case:
1) Install the pnambic plugin
2) Open attached document
3) Do *not* insert _anything_ before the pnambic session, not even a
blank paragraph.
4) Go directly to the first input field of the pnambic session, press
the enter key.
5) Give this as input:
[02]command:(define p (position-new))(position-set p '(0 0 4 0 1 0))(set! p
#f)[05]
6) Wait a fraction of a second (this is necessary to separate the
startup input from the answer to the request).
7) Give this as input:
[02]command:(set! p (position-new))(position-set p '(0 0 4 0 1 0))[05]
--
Lionel
<TeXmacs|1.0.6.6>
<style|generic>
<\body>
<with|prog-language|pnambic|prog-session|default|<\session>
<\input|pnambic] >
a
</input>
<\input|pnambic] >
\;
</input>
</session>>
</body>_______________________________________________
Texmacs-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/texmacs-dev