|
From: | Juri Linkov |
Subject: | bug#64178: replace-regexp ignoring value of org-search-invisible |
Date: | Thu, 22 Jun 2023 09:50:39 +0300 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) |
>> Of course. My use case is that I wish specifically to append some text to >> some lines. The way I normally do this would be to search for the regex >> end-of-line ($) and replace with some text. E.g. in order to append the >> word foo to the end of a line I would do one of: >> >> :s/$/ foo/ <RET> >> M-x regexp-replace RET $ RET foo > > 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.
[Prev in Thread] | Current Thread | [Next in Thread] |