From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer Stengele Subject: Re: how to show all subheadings of "current level +1", then all of "current level +2" etc. Date: Thu, 30 Sep 2010 15:41:31 +0200 Message-ID: <4CA4938B.7060107@diplan.de> References: <4C5A6D55.3090805@diplan.de> <87d3tw5bn1.fsf@gnu.org> <4C5BDC49.7070900@diplan.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=57926 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1JOK-0003Hd-Fg for emacs-orgmode@gnu.org; Thu, 30 Sep 2010 09:41:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P1JOJ-0001ML-0h for emacs-orgmode@gnu.org; Thu, 30 Sep 2010 09:41:44 -0400 Received: from lo.gmane.org ([80.91.229.12]:40647) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1JOI-0001MF-Pa for emacs-orgmode@gnu.org; Thu, 30 Sep 2010 09:41:42 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P1JOG-0008S0-Tv for emacs-orgmode@gnu.org; Thu, 30 Sep 2010 15:41:40 +0200 Received: from 212.34.176.74 ([212.34.176.74]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Sep 2010 15:41:40 +0200 Received: from rainer.stengele by 212.34.176.74 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Sep 2010 15:41:40 +0200 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Cc: hsitz@nwlink.com, emacs-orgmode@gnu.org Hi Michael, Am 01.09.2010 19:13, schrieb Michael Brand: > Hi Rainer > > On Tue, Aug 17, 2010 at 20:32, Michael Brand wrote: >> My implementation shows the same level always for _all_ headings in the >> file. Showing or hiding more or less levels for only the _current_ >> heading as I understand you would like, is too hard for me to implement >> without help. > > It was not that hard for me to eliminate this limitation, see > http://thread.gmane.org/gmane.emacs.orgmode/17581/focus=29518 > > Michael > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > I finally tried your code! Excellent, thanks! Works as expected! One thing I noticed. It will continue to increment the "Content view to relative level" counter even when all levels are expanded. Rainer