From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.bugs Subject: bug#6704: 23.2; Rename git-commits-coding-system to vc-git-commits-coding-system Date: Thu, 22 Jul 2010 11:41:42 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1279796469 23974 80.91.229.12 (22 Jul 2010 11:01:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 22 Jul 2010 11:01:09 +0000 (UTC) To: 6704@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 22 13:01:08 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ObtWR-0000fE-3t for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Jul 2010 13:01:07 +0200 Original-Received: from localhost ([127.0.0.1]:45454 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObtWO-0006vV-Bw for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Jul 2010 07:01:00 -0400 Original-Received: from [140.186.70.92] (port=47080 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObtWF-0006us-Tt for bug-gnu-emacs@gnu.org; Thu, 22 Jul 2010 07:00:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ObtW9-00031V-Vq for bug-gnu-emacs@gnu.org; Thu, 22 Jul 2010 07:00:47 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36122) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObtW9-00031R-Tp for bug-gnu-emacs@gnu.org; Thu, 22 Jul 2010 07:00:45 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1ObtQc-00067s-F6; Thu, 22 Jul 2010 06:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Leo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Jul 2010 10:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6704 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.127979607523533 (code B ref -1); Thu, 22 Jul 2010 10:55:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Jul 2010 10:54:35 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObtQA-00067V-TP for submit@debbugs.gnu.org; Thu, 22 Jul 2010 06:54:35 -0400 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObtQ8-00067P-H2 for submit@debbugs.gnu.org; Thu, 22 Jul 2010 06:54:33 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:33284) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1ObtQa-0000Zq-VB for submit@debbugs.gnu.org; Thu, 22 Jul 2010 06:55:01 -0400 Original-Received: from [140.186.70.92] (port=59479 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObtQY-0003f8-Ob for bug-gnu-emacs@gnu.org; Thu, 22 Jul 2010 06:54:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ObtDl-0008Ju-Eo for bug-gnu-emacs@gnu.org; Thu, 22 Jul 2010 06:41:46 -0400 Original-Received: from ppsw-32.csi.cam.ac.uk ([131.111.8.132]:40121) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObtDl-0008Jn-8k for bug-gnu-emacs@gnu.org; Thu, 22 Jul 2010 06:41:45 -0400 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Original-Received: from cpc1-cmbg13-0-0-cust596.cmbg.cable.ntl.com ([86.9.122.85]:52912 helo=Victoria.local) by ppsw-32.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.158]:587) with esmtpsa (PLAIN:sl392) (TLSv1:DHE-RSA-AES128-SHA:128) id 1ObtDj-0004I7-2e (Exim 4.72) for bug-gnu-emacs@gnu.org (return-path ); Thu, 22 Jul 2010 11:41:43 +0100 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 22 Jul 2010 06:55:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:38754 Archived-At: It seems git-commits-coding-system should be renamed as shown in the patch below. commit 148cbd7fed28b7f9d9017713bb35638a6ab5dd58 Date: Thu Jul 22 11:38:57 2010 +0100 Rename git-commits-coding-system to vc-git-commits-coding-system Modified lisp/vc-git.el diff --git a/lisp/vc-git.el b/lisp/vc-git.el index 24062a0..2361564 100644 --- a/lisp/vc-git.el +++ b/lisp/vc-git.el @@ -118,7 +118,7 @@ If nil, use the value of `vc-diff-switches'. If t, use no switches." :version "23.1" :group 'vc) -(defvar git-commits-coding-system 'utf-8 +(defvar vc-git-commits-coding-system 'utf-8 "Default coding system for git commits.") ;;; BACKEND PROPERTIES @@ -543,7 +543,7 @@ or an empty string if none." (defun vc-git-checkin (files rev comment) - (let ((coding-system-for-write git-commits-coding-system)) + (let ((coding-system-for-write vc-git-commits-coding-system)) (vc-git-command nil 0 files "commit" "-m" comment "--only" "--"))) @@ -580,7 +580,7 @@ or an empty string if none." "Get change log associated with FILES. Note that using SHORTLOG requires at least Git version 1.5.6, for the --graph option." - (let ((coding-system-for-read git-commits-coding-system)) + (let ((coding-system-for-read vc-git-commits-coding-system)) ;; `vc-do-command' creates the buffer, but we need it before running ;; the command. (vc-setup-buffer buffer)