Subject: Re: bug#28889: 26.0.90; TRAMP and custom file location

From: Michael Albinus <[email-masked]>
Date: Sat, 21 Oct 2017 18:57:44 +0200

Davor Rotim <[email-masked]> writes:

Hi Davor,

> This will produce a following custom.el file:
>
> (custom-set-variables
>  ;; custom-set-variables was added by Custom.
>  ;; If you edit it by hand, you could mess it up, so be careful.
>  ;; Your init file should contain only one such instance.
>  ;; If there is more than one, they won't work right.
>  '(package-selected-packages (quote (slime use-package)))
>  '(tramp-syntax (quote default) nil (tramp)))
> (custom-set-faces
>  ;; custom-set-faces was added by Custom.
>  ;; If you edit it by hand, you could mess it up, so be careful.
>  ;; Your init file should contain only one such instance.
>  ;; If there is more than one, they won't work right.
>  )
>
> For some reason the tramp-syntax line gets added which causes TRAMP to
> load at startup,
> this didn't happen with GNU Emacs 25.3 and it slows down startup while
> it gets loaded unnecessarily.

I've committed a patch to the emacs-26 branch, which ought to fix
this. Could you pls check?

Since autoloads are changed, it might be necessary to call 'make -C lisp
autoloads' prior to the usual 'make' call.

It would also be helpful if somebody could test whether Tramp still
works proper for MS Windows; I have no chance to test this myself.

Best regards, Michael.