From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Post-22.1 development? Date: Fri, 15 Jun 2007 04:48:28 -0400 Message-ID: References: <878xb05ras.fsf@stupidchicken.com> <200706101559.l5AFxBFb006829@oogie-boogie.ics.uci.edu> <86fy4yg62v.fsf@lola.quinscape.zz> <466ED07F.9000002@gnu.org> <864pla7w1u.fsf@lola.quinscape.zz> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1181897415 13800 80.91.229.12 (15 Jun 2007 08:50:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Jun 2007 08:50:15 +0000 (UTC) Cc: emacs-devel@gnu.org, monnier@iro.umontreal.ca, jasonr@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 15 10:50:13 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 1Hz7VT-0001BR-Jw for ged-emacs-devel@m.gmane.org; Fri, 15 Jun 2007 10:50:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hz7VS-0000PO-W2 for ged-emacs-devel@m.gmane.org; Fri, 15 Jun 2007 04:50:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hz7Tq-0008B3-OW for emacs-devel@gnu.org; Fri, 15 Jun 2007 04:48:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hz7Tp-0008Ab-LU for emacs-devel@gnu.org; Fri, 15 Jun 2007 04:48:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hz7Tp-0008AV-7N for emacs-devel@gnu.org; Fri, 15 Jun 2007 04:48:29 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hz7To-0001fD-O6 for emacs-devel@gnu.org; Fri, 15 Jun 2007 04:48:28 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1Hz7To-0002Qj-6v; Fri, 15 Jun 2007 04:48:28 -0400 In-reply-to: <864pla7w1u.fsf@lola.quinscape.zz> (message from David Kastrup on Thu, 14 Jun 2007 10:57:33 +0200) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:72933 Archived-At: These two variables would normally be > frame-local, and in each frame, they would have the right values for > that frame's terminal. I'd make them terminal-local. Either one. The problem I see with this is that Károly expressed a strong preference for having the _complete_ environment terminal-local (personally, I think this a bad idea but have not been able to convince him and several others): he preferred to consider a separately started emacsclient session to have an _independent_ complete set of environment variables. If we want that, it can be a separate and independent feature. There is no need to combine that question with this one. It is clear that TERM and DISPLAY should go with the terminal regardless of use of emacsclient. Using the above scheme with terminal-process-environment would still facilitate that, but in that case most of the direct manipulations and queries working on process-environment would fail to work. `terminal-process-environment' is cumbersome. I'd rather have `term-environment-variable' and `display-environment-variable', as I explained. This may require rewriting various Lisp programs -- but it brings a benefit in clarity that can justify an incompatible change.