tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp (2.1.16-pre); bad interaction with VC-mode?


From: Michael Albinus
Subject: Re: tramp (2.1.16-pre); bad interaction with VC-mode?
Date: Wed, 18 Aug 2010 06:09:04 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Dave Abrahams <address@hidden> writes:

>>>   
>>> vc-arch-mode-line-string("/scp:192.168.188.10:/export/home/vboxen/Public/dvd-installer.nsi.template")
>>
>> Obviously, rev is nil. It is computed via (vc-working-revision file),
>> which shall call (vc-arch-working-revision file) internally. No idea,
>> why it returns nil.
>>
>> It could still be Tramp, but maybe you ask the vc-arch wizards first.
>
> Maybe so, whoever they are :-)
>
> The odd thing is, there's no Arch repo in sight.

This is the problem. vc-registered has decided, that
"/scp:192.168.188.10:/export/home/vboxen/Public/dvd-installer.nsi.template"
belongs to an Arch repository. That's why the arch revision is computed
for the modeline, which fails.

You could workaround by removing Arch from vc-handled-backends.

Or you try to find out, why vc-registered believes you have an Arch
repository. It looks for a file "{arch}/=tagging-method" in the
directory tree of your file - does there exist such a file on your
remote host?

vc-registered is a magic file name function, Tramp has an own
implementation. Could you, please, start a fresh Emacs, set
tramp-verbose to 6, and reproduce the problem? Tramp's debug buffer
shall tell us, whether it is a Tramp problem, or something else.

> Emacs  : GNU Emacs 23.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.29)
>  of 2010-05-08 on black.local
> Package: tramp (2.1.16-pre)

Emacs 23.2 carries Tramp 2.1.18-23.2. Likely, you have an older Tramp
installation in the load-path, which is not necessary any longer.

Best regards, Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]