From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Chris F.A. Johnson" Newsgroups: gmane.emacs.help Subject: Re: --script and --quick Date: Wed, 27 May 2015 03:18:04 -0400 Organization: A noiseless patient Spider Message-ID: References: <877frvbdqm.fsf@web.de> <87oal79td9.fsf@wanadoo.es> <87iobfs202.fsf@web.de> <20150526142445521942652@bob.proulx.com> Reply-To: newsgroups@cfaj.ca NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1432730072 2292 80.91.229.3 (27 May 2015 12:34:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 May 2015 12:34:32 +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 May 27 14:34:16 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YxaXH-0001tx-Nq for geh-help-gnu-emacs@m.gmane.org; Wed, 27 May 2015 14:34:15 +0200 Original-Received: from localhost ([::1]:53664 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxaXH-0007bs-4b for geh-help-gnu-emacs@m.gmane.org; Wed, 27 May 2015 08:34:15 -0400 Original-Path: usenet.stanford.edu!news.glorb.com!feeder.erje.net!1.eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Injection-Info: mx02.eternal-september.org; posting-host="4919bc9aaaeb5c145ed2245af69abea2"; logging-data="4722"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19aIT2Y7BRw3t/b/MLoZyoE675Y5qIrmU0=" User-Agent: slrn/1.0.1 (Linux) Cancel-Lock: sha1:8fwqSSPae7ZpGxZw39ORoGNpeuk= Original-Xref: usenet.stanford.edu gnu.emacs.help:212325 X-Mailman-Approved-At: Wed, 27 May 2015 08:28:19 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:104612 Archived-At: On 2015-05-27, Gian Uberto Lauri wrote: > Yuri Khan writes: > > This begs for an obvious solution: --script should have a > > single-letter alias. Single-character options can [usually] be > > combined in a single argument: > > > > #!/usr/bin/emacs -Qs > > You are using a shell, the magic of shebang and you are not > considering a shell script? > > This one works. > > ---------------------------------8<---------------------- > #!/bin/bash > > emacs --quick --script $@ > ---------------------------------8<---------------------- That one could fail; it should be: emacs --quick --script "$@" -- Chris F.A. Johnson