From mboxrd@z Thu Jan 1 00:00:00 1970 From: GNRC Subject: Re: A version of `show-branches' that doesn't expandarchivedsubtreesss Date: Fri, 30 May 2014 13:15:13 -0500 Message-ID: <87ha47kua6.fsf@h.attlocal.net> References: <87k394kois.fsf@h.attlocal.net> <87k393x162.fsf@bzg.ath.cx> <87ioonkzac.fsf@h.attlocal.net> <87ha47i53x.fsf@mailbox.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54835) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WqRKw-0002IK-Qt for emacs-orgmode@gnu.org; Fri, 30 May 2014 14:15:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WqRKn-0001GQ-Cd for emacs-orgmode@gnu.org; Fri, 30 May 2014 14:15:26 -0400 Received: from nm23-vm2.bullet.mail.gq1.yahoo.com ([98.136.217.81]:38983) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WqRKn-0001G0-3T for emacs-orgmode@gnu.org; Fri, 30 May 2014 14:15:17 -0400 In-reply-to: <87ha47i53x.fsf@mailbox.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Alexander Baier Cc: Bastien , GNRC , emacs-orgmode@gnu.org Alexander Baier 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,