GNU bug report logs - #64178
replace-regexp ignoring value of org-search-invisible

Previous Next

Package: emacs;

Reported by: bobf32 <at> gmail.com

Date: Mon, 19 Jun 2023 20:17:01 UTC

Severity: normal

Full log


Message #23 received at 64178 <at> debbugs.gnu.org (full text, mbox):

From: bobf32 <at> gmail.com
To: Ihor Radchenko <yantar92 <at> posteo.net>
Cc: 64178 <at> debbugs.gnu.org
Subject: Re: bug#64178: replace-regexp ignoring value of org-search-invisible
Date: Tue, 20 Jun 2023 22:04:49 +0100
[Message part 1 (text/plain, inline)]
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

On Tue, 20 Jun 2023 at 21:57, Ihor Radchenko <yantar92 <at> posteo.net> wrote:

> bobf32 <at> gmail.com writes:
>
> > 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.
>
> May you please elaborate what you mean by "$"?
>
> --
> 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>
>
[Message part 2 (text/html, inline)]

This bug report was last modified 15 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.