From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id kOseGizPkmQIZgEASxT56A (envelope-from ) for ; Wed, 21 Jun 2023 12:21:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gC49GSzPkmQYsQAAG6o9tA (envelope-from ) for ; Wed, 21 Jun 2023 12:21:32 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C806436833 for ; Wed, 21 Jun 2023 12:21:31 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qBuwn-0003Vh-PK; Wed, 21 Jun 2023 06:20:21 -0400 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 1qBuwk-0003Tl-Oz for emacs-orgmode@gnu.org; Wed, 21 Jun 2023 06:20:20 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qBuwi-0001D0-QD for emacs-orgmode@gnu.org; Wed, 21 Jun 2023 06:20:18 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id DA361240101 for ; Wed, 21 Jun 2023 12:20:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1687342813; bh=Ex+SCOA4aP4fuNBwc2QPP88/QzxmqTf2t7j2Uj9JGxA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=DwJ+dK0tXhU3393zrMwj4NlUrY6gCdZcfEHg2PmAA59wJGRmQgg3WfNAXCxNArYwj pNj2qKBdF6/RQflT0WXwigKRBo+JdrjsNQcOoRRUw2fl9oi+kN6KvzHlXg5vIaRsQ/ 0dXrT68k0VpvB/Gf/vEuh42e40vbsfJXK/oC7/VHJ5xs/HUTQfBBB7u+wcnj/V3VQu ojcCnCns7QUr4tx0BaBChSR7g62S6P5/WF2O7XOG6EuBs5+ijK3IdJF59Uul39zB4u vg3XKCwpW7WdflrNeMPeDsAb2kTfvwoXX4/7yPTy+VvC5TNb1cv0IRawHdYEe64FM+ KVHq5Zzeltx5g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QmKJD5k6wz6tyD; Wed, 21 Jun 2023 12:20:12 +0200 (CEST) From: Ihor Radchenko To: bobf32@gmail.com Cc: emacs-orgmode@gnu.org Subject: Re: replace-regexp ignoring value of org-search-invisible In-Reply-To: References: Date: Wed, 21 Jun 2023 10:25:07 +0000 Message-ID: <87pm5pf6yk.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1687342892; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=LZxPQvut0N6vOD7jM6BvO9tCCRCiFOQjlk228X+mKE0=; b=U2LJ8Vxv8Xt2cCn8KMIc7ww91areI2qPbeY9qTpFF9AVtqtRsDB7rRmXCALKAlST26SXui 8mFAhhhD2+BTnaDj4a7dKkDfEk8Fl8Yw8utEg1N0A2/fNEkyopfCP897lyJ/BSUa/PSTH8 Cc5mPyx1nHvJacwFvFEZXM4QbeHo37Ev8Uloqe9ZKtIQm4ECx3HQNjiBMoN6Dq08FWEuOh igx+lLu/oWTzo1AQeEI9WmsT9dG5jJtRSsOwy/7qLqHY5+7z9GP+R5j5uXn7ZC8nXRuRp/ k5n2Ql5/qUIOoCx1kiW0gtjYLQ5cjcrAa7nSshLhaz24igtR/R1YjEd8UAd/Ow== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=DwJ+dK0t; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1687342892; a=rsa-sha256; cv=none; b=PvTA48AiGM80PFw0OSZsRSl0o9F24zjrx/iXtvm8NNYFC5NCd+vkwGv22eUnsQXX8wiFXE DCSvF86WZ1C//ZDve/M9E/QJF7cs1vzbR6E/E9YU+yw+aJOZXjem8s7W0zLjCoUx96GV04 Mx6vPq20Q5he3xhAyvi2Xlc0cPs44WdQ8h/9o8eMTrWppP913OKuM+VSEEiLzQc7GpJ/uU poqE2b+G6fDrEVKZAcXUHbXSP6YYoOeDeuN+I7EcKCBESkBH5Ir/EF5SmwovN71mHtSRcP Y3JWQxTfXLDfpkTNJnlFSwN5SezK6rX3CfzxthezQLRwyFNpeo9yVyunPRvkbg== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -6.21 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=DwJ+dK0t; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C806436833 X-Spam-Score: -6.21 X-TUID: jesz6l4htJoR bobf32@gmail.com writes: > ... > I expect two replacements to be made, and all the invisible text to be > ignored. What actually happens is that the text is appended to all lines > under the ** B and ** C headings plus the two desired headings > themselves. Canceled. It is a bug in Emacs. See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64178 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at