Hello, Gary Cheng <[email protected]> writes:
> Emacs : GNU Emacs 25.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.22.16) > of 2017-07-15 > Package: Org-mode version 8.2.10 (release_8.2.10 @ > /usr/share/emacs/25.2/lisp/org/) > > ------------------------------------------------------------ > ---------------------------------------------------------------- > > When using evil's substitute (:%s/string1/string2/c) in an org file, if the > string that is to be substituted is hidden under a headline, the cursor > will go to the end of the line of the headline of the string, as opposed to > expanding the headline automatically and putting the cursor on the string > the way evil's find (/) does. It should match evil's find behavior which is > more intuitive and useful by doing the same thing. This sounds like an Evil issue. You may want to expand the tree before doing the replacement. Regards, -- Nicolas Goaziou
