From: Stefan Merten <stefan@merten-home.de>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: Thomas Hisch <thomas.hisch@ims.co.at>, 46304@debbugs.gnu.org
Subject: bug#46304: 28.0.50; rst-mode fill-paragraph broken in bullet-lists
Date: Sat, 25 Jun 2022 16:44:54 +0200 [thread overview]
Message-ID: <120584.1656168294@eskebo> (raw)
In-Reply-To: <87r13odann.fsf@gnus.org>
Hi Lars, Thomas!
Last week (9 days ago) Lars Ingebrigtsen wrote:
> Thomas Hisch <thomas.hisch@ims.co.at> writes:
>
>> * asdfasf dafd sfkdkfaslfksdflk mdfa sdfsdf kldf a kdasfd asf
>> :math:`\kappa` dfaskdflsdf dasfdfas df.
>>
>> * asdfasf dafd sfkdkfaslfksdflk mdfa sdfsdf kldf a kdasfd asf kksadfo
>> mmommmmmasd :math:`\kappa` dfaskdflsdf dasfdfas df.
>
> (I'm going through old bug reports that unfortunately weren't resolved
> at the time.)
Thanks, I never saw that.
> I can reproduce this in Emacs 29, too -- it seems to be because :math:
> is matched by:
>
> (fld-tag ":" fldnam-tag ":") ; A field marker.
That is - on this level of syntax analysis - really an ambiguity in
the syntax of reStructuredText. See
https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#field-lists
See the example. The line starting with ":Indentation:" is the same
case and the example indents it correctly.
I think you could resolve the ambiguity by suffixing the ":math:"
instead: "`\kappa`:math:" should work.
> I've added Stefan to the CCs; perhaps he has some comments.
Thanks a lot.
This is really a corner case. I'd say: Won't fix.
Regards
Stefan
next prev parent reply other threads:[~2022-06-25 14:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-04 20:09 bug#46304: 28.0.50; rst-mode fill-paragraph broken in bullet-lists Thomas Hisch
2022-06-16 13:02 ` Lars Ingebrigtsen
2022-06-25 14:44 ` Stefan Merten [this message]
2022-06-26 16:25 ` Lars Ingebrigtsen
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=120584.1656168294@eskebo \
--to=stefan@merten-home.de \
--cc=46304@debbugs.gnu.org \
--cc=larsi@gnus.org \
--cc=thomas.hisch@ims.co.at \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).