From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: Post-22.1 development? Date: Tue, 12 Jun 2007 17:57:35 +0100 Message-ID: <466ED07F.9000002@gnu.org> References: <878xb05ras.fsf@stupidchicken.com> <200706101559.l5AFxBFb006829@oogie-boogie.ics.uci.edu> <86fy4yg62v.fsf@lola.quinscape.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1181667472 20778 80.91.229.12 (12 Jun 2007 16:57:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Jun 2007 16:57:52 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 12 18:57:49 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hy9gj-0001FD-2k for ged-emacs-devel@m.gmane.org; Tue, 12 Jun 2007 18:57:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hy9gi-0003AU-O3 for ged-emacs-devel@m.gmane.org; Tue, 12 Jun 2007 12:57:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hy9ge-0003A8-L5 for emacs-devel@gnu.org; Tue, 12 Jun 2007 12:57:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hy9gc-00039g-RC for emacs-devel@gnu.org; Tue, 12 Jun 2007 12:57:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hy9gc-00039d-Nt for emacs-devel@gnu.org; Tue, 12 Jun 2007 12:57:42 -0400 Original-Received: from outmail1.freedom2surf.net ([194.106.33.237]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hy9gb-0007f7-Ey; Tue, 12 Jun 2007 12:57:41 -0400 Original-Received: from [127.0.0.1] (i-83-67-23-108.freedom2surf.net [83.67.23.108]) by outmail1.freedom2surf.net (Postfix) with ESMTP id 3780250708; Tue, 12 Jun 2007 17:57:40 +0100 (BST) User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) In-Reply-To: X-detected-kernel: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:72704 Archived-At: Stefan Monnier wrote: > I think the right way to do it is to change the multi-tty code's handling of > environment so that it preserves the old behavior (and probably breaks > some of the multi-tty support), then merge into the trunk, then try and fix > the multi-tty part of the breakage. > I'm not sure exactly what the current breakage is, and why it is a problem, but there are a number of environment variables that have come up in this discussion that there is general agreement that they should be terminal local (DISPLAY, TERM). So it isn't a binary issue - whether the environment should be terminal/frame local or not, we are going to have to deal with the issues for these two variables anyway. Given that, and the strong opinions of some that the environment should not be terminal local, can we not have a user configurable option for this? I'd suggest the following user option: terminal-local-environment nil means the environment is not terminal local (what we have in Emacs 22) t means all the environment is terminal local (what is implemented in multi-tty currently) A cons cell is a list of environment variables that should be treated as terminal local. default value can be '("DISPLAY" "TERM").