GNU bug report logs -
#46304
28.0.50; rst-mode fill-paragraph broken in bullet-lists
Previous Next
Reported by: Thomas Hisch <thomas.hisch <at> ims.co.at>
Date: Thu, 4 Feb 2021 20:11:01 UTC
Severity: normal
Tags: wontfix
Found in version 28.0.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hi Lars, Thomas!
Last week (9 days ago) Lars Ingebrigtsen wrote:
> Thomas Hisch <thomas.hisch <at> 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
This bug report was last modified 2 years and 325 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.