Re: [PATCH] Allow customizing commands affected by `org-fold-catch-invisible-edits' (was: Should we extend org-catch-invisible-edits to more interactive commands? (was: Catching invisible edits: probl

2023-04-17 Thread Ihor Radchenko
Ihor Radchenko writes: > Subject: [PATCH] org-fold: Allow customizing commands where invisible edits > are checked Applied, onto main. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at

Re: [PATCH] Allow customizing commands affected by `org-fold-catch-invisible-edits' (was: Should we extend org-catch-invisible-edits to more interactive commands? (was: Catching invisible edits: probl

2023-04-17 Thread Ihor Radchenko
alain.coch...@unistra.fr writes: > However, I could not have it work for my case so far. I tried to add > "(undo . insert)", "(undo . delete-backward)" and "(undo . delete)" to > 'org-fold-catch-invisible-edits-commands', one by one and together, > and all values of

Re: [PATCH] Allow customizing commands affected by `org-fold-catch-invisible-edits' (was: Should we extend org-catch-invisible-edits to more interactive commands? (was: Catching invisible edits: probl

2023-02-16 Thread Alain . Cochard
Ihor Radchenko writes on Thu 16 Feb 2023 15:06: > As the docstring states, the check is performed at point. Checking > the actual modifications would be rather tricky. It might be done, > but there are so many caveats that the code will be fragile. OK, too bad. Thanks for trying. --

Re: [PATCH] Allow customizing commands affected by `org-fold-catch-invisible-edits' (was: Should we extend org-catch-invisible-edits to more interactive commands? (was: Catching invisible edits: probl

2023-02-16 Thread Ihor Radchenko
alain.coch...@unistra.fr writes: > However, I could not have it work for my case so far. I tried to add > "(undo . insert)", "(undo . delete-backward)" and "(undo . delete)" to > 'org-fold-catch-invisible-edits-commands', one by one and together, > and all values of

Re: [PATCH] Allow customizing commands affected by `org-fold-catch-invisible-edits' (was: Should we extend org-catch-invisible-edits to more interactive commands? (was: Catching invisible edits: probl

2023-02-14 Thread Alain . Cochard
Ihor Radchenko writes on Sun 12 Feb 2023 15:23: > [...] I want to implement more generic feature. > See the attached patch. This sounds very promising. I find the doc and the two relevant docstrings clear. However, I could not have it work for my case so far. I tried to add "(undo .