unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Christopher Dimech <dimech@gmx.com>
To: Ihor Radchenko <yantar92@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Cycling first N heading levels in outline
Date: Sun, 23 May 2021 11:53:51 +0200	[thread overview]
Message-ID: <trinity-82fb005c-1ca3-4262-8e43-f5f4d391a366-1621763631518@3c-app-mailcom-bs09> (raw)
In-Reply-To: <87tumtu6jl.fsf@localhost>



---------------------
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" <yantar92@gmail.com>
> To: "Christopher Dimech" <dimech@gmx.com>
> Cc: emacs-devel@gnu.org
> Subject: Re: Cycling first N heading levels in outline
>
> Christopher Dimech <dimech@gmx.com> writes:
>
> > It is useful for mathematical and scientific classification work.
> >
> > I attach a texinfo file, where @usec, @usubsec, @usubsubsec are defined 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 operations which are global
> > across the buffer.
>
> Hmm. Have you tried org-shifttab (bound to S-<TAB>)? 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 highlighting.

Outline should take care of such things itself rather than workarounds with 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 file.
If the heading level is deep, it is difficult to search through.


> Best,
> Ihor
>
>



  reply	other threads:[~2021-05-23  9:53 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-22 16:16 Cycling first N heading levels in outline Christopher Dimech
2021-05-23  4:48 ` Ihor Radchenko
2021-05-23  8:58   ` Christopher Dimech
2021-05-23  9:46     ` Ihor Radchenko
2021-05-23  9:53       ` Christopher Dimech [this message]
2021-05-23 10:21         ` Ihor Radchenko
2021-05-23 10:23         ` Ihor Radchenko
2021-05-23 13:10           ` Christopher Dimech
2021-05-23 14:14             ` Ihor Radchenko
2021-05-23 14:14             ` Jean Louis
2021-05-23 14:34               ` Christopher Dimech
2021-05-23 14:37                 ` Jean Louis
2021-05-23 14:12     ` Jean Louis
2021-05-23 14:35       ` Ihor Radchenko
2021-05-23 17:57         ` Jean Louis
2021-05-23 18:55           ` Christopher Dimech
2021-05-23 19:06             ` Tassilo Horn
2021-05-23 19:55             ` Stefan Monnier
2021-05-24 10:34               ` Christopher Dimech
2021-05-24 10:57                 ` Kévin Le Gouguec
2021-05-24 11:23                   ` Christopher Dimech
2021-05-25 17:41                   ` Christopher Dimech
2021-05-24 10:39               ` Christopher Dimech
2021-05-24 16:27                 ` Stefan Monnier
2021-05-24 17:43                   ` Christopher Dimech
2021-05-26 13:57           ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=trinity-82fb005c-1ca3-4262-8e43-f5f4d391a366-1621763631518@3c-app-mailcom-bs09 \
    --to=dimech@gmx.com \
    --cc=emacs-devel@gnu.org \
    --cc=yantar92@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).