From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Oleh Krehel Newsgroups: gmane.emacs.devel Subject: Why "EMACS=24.4.91.2 (term:0.96)" in term-exec-1? Date: Mon, 30 Mar 2015 10:15:48 +0200 Message-ID: <874mp2oq8b.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1427703701 24820 80.91.229.3 (30 Mar 2015 08:21:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Mar 2015 08:21:41 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 30 10:21:34 2015 Return-path: Envelope-to: ged-emacs-devel@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 1YcUwb-000623-3r for ged-emacs-devel@m.gmane.org; Mon, 30 Mar 2015 10:21:13 +0200 Original-Received: from localhost ([::1]:60133 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcUwa-0002JN-9H for ged-emacs-devel@m.gmane.org; Mon, 30 Mar 2015 04:21:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56059) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcUwF-0002HA-0R for emacs-devel@gnu.org; Mon, 30 Mar 2015 04:20:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YcUwA-00085h-Ef for emacs-devel@gnu.org; Mon, 30 Mar 2015 04:20:50 -0400 Original-Received: from mail-wi0-x235.google.com ([2a00:1450:400c:c05::235]:37634) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcUwA-00085O-55 for emacs-devel@gnu.org; Mon, 30 Mar 2015 04:20:46 -0400 Original-Received: by wiaa2 with SMTP id a2so117223543wia.0 for ; Mon, 30 Mar 2015 01:20:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=zIm38mcADwj/O6gX2GFFnUbv4scirCbWw2BqVTdmRwk=; b=y38u0xK1QuRzvwvM8ybkIQDpPfovKhJtnbIWlmWwyxLa7vmx9oIxNlqxd1pCSjsLuY hsHFwtzWIJEYcBV6MFrRz8BfaAe/vg/FrmwU6ohDoyF3p0F2ne5+Ln4L7206Zh9w0/yw 5kOMqRoJ4tCtC2Y6ZftjWbvNM+UKwhwBpTSjW61lzo7YzZFeB6+7VREbdgghf9gDUfOr wqBsqlHLc54PAXMqAgYsg60+hWwlwQbtFYJLDjBU/W/ZqhanMEO/0sS9V4i1cRkMaoec lTiNptV7M5lTWToRtj0gxH24AMpppKmU46+R3C/vVnkW3cWZBkegslqf4XjrM4D5j72u nsoA== X-Received: by 10.194.94.1 with SMTP id cy1mr59625643wjb.127.1427703644699; Mon, 30 Mar 2015 01:20:44 -0700 (PDT) Original-Received: from firefly (dyn069045.nbw.tue.nl. [131.155.69.45]) by mx.google.com with ESMTPSA id q6sm14613724wix.3.2015.03.30.01.20.43 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 30 Mar 2015 01:20:43 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::235 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:184540 Archived-At: Hi all, I've been putting up with this misfeature for quite some time. Basically, I can't just type `make test' into ansi-term for ERT testing. I have to either re-export the EMACS variable (by hand, since I can't just nail it down in the Makefile), or call `make test' from outside Emacs. Turns out, the reason is in `term-exec-1', accompanied by this comment: ;; We are going to get rid of the binding for EMACS, ;; probably in Emacs 23, because it breaks ;; `./configure' of some packages that expect it to ;; say where to find EMACS. (format "EMACS=%s (term:%s)" emacs-version term-protocol-version) So I have two questions: what was the reason for setting this variable, and can we remove it? regards, Oleh