From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68176 Path: news.gmane.org!not-for-mail From: Michael Ekstrand Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: frame-environment Date: Sat, 17 Jan 2009 15:37:00 -0600 Message-ID: <87d4elfwcj.fsf@elehack.net> References: <87ocy596x4.fsf@cyd.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1232229042 10865 80.91.229.12 (17 Jan 2009 21:50:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 17 Jan 2009 21:50:42 +0000 (UTC) Cc: ding@gnus.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 17 22:51:52 2009 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 1LOJ4x-0004f8-6X for ged-emacs-devel@m.gmane.org; Sat, 17 Jan 2009 22:51:43 +0100 Original-Received: from localhost ([127.0.0.1]:53625 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LOJ3g-0000hV-9I for ged-emacs-devel@m.gmane.org; Sat, 17 Jan 2009 16:50:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LOJ3a-0000gn-VT for emacs-devel@gnu.org; Sat, 17 Jan 2009 16:50:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LOJ3a-0000gb-CS for emacs-devel@gnu.org; Sat, 17 Jan 2009 16:50:18 -0500 Original-Received: from [199.232.76.173] (port=53676 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LOJ3a-0000gY-7U for emacs-devel@gnu.org; Sat, 17 Jan 2009 16:50:18 -0500 Original-Received: from main.gmane.org ([80.91.229.2]:38611 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LOJ3Z-0007fN-NS for emacs-devel@gnu.org; Sat, 17 Jan 2009 16:50:17 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LOJ3V-0002Lt-VN for emacs-devel@gnu.org; Sat, 17 Jan 2009 21:50:14 +0000 Original-Received: from elehack.net ([216.243.177.100]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 17 Jan 2009 21:50:13 +0000 Original-Received: from michael by elehack.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 17 Jan 2009 21:50:13 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 62 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: elehack.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:Sk0VmtlMHELwi+I5TO9B+lDQMbQ= X-detected-operating-system: by monty-python.gnu.org: GNU/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:107945 gmane.emacs.gnus.general:68176 Archived-At: --=-=-= Content-Transfer-Encoding: quoted-printable Chong Yidong writes: > Eli Zaretskii writes: >> What's the story with this function? It doesn't exist, AFAICS, and >> its two uses (in `environment' and `read-envvar-name') are commented >> out. >> >> Without this function or something similar, the FRAME argument to >> `environment' has no effect. Unless this is for future extensions, >> I'd suggest to remove it now, before it's too late. > > It sounds like an un-implemented or abandoned part of multi-tty. If so, > it should certainly be removed. If this is removed rather than implemented, would that then mean that there is no way to access the varying environments of frames under multi-tty? I have encountered a difficulty with Gnus, multi-tty, and GnuPG that I have not yet taken time to investigate or do anything about; namely, when I launch Emacs in my GUI environment, it has access to gpg-agent. If I SSH in to that machine and connect to Emacs from the shell terminal session, and try to send a GPG-signed mail, it fails, presumably because it's trying to use the gpg-agent which is on a locked screen that I'm not in front of. It seems that this kind of functionality (sensing the environment of the current frame), possibly augmented or replaced with the ability to choose which Emacs process launches an inferior process, is necessary in order to provide a solution to the problem I have described. As I said, I have not taken the time to look in to this problem in depth yet; I've just been working around it. I just saw the message here and wanted to make sure that these considerations were brought to light when deciding what to do with this functionality -- when we have multiple processes (with multiple environments and differing access to resources) functioning as one Emacs, situations can arise where the environment of the process a user is using to initiate a command is important. I'm cross-posting this to the Gnus list so that the problem is now brought to light there as well. =2D Michael =2D-=20 mouse, n: A device for pointing at the xterm in which you want to type. Confused by the strange files? I cryptographically sign my messages. For more information see . --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAklyT4gACgkQJMBfXHjb5YWyRQCfTQh3Y+1crClo+hUZsdmHMq8l tHcAnjZBqPsUCmptBxhgCUHs+e9VRS3t =e8qh -----END PGP SIGNATURE----- --=-=-=--