From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#6401: Date: Tue, 22 Nov 2011 03:36:53 -0500 Message-ID: References: <3ECA75E7-611F-4D2A-B6B9-C0FEC96D1070@hofland.no> <822479C3-8B02-4BD7-AB56-C5D7DD31D9D6@tenkan.org> <2cmxboiol1.fsf@fencepost.gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1321951084 8484 80.91.229.12 (22 Nov 2011 08:38:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 22 Nov 2011 08:38:04 +0000 (UTC) Cc: 6401@debbugs.gnu.org, tim@tenkan.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 22 09:37:58 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RSlrY-00019f-ER for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Nov 2011 09:37:56 +0100 Original-Received: from localhost ([::1]:39282 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSlrX-0004SS-3I for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Nov 2011 03:37:55 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:33195) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSlrQ-0004SG-C6 for bug-gnu-emacs@gnu.org; Tue, 22 Nov 2011 03:37:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RSlrM-0006iV-4Q for bug-gnu-emacs@gnu.org; Tue, 22 Nov 2011 03:37:48 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60262) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSlrM-0006iP-30 for bug-gnu-emacs@gnu.org; Tue, 22 Nov 2011 03:37:44 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RSlsc-0002Tq-0a for bug-gnu-emacs@gnu.org; Tue, 22 Nov 2011 03:39:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Nov 2011 08:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6401 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6401-submit@debbugs.gnu.org id=B6401.13219510959478 (code B ref 6401); Tue, 22 Nov 2011 08:39:01 +0000 Original-Received: (at 6401) by debbugs.gnu.org; 22 Nov 2011 08:38:15 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RSlrr-0002Sp-NX for submit@debbugs.gnu.org; Tue, 22 Nov 2011 03:38:15 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RSlrq-0002Si-2E for 6401@debbugs.gnu.org; Tue, 22 Nov 2011 03:38:14 -0500 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RSlqX-00087N-22; Tue, 22 Nov 2011 03:36:53 -0500 In-reply-to: <2cmxboiol1.fsf@fencepost.gnu.org> (message from Glenn Morris on Tue, 22 Nov 2011 02:49:30 -0500) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 22 Nov 2011 03:39:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:54161 Archived-At: > From: Glenn Morris > Cc: tim@tenkan.org, 6401@debbugs.gnu.org > Date: Tue, 22 Nov 2011 02:49:30 -0500 > > Why does a --with-ns build actually need to set these env-vars for child > processes? > Could they specifically be unset in spawned M-x shells? How will Emacs know that these variables weren't set by the parent shell? > Similar to the suggestion in emacs-devel, could configure unset > $EMACSDATA if $EMACS is set (which indicates it is running from an Emacs > shell)? Under what circusmtances would one want to set EMACSDATA when > building Emacs? Building Emacs is just one use case, even if we find a solution for it. The problem is much broader: Emacs running as a child of another Emacs gets EMACSDATA etc. variables that could well point to a wrong place, because they were set by a different Emacs version.