[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23595: 25.1.50; file with chinese/japanse chars, vc-diff fails (HG,

From: Paul Eggert
Subject: bug#23595: 25.1.50; file with chinese/japanse chars, vc-diff fails (HG, Git, RCS)
Date: Tue, 24 May 2016 23:51:33 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0

Dmitry Gutov wrote:

- Shouldn't that change be in vc-coding-system-for-diff?
- It seems to try to fix a separate issue (whether all files use the same coding

Yes. For emacs-25 that's probably too much, as you suggest. So we can fix the problem in vc-coding-system-for-diff. Revised (more-conservative) patch attached.

- Like Eli pointed out, (coding-system-get coding-system-for-read
:ascii-compatible-p) should work about as well. Why doesn't it?

It doesn't work for EBCDIC.

As an aside, how did you manage to create a patch that's using tabs for
indentation, with indent-tabs-mode bound to nil in .dir-locals.el? That's

I override that setting, as I find it annoying in too many cases. It's just a minor annoyance, but there it is.

Attachment: 0001-Fix-vc-diff-problems-with-UTF-16.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]