all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: Jambunathan K <kjambunathan@gmail.com>
Cc: "Ben A." <ben.a@gmx.us>, 14979@debbugs.gnu.org
Subject: bug#14979: 24.3; Feature Request: query-replace-backward
Date: Tue, 30 Jul 2013 00:02:55 +0300	[thread overview]
Message-ID: <87a9l5yt8g.fsf@mail.jurta.org> (raw)
In-Reply-To: <87wqo922so.fsf@mail.jurta.org> (Juri Linkov's message of "Mon, 29 Jul 2013 11:22:47 +0300")

> it's straightforward to implement this in Emacs where
> `(isearch-forward t)' in `replace-search' could be replaced
> with `(isearch-forward replace-forward)' where `replace-forward'
> is a new option that can be changed in `isearch-query-replace'
> according to the current value of `isearch-forward'.

Actually using the value of `isearch-forward' to make
decision about the direction of replacements is not good
because often `C-r' is used to find the uppermost match
from which to run forward replacements.

Maybe it would help if after the last replacement
`query-replace' asked whether to wrap and continue
replacements from the beginning of the buffer.
Then no matches will be missed when `query-replace'
happens to be started in the middle of the buffer.





  parent reply	other threads:[~2013-07-29 21:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-29  3:10 bug#14979: 24.3; Feature Request: query-replace-backward Ben A.
2013-07-29  7:12 ` Jambunathan K
2013-07-29  7:16   ` Jambunathan K
2013-07-29  8:22     ` Juri Linkov
2013-07-29  8:47       ` Jambunathan K
2013-07-29 21:02       ` Juri Linkov [this message]
2013-07-30 20:09         ` ben.a
2013-08-01 21:13           ` Juri Linkov
2013-08-03 20:44             ` Ben A.
2013-08-03 21:24               ` Drew Adams
2013-12-17 19:35           ` Juri Linkov
2013-12-19  0:30 ` Juri Linkov

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

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

  git send-email \
    --in-reply-to=87a9l5yt8g.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=14979@debbugs.gnu.org \
    --cc=ben.a@gmx.us \
    --cc=kjambunathan@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 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.