GNU bug report logs - #18628
Emacs hangs trying to open "CON" file (on Windows)

Previous Next

Package: emacs;

Reported by: Lee Houghton <lee <at> theconnectgroup.net>

Date: Sat, 4 Oct 2014 16:18:03 UTC

Severity: normal

Tags: unreproducible

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


Message #17 received at 18628 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lee Houghton <lee <at> theconnectgroup.net>
Cc: 18628 <at> debbugs.gnu.org
Subject: Re: bug#18628: Emacs hangs trying to open "CON" file (on Windows)
Date: Sun, 05 Oct 2014 17:36:45 +0300
> From: Lee Houghton <lee <at> theconnectgroup.net>
> Date: Sun, 5 Oct 2014 12:33:36 +0100
> Cc: 18628 <at> debbugs.gnu.org
> 
> > Please provide a reproducible recipe starting with "emacs -Q".  Just
> > typing "C-x C-f con TAB TAB" doesn't show CON in the completions, so
> > I'm unsure how you bump into this problem.
> 
> Sorry, I didn't know that was required. The easiest way I found was:
> 
> emacs -Q con.js
> 
> Or if you want to go the long way...
> 
> emacs -Q --eval "(find-file \"CON.js\")"
> 
> (I hope I've understood what you mean by that.)

Yes, I do understand.  But I cannot reproduce the problem with such a
simple recipe: for me, Emacs does not hang, but instead says "File
exists, but cannot be read", which sounds reasonable.

I tried this both on Windows 7 and on XP.  You seem to be on Windows
8, so perhaps this is something specific to that version.  I don't
have access to a Windows 8 machine, so I hope someone else will be
able to debug this.

> It is partly helm's fault. The reason I encounter this bug so often is
> that I have a directory which contains two subdirectories,
> "collections" and "config".  The quickest way for me to navigate to
> the config directory would be C-x C-f c o n <right> (where C-x C-f is
> bound to helm-find-file). Normally the <right> key would auto-complete
> to the config directory. Instead what it does is try to preview the
> "CON" file in the window I was just in, and emacs hangs. Sometimes I
> remember to type "conf" before pressing <right>, sometimes I don't.
> When I don't, I invariably kick myself :-)

Not sure this is the same problem (although it might be): the APIs
Emacs invokes for completion are different from those it invokes to
visit a file.




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

Previous Next


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