Pretty much every Emacs user knows of the
*scratch* buffer - after
all it’s always present when you start your Emacs. If you’ve set
t (which I recommend) it will even be
the very first buffer see each time you fire up your beloved editor
(unless you alter
initial-buffer-choice, that is).
The scratch buffer was conceived a scratchpad for notes and Emacs Lisp experiments and a lot of Emacs users find it quite handy. On the other hand - even more users don’t really write Emacs Lisp and probably find little value in this buffer.
One little know fact about the
*scratch* buffer is that its initial
major mode (by default it’s
lisp-interaction-mode) is not hardcoded
and you can alter it. If you’re a Ruby developer you might opt to
make it use
ruby-mode by default:
If you do this I’d also advise you to change the buffer’s initial contents. By default they are:
1 2 3
For Ruby something like this might be better:
1 2 3 4
Or you can simply set
nil and be done with it.