From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neon Absentius Newsgroups: gmane.emacs.help Subject: Re: inserting a file Date: Mon, 8 Aug 2005 02:08:04 +0000 Message-ID: <20050808020804.GA13384@SDF.LONESTAR.ORG> References: <87zmrttuz7.fsf@wash.edu> <42f689e0_1@news.iprimus.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1123468306 7522 80.91.229.2 (8 Aug 2005 02:31:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 Aug 2005 02:31:46 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 08 04:31:44 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E1xPM-0002LP-1k for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Aug 2005 04:30:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E1xSL-0000Oy-3i for geh-help-gnu-emacs@m.gmane.org; Sun, 07 Aug 2005 22:33:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E1xRt-0000N6-5s for help-gnu-emacs@gnu.org; Sun, 07 Aug 2005 22:33:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E1xRr-0000LT-6k for help-gnu-emacs@gnu.org; Sun, 07 Aug 2005 22:33:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E1xQR-0007ln-J8 for help-gnu-emacs@gnu.org; Sun, 07 Aug 2005 22:31:39 -0400 Original-Received: from [192.94.73.21] (helo=sdf.lonestar.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E1xIB-0006Vm-W4 for help-gnu-emacs@gnu.org; Sun, 07 Aug 2005 22:23:08 -0400 Original-Received: from sdf.lonestar.org (IDENT:absent@otaku.freeshell.org [192.94.73.2]) by sdf.lonestar.org (8.13.1/8.12.10) with ESMTP id j78284Aw001924 for ; Mon, 8 Aug 2005 02:08:04 GMT Original-Received: (from absent@localhost) by sdf.lonestar.org (8.13.1/8.12.8/Submit) id j78284C3016475 for help-gnu-emacs@gnu.org; Mon, 8 Aug 2005 02:08:04 GMT Original-To: help-gnu-emacs@gnu.org Mail-Followup-To: Neon Absentius , help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <42f689e0_1@news.iprimus.com.au> User-Agent: Mutt/1.4.2.1i 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:28532 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28532 On Mon, Aug 08, 2005 at 08:34:56AM -0700, Baloff wrote: > both > C-u M-! and > M-1 M-! > work, now, why is the waste binding, why not save one for something else? There is only one binding. M-! is bound to the command "shell-command". M-1 and C-u supply prefix arguments. M-1 supplies the numerical agument "1" to the command, while "C-u" supplies the "universal argument". It just happens that all non-nil arguments have the same result for this funtion, so for example M-0 would also work. ,----[ C-h k M-! ] | M-! runs the command shell-command | which is an interactive compiled Lisp function in `simple'. | It is bound to M-!. | (shell-command command &optional output-buffer error-buffer) | | Execute string command in inferior shell; display output, if any. | With prefix argument, insert the command's output at point. `---- Here is the info node about prefix arguments: (info "(elisp)Prefix Command Arguments") > > thanks -- Charity in capitalism is like urinating to extinguish a forest fire. -- Neon Absentius absent a.in.cirle sdf period lonestar period org SDF Public Access UNIX System - http://sdf.lonestar.org