GNU bug report logs - #75526
python.el uses treesit-declare-unavailable-functions despite requiring emacs >v24.4

Previous Next

Package: emacs;

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

Date: Sun, 12 Jan 2025 21:47:02 UTC

Severity: normal

Fixed in version 31.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: mail <at> daniel-mendler.de, philipk <at> posteo.net, casouri <at> gmail.com, 75526 <at> debbugs.gnu.org, JD Smith <jdtsmith <at> gmail.com>
Subject: bug#75526: python.el uses treesit-declare-unavailable-functions despite requiring emacs >v24.4
Date: Sat, 01 Mar 2025 23:21:58 -0500
>> Thanks.  Unfortunately there are now new changes to python.el which again
>> break Emacs < 30.  The file still mentions:
>>
>>> Package-Requires: ((emacs "24.4")

We should probably bump this up, indeed.

> 2. Stefan Monnier added the call to `derived-mode-add-parents', which
>    needs Emacs 30.1.
>
>    Stefan, can we avoid making that call?  Perhaps it should be added to
>    compat?

We can just wrap the call inside an `fboundp` test.


        Stefan





This bug report was last modified 74 days ago.

Previous Next


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