2

Emacs's helm is a very useful elisp package. But sometimes I want to save helm's interactive buffers in a file, such as helm-for-files buffer, helm-M-x buffer. Is there any way to do it?

Community
  • 1
  • 1
ysakamoto
  • 2,512
  • 1
  • 16
  • 22

1 Answers1

1

The simplest option is M-x write-file although I suspect there is also M-x helm-write-file.

Dan
  • 5,209
  • 1
  • 25
  • 37
  • @ysakamoto In a regular setup, `write-file` is on `C-x C-w`. – itsjeyd Mar 19 '14 at 13:49
  • 1
    But when I use helm's interactive function, the focus is on the minibuffer. So I cannot use `C-x C-w` or `M-x ...` command to save the interactive buffer – ysakamoto Mar 19 '14 at 17:26
  • How frequently do you plan to save these buffers? If it's pretty infrequent, you could probably just switch manually to the relevant window and `C-x C-w` (or whatever binding you use). Otherwise, I defer to helm users. – Dan Mar 19 '14 at 19:22