Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] /tmp/foo permission problem

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] /tmp/foo permission problem


Chronological Thread 
  • From: "Andrey G. Grozin" <address@hidden>
  • To: Robert Jerrard <address@hidden>
  • Cc: address@hidden
  • Subject: Re: [TeXmacs] /tmp/foo permission problem
  • Date: Thu, 6 Oct 2005 14:30:46 +0700 (NOVST)

On Wed, 5 Oct 2005, Robert Jerrard wrote:
> Thanks Andrey! With regard to your comment: "then the user will see two
> identical input line numbers after re-executing an old line". My
> thinking was that if a line is re-executed the input number would be
> changed the next unused input number so it there is a blank input line
> (%i10) waiting for use, but the user goes back an edits something you
> would treat (%i10) as if it had been executed and give the edited line
> (%i11). If the user then types something into (%i10) it would be treated
> as an edited line and changed to (%i12). Would that be do-able?
No. Maxima numbers inputs sent to it sequentially, without gaps. Suppose
we have

(%i10) blablabla;

(%o10) blablabla

(%i11)

The user edits the line (%i10) and sends it to Maxima. Maxima *knows* that
this is the line (%i11), and there is no way (as far as I can tell) to
tell it that it is something different. This fact does not depend on the
contents of the TeXmacs window.

We really can change (in TeXmacs) the input prompt of the current line,
when the user sends it to Maxima, to be the latest prompt. This requires
some non-trivial changes in TeXmacs, but this is doable. When the user
edits the line (%i10), [s]he sees

(%i10) blabla2;

(%o10) blablabla

(%i11)

Then [s]he presses Enter, and sees

(%i11) blabla2;

(%o11) blabla2

(%i11)

Is this the behaviour you want? If so, this can be done,═though some
non-trivial work is required.

Andrey




Archive powered by MHonArc 2.6.19.

Top of Page