When I hit C-x k, a Helm buffer opens listing buffers that can be killed, and the mini-buffer at the bottom asks me to specify a buffer to be killed (a default is provided, in this case *GNU Emacs*).

Helm kill-buffer

Suppose I now mark one of the items in the kill-buffer, say *GNU Emacs*, by hitting C-<space> while standing on the corresponding line, and then move the highlight to a different line, say to *scratch*.

Helm one like marked

If I now hit <return>, what's supposed to happen? As I understand it, the file that was marked, namely *GNU Emacs*, should be deleted, and that is all. What actually happens is that the highlighted file, namely *scratch*, gets deleted, and the other two remain in tact, as shown by executing C-x C-b.

Open buffers

Why does Helm behave this way? And, by the way, why does the helm-mode-kill buffer remain open, as seen in the last screenshot?


kill-buffer kills one buffer at a time, helm-mode doesn't change it.

You can try helm-buffers-list or helm-mini instead, they allow you to open/kill/create/search/etc buffers easily.

  • Thanks. And do you know why the helm-mode-kill buffer remains open after the action has completed?
    – Evan Aad
    Jun 2 '17 at 21:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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