From mboxrd@z Thu Jan 1 00:00:00 1970 From: Memnon Anon Subject: Re: S-TAB cycling opening archive subtrees Date: Fri, 14 Dec 2012 13:37:34 +0000 (UTC) Message-ID: <87txrodarc.fsf@mean.albasani.net> References: <5C767681512C4D3DB18FFD433AE13483@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46430) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjVSb-0001qg-Km for emacs-orgmode@gnu.org; Fri, 14 Dec 2012 08:37:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TjVSa-0006Ve-Kz for emacs-orgmode@gnu.org; Fri, 14 Dec 2012 08:37:53 -0500 Received: from plane.gmane.org ([80.91.229.3]:47616) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjVSa-0006VT-Ed for emacs-orgmode@gnu.org; Fri, 14 Dec 2012 08:37:52 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TjVSj-0004qu-HX for emacs-orgmode@gnu.org; Fri, 14 Dec 2012 14:38:01 +0100 Received: from e178226084.adsl.alicedsl.de ([85.178.226.84]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Dec 2012 14:38:01 +0100 Received: from gegendosenfleisch by e178226084.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Dec 2012 14:38:01 +0100 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: emacs-orgmode@gnu.org Vincent Beffara writes: > When cycling visibility of a subtree using TAB, subtrees with the > :ARCHIVE: tag are not opened, and that is a very good thing. But when > I cycle a buffer globally using S-TAB, their contents are shown, which > feels like the wrong thing to do ... Interesting enough, the subtree is getting closed by org-cycle-hide-archived-subtrees (in org-cycle-hook) at first, but re-opened by a later function: org-cycle-hide-inline-tasks , which calls (hide-sublevels (1- org-inlinetask-min-level)) . Its docstring says "Re-hide inline task when switching to 'contents visibility state.", so I guess it should only hide things, not the opposite. Memnon