From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.devel Subject: Cycling first N heading levels in outline Date: Sun, 23 May 2021 11:53:51 +0200 Message-ID: References: <87wnrqt5re.fsf@localhost> <87tumtu6jl.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20090"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 23 11:54:27 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lkkoU-0004y6-Sk for ged-emacs-devel@m.gmane-mx.org; Sun, 23 May 2021 11:54:26 +0200 Original-Received: from localhost ([::1]:43566 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lkkoT-0001Ue-Sw for ged-emacs-devel@m.gmane-mx.org; Sun, 23 May 2021 05:54:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39628) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lkknz-0000ob-BP for emacs-devel@gnu.org; Sun, 23 May 2021 05:53:55 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:35521) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lkknx-0001hw-It for emacs-devel@gnu.org; Sun, 23 May 2021 05:53:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1621763631; bh=IWjf/DXfyEcgIamxgCf2DO1BTlKYShVbJAyYaFOJN6g=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=DJk05sjpZHqytivWXAW5pA2CyPmz3xjAg7s6fvcETyz2tqdtOA/vxmY2zUlIt3WW1 DwFfu2x+r9SyzoXyYvcTehrajAVeiIwn2148t6Lpfs4254ABauoJDQruTAlbgGrqD7 uoYRnOz5Ct348COWcjeSk4Xaat2Dgn1vLzNUPr5Y= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs09.server.lan [172.19.170.177]) (via HTTP); Sun, 23 May 2021 11:53:51 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <87tumtu6jl.fsf@localhost> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:lVQC48FT64WnuslaMy38gU3zEDYSFkI+SaPInFzjuQH8XpwgteDncx/H1myR9E9ieBJi1 9RQHCaOcw2WJKdXvbuQLwBVAXd++vmWpbRmhCxtSu9+1BZOzqlDN6DPjrejH8mSSUqJDy0CggI1q HP2T0s3QWQz3viJuRRoxw0fCDo8EHPToJ69DMhNpNfp/ovXf5HTFNiAK97CxVTXIBMD6WCzJq1Dm APeokrVodms5dx9wJoZZorUk8TyVeu7syS9w7pR1EWAdZPEB0TyzdHFipiPisTc5egWo/9JqpobF f4= X-UI-Out-Filterresults: notjunk:1;V03:K0:q0wEmSaBbhU=:rJgAHw4+ojoNUlR3+YAGPu 4a+yCLiz4R7d8kkiwE8T8iZySuxqKMxDTEAHttFBmg+ARZe71tBUxfSsmZZgtwW6/Zn90535c VflLkaPtxwUbyebeNiZvx/mVqOOYFYFE4RL5JTgMSkQ7rgGir4hpxlLEc46lZxlxGBnLTSpAx ZblfhivJPdvKXYRc26IeMltWpIl3L7q4La39416rfUeR1/8Dvp/X93svWmdFFdfgy6lPZhRIN hEockeOn88t5VeRll9aFZwI95CqOb4Dq1SRM3C1y4O5HS60E6kE0x3jC17OC6rCCzQZPA11XU oWwk8/Hp6bYMHrX7HKYEwWJdN8BoxGjI9s+d5+u1BjrVDNsQ8FlReRIgi7onKauHT+QjoltyO tkDp9VDsQn0PwlWDHQ1nGT6DW+Ci4FexUAM6Kjz4FvqBaxDQTZU/JFT9llscHeun0npqFLU+l oYePQ8azOVmG1WbtYMTP0QmbMTo6iaQPUmWGZABuYBvODb9nf+ioMUtd3eCNhiw5K2y89yXJo StqNfrwosby8F84eI2IFxr9uqDi8PNNawkaAVyQmgyfwubb1L7BdWiCkiWoy8/cOBAUT1C7mO c0Brrc/eawiTGlW1yt1PCfXhVerBnBLK7/GyzX8NGuMI/XoF1J66T5TvY9QOFH+HzNj6V/Ox2 ODw90a0LVcuEgq3W5ApO6PXInZeJTnaUWcGi53h7uwyOvPDgJygffu0kdNkDQx7SaVVQgdSWD 6+jTyR84AfcAYHfxuABYHgWgmg4KPOzT8KkQxx4bV0t9wfUaUwf0qv07nwsQaokC0X4K7uuB Received-SPF: pass client-ip=212.227.15.15; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:269659 Archived-At: =2D-------------------- Christopher Dimech General Administrator - Naiad Informatics - GNU Project (Geocomputation) - Geophysical Simulation - Geological Subsurface Mapping - Disaster Preparedness and Mitigation - Natural Resource Exploration and Production - Free Software Advocacy > Sent: Sunday, May 23, 2021 at 9:46 PM > From: "Ihor Radchenko" > To: "Christopher Dimech" > Cc: emacs-devel@gnu.org > Subject: Re: Cycling first N heading levels in outline > > Christopher Dimech writes: > > > It is useful for mathematical and scientific classification work. > > > > I attach a texinfo file, where @usec, @usubsec, @usubsubsec are define= d as headings. > > > > You can use "Show Branches", "Show Children", and "Show Subtree". But= they all force > > the user to move point to a specific heading, i.e. there are no operat= ions which are global > > across the buffer. > > Hmm. Have you tried org-shifttab (bound to S-)? It operates > globally across the buffer. I rather keep things to outline-minor-mode than apply org functionality. = Originally, Was using org-mode as the major buffer but that removed programming highli= ghting. Outline should take care of such things itself rather than workarounds wit= h org functionality. > Also, there is outline-hide-sublevels. When called with prefix argument, > it will display sublevels from level 1 up until the level equal to the > prefix argument. But LEVELS defaults to the level of the *current heading* or to 1 if the *current line is not a heading*. This means I got to go to a heading. The problem occurs for long files, because I am forces to navigate the fil= e. If the heading level is deep, it is difficult to search through. > Best, > Ihor > >