From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: bobf32@gmail.com Newsgroups: gmane.emacs.bugs Subject: bug#64178: replace-regexp ignoring value of org-search-invisible Date: Tue, 20 Jun 2023 21:48:50 +0100 Message-ID: References: <87v8fiseja.fsf@localhost> <87mt0usaah.fsf@localhost> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000006fa80f05fe95c924" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14958"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64178@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 20 22:50:16 2023 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 1qBiIp-0003i7-SL for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 20 Jun 2023 22:50:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qBiIg-0000U9-Bh; Tue, 20 Jun 2023 16:50:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qBiId-0000Tk-6J for bug-gnu-emacs@gnu.org; Tue, 20 Jun 2023 16:50:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qBiIc-00076R-TW for bug-gnu-emacs@gnu.org; Tue, 20 Jun 2023 16:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qBiIc-0006rv-8G for bug-gnu-emacs@gnu.org; Tue, 20 Jun 2023 16:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: bobf32@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Jun 2023 20:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64178 X-GNU-PR-Package: emacs Original-Received: via spool by 64178-submit@debbugs.gnu.org id=B64178.168729417526361 (code B ref 64178); Tue, 20 Jun 2023 20:50:02 +0000 Original-Received: (at 64178) by debbugs.gnu.org; 20 Jun 2023 20:49:35 +0000 Original-Received: from localhost ([127.0.0.1]:59848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBiIA-0006r6-Vd for submit@debbugs.gnu.org; Tue, 20 Jun 2023 16:49:35 -0400 Original-Received: from mail-yw1-f173.google.com ([209.85.128.173]:44120) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBiI8-0006qp-D8 for 64178@debbugs.gnu.org; Tue, 20 Jun 2023 16:49:33 -0400 Original-Received: by mail-yw1-f173.google.com with SMTP id 00721157ae682-56ff9cc91b4so58461827b3.0 for <64178@debbugs.gnu.org>; Tue, 20 Jun 2023 13:49:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687294166; x=1689886166; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=0QCqSlsqSWmcHjKHtBgzsYrgAPd2sDCbcy9gLJtsyOQ=; b=GIA9+hK7u5Wx/3Ldj2jtjUhAAIZtc5Ke0ZpJOwLYri3zhKGM1Ka9gdS0BqRjE8wuel lwl8S/RP0w0G/HaW08nHpYLRX+l89EdtFvScvuVvK+n0CanKGyx5vLS22rPsk6VPoMLs 10cDtU6dtg1qQ68xR6upZN4A3TKCX/VzpEXeARJFOVyv1+KM5jCB+qb58GcztGk/CF5L 4+VFNLBItmp5w122FECMWtn/y/eRxQHfj8waa5uDBaMLBv5l7MA7pSowQLgXSA0n49BF OnErWDmzRU35WQiW7ktI2ajXJz/C4OQwWt1RkA9RuYgT05WBqzlOYazxXXpA7gmMxKek z5+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687294166; x=1689886166; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0QCqSlsqSWmcHjKHtBgzsYrgAPd2sDCbcy9gLJtsyOQ=; b=aSSmmUyFHRyykzhmrvS+td/FJgF1pJOm0243+SFv9/RIEimRUJqnUtvMrKyaP3wthh DYSUl/+d4B5eu8DD1SCeTUOQBplrwFXcDZLjik06lKFgr9wT2zP4SsEvdo/+7dEELV09 KJOkTQoK+sFMLiz+cOmJwrivNTL40ZYihB6FmUIzzow6W3VHIH7f74hTknRRGvutL4q7 xjvYcgyTur3de1gnlUdzCm7rkwknmtC6AMQ982pa7ogG/Vi3qtlMZfp3/fgJ4Td78Jsa o5QdImts9jvY0IFtgJucBvfpodZ6PCkbbazbXRENurXqj001crnWS6xvD6jlHetMwdfu J7tw== X-Gm-Message-State: AC+VfDxdbGTpPi40GEyWdPPHcd2UWM51umy4dIta1Q4cOUnLI2gMZCL1 ge5U+614VnOH7B87By4GfJNMMPODOOQUQiDAIpFbxmK/hSo= X-Google-Smtp-Source: ACHHUZ57HX82d290X3hP1oyGGIrgxliEdrA9nRFWYEPGJpXYrLm3kKTv4GmYlr0T8JKryk7+w2Kb3UX85FWmRJCAcFU= X-Received: by 2002:a81:6887:0:b0:565:cf47:7331 with SMTP id d129-20020a816887000000b00565cf477331mr15836173ywc.2.1687294166669; Tue, 20 Jun 2023 13:49:26 -0700 (PDT) In-Reply-To: <87mt0usaah.fsf@localhost> 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:263777 Archived-At: --0000000000006fa80f05fe95c924 Content-Type: text/plain; charset="UTF-8" Thanks. Would you mind trying again, but try and append some text to a line by searching for $ (as should have been mentioned in the original bug report). It looks like the evil issue you refer to is at least partly to blame. On Tue, 20 Jun 2023 at 11:17, Ihor Radchenko wrote: > bobf32@gmail.com writes: > > > Sorry, that was a typo. I set search-invisible, not org-search-invisible. > > Then, I am unable to reproduce using > > 1. emacs -Q /your/example.org > 2. Fold everything > 3. M-< > 4. M-: (setq search-invisible nil) > 5. M-x replace-regexp ^\* [BC] foo > > Also, be aware of https://github.com/emacs-evil/evil/issues/1630 > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at > --0000000000006fa80f05fe95c924 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks. Would you mind trying again,=C2=A0but try and appe= nd some text to a line by searching for $ (as should have been mentioned=C2= =A0in the original=C2=A0bug report). It looks like the evil issue you refer= to is at least partly to blame.

On Tue, 20 Jun 2023 at 11:17, Ihor Radchenk= o <yantar92@posteo.net> wr= ote:
bobf32@gmail.com writes:

> Sorry, that was a typo. I set search-invisible, not org-search-invisib= le.

Then, I am unable to reproduce using

1. emacs -Q /your/example.org
2. Fold everything
3. M-<
4. M-: (setq search-invisible nil)
5. M-x replace-regexp <RET> ^\* [BC] <RET> foo

Also, be aware of https://github.com/emacs-evil/evil/i= ssues/1630

--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,=
or support my work at <https://liberapay.com/yantar92>
--0000000000006fa80f05fe95c924--