From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#31492: 26.1; query-replace-regexp undo fails in regexps w/o printable chars Date: Sun, 20 May 2018 18:47:10 +0300 Message-ID: <83po1qfhxd.fsf@gnu.org> References: <8736yp14c7.fsf@gmail.com> <838t8hhwwu.fsf@gnu.org> <837eo1huji.fsf@gnu.org> <83zi0wgk3d.fsf@gnu.org> <87tvr3zpm4.fsf@gmail.com> <83vabifzfg.fsf@gnu.org> <87sh6mwno1.fsf@gmail.com> <83sh6mfsg2.fsf@gnu.org> <83r2m6fq7t.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1526831169 5115 195.159.176.226 (20 May 2018 15:46:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 20 May 2018 15:46:09 +0000 (UTC) Cc: 31492@debbugs.gnu.org, tino.calancha@gmail.com To: Tino Calancha Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 20 17:46:05 2018 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 1fKQX4-00019l-98 for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 May 2018 17:46:02 +0200 Original-Received: from localhost ([::1]:46878 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fKQZB-0003RK-95 for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 May 2018 11:48:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49492) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fKQZ3-0003Qy-2D for bug-gnu-emacs@gnu.org; Sun, 20 May 2018 11:48:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fKQYz-0006wL-Us for bug-gnu-emacs@gnu.org; Sun, 20 May 2018 11:48:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34168) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fKQYz-0006w5-Re for bug-gnu-emacs@gnu.org; Sun, 20 May 2018 11:48:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fKQYz-0007vU-LR for bug-gnu-emacs@gnu.org; Sun, 20 May 2018 11:48:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 May 2018 15:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31492 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31492-submit@debbugs.gnu.org id=B31492.152683124130418 (code B ref 31492); Sun, 20 May 2018 15:48:01 +0000 Original-Received: (at 31492) by debbugs.gnu.org; 20 May 2018 15:47:21 +0000 Original-Received: from localhost ([127.0.0.1]:42065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fKQYI-0007uX-UJ for submit@debbugs.gnu.org; Sun, 20 May 2018 11:47:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58365) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fKQYH-0007uK-Mv for 31492@debbugs.gnu.org; Sun, 20 May 2018 11:47:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fKQY9-0006ba-Bc for 31492@debbugs.gnu.org; Sun, 20 May 2018 11:47:12 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60763) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fKQY9-0006bM-7W; Sun, 20 May 2018 11:47:09 -0400 Original-Received: from [176.228.60.248] (port=1392 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fKQY8-0006zm-Jz; Sun, 20 May 2018 11:47:08 -0400 In-reply-to: (message from Tino Calancha on Sun, 20 May 2018 22:46:05 +0900 (JST)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:146324 Archived-At: > From: Tino Calancha > Date: Sun, 20 May 2018 22:46:05 +0900 (JST) > cc: Tino Calancha , 31492@debbugs.gnu.org > > > The question is: is such a situation possible? > Everything is possible (except, possibly, that I find a new job). Actually, I know a few things that are even less possible than that. > You know what they say: In the risk is the pleasure. Otherwise we > can use the first patch; the one with the test: > (/= (match-beginning 0) (match-end 0)) No, I like the 2nd one better. Thanks.