GNU bug report logs - #67262
python-ts-mode cannot identify triple-quoted-strings

Previous Next

Package: emacs;

Reported by: JD Smith <jdtsmith <at> gmail.com>

Date: Sat, 18 Nov 2023 15:53:02 UTC

Severity: normal

Merged with 67394

Found in version 29.1.90

Done: Yuan Fu <casouri <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Yuan Fu <casouri <at> gmail.com>
To: Dmitry Gutov <dmitry <at> gutov.dev>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 67262 <at> debbugs.gnu.org, JD Smith <jdtsmith <at> gmail.com>
Subject: bug#67262: python-ts-mode cannot identify triple-quoted-strings
Date: Sat, 16 Dec 2023 15:36:49 -0800
[Message part 1 (text/plain, inline)]
> On Dec 16, 2023, at 5:37 AM, Dmitry Gutov <dmitry <at> gutov.dev> wrote:
> 
> On 16/12/2023 14:47, Eli Zaretskii wrote:
>> How should we make progress with this bug?  I'd like to fix it before
>> Emacs 29.2 is released.
> 
> We're currently working on the general issue in bug#66732.

How do you think of this patch? This extends the patch in bug#66732, and adds correct text property to the quotes (I think).

It doesn’t handle the case of “””””” (no content inside the quotes), but I think that’s fine?


[python-triple-quote.patch (application/octet-stream, attachment)]

This bug report was last modified 1 year and 153 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.