[code] Re: Recursive fold_all

From: Carlos Pita <carlosjosepita.att.gmail.com>
Date: Tue, 3 Mar 2015 17:39:10 -0300

PS: notice I'm not able to use fold_children, at least in a trivial
way, because I want to (recursively) fold *all* the buffer.

On Tue, Mar 3, 2015 at 5:32 PM, Carlos Pita <carlosjosepita.att.gmail.com> wrote:
> Hi all,
>
> Not sure whether this is intended or not. Say I do a fold_all contract
> in a buffer with a structure like this:
>
> fold_1:
> fold_11:
> ....
> fold_12:
> ....
>
> I get:
>
> +fold_1...
>
> which is fine. Now if I press C-* over the fold, I get:
>
> fold_1:
> fold_11:
> ....
> fold_12:
> ....
>
>
> again (that is, all subfolds expanded). But if I manually toggle
> fold_11, fold_12 and fold_1, in that order, using C-*, so that I get:
>
> +fold_1...
>
> as before, now pressing C-* over the fold returns:
>
> fold_1:
> +fold_11...
> +fold_12...
>
> I would like to use fold_all in order to get an outline of the buffer
> and then selectively unfold the branch of the tree I'm interested in.
> But fold_all seems not to fold recursively but just the top level.
>
> Is this intended? Am I doing something wrong?
>
> Cheers
> --
> Carlos

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Tue 03 Mar 2015 - 15:39:10 EST

This archive was generated by hypermail 2.2.0 : Wed 04 Mar 2015 - 06:46:12 EST