1

Windows 10, Emacs 25, Helm

How copy content of minibuffer to kill-ring?

1 Answer 1

5

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

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

Your Answer

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

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