From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#24057: 25.1.50; ffap interprets comments beginning with "//" as file path Date: Sun, 24 Jul 2016 17:16:53 +0300 Message-ID: <83wpkbt92i.fsf@gnu.org> References: <83lh0sx0yf.fsf@gnu.org> <83shv0v716.fsf@gnu.org> <83poq4v4jk.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1469369907 29697 80.91.229.3 (24 Jul 2016 14:18:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Jul 2016 14:18:27 +0000 (UTC) Cc: 24057@debbugs.gnu.org, npostavs@users.sourceforge.net To: Kaushal Modi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 24 16:18:15 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bRKEQ-0003Jt-UJ for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Jul 2016 16:18:15 +0200 Original-Received: from localhost ([::1]:56191 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRKEP-00072n-RP for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Jul 2016 10:18:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRKEJ-00072O-LV for bug-gnu-emacs@gnu.org; Sun, 24 Jul 2016 10:18:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bRKEE-00077w-KJ for bug-gnu-emacs@gnu.org; Sun, 24 Jul 2016 10:18:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51831) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRKEE-00077s-GT for bug-gnu-emacs@gnu.org; Sun, 24 Jul 2016 10:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bRKEE-0005Us-7P for bug-gnu-emacs@gnu.org; Sun, 24 Jul 2016 10:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Jul 2016 14:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24057 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24057-submit@debbugs.gnu.org id=B24057.146936982621064 (code B ref 24057); Sun, 24 Jul 2016 14:18:02 +0000 Original-Received: (at 24057) by debbugs.gnu.org; 24 Jul 2016 14:17:06 +0000 Original-Received: from localhost ([127.0.0.1]:35935 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bRKDK-0005Tg-89 for submit@debbugs.gnu.org; Sun, 24 Jul 2016 10:17:06 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36783) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bRKDI-0005Ny-Ip for 24057@debbugs.gnu.org; Sun, 24 Jul 2016 10:17:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bRKD9-00071s-Iz for 24057@debbugs.gnu.org; Sun, 24 Jul 2016 10:16:59 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36995) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRKCw-00070M-1y; Sun, 24 Jul 2016 10:16:42 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3390 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bRKCu-0006Uj-0V; Sun, 24 Jul 2016 10:16:40 -0400 In-reply-to: (message from Kaushal Modi on Sat, 23 Jul 2016 21:51:47 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:121482 Archived-At: > From: Kaushal Modi > Date: Sat, 23 Jul 2016 21:51:47 +0000 > Cc: 24057@debbugs.gnu.org, npostavs@users.sourceforge.net > > You need to be on a system that supports that. Windows is one of > them; not sure if there are any others left nowadays. > > > Or can you try recreating the problem on your system with this patch? > > I didn't try. > > Can you please try it out and see if this patch causes any issue with such paths? I believe that if you have "// > //share/foo", it should still work fine. I tried with a comment that begins like this: ////share/foo and I don't think the proposed behavior will be correct in all cases. The problem is that comment-search-forward moves all the way past the leading 4 slashes, instead of only 2. While I can understand why the comment-start sequence should not be considered a potential file name, the stuff that follows it -- in this case, //share/foo -- should IMO be allowed to be a file name. Thanks.