From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: --script and --quick Date: Wed, 27 May 2015 09:48:09 +0600 Message-ID: References: <877frvbdqm.fsf@web.de> <87oal79td9.fsf@wanadoo.es> <87iobfs202.fsf@web.de> <20150526142445521942652@bob.proulx.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1432698529 20553 80.91.229.3 (27 May 2015 03:48:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 May 2015 03:48:49 +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 05:48:49 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 1YxSKl-00030K-BB for geh-help-gnu-emacs@m.gmane.org; Wed, 27 May 2015 05:48:47 +0200 Original-Received: from localhost ([::1]:51717 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxSKk-0007Qt-3F for geh-help-gnu-emacs@m.gmane.org; Tue, 26 May 2015 23:48:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35538) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxSKW-0007Qc-PK for help-gnu-emacs@gnu.org; Tue, 26 May 2015 23:48:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YxSKV-00069a-RB for help-gnu-emacs@gnu.org; Tue, 26 May 2015 23:48:32 -0400 Original-Received: from mail-la0-x22e.google.com ([2a00:1450:4010:c03::22e]:34060) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxSKV-00068E-Jx for help-gnu-emacs@gnu.org; Tue, 26 May 2015 23:48:31 -0400 Original-Received: by laat2 with SMTP id t2so80855461laa.1 for ; Tue, 26 May 2015 20:48:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=hpm2e3EvJtUbobbNE94VII/NcmI5jLGWKIVaIVSkZq0=; b=UPwOhuoUYg8JGdQhhwGW3ppFH8kPDxLtNqFNM+3zvvSZQXsJRe1gf31416o03k5hSy d8hSfX29vHM+YvSsrTqnZ+VUq9aBOiiVFa5rkdXELx6ugcwxyumdsV5oXGLp/Ubz9RSu lpzw3nyemu6lWB73mOH6Alhk8xjWQgVzEx7mruB7s4Z0bE/Sfid3HWQ+n3ytJ+cttH5U FAO1HLCAE3DZLTiZvA7pPmiUNwmYSfaF8vclrJuTXMlU4w2NJid7kTIQpQ3jEX9/+Pse 6Kuo7BBfJH3ZGIKX0u66bmDUpyKsAjuH3uJ1ROzUFZYs8ePoi2re+Ql/4tTy6QPWUlxq +Lsw== X-Received: by 10.152.115.132 with SMTP id jo4mr26467726lab.102.1432698509612; Tue, 26 May 2015 20:48:29 -0700 (PDT) Original-Received: by 10.25.43.65 with HTTP; Tue, 26 May 2015 20:48:09 -0700 (PDT) In-Reply-To: <20150526142445521942652@bob.proulx.com> X-Google-Sender-Auth: 9aFogMEPkah4BsYm33LkQ-HF8eM X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22e 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:104603 Archived-At: On Wed, May 27, 2015 at 2:53 AM, Bob Proulx wrote: >> > #!/usr/bin/emacs -Q --script >> >> Thanks, but sadly, this obvious seeming thing doesn't do it. In that >> case, neither -Q nor --script is respected. >> >> I read somewhere that the "#!" thing doesn't allow to specify multiple >> arguments. > > Correct. It is an old interface with a lot of history. It is most > often coded to accept exactly one argument. 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