emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "Bruce D'Arcus" <bdarcus@gmail.com>
Cc: org-mode-email <emacs-orgmode@gnu.org>
Subject: Re: adding paragraph folding to visibility cycling?
Date: Tue, 21 Apr 2020 19:51:45 +0200	[thread overview]
Message-ID: <87tv1cpw0e.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAF-FPGMfixiQ0k8O7vuOkFxtMo8ZDFV-_4SsJ-BTr5hprOErYA@mail.gmail.com> (Bruce D'Arcus's message of "Sat, 18 Apr 2020 07:20:32 -0400")

Hello,

"Bruce D'Arcus" <bdarcus@gmail.com> writes:

> Right now, I just keybindings for  origami-toggle-all-nodes origami-toggle-node.
>
> But I was thinking to have this folding as a step between disclosing
> all headings, and disclosing everything.
>
> Does that make sense?

There could be elements between headlines and paragraphs, e.g., a drawer
or a block. Why would you fold the paragraphs without taking care of the
intermediate levels. Moreover, it adds steps in TAB cycle, which makes
it slower.

I'm not sure this is a great idea to add that to the global cycling
mechanism. Or maybe the global cycling should be configurable, e.g., as
a list of symbols that can be expanded with TAB. It could be complicated
to handle intermediate steps, as explained above.

As a data point, I wouldn't like to have to hit TAB five times before
returning to the original visibility state.

Regards,

-- 
Nicolas Goaziou


  reply	other threads:[~2020-04-21 17:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-16 11:23 adding paragraph folding to visibility cycling? Bruce D'Arcus
2020-04-18  8:03 ` Nicolas Goaziou
2020-04-18 11:20   ` Bruce D'Arcus
2020-04-21 17:51     ` Nicolas Goaziou [this message]
2020-04-24 11:51       ` Bruce D'Arcus

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.orgmode.org/

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

  git send-email \
    --in-reply-to=87tv1cpw0e.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=bdarcus@gmail.com \
    --cc=emacs-orgmode@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).