Книги автора: Learning GNU Emacs, 3rd Edition
/ Книги автора: Learning GNU Emacs, 3rd Edition
/ Книги автора: Learning GNU Emacs, 3rd Edition
/ Книги автора: Learning GNU Emacs, 3rd Edition
Искусство программирования для UnixThe Art of Unix Programming
/ Книги автора: Learning GNU Emacs, 3rd Edition
Книга: Learning GNU Emacs, 3rd Edition
4.2 Working with Multiple Buffers
If you want to create a buffer that contains a file, simply type C-x C-f to find the file. Emacs automatically creates a second buffer and moves you there. If you already have a copy of the file in a buffer, C-x C-f just moves you to the existing buffer. This move is sensible and probably really what you want anyhow; if C-x C-f read the file from disk every time, you could end up with many versions of the same file that were each slightly different. If the filename you give C-x C-f doesn't exist, Emacs assumes you want to create a new file by that name and moves you to a blank buffer.
Оглавление статьи/книги
Похожие страницы
- 4.2.1 Switching Buffers
- Chapter 4. Using Buffers, Windows, and Frames
- 4.4 Working with Frames
- Handling Buffers
- 4.2.2 Deleting Buffers
- 4.3 Working with Windows
- 4.5 More About Buffers
- 4.5.2 Renaming Buffers
- 4.5.3 Read-Only Buffers
- 4.5.4 Getting a List of Buffers
- 4.5.5 Working with the Buffer List
- Page buffers