From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Fernando Dobladez Newsgroups: gmane.emacs.help Subject: Re: command output into buffer Date: Sun, 14 Apr 2002 09:12:29 -0500 Sender: help-gnu-emacs-admin@gnu.org Message-ID: <3CB98E4D.4050805@fuego.com> References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1018880758 24371 127.0.0.1 (15 Apr 2002 14:25:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 15 Apr 2002 14:25:58 +0000 (UTC) Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16x7Qb-0006Kx-00 for ; Mon, 15 Apr 2002 16:25:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16x7JP-0003y5-00; Mon, 15 Apr 2002 10:18:31 -0400 Original-Received: from [65.201.108.41] (helo=saturn.fuegotech.com) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16x7IK-0003tZ-00 for ; Mon, 15 Apr 2002 10:17:24 -0400 Original-Received: from fuego.com ([192.168.0.224]) by saturn.fuegotech.com with Microsoft SMTPSVC(5.0.2195.4453); Mon, 15 Apr 2002 09:17:22 -0500 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020311 X-Accept-Language: en-us, en Original-To: help-gnu-emacs@gnu.org X-OriginalArrivalTime: 15 Apr 2002 14:17:22.0705 (UTC) FILETIME=[42985810:01C1E488] Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:87 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:87 M-! Execute a command C-u M-! Execute command and insert output in current buffer M-| Execute command passing the current region as stdin to the command. C-u M-| Execute command passing the current region as stdin to the command, and replace the region with the stdout of the command (filter) >Dear All, > >How to insert the output of a shell command at point? For example, >currently if I want to insert the output of the ls command then I >normally run the command in the xterm and cut-paste the output into >the emacs buffer. > >But I think there is a way to insert the output into the buffer >automatically. Can anybody help? > >Thank you for your time. > >Cheers, >anna > >