all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Nikolay Kudryavtsev <nikolay.kudryavtsev@gmail.com>
Cc: 23076@debbugs.gnu.org
Subject: bug#23076: 24.5; vc-git: add a new variable for log output coding system
Date: Sat, 02 Apr 2016 13:16:20 +0300	[thread overview]
Message-ID: <83fuv4s4cr.fsf@gnu.org> (raw)
In-Reply-To: <56F04527.6010901@gmail.com> (message from Nikolay Kudryavtsev on Mon, 21 Mar 2016 22:01:59 +0300)

> From: Nikolay Kudryavtsev <nikolay.kudryavtsev@gmail.com>
> Date: Mon, 21 Mar 2016 22:01:59 +0300
> 
> 1. (setq vc-git-commits-coding-system 'windows-1251)
> 2. Clone https://github.com/sg2002/vc-git-bugs
> 3. Run vc-log on it. This would give you broken output.
> 4. Evaluate the whole fix.el file from the repo.
> 5. Run vc-log again. Now you would get the proper "Русскоязычный 
> коммит." in it.

(By "vc-log", I presume you meant "C-x v l".  There's no vc-log
command, AFAICT.)

Please try the latest emacs-25 branch in the Emacs repository and tell
which problems for this bug remain.

I actually don't understand the reasons for the 1st step above: the
log message is reported by Git in UTF-8, so if I avoid the first step,
then step 3 produces the correct output.

> Adding a new variable is the only way to setup git with Russian commit 
> logs on Windows, while fulfilling all three of the following requirements:
> 1. Committing from Emacs in Russian should work.
> 2. vc-log should work in Emacs.
> 3. git log should work outside of Emacs.

So if any problems remain, they are either in

  1. Committing from Emacs in Russian should work.

or in

  3. git log should work outside of Emacs.

Please tell which one(s) of these don't work, and why.  I tried "git
log" outside of Emacs, and it produced UTF-8 output.  If it doesn't do
that for you, perhaps you've customized Git itself?  If so, what
happens if you remove that customization?

As for committing from Emacs in Russian, that should again work if you
use UTF-8, so I'm unsure what problems prevent you from having that.

Thanks.





  reply	other threads:[~2016-04-02 10:16 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

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=83fuv4s4cr.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=23076@debbugs.gnu.org \
    --cc=nikolay.kudryavtsev@gmail.com \
    /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.