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


Message #76 received at 67262 <at> debbugs.gnu.org (full text, mbox):

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: Re: bug#67262: python-ts-mode cannot identify triple-quoted-strings
Date: Sat, 23 Dec 2023 15:51:24 -0800
[Message part 1 (text/plain, inline)]

> On Dec 23, 2023, at 1:01 PM, Dmitry Gutov <dmitry <at> gutov.dev> wrote:
> 
> On 23/12/2023 20:03, Yuan Fu wrote:
>>> On Dec 23, 2023, at 1:52 AM, Eli Zaretskii<eliz <at> gnu.org>  wrote:
>>> 
>>> Ping!  Can we please make further progress here to resolve this issue?
>> Once we merge the fix for bug#66732, we can proceed on this. I have a patch for this bug too.
> 
> FWIW, I suggest using the first half of the patch attached to https://debbugs.gnu.org/67262#23
> 
> Only adjusting the positions to add the property to the "inner" pair of quotes rather than the outer one (to match python-mode).

Something like this? IMHO the code is easier to understand without the syntax-propertize-rules.

Yuan

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

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

Previous Next


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