From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: thorne Newsgroups: gmane.emacs.help Subject: Re: first emacs lisp script: hello world Date: Mon, 10 Dec 2007 11:39:14 -0700 Organization: impossible. Message-ID: <86tzmq1jjh.fsf@timbral.net> References: <7A8AFE3F49003F46B77954A8E6A7E32C4F9325@atl2corpx2.corp.interland.net> <87zlwmp3cf.fsf@W0053328.mgh.harvard.edu> <87mysicxv5.fsf@W0053328.mgh.harvard.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1197488527 10831 80.91.229.12 (12 Dec 2007 19:42:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Dec 2007 19:42:07 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 12 20:42:19 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1J2XSy-0001Jy-Kr for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Dec 2007 20:42:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J2XSZ-0007DQ-9k for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Dec 2007 14:41:35 -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!newsfeed.freenet.de!news.germany.com!aioe.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: tHL7Pw00KvzSeEbptdOqCQ.user.aioe.org Original-X-Complaints-To: abuse@aioe.org X-Face: $+hwK%|BKl5SJ6w3SIAu?zV.l|8K(ke+y^T<, o5o+}%Hn~dXV{x9iglTN#CjLY{y5#]E`]GFmxlRI>Adx 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:50045 Archived-At: jadamson@partners.org (Joel J. Adamson) writes: > Eric Hanchrow writes: > >> #!/usr/bin/emacs --script >> (message "Hello Biscuit-lovers!") >> >> Waal, shoot, Jackson; ah dint know 'bout thet thar --script option. > > It's pretty sweet, and I got the impression that it's a fairly new > feature since there's very little about it on EmacsWiki. I've already > written a couple shell-scripts in it. That is cool. Goodbye bash, hello Emacs. But i couldn't find anything about it in the Emacs info file (though i did not search high and low) now on EmacsWiki.org. I'd like to know basic stuff, like: Is there a way to get a command-line argument to the script?--etc. And speaking of info, is there a command in info (or some other way) to find out the canonical name of a specific node, to refer people to that node? -- Theron TtlÄx