<[EMAIL PROTECTED]> writes:

> What do you think about this function for testing if rep. is remote or not:
>
> (defun ecb-vc-cvs-root-remote-p (root)
>   (if (string-match "^:local:" root)
>       nil
>     (and (string-match "^\\(:ext:\\|:server:\\)?\\([EMAIL 
> PROTECTED]@\\)?\\([^:]+\\):"
>                        root)
>          (match-string 3 root))))
>
> Can you please test this a little bit - if it is ok, i would add this
> for the next ECB-release...

Yes, that works for a reasonable sample of my CVS Root files.

> Thanks a lot!

You're welcome, but mostly thank _you_ for prompt and helpful replies,
to say nothing of ecb in the first place!

ht
-- 
 Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                     Half-time member of W3C Team
    2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
            Fax: (44) 131 650-4587, e-mail: [EMAIL PROTECTED]
                   URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]

Reply via email to