From: Jean Louis <bugs@gnu.support>
To: Tomas Nordin <tomasn@posteo.net>
Cc: "Óscar Fuentes" <ofv@wanadoo.es>,
"GNU Emacs Help" <help-gnu-emacs@gnu.org>
Subject: Re: How to get command line arguments?
Date: Sat, 6 Jul 2019 20:39:38 +0200 [thread overview]
Message-ID: <20190706183938.GF17273@protected.rcdrun.com> (raw)
In-Reply-To: <878stbgm77.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me>
* Tomas Nordin <tomasn@posteo.net> [2019-07-06 18:30]:
> Jean Louis <bugs@gnu.support> writes:
>
> > Tell me how do you mean?
>
> I got curious about the variable command-line-args and checked it up,
> and the doc says
>
> Args passed by shell to Emacs, as a list of strings.
> Many arguments are deleted from the list as they are processed.
>
> so I thought there is a risk some argument might not be there the moment
> some custom code want to read it.
Now I understand.
I think it is meant that command-line-args is also
having those other arguments like -nw for example.
So -nw must be processed by Emacs itself and thus
it will be removed in that process.
That is just thinking.
Jean
prev parent reply other threads:[~2019-07-06 18:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-04 17:53 How to get command line arguments? Jean Louis
2019-07-04 18:54 ` Óscar Fuentes
2019-07-04 20:25 ` Jean Louis
2019-07-04 22:12 ` Tomas Nordin
[not found] ` <EE1CB262-B4DB-4FA4-A3F6-79659AA4C17F@gnu.support>
[not found] ` <878stbgm77.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me>
2019-07-06 18:39 ` Jean Louis [this message]
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=20190706183938.GF17273@protected.rcdrun.com \
--to=bugs@gnu.support \
--cc=help-gnu-emacs@gnu.org \
--cc=ofv@wanadoo.es \
--cc=tomasn@posteo.net \
/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.