all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: schwab@linux-m68k.org
Cc: emacs-devel@gnu.org
Subject: Re: VC to bind coding-system while invoking Git
Date: Fri, 21 Nov 2014 12:29:35 +0200	[thread overview]
Message-ID: <83a93k4zjk.fsf@gnu.org> (raw)
In-Reply-To: <831tp1bqhk.fsf@gnu.org>

> Date: Mon, 17 Nov 2014 21:01:59 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: emacs-devel@gnu.org
> 
> > From: Andreas Schwab <schwab@linux-m68k.org>
> > Cc: emacs-devel@gnu.org
> > Date: Mon, 17 Nov 2014 18:47:24 +0100
> > 
> > Eli Zaretskii <eliz@gnu.org> 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?

I pushed a simple change to emacs-24 that just binds the encoding to
vc-git-commits-coding-system.  I will work on a more complex solution
for the trunk.



      reply	other threads:[~2014-11-21 10:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-17 16:50 VC to bind coding-system while invoking Git Eli Zaretskii
2014-11-17 17:47 ` Andreas Schwab
2014-11-17 19:01   ` Eli Zaretskii
2014-11-21 10:29     ` Eli Zaretskii [this message]

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=83a93k4zjk.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=schwab@linux-m68k.org \
    /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.