From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: bobf32@gmail.com Newsgroups: gmane.emacs.bugs Subject: bug#64178: replace-regexp ignoring value of org-search-invisible Date: Tue, 20 Jun 2023 22:04:49 +0100 Message-ID: References: <87v8fiseja.fsf@localhost> <87mt0usaah.fsf@localhost> <875y7hhmoo.fsf@localhost> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000996c5a05fe960293" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15967"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64178@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 20 23:06:24 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 1qBiYR-0003us-In for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 20 Jun 2023 23:06:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qBiY8-0004sQ-15; Tue, 20 Jun 2023 17:06:04 -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 1qBiY6-0004sA-Dh for bug-gnu-emacs@gnu.org; Tue, 20 Jun 2023 17:06:02 -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 1qBiY6-0004SS-3B for bug-gnu-emacs@gnu.org; Tue, 20 Jun 2023 17:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qBiY5-0007KM-UM for bug-gnu-emacs@gnu.org; Tue, 20 Jun 2023 17:06:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: bobf32@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Jun 2023 21:06:01 +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.168729513428125 (code B ref 64178); Tue, 20 Jun 2023 21:06:01 +0000 Original-Received: (at 64178) by debbugs.gnu.org; 20 Jun 2023 21:05:34 +0000 Original-Received: from localhost ([127.0.0.1]:59876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBiXd-0007JY-Si for submit@debbugs.gnu.org; Tue, 20 Jun 2023 17:05:34 -0400 Original-Received: from mail-yw1-f179.google.com ([209.85.128.179]:61460) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBiXb-0007JK-GE for 64178@debbugs.gnu.org; Tue, 20 Jun 2023 17:05:32 -0400 Original-Received: by mail-yw1-f179.google.com with SMTP id 00721157ae682-57001c0baddso47371427b3.2 for <64178@debbugs.gnu.org>; Tue, 20 Jun 2023 14:05:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687295126; x=1689887126; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=hZOFyENKJgCXCCmbXfm0dCCG8pw62Tk7SNuVMS09aoU=; b=llwTmbdw61AhukD8qCV3e6XWHm1DjFG8ab0AOrxMb0ktqCwAnp/9llY9f1nSTMcCUT iBM06sYdrBOUFyxSbOe9D1bEJMJkCUZQLffI4Hr0u+o54E6wqVOtdwbDnCxzFbLKkgSD E1QQPwP+Aq8fUy6WanBnwxRRq7N8xVLUWJDw6f2/gMiz02rIeWxAqG96LlIGotlH8zTb df2wRO+Zb6lhZapm9TsZd/N6/VV71/lG2BevxopjkSYAy4P01GnCZyrIT87Nlx2W4Eb1 2IBSX8ophQhMdgdGe2SqMBGbZP3X1CG/uSCLByBfGUGNZYNL0Z2nSTCumObN5K5SGzcj b1/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687295126; x=1689887126; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hZOFyENKJgCXCCmbXfm0dCCG8pw62Tk7SNuVMS09aoU=; b=AlU2/U+uiEu7+yv3LDkhRsl5FELz9g8NlUbalxRPgxdv3Kx59YzhXRQ/0LINGsE1YD if+X9xJcuSjfnebvBAC9DnW7VPmSj/NFB0cqrKFK5s62yvs7t63xapqR1wfnX9ABZrSD HrfpZ3/EfeEPtBxRtct7XTkTgSUfn5lBGipYj9YGeresN4ljBN8uguZnfK66O3wTP7m1 /SqFRLNxVr41xY6BD9BlP8UOeW1gyBV+d/e9UCFrcGfPq3EU7RFqT/8HaxHEVzGvO4yX iP70p7fbSmXLTdu4XaHr/87s5rkgpsi+30HNTo8BvbQAvgIx0rCxeWKfhpumNAM7JQFK 0ang== X-Gm-Message-State: AC+VfDyh0OlbFo+RqJggNuGXxntQ408Xw1m9HTSRmtfZ7ykcOCUpUl3t wO3zQxI+mLPSzNGStu5S/8FzWtPrzeedo+6+4mtRhDiy X-Google-Smtp-Source: ACHHUZ7Fk/cg1gMW770r6PS/kAvnB6/ojf+21H1q8SZeBxlkzFCJ+5hOdxGbNWS3vA+x5uqYQhuniE9JXwDgZn3MVBM= X-Received: by 2002:a81:8a43:0:b0:56d:278:fea0 with SMTP id a64-20020a818a43000000b0056d0278fea0mr4567732ywg.7.1687295125710; Tue, 20 Jun 2023 14:05:25 -0700 (PDT) In-Reply-To: <875y7hhmoo.fsf@localhost> 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:263780 Archived-At: --000000000000996c5a05fe960293 Content-Type: text/plain; charset="UTF-8" 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/ M-x regexp-replace RET $ RET foo On Tue, 20 Jun 2023 at 21:57, Ihor Radchenko wrote: > bobf32@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 . > Support Org development at , > or support my work at > --000000000000996c5a05fe960293 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Of course. My use case is that I wish specifically to appe= nd some text to some lines. The way I normally do this would be to search f= or the regex end-of-line ($) and replace=C2=A0with 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=C2=A0= foo

On Tue, 20 Jun 2023 at 21:57, Ihor Radchenko <yantar92@posteo.net> wrote:
bobf32@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<= br> > 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>
--000000000000996c5a05fe960293--