From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Merten Newsgroups: gmane.emacs.bugs Subject: bug#74785: 27.1; Fill-paragraph in RST mode does not respect line blocks Date: Mon, 23 Dec 2024 17:50:48 +0100 Message-ID: <6225.1734972648@eskebo> References: <86msgyva15.fsf@gnu.org> <376758.1734386711@eskebo> <86r066o4ke.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39920"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 74785@debbugs.gnu.org, James Cloos , rb@ravenbrook.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 23 17:52:19 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 1tPlfH-000AFa-66 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 23 Dec 2024 17:52:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPlf6-0002po-Jx; Mon, 23 Dec 2024 11:52:08 -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 1tPlf2-0002pA-FU for bug-gnu-emacs@gnu.org; Mon, 23 Dec 2024 11:52:05 -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 1tPlf0-0006sq-EO for bug-gnu-emacs@gnu.org; Mon, 23 Dec 2024 11:52:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:MIME-Version:References:In-reply-to:From:To:Subject; bh=dN/YQjLcvA/E7Vik9x+wdYcW9Ame6D3kyKq4n38593M=; b=PAv9yPoxLE0aRVA2grbMY8X46CbfY5v+rXP+Yvgy0vDTPuG2HvXmaJU6awYXMmbUnEvACU286zIzLnat5oWaik+cOOvYG6wKFqPxC0ftqMHtsqMDufziTO/b/yajhNjZlJBuR8ryori2ffqygWOMAXxkFhgrTkeZXJZL81JAzfpQ33OBZEPeG41wj4qt6wMQvNoKdVgMRiJ+drDJ/6Miba+hNl2HoIQl+0sTK+Yqq82GqPZNkGM1EHuBdhj/ARi8Z0UfNRmzcFrKRb1WnlVLPQpVylfYASd4C8Vky59w13QUldiQOwsUTOQT+0KTwOEr4tTeUdmImNtSSu46n6fTcw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tPlf0-0006z5-8N for bug-gnu-emacs@gnu.org; Mon, 23 Dec 2024 11:52:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Merten Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Dec 2024 16:52: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.173497267526778 (code B ref 74785); Mon, 23 Dec 2024 16:52:02 +0000 Original-Received: (at 74785) by debbugs.gnu.org; 23 Dec 2024 16:51:15 +0000 Original-Received: from localhost ([127.0.0.1]:55809 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPleE-0006xq-Hy for submit@debbugs.gnu.org; Mon, 23 Dec 2024 11:51:14 -0500 Original-Received: from mout.kundenserver.de ([212.227.126.133]:54321) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPleA-0006xX-DL for 74785@debbugs.gnu.org; Mon, 23 Dec 2024 11:51:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=merten-home.de; s=s1-ionos; t=1734972650; x=1735577450; i=stefan@merten-home.de; bh=dN/YQjLcvA/E7Vik9x+wdYcW9Ame6D3kyKq4n38593M=; h=X-UI-Sender-Class:From:To:cc:Subject:In-reply-to:References: MIME-Version:Content-Type:Content-Transfer-Encoding:Date: Message-ID:cc:content-transfer-encoding:content-type:date:from: message-id:mime-version:reply-to:subject:to; b=loaRkE2eA8yAHhESfAhqLnl3UPq5HThMRrw8FK7mPTTl5H6bLY54/4QVo+xC24wr se3zsSEN6SDSJUrGtojHTnZNGuuo1mI/gvNBE3wm7EG0MhjtOV1wbjTdEV1qcLPpc ibpzLhxwxUqaNzMWVysBjxKnuHwGbXBdvPWpfZqsqm3NPsl6YsV/Roo7+huu2GyEq tcpi9sGUEg9bKAa0H1ev/rFRzs1sLZY8Vrrqc7VWXZaTre/NcZSLYwKk3psVn9yYs fvn6c0Gd2Vwg4M9Z3R6b07W2hzoWC960AabUwUIGmCVt5LUqUL7bh0854NYVRFeJU ZutvrRwmqhCXvdvhQw== X-UI-Sender-Class: 55c96926-9e95-11ee-ae09-1f7a4046a0f6 Original-Received: from eskebo.homelinux.merten-home.de ([109.43.114.157]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.129]) with ESMTPSA (Nemesis) id 1MgzWP-1u1q9X1Q0z-00luqn; Mon, 23 Dec 2024 17:50:50 +0100 Original-Received: by eskebo.homelinux.merten-home.de (Postfix, from userid 1000) id 1529BC0279; Mon, 23 Dec 2024 17:50:48 +0100 (CET) In-reply-to: Comments: In-reply-to Stefan Monnier message dated "Tue, 17 Dec 2024 12:07:08 -0500." X-Mail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MzzrJ+J6mzkBhJ4ylLY8StS7jG6HoFJjXiG4XDtmMNm0riM12fNTAn3js8 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:297651 Archived-At: 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. >=20 > 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=FC=DFe Stefan