Opening a file when using helm-find-files before it autocompletes

Showing 1-5 of 5 messages
Opening a file when using helm-find-files before it autocompletes Josh 9/25/12 11:49 AM
I have noticed that if I type a filename and hit enter before the autcompletion list has been updated, then Emacs/Helm opens Dired on the current folder, instead of trying to open the filename first.

 In most cases, I don't mind waiting for 1 sec for the list to be updated, but I wonder if there is a way to get Helm to just try to open the file I have typed when I hit enter (and if the file does not exist, it can prompt for confirmation to create a new file), as opposed to just open the parent directory.

In other words, if I type M-x helm-find-files, and then I type:
/path/to/folder/filename <RET>
it should open filename or ask for confirmation to create a new file called filename

but at the moment if the autocompletion list has not been updated, Helm will open
/path/to/folder/

I don't see a reason for the current behavior, but maybe I am missing something?
Re: Opening a file when using helm-find-files before it autocompletes thierry v 9/25/12 12:20 PM
helm don't open the filename that is in minibuffer but the one where the
selection is on in the helm buffer.
So be sure the selection is on the filename you want to open or create
when you press <enter>.

--
  Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997
Re: Opening a file when using helm-find-files before it autocompletes Josh 9/25/12 1:00 PM
You are right, I guess there is something else going on with find-file. Thanks anyways.
Re: Opening a file when using helm-find-files before it autocompletes Josh 9/25/12 1:04 PM
Sorry I meant to reply to a different post. As for this specific feature, I guess there is currently no way to have helm open a manually typed path quickly regardless of the status of the autocompletion list

If that's the case, what is the easiest way to open a path that I can type quickly (without waiting for helm to refresh the list) when helm-mode is 1? Once helm-mode is 1 it looks like I have no choice but to always wait for the autocompletion list to refresh.
Re: Opening a file when using helm-find-files before it autocompletes thierry v 9/26/12 12:56 AM
Ribonous <ribonu...@gmail.com> writes:

> Sorry I meant to reply to a different post. As for this specific feature, I
> guess there is currently no way to have helm open a manually typed path
> quickly regardless of the status of the autocompletion list
>
> If that's the case, what is the easiest way to open a path that I can type
> quickly (without waiting for helm to refresh the list) when helm-mode is 1?
> Once helm-mode is 1 it looks like I have no choice but to always wait for
> the autocompletion list to refresh.
I don't understand exactly what you mean, helm-mode is enabled, ok, but
what command are you running then?

Also why do you have to wait? completion is instantaneous normally.