From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74785: 27.1; Fill-paragraph in RST mode does not respect line blocks Date: Sat, 04 Jan 2025 13:50:39 +0200 Message-ID: <86bjwmer1s.fsf@gnu.org> References: <86msgyva15.fsf@gnu.org> <376758.1734386711@eskebo> <86r066o4ke.fsf@gnu.org> <6225.1734972648@eskebo> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12541"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74785@debbugs.gnu.org, monnier@iro.umontreal.ca, cloos@jhcloos.com, rb@ravenbrook.com To: Stefan Merten Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 04 12:51:20 2025 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 1tU2gZ-00036K-PO for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Jan 2025 12:51:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tU2gJ-00033u-Af; Sat, 04 Jan 2025 06:51:03 -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 1tU2gI-00033d-7r for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2025 06:51:02 -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 1tU2gH-0005lh-VT for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2025 06:51:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=gPkxnWbAyetpYYWWIF2999J7lYNZNm5+3EBHIPtsw2U=; b=CxSdvkGr+D30iWOJhJR97J+g2eVpcoUiQud4ma9HHS+VehOOpJh5s7Xi3N+Xj/wYv6bDU2CrNqUeBBrPJghsGC6N6hZYoFIVhm4OWeo1/Ui88FVF4KtajyxvLr9Ruw2Kgr1IqH3w336aCaNZdIErRn93SIq1OJeDN4Jr0e2zDilsZZPbPPDmCSMWPG/VLXfoiA3ASBP8fzcEtu/cfZfWuFJEuF5t2tWn22v09WgqjtbeiwhbSo6H9vl+m0VHsMFfuTz8GynvdgF4IyMiH8SNoDIAP/6P1g5Wf480Pqa1tFB4tUeByDKjo07AsobgVXfYd9Lo09Pgmo2vOLhwPsXTBw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tU2gH-0003ZI-Pw for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2025 06:51:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Jan 2025 11:51:01 +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.173599145213701 (code B ref 74785); Sat, 04 Jan 2025 11:51:01 +0000 Original-Received: (at 74785) by debbugs.gnu.org; 4 Jan 2025 11:50:52 +0000 Original-Received: from localhost ([127.0.0.1]:53698 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tU2g7-0003Yu-SJ for submit@debbugs.gnu.org; Sat, 04 Jan 2025 06:50:52 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60600) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tU2g5-0003Yf-Ht for 74785@debbugs.gnu.org; Sat, 04 Jan 2025 06:50:50 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tU2fz-0005kb-2m; Sat, 04 Jan 2025 06:50:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=gPkxnWbAyetpYYWWIF2999J7lYNZNm5+3EBHIPtsw2U=; b=Gm7lCZm16ZK4hhAl6w/V mGrB+zTljf0NdvxbaFAD1rmoZUYCacN3OzCcgUHN7L0R+G/gZF0hjQQkbgSDLRYhmub2WC2oqpVaD 0b9pCuOpKE8tyFrS0ipHi1DSVsQRwGIhkeCOrWNkuL62Fp94KY1fPXuqa/IfIPpNwVAkiI0WVyKla /ogmvHbjOIa6MP+um5peQWplfw2RYIKaklzUhZOcLb8TeTwbOMeNcqTwD8Y8Vx10TC54m6x8nToN9 ngwlaDcjk1HFBXZEp8d8K8rK8dHwO6ADZUP+9D8Ol/qm+aE5ExaoCBkiBOEQPIOl/NfzkyowhZKms ET00koAYLHgZJg==; In-Reply-To: <6225.1734972648@eskebo> (message from Stefan Merten on Mon, 23 Dec 2024 17:50:48 +0100) 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:298377 Archived-At: Ping! Stefan Merten, did you have time to have another look? > From: Stefan Merten > cc: Eli Zaretskii , James Cloos , > 74785@debbugs.gnu.org, rb@ravenbrook.com > Comments: In-reply-to Stefan Monnier > message dated "Tue, 17 Dec 2024 12:07:08 -0500." > Date: Mon, 23 Dec 2024 17:50:48 +0100 > > Hi guys! > > 6 days ago Stefan Monnier wrote: > >> But that bug is about message-mode, not about rst-mode, so I'm not > >> sure it is the same problem. > > > > It's not (that bug was about a prefix shared by lines of a paragraph, > > whereas this bug is about a prefix which starts a new paragraph). > > Sorry, but it's not that simple. The syntax of reStructuredText is > pretty tricky and it needs lots of good ideas to handle it. But it's > nice to write and read - and that's is why it IMHO is still a > worthwhile alternative. > > If it would be as simple as you suggest, I would have built it in from > the start. There is a reason for not doing it. Indeed line blocks were > at the end of my list of supported reST features because I think they > are used rarely. > > The function `rst-line-tabs' has a FIXME comment: > > ;; FIXME: Must consider other tabs: > ;; * Line blocks > ;; * Definition lists > ;; * Option lists > > I guess the real problem is in that second line, that line blocks are > not yet supported. > > I'll look into this. > > > Grüße > > Stefan > >