[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: commit in same coding the buffer
From: |
Kevin Rodgers |
Subject: |
Re: commit in same coding the buffer |
Date: |
Mon, 19 Sep 2005 09:22:45 -0600 |
User-agent: |
Mozilla Thunderbird 0.9 (X11/20041105) |
Étienne Bersac wrote:
> I'm on a utf-8 environment. I have some project which require latin-1.
> I'm able to set the file-coding-sytem per directory with
> modify-coding-system-alist, but when i commit with vc, the comment is
> in utf-8, not in latin1. How to change this behaviour in order to
> commit in the same coding-system than the buffer.
I think you should report that as a bug.
> I try to modify vc-start-entry in vc.el, but i don't know how to get
> the parent coding sytem.
>
> is a function (get-buffer-coding-sytem (buffer)) defined ? No ! But how
> to get this info ???
Just a guess:
(with-current-buffer vc-parent-buffer
buffer-file-coding-system)
--
Kevin Rodgers