all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: Lawrence Mitchell <wence@gmx.li>
Cc: 8161@debbugs.gnu.org
Subject: bug#8161: 24.0.50; query-replace-regexp fails with interactive replacement text
Date: Fri, 04 Mar 2011 01:04:46 +0200	[thread overview]
Message-ID: <87ipvzpzzl.fsf@mail.jurta.org> (raw)
In-Reply-To: <m3pqq8dvj8.fsf@e4300lm.epcc.ed.ac.uk> (Lawrence Mitchell's message of "Thu, 03 Mar 2011 16:21:47 +0000")

> This has been broken since
>
> Author: Juri Linkov <juri@jurta.org>
> Date:   Sat Nov 10 21:48:46 2007 +0000
>
>     (query-replace-show-replacement): New defcustom.
>     (perform-replace): Use `match-substitute-replacement' if
>     `query-replace-show-replacement' is non-nil.

Don't blame the committer ;-)  This feature (\?) is specific to
`query-replace-regexp', so mentioning it in low-level `replace-match'
would be wrong.  It should be dealt at the same level where it's used
in replace.el the same way as \? is processed in `replace-match-maybe-edit'.





  reply	other threads:[~2011-03-03 23:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-03  8:59 bug#8161: 24.0.50; query-replace-regexp fails with interactive replacement text Suvayu Ali
2011-03-03 16:21 ` Lawrence Mitchell
2011-03-03 23:04   ` Juri Linkov [this message]
2012-08-05 13:31     ` Chong Yidong

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=87ipvzpzzl.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=8161@debbugs.gnu.org \
    --cc=wence@gmx.li \
    /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.