On Tue, Oct 2, 2012 at 11:29 AM, Michael Lachmann <lachm...@eva.mpg.de>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.
_______________________________________________
Texmacs-dev mailing list
Texmacs-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev

Reply via email to