--- Begin Message ---
Subject: |
28.0.50; tramp: void-function tramp-file-name-method--cmacro |
Date: |
Tue, 28 Sep 2021 23:15:44 +0800 |
Hi,
After load - unload - load tramp, I got an compile error:
Compiler-macro error for tramp-file-name-method: (void-function tramp-file-name-method--cmacro) [7 times]
How to replicate it:
- Start emacs
- load-libary tramp
- tramp-unload-tramp
- load-libary tramp
- tramp-unload-tramp
- load-libary tramp
Best Regards,
Shuguang Sun
In GNU Emacs 28.0.50 (build 1, x86_64-w64-mingw32)
of 2021-09-21 built on
Repository revision: 5b962a7ad8d0acfe40a41ce139059b9c8e46f666
Repository branch: master
Windowing system distributor 'Microsoft Corp.', version 10.0.19043
System Description: Microsoft Windows 10 Pro (v10.0.2009.19043.1237)
Configured using:
'configure --without-pop --with-native-image-api
--with-native-compilation --without-compress-install
'--program-transform-name=s/^ctags$/ctags.emacs/''
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#50869: 28.0.50; tramp: void-function tramp-file-name-method--cmacro |
Date: |
Thu, 17 Mar 2022 15:39:26 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Version: 28.2
Michael Albinus <michael.albinus@gmx.de> writes:
Hi,
>> After load - unload - load tramp, I got an compile error:
>> Compiler-macro error for tramp-file-name-method: (void-function
>> tramp-file-name-method--cmacro) [7 times]
>>
>> How to replicate it:
>> - Start emacs
>> - load-libary tramp
>> - tramp-unload-tramp
>> - load-libary tramp
>> - tramp-unload-tramp
>> - load-libary tramp
>
> tramp-file-name-method--cmacro is a generated accessor function of the
> defstruct tramp-file-name. I'm not sure that this is native Tramp
> error.
I have rearranged Tramp's auoloads, it works now as expected. Pushed to
the git repositories. It will also be available with next Tramp ELPA
version 2.5.2.3.
Closing the bug.
>> Best Regards,
>> Shuguang Sun
Best regards, Michael.
--- End Message ---