[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: Evil's evil-ex-substitute does not expand headlines as nece
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Bug: Evil's evil-ex-substitute does not expand headlines as necessary. [8.2.10 (release_8.2.10 @ /usr/share/emacs/25.2/lisp/org/)] |
Date: |
Sun, 17 Sep 2017 08:47:48 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Hello,
Gary Cheng <address@hidden> 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