Книга: Learning GNU Emacs, 3rd Edition

1.7.4 How Emacs Chooses a Default Directory

1.7.4 How Emacs Chooses a Default Directory

When you use any command that asks for a filename (such as C-x C-f), Emacs displays a default directory in the minibuffer and asks you to type the rest of the filename. How does Emacs choose the default directory? The default directory is taken from the buffer that the cursor is currently in. If you are editing a file in your home directory when you type C-x C-f, Emacs assumes you want to edit another file in your home directory. If you are editing the file /sources/macros/html.macs then Emacs makes the default directory /sources/macros. If you want to find a file in another directory, edit the default directory that Emacs displays.

Оглавление книги


Генерация: 1.810. Запросов К БД/Cache: 3 / 1
поделиться
Вверх Вниз