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: Dave Abrahams
Subject: Re: tramp (2.1.16-pre); bad interaction with VC-mode?
Date: Tue, 17 Aug 2010 13:44:05 -0800

On Tue, Aug 17, 2010 at 11:39 AM, Michael Albinus
<address@hidden> wrote:
> David Abrahams <address@hidden> writes:
>
>> Not sure if this is really a TRAMP problem, but...
>>
>> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>>   string-match("\\`.*--\\(.*--.*\\)--\\(v?\\).*-\\([0-9]+\\)\\'" nil)
>>   
>> vc-arch-mode-line-string("/scp:192.168.188.10:/export/home/vboxen/Public/dvd-installer.nsi.template")
>
> vc-arch-mode-line-string has the following implementation:
>
> (defun vc-arch-mode-line-string (file)
>  "Return string for placement in modeline by `vc-mode-line' for FILE."
>  (let ((rev (vc-working-revision file)))
>    (dolist (rule vc-arch-mode-line-rewrite)
>      (if (string-match (car rule) rev)
>          (setq rev (replace-match (cdr rule) t nil rev))))
>    (format "Arch%c%s"
>            (case (vc-state file)
>              ((up-to-date needs-update) ?-)
>              (added ?@)
>              (t ?:))
>            rev)))
>
> 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.
>
> Best regards, Michael.

Maybe so, whoever they are :-)

The odd thing is, there's no Arch repo in sight.


-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com



reply via email to

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