From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Brooksby Newsgroups: gmane.emacs.bugs Subject: bug#74785: 27.1; Fill-paragraph in RST mode does not respect line blocks Date: Wed, 18 Dec 2024 04:56:45 +0000 Message-ID: References: <86msgyva15.fsf@gnu.org> <376758.1734386711@eskebo> <86zfkuo5sv.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------6pyRy8C9Wf4J7cFuq3yo0v1Q" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7418"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: stefan@merten-home.de, 74785@debbugs.gnu.org To: Stefan Monnier , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 18 05:58:24 2024 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 1tNm8d-0001mz-Dj for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 18 Dec 2024 05:58:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNm8M-0003jQ-2U; Tue, 17 Dec 2024 23:58:06 -0500 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 1tNm8J-0003j6-2W for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2024 23:58:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tNm8I-00071j-Pv for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2024 23:58:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=QwYjzO13fXAL/ZdpMnr8D5crZGTnz5jbh7asEt43ZLI=; b=jfpUum46C8lAeLWZj5fXmkk1bQNOSIFZAv8yrY/cNimQ5Dt6BH6+Rq1aut6LQBZOJjFrqJTWlPRNwJzfzq6RkKbozCwrvojEkpCxxraoaC6cz5Y8p1WfVHNVF+x76SGbyJWs3ZI3cmjbcekYPag2F4FkjUqn3Y2uQeqe3YMQ3gWH6He45P0m7pMF6T2WT+QcLWBfUPDMJbRep0sVewYTxdRgEd23l7QKZz4ZeUuYxgMYRA+bN/vwovJ6IZEi4Cp2gaSDMD0KP3BE8L8VQESzjLHw1O7xTJfiEG77k3sRJPMMMBiVBcTPQIrpm2wmwBZeVNk1Z1u/FbnWG+IeUJtj2Q==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tNm8I-00036J-7R for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2024 23:58:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Richard Brooksby Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 Dec 2024 04:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74785 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 74785-submit@debbugs.gnu.org id=B74785.173449784411861 (code B ref 74785); Wed, 18 Dec 2024 04:58:02 +0000 Original-Received: (at 74785) by debbugs.gnu.org; 18 Dec 2024 04:57:24 +0000 Original-Received: from localhost ([127.0.0.1]:32930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNm7g-00035F-Be for submit@debbugs.gnu.org; Tue, 17 Dec 2024 23:57:24 -0500 Original-Received: from petrel.ravenbrook.com ([46.235.224.209]:56708 helo=mail-gateway.ravenbrook) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNm7d-000354-Gs for 74785@debbugs.gnu.org; Tue, 17 Dec 2024 23:57:22 -0500 Original-Received: from mail-gateway.ravenbrook (localhost [127.0.0.1]) by mail-gateway.ravenbrook (Proxmox) with ESMTP id 2F7045DE18; Wed, 18 Dec 2024 04:56:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ravenbrook.com; h=cc:cc:content-type:content-type:date:from:from:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to; s=pmg; bh=QwYjzO13fXAL/ZdpMnr8D5crZGTnz5jbh7asEt43ZLI=; b=V 61YVnMMs4sUx5wwVrYHoqZgqrmR98LKFQC9jiMS/Okn0Riz62cozfNjQ8RvRfUWf NoE62zQO8rTtopRCtlNpZoQIwt86Iv/RTiYD0UwhyZ2oWkxpmUkefKLeCX215Alg YPPZJBnf0L/p/OS1oYwOoCSEXvpImaVL6CaLKuw6MGVd85YGung84CqON9JK1Bnm fV7OuNetX6dgJf6dO5bNhSWXDEq/6vsp//SQIVhjix6O4W9pD5if+FxrEzWYQbgH XCqQw1p/G/9C2TgDYOROpzujcf8BNIAVa/sTz/ML2ZyNv6ACx27dEWKbi7FOj6W9 5r7bz7tyw8Fpy22y7pXXA== Original-Received: from mx.ravenbrook.com (mx.ravenbrook [IPv6:fd42:d923:e021:7be6:216:3eff:fe75:c2cc]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail-gateway.ravenbrook (Proxmox) with ESMTPS id 715515DE08; Wed, 18 Dec 2024 04:56:48 +0000 (UTC) Original-Received: from mx.ravenbrook ([fd42:d923:e021:7be6:216:3eff:fe75:c2cc] helo=[192.168.1.29]) by mx.ravenbrook.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tNm76-001ReH-3i; Wed, 18 Dec 2024 04:56:48 +0000 Content-Language: en-GB, en-US In-Reply-To: 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:297326 Archived-At: This is a multi-part message in MIME format. --------------6pyRy8C9Wf4J7cFuq3yo0v1Q Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2024-12-17 17:12, Stefan Monnier wrote: >>> - set `adaptive-fill-regexp` to match this leading `|`. >> Doesn't it already? > > Not in my test, no. With a paragraph like: > > | bblblbl > | asdfasdf > | asdasdf Please find attached a self-documenting test document that you may find useful. Thank you! --------------6pyRy8C9Wf4J7cFuq3yo0v1Q Content-Type: text/x-rst; charset=UTF-8; name="verse-test.rst" Content-Disposition: attachment; filename="verse-test.rst" Content-Transfer-Encoding: base64 PT09PT09PT09PT09PT09PQogQnVnIDc0Nzg1IHRlc3QKPT09PT09PT09PT09PT09PQoKVGhp cyBpcyBhIHRlc3QgZmlsZSBmb3IgYEdOVSBFbWFjcyBidWcgNzQ3ODUKPGh0dHBzOi8vZGVi YnVncy5nbnUub3JnL2NnaS9idWdyZXBvcnQuY2dpP2J1Zz03NDc4NT5gXywgY3JlYXRlZCB0 bwpoZWxwIGNsYXJpZnkgdGhlIGlzc3VlIGFuZCBoZWxwIGRldmVsb3BlcnMgdGVzdCBzb2x1 dGlvbnMuICBJdCdzIG5vdApleGhh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