bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#65023: 29.1.50; Tramp 2.6.1.1 cannot be installed as ELPA package


From: Jim Porter
Subject: bug#65023: 29.1.50; Tramp 2.6.1.1 cannot be installed as ELPA package
Date: Fri, 4 Aug 2023 09:40:12 -0700

On 8/2/2023 7:16 AM, Michael Albinus wrote:
With Emacs 29.1, ELPA package Tramp 2.6.1.1 cannot be installed. See the
*Compile-Log* buffer appended. It looks like the problem is due to
changes in generation of autoloads.

Since I'm not familiar with the changes, I don't know how to fix
this. Note, that the same package installs w/o problems in Emacs 28.

(See also the tramp-devel discussion[1].)

Ok, I figured this out. The new loaddefs code was clobbering a regexp internally when doing some additional checks while scanning for autoload cookies in external package code. That resulted in some autoloads ending up in the wrong file. The fix is just to call 'save-match-data' at the right spot.

Eli, is this ok for 29.2? It's a small change, and I think is a fairly serious regression from 28.

[1] https://lists.gnu.org/archive/html/tramp-devel/2023-07/msg00009.html

Attachment: 0001-Fix-loaddef-generation-with-foo-autoload-cookies-in-.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]