Subject: bug#18236: diff-apply-hunk interacts poorly with line endings

From: Marcin Borkowski <[email-masked]>
Date: Sun, 21 Feb 2016 11:09:41 +0100

On 2016-02-20, at 13:50, Eli Zaretskii <[email-masked]> wrote:

>> Date: Sat, 20 Feb 2016 12:32:03 +0000
>> From: Reuben Thomas <[email-masked]>
>> Cc: Marcin Borkowski <[email-masked]>, [email-masked]
>> 
>>  The most we can do is display a warning and ask for confirmation when
>>  the values of buffer-file-coding-system differ between the patch
>>  file's buffer and the buffer of file to be patched. Will that be
>>  sufficient?
>> 
>> Thanks for your analysis. ​This solution sounds fine to me: ​as you say, in general it's impossible to tell exactly
>> what went wrong, but we can warn the user so that the unfortunate result I described is not obtained silently.
>
> Marcin, would you like to work on a change along these lines?

OK, I'll take a look and report in a few days.

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University