Subject: bug#24057: 25.1.50; ffap interprets comments beginning with "//" as file path

From: Kaushal Modi <[email-masked]>
Date: Sat, 23 Jul 2016 13:23:08 +0000

On Sat, Jul 23, 2016 at 9:05 AM Eli Zaretskii <[email-masked]> wrote:

> Did you try this on some system where "//tmp" is a valid file name,
> which is different from "/tmp"?
>

I have never dealt with such files.

My brief attempt just to try creating such a file failed:

km²~/temp/:> touch '//abc'

touch: cannot touch `//abc': Permission denied
km²~/temp/:> touch '\/\/abc'

touch: cannot touch `\\/\\/abc': No such file or directory

Can you show how to recreate the issue that you are thinking?
Or can you try recreating the problem on your system with this patch?

Or, should this patch anyways go in the master, and we let the emacs-devel
give us feedback if this results in anything unexpected?

I have used this patch in my config for few years now without any issue.

-- 

Kaushal Modi