emacs-devel
[Top][All Lists]
Advanced

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

Re: VC to bind coding-system while invoking Git


From: Eli Zaretskii
Subject: Re: VC to bind coding-system while invoking Git
Date: Fri, 21 Nov 2014 12:29:35 +0200

> Date: Mon, 17 Nov 2014 21:01:59 +0200
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden
> 
> > From: Andreas Schwab <address@hidden>
> > Cc: address@hidden
> > Date: Mon, 17 Nov 2014 18:47:24 +0100
> > 
> > Eli Zaretskii <address@hidden> writes:
> > 
> > > vc-git-command should bind coding-system-for-read/write to the value
> > > of vc-git-commits-coding-system (utf-8 by default).  Currently, we
> > > only do that for a handful of Git commands, which is inconsistent.
> > > The result is, for example, that typing RET in a *vc-change-log*
> > > buffer might show the non-ASCII characters incorrectly if the default
> > > for process-coding-system is not UTF-8.
> > 
> > It should also take i18n.commitEncoding and i18n.logOutputEncoding into
> > account.
> 
> Any better way than to run "git config" querying about these 2 before
> every git command?

I pushed a simple change to emacs-24 that just binds the encoding to
vc-git-commits-coding-system.  I will work on a more complex solution
for the trunk.



reply via email to

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