Sams Teach Yourself Emacs in 24 Hours

ContentsIndex

Hour 6: Editing Several Files at Once

Previous HourNext Hour

Sections in this Hour:

 

Q&A

Q Isn't it overkill to have such a comprehensive interface for managing buffers?

A No, in fact this interface is similar to other interfaces in Emacs with about the same functionality. In the directory browser, you manage files in the same way as you manage buffers here.

Q Once in a while, I load the wrong file into Emacs. This seems like a thing I might do often. Is there another way I can throw this file away and load another?

A Yes, you can press C-x C-v. (find-alternate-file). Otherwise, this would be a good candidate for a macro. You will learn about macros in Hour 13, "Macros."

Q Why do I have frames where I'm not allowed to change to another buffer?

A The frame is probably a dedicated frame. That is the concept of dedicated frames: They do not allow you to change to another buffer and, in this way, hide the dedicated one.

Q I like the make-frame-on-display command, but when one of the users of the buffer activates the mark, the region is highlighted in both frames. Is there a way around this?

A Yes. In Hour 15, "Getting an Overview of a File," you will learn how to make indirect buffers, which solves this problem.

Sams Teach Yourself Emacs in 24 Hours

ContentsIndex

Hour 6: Editing Several Files at Once

Previous HourNext Hour

Sections in this Hour: