unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
Cc: Andreas Schwab <schwab@suse.de>,
	14787@debbugs.gnu.org, Tassilo Horn <tsdh@gnu.org>
Subject: bug#14787: 24.3, M-x query-replace - useless warning
Date: Sat, 06 Jul 2013 01:10:10 +0300	[thread overview]
Message-ID: <87mwq07nh3.fsf@mail.jurta.org> (raw)
In-Reply-To: <51D720C7.4050307@easy-emacs.de> ("Andreas \=\?iso-8859-1\?Q\?R\?\= \=\?iso-8859-1\?Q\?\=F6hler\=22's\?\= message of "Fri, 05 Jul 2013 21:38:47 +0200")

>>>> It actually depends on `blink-matching-paren', not `show-paren-mode'.
>>>
>>> Okay, thanks. IMO it's a bug nonetheless, it's a warning which might
>>> confuse users.
>>
>> Not sure, IMHO "balanced" replacements like \(foo\|bar\) -> [\1] are
>> more common,
>
> It's about query-replace, not query-replace-regexp

You can make balanced non-regexp replacements in query-replace like
(foo (bar)) -> (bar (foo))

The warning "No matching parenthesis found" helps the users to write
correctly balanced expressions everywhere, including minibuffers.
When you sometimes write an unbalanced expression intentionally,
you can ignore this warning.





  reply	other threads:[~2013-07-05 22:10 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-04  8:22 bug#14787: 24.3, M-x query-replace - useless warning Andreas Röhler
2013-07-04  8:36 ` Andreas Schwab
2013-07-04 13:18   ` Andreas Röhler
2013-07-04 14:55     ` Tassilo Horn
2013-07-04 19:21       ` Andreas Röhler
2013-07-05  7:45         ` Tassilo Horn
2013-07-05  7:54           ` martin rudalics
2013-07-05 19:38           ` Andreas Röhler
2013-07-05 22:10             ` Juri Linkov [this message]
2013-07-06  6:17               ` Andreas Röhler
2013-07-06  7:20                 ` Andreas Schwab
2013-07-06 10:24                   ` Andreas Röhler
2013-07-08  8:30             ` Tassilo Horn
2013-07-08 14:20               ` Andreas Röhler

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87mwq07nh3.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=14787@debbugs.gnu.org \
    --cc=andreas.roehler@easy-emacs.de \
    --cc=schwab@suse.de \
    --cc=tsdh@gnu.org \
    /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.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).