[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Recent changes in org-fold regarding emphasize visibility
From: |
Ihor Radchenko |
Subject: |
Re: Recent changes in org-fold regarding emphasize visibility |
Date: |
Sun, 08 May 2022 17:53:54 +0800 |
Daniel Fleischer <danflscr@gmail.com> writes:
>> 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)?
>
> 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?
Reasonable.
I have made changes in invisible edit handling.
Now, when using 'text-properties style,
org-fold-check-before-invisible-edits ignores folded links just like it
does with overlays style.
The commit is 2e4ed52b1.
Let me know if you are getting the expected behaviour now.
Best,
Ihor