[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shell-command - missing shell-quote-argument for program?

From: Andreas Schwab
Subject: Re: shell-command - missing shell-quote-argument for program?
Date: Sat, 07 Oct 2006 15:11:06 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

Richard Stallman <address@hidden> writes:

>     C-h f shell RET
>     "[...]
>     The shell file name (sans directories) is used to make a symbol name
>     such as `explicit-csh-args'.  If that symbol is a variable,
>     its value is used as a list of arguments when invoking the shell.
>     Otherwise, one argument `-i' is passed to the shell."
> We should have a note about this to the doc string of explicit-bash-args,
> so that people looking at it understand how it is used.
> Would you please add one?

The doc string already says:

  Args passed to inferior shell by M-x shell, if the shell is bash.

IMHO this should be clear enough (there is even a link to the shell
function).  That the variable is not referenced explicitly is an
implementation detail that doesn't belong in the doc string of


Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]