all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: Jean Louis <bugs@gnu.support>
Cc: Christopher Dimech <dimech@gmx.com>, emacs-devel@gnu.org
Subject: Re: Cycling first N heading levels in outline
Date: Wed, 26 May 2021 21:57:22 +0800	[thread overview]
Message-ID: <87o8cxy4vx.fsf@localhost> (raw)
In-Reply-To: <YKqXe46w7CbJuD5h@protected.localdomain>

Jean Louis <bugs@gnu.support> writes:

> Especially for Org users the outline-minor-mode is universal and gives
> similar concepts of outline in various other modes:

Thanks for pointing this out. A long time ago, before I knew about
outline-minor-mode, I started using hideshow package with similar
functionality. Now, comparing the two, I can see how outline-minor-mode
can be sometimes better (not always though).

> - editing Emacs Lisp? Fold levels, sections, functions and open it. It
>   gives visual index of functions, it becomes very easy to move them
>   from place to place;

outline-minor-mode is definitely very nice when handling Elisp file
sections. Yet, it unfortunately cannot fold sexps inside functions
independently, unlike hideshow (correct me if I am wrong). I ended up
using both outline-minor-mode and hs-minor-mode for the time being. The
former for folding top-level defuns and comments and the latter for
folding sexps inside defuns.

Best,
Ihor



      parent reply	other threads:[~2021-05-26 13:57 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
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 [this message]

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

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

  git send-email \
    --in-reply-to=87o8cxy4vx.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=bugs@gnu.support \
    --cc=dimech@gmx.com \
    --cc=emacs-devel@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.