[Top][All Lists]

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

Re: bad interaction with C-x RET c and vc-cvs-registered

From: Andre Spiegel
Subject: Re: bad interaction with C-x RET c and vc-cvs-registered
Date: 06 Apr 2003 14:36:40 +0200

> Date: Fri, 28 Mar 2003 11:30:05 +0900 (JST)
> From: Kenichi Handa <address@hidden>

> If we have a UTF-16 file in a CVS working directory, and
> visit that file by C-x RET c utf-16 C-x C-f FILENAME, vc-cvs
> doesn't detect that file is registered in CVS.
> This is because the function vc-cvs-registered is called
> while coding-system-for-read being bound to utf-16, so it
> reads the file "CVS/Entries" with utf-16 coding system (via
> vc-insert-file), thus can't find FILENAME in that file.

I've fixed this with a new local function in vc-cvs.el,
vc-cvs-get-entries, which uses the right coding system.  Other backends
(may) have different coding systems in their control files, so making
the change in vc-insert-file, as you wondered, would not be a possible

Thanks for pointing this out.

reply via email to

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