Re: replace-regexp ignoring value of org-search-invisible

2023-06-21 Thread bobf32
Fair enough, thank you. On Wed, 21 Jun 2023 at 11:20, Ihor Radchenko wrote: > bob...@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 hea

Re: replace-regexp ignoring value of org-search-invisible

2023-06-21 Thread Ihor Radchenko
bob...@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 htt

replace-regexp ignoring value of org-search-invisible

2023-06-20 Thread bobf32
I would like to perform a search and replace operation to append some text to a range of lines. The range of lines is a series of headings in an org file which might have the following structure: ** A *** A1 ** B *** B1 ** C *** C1 ** D *** D1 I would like to append some text, foo, to the lines *