emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Daniel Fleischer <danflscr@gmail.com>
To: Ihor Radchenko <yantar92@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Recent changes in org-fold regarding emphasize visibility
Date: Sat, 07 May 2022 09:57:55 +0300	[thread overview]
Message-ID: <m2o809q170.fsf@gmail.com> (raw)
In-Reply-To: <87ilqiynt1.fsf@localhost> (Ihor Radchenko's message of "Sat, 07 May 2022 12:22:18 +0800")

Ihor Radchenko [2022-05-07 Sat 12:22] wrote:

> Now, we have different kinds of hidden text at hand:
> - folded headlines/lists
> - folded drawers
> - folded blocks
> - folded links/emphasis
>
> The question is what should be the logical behaviour of Org when editing
> text inside or at the border of these hidden text types? How should we
> interpret the values of org-catch-invisible-edits (nil error show
> show-and-error smart)?

Hi Ihor,

Not sure we need to reinterpret the settings; roughly they cover the
different options of what to do when you edit a hidden text: edit
anyways, throw an error, unfold but do nothing, unfold and do what you
wanted to do and the only thing I don't have an intuition about is the
smart option.

BTW, there are no issues when the folding core style is "overlays". So
why not follow what happens in that case, even formalize it into tests?

Best, 

-- 

Daniel Fleischer


  reply	other threads:[~2022-05-07  6:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-04 13:07 Recent changes in org-fold regarding emphasize visibility Daniel Fleischer
2022-05-04 14:43 ` Ihor Radchenko
2022-05-05 19:42   ` Daniel Fleischer
2022-05-07  4:22     ` Ihor Radchenko
2022-05-07  6:57       ` Daniel Fleischer [this message]
2022-05-08  9:53         ` Ihor Radchenko
2022-05-08 14:28           ` Daniel Fleischer

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=m2o809q170.fsf@gmail.com \
    --to=danflscr@gmail.com \
    --cc=emacs-orgmode@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/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).