From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: Run Non-Interactive Function with Prefix Date: Tue, 18 Oct 2005 18:55:43 +0200 Message-ID: <4355290F.3030008@student.lu.se> References: <87ach6dbh2.fsf@be.cs.appstate.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1129654778 25127 80.91.229.2 (18 Oct 2005 16:59:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Oct 2005 16:59:38 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 18 18:59:36 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ERumm-0003VQ-Rs for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Oct 2005 18:58:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ERumm-0007la-CW for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Oct 2005 12:58:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ERuke-0006yh-Ih for help-gnu-emacs@gnu.org; Tue, 18 Oct 2005 12:55:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ERukc-0006xl-ST for help-gnu-emacs@gnu.org; Tue, 18 Oct 2005 12:55:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ERukc-0006xg-N8 for help-gnu-emacs@gnu.org; Tue, 18 Oct 2005 12:55:46 -0400 Original-Received: from [81.228.11.159] (helo=pne-smtpout2-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ERukc-0001wl-TC for help-gnu-emacs@gnu.org; Tue, 18 Oct 2005 12:55:47 -0400 Original-Received: from [192.168.123.121] (83.249.204.195) by pne-smtpout2-sn1.fre.skanova.net (7.2.060.1) id 434E6D1D00108A23; Tue, 18 Oct 2005 18:55:44 +0200 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: khj@cs.appstate.edu In-Reply-To: <87ach6dbh2.fsf@be.cs.appstate.edu> 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:30332 Archived-At: Kenneth Jacker wrote: >If I want to execute a function that supports a "prefix" argument >interactively, I enter something like: > > C-u M-x foobar > >How can I do the same thing but *non*-interactively? > >This will just run 'foobar', > > (foobar) > >But how to request it to be run with a prefix arg? > > Do you mean (foobar ARG), perhaps (foobar t) or (foobar 1)?