all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#13178: Query-replace fails soon after narrow-to-region
@ 2012-12-14  4:03 Teika Kazura
  2015-02-27  8:12 ` Teika Kazura
  0 siblings, 1 reply; 12+ messages in thread
From: Teika Kazura @ 2012-12-14  4:03 UTC (permalink / raw)
  To: 13178

Hi, Emacs developers.

In Emacs 24.1, query-replace soon after narrow-to-region fails. More
precisely, minibuffer says "Replaced 0 occurrences", and the
query-replace finishes even if there're matches. I don't think it's a
recent regresion.

Steps to reproduce:
0. emacs -Q
1. Open a buffer.
2. Set mark, and do narrow-to-region
3. Move to the top of the narrowed buffer.
4. Do query-replace.
5. minibuffer says "Replaced 0 occurrences", and the query-replace
   finishes. If you do query-replace again, then it starts correctly.

It seems that some extra commands between each step hinder to reproduce.
Probably you have to enable narrow-to-region beforehand, and
query-replace history is necessary, so that "M-% <enter>" can invoke
a query-replace.

In fact, it was already reported in bug #8952:
  http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8952
but as a "wishlist", mixed with several other things. So I dare to
submit a separate entry.

I've been bothered by this bug for years, but I didn't know how to
reproduce it. Thank you in advance.

Best regards,
Teika (Teika kazura)






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

end of thread, other threads:[~2015-11-13 23:39 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-14  4:03 bug#13178: Query-replace fails soon after narrow-to-region Teika Kazura
2015-02-27  8:12 ` Teika Kazura
2015-02-27 15:01   ` Drew Adams
2015-02-27 19:50     ` Artur Malabarba
2015-03-02 17:23       ` Stefan Monnier
2015-03-02 20:14         ` Juri Linkov
2015-03-02 21:51           ` Artur Malabarba
2015-03-12 19:53             ` Juri Linkov
2015-11-13 23:39               ` Juri Linkov
2015-03-03 23:31   ` Teika Kazura
2015-03-04  1:16     ` Artur Malabarba
2015-03-05  0:16       ` Teika Kazura

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.