GNU bug report logs - #24057
25.1.50; ffap interprets comments beginning with "//" as file path

Previous Next

Package: emacs;

Reported by: Kaushal Modi <kaushal.modi <at> gmail.com>

Date: Fri, 22 Jul 2016 23:01:01 UTC

Severity: minor

Tags: fixed, patch

Merged with 7229, 8990

Found in versions 23.1, 23.3, 25.1.50

Fixed in version 26.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Kaushal Modi <kaushal.modi <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 24057 <at> debbugs.gnu.org, npostavs <at> users.sourceforge.net
Subject: bug#24057: 25.1.50; ffap interprets comments beginning with "//" as file path
Date: Sat, 23 Jul 2016 13:23:08 +0000
[Message part 1 (text/plain, inline)]
On Sat, Jul 23, 2016 at 9:05 AM Eli Zaretskii <eliz <at> gnu.org> 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
[Message part 2 (text/html, inline)]

This bug report was last modified 8 years and 119 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.