From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#6401: Date: Tue, 22 Nov 2011 02:49:30 -0500 Message-ID: <2cmxboiol1.fsf@fencepost.gnu.org> References: <3ECA75E7-611F-4D2A-B6B9-C0FEC96D1070@hofland.no> <822479C3-8B02-4BD7-AB56-C5D7DD31D9D6@tenkan.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1321948196 22769 80.91.229.12 (22 Nov 2011 07:49:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 22 Nov 2011 07:49:56 +0000 (UTC) Cc: 6401@debbugs.gnu.org, tim@tenkan.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 22 08:49:49 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 1RSl6y-00010P-Jy for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Nov 2011 08:49:48 +0100 Original-Received: from localhost ([::1]:53475 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSl6x-0005Ho-Sm for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Nov 2011 02:49:47 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:57292) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSl6v-0005HY-3L for bug-gnu-emacs@gnu.org; Tue, 22 Nov 2011 02:49:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RSl6t-0007OZ-Sr for bug-gnu-emacs@gnu.org; Tue, 22 Nov 2011 02:49:45 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60228) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSl6t-0007OV-RK for bug-gnu-emacs@gnu.org; Tue, 22 Nov 2011 02:49:43 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RSl89-0001OT-Ot for bug-gnu-emacs@gnu.org; Tue, 22 Nov 2011 02:51:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Nov 2011 07:51: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.13219482525342 (code B ref 6401); Tue, 22 Nov 2011 07:51:01 +0000 Original-Received: (at 6401) by debbugs.gnu.org; 22 Nov 2011 07:50:52 +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 1RSl7z-0001O6-Gw for submit@debbugs.gnu.org; Tue, 22 Nov 2011 02:50:51 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RSl7x-0001Nz-R3 for 6401@debbugs.gnu.org; Tue, 22 Nov 2011 02:50:50 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RSl6g-00050U-Gg; Tue, 22 Nov 2011 02:49:30 -0500 X-Spook: JUWTF Saudi Arabia unclassified Mena oil fundamentalist X-Ran: fPT#hZ*{[@6S#v^$R%iPXdWCu%:)sBHvx#$7]>]HE`%ziJc.>Ab|SU|fJ"1F;.3[KqTN+: X-Hue: blue X-Attribution: GM In-Reply-To: (Eli Zaretskii's message of "Tue, 22 Nov 2011 00:38:51 -0500") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 22 Nov 2011 02:51:01 -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:54158 Archived-At: Eli Zaretskii wrote: >> http://lists.gnu.org/archive/html/emacs-devel/2008-10/msg00432.html >> >> I don't know if a solution was ever found for that. > > No solution was found, because I, like you, don't know what to do > about it. Emacs has no way of knowing whether EMACSDATA etc. is set > for it or for some other Emacs. So it cannot remove it from the > environment when running subprocesses. Maybe someone could come up > with some clever idea. If all else fails, we can at least write a PROBLEMS entry. 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? 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? Or could we replace the env-var with a --with-emacsdata argument to configure instead? Then people who need the functionality can still access it, and people who don't won't inadvertently get affected by it.