[Top][All Lists]

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

bug#20484: bug#20202: Considered Harmful 73d213: 'Comint, term, and comp

From: Phillip Lord
Subject: bug#20484: bug#20202: Considered Harmful 73d213: 'Comint, term, and compile new set Emacs'
Date: Sat, 9 Apr 2016 09:43:09 +0100
User-agent: SquirrelMail/1.5.2 [SVN]

On Sat, April 9, 2016 3:24 am, Glenn Morris wrote:
> Eli Zaretskii wrote:
> Please note that the list of affected applications may include things
> other than shells; eg
> http://lists.gnu.org/archive/html/emacs-pretest-bug/2006-11/msg00035.html
> http://lists.gnu.org/archive/html/emacs-pretest-bug/2006-11/msg00084.html
> http://www.swi-prolog.org/pldoc/man?section=flags
> "SWI-Prolog assumes this is the case if the environment variable EMACS
> is t"
> Since it is impossible to construct the definitive list of affected
> applications, that is why I am personally pessimistic about being able to
> change this without use of Emacs SOP: change it and see what breaks.

So SWI-Prolog does still do this...

 if ( ((s = Getenv("EMACS", envbuf, sizeof(envbuf))) && s[0]) ||
       ((s = Getenv("INFERIOR", envbuf, sizeof(envbuf))) && streq(s,
"yes")) )

although, AFAICT, it just checks for EMACS=anything at all, so it's
possible to workaround this in a way consistent with

I'll contact them.


reply via email to

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