Windows 10, Emacs 25, Helm

How copy content of minibuffer to kill-ring?


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
    Nov 29 '17 at 18:35
  • Try placing point in the minibuffer with C-x o and follow xuchunyang suggestion. Nov 29 '17 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
    Nov 29 '17 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
    Nov 30 '17 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
    Dec 2 '17 at 14:39

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.