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

> 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.




  reply	other threads:[~2010-02-26 22:57 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
2010-02-26 22:57       ` Davis Herring [this message]
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=56906.130.55.118.19.1267225069.squirrel@webmail.lanl.gov \
    --to=herring@lanl.gov \
    --cc=emacs-devel@gnu.org \
    --cc=holbrook@aristanetworks.com \
    --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.