[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to get command line arguments?
From: |
Jean Louis |
Subject: |
Re: How to get command line arguments? |
Date: |
Sat, 6 Jul 2019 20:39:38 +0200 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
* 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