From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hugh Holbrook Newsgroups: gmane.emacs.devel Subject: Re: patch for emacsclient to support GNU_NODE Date: Sat, 27 Feb 2010 20:37:44 -0800 Message-ID: <640a924a1002272037s9252c71ha832a76fd5f9a222@mail.gmail.com> References: <640a924a1002252258j57a6f80br9c54f9c31522f5a4@mail.gmail.com> <20100226140145.GA1520@tomas> <49436.130.55.132.103.1267194395.squirrel@webmail.lanl.gov> <640a924a1002261437k31bcb3b6tecb3bca67294c04f@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001636b144b99b5f4f0480a1b19f X-Trace: dough.gmane.org 1267373844 8249 80.91.229.12 (28 Feb 2010 16:17:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 28 Feb 2010 16:17:24 +0000 (UTC) Cc: tomas@tuxteam.de, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 28 17:17:20 2010 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.69) (envelope-from ) id 1NllpW-0002fJ-DU for ged-emacs-devel@m.gmane.org; Sun, 28 Feb 2010 17:17:18 +0100 Original-Received: from localhost ([127.0.0.1]:37863 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NllpV-0003Fm-HQ for ged-emacs-devel@m.gmane.org; Sun, 28 Feb 2010 11:17:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nlaua-0001ii-M1 for emacs-devel@gnu.org; Sat, 27 Feb 2010 23:37:48 -0500 Original-Received: from [140.186.70.92] (port=34268 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NlauZ-0001iF-Q0 for emacs-devel@gnu.org; Sat, 27 Feb 2010 23:37:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NlauY-0002hR-OU for emacs-devel@gnu.org; Sat, 27 Feb 2010 23:37:47 -0500 Original-Received: from mail-vw0-f41.google.com ([209.85.212.41]:64651) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NlauY-0002hN-Es for emacs-devel@gnu.org; Sat, 27 Feb 2010 23:37:46 -0500 Original-Received: by vws8 with SMTP id 8so93134vws.0 for ; Sat, 27 Feb 2010 20:37:44 -0800 (PST) Original-Received: by 10.220.121.229 with SMTP id i37mr961547vcr.114.1267331864681; Sat, 27 Feb 2010 20:37:44 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Sun, 28 Feb 2010 11:17:12 -0500 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:121469 Archived-At: --001636b144b99b5f4f0480a1b19f Content-Type: text/plain; charset=ISO-8859-1 On Sat, Feb 27, 2010 at 6:29 AM, Stefan Monnier wrote: > > GNU_NODE_EXCLUDE is useful if some directory is mounted with the same... > > Could you point to some origin for this mechanism? > Googling only seems to point to this current thread and to some > gnuclient stuff. I was not aware of any other documentation than this, but searching google groups turned up this link: http://groups.google.com/group/gnu.emacs/browse_thread/thread/dcb0343a012b69dc/86931742d045b117?q=GNU_NODE#86931742d045b117 to a posting from 1989 that is, I believe, the origin of the implementation in xemacs. My understanding is that gnuclient uses four environment variables to control the way that it connects to the server: GNU_PORT and GNU_HOST to identify the location of the server GNU_SECURE for authorization GNU_NODE (as described in this thread). As you probably know, emacsclient is different in that it uses a single file in .emacs.d/server to identify the server's location, and for authorization, I believe. On my machine this file looks like this: 127.0.0.1:41055 15289 R`HIRQ;aQxEG.U7.u.VExqpQLga@4kL4h_xH|'n1",)SBf:1 a convention? > I think so. I'm not aware of any other program that uses GNU_NODE in this (or any other) way. The idea and the environment variable name were entirely inspired by gnuclient in my case. GNU_NODE_EXCLUDE is, to my knowledge, a new extension. -Hugh > Stefan > --001636b144b99b5f4f0480a1b19f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Sat, Feb 27, 2010 at 6:29 AM, Stefan Monnier <<= a href=3D"mailto:monnier@iro.umontreal.ca">monnier@iro.umontreal.ca>= wrote:
> GNU_NODE_EXCLUDE is useful if some directory is mounted with the same.= ..

Could you point to some origin for this mechanism?
Googling only seems to point to this current thread and to some
gnuclient stuff. =A0

I was not aware of any= other documentation than this, but searching google groups turned up this = link:

http://groups.google.com/group/gnu.emacs/browse_thread/t= hread/dcb0343a012b69dc/86931742d045b117?q=3DGNU_NODE#86931742d045b117
=A0
to a posting from 1989 that is, I believe, the origin of= the implementation in xemacs.

My understanding is= that gnuclient uses four environment variables to control the way that it = connects to the server:

GNU_PORT and GNU_HOST to identify the location of the s= erver
GNU_SECURE for authorization
GNU_NODE (as describ= ed in this thread).

As you probably know, emacscli= ent is different in that it uses a single file in .emacs.d/server to identi= fy the server's location, and for authorization, I believe.

On my machine this file looks like this:

=
<= div> 127.0.0.1:41055 15289
R`HIRQ;aQxEG.U7.u.VExqpQLga@4kL4h_x= H|'n1",)SBf:1<Cu('ad1kIi1=3DyqZ

I considered using a more de= scriptive name than GNU_NODE (EMACSCLIENT_PREFIX?) but ended up with GNU_NO= DE just for compatibility, although given all the other differences the com= patibility argument for doing things this way is not very strong.

Is gnuclient the only other = program using such
a convention?

I think so. =A0I'm not aware of any other program that uses GNU_N= ODE in this (or any other) way. =A0The idea and the environment variable na= me were entirely inspired by gnuclient in my case. =A0GNU_NODE_EXCLUDE is, = to my knowledge, a new extension.
=A0
-Hugh


=A0 =A0 =A0 =A0Stefan

--001636b144b99b5f4f0480a1b19f--