From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giorgos Keramidas Newsgroups: gmane.emacs.help Subject: Re: Suppressing load messages Date: Thu, 13 Mar 2008 05:42:20 +0200 Organization: SunSITE.dk - Supporting Open source Message-ID: <87zlt39tnn.fsf@kobe.laptop> References: <87tzjo3asi.fsf@thalassa.informatimago.com> <87y78p2c4h.fsf@wivenhoe.staff8.ul.ie> <87pru0rmai.fsf@wivenhoe.staff8.ul.ie> <87ejafsubg.fsf@wivenhoe.staff8.ul.ie> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1205391196 845 80.91.229.12 (13 Mar 2008 06:53:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Mar 2008 06:53:16 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 13 07:53:44 2008 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 1JZhJu-0006Pn-Ar for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Mar 2008 07:53:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZhJL-0006wF-DS for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Mar 2008 02:53:07 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!feed118.news.tele.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) Cancel-Lock: sha1:1hp8Y1jJ8wUFh878eC7GIp9V884= Original-Lines: 55 Original-NNTP-Posting-Host: 77.49.52.95 Original-X-Trace: news.sunsite.dk DXC=4; OOmb4Qh@; Bi9D?DQ_c:4YSB=nbEKnk; 4mi>jDOWoH7L^Mj7bH?lJH1Tkj<2IFX7nh7300IWaMWk79UE4 Original-X-Complaints-To: staff@sunsite.dk Original-Xref: shelby.stanford.edu gnu.emacs.help:156979 X-Mailman-Approved-At: Thu, 13 Mar 2008 02:52:25 -0400 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:52352 Archived-At: On Wed, 12 Mar 2008 16:32:36 -0700, Glenn Morris wrote: > Brendan Halpin wrote: > >> The -Q, -batch and -no-site-file arguments aren't accepted on the >> "#! /usr/bin/emacs --script" line. > > That's an execve issue - you can only have a single argument after the > interpreter on any #! line. Exactly! > You could always do something like: > > #!/bin/sh > > /usr/bin/emacs -Q --script < ...stuff... > EOF This lets the shell interpret the Emacs script source. The following prints nothing here for me: #!/bin/sh emacs -Q -batch -l /dev/stdin <