[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: comint.el: EMACS environment variable
From: |
Stefan Monnier |
Subject: |
Re: comint.el: EMACS environment variable |
Date: |
Sun, 19 Nov 2006 12:51:28 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux) |
> What about the EMACS variable in term mode (the one invoked by M-x
> term RET)? Currently, the variable is set to the emacs version, like
> $ echo $EMACS
> 22.0.90.1 (term:0.96)
> term should set INSIDE_EMACS as well.
I believe it's important to distinguish term from comint: the reason why
external programs sometimes want to check is EMACS=t (or now INSIDE_EMACS=t)
is because they need to adjust to the peculiar way comint interacts with
its inferior process: on the one side it's interactive, but on the other it
sends whole commands at a time (the inferior process doesn't get to see
keystrokes).
OTOH term.el interacts with its inferior processes pretty much like xterm or
any other terminal emulator would.
So I think setting EMACS to t in comint and to something different (namely
<version>) in term was no mistake.
Stefan
- Re: comint.el: EMACS environment variable, (continued)
- Re: comint.el: EMACS environment variable, Richard Stallman, 2006/11/17
- Re: comint.el: EMACS environment variable, Kim F. Storm, 2006/11/17
- Re: comint.el: EMACS environment variable, Kim F. Storm, 2006/11/17
- Re: comint.el: EMACS environment variable, Chong Yidong, 2006/11/17
- Re: comint.el: EMACS environment variable, Chong Yidong, 2006/11/18
- Re: comint.el: EMACS environment variable, Chong Yidong, 2006/11/07
- Re: comint.el: EMACS environment variable, Markus Triska, 2006/11/08
- Re: comint.el: EMACS environment variable, Richard Stallman, 2006/11/08
Re: comint.el: EMACS environment variable, Jae-hyeon Park, 2006/11/18
- Re: comint.el: EMACS environment variable, Richard Stallman, 2006/11/18
- Re: comint.el: EMACS environment variable,
Stefan Monnier <=
- Re: comint.el: EMACS environment variable, Richard Stallman, 2006/11/20
- Re: comint.el: EMACS environment variable, Stefan Monnier, 2006/11/20
- Re: comint.el: EMACS environment variable, Richard Stallman, 2006/11/21
- Re: comint.el: EMACS environment variable, Stefan Monnier, 2006/11/21
- Re: comint.el: EMACS environment variable, Richard Stallman, 2006/11/22
- Re: comint.el: EMACS environment variable, Kim F. Storm, 2006/11/22
- Re: comint.el: EMACS environment variable, Richard Stallman, 2006/11/24
- Re: comint.el: EMACS environment variable, Stefan Monnier, 2006/11/22