From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Manuel Giraud Newsgroups: gmane.emacs.bugs Subject: bug#56335: 29.0.50; [PATCH] Add more breakpoint chars support to longlines-mode Date: Wed, 06 Jul 2022 12:18:57 +0200 Message-ID: <877d4qbl2m.fsf@elite.giraud> References: <87czep15pf.fsf@elite.giraud> <87y1xb1zk5.fsf@gnus.org> <83sfnjbse9.fsf@gnu.org> <87edz31y62.fsf@gnus.org> <83pminbrak.fsf@gnu.org> <87fsjjzfpl.fsf@gnus.org> <87k08vrz4b.fsf@elite.giraud> <831qv2bwx3.fsf@gnu.org> <87iloduwt0.fsf@elite.giraud> <834jzx9ld5.fsf@gnu.org> <87wncrzp19.fsf@elite.giraud> <875ykb34gr.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26436"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (berkeley-unix) Cc: Eli Zaretskii , 56335@debbugs.gnu.org, Manuel Giraud To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 06 12:27:16 2022 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 1o92FV-0006cl-PP for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Jul 2022 12:27:13 +0200 Original-Received: from localhost ([::1]:53540 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o92FT-0004Yb-2I for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Jul 2022 06:27:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52714) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o927j-0000a0-Jz for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2022 06:19:11 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58589) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o927j-0006yq-9f for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2022 06:19:11 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o927j-0002Xm-3w for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2022 06:19:11 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Manuel Giraud Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Jul 2022 10:19:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56335 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 56335-submit@debbugs.gnu.org id=B56335.16571027479667 (code B ref 56335); Wed, 06 Jul 2022 10:19:10 +0000 Original-Received: (at 56335) by debbugs.gnu.org; 6 Jul 2022 10:19:07 +0000 Original-Received: from localhost ([127.0.0.1]:52459 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o927e-0002Vd-JR for submit@debbugs.gnu.org; Wed, 06 Jul 2022 06:19:06 -0400 Original-Received: from ledu-giraud.fr ([51.159.28.247]:43006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o927X-0002Sg-8t for 56335@debbugs.gnu.org; Wed, 06 Jul 2022 06:19:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=mOjle/URToZONHp3 l5E6tyruK0A0AcDvviG4oa3Dv4M=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=FF90mUo4FilPV/Mem5gq/pSiQhm4a/PH57yqxl ibFzapWn+OI7D65iuM4wILe1ZXDUc4AZ2CGZ5yetjuVzuRzj7mGRGBTL/O6/nc1d1JAZ5h H1Nq7vzWGF1OjRkIRVQCjTejuzvKZisZjiqyPgYoYWlrHxpdI6NLVY0GMMtoltRSCUaN26 ThKdNr4rWNHpjw2M1QfmnS5iIi0Rs8YKGb/PMwK1wQdoZufCxjnhFu0IxrAghc2wAVHxxS I+wjKVJ+4Oo7BdF/rRJDci2l6Ahb1W3m2h4KGEpWugMnLn9XGFnFNeAYE8CQyV6EfPa2me KiexNQqh0J5A0PoWjmbMzsdQ== Original-Received: from elite.giraud ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id b0a1aa7b (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 6 Jul 2022 12:18:57 +0200 (CEST) In-Reply-To: <875ykb34gr.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 05 Jul 2022 18:32:36 +0200") 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" Xref: news.gmane.io gmane.emacs.bugs:236209 Archived-At: Lars Ingebrigtsen writes: [...] >> I'm now trying to update the search/query-replace but I don't understand >> how 'search-spaces-regex' works. It seems that with it I should be able >> to jump above soft newlines during search, but how ? > > Hm, not sure either... Ok. As far as I understand, a search will use `search-spaces-regex' in place of an explicit space entered by the user at prompt. So I could use this to match separators (and newline) when a space is entered but it won't automatically =C2=ABjump=C2=BB soft newlines as I want= ed. Example with this longlines-mode content: --8<---------------cut here---------------start------------->8--- Element1|Element2| Element3| --8<---------------cut here---------------end--------------->8--- Searching for "|Element3|" won't match but I could use `search-spaces-regex' to make searching for " Element3 " match. What do you think? --=20 Manuel Giraud