From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha 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 22:46:05 +0900 (JST) Message-ID: 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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Trace: blaine.gmane.org 1526823914 31777 195.159.176.226 (20 May 2018 13:45:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 20 May 2018 13:45:14 +0000 (UTC) User-Agent: Alpine 2.20 (DEB 67 2015-01-07) Cc: 31492@debbugs.gnu.org, Tino Calancha To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 20 15:45:10 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 1fKOe4-00089z-UA for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 May 2018 15:45:09 +0200 Original-Received: from localhost ([::1]:46639 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fKOgB-00073g-IS for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 May 2018 09:47:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37203) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fKOfz-00073S-I0 for bug-gnu-emacs@gnu.org; Sun, 20 May 2018 09:47:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fKOfu-0006Qy-Me for bug-gnu-emacs@gnu.org; Sun, 20 May 2018 09:47:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33856) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fKOfu-0006Qq-IW for bug-gnu-emacs@gnu.org; Sun, 20 May 2018 09:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fKOfu-0005Co-5f for bug-gnu-emacs@gnu.org; Sun, 20 May 2018 09:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 May 2018 13:47:02 +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.152682397719935 (code B ref 31492); Sun, 20 May 2018 13:47:02 +0000 Original-Received: (at 31492) by debbugs.gnu.org; 20 May 2018 13:46:17 +0000 Original-Received: from localhost ([127.0.0.1]:41753 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fKOfA-0005BS-Qz for submit@debbugs.gnu.org; Sun, 20 May 2018 09:46:16 -0400 Original-Received: from mail-pl0-f54.google.com ([209.85.160.54]:46047) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fKOf9-0005BD-7Y for 31492@debbugs.gnu.org; Sun, 20 May 2018 09:46:15 -0400 Original-Received: by mail-pl0-f54.google.com with SMTP id bi12-v6so7207740plb.12 for <31492@debbugs.gnu.org>; Sun, 20 May 2018 06:46:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=RMkP5vvlBjYK1vuBqOrJ+4IUAwuaW4+mOS8hr8/1jHY=; b=nk4Hg7eVJYlPwjIGZupPnqkLpqfgbmv+X55dSXsyrWtwryFv70q7tspv4JhEDeE9Xb Buyfh67eNccQYkA9vOEgNaqALVeDMnUGgsC508om8j4wDHjZzpwbKICtr7JyUiXKdi9u 11YI3bKk2K42BWK4qwNWK9iGpQw7MdNp6EueIq4qXc7JB3Wf7scvaefJOR3lzMrj5wzC l0tuPllO77ETkgrp96KArio6xzOuCXb2W11/7ewO+UjdfDdxCzxjPkmLLr7y4xU4Du/y Co/qAdiYLFtZp0R6amSJpn9R/wDJel+xegoazRcDLQZcquiIBCo01TERGe2sSKAWpajC zylg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=RMkP5vvlBjYK1vuBqOrJ+4IUAwuaW4+mOS8hr8/1jHY=; b=gNhFHW+STEtLsAsAOKbKAwVFT/vwRPv0+AdmAcBNXP5c5IRupeopb0wQw0RyPtgqqp YBrip2VZyO0a0/6QPq41t7OeimRcBeL7IFgAmGZYkqcUa7Fc4utdwp/EJrPYbRYW4VJP NFlt2Kv5JnX80aA8zb/X1XmjN4XfYYIgTVAA5bwe/00DVnM+UznGeJYqm7kUV0Tf057J PVFNIITboRMb5Zi9LSC1ECGOB6J3wCf5YgA5hHokOqtqSdsJXTgYtCqhPcJHE2OaS3lh VAInqlgobqRnIsXZg4iUDUf6yC29KulZZUmzMBASFRXlUOdM08d/Py9ksNjVPfc8Snmf mK9Q== X-Gm-Message-State: ALKqPwer3tbbXZo3gj/SaGAeY877jeD/WiCXYhAv2vPUTGt7aKiyBYzO PCpM5DzpL/vb4v+k3F21KFk= X-Google-Smtp-Source: AB8JxZqwxwebz/5bOkD+e7uzQwvjsu6OSqzMkq1HALcnGpyzdnaVjDKYEuRWWHl4hAxyiAht5NFHiw== X-Received: by 2002:a17:902:2702:: with SMTP id c2-v6mr16546542plb.297.1526823969421; Sun, 20 May 2018 06:46:09 -0700 (PDT) Original-Received: from calancha-pc (228.225.128.101.dy.bbexcite.jp. [101.128.225.228]) by smtp.gmail.com with ESMTPSA id z8-v6sm13880309pgc.13.2018.05.20.06.46.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 20 May 2018 06:46:08 -0700 (PDT) X-Google-Original-From: Tino Calancha X-X-Sender: calancha@calancha-pc In-Reply-To: <83r2m6fq7t.fsf@gnu.org> 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:146323 Archived-At: On Sun, 20 May 2018, Eli Zaretskii wrote: > 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? Everything is possible (except, possibly, that I find a new job). 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))