Hi Paul,

Paul Stansell <paulstans...@gmail.com> writes:

> Today I came across org-catch-invisible-edits, but I'm struggling to
> get it to work.  Since I've never had it working it's possible that
> I'm misunderstanding it or doing something wrong, or maybe it's
> broken.
>
> In my .emacs file I put
>
>   (setq org-catch-invisible-edits 'show)
>
> but both 'M-x query-replace' and 'M-x replace-string' still replace
> hidden strings in folded sections of an org file.

The name of the option is a bit misleading: your setup will catch
*insertions* not editions.  To put it simply, it's only active when
inserting a character, not when using general-purpose editing commands
like replace-string.

I'm not sure it's worth using another name, though.

-- 
 Bastien

Reply via email to