From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#64178: replace-regexp ignoring value of org-search-invisible Date: Thu, 22 Jun 2023 07:48:02 +0000 Message-ID: <87ttv0c4zx.fsf@localhost> References: <87v8fiseja.fsf@localhost> <87mt0usaah.fsf@localhost> <875y7hhmoo.fsf@localhost> <87v8fhf747.fsf@localhost> <86ttv00z7c.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="943"; mail-complaints-to="usenet@ciao.gmane.io" Cc: bobf32@gmail.com, 64178@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 22 09:44:21 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 1qCEzM-000Ac2-QI for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Jun 2023 09:44:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qCEz8-0001D1-Iv; Thu, 22 Jun 2023 03:44: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 1qCEz5-00017O-CZ for bug-gnu-emacs@gnu.org; Thu, 22 Jun 2023 03:44: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 1qCEz5-0007Fs-3Q for bug-gnu-emacs@gnu.org; Thu, 22 Jun 2023 03:44:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qCEz4-0007N5-Ex for bug-gnu-emacs@gnu.org; Thu, 22 Jun 2023 03:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Jun 2023 07:44: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.168741980028275 (code B ref 64178); Thu, 22 Jun 2023 07:44:02 +0000 Original-Received: (at 64178) by debbugs.gnu.org; 22 Jun 2023 07:43:20 +0000 Original-Received: from localhost ([127.0.0.1]:34729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCEyO-0007Lz-AF for submit@debbugs.gnu.org; Thu, 22 Jun 2023 03:43:20 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:44643) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCEyM-0007Lj-HB for 64178@debbugs.gnu.org; Thu, 22 Jun 2023 03:43:19 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 7D895240027 for <64178@debbugs.gnu.org>; Thu, 22 Jun 2023 09:43:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1687419792; bh=xeRXZ/PHc4J3aEHy029kkk+7O4+k8N4Hco6pMHVM0MA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=P6fa1ZOpB+98j1N/pqOeOC/n0QJ9ECaMznac7ts7HTrNNtTBf/L3b3XjEkqVYe/CT s1TqmxdzN/gQzh8YMLsrr+yItekPXFwbehSvZQ9qYiCRlgrqPcyPCnYEMF4Km18gD7 oFhr5c4wO9hOsQmW+PJgHHiUQKZwuHuxpw9lqWsIIms7ZTzTRTYBq1TWfHiE5fx0yL TG8W9q6Qck7RYG2lId7rztct6myltP5wzfQ5OZ8YkhjilgTYPYcab9+B+9Vq9YHVCf CMjWbn3PXVKmy/JWpImuKuK2KB5lHeJSPwSzlyNKDcyPrNHM95ZLEKOK5h+uOszSUk wIKZmLhbICG9A== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Qmsmb58s8z6tw0; Thu, 22 Jun 2023 09:43:11 +0200 (CEST) In-Reply-To: <86ttv00z7c.fsf@mail.linkov.net> 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:263866 Archived-At: Juri Linkov writes: >> Ok. Then, it is not an Org mode bug. > > Actually, Isearch never supported zero-length invisible matches. > The following condition was in isearch.el since day 1: > > (defun isearch-range-invisible (beg end) > "Return t if all the text from BEG to END is invisible." > (when (/= beg end) > > So any zero-length match is deemed visible by Isearch. Which is unexpected. It is natural to expect that zero-width matches are considered invisible when the surrounding text is invisible. Also, is this documented anywhere? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at