This is my first day on Emacs, and I am really liking it so far, but I cannot seem to be able to work correctly with buffers. I am trying to kill specific buffers with C-x k, however upon checking the buffer list with C-x C-b all of my original buffers still seem to exist. I know this must be user error, but I can't seem to find anyone with this problem.

  • For many (most?) users, killing buffers is a rare operation, so please give details: which buffer exactly id you try to kill, what exact sequence of operations did you do; and of course: why do you want to kill those buffer.
    – Stefan
    Feb 22, 2019 at 21:49
  • Welcome to Emacs! As a beginner, I highly recommend reading the build in tutorial via C-h t. This doesn't pertain to your question, per se, but I wish someone had told me about the tutorial on my first day. :) Unless you mean the StackExchange...in that case, welcome! :) Feb 22, 2019 at 21:55
  • 2
    Also, I'm not able to reproduce your problem from a freshly loaded emacs -Q. What steps reproduce the problem for you? Feb 22, 2019 at 21:57
  • 2
    Perhaps you just need to refresh the buffer list? (Either use C-x C-b again, or type g within that buffer).
    – phils
    Feb 23, 2019 at 2:41

2 Answers 2


Given you have multiple buffers open, use

C-x C-b

to open the buffer list. You will be given a nice list of all the buffers currently in memory. Make sure you have the current window that displays the buffer list open. Use

C-x o

to navigate to the aforementioned window. Now you have several options here. First you can mark the specific buffers you want for editing using


This will prompt a ">" next to the buffer name. Now use


to mark the specific buffers for deletion. This will prompt a "D" next to the buffer name. Once you have a list of buffers you marked for deletion, then use


to execute the Deletion. The x command will execute the deletion and remove the buffers from memory.


When you have moved to the buffer-list (made it active), press g. This will update this buffer and the buffers that have already been deleted will disappear from the list, just the list does not automatically update when you call it, but it shows it is already open

Your Answer

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

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