unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#23076: 24.5; vc-git: add a new variable for log output coding system
@ 2016-03-21 11:51 Nikolay Kudryavtsev
  2016-03-21 19:01 ` Nikolay Kudryavtsev
  0 siblings, 1 reply; 19+ messages in thread
From: Nikolay Kudryavtsev @ 2016-03-21 11:51 UTC (permalink / raw)
  To: 23076

[-- Attachment #1: Type: text/plain, Size: 1140 bytes --]

This is a feature request that depends on resolution of 23075 
<http://debbugs.gnu.org/cgi/bugreport.cgi?bug=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 
<https://lists.gnu.org/archive/html/help-gnu-emacs/2014-11/msg00426.html> and 
this thread on Git for Windows google group 
<https://groups.google.com/forum/#%21topic/msysgit/1YQKCNhWTqo> 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


[-- Attachment #2: Type: text/html, Size: 1498 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread
[parent not found: <acdfa136-1d37-a920-b572-fdd0f6e11257@gmail.com>]

end of thread, other threads:[~2016-08-07 12:08 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-21 11:51 bug#23076: 24.5; vc-git: add a new variable for log output coding system Nikolay Kudryavtsev
2016-03-21 19:01 ` Nikolay Kudryavtsev
2016-04-02 10:16   ` Eli Zaretskii
2016-04-03 20:34     ` Nikolay Kudryavtsev
2016-04-04 15:22       ` Eli Zaretskii
2016-04-08  8:23         ` Eli Zaretskii
2016-04-09 12:30         ` Nikolay Kudryavtsev
2016-04-09 12:50           ` Eli Zaretskii
2016-04-09 14:14             ` Nikolay Kudryavtsev
2016-04-09 14:48               ` Eli Zaretskii
2016-04-10 16:10                 ` Eli Zaretskii
2016-04-11 22:12                   ` Nikolay Kudryavtsev
2016-04-12 15:07                   ` Nikolay Kudryavtsev
2016-04-12 15:22                     ` Eli Zaretskii
     [not found] <acdfa136-1d37-a920-b572-fdd0f6e11257@gmail.com>
     [not found] ` <837fch1vmw.fsf@gnu.org>
2016-07-25 18:46   ` Nikolay Kudryavtsev
2016-07-25 19:10     ` Eli Zaretskii
2016-07-26 19:01       ` Michael Albinus
2016-07-27  2:36         ` Eli Zaretskii
2016-08-07 12:08     ` Michael Albinus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).