Re: Recent changes in org-fold regarding emphasize visibility

2022-05-08 Thread Daniel Fleischer
Ihor Radchenko writes: > 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. Looks good; thank you Ihor! -- Daniel

Re: Recent changes in org-fold regarding emphasize visibility

2022-05-08 Thread Ihor Radchenko
Daniel Fleischer 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

Re: Recent changes in org-fold regarding emphasize visibility

2022-05-07 Thread Daniel Fleischer
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

Re: Recent changes in org-fold regarding emphasize visibility

2022-05-06 Thread Ihor Radchenko
Daniel Fleischer writes: > Ihor Radchenko writes: > >> Fixed on main by d2a459d25 > > I've tried the commit. I think there are still issues. E.g. given a > folded headline > > * Introduction...| > * Section > > Inserting text at that point will do the following thing depending on >

Re: Recent changes in org-fold regarding emphasize visibility

2022-05-05 Thread Daniel Fleischer
Ihor Radchenko writes: > Fixed on main by d2a459d25 I've tried the commit. I think there are still issues. E.g. given a folded headline * Introduction...| * Section Inserting text at that point will do the following thing depending on `org-fold-catch-invisible-edits': - error : it

Re: Recent changes in org-fold regarding emphasize visibility

2022-05-04 Thread Ihor Radchenko
Daniel Fleischer writes: > (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

Recent changes in org-fold regarding emphasize visibility

2022-05-04 Thread Daniel Fleischer
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