GNU bug report logs - #79409
31.0.50; project.el uses define-completion-category but depends on 26.1

Previous Next

Package: emacs;

Reported by: Daniel Mendler <mail <at> daniel-mendler.de>

Date: Mon, 8 Sep 2025 13:51:01 UTC

Severity: normal

Found in version 31.0.50

Full log


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

From: Dmitry Gutov <dmitry <at> gutov.dev>
To: Daniel Mendler <mail <at> daniel-mendler.de>
Cc: "Daniel Mendler via Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>,
 Eshel Yaron <me <at> eshelyaron.com>, Stefan Monnier <monnier <at> IRO.UMontreal.CA>,
 79409 <at> debbugs.gnu.org
Subject: Re: bug#79409: 31.0.50; project.el uses define-completion-category
 but depends on 26.1
Date: Mon, 8 Sep 2025 22:23:42 +0300
On 08/09/2025 22:19, Daniel Mendler wrote:
> I don't think we can use Compat here, since we cannot replace the
> completion-metadata-get function such that callers magically learn about
> category inheritance.

Huh, right.

I guess Compat could do that with advice and such, but that way lies 
trouble.

> We could provide a poor implementation for
> define-completion-category which either does nothing or which copies the
> completion category overrides and defaults from the parent to the
> inherited category, but as such would behave differently than the new
> mechanism. Neither is a satisfactory solution.

That probably means there's little point for project.el to add any 
shims. Thanks.





This bug report was last modified 5 days ago.

Previous Next


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