From: Lars Ingebrigtsen <larsi@gnus.org>
To: Doug Davis <ddavis@ddavis.io>
Cc: 45679@debbugs.gnu.org
Subject: bug#45679: 28.0.50; python-mode variable font locking is inconsistent
Date: Mon, 16 May 2022 15:42:42 +0200 [thread overview]
Message-ID: <87ilq5egq5.fsf@gnus.org> (raw)
In-Reply-To: <m2lfb7vgws.fsf@ddavis.io> (Doug Davis's message of "Sun, 28 Feb 2021 19:47:31 -0500")
Doug Davis <ddavis@ddavis.io> writes:
> Its seems that the issue pops up when a function signature includes the
> trailing return type int:
>
> #+begin_src python
> def func(a, b) -> None:
> x = 5
> y = 6
> #+end_src
>
> has bad assignment font locking for "x = 5"; while this version:
>
> #+begin_src
> def func(a, b):
> x = 5
> y = 6
> #+end_src
>
> appears to have expected variable assignment font locking.
This should now be fixed (in a patch for bug#51362) in Emacs 29.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
prev parent reply other threads:[~2022-05-16 13:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-05 21:07 bug#45679: 28.0.50; python-mode variable font locking is inconsistent Doug Davis
2021-01-05 22:51 ` Doug Davis
2021-01-05 23:04 ` Doug Davis
2021-01-13 17:44 ` Doug Davis
2021-03-01 0:47 ` Doug Davis
2021-03-01 0:55 ` Doug Davis
2021-03-01 1:03 ` Doug Davis
2022-05-16 13:42 ` Lars Ingebrigtsen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ilq5egq5.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=45679@debbugs.gnu.org \
--cc=ddavis@ddavis.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.