[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Copying minibuffer contents

From: Kalle Olavi Niemitalo
Subject: Re: Copying minibuffer contents
Date: 20 Jun 2001 00:07:09 +0300 (Lord Emsworth) writes:

> Basically, I need to be able to run "pwd" and copy and paste its
> results into another file.

To run a shell command and direct the output to the current
buffer, use M-! with a prefix argument: C-u M-! pwd RET.

In the case of "pwd", Emacs already knows the name of the
directory; one way to get it to the current buffer would be
C-x C-f C-a C-k C-g C-y.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]