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 15:48:06 +0300 Message-ID: <83r2m6fq7t.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> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1526820425 10724 195.159.176.226 (20 May 2018 12:47:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 20 May 2018 12:47:05 +0000 (UTC) Cc: 31492@debbugs.gnu.org To: Tino Calancha Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 20 14:47:01 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 1fKNjo-0002fG-VU for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 May 2018 14:47:01 +0200 Original-Received: from localhost ([::1]:46497 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fKNlw-0007yI-39 for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 May 2018 08:49:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59622) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fKNlq-0007yA-2o for bug-gnu-emacs@gnu.org; Sun, 20 May 2018 08:49:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fKNln-0004n3-0P for bug-gnu-emacs@gnu.org; Sun, 20 May 2018 08:49:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33824) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fKNlm-0004mv-T7 for bug-gnu-emacs@gnu.org; Sun, 20 May 2018 08:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fKNll-0003sq-Rd for bug-gnu-emacs@gnu.org; Sun, 20 May 2018 08:49:02 -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 12:49: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.152682049614878 (code B ref 31492); Sun, 20 May 2018 12:49:01 +0000 Original-Received: (at 31492) by debbugs.gnu.org; 20 May 2018 12:48:16 +0000 Original-Received: from localhost ([127.0.0.1]:41721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fKNl1-0003ru-SP for submit@debbugs.gnu.org; Sun, 20 May 2018 08:48:16 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40367) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fKNkz-0003rh-L3 for 31492@debbugs.gnu.org; Sun, 20 May 2018 08:48:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fKNkr-0004Yi-6x for 31492@debbugs.gnu.org; Sun, 20 May 2018 08:48:08 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58963) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fKNkr-0004Yc-4h; Sun, 20 May 2018 08:48:05 -0400 Original-Received: from [176.228.60.248] (port=4791 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fKNkq-0001rZ-JR; Sun, 20 May 2018 08:48:05 -0400 In-reply-to: (message from Tino Calancha on Sun, 20 May 2018 21:06:21 +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:146322 Archived-At: > From: Tino Calancha > Date: Sun, 20 May 2018 21:06:21 +0900 (JST) > cc: Tino Calancha , 31492@debbugs.gnu.org > > >> If the problem arise from using markers istead of integers, then how > >> about we just use integers? > > > > Does this work with '^' and 'C-e', if they change text before a match > > that was already replaced and recorded? > I don't understand. Do you have a recipe? Not a recipe, an idea: I'm bothered by the possibility of the saved positions becoming outdated if something changes text before the saved positions. Markers would move with the text, but positions won't. The question is: is such a situation possible?