From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenneth Jacker Newsgroups: gmane.emacs.help Subject: Run Non-Interactive Function with Prefix Date: Tue, 18 Oct 2005 12:41:13 -0400 Organization: Appalachian State University Message-ID: <87ach6dbh2.fsf@be.cs.appstate.edu> Reply-To: khj@cs.appstate.edu NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1129654039 22670 80.91.229.2 (18 Oct 2005 16:47:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Oct 2005 16:47:19 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 18 18:47:16 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ERuaf-0008Na-EV for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Oct 2005 18:45:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ERuae-0003cf-VQ for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Oct 2005 12:45:28 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!elk.ncren.net!lester.appstate.edu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: be.cs.appstate.edu Original-X-Trace: lester.appstate.edu 1129653673 3998 152.10.10.41 (18 Oct 2005 16:41:13 GMT) Original-X-Complaints-To: news@lester.appstate.edu Original-NNTP-Posting-Date: Tue, 18 Oct 2005 16:41:13 +0000 (UTC) User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:NmUJo8v2rVfu7L5RpJupwlYqceo= Original-Xref: shelby.stanford.edu gnu.emacs.help:134747 Original-To: help-gnu-emacs@gnu.org 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:30329 Archived-At: 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? Something simple I am sure, but I can't seem to find a way to do it. Thanks for your ideas! -- Prof Kenneth H Jacker khj@cs.appstate.edu Computer Science Dept www.cs.appstate.edu/~khj Appalachian State Univ Boone, NC 28608 USA