bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#23076: 24.5; vc-git: add a new variable for log output coding system


From: Nikolay Kudryavtsev
Subject: bug#23076: 24.5; vc-git: add a new variable for log output coding system
Date: Mon, 21 Mar 2016 14:51:15 +0300
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

This is a feature request that depends on resolution of 23075.

Git for windows expects one coding system for log input, but returns a different one in log output.

In my specific example, with Russian language, I have to set up vc-git-commits-coding-system to windows-1251. But then, log output would still be in utf-8. Of course I can change this by setting git variable logoutputencoding, but this would screw up command line git log output. See this thread on help-gnu-emacs and this thread on Git for Windows google group for more details.

So, I propose adding another variable called vc-git-log-output-coding-system, that would serve as emacs counterpart to git's logoutputencoding, just as vc-git-commits-coding-system serves a counterpart to commitencoding.

When and if 23075 is fixed we can just set coding-system-for-read to this new variable(whenever it's set) in vc-git-print-log.
-- 
Best Regards,
Nikolay Kudryavtsev

reply via email to

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