Tassilo Horn <[EMAIL PROTECTED]> writes:

> So it would be good, if TRAMP would set this INSIDE_EMACS variable, too,
> in analogy with M-x shell.
>
> ,----[ (info "(emacs)Interactive Shell") ]
> |    Emacs sets the environment variable `INSIDE_EMACS' in the subshell
> | to a comma-separated list including the Emacs version.  Programs can
> | check this variable to determine whether they are running inside an
> | Emacs subshell.
> `----
>
> In M-x shell, its value is "23.0.60.1,comint" here.  It would be nice if
> TRAMP would set it to something like "<emacs-version>,comint,tramp", so
> that users have a mode finegrained control of what's invoking the shell.

I'll do so, thanks for the pointer. It will look like "23.0.60.1,tramp:2.1.14".
comint is not involved, so I let it out.

However, it wouldn't help in the given case, because Tramp failed
already recognizing the prompt after applying the "sudo"
command. Setting $INSIDE_EMACS will happen later.

> Bye,
> Tassilo

Best regards, Michael.



_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to