From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christian Plate Newsgroups: gmane.emacs.help Subject: Re: inserting a file Date: Sun, 07 Aug 2005 21:41:07 +0200 Message-ID: <87oe89357w.fsf@myusenet.dyndns.org> References: <87zmrttuz7.fsf@wash.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1123444794 9627 80.91.229.2 (7 Aug 2005 19:59:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 7 Aug 2005 19:59:54 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 07 21:59:45 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E1rI8-0006g2-KL for geh-help-gnu-emacs@m.gmane.org; Sun, 07 Aug 2005 21:58:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E1rL6-00067F-Np for geh-help-gnu-emacs@m.gmane.org; Sun, 07 Aug 2005 16:01:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E1rJu-0005uN-Oz for help-gnu-emacs@gnu.org; Sun, 07 Aug 2005 16:00:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E1rJi-0005pg-7z for help-gnu-emacs@gnu.org; Sun, 07 Aug 2005 16:00:19 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E1rJg-0005bN-57 for help-gnu-emacs@gnu.org; Sun, 07 Aug 2005 16:00:16 -0400 Original-Received: from [217.72.192.226] (helo=smtp08.web.de) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1E1rEk-0002R4-9X for help-gnu-emacs@gnu.org; Sun, 07 Aug 2005 15:55:10 -0400 Original-Received: from dialin-212-144-180-051.arcor-ip.net ([212.144.180.51] helo=chris.web.de) by smtp08.web.de with esmtp (WEB.DE 4.105 #314) id 1E1r1B-0004eI-00 for help-gnu-emacs@gnu.org; Sun, 07 Aug 2005 21:41:09 +0200 Original-To: help-gnu-emacs@gnu.org In-Reply-To: <87zmrttuz7.fsf@wash.edu> (Baloff's message of "08 Aug 2005 05:20:12 +1000") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Sender: cplate@web.de X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:28523 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28523 Baloff writes: > what about inserting a command output say you are writing a post, or > in the scratch buffer and want to type the output of a shell > command. like $ls or whatever. I'm quoting from the info-manual: ,---- | A numeric argument, as in `M-1 M-!', says to insert terminal output | into the current buffer instead of a separate buffer. It puts point | before the output, and sets the mark after the output. For instance, | `M-1 M-! gunzip < foo.gz ' would insert the uncompressed | equivalent of `foo.gz' into the current buffer. `---- For more details have a look in info: Emacs->Shell->Single Shell Regards, Christian