|
From: | GNU bug Tracking System |
Subject: | [debbugs-tracker] bug#23076: closed (24.5; vc-git: add a new variable for log output coding system) |
Date: | Tue, 12 Apr 2016 15:24:01 +0000 |
Your message dated Tue, 12 Apr 2016 18:22:58 +0300 with message-id <address@hidden> and subject line Re: bug#23076: 24.5; vc-git: add a new variable for log output coding system has caused the debbugs.gnu.org bug report #23076, regarding 24.5; vc-git: add a new variable for log output coding system to be marked as done. (If you believe you have received this mail in error, please contact address@hidden) -- 23076: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23076 GNU Bug Tracking System Contact address@hidden with problems
--- Begin Message ---Subject: 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
--- End Message ---
--- Begin Message ---Subject: Re: bug#23076: 24.5; vc-git: add a new variable for log output coding system Date: Tue, 12 Apr 2016 18:22:58 +0300 > From: Nikolay Kudryavtsev <address@hidden> > Cc: address@hidden > Date: Tue, 12 Apr 2016 18:07:30 +0300 > > After testing the latest Emacs 25 dev branch, I can confirm that this > bug is fixed. > > Commit messages are displayed correctly as long as they were committed > with the same value of commitEncoding. > > Eli, thanks for all your help. Thanks, closing.
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |