From: kifer@cs.sunysb.edu (Michael Kifer)
To: Kenichi Handa <handa@m17n.org>
Cc: eliz@gnu.org, Dan Nicolaescu <dann@ics.uci.edu>, emacs-devel@gnu.org
Subject: Re: ediff and coding systems
Date: Mon, 22 Oct 2007 00:29:57 -0400 [thread overview]
Message-ID: <25112.1193027397@cs.sunysb.edu> (raw)
In-Reply-To: Message from Kenichi Handa <handa@m17n.org> of "Mon, 22 Oct 2007 12:42:47 +0900." <E1IjoBj-0004LS-Pe@etlken.m17n.org>
> In article <200710211922.l9LJMQFX013338@oogie-boogie.ics.uci.edu>, Dan Nicolaescu <dann@ics.uci.edu> writes:
>
> > Can anybody else reproduce it? I don't know much about coding systems,
> > so unfortunately I can't really debug this myself.
>
> I can reproduce it when I run Emacs with LANG=C, and try to
> see the 5th (or 6th) different point where non-ASCII
> charaters exist. The calling sequence of read-coding-system
> is this:
>
> read-coding-system("Select coding system (default mule-utf-8): " mule-utf-8)
> select-safe-coding-system-interactively(1 5557 (utf-8 ....))
> select-safe-coding-system(1 5557 nil nil "/tmp/fineDiffA155544eB")
> write-region(1 5557 "/tmp/fineDiffA155544eB" nil no-message)
> ediff-make-temp-file(#<buffer *ediff-tmp*> "fineDiffA" "/tmp/fineDiffA155544eB")
> ediff-make-fine-diffs(5 noforce)
> ediff-install-fine-diff-if-necessary(5)
> ediff-next-difference(1)
> call-interactively(ediff-next-difference)
>
> I don't know why ediff-make-temp-file is called, but perhaps
> it should call write-region while binding
> coding-system-for-write to `no-conversion' or `emacs-mule'.
I still cannot reproduce this, but ediff-make-temp-file has been changed on
Aug 19 to use the coding system of the buffer for the temp file created out
of that buffer. This was in order to fix some other problem. Forgot which
-- it was on this list. The coding system of the buffer seems to be the
right thing. It was 'no-conversion before, but had a problem because those
temp files are then read back and no-conversion was screwing things up.
>
> ---
> Kenichi Handa
> handa@m17n.org
>
next prev parent reply other threads:[~2007-10-22 4:29 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
2007-10-22 4:29 ` Michael Kifer [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=25112.1193027397@cs.sunysb.edu \
--to=kifer@cs.sunysb.edu \
--cc=dann@ics.uci.edu \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=handa@m17n.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.