texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] Guile modules and redefining functions


From: Joris van der Hoeven
Subject: Re: [Texmacs-dev] Guile modules and redefining functions
Date: Fri, 11 Apr 2003 10:55:56 +0200 (CEST)

> Hi All,
> For the sake of displaying labels I have to redifine
> make-inactive-label functions. In TeXmacs-1.0.1 the following
> definition placed in my-init-texmacs.scm did the job
>
>     (define (make-inactive-label) (make-expand-arg "label"))
>
> However, this redifinition has no affect when used with TeXmacs-1.0.1.10.
> I suspect that it is related to guile module system which is now being used.
> I am completely unfamiliar with guile and its documentation really sucks.
>
> Anyway, how could I redefine a Guile functions previously defined somewhere
> in TeXmacs at global scope or exported from some module??

Yes, you have to include a '(use-modules xxx)',
where 'xxx' is the name of the module which defines
make-inactive-label and make-expand-arg.

Sorry for the inconvenience; as the reorganization proceeds,
I hope that we will find some time to document the Guile interface.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]