From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Pascal Bourguignon Newsgroups: gmane.emacs.help Subject: Re: Emacs as a command line tool Date: 17 Feb 2004 18:06:05 +0100 Organization: [posted via Easynet Spain] Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <878yj1d4aq.fsf@thalassa.informatimago.com> References: <87znbi5652.fsf@dps11.gnuyork.org> <87hdxpd9cs.fsf@thalassa.informatimago.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1077038440 22922 80.91.224.253 (17 Feb 2004 17:20:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 17 Feb 2004 17:20:40 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 17 18:20:32 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1At8tb-0005jM-00 for ; Tue, 17 Feb 2004 18:20:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1At8pl-0003Mo-Gm for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Feb 2004 12:16:33 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!diablo.theplanet.net!nntp.theplanet.net!inewsm1.nntp.theplanet.net!easynet-monga!easynet.net!easynet-post2!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Lines: 30 Original-NNTP-Posting-Host: 62.93.174.79 Original-X-Trace: DXC=eh68CMnf>l?1^Rl19g\;X2iZdW>mQFP36bBd4DjF1d]1 Original-Xref: shelby.stanford.edu gnu.emacs.help:120997 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:16946 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16946 David Rasmussen writes: > Pascal Bourguignon wrote: > > No. You just don't use a 25000 Watt power pick without learning > > its > > features and functions. > > > > There would be no problem in emacs having such simple command line > features. But I guess it hasn't and that's fine too. Well, it has: -f function Execute the lisp function function. to invoke easily a simple function. But the problem is that most functions and commands existing in emacs are designed to be passed parameters or to be _interactive_. If you program your own batch functions, you can then invoke them easily with this -f option (and with -batch and -l). -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/