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: Fri, 18 May 2018 23:22:13 +0900 (JST) Message-ID: References: <8736yp14c7.fsf@gmail.com> <838t8hhwwu.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 1526653353 23192 195.159.176.226 (18 May 2018 14:22:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 18 May 2018 14:22:33 +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 Fri May 18 16:22:29 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 1fJgH7-0005vE-0t for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 May 2018 16:22:29 +0200 Original-Received: from localhost ([::1]:39266 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJgJE-0007ql-8W for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 May 2018 10:24:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46722) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJgHk-0006rY-0S for bug-gnu-emacs@gnu.org; Fri, 18 May 2018 10:23:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fJgHe-0008SH-D1 for bug-gnu-emacs@gnu.org; Fri, 18 May 2018 10:23:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60243) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fJgHe-0008Rt-8B for bug-gnu-emacs@gnu.org; Fri, 18 May 2018 10:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fJgHe-0003by-24 for bug-gnu-emacs@gnu.org; Fri, 18 May 2018 10:23: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: Fri, 18 May 2018 14:23: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.152665334413820 (code B ref 31492); Fri, 18 May 2018 14:23:02 +0000 Original-Received: (at 31492) by debbugs.gnu.org; 18 May 2018 14:22:24 +0000 Original-Received: from localhost ([127.0.0.1]:39906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fJgH2-0003aq-BS for submit@debbugs.gnu.org; Fri, 18 May 2018 10:22:24 -0400 Original-Received: from mail-pf0-f169.google.com ([209.85.192.169]:44631) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fJgH1-0003ae-DK for 31492@debbugs.gnu.org; Fri, 18 May 2018 10:22:23 -0400 Original-Received: by mail-pf0-f169.google.com with SMTP id q22-v6so3833770pff.11 for <31492@debbugs.gnu.org>; Fri, 18 May 2018 07:22:23 -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=G+FJ4KPf69fnTcjfh7OVY3dGj/o9hRsghtGj27tMyNc=; b=jW585hKcodQMKTxuloQo30p5c7m7QADY/vlRbWEjK3uDHkWLMaTG6Fs92+8VUiKUJr qeKKrU2Ulr9BocESnv9ZwEw340oaTRrVh58Wn9J3ZYA3SW+eoxMjHDJXlRBH2k5zcKBf mo1mFtPdZIoVOqN/5BfDkGdAAVf2eeIw1DvjjQcTu2rywiTIohrzFpcb3WTdEyISTLYB K+MyqnGidSuRMcvQF5Nt24MjsRYbCVuHK3sGx+IarIRqnE424M4O6XHYXUgVJnhBgBoH WE8jpxPZKeJBPsz5ui+tScwOIt0ZUwMvYrfbgxotrP3IkN9b2UY75lWxKTfzKE9XfjEB nurg== 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=G+FJ4KPf69fnTcjfh7OVY3dGj/o9hRsghtGj27tMyNc=; b=XbmohKP+5yFzeHrCZLb3UwnZy4wymrrUdpO6mHAJxhsbIcbNeedyAXXqkGzy6yd1+v OijSX6/4L8ny4+lcd6Sc3S2W8CCKcvrdOkhntF9xFepBfrtqNhc9L/9R1/WEg3lLCIgB 1Dc4GbZhg5odpfM3Zt1zlUD1UNyUKawOG4SRpzYg2aw7dhpeaNNaAdoxPMc6/Jaos6cP veTAqJhXrykKitnu/6FiU6NkSkVgjh3iNV+i7UPqPeLzHvfIOLM9b0XigI8hJf8DK7zf Sxy5u3CkH8sJxYjDSJucWB+HY5j7mVHRk9/SIdZyoI6xSV9YSdaTSymfA92hrIEldtPV pUuA== X-Gm-Message-State: ALKqPwda3Kc/bGfpUWP34d2kmEkpl4NliTY+Ck01+5QQZtl9qPMyGt+Z ABx24eWTJMnZd8Y/PGC3xtA= X-Google-Smtp-Source: AB8JxZp/ptVfbuBe1aT2sMKU8spg8Hjcqxk8ggWNjpJw8k1AIDfYyX3cr5SeL5Qgct3iQoH6JMQJfQ== X-Received: by 2002:a65:66d7:: with SMTP id c23-v6mr2805908pgw.76.1526653337480; Fri, 18 May 2018 07:22:17 -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 f9-v6sm10436382pgq.24.2018.05.18.07.22.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 May 2018 07:22:16 -0700 (PDT) X-Google-Original-From: Tino Calancha X-X-Sender: calancha@calancha-pc In-Reply-To: <838t8hhwwu.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:146259 Archived-At: On Fri, 18 May 2018, Eli Zaretskii wrote: >> From: Tino Calancha >> Date: Fri, 18 May 2018 22:27:36 +0900 >> >> emacs -Q >> >> < C-M-% \b RET foo RET TAB TAB TAB >> U ; undo all replacements >> ;; Nothing is undid :-( > > I'm probably missing something, because I cannot reproduce the problem > I guess the explanation is in what does "<" mean and, more '<' stands for `beginning-of-buffer'. Then you have text to replace in the *scratch* buffer. Otherwise you at the end of the buffer and my regexp cannot match.