To post this question and this question, I had to copy the contents of minibuffer.
I tried to copy from minibuffer but it didn't worked.
I came across this discussion and checked *Messages*
buffer also. But minibuffer contents won't be there always.
Is it possible to copy mini buffer contents? How?
Update:
I am in a python process buffer and run kill-this-buffer
, emacs will show this message in minibuffer
Buffer "Python" has a running process; kill it (y or n)?
I want to copy that text.
Update:
In above example that message will be available in *Messages*
buffer, but if am creating a new branch using magit b c
, it will prompt with message
Create branch starting at (default master):
which will NOT be available in *Messages*
. I need to copy this text also.
C-b
over the right boundary of the message of the prompt, then you will be able to use other navigation and text editing commands on the prompt message (except for modifying it, since it's read-only).