unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: dann@ics.uci.edu, emacs-devel@gnu.org, kifer@cs.sunysb.edu,
	handa@m17n.org
Subject: Re: ediff and coding systems
Date: Mon, 22 Oct 2007 23:11:38 +0200	[thread overview]
Message-ID: <usl42svlh.fsf@gnu.org> (raw)
In-Reply-To: <jwvfy03rwtj.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Mon, 22 Oct 2007 11:32:30 -0400)

> Cc: Kenichi Handa <handa@m17n.org>,  dann@ics.uci.edu,  kifer@cs.sunysb.edu,
> 	  emacs-devel@gnu.org
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> 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.

  reply	other threads:[~2007-10-22 21:11 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-20 15:21 ediff and coding systems Dan Nicolaescu
2007-10-20 18:09 ` Eli Zaretskii
2007-10-21  5:43   ` Michael Kifer
2007-10-21  6:12     ` Dan Nicolaescu
2007-10-21  6:52       ` Michael Kifer
2007-10-21  7:17         ` Dan Nicolaescu
2007-10-21 18:46           ` Michael Kifer
2007-10-21 19:22             ` Dan Nicolaescu
2007-10-21 19:37               ` Leo
2007-10-21 21:35               ` Michael Kifer
2007-10-22  2:08                 ` Dan Nicolaescu
2007-10-22  3:50                   ` Michael Kifer
2007-10-27 21:03                     ` Dan Nicolaescu
2007-10-28 21:01                       ` Michael Kifer
2007-10-22  3:42               ` Kenichi Handa
2007-10-22  4:20                 ` Eli Zaretskii
2007-10-22  5:05                   ` Kenichi Handa
2007-10-22 15:32                   ` Stefan Monnier
2007-10-22 21:11                     ` Eli Zaretskii [this message]
2007-10-22  4:29                 ` Michael Kifer
2007-10-22 15:34                   ` Stefan Monnier
2007-10-22 16:18                     ` Michael Kifer
2007-10-21  2:12 ` Stefan Monnier
2007-10-21  2:43   ` Dan Nicolaescu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=usl42svlh.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    --cc=handa@m17n.org \
    --cc=kifer@cs.sunysb.edu \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).