texmacs-dev
[Top][All Lists]
Advanced

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

Re: [Texmacs-dev] trees


From: Miguel de Benito Delgado
Subject: Re: [Texmacs-dev] trees
Date: Wed, 17 Oct 2012 13:18:05 +0200

On Tue, Oct 2, 2012 at 11:29 AM, Michael Lachmann <address@hidden> wrote:
I still don't understand trees and select...

I tried to select all nf-chunks that have name1 as the second
argument, and didn't manage to do
that... (or maybe I need to manually scan through select on nf-chunk?)

 
I also didn't totally manage to recreate what the documentation says.
:#n doesn't seem to work.
 
Yes, the documentation is wrong. To match you want :%n instead. Or to select the n-th child just use the number, like in

 (select (buffer-tree) '(:* nf-chunk 1))

I guess there's a way to select those whose n-th argument equals some value, but out of the top of my head I cannot think of one. You could simply select all then filter the list in scheme.

Best,
Miguel.

reply via email to

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