Subject: Re: bug#48349: 28.0.50; Problem in dired with symbolic links to Tramp-syntax files

From: Michael Albinus <[email-masked]>
Date: Thu, 13 May 2021 14:02:32 +0200

Version: 28.1

Michael Albinus <[email-masked]> writes:

Hi Lars,

>> Apparently dired passes symlinks to Tramp in unfortunate ways.
>>
>> For instance:
>>
>> (cd /tmp; ln -s /sudo:root@localhost:/tmp/foo bar)
>> emacs -Q /tmp/
>>
>> will infloop asking for a password -- `C-g' will break, but it'll just
>> ask again apparently forever, and you have to kill Emacs to get out of
>> the loop.
>>
>> I haven't tried to debug either case.
>
> This is a collateral damage of 824d1a57ec8e7c90b01af6665de5a114529170df
> in function file-name-non-special. Brrrr :-(
>
> I will try to see how to fix this, w/o loosing the solution for bug#48177.

Should be fixed now in master. Closing the bug.

Best regards, Michael.