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 22:47:59 +0200 Message-ID: <87y1x6c6io.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> <877d4qbl2m.fsf@elite.giraud> <86h73uqdp5.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26143"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (berkeley-unix) Cc: Lars Ingebrigtsen , 56335@debbugs.gnu.org, Eli Zaretskii , Manuel Giraud To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 06 23:45:22 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 1o9Cpl-0006Ya-A9 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Jul 2022 23:45:21 +0200 Original-Received: from localhost ([::1]:52426 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o9Cpj-0008Bh-Rw for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Jul 2022 17:45:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45570) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9BxG-000256-MH for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2022 16:49:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33142) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o9BxG-0001Fj-E3 for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2022 16:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o9BxG-0004P6-78 for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2022 16:49:02 -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 20:49:02 +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.165714048516844 (code B ref 56335); Wed, 06 Jul 2022 20:49:02 +0000 Original-Received: (at 56335) by debbugs.gnu.org; 6 Jul 2022 20:48:05 +0000 Original-Received: from localhost ([127.0.0.1]:55272 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9BwK-0004Nc-P0 for submit@debbugs.gnu.org; Wed, 06 Jul 2022 16:48:04 -0400 Original-Received: from ledu-giraud.fr ([51.159.28.247]:13049) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9BwI-0004N9-PB for 56335@debbugs.gnu.org; Wed, 06 Jul 2022 16:48:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=3z+Oe4/AojhmgPBe WMvyIXNab+vl9+TJ51mIu5zo/Bw=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=Dbnd1wxwMaYDnTfsJWZYGtshMYhlTRuWEjVRia goOt7ImF7/S/b+quREmOQ749ycx5M8FetIWW7SYysvIZg9AssF90xU8H4Wlu3Aj7mio2y7 /Kdq9xjOee19TEGOWIndrxnBD4WlFwLvpfu99K9uu0wfUifsKkYoDyu3HbNSZuQ+6Br7bk kTyTQ5WnYN174sjxAODMmLWybXfOab2RMf8zLrQTpqq9GZxZq4bhWdJ+SbCxLIGGFKngqV JGlNUrBfvbz6UGiewIdrcy7/vIGlCuNDA34jgDjoGLdB4aXAaqiFox6xrCFF9/p8R0EQg7 E8F9QDW4wXLB1wct+7fNR9Sw== Original-Received: from elite.giraud ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id b792be91 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 6 Jul 2022 22:48:00 +0200 (CEST) In-Reply-To: <86h73uqdp5.fsf@mail.linkov.net> (Juri Linkov's message of "Wed, 06 Jul 2022 21:49:10 +0300") 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:236302 Archived-At: Juri Linkov writes: [...] Hi Juri, > After longlines.el was unobsoleted, I checked that its search/replace > functions have correct implementation: longlines-search-function, > longlines-search-forward, longlines-re-search-forward, all looks > correct. Good. > Or do you mean that you tried to implement a new feature where > whitespace contains non-whitespace characters? Have you tried > to change the value of search-spaces-regexp to include such > characters? Since now longlines could break on other characters then just space (see `longlines-breakpoint-chars'), it may be a new feature... but I'm not sure it would be useful. I've tried to modify search-spaces-regexp (with the content of longlines-breakpoint-chars) and it works as advertised. -- Manuel Giraud