Hi Pierre, On Mon, 24 Feb 2020 at 17:45, Pierre Neidhardt <m...@ambrevar.xyz> wrote:
> Done, and it's fixed upstream! You mean that INSIDE_EMACS is now correctly set with EShell, right? Then, the Emacs manual is correct too in *eshell*: --8<---------------cut here---------------start------------->8--- Emacs sets the environment variable ‘INSIDE_EMACS’ in the subshell to ‘VERSION,comint’, where VERSION is the Emacs version (e.g., ‘24.1’). Programs can check this variable to determine whether they are running inside an Emacs subshell. --8<---------------cut here---------------end--------------->8--- > Question: Which INSIDE_EMACS hack? INSIDE_EMACS has been introduced as a hack because then: --8<---------------cut here---------------start------------->8--- Programs can check this variable to determine whether they are running inside an Emacs subshell. --8<---------------cut here---------------end--------------->8--- and the GNU tools can be better integrated with Emacs, IMHO. All the best, simon