Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not return to regular find-file to create new files #403

Closed
KevinWangTHU opened this issue Dec 16, 2016 · 6 comments
Closed

Can not return to regular find-file to create new files #403

KevinWangTHU opened this issue Dec 16, 2016 · 6 comments

Comments

@KevinWangTHU
Copy link

Hi!

I can not create a new file when I type c-x c-f followed by c-f. The mini-buffer remains unchanged. The result is shown below.
screen shot 2016-12-15 at 11 54 42 pm

Also, if I enable ido-mode, the mini-buffer becomes
screen shot 2016-12-15 at 11 55 14 pm
However if I type c-x c-f followed by c-f, then it becomes the picture before.

I have been using your config files for some time, but recently it does not work anymore for me. I am not sure if it is my problem since I am really new to Emacs, but it seems that I have the same problem on my company's computer either (I'll check that with other computers tomorrow).

Thank you very much for your help!

@purcell
Copy link
Owner

purcell commented Dec 16, 2016

This should still work out of the box. Recently I changed from ido to ivy for this config, and it looks like you still have ido-mode enabled. It's ivy in your first screenshot, and ido in the second. Try disabling ido-mode and restart Emacs. (With ivy, you don't need C-f when creating a new file.)

@purcell
Copy link
Owner

purcell commented Dec 16, 2016

Also, the commit I just pushed (965d47a) might help this to work automatically for you.

@KevinWangTHU
Copy link
Author

Now I understand that the ivy-mode is now working. However, say if I want to create a new file named 10.py but it will give the following if I have some other similar files:
screen shot 2016-12-16 at 12 25 07 am

In such situation, how to create a new file named 10.py?

However I guess it should be something about ivy-mode and I should check the documentation.

@purcell
Copy link
Owner

purcell commented Dec 16, 2016

Just hit C-M-j. See the ivy-help doc for more: https://github.com/abo-abo/swiper/blob/master/doc/ivy-help.org :-)

@emuio
Copy link

emuio commented Dec 16, 2016

I also use C-j to instead C-M-j. Because it's easy to hit, and has almost same result.

@KevinWangTHU
Copy link
Author

Thank you very much!

cdadar pushed a commit to cdadar/emacs.d that referenced this issue Dec 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants