bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#62142: 30.0.50; python-fill-paragraph problems on filling strings


From: João Távora
Subject: bug#62142: 30.0.50; python-fill-paragraph problems on filling strings
Date: Sun, 12 Mar 2023 18:05:48 +0000
User-agent: Gnus/5.13 (Gnus v5.13)

kobarity <kobarity@gmail.com> writes:

> Attached is a patch to fix these problems.  Main changes are:
>
> 1. single-quoted-string and triple-quoted-string are added as a TYPE
>    argument of `python-syntax-context'.
> 2. New helper function `python-info-triple-quoted-string-p' is added
>    to detect triple quoted strings including quotes.
> 3. `python-fill-paragraph' and `python-fill-string' use
>    `python-info-triple-quoted-string-p' to detect triple quoted
>    strings only.
>
> I look forward to your comments.

Hi kobarity, 

I suppose the test suite still passes.  Did also enable
electric-pair-mode and play around and find acceptable behaviour?  Does
bug#49518 stay solved?

If so, this is fine with me, and let's let Stefan chime in.

João







reply via email to

[Prev in Thread] Current Thread [Next in Thread]