From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: VC to bind coding-system while invoking Git Date: Mon, 17 Nov 2014 21:01:59 +0200 Message-ID: <831tp1bqhk.fsf@gnu.org> References: <83d28lbwkp.fsf@gnu.org> <87wq6t1zyr.fsf@igel.home> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1416250960 13762 80.91.229.3 (17 Nov 2014 19:02:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Nov 2014 19:02:40 +0000 (UTC) Cc: emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 17 20:02:32 2014 Return-path: Envelope-to: ged-emacs-devel@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 1XqRZI-0002yS-BJ for ged-emacs-devel@m.gmane.org; Mon, 17 Nov 2014 20:02:32 +0100 Original-Received: from localhost ([::1]:49757 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqRZH-0000Iz-Vq for ged-emacs-devel@m.gmane.org; Mon, 17 Nov 2014 14:02:31 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46683) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqRZ1-0000HH-1a for emacs-devel@gnu.org; Mon, 17 Nov 2014 14:02:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XqRYv-00055f-Ni for emacs-devel@gnu.org; Mon, 17 Nov 2014 14:02:14 -0500 Original-Received: from mtaout27.012.net.il ([80.179.55.183]:41433) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqRYv-00055Z-GJ for emacs-devel@gnu.org; Mon, 17 Nov 2014 14:02:09 -0500 Original-Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NF7005005VJD000@mtaout27.012.net.il> for emacs-devel@gnu.org; Mon, 17 Nov 2014 20:57:27 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NF70027P5ZRKA30@mtaout27.012.net.il>; Mon, 17 Nov 2014 20:57:27 +0200 (IST) In-reply-to: <87wq6t1zyr.fsf@igel.home> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.183 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:177478 Archived-At: > From: Andreas Schwab > Cc: emacs-devel@gnu.org > Date: Mon, 17 Nov 2014 18:47:24 +0100 > > Eli Zaretskii writes: > > > vc-git-command should bind coding-system-for-read/write to the value > > of vc-git-commits-coding-system (utf-8 by default). Currently, we > > only do that for a handful of Git commands, which is inconsistent. > > The result is, for example, that typing RET in a *vc-change-log* > > buffer might show the non-ASCII characters incorrectly if the default > > for process-coding-system is not UTF-8. > > It should also take i18n.commitEncoding and i18n.logOutputEncoding into > account. Any better way than to run "git config" querying about these 2 before every git command?