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: Thu, 14 Jun 2007 03:49:12 -0400 Message-ID: References: <878xb05ras.fsf@stupidchicken.com> <200706101559.l5AFxBFb006829@oogie-boogie.ics.uci.edu> <86fy4yg62v.fsf@lola.quinscape.zz> <466ED07F.9000002@gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1181807435 17490 80.91.229.12 (14 Jun 2007 07:50:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 14 Jun 2007 07:50:35 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 14 09:50:34 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 1Hyk6D-0003Tb-IX for ged-emacs-devel@m.gmane.org; Thu, 14 Jun 2007 09:50:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hyk6D-0000Ci-5Y for ged-emacs-devel@m.gmane.org; Thu, 14 Jun 2007 03:50:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hyk4w-0008B4-Kk for emacs-devel@gnu.org; Thu, 14 Jun 2007 03:49:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hyk4v-0008Ac-Az for emacs-devel@gnu.org; Thu, 14 Jun 2007 03:49:14 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hyk4v-0008AR-5I for emacs-devel@gnu.org; Thu, 14 Jun 2007 03:49:13 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hyk4u-0008DH-Ne for emacs-devel@gnu.org; Thu, 14 Jun 2007 03:49:12 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1Hyk4u-0006XU-6l; Thu, 14 Jun 2007 03:49:12 -0400 In-reply-to: <466ED07F.9000002@gnu.org> (message from Jason Rumney on Tue, 12 Jun 2007 17:57:35 +0100) 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:72840 Archived-At: What do people think of this idea: make call-process and start-process supply the values of the envvars TERM and DISPLAY from two variables, term-environment-variable and display-environment-variable, if they are not specified in process-environment. These two variables would normally be frame-local, and in each frame, they would have the right values for that frame's terminal. This way, Lisp programs that bind TERM explicitly will work right. However, in the future they could bind term-environment-variable and display-environment-variable, instead of fussing with process-environment. Would someone like to check whether this gives good results all around, for the Lisp code that operates on the environment?