GNU bug report logs - #49808
27.1; ediff assumes user's language is English

Previous Next

Package: emacs;

Reported by: Matthieu Dubuget <matthieu.dubuget <at> gmail.com>

Date: Sun, 1 Aug 2021 15:13:02 UTC

Severity: minor

Tags: moreinfo

Found in version 27.1

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 49808 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Matthieu Dubuget <matthieu.dubuget <at> gmail.com>, 49808 <at> debbugs.gnu.org
Subject: Re: bug#49808: 27.1; ediff assumes user's language is English
Date: Mon, 02 Aug 2021 09:28:44 +0200
On Aug 01 2021, Eli Zaretskii wrote:

>> From: Matthieu Dubuget <matthieu.dubuget <at> 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 <at> linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."




This bug report was last modified 2 years and 268 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.