From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#20202: bug#20484: bug#20202: Considered Harmful 73d213: 'Comint, term, and compile new set Emacs' Date: Sat, 9 Apr 2016 16:40:19 -0700 Organization: UCLA Computer Science Department Message-ID: <570992E3.4070109@cs.ucla.edu> References: <87oa9otixb.fsf@russet.org.uk> <5703E15B.7080601@cs.ucla.edu> <87k2kcovt8.fsf@russet.org.uk> <5704233B.4020103@cs.ucla.edu> <8737qzso88.fsf@russet.org.uk> <57045765.4000309@cs.ucla.edu> <87r3ei8vz9.fsf@russet.org.uk> <5705B246.10201@cs.ucla.edu> <5706764D.2010708@cs.ucla.edu> <282e74a937853505fddfea446c9bc46e.squirrel@cloud103.planethippo.com> <57067BF6.6000700@cs.ucla.edu> <83bn5ll5i8.fsf@gnu.org> <83a8l5kypx.fsf@gnu.org> <837fg8lh49.fsf@gnu.org> <8360vsjdlc.fsf@gnu.org> <05e4d286de69c0d9858381f8af72835d.squirrel@cloud103.planethippo.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1460245274 2045 80.91.229.3 (9 Apr 2016 23:41:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Apr 2016 23:41:14 +0000 (UTC) Cc: 20202@debbugs.gnu.org, 20484@debbugs.gnu.org To: Phillip Lord , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 10 01:41:13 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ap2V7-00088X-4t for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Apr 2016 01:41:13 +0200 Original-Received: from localhost ([::1]:33318 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ap2V2-0004aS-Jh for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Apr 2016 19:41:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ap2Uz-0004Yg-Eb for bug-gnu-emacs@gnu.org; Sat, 09 Apr 2016 19:41:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ap2Uw-0002ha-7T for bug-gnu-emacs@gnu.org; Sat, 09 Apr 2016 19:41:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44107) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ap2Uw-0002hW-47 for bug-gnu-emacs@gnu.org; Sat, 09 Apr 2016 19:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ap2Uv-0003Xn-TS for bug-gnu-emacs@gnu.org; Sat, 09 Apr 2016 19:41:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Apr 2016 23:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20202 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20202-submit@debbugs.gnu.org id=B20202.146024522913560 (code B ref 20202); Sat, 09 Apr 2016 23:41:01 +0000 Original-Received: (at 20202) by debbugs.gnu.org; 9 Apr 2016 23:40:29 +0000 Original-Received: from localhost ([127.0.0.1]:56442 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ap2UP-0003Wd-JG for submit@debbugs.gnu.org; Sat, 09 Apr 2016 19:40:29 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:40889) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ap2UN-0003WJ-Co; Sat, 09 Apr 2016 19:40:27 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 8C253161245; Sat, 9 Apr 2016 16:40:21 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id z3_08tP_b9xH; Sat, 9 Apr 2016 16:40:20 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id CDF1F16124A; Sat, 9 Apr 2016 16:40:20 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ytBSnQSsZELW; Sat, 9 Apr 2016 16:40:20 -0700 (PDT) Original-Received: from [192.168.1.9] (unknown [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 94E53161245; Sat, 9 Apr 2016 16:40:20 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 In-Reply-To: <05e4d286de69c0d9858381f8af72835d.squirrel@cloud103.planethippo.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:116293 Archived-At: Phillip Lord wrote: > They've just patched SWI-Prolog to look at INSIDE_EMACS anyway. Amusingly enough, the SWI-Prolog implementation (both unpatched and patched) disagrees with its documentation, which says SWI-Prolog assumes it is running under Emacs "if the environment variable EMACS is 't' and INFERIOR is 'yes'." Note the restriction to 't' in the documentation (which the code does not enforce). Note also the "and" in the documentation (the code uses "||"). It sounds like this stuff isn't exercised much.... > I'm guessing that anyone who wants the EMACS=t behaviour should be able to > get it back by adding (setenv "EMACS" "t") to their .emacs? Yes, that works. Or in practice for SWI-Prolog (setenv "INFERIOR" "yes") should also do the trick.