From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.bugs Subject: bug#24057: 25.1.50; ffap interprets comments beginning with "//" as file path Date: Sat, 23 Jul 2016 13:23:08 +0000 Message-ID: References: <83lh0sx0yf.fsf@gnu.org> <83shv0v716.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113dd5dc4ddfa105384d74d4 X-Trace: ger.gmane.org 1469280263 2440 80.91.229.3 (23 Jul 2016 13:24:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Jul 2016 13:24:23 +0000 (UTC) Cc: 24057@debbugs.gnu.org, npostavs@users.sourceforge.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 23 15:24: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 1bQwuc-00034O-CX for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Jul 2016 15:24:14 +0200 Original-Received: from localhost ([::1]:52130 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQwub-0006ky-Ee for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Jul 2016 09:24:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35430) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQwuV-0006kd-Hm for bug-gnu-emacs@gnu.org; Sat, 23 Jul 2016 09:24:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bQwuQ-0005Ok-N3 for bug-gnu-emacs@gnu.org; Sat, 23 Jul 2016 09:24:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50185) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQwuQ-0005Og-KQ for bug-gnu-emacs@gnu.org; Sat, 23 Jul 2016 09:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bQwuQ-0003sZ-C5 for bug-gnu-emacs@gnu.org; Sat, 23 Jul 2016 09:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Jul 2016 13:24: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.146928020614868 (code B ref 24057); Sat, 23 Jul 2016 13:24:02 +0000 Original-Received: (at 24057) by debbugs.gnu.org; 23 Jul 2016 13:23:26 +0000 Original-Received: from localhost ([127.0.0.1]:34289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bQwtq-0003rk-JB for submit@debbugs.gnu.org; Sat, 23 Jul 2016 09:23:26 -0400 Original-Received: from mail-oi0-f43.google.com ([209.85.218.43]:34710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bQwtp-0003rV-55 for 24057@debbugs.gnu.org; Sat, 23 Jul 2016 09:23:25 -0400 Original-Received: by mail-oi0-f43.google.com with SMTP id l65so197876614oib.1 for <24057@debbugs.gnu.org>; Sat, 23 Jul 2016 06:23:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WA8zW1JbS31OrtI9PFukPC9UHOe5G2B/LNj69BgZK9A=; b=teAkVEEYhIt2cDFq8oD2ns/DTqVzSIqeJA9kVf7CKMhHAxN5jdD0G7dwRv+onEcLa8 TMnb5UMLZCM0p+6lexrtGC/sYVF2vNUCsifxdC5RwRWKHRopKmFuNRqTmBIZv57H+2fH XhD2iiY6ynDZCdHbHcyUh6HEnnOyQKtKrdnEBGYGTCiyLlgJovdUQ1KKf5fEFjFsen2c 8Es8LZqt0CIuR66LPx7345h1H9HieKVJqKZXJN8N6KyaEQv0c2mPc6xQVo3IEwhALerb lmo7O5GPdup6EZhE+Rp+gTS2J4tbinIUvRyyxkMARBm2p55C9qV2pHgql1qhTGiDMCRx ivLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WA8zW1JbS31OrtI9PFukPC9UHOe5G2B/LNj69BgZK9A=; b=YBeK5O7/0AAfLxyoYBgPqbJHWhKhXq7pL2RpK1Nd4c+kLVPrItcUYbcW3TB5k1vsmN OE0lXnS0hjUOJd0fbq5E5nL6zOi8Pk3DH/bl6Cr1FWqkoaKpF7sqjRhcsM3ezPWOBw5B zOETN7CZfCK6E4+JdT2VhDGtg9caYW1XvS2Yev9iJUuHfhJjcbyfUSlXSOJipon6TDzZ xn1Ir6627xLFSxMO1Mu97HYu6UWeYNMxREom+1Q44/2ShvtmIpB59Pjdf42iwyKONdUj +cOAPGTVCaGYS7IoOaerAXWYt4siFiaa7YKB3TaM4XP9rY4OSBOKyO8yn30oqUTKttN/ Wv7Q== X-Gm-Message-State: AEkoouuM25F7Y28DiGrjmv+6dIS4RVE+Xc+/scPZ3OOtipwTOtypQHWYAXoOdxQZVr8rqEbZJuEM4PevRu0ZAw== X-Received: by 10.157.35.28 with SMTP id j28mr5343967otb.165.1469280198449; Sat, 23 Jul 2016 06:23:18 -0700 (PDT) In-Reply-To: <83shv0v716.fsf@gnu.org> 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:121448 Archived-At: --001a113dd5dc4ddfa105384d74d4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sat, Jul 23, 2016 at 9:05 AM Eli Zaretskii 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=C2=B2~/temp/:> touch '//abc' touch: cannot touch `//abc': Permission denied km=C2=B2~/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. --=20 Kaushal Modi --001a113dd5dc4ddfa105384d74d4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Sat, Jul 23= , 2016 at 9:05 AM Eli Zaretskii <eliz@gn= u.org> wrote:
Did you try th= is on some system where "//tmp" is a valid file name,
which is different from "/tmp"?

I have never dealt with such files.

My brief at= tempt just to try creating such a file failed:

km= =C2=B2~/temp/:> touch '//abc' =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0
touch= : cannot touch `//abc': Permission denied
km=C2=B2~/te= mp/:> touch '\/\/abc' =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0=C2=A0
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 y= our system with this patch?

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

I have used thi= s patch in my config for few years now without any issue.
=C2=A0<= /div>
--

Kaushal Modi

--001a113dd5dc4ddfa105384d74d4--