texmacs-dev
[Top][All Lists]
Advanced

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

Re: [Texmacs-dev] Scheme to Prolog


From: Joris van der Hoeven
Subject: Re: [Texmacs-dev] Scheme to Prolog
Date: Wed, 14 Feb 2007 17:51:43 +0100
User-agent: Mutt/1.5.9i

On Wed, Feb 14, 2007 at 05:45:53PM +0100, Henri Lesourd wrote:
> Joris van der Hoeven wrote:
> >That was not the question which was raised at the very start.
> >
> For sure, it was : the lack of such a function is the
> very reason why it is necessary to speak about using
> paths for accessing the set of buffers. Otherwise, there
> would be no need to speak about paths at all (except
> for other unrelated things which have their own logic,
> like the (insert-go-to ...)).

NO, IT WAS NOT:

> I'am trying to write an extension which uses Prolog. At the moment I want to
> understand how I can access the active Document in Scheme.
>            ----------------------------------------------
> I found the-buffer in a discussion. I tried to use it but got an unbound 
> variable
> error. Is there a module I  need to load? Can anybody give me a hint how to
> use tree_to_texmacs? What I need is to transform the tree to a Prolog
> representation without losing the information on the origanl tree, so that I
> can send back editing commands to texmacs.

The function buffer-tree does exactly this.
Obtaining a list of all buffer would be an interesting other function,
but this was NOT the question.




reply via email to

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