From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Multi-tty design (Re: Reordering etc/NEWS) Date: Thu, 17 May 2007 18:51:59 -0400 Message-ID: References: <464835DE.3020007@lorentey.hu> <86y7jrr8rx.fsf@lola.quinscape.zz> <86lkfrr3s6.fsf@lola.quinscape.zz> <86d513r2i1.fsf@lola.quinscape.zz> <861whjr097.fsf@lola.quinscape.zz> <200705141648.l4EGmmvW007675@oogie-boogie.ics.uci.edu> <85bqgngvos.fsf@lola.goethe.zz> <200705141819.l4EIJLPr009832@oogie-boogie.ics.uci.edu> <85ps53fcm0.fsf@lola.goethe.zz> <200705142004.l4EK4DHg012188@oogie-boogie.ics.uci.edu> <85lkfrf91x.fsf@lola.goethe.zz> <200705142102.l4EL2pHK013655@oogie-boogie.ics.uci.edu> <4649D75C.2090905@lorentey.hu> <464A6144.10905@lorentey.hu> <851whfzj8r.fsf@lola.goethe.zz> <464C753E.4050008@lorentey.hu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1179442332 15580 80.91.229.12 (17 May 2007 22:52:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 17 May 2007 22:52:12 +0000 (UTC) Cc: Dan Nicolaescu , Andreas Schwab , joakim@verona.se, emacs-devel@gnu.org To: =?iso-8859-1?Q?K=E1roly_Lorentey?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 18 00:52:10 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 1HoopN-0005UQ-0u for ged-emacs-devel@m.gmane.org; Fri, 18 May 2007 00:52:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HooxV-00029P-KW for ged-emacs-devel@m.gmane.org; Thu, 17 May 2007 19:00:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HooxS-00029I-Ev for emacs-devel@gnu.org; Thu, 17 May 2007 19:00:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HooxS-000295-1X for emacs-devel@gnu.org; Thu, 17 May 2007 19:00:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HooxR-000292-T4 for emacs-devel@gnu.org; Thu, 17 May 2007 19:00:29 -0400 Original-Received: from 18.red-83-50-230.dynamicip.rima-tde.net ([83.50.230.18] helo=alfajor.home) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HoopF-0003fA-PK; Thu, 17 May 2007 18:52:03 -0400 Original-Received: by alfajor.home (Postfix, from userid 20848) id 22C801C15B; Thu, 17 May 2007 18:51:59 -0400 (EDT) In-Reply-To: <464C753E.4050008@lorentey.hu> (=?iso-8859-1?Q?=22K=E1roly?= Lo"'s message of "Thu\, 17 May 2007 17\:31\:10 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) X-detected-kernel: Linux 2.6 (newer, 3) 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:71286 Archived-At: >> I would argue that an Emacs started with >> DISPLAY=:0.0 emacs -display :1.0 >> should export an environment variable DISPLAY=:1.0 to its subprocesses >> unless explicitly overridden. This is somewhat complicated by the >> situation given with >> DISPLAY=:0.0 emacs -nw >> In this case, I would still want to export :0.0 to subprocesses, and >> in the case >> DISPLAY=:0.0 emacs -nw -display :1.0 >> I would suggest a non-graphical instance of Emacs exporting a DISPLAY >> variable of :1.0. > I do not feel this is a particularly important issue, but sure. Do > people use -display often? I usually simply change DISPLAY directly. I use make-frame-on-display, and in this case it's a lot more important. > But if that's really the case, we can still make `process-environment' > have a terminal-local binding (with, I assume, DEFVAR_KBOARD), and have > all existing third-party Elisp code continue to work without changes. I'm not sure I understand: wouldn't this choice break the mentioned AUCTeX code, then? Also, while I'm here, why do you use frame-local bindings rather than terminal-local bindings (maybe via a new terminal-local variable `local-process-environment')? Stefan