emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Daniel Fleischer <danflscr@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Recent changes in org-fold regarding emphasize visibility
Date: Wed, 04 May 2022 16:07:50 +0300	[thread overview]
Message-ID: <m2ilqle995.fsf@gmail.com> (raw)

There are some recent (week old) changes to org-fold that changes
fold/emphasize behavior. Before the changes, I used to have

    (setq org-fold-catch-invisible-edits 'show-and-error)

in order to prevent accidental write in the following places:

    :PROPERTIES:|...

But now, hidden emphasize symbols are considered "folded" so when I
write:

    *Hello*|

and about to press "space" I get a warning.

I think this is a regression. I don't want to change the
`org-fold-catch-invisible-edits' variable to something else because I
worry more about accidental edits in real folded regions. I don't
understand why emphasize markers are treated as folded text.

`org-hide-emphasis-markers` is set to non-nil. 

Best,

-- 

Daniel Fleischer


             reply	other threads:[~2022-05-04 13:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-04 13:07 Daniel Fleischer [this message]
2022-05-04 14:43 ` Recent changes in org-fold regarding emphasize visibility Ihor Radchenko
2022-05-05 19:42   ` Daniel Fleischer
2022-05-07  4:22     ` Ihor Radchenko
2022-05-07  6:57       ` Daniel Fleischer
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=m2ilqle995.fsf@gmail.com \
    --to=danflscr@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).