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


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

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
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: Re: bug#75526: python.el uses treesit-declare-unavailable-functions
 despite requiring emacs >v24.4
Date: Sat, 1 Mar 2025 20:41:04 -0800
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

>>> 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.

I bumped the requirement to Emacs 26.3, which fixes some of the issues
reported here.  Let's see if we need to bump it even higher.

>> 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.

Thanks, I did that.




This bug report was last modified 75 days ago.

Previous Next


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