GNU bug report logs - #71797
30.0.60; Face of variables and function parameters in Python

Previous Next

Package: emacs;

Reported by: Stephen Berman <stephen.berman <at> gmx.net>

Date: Thu, 27 Jun 2024 14:06:01 UTC

Severity: normal

Tags: notabug

Found in version 30.0.60

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #15 received at 71797-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Dmitry Gutov <dmitry <at> gutov.dev>
Cc: 71797-done <at> debbugs.gnu.org, Stephen Berman <stephen.berman <at> gmx.net>
Subject: Re: bug#71797: 30.0.60;
 Face of variables and function parameters in Python
Date: Fri, 28 Feb 2025 17:55:15 -0800
Dmitry Gutov <dmitry <at> gutov.dev> writes:

> On 27/06/2024 17:04, Stephen Berman via Bug reports for GNU Emacs, the Swiss
> army knife of text editors wrote:
>> M-x python-ts-mode.  Now the uninitialized `age', `a' and `child' as
>>     well as the function parameters `num', `num1' and `num2' are all
>>     fontified with font-lock-variable-name-face.
>
> That seems all right: in all of these cases the variable is being introduced,
> aren't they?
>
> python-mode doesn't have access to a parser of the same quality, so we shouldn't
> expect the exact same features.

Agreed, I don't think we can expect python-mode to have exactly the same
behavior in all cases.  So this doesn't look like a bug to me.

I'm therefore closing this bug report.




This bug report was last modified 160 days ago.

Previous Next


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