From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#25482: 26.0.50; Allow setting `query-replace-from-to-separator` to nil Date: Mon, 13 Feb 2017 02:37:56 +0200 Organization: LINKOV.NET Message-ID: <87mvdrncwh.fsf@localhost> References: <871svzzcn4.fsf@gmail.com> <83lgu76nuf.fsf@gnu.org> <87vatac0a2.fsf@gmail.com> <83a8am6u6q.fsf@gnu.org> <87y3y6ezge.fsf@gmail.com> <8337gd7udo.fsf@gnu.org> <87o9z1n4o3.fsf@gmail.com> <83lgu252zc.fsf@gnu.org> <87o9yy26pg.fsf@gmail.com> <83fuka4yzj.fsf@gnu.org> <87vat65h3o.fsf@gmail.com> <87r33n3cgk.fsf@gmail.com> <83tw8jzllx.fsf@gnu.org> <87poj7wjkr.fsf@gmail.com> <83inozzbvz.fsf@gnu.org> <87mvebwhpx.fsf@gmail.com> <83h94jz42j.fsf@gnu.org> <87h94jyvx6.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1486946473 8981 195.159.176.226 (13 Feb 2017 00:41:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 13 Feb 2017 00:41:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (x86_64-pc-linux-gnu) Cc: 25482-done@debbugs.gnu.org To: Thierry Volpiatto Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 13 01:41:09 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cd4hY-0001wI-9B for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 Feb 2017 01:41:08 +0100 Original-Received: from localhost ([::1]:53975 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cd4he-0003j5-1J for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 Feb 2017 19:41:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48829) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cd4hX-0003iv-Pm for bug-gnu-emacs@gnu.org; Sun, 12 Feb 2017 19:41:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cd4hS-0005sS-UM for bug-gnu-emacs@gnu.org; Sun, 12 Feb 2017 19:41:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39357) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cd4hS-0005sM-RC for bug-gnu-emacs@gnu.org; Sun, 12 Feb 2017 19:41:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cd4hS-0005b4-KS for bug-gnu-emacs@gnu.org; Sun, 12 Feb 2017 19:41:02 -0500 Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 Feb 2017 00:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 25482 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 25482@debbugs.gnu.org, juri@linkov.net, thierry.volpiatto@gmail.com Original-Received: via spool by 25482-done@debbugs.gnu.org id=D25482.148694643321462 (code D ref 25482); Mon, 13 Feb 2017 00:41:02 +0000 Original-Received: (at 25482-done) by debbugs.gnu.org; 13 Feb 2017 00:40:33 +0000 Original-Received: from localhost ([127.0.0.1]:37556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cd4gz-0005a6-9b for submit@debbugs.gnu.org; Sun, 12 Feb 2017 19:40:33 -0500 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:56009 helo=homiemail-a23.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cd4gx-0005Zy-Pp for 25482-done@debbugs.gnu.org; Sun, 12 Feb 2017 19:40:32 -0500 Original-Received: from homiemail-a23.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a23.g.dreamhost.com (Postfix) with ESMTP id 792054B006D; Sun, 12 Feb 2017 16:40:28 -0800 (PST) Original-Received: from localhost.linkov.net (m83-191-206-160.cust.tele2.ee [83.191.206.160]) (Authenticated sender: jurta@jurta.org) by homiemail-a23.g.dreamhost.com (Postfix) with ESMTPA id 744254B0058; Sun, 12 Feb 2017 16:40:27 -0800 (PST) In-Reply-To: <87h94jyvx6.fsf@gmail.com> (Thierry Volpiatto's message of "Sat, 28 Jan 2017 17:46:29 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:129287 Archived-At: >> So that design decision and the resulting code we have now had some >> justification, and any replacement will have to support the same >> features, which I think a simple string will not do. > > Ok, thanks for explanation, perhaps you can close this bug. Thanks, Thierry, I installed your second patch (from 20 Jan) with some modifications. As for your idea of using plain ASCII separators without text properties, the problem is that it will not work if the user wants to replace the same string as is used for the separator, e.g. to replace =E2=86=92 with -> in the current buffer. If you have more ideas how to make the separator unambiguous without using text properties, then please reopen this bug.