bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#23075: 24.5; vc-git-command should use coding-system-for-read


From: Eli Zaretskii
Subject: bug#23075: 24.5; vc-git-command should use coding-system-for-read
Date: Mon, 21 Mar 2016 21:17:18 +0200

> From: Nikolay Kudryavtsev <nikolay.kudryavtsev@gmail.com>
> Cc: 23075@debbugs.gnu.org
> Date: Mon, 21 Mar 2016 21:45:40 +0300
> 
> Ok, here are more detailed steps on how to repeat this this bug.
> 1. Clone https://github.com/sg2002/vc-git-bugs
> 2. Open 1251.txt in windows1251 encoding. Do some changes in it.
> 3. vc-diff. This would give you diff with broken encoding.
> 4. Evaluate vc-git-command from fix.el in the repo.
> 5. vc-diff again, it would give you the correct encoding as long as the 
> file itself opened correctly.

What if the diffs show changes in more than one file?  Then the
encoding of the file being visited is no longer as relevant as in the
use case you describe.





reply via email to

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