[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#38079: On Windows tramp hangs after server-start is called
From: |
Eli Zaretskii |
Subject: |
bug#38079: On Windows tramp hangs after server-start is called |
Date: |
Wed, 06 Nov 2019 18:06:02 +0200 |
> From: Wanrong Lin <wrglin@gmail.com>
> Date: Tue, 5 Nov 2019 19:52:59 -0500
>
> ;; On Windows, after "server-start" is called, somehow (system-name)
> will return lower case host name. If the original
> ;; (system-name) returns upper case host name now
> tramp-restricted-shell-hosts-alist will be out-of-date and cause
> ;; tramp not to function properly.
> (defadvice server-start (after update-restricted-host-list last activate)
> (setf tramp-restricted-shell-hosts-alist
> (when (memq system-type '(windows-nt))
> (list (concat "\\`" (regexp-quote (system-name)) "\\'")))))
>
> But the proper fix should be to make sure (system-name) always returns
> the same string consistently. I found it is this sexp in "server-start"
> function that changes the return value of (system-name):
>
> (setq server-process
> (apply #'make-network-process ....))
Thanks. However, your proposed solution is very hard to implement
(for boring technical reasons), so my suggestion is for Trump to
compare system names case insensitively, at least on MS-Windows, with
a proper comment to explain why.
- bug#38079: On Windows tramp hangs after server-start is called, Wanrong Lin, 2019/11/05
- bug#38079: On Windows tramp hangs after server-start is called,
Eli Zaretskii <=
- bug#38079: On Windows tramp hangs after server-start is called, martin rudalics, 2019/11/06
- bug#38079: On Windows tramp hangs after server-start is called, Wanrong Lin, 2019/11/06
- bug#38079: On Windows tramp hangs after server-start is called, Eli Zaretskii, 2019/11/06
- bug#38079: On Windows tramp hangs after server-start is called, Michael Albinus, 2019/11/08
- bug#38079: On Windows tramp hangs after server-start is called, Eli Zaretskii, 2019/11/08
- bug#38079: On Windows tramp hangs after server-start is called, Michael Albinus, 2019/11/08
- bug#38079: On Windows tramp hangs after server-start is called, Eli Zaretskii, 2019/11/08
- bug#38079: On Windows tramp hangs after server-start is called, Michael Albinus, 2019/11/07
- bug#38079: On Windows tramp hangs after server-start is called, Wanrong Lin, 2019/11/07