GNU bug report logs - #78995
[PATCH] ;;;autoload-expand for special macros

Previous Next

Package: emacs;

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

Date: Fri, 11 Jul 2025 19:29:02 UTC

Severity: normal

Tags: patch

Fixed in version 31

Done: "J.D. Smith" <jdtsmith <at> gmail.com>

Full log


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

From: "J.D. Smith" <jdtsmith <at> gmail.com>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 78995 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: Re: bug#78995: [PATCH] ;;;autoload-expand for special macros
Date: Wed, 30 Jul 2025 08:34:13 -0400
Michael Albinus <michael.albinus <at> gmx.de> writes:

> "J.D. Smith" <jdtsmith <at> gmail.com> writes:
>
> Hi,
>
>> Good idea.  Michael, if you can try this along with a patch like the one
>> Stefan proposed for tramp (correcting the declare form name) that would
>> be useful.  Assuming it all works as expected, you'll notice
>> `tramp-loaddefs.el' no longer contains the macro and the calls to it,
>> but rather only the expanded forms it generates.
>
> Before doing so, I've tried Stefan's patch with Emacs 28. There are
> compilation warnings.
>    ...
> And also at runtime.

That would seem to make it difficult to add new declare forms and
simultaneously support older versions of Emacs.  How have such issues
been dealt with in the past?  Do you have a version or branch of TRAMP
that is only deployed on master?




This bug report was last modified 27 days ago.

Previous Next


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