all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 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/)]
@ 2017-09-17  3:39 Gary Cheng
  2017-09-17  6:47 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Gary Cheng @ 2017-09-17  3:39 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 727 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 1178 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* 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/)]
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2017-09-17  6:47 UTC (permalink / raw)
  To: Gary Cheng; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-09-17  6:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.