Notes On Using Emacs Buffers

A few keyboard commands to use multiple buffers in Emacs:

2020-09-20 Note:

In Emacs, a “window” is another emacs file open in the same terminal. It does not mean “window” in the sense of another open application on your system. You can have multiple buffers open, but only one or two showing in emacs windows. What is called a “window” in other contexts (like OSes) are called “frames” in Emacs. Here is a question on the Emacs Stack Exchange with a picture explaining it.

Usually, buffers are files. But there is also a help buffer, a messages buffer, and sometimes other buffers. For example, if you working with some variant of Lisp, you can hook your REPL into Emacs, and there could be a buffer running your REPL.

You can also list the buffers using M-x list-buffers. One difference is that C-x C-b will open the list in the same window if you only have one window showing. M-x list-buffers will open a second window if you only have one showing.

You’re welcome.