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