all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Lee Houghton <lee@theconnectgroup.net>
Cc: 18628@debbugs.gnu.org
Subject: bug#18628: Emacs hangs trying to open "CON" file (on Windows)
Date: Sun, 05 Oct 2014 17:36:45 +0300	[thread overview]
Message-ID: <834mvioa6a.fsf@gnu.org> (raw)
In-Reply-To: <CAJGHfpR9fWEBP4hyxSOsZDH_BcGupAxwFTw3zLWvO5E=hdUNhA@mail.gmail.com>

> From: Lee Houghton <lee@theconnectgroup.net>
> Date: Sun, 5 Oct 2014 12:33:36 +0100
> Cc: 18628@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.





  reply	other threads:[~2014-10-05 14:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-04 15:20 bug#18628: Emacs hangs trying to open "CON" file (on Windows) Lee Houghton
2014-10-04 16:51 ` Eli Zaretskii
2014-10-04 16:57   ` Glenn Morris
2014-10-05 11:33   ` Lee Houghton
2014-10-05 14:36     ` Eli Zaretskii [this message]
2016-06-08 22:18 ` Noam Postavsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=834mvioa6a.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=18628@debbugs.gnu.org \
    --cc=lee@theconnectgroup.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.