From: Skip Montanaro <skip.montanaro@gmail.com>
To: Help GNU Emacs <help-gnu-emacs@gnu.org>
Subject: Enabling vc commands when visiting a remote file via Tramp?
Date: Mon, 18 Sep 2017 08:09:08 -0500 [thread overview]
Message-ID: <CANc-5Uwtzwf1U4Z+oOzkfTMh_O1+cURqyW33NhavKEbDB8jZBg@mail.gmail.com> (raw)
I'm doing development in a docker environment, and find it handy to
just visit files using Tramp instead of starting up a second Emacs
instance on my Docker machine (which is not my normal machine - not my
choice, nothing I can do about it). This works fine for the most part
(proper modes are displayed, for example), and the difference between
explicitly visiting a remote file (Tramp) vs implicitly visiting that
same file (NFS) isn't worth worrying about.
Still, version control detection and support appears to be
nonexistent by default. I see that vc-ignore-dir-regexp is set to some
inscrutable regular expression. That might, or might not, be the key.
Is there a known setting of that variable which will unlock the magic
of vc through Tramp?
Thx,
Skip Montanaro
next reply other threads:[~2017-09-18 13:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-18 13:09 Skip Montanaro [this message]
2017-09-18 13:55 ` Enabling vc commands when visiting a remote file via Tramp? Michael Albinus
2017-09-18 14:56 ` Skip Montanaro
2017-09-18 15:33 ` Michael Albinus
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=CANc-5Uwtzwf1U4Z+oOzkfTMh_O1+cURqyW33NhavKEbDB8jZBg@mail.gmail.com \
--to=skip.montanaro@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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.