emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] A version of `show-branches' that doesn't expandarchivedsubtrees


From: GNRC
Subject: Re: [O] A version of `show-branches' that doesn't expandarchivedsubtreesss
Date: Fri, 30 May 2014 13:15:13 -0500

Alexander Baier <address@hidden> writes:

> On 2014-05-30 18:27 GNRC wrote:
>> Say I've got the following file:
>> --begin--
>> * Top
>> ** Second
>> *** Third
>> ** Archive :ARCHIVE:
>> *** Thing
>> *** Another thing
>> --end--
>> I'd like to be able to put the cursor at the beginning of that top
>> heading and press (e.g.) C-u C-c C-k, and have it then fold as
>> this:
>> --begin--
>> * Top
>> ** Second
>> *** Third
>> ** Archive :ARCHIVE:...
>> --end--
>
> I do not know how to do this with C-c C-k, but pressing TAB twice on the
> level one heading works for me just as well. The subtree tagged
> with :ARCHIVE: will only open when you press C-TAB.
Ah, my example was incomplete:
Start with
--8<---------------cut here---------------start------------->8---
* Top
top contents
** Second
second contents
*** Third
third contents
** Archive :ARCHIVE:
*** Thing
thing contents
*** Another thing
another thing contents
--8<---------------cut here---------------end--------------->8---
and then get to 
--8<---------------cut here---------------start------------->8---
* Top
** Second
*** Third
** Archive :ARCHIVE:...
--8<---------------cut here---------------end--------------->8---
TAB twice shows the contents. I just want to see the heading structure,
but not that which is under archived subtrees.
>
>> (Side note: what's the function for the pretty scissors begin/end
>> thing?)
>
> Do you mean `message-mark-inserted-region', bound to C-c m in gnus?
Yup, thanks. I'm using mu4e, so it C-c M-m, for any interested mu4e users.
>
> HTH,




reply via email to

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