unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Sam Steingold <sds@gnu.org>
To: 18647@debbugs.gnu.org
Subject: bug#18647: 24.4.50; tramp: keep your hands off vc-handled-backends!
Date: Mon, 06 Oct 2014 21:49:51 -0400	[thread overview]
Message-ID: <m27g0clkcg.fsf@gnu.org> (raw)

Every now and then I get the error "file is not under version control"
because tramp removes stuff from `vc-handled-backends' when it cannot
detect the appropriate executable on the remote host.

There are two problems here: first, minor - this is global: if tramp
cannot find git on host X, I will not be able to use git on _any_ host
including localhost.

Second, critical - my laptop has internet connection only
intermittently, so whenever I lose connection, tramp cannot find git on
a remote host, and I have to re-add stuff to `vc-handled-backends'.

Proposal: remove the offending code in
tramp-sh.el:tramp-sh-handle-vc-registered.

Thanks!

In GNU Emacs 24.4.50.6 (x86_64-apple-darwin13.3.0, NS appkit-1265.21 Version 10.9.5 (Build 13F34))
 of 2014-09-22 on sds-MacBook-Pro.local
Windowing system distributor `Apple', version 10.3.1265
Configured using:
 `configure --with-ns'

Configured features:
IMAGEMAGICK ACL GNUTLS LIBXML2 ZLIB

Important settings:
  value of $LANG: C
  locale-coding-system: utf-8-unix

-- 
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1265
http://www.childpsy.net/ http://dhimmi.org http://memri.org
http://www.memritv.org http://camera.org http://iris.org.il
Warning! Dates in calendar are closer than they appear!





             reply	other threads:[~2014-10-07  1:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-07  1:49 Sam Steingold [this message]
2014-10-07  2:40 ` bug#18647: 24.4.50; tramp: keep your hands off vc-handled-backends! Glenn Morris

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=m27g0clkcg.fsf@gnu.org \
    --to=sds@gnu.org \
    --cc=18647@debbugs.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).