From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Phillip Lord" Newsgroups: gmane.emacs.bugs Subject: bug#20202: bug#20484: bug#20202: Considered Harmful 73d213: 'Comint, term, and compile new set Emacs' Date: Sun, 10 Apr 2016 09:25:42 +0100 Message-ID: <8346a9b64e23b8a8fbcfcf10274e2ba2.squirrel@cloud103.planethippo.com> 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> <570992E3.4070109@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1460276774 29312 80.91.229.3 (10 Apr 2016 08:26:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Apr 2016 08:26:14 +0000 (UTC) Cc: Phillip Lord , 20484@debbugs.gnu.org, Stefan Monnier , 20202@debbugs.gnu.org To: "Paul Eggert" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 10 10:26: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 1apAhA-0000Dp-Os for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Apr 2016 10:26:12 +0200 Original-Received: from localhost ([::1]:34202 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apAh6-0005V7-W4 for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Apr 2016 04:26:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38556) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apAh3-0005SY-HN for bug-gnu-emacs@gnu.org; Sun, 10 Apr 2016 04:26:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1apAh0-0001xU-Ag for bug-gnu-emacs@gnu.org; Sun, 10 Apr 2016 04:26:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44223) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apAh0-0001xQ-44 for bug-gnu-emacs@gnu.org; Sun, 10 Apr 2016 04:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1apAgz-0000ux-SS for bug-gnu-emacs@gnu.org; Sun, 10 Apr 2016 04:26:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Phillip Lord" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Apr 2016 08:26: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.14602767513506 (code B ref 20202); Sun, 10 Apr 2016 08:26:01 +0000 Original-Received: (at 20202) by debbugs.gnu.org; 10 Apr 2016 08:25:51 +0000 Original-Received: from localhost ([127.0.0.1]:56558 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1apAgo-0000uT-Vs for submit@debbugs.gnu.org; Sun, 10 Apr 2016 04:25:51 -0400 Original-Received: from cloud103.planethippo.com ([31.216.48.48]:54572) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1apAgm-0000uC-Ka; Sun, 10 Apr 2016 04:25:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Cc:To:From:Subject:Date:References:In-Reply-To:Message-ID; bh=fU+xKrq4VtHMGmEgjtfcA3K5pgtyJ/yZj4iPa2FvkSw=; b=Vk+G3HJsBvZZgDK4ONrbzeT4UR h3QtNpLQwn2ijtYu5sMMELWuWZkapeHpYwzIcvWQ+RzsIy6kroVDljZ5IFV1Ge4WWn06PUPKQwaAi /i4uyx9QHpMTpcM772Vyihhy9PYDF+4xBzvJ8dfH4vc9v+933BvCRmi5x54OMDOTjjZFXnHJCGslA I0Gry932VfPFbl+tbjFM4Sd/hY/y1p4F5TMbbd5oCr5USHlg1nYfE1SdBYd0002hCUHD5bdjthMlW RCF4oeTwYZbT3IvWBWEzouk3ywKQbMtbG32MEuqGorzaiHF7RxCxZz9qn5T4RnjWVfwPsAq2iRdCr 2uodhqcQ==; Original-Received: from [127.0.0.1] (port=43963 helo=cloud103.planethippo.com) by cloud103.planethippo.com with esmtpa (Exim 4.86_1) (envelope-from ) id 1apAgg-004LjI-9l; Sun, 10 Apr 2016 09:25:42 +0100 Original-Received: from 77.98.219.118 ([77.98.219.118]) (SquirrelMail authenticated user phillip.lord@russet.org.uk) by cloud103.planethippo.com with HTTP; Sun, 10 Apr 2016 09:25:42 +0100 In-Reply-To: <570992E3.4070109@cs.ucla.edu> User-Agent: SquirrelMail/1.5.2 [SVN] X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk 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:116306 Archived-At: On Sun, April 10, 2016 12:40 am, Paul Eggert wrote: > 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 "||"). Yes, I noticed that as well. I couldn't patch the documentation because I couldn't find the source. > It sounds like this stuff isn't exercised much.... I wouldn't conclude that; more likely, it just works so no one has looked. The situation with bash is the same -- Emacs requests --noediting, but bash detects Emacs and enforces noediting anyway. Phil > >> 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. > > > >