[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ediff and coding systems
From: |
Eli Zaretskii |
Subject: |
Re: ediff and coding systems |
Date: |
Mon, 22 Oct 2007 23:11:38 +0200 |
> Cc: Kenichi Handa <address@hidden>, address@hidden, address@hidden,
> address@hidden
> From: Stefan Monnier <address@hidden>
> Date: Mon, 22 Oct 2007 11:32:30 -0400
>
> > Not a good idea, I'm afraid: those temporary files (or parts thereof)
> > will need to be read back, when `diff' finishes, so each one needs to
> > be in the original encoding, or else the diffs will be incorrect.
> > E.g., imagine two files with the same text, but different encodings: I
> > don't think we want ediff say that they compare identical.
>
> Quite the contrary: it's the only right thing to do because we're comparing
> two pieces of buffer (not file)
I don't think ediff-make-temp-file knows that. It's a general-purpose
utility function in ediff, AFAIR, and is invoked for files as well.
Note: I was responding to Handa-san's suggestion that
ediff-make-temp-file binds coding-system-for-write.
- Re: ediff and coding systems, (continued)
- Re: ediff and coding systems, Leo, 2007/10/21
- Re: ediff and coding systems, Michael Kifer, 2007/10/21
- Re: ediff and coding systems, Dan Nicolaescu, 2007/10/21
- Re: ediff and coding systems, Michael Kifer, 2007/10/21
- Re: ediff and coding systems, Dan Nicolaescu, 2007/10/27
- Re: ediff and coding systems, Michael Kifer, 2007/10/28
- Re: ediff and coding systems, Kenichi Handa, 2007/10/21
- Re: ediff and coding systems, Eli Zaretskii, 2007/10/22
- Re: ediff and coding systems, Kenichi Handa, 2007/10/22
- Re: ediff and coding systems, Stefan Monnier, 2007/10/22
- Re: ediff and coding systems,
Eli Zaretskii <=
- Re: ediff and coding systems, Michael Kifer, 2007/10/22
- Re: ediff and coding systems, Stefan Monnier, 2007/10/22
- Re: ediff and coding systems, Michael Kifer, 2007/10/22
Re: ediff and coding systems, Stefan Monnier, 2007/10/20