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: Wed, 13 Jun 2007 12:21:59 -0400 Message-ID: References: <878xb05ras.fsf@stupidchicken.com> <200706101559.l5AFxBFb006829@oogie-boogie.ics.uci.edu> <86fy4yg62v.fsf@lola.quinscape.zz> <466ED07F.9000002@gnu.org> <85fy4wx1tb.fsf@lola.goethe.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 1181751872 16488 80.91.229.12 (13 Jun 2007 16:24:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 13 Jun 2007 16:24:32 +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 Wed Jun 13 18:24:31 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 1HyVdw-0002QW-Cw for ged-emacs-devel@m.gmane.org; Wed, 13 Jun 2007 18:24:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HyVdv-0002w6-Hy for ged-emacs-devel@m.gmane.org; Wed, 13 Jun 2007 12:24:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HyVbe-0001zA-2d for emacs-devel@gnu.org; Wed, 13 Jun 2007 12:22:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HyVbc-0001y1-DO for emacs-devel@gnu.org; Wed, 13 Jun 2007 12:22:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HyVbc-0001xx-5g for emacs-devel@gnu.org; Wed, 13 Jun 2007 12:22:00 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HyVbc-0003oG-08 for emacs-devel@gnu.org; Wed, 13 Jun 2007 12:22:00 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1HyVbb-0001Xq-HN; Wed, 13 Jun 2007 12:21:59 -0400 In-reply-to: <85fy4wx1tb.fsf@lola.goethe.zz> (message from David Kastrup on Wed, 13 Jun 2007 00:09:20 +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:72773 Archived-At: The proposal was to have process-environment a terminal-local variable. It is set up starting with its own values of DISPLAY and TERM. Each last terminal-local cons-cell has a cdr of global-process-environment. This is a "shared tail" starting with the empty string "" (which is an environment element satisfying stringp, but not matching any useful string pattern). setenv will use setcar to replace an existing environment variable definition it finds in process-environment, and will append non-existing definitions at the end of process-environment. I guess you've verified that the usual ways of using process-environment will work unchanged with this, right? Does someone have another idea for a way to avoid the need to change the programs that operate on the environment?