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: Sat, 9 Apr 2016 17:14:07 +0300 Message-ID: <57090E2F.4020702@gmail.com> References: <56EFE033.7080900@gmail.com> <56F04527.6010901@gmail.com> <83fuv4s4cr.fsf@gnu.org> <57017E45.7050605@gmail.com> <83pou5o0uh.fsf@gnu.org> <5708F5CA.3080509@gmail.com> <83egafhrpf.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1460211317 22809 80.91.229.3 (9 Apr 2016 14:15:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Apr 2016 14:15:17 +0000 (UTC) Cc: 23076@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 09 16:15:16 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 1aotfL-00036Y-5M for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Apr 2016 16:15:11 +0200 Original-Received: from localhost ([::1]:60446 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aotfK-0003WH-HO for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Apr 2016 10:15:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56435) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aotfG-0003T0-SQ for bug-gnu-emacs@gnu.org; Sat, 09 Apr 2016 10:15:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aotfC-0002i0-Ri for bug-gnu-emacs@gnu.org; Sat, 09 Apr 2016 10:15:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43854) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aotfC-0002hw-Nr for bug-gnu-emacs@gnu.org; Sat, 09 Apr 2016 10:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1aotfC-0006f8-IH for bug-gnu-emacs@gnu.org; Sat, 09 Apr 2016 10:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Nikolay Kudryavtsev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Apr 2016 14:15: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.146021125725539 (code B ref 23076); Sat, 09 Apr 2016 14:15:02 +0000 Original-Received: (at 23076) by debbugs.gnu.org; 9 Apr 2016 14:14:17 +0000 Original-Received: from localhost ([127.0.0.1]:56191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aoteT-0006dq-9O for submit@debbugs.gnu.org; Sat, 09 Apr 2016 10:14:17 -0400 Original-Received: from mail-lf0-f48.google.com ([209.85.215.48]:32939) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aoteS-0006dd-3m for 23076@debbugs.gnu.org; Sat, 09 Apr 2016 10:14:16 -0400 Original-Received: by mail-lf0-f48.google.com with SMTP id e190so106188944lfe.0 for <23076@debbugs.gnu.org>; Sat, 09 Apr 2016 07:14:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:subject:to:references:cc:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=ww3SS2EKO9pTQVURE5lPTx9s5Kr8Ck1VvJ6G7yI+PqY=; b=dv/gz1gBcU7R48qayGFLIfEQPR5RelCksQ1536HIKrtDU13fJzzIunSVAVWrJ16NKv w/uWzVN/VbKj9bOMWHllqKE+nR/Ngk5X4wa3b+tCLyxeEOedVUeu/eJXiIhAcUXsrPJR 7+18lkJ+aInv5BX99/jF4xPH9GR7vqlsb0ZRT+Ex0yND/5TzMY6eubp3m4vdsr7hRmva nt6nU2suCMRzRV7yKsZUxhtfZ6kn0sil/H92MQwNA/E7nLl69H4EKLn7pZv6NnbwVyQC oGLg17L6VxkmKY/xE7oQdcuMylF42jTQguu6cFpBa0jwJhimTbXIhGF7yAGV+AWNmeT0 qaRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:subject:to:references:cc:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=ww3SS2EKO9pTQVURE5lPTx9s5Kr8Ck1VvJ6G7yI+PqY=; b=F5rB3GYLTgbKeAxgP/zUQWsiglsiLqhzZOOWQyzY2DsVGViv7TdBrL50RbjG8ggtxv QwFPhvRuiYTXpDQgI0Hy0hNgls4wjQODmmlA0n13ssouFFQsSOrkGaohORBTVdL8dhmi RxBg+Po+Q7z3zT2AL2Oo/j3XQJ8GdOD3FIswBXHpKpnRRUh9zTvto+5oG871687THKdr 6kJFBetAFO6ZH/8+XfX842IyEsq5YOTlMpuHgHejuoYgIWPL28Oo7oKFi9bD6JIP6l1e PU42ykHHScqLhF/LpqHjbxTX2brAWnZpgeD7/fPpPiQpPCa9X1iwHsThEsN4egNhM4/S S/cQ== X-Gm-Message-State: AD7BkJLkvbV7ZzSpXOyNc+mg00U9/7I8fDMcJoBpkSDlOTBB2pzXq0r5jwOcjREuHnlFJw== X-Received: by 10.25.166.65 with SMTP id p62mr6070911lfe.51.1460211250053; Sat, 09 Apr 2016 07:14:10 -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 rk1sm2812899lbb.0.2016.04.09.07.14.08 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 09 Apr 2016 07:14:09 -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.7.2 In-Reply-To: <83egafhrpf.fsf@gnu.org> 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" Xref: news.gmane.org gmane.emacs.bugs:116276 Archived-At: Ok, I was actually wrong in my last message, that file with commit message should always be in the same encoding as git commitencoding. There's no weirdness. > How can it break someone's setup, if using the current system codepage > is the_only_ way of invoking programs from Emacs on MS-Windows? Download this: https://github.com/msysgit/msysgit/releases/download/Git-1.7.9-preview20120201/PortableGit-1.7.9-preview20120201.7z Then, from emacs -Q: (setq vc-git-program "d:/Downloads/PortableGit/bin/git.exe") Note that the git is used from bin, and not from cmd. Russian commits do work with this version, when vc-git-commits-coding system is utf-8. That's why I kept blaming git. So we can define breaking someone's setup - if that someone uses this old git version, forcing windows-1251 would break his setup. 1.7.9 is the last working version. > Am I missing something? No, I just provided a practical example of: > The 2nd solution is somewhat slower, but it is better, because it will > allow to write log messages using any characters, not just those > representable in the current codepage In the end, of course I like solution #2. -- Best Regards, Nikolay Kudryavtsev