Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] use-syntax for TeXmacs guile modules

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] use-syntax for TeXmacs guile modules


Chronological Thread 
  • From: Lionel Elie Mamane <address@hidden>
  • To: Henri Lesourd <address@hidden>
  • Cc: address@hidden
  • Subject: Re: [TeXmacs] use-syntax for TeXmacs guile modules
  • Date: Wed, 18 Oct 2006 16:30:58 +0200

On Wed, Oct 18, 2006 at 03:30:45PM +0200, Henri Lesourd wrote:
> Lionel Elie Mamane wrote:

> >How does one import a syntax extension from a Guile library into a
> >TeXmacs module? At a guile prompt, I can do
> >(use-syntax (ice-9 syncase))
> >and I can use the :use-syntax option for a Guile module. But how do I
> >do that for a TeXmacs module?

> >putting
> >(use-syntax (ice-9 syncase))
> >in the code gives an error message:
> >/usr/share/guile/1.6/ice-9/syncase.scm:130:16: In procedure scm-error in
> >expression (scm-error (quote misc-error) who ...):
> >/usr/share/guile/1.6/ice-9/syncase.scm:130:16: invalid syntax (safe-cdr .
> >args)

> Strange. Perhaps a version problem of Guile,

So if I recompile my TeXmacs with the guile I have installed it might
work?

> or either, ice-9 is not installed inside the embedded Guile inside
> TeXmacs, whether it is in the CLI guile which separately can be run
> directly under UNIX.

If this were the case, I'd expect a message like "no such file" or "no
such module", not an error on _loading_ the file.

--
Lionel



Archive powered by MHonArc 2.6.19.

Top of Page