mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] Re: with-cursor macro


Chronological Thread 
  • From: Henri Lesourd <address@hidden>
  • To: Lionel Elie Mamane <address@hidden>
  • Cc: address@hidden
  • Subject: Re: [TeXmacs] Re: with-cursor macro
  • Date: Tue, 28 Feb 2006 22:38:53 +0100

Lionel Elie Mamane wrote:

On Tue, Feb 28, 2006 at 09:37:19PM +0100, Henri Lesourd wrote:

Lionel Elie Mamane wrote:

On Tue, Feb 28, 2006 at 05:59:57PM +0100, Lionel Elie Mamane wrote:



The documentation (doc/devel/scheme/edit/edit-model.en.tm) refers
to the "with-cursor" macro to do something with a temporarily
different cursor position.



(import-from (utils library cursor)) did it.



Great ! I didn't even knew that this (potentially
very useful) function existed.


The import statement defines the macro, but TeXmacs is quite crashy
when I try to use it. I tried to prepare a minimal file that
reproduces the crash, but then it started working. Go figure. Maybe
TeXmacs crashes when you pass an invalid path to with-cursor?


Yes, of course :-( it crashes when you use an invalid
path, its exactly the same as with (go-to <path>), or
with other function, like (path-assign), for example.

Thus your code must *never* do any error with the paths...




Archive powered by MHonArc 2.6.19.

Top of page