[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#49808: 27.1; ediff assumes user's language is English
From: |
Andreas Schwab |
Subject: |
bug#49808: 27.1; ediff assumes user's language is English |
Date: |
Mon, 02 Aug 2021 09:28:44 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
On Aug 01 2021, Eli Zaretskii wrote:
>> From: Matthieu Dubuget <matthieu.dubuget@gmail.com>
>> Date: Sun, 1 Aug 2021 12:55:34 +0200
>>
>>
>> When using Ediff with a non-English locale, errors returned by diff are
>> not recognized by Ediff.
>>
>> When diff outputs a localized version of "\ No newline at end of file",
>> ediff do not recognize it and fails to display the differences.
>>
>> See https://stackoverflow.com/q/9242651/3407924
>> and this post for a clear explanation of the problem:
>> https://stackoverflow.com/a/9244759/3407924
>
> The "usual" solution is to insert "LANG=C" into the envirnment before
> running the Diff program.
I don't think it is necessary to match on the text of that line, the
"\\" prefix should be enough.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."