From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nikolay Kudryavtsev Newsgroups: gmane.emacs.bugs Subject: bug#23076: 24.5; vc-git: add a new variable for log output coding system Date: Mon, 21 Mar 2016 22:01:59 +0300 Message-ID: <56F04527.6010901@gmail.com> References: <56EFE033.7080900@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1458587003 9475 80.91.229.3 (21 Mar 2016 19:03:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Mar 2016 19:03:23 +0000 (UTC) To: 23076@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 21 20:03:13 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ai56f-0008Nz-34 for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Mar 2016 20:03:13 +0100 Original-Received: from localhost ([::1]:59821 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ai56e-0008Gq-1m for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Mar 2016 15:03:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52335) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ai56X-0008FD-Kj for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2016 15:03:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ai56U-0001uJ-Em for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2016 15:03:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60171) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ai56U-0001uE-AH for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2016 15:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ai56U-0004c7-3s for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2016 15:03:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <56EFE033.7080900@gmail.com> Resent-From: Nikolay Kudryavtsev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Mar 2016 19:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23076 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23076-submit@debbugs.gnu.org id=B23076.145858694317690 (code B ref 23076); Mon, 21 Mar 2016 19:03:02 +0000 Original-Received: (at 23076) by debbugs.gnu.org; 21 Mar 2016 19:02:23 +0000 Original-Received: from localhost ([127.0.0.1]:57298 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ai55r-0004bG-K9 for submit@debbugs.gnu.org; Mon, 21 Mar 2016 15:02:23 -0400 Original-Received: from mail-lb0-f193.google.com ([209.85.217.193]:34476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ai55q-0004b2-5D for 23076@debbugs.gnu.org; Mon, 21 Mar 2016 15:02:22 -0400 Original-Received: by mail-lb0-f193.google.com with SMTP id vk4so11673455lbb.1 for <23076@debbugs.gnu.org>; Mon, 21 Mar 2016 12:02:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=44dm/YeeO6qC3LciqdKP38jIIvJyWMg9zF+hffnPkQY=; b=J1hB+fyql74/XNJau+4hcOrw2j3mIW1LgJGkseF9o+T3aa1ZlFaTfnIEqAUOUTU5sr 6hvnfb6wS38B6UFO9EopeJMZfeGzqDPq/BYDu+7jVFV/Fbuq7Y5QrJJendRkf2sb3Azz 8PDdz6h0jBnJxbWVkHBMORQzqf9IxySVUnHvyJTeELZZIxmjjBZyQafqlIHupgGTbW8u UP50UI4bWfojika2uVFvkaPkyWfoOzKiKO3YXKrcW6v/Uyc1OWPNPZ2uTAb0MNsYBooG 5gEde0R+LKhLUZr5lM8Xo5mgBN8r0G8mSXLBSnlIb+Y4urSc4XTTQXi120Xjodj69M9P abnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=44dm/YeeO6qC3LciqdKP38jIIvJyWMg9zF+hffnPkQY=; b=YY/QvYif5Lkn688HsX+uSAFvupY58qZDRkBUkq2jLEGKbUzy9wP8qtyc8Dw/bRenFZ Ch5c2J63AQvWBXgYDPdaYc//fg0hJEnpAbf7FjWEJkTB/gB0F/CArlY9B9eeYTWYRhn9 k4E3JFguA9WMMuD4EGvLN9xEB3KWihXHTBTxm461NIMaPFKFqJXaf2O587O1nNx2djNc xULNMzeODwMHLtf45IhsKmAKQI/XoUYWt7PppCfoyCe6bnRTeM/5GXoee8B9N175ACSH GpNeGp+VyclSihHFqu41n6FJbG6QvE1ajgZ69n1G/BwrPPxKzSbIlAt5nup4uYQVc+Xr DXKg== X-Gm-Message-State: AD7BkJJZhLKfURbo/owOfBNYxHurN/ubI4NGJ6H5LEcwoELWYHMbPBXmQY4Lkdc9udoXUA== X-Received: by 10.112.166.3 with SMTP id zc3mr9368890lbb.129.1458586936305; Mon, 21 Mar 2016 12:02:16 -0700 (PDT) Original-Received: from [192.168.199.2] (broadband-95-84-209-126.nationalcablenetworks.ru. [95.84.209.126]) by smtp.gmail.com with ESMTPSA id y3sm4562788lbk.40.2016.03.21.12.02.15 for <23076@debbugs.gnu.org> (version=TLSv1/SSLv3 cipher=OTHER); Mon, 21 Mar 2016 12:02:15 -0700 (PDT) X-Google-Original-From: Nikolay Kudryavtsev User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:115260 Archived-At: Since I did this for the other one, here are more detailed steps on how to repeat this: 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. 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. The same should be true for other non-latin alphabets. -- Best Regards, Nikolay Kudryavtsev