From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Davis Herring" Newsgroups: gmane.emacs.devel Subject: Re: patch for emacsclient to support GNU_NODE Date: Fri, 26 Feb 2010 14:57:49 -0800 (PST) Message-ID: <56906.130.55.118.19.1267225069.squirrel@webmail.lanl.gov> References: <640a924a1002252258j57a6f80br9c54f9c31522f5a4@mail.gmail.com> <20100226140145.GA1520@tomas> <49436.130.55.132.103.1267194395.squirrel@webmail.lanl.gov> <640a924a1002261437k31bcb3b6tecb3bca67294c04f@mail.gmail.com> Reply-To: herring@lanl.gov NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1267225088 25953 80.91.229.12 (26 Feb 2010 22:58:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 26 Feb 2010 22:58:08 +0000 (UTC) Cc: tomas@tuxteam.de, emacs-devel@gnu.org To: "Hugh Holbrook" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 26 23:58:03 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 1Nl98E-0003NF-Pw for ged-emacs-devel@m.gmane.org; Fri, 26 Feb 2010 23:58:03 +0100 Original-Received: from localhost ([127.0.0.1]:47690 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nl98E-0001bZ-A1 for ged-emacs-devel@m.gmane.org; Fri, 26 Feb 2010 17:58:02 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nl989-0001bG-J9 for emacs-devel@gnu.org; Fri, 26 Feb 2010 17:57:57 -0500 Original-Received: from [140.186.70.92] (port=40268 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nl988-0001b6-On for emacs-devel@gnu.org; Fri, 26 Feb 2010 17:57:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nl988-0006f8-6r for emacs-devel@gnu.org; Fri, 26 Feb 2010 17:57:56 -0500 Original-Received: from proofpoint2.lanl.gov ([204.121.3.26]:57813) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nl987-0006ez-TM for emacs-devel@gnu.org; Fri, 26 Feb 2010 17:57:56 -0500 Original-Received: from mailrelay2.lanl.gov (mailrelay2.lanl.gov [128.165.4.103]) by proofpoint2.lanl.gov (8.14.3/8.14.3) with ESMTP id o1QMvn0T019268; Fri, 26 Feb 2010 15:57:50 -0700 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by mailrelay2.lanl.gov (Postfix) with ESMTP id D92D215FC8DD; Fri, 26 Feb 2010 15:57:49 -0700 (MST) X-NIE-2-Virus-Scanner: amavisd-new at mailrelay2.lanl.gov Original-Received: from webmail1.lanl.gov (webmail1.lanl.gov [128.165.4.106]) by mailrelay2.lanl.gov (Postfix) with ESMTP id C62CF15FC8DC; Fri, 26 Feb 2010 15:57:49 -0700 (MST) Original-Received: by webmail1.lanl.gov (Postfix, from userid 48) id C4AC0450001; Fri, 26 Feb 2010 15:57:49 -0700 (MST) Original-Received: from 130.55.118.19 (SquirrelMail authenticated user 196434) by webmail.lanl.gov with HTTP; Fri, 26 Feb 2010 14:57:49 -0800 (PST) In-Reply-To: <640a924a1002261437k31bcb3b6tecb3bca67294c04f@mail.gmail.com> User-Agent: SquirrelMail/1.4.8-5.7.lanl7 X-Priority: 3 (Normal) Importance: Normal X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5, 1.2.40, 4.0.166 definitions=2010-02-26_14:2010-02-06, 2010-02-26, 2010-02-26 signatures=0 X-detected-operating-system: by eggs.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:121409 Archived-At: > Yes, precisely. So for example, a file that is called /tmp/foobar by > the emacsclient process might be reachable using NFS as > /net/myhost/tmp/foobar on the host where emacs is running. You would > set GNU_NODE to /net/myhost in this case. In my experience it's more common for individual directories to be exported, and then (often) mounted at a mount point that doesn't contain the name of the exported directory as a suffix. Your code could handle just /home being exported and mounted as /net/fileserver/home, but wouldn't help if it were mounted as /nethome/fileserver. Why not (perhaps in addition to the GNU_NODE support, which I understand is for compatibility) allow some setting (be it an environment variable or otherwise) that contains pairs of directory names, so that you could set EMACSCLIENT_REMAP=/home:/nethome/fileserver:/var/tmp:/scratch and support arbitrary mappings? Davis -- This product is sold by volume, not by mass. If it appears too dense or too sparse, it is because mass-energy conversion has occurred during shipping.