From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: sbaugh@catern.com Newsgroups: gmane.emacs.bugs Subject: bug#53760: 28.0.91; Recursive edit during dired-do-find-regexp-and-replace breaks isearch Date: Thu, 03 Feb 2022 19:12:39 +0000 (UTC) Message-ID: <87k0ebydax.fsf@earth.mail-host-address-is-not-set> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15648"; mail-complaints-to="usenet@ciao.gmane.io" To: 53760@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 03 20:37:54 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nFhvV-0003ou-2O for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Feb 2022 20:37:54 +0100 Original-Received: from localhost ([::1]:35538 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFhvT-0003JN-P6 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Feb 2022 14:37:51 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50050) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFhXT-0007hG-P5 for bug-gnu-emacs@gnu.org; Thu, 03 Feb 2022 14:13:08 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35678) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nFhXT-0008TT-BR for bug-gnu-emacs@gnu.org; Thu, 03 Feb 2022 14:13:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nFhXS-0003CA-8W for bug-gnu-emacs@gnu.org; Thu, 03 Feb 2022 14:13:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: sbaugh@catern.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Feb 2022 19:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53760 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.164391556712253 (code B ref -1); Thu, 03 Feb 2022 19:13:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Feb 2022 19:12:47 +0000 Original-Received: from localhost ([127.0.0.1]:57807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFhXC-0003BY-IX for submit@debbugs.gnu.org; Thu, 03 Feb 2022 14:12:46 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:49040) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFhX9-0003BQ-Od for submit@debbugs.gnu.org; Thu, 03 Feb 2022 14:12:44 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49988) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFhX9-0007LQ-2S for bug-gnu-emacs@gnu.org; Thu, 03 Feb 2022 14:12:43 -0500 Original-Received: from wrqvvpzp.outbound-mail.sendgrid.net ([149.72.131.227]:30430) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nFhX6-0008QI-OO for bug-gnu-emacs@gnu.org; Thu, 03 Feb 2022 14:12:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=catern.com; h=from:subject:mime-version:to:content-type:content-transfer-encoding; s=s1; bh=qJRmAyJO98taaLYxVCdsA7WUm/CUOnzqYQpWJFZazzQ=; b=iIEbrpeJsCIQDL7xo5Tcyc8Usw4scpNUcV966mPOkbAgAcetQiu8CwlTnFkxh+R++sRd pVJfX/3fRaHKdtT5HOCqWWypGHxsczEEGA71/pyZEDENWK5adKjpRjVgiYvISph78EszDC 84UFNp7YUn8kBBIjnUuRUPmo9ZjHis0tdDtFP1gqGX+OsqM6T04qBXoh+Q+tHYMV2X6XjO Se5pYqrqf+UxBU4Jk9QUjUGWuiUXtSU1+suiVrtRvVqiUyiX2GAcUCqhuw0ae8mVkjfzLd TDge9imyUGGm/ClVIW+FfoTY6LfHkdLxcAYNjoaXmgQim4qqDgjGPZcitKQiq1bA== Original-Received: by filterdrecv-7bf5c69d5-jxm6x with SMTP id filterdrecv-7bf5c69d5-jxm6x-1-61FC2926-8E 2022-02-03 19:12:39.043514584 +0000 UTC m=+13380761.856252426 Original-Received: from earth.catern.com (unknown) by ismtpd0131p1iad2.sendgrid.net (SG) with ESMTP id 5KfZt5-3ScOFMg3I1Rqc2w for ; Thu, 03 Feb 2022 19:12:38.900 +0000 (UTC) Original-Received: by earth.catern.com (Postfix, from userid 1000) id 98DF9624EE; Thu, 3 Feb 2022 14:12:38 -0500 (EST) X-SG-EID: ZgbRq7gjGrt0q/Pjvxk7wM0yQFRdOkTJAtEbkjCkHbIYRXTvM0SGqv9o8SVcb5T0j2A1E2JdSYMTZJ8Bo2EvXKWWytpOdaSyRiXoBn2Bln+iqfmNEPkYh0sWd9E7IjkbkrtqdWs00q04WA+hFHTwhEdsbNhcSywgK9LEXthDkbK+lBbSs/ssCPkGlGZU8T7BlkyqZvXqWfhfsVMb5ciVUA== X-Entity-ID: d/0VcHixlS0t7iB1YKCv4Q== Received-SPF: pass client-ip=149.72.131.227; envelope-from=bounces+21787432-3678-bug-gnu-emacs=gnu.org@em8926.catern.com; helo=wrqvvpzp.outbound-mail.sendgrid.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:225909 Archived-At: isearch-forward (C-s) while in a recursive edit (C-r) triggered from dired-do-find-regexp-and-replace (Q in a dired buffer) always fails to find any matches for any string, even if there are matches in the buffer. Steps to reproduce: 1. Open a dired buffer in a directory containing at least one file which contains some text (e.g. "Hello world") 2. Run dired-do-find-regexp-and-replace to replace "Hello" with "Goodbye" ("Q Hello RET Goodbye RET"); this will switch buffers to the first matching file. 3. Type C-r to enter a recursive edit (I'm guessing this runs (recursive-edit)?) 4. At the start of the buffer, run isearch-forward searching for "world" ("C-s world RET") 5. Note that the isearch fails despite "world" being in the buffer. For what it's worth, this interestingly doesn't happen with project-query-regexp-replace (which also does multi-file query-replace). In GNU Emacs 28.0.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.16.0) Repository revision: 525dc6e5c428185b62c72d7958cd4fe17937f126 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: NixOS 21.05 (Okapi) Configured using: 'configure --prefix=/nix/store/rkpz8vsk15zlphra3hhngf96irwci7r3-emacs-git-20220115.0 --disable-build-details --with-modules --with-x-toolkit=gtk3 --with-xft --with-cairo' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB Important settings: value of $EMACSLOADPATH: value of $EMACSNATIVELOADPATH: /nix/store/fs7slsl0rz28h6dq8rnhgk4ddkk8dh0w-emacs-packages-deps/share/emacs/native-lisp:/nix/store/b854vn0hskfs7d2j4pr1vp71fhf4ynvc-emacs-packages-deps/share/emacs/native-lisp::: value of $LANG: C.UTF-8 locale-coding-system: utf-8-unix Major mode: Dired by name Minor modes in effect: tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t Load-path shadows: /home/sbaugh/.nix-profile/share/emacs/site-lisp/site-start hides /nix/store/b854vn0hskfs7d2j4pr1vp71fhf4ynvc-emacs-packages-deps/share/emacs/site-lisp/site-start /home/sbaugh/.nix-profile/share/emacs/site-lisp/site-start hides /nix/store/rkpz8vsk15zlphra3hhngf96irwci7r3-emacs-git-20220115.0/share/emacs/site-lisp/site-start /nix/store/b854vn0hskfs7d2j4pr1vp71fhf4ynvc-emacs-packages-deps/share/emacs/site-lisp/elpa/transient-20220112.1305/transient hides /nix/store/rkpz8vsk15zlphra3hhngf96irwci7r3-emacs-git-20220115.0/share/emacs/28.0.91/lisp/transient /nix/store/b854vn0hskfs7d2j4pr1vp71fhf4ynvc-emacs-packages-deps/share/emacs/site-lisp/elpa/let-alist-1.0.6/let-alist hides /nix/store/rkpz8vsk15zlphra3hhngf96irwci7r3-emacs-git-20220115.0/share/emacs/28.0.91/lisp/emacs-lisp/let-alist Features: (shadow sort mail-extr eieio-opt cl-extra speedbar ezimage dframe find-func shortdoc help-fns radix-tree help-mode emacsbug message rmc puny rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map time-date subr-x mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils misearch multi-isearch bug-reference pulse color vc-mtn vc-hg vc-git diff-mode easy-mmode vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs vc vc-dispatcher find-dired grep compile text-property-search comint ansi-color xref project ring thingatpt dired-aux cl-loaddefs cl-lib dired dired-loaddefs seq byte-opt gv bytecomp byte-compile cconv iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 588633 721804) (symbols 48 9814 41) (strings 32 58972 20078) (string-bytes 1 2344778) (vectors 16 49128) (vector-slots 8 391332 666289) (floats 8 169 491) (intervals 56 104017 11468) (buffers 992 22))