From: "Chris F.A. Johnson" <cfajohnson@cfaj.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: --script and --quick
Date: Wed, 27 May 2015 03:18:04 -0400 [thread overview]
Message-ID: <cm7g3c-d19.ln1@chris.tor> (raw)
In-Reply-To: mailman.3742.1432709757.904.help-gnu-emacs@gnu.org
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
next prev parent reply other threads:[~2015-05-27 7:18 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-26 14:44 --script and --quick Michael Heerdegen
2015-05-26 16:49 ` Óscar Fuentes
2015-05-26 17:05 ` Michael Heerdegen
2015-05-26 20:53 ` Bob Proulx
2015-05-27 3:48 ` Yuri Khan
2015-05-27 6:55 ` Gian Uberto Lauri
2015-05-27 11:51 ` Michael Heerdegen
2015-05-27 12:02 ` saint
2015-05-27 12:34 ` Michael Heerdegen
2015-05-27 12:39 ` Gian Uberto Lauri
2015-05-27 12:52 ` Michael Heerdegen
2015-05-28 14:27 ` Michael Heerdegen
[not found] ` <mailman.3742.1432709757.904.help-gnu-emacs@gnu.org>
2015-05-27 7:18 ` Chris F.A. Johnson [this message]
2015-05-27 12:39 ` Gian Uberto Lauri
2015-05-28 12:35 ` Michael Heerdegen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cm7g3c-d19.ln1@chris.tor \
--to=cfajohnson@cfaj.ca \
--cc=help-gnu-emacs@gnu.org \
--cc=newsgroups@cfaj.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.