Windows 10, Emacs 25, Helm

How copy content of minibuffer to kill-ring?

1 Answer 1


Just like ordinary buffers, C-x h (mark-whole-buffer) then M-w (kill-ring-save).

  • Not work. If I use command (mark-whole-buffer) then mark buffer that is in focus. E.g. scratch. And as result mark all scratch buffer.
    – Alex
    Commented Nov 29, 2017 at 18:35
  • Try placing point in the minibuffer with C-x o and follow xuchunyang suggestion. Commented Nov 29, 2017 at 18:40
  • @Alex: It works for me, with vanilla Emacs (no init file): emacs -Q. Perhaps there is something in your init file that causes trouble. Do you see the same problem if you start Emacs using emacs -Q?
    – Drew
    Commented Nov 29, 2017 at 19:01
  • Yes I have same problem when start Emacs by Emacs -Q. Press "C-x o" is not help. "C-x h" also not help.
    – Alex
    Commented Nov 30, 2017 at 8:00
  • @Alex Launch Emacs via emacs -Q and type M-: hello world, now to copy "hello world", type C-x h M-w. I don't see what could be not working. or maybe I misunderstood your question?
    – xuchunyang
    Commented Dec 2, 2017 at 14:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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