From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Cyrillic VC Git commit messages
Date: Fri, 21 Nov 2014 10:41:24 +0200 [thread overview]
Message-ID: <83vbm93pzf.fsf@gnu.org> (raw)
In-Reply-To: <546EBFCE.5010602@gmail.com>
> From: Nikolay Kudryavtsev <nikolay.kudryavtsev@gmail.com>
> Date: Fri, 21 Nov 2014 07:30:06 +0300
>
> (setq vc-git-commits-coding-system 'windows-1251))
> And then in .gitconfig:
> [i18n]
> logoutputencoding = windows-1251
>
> This works fine inside of emacs, but totally breaks git log in windows
> cmd. For some reason git always expects windows-1251(system default) for
> input, but outputs windows-1252 to cmd.exe and utf-8 to emacs.
It's a missing feature in vc-git.el, see
http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg01274.html
and perhaps also a bug in git.
> So, did I miss something? Is there another way?
To work around, try this in your ~/.emacs:
(add-to-list process-coding-system-alist
'("[gG][iI][tT]" windows-1251 . utf-8))
next prev parent reply other threads:[~2014-11-21 8:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-21 4:30 Cyrillic VC Git commit messages Nikolay Kudryavtsev
2014-11-21 8:41 ` Eli Zaretskii [this message]
2014-11-21 13:21 ` Nikolay Kudryavtsev
2014-11-21 14:06 ` Eli Zaretskii
2014-11-21 14:38 ` Nikolay Kudryavtsev
2014-11-21 15:28 ` Eli Zaretskii
2014-11-21 16:48 ` Nikolay Kudryavtsev
2014-11-22 13:42 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83vbm93pzf.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.