Hi Max, On my machine #\x02 is not regarded as a char. This error is only for guile1.8. Also tested guile 2 and 3, they are okay.
Sincerely, Hammer Hu > On Sep 25, 2022, at 12:34 PM, Massimiliano Gubinelli <m.gubine...@gmail.com> > wrote: > > Dear all, > > the current svn version (r13908) of TeXmacs freezes at startup as soon as I > try to type in something (the color wheel start spinning indefinitely). It > seems to me that the change I reproduce below is responsible for the problem > (introduced in r13906). Can somebody confirm the problem? I'm not sure what > is going on since the change seems legit to me. > > Best > Max > > > > Index: TeXmacs/progs/utils/plugins/plugin-cmd.scm > =================================================================== > --- TeXmacs/progs/utils/plugins/plugin-cmd.scm (revision 13905) > +++ TeXmacs/progs/utils/plugins/plugin-cmd.scm (revision 13906) > @@ -36,9 +36,9 @@ > > (tm-define (generic-serialize lan t) > (with u (pre-serialize lan t) > - (string-append (char->string #\002) "verbatim:" > + (string-append (char->string #\x02) "verbatim:" > (escape-generic (texmacs->code u)) > - (char->string #\005)))) > + (char->string #\x05)))) > > (tm-define (plugin-serialize lan t) > (with fun (ahash-ref plugin-serializer lan) > @@ -56,7 +56,7 @@ > (define plugin-commander (make-ahash-table)) > > (define (default-format-command s) > - (string-append (char->string #\020) s "\n")) > + (string-append (char->string #\x10) s "\n")) > > (tm-define (format-command lan s) > (with fun (ahash-ref plugin-commander lan) > > > > > _______________________________________________ > Texmacs-dev mailing list > Texmacs-dev@gnu.org > https://lists.gnu.org/mailman/listinfo/texmacs-dev _______________________________________________ Texmacs-dev mailing list Texmacs-dev@gnu.org https://lists.gnu.org/mailman/listinfo/texmacs-dev