3 Mar 2006 22:10
Re: [TeXmacs] Re: with-cursor macro
David MENTRE <dmentre <at> linux-france.org>
2006-03-03 21:10:13 GMT
2006-03-03 21:10:13 GMT
Hello, [ Follow-up on texmacs-dev <at> , as this more a developer issue. ] Henri Lesourd <texmacs <at> free.fr> writes: > Yes, of courseit 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... Reading such sentences is pretty horrifying to me! TeXmacs should never crash due to an error in a Scheme script. It should give an meaningful error message. Programmers *do* make errors. I can understand that this might not be so easy to do because of the tight integration of Guile with texmacs C++ primitives, but a protection layer should be added to them. Best wishes, d. -- -- pub 1024D/A3AD7A2A 2004-10-03 David MENTRE <dmentre <at> linux-france.org> 5996 CC46 4612 9CA4 3562 D7AC 6C67 9E96 A3AD 7A2A
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...
Reading such sentences is pretty horrifying to me! TeXmacs should never
crash due to an error in a Scheme script. It should give an meaningful
error message.
Programmers *do* make errors.
I can understand that this might not be so easy to do because of the
tight integration of Guile with texmacs C++ primitives, but a protection
layer should be added to them.
Best wishes,
d.
, usually, looking at
a design from several points of view tends to
improve it.
>I'll probably have further questions in the future. ;)
>
>
>
No problem.
RSS Feed