Subject: bug#33524: 27.0.50; Suspicious code in flymake-proc around temporary directories

From: Michael Albinus <[email-masked]>
Date: Wed, 28 Nov 2018 09:58:31 +0100

Philipp Stephani <[email-masked]> writes:

Hi Phillipp,

> I've noticed that the temporary directory code in flymake-proc has
> issues with remote filenames.  For example:
>
> $ emacs -Q -batch -l flymake-proc --eval='(print (flymake-proc-create-temp-with-folder-structure "/:/dir" nil))'
>
> "/tmp/:/dir"
>
> Clearly that's not what was intended.  Rather, this should create the
> directory structure on the remote machine.

I don't understand. "/:/dir" is not a remote file name, it is a quoted
file name. See (info "(emacs) Quoted File Names") for a description.

Could you pls explain what you want to achieve? This would help to
understand your problem.

Best regards, Michael.