emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Gary Cheng <garycheng12@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: 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	[thread overview]
Message-ID: <87o9q995yj.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CABkDr=OvNe+1uO7sg70QDuQg9Wyk5xfKx7PYyjrhd4sExv-JFg@mail.gmail.com> (Gary Cheng's message of "Sun, 17 Sep 2017 03:39:25 +0000")

Hello,

Gary Cheng <garycheng12@gmail.com> 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

      reply	other threads:[~2017-09-17  6:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-17  3:39 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/)] Gary Cheng
2017-09-17  6:47 ` Nicolas Goaziou [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o9q995yj.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=garycheng12@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).