Eshell redirection

Posted: - Modified: | emacs

Mike Mattie has this awesome Emacs tip for
Eshell: redirecting to buffers and Lisp symbols!

To overwrite buffer “foo”:

ls > #<buffer foo>

To append to buffer “foo”:

ls >> #<buffer foo>

To insert at point in buffer “foo”:

ls >>> #<buffer foo>

To redirect to a Lisp symbol:

ls >#'some-variable

I had no idea Emacs could do that. Cool!

E-Mail from Mike Mattie

Random Emacs symbol: ps-extend-face-list – Function: Extend face in ALIST-SYM.

Thanks to David Ongaro for catching that!

You can comment with Disqus or you can e-mail me at sacha@sachachua.com.