all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hugh Holbrook <holbrook@aristanetworks.com>
To: herring@lanl.gov
Cc: tomas@tuxteam.de, emacs-devel@gnu.org
Subject: Re: patch for emacsclient to support GNU_NODE
Date: Fri, 26 Feb 2010 14:37:14 -0800	[thread overview]
Message-ID: <640a924a1002261437k31bcb3b6tecb3bca67294c04f@mail.gmail.com> (raw)
In-Reply-To: <49436.130.55.132.103.1267194395.squirrel@webmail.lanl.gov>

On Fri, Feb 26, 2010 at 6:26 AM, Davis Herring <herring@lanl.gov> wrote:
>> Excuse my ignorance, but where could I look up what this is for?
>
> It just lets emacsclient send a directory name to Emacs that (on Emacs'
> machine) provides remote access to emacsclient's machine, so that Emacs
> can open files that emacsclient refers to it that are not reachable with
> just the literal filename given.  (Apparently it has to be to the root of
> that machine, since it's just prepended?)

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 use case, I am invoking emacsclient from within a chrooted shell
and using TCP to connect to an emacs process that is running on the
same host, but outside the chroot.  Every file in the chroot is
nameable in the root file system, but with a different path prefix.

GNU_NODE_EXCLUDE is useful if some directory is mounted with the same
path on both the client and server machine.  In my case, the home
directory is special-cased and appears as /home/username to both the
emacs and emacsclient process.

Hope that helps to explain why this is useful.

Thanks,

-Hugh

> Davis
>




  reply	other threads:[~2010-02-26 22:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-26  6:58 patch for emacsclient to support GNU_NODE Hugh Holbrook
2010-02-26 14:01 ` tomas
2010-02-26 14:26   ` Davis Herring
2010-02-26 22:37     ` Hugh Holbrook [this message]
2010-02-26 22:57       ` Davis Herring
2010-02-27  5:45       ` tomas
2010-02-27 14:29       ` Stefan Monnier
2010-02-28  4:37         ` Hugh Holbrook

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=640a924a1002261437k31bcb3b6tecb3bca67294c04f@mail.gmail.com \
    --to=holbrook@aristanetworks.com \
    --cc=emacs-devel@gnu.org \
    --cc=herring@lanl.gov \
    --cc=tomas@tuxteam.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.