Subject: bug#3836 closed by Eli Zaretskii <[email-masked]> (Re: bug#3836: (file-exists-p "//.gz") needs seven seconds)

From: [email-masked] (Emacs bug Tracking System)
Date: Mon, 13 Jul 2009 19:05:08 +0000

This is an automatic notification regarding your bug report
which was filed against the emacs package:

#3836: (file-exists-p "//.gz") needs seven seconds

It has been closed by Eli Zaretskii <[email-masked]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Eli Zaretskii <[email-masked]> by
replying to this email.

-- 
3836: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3836
Emacs Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#3836: (file-exists-p "//.gz") needs seven seconds
From: Eli Zaretskii <[email-masked]>
To: Christoph Conrad <[email-masked]>, [email-masked]
Date: Mon, 13 Jul 2009 21:59:15 +0300

> From: "Christoph Conrad" <[email-masked]>
> Date: Mon, 13 Jul 2009 15:03:04 +0200
> Cc: [email-masked]
> 
> 1) emacs -Q
> 2) M-: (file-exists-p "//.gz") <RET>
> 
> On my computer this needs several seconds to come back. The file does
> NOT exist.

That's not an Emacs problem: a file whose name begins with two slashes
or two backslashes is a UNC-style file name, and your Windows computer
looks it up on the network.  That eventually times out, but can take a
lot of time until it does.

I'm closing this bug report.

Subject: (file-exists-p "//.gz") needs seven seconds
From: "Christoph Conrad" <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Mon, 13 Jul 2009 15:03:04 +0200

Hi,

1) emacs -Q
2) M-: (file-exists-p "//.gz") <RET>

On my computer this needs several seconds to come back. The file does
NOT exist.

If i am in cc-mode and a lione starts with "/// " and i press "ctrl-x
ctrl-f" using ffap then this needs over ten seconds to return, cause
emacs tries to determine if there are files named "//.gz" or "//.Z".

In GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600)
 of 2008-09-06 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: DEU
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t