From: Stefan Merten <stefan@merten-home.de>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Eli Zaretskii <eliz@gnu.org>,
74785@debbugs.gnu.org, James Cloos <cloos@jhcloos.com>,
rb@ravenbrook.com
Subject: bug#74785: 27.1; Fill-paragraph in RST mode does not respect line blocks
Date: Mon, 23 Dec 2024 17:50:48 +0100 [thread overview]
Message-ID: <6225.1734972648@eskebo> (raw)
In-Reply-To: <jwva5cuw877.fsf-monnier+emacs@gnu.org>
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
next prev parent reply other threads:[~2024-12-23 16:50 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-11 10:37 bug#74785: 27.1; Fill-paragraph in RST mode does not respect line blocks Richard Brooksby
2024-12-14 10:22 ` Eli Zaretskii
2024-12-16 22:05 ` Stefan Merten
2024-12-17 2:53 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-12-17 6:05 ` James Cloos
2024-12-17 12:51 ` Eli Zaretskii
2024-12-17 14:49 ` James Cloos
2024-12-17 15:11 ` Eli Zaretskii
2024-12-17 15:34 ` Richard Brooksby
2024-12-17 15:41 ` Eli Zaretskii
2024-12-17 17:07 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-12-23 16:50 ` Stefan Merten [this message]
2024-12-17 12:25 ` Eli Zaretskii
2024-12-17 17:12 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-12-18 4:56 ` Richard Brooksby
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6225.1734972648@eskebo \
--to=stefan@merten-home.de \
--cc=74785@debbugs.gnu.org \
--cc=cloos@jhcloos.com \
--cc=eliz@gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=rb@ravenbrook.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.