From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Gian Uberto Lauri" Newsgroups: gmane.emacs.help Subject: Re: --script and --quick Date: Wed, 27 May 2015 08:55:19 +0200 Message-ID: <21861.27223.977546.127174@mail.eng.it> References: <877frvbdqm.fsf@web.de> <87oal79td9.fsf@wanadoo.es> <87iobfs202.fsf@web.de> <20150526142445521942652@bob.proulx.com> Reply-To: Gian Uberto Lauri NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1432709780 22770 80.91.229.3 (27 May 2015 06:56:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 May 2015 06:56:20 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: Yuri Khan Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 27 08:56:06 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 1YxVG2-00055D-Di for geh-help-gnu-emacs@m.gmane.org; Wed, 27 May 2015 08:56:06 +0200 Original-Received: from localhost ([::1]:52121 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxVG1-0001WO-LW for geh-help-gnu-emacs@m.gmane.org; Wed, 27 May 2015 02:56:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40197) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxVFr-0001W6-RR for help-gnu-emacs@gnu.org; Wed, 27 May 2015 02:55:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YxVFo-0008JC-H5 for help-gnu-emacs@gnu.org; Wed, 27 May 2015 02:55:55 -0400 Original-Received: from relay.eng.it ([91.109.60.38]:36943 helo=mail.eng.it) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxVFo-0008Iw-B3 for help-gnu-emacs@gnu.org; Wed, 27 May 2015 02:55:52 -0400 Original-Received: from MAVK-2 (unknown [192.168.10.72]) by deliver.antivirus (Postfix) with ESMTP id A4C264402A; Wed, 27 May 2015 08:55:49 +0200 (CEST) Original-Received: from quigley (unknown [172.27.7.115]) by mail.eng.it (Postfix) with ESMTP id 283E74402C; Wed, 27 May 2015 08:55:25 +0200 (CEST) In-Reply-To: X-Mailer: VM 8.1.1 under 24.4.1 (x86_64-unknown-linux-gnu) X-attribution: CC X-echelon-food: Agro Terror Service disruption Nuclear threat TEXTA. ELF H5N1 Swine SONANGOL Beyond Hope Flu Riot Human to Human Platform UDT SAPO Juarez X-KLMS-Rule-ID: 1 X-KLMS-Message-Action: clean X-KLMS-AntiSpam-Status: not scanned, disabled by settings X-KLMS-AntiPhishing: Clean, 2015/05/26 12:26:59 X-KLMS-AntiVirus: Kaspersky Security 8.0 for Linux Mail Server, version 8.0.1.705, bases: 2015/05/27 00:19:00 #8705655; khse: 2014-03-12 13:55:01 X-KLMS-AntiVirus-Status: Clean, skipped X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 91.109.60.38 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:104607 Archived-At: 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: >=20 > #!/usr/bin/emacs -Qs You are using a shell, the magic of shebang and you are not considering a shell script=3F This one works. ---------------------------------8<---------------------- #!/bin/bash emacs --quick --script $@ ---------------------------------8<---------------------- --=20 /\ =5F=5F=5F Ubuntu: anci= ent /=5F=5F=5F/\=5F|=5F|\=5F|=5F=5F|=5F=5F=5FGian Uberto Lauri=5F=5F=5F=5F=5F= African word //--\| | \| | Integralista GNUslamico meaning "I can \/ coltivatore diretto di software not install gi=E0 sistemista a tempo (altrui) perso... Debian" Warning: gnome-config-daemon considered more dangerous than GOTO