Le Thu, 17 Jul 2014 08:43:15 +0100,
Sam Liddicott <[email protected]> a écrit :
> Open test.tm which uses test.ts and type: \bogus ENTER and you will
> get the stack overflow on the terminal console from which texmacs was
> launched.
Thank you. The difference was that your macro is defined in a .ts file.
This imply different behaviour.
Here is a fix. I will commit it when possible.
François
--
François Poulain <[email protected]>
diff --git a/TeXmacs/progs/source/macro-search.scm b/TeXmacs/progs/source/macro-search.scm
index 2c02d69..1610a7a 100644
--- a/TeXmacs/progs/source/macro-search.scm
+++ b/TeXmacs/progs/source/macro-search.scm
@@ -53,6 +53,7 @@
(define (collect-options l t)
(when (not (ahash-ref t l))
;;(display* "Collect " l "\n")
+ (ahash-set! t l '())
(ahash-set! t l
(with std (standard-options (string->symbol l))
(append-options std
_______________________________________________
Texmacs-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/texmacs-dev