From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?K=E1roly_Lo=22rentey?= Newsgroups: gmane.emacs.devel Subject: Re: Multi-tty design (Re: Reordering etc/NEWS) Date: Thu, 17 May 2007 16:35:06 +0200 Message-ID: <464C681A.90604@lorentey.hu> References: <85d5144p78.fsf@lola.goethe.zz> <200705131822.l4DIMtXt019128@oogie-boogie.ics.uci.edu> <85abw8o51q.fsf@lola.goethe.zz> <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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0406710304==" X-Trace: sea.gmane.org 1179412555 32763 80.91.229.12 (17 May 2007 14:35:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 17 May 2007 14:35:55 +0000 (UTC) Cc: Andreas Schwab , Dan Nicolaescu , joakim@verona.se, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 17 16:35:54 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 1Hoh57-0005B6-AO for ged-emacs-devel@m.gmane.org; Thu, 17 May 2007 16:35:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HohDD-0004yY-HM for ged-emacs-devel@m.gmane.org; Thu, 17 May 2007 10:44:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HohCe-0004ku-7y for emacs-devel@gnu.org; Thu, 17 May 2007 10:43:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HohCb-0004jx-UZ for emacs-devel@gnu.org; Thu, 17 May 2007 10:43:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HohCb-0004js-H2 for emacs-devel@gnu.org; Thu, 17 May 2007 10:43:37 -0400 Original-Received: from ninsei.hu ([212.92.23.158]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hoh4U-0006Mi-6S for emacs-devel@gnu.org; Thu, 17 May 2007 10:35:14 -0400 Original-Received: from [192.168.36.9] (ns.netvisor.hu [195.228.79.242]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by chatsubo.ninsei.hu (Postfix) with ESMTP id 3D4D978F2; Thu, 17 May 2007 16:35:13 +0200 (CEST) User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) Original-Newsgroups: gmane.emacs.devel In-Reply-To: X-Enigmail-Version: 0.95.0 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:71251 Archived-At: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============0406710304== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig6883FF9278D9ACBE96D4F66E" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6883FF9278D9ACBE96D4F66E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Stefan Monnier wrote: >> - At least some environment variables _must_ behave locally; if not >> client-locally, then at least terminal-locally. DISPLAY is perhaps= >> the most obvious example. X clients such as xdvi started from Emac= s >> must appear on the display the user currently works on. >=20 > Actually, the DISPLAY environment should behave that way even without t= he > use of emacsclient (when you use make-frame-on-display). Hm, this is a good point. >> This is an important feature for multi-tty users and I would like >> to keep it supported. Similar variables include SSH_AUTH_SOCK, >> GPG_AGENT_INFO, AGENT_SOCKET, LANG, LC_*, and basically anything >> that may be different from login session to login session. >=20 > I don't think the vars you list are particularly important. Which vers= ion > of those vars to use (the one from the emacsclient process or from the = main > Emacs process) may depend from case to case. So either choice is > probably OK. Well, I do agree that having a local DISPLAY is the essential feature her= e. > I tend to think of emacsclient as "connect to the main Emacs process", = so > I tend to expect it to work in the environment of the main Emacs proces= s. > You seem to think of it as "pretend you're a normal Emacs process, just= > quick-started", so you expect a slightly different behavior. The new emacsclient behaviour does make it easy to forget that you are connecting to a separate Emacs process that runs in the background, particularly when the main Emacs is not visible. But I feel both viewpoints can be catered for; "emacsclient --current-frame" reverts to Emacs 22 behaviour, and should not touch the environment. >> - Furthermore, to me it seems more consistent to have all >> environment variables be local than just a select few of them. >=20 > I don't find it important, but it doesn't seem to be bad either. So I'= d > leave it as a choice that can be determined by the implementation. OK. --=20 K=E1roly --------------enig6883FF9278D9ACBE96D4F66E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGTGgd6eoyqA+yej8RAtS8AJ9DpGZbLBuryP4eps/EcFGvPyVLYACdFJMD pv8am2ATKu7VQKRjrUjYxLw= =jCTU -----END PGP SIGNATURE----- --------------enig6883FF9278D9ACBE96D4F66E-- --===============0406710304== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --===============0406710304==--