9

There are a number of Emacs buffers where their names have "earmuffs", i.e. they have names like

  • *scratch*
  • *R*
  • *ESS*
  • *helm-mode-circe*

What is the significance of the earmuffs, and is there a reason for users creating buffers to use them?

  • 7
    This is the significance: Those are buffers that would otherwise have cold ears. No one knows why, but this way they don't complain. – Drew Sep 29 '14 at 2:42
12

By convention, those special names are used for buffers that are not associated directly to a file, but are used to provide the user with a view of some activity that happens in Emacs.

Amongst other things this includes:

  • emacs-lisp evaluation buffers
  • buffers for interaction with sub-processes
  • network-related buffers (IRC, messages, ...)
  • buffers that aggregate content spanning multiple files (various help systems)

Note that there is another category of buffers that's more specifically internal: those following the *pattern* (with a leading space). These buffers are of the same kind, but are deemed generally uninteresting to the user, thus are completely hidden by default in buffer listings and completions. Some debug and trace buffers fall under that category.

  • Some (not all) debug and trace buffers fall under that category. *Backtrace* is a debug buffer that does not. ;-) – Drew Sep 29 '14 at 2:04
  • @Drew absolutely, thanks for pointing out :) – Sigma Sep 29 '14 at 2:18
  • Is it wrong to say that earmuffs generally means, "the buffer was created by emacs, not by the user"? – Nsukami _ Sep 29 '14 at 2:51
  • 1
    @LeMeteore that line seems a bit too blurry to me: when I run M-x man or M-x irc, arguably I'm creating those buffers in the sense that they're the direct (and only) consequence of my action. – Sigma Sep 29 '14 at 3:06
  • @Sigma Indeed, it's wrong to say that. – Nsukami _ Sep 29 '14 at 3:17

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.