texmacs-dev
[Top][All Lists]
Advanced

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

[Texmacs-dev] Re: Debugging memory management in TeXmacs


From: Lionel Elie Mamane
Subject: [Texmacs-dev] Re: Debugging memory management in TeXmacs
Date: Mon, 23 Oct 2006 15:55:25 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

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

Attachment: blah.tm
Description: Text Data


reply via email to

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