I want to open a new file in a different directory than the current one.

Pressing C-x C-f -> I could enter a file name. But I don't.

Pressing RET

The directory listing (mode (dired by name)) comes up and I can navigate through it by using the cursor and RET. No problem.

I navigate to the existing directory I want to create the new file in.

How can I enter the name of the new (nonexisting) file in that case?

EDIT: Because I am quite new to emacs: How could I answer such simple questions to my self?

1 Answer 1


Answer based on StackOverflow answer.

Press C-x C-f and you are back to the minibuffer and can enter a filename.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.