Thank you everybody for your clear answers!
My init file already contains something that lets ediff work correctly:
(when (and (emacs-type-member '(xemacs lucid)) ; XEmacs
(emacs-version= 21)
;;(emacs-minor-version<= 4?)
(boundp 'ediff-coding-system-for-write)
)
(condition-case nil
(progn
(coding-system-property ediff-coding-system-for-write
'pre-write-conversion)
)
(error
(message "%s : Bad %s : %s"
"ediff-patch-jd.el"
'ediff-coding-system-for-write
ediff-coding-system-for-write)
(setq ediff-coding-system-for-write 'escape-quoted)
(message "%s : Setting %s to %s"
"ediff-patch-jd.el"
'ediff-coding-system-for-write
ediff-coding-system-for-write)
(coding-system-property ediff-coding-system-for-write
'pre-write-conversion))))
Thanks again
)jack(
2009/3/6 Stephen J. Turnbull <stephen(a)xemacs.org>:
Sean MacLennan writes:
> On Fri, 06 Mar 2009 15:38:25 +0900
> "Stephen J. Turnbull" <stephen(a)xemacs.org> wrote:
>
> > (setq ediff-coding-system-for-write 'escape-quoted)
>
> Why escape-quoted rather than no-conversion?
Because no-conversion only works for ISO-8859-1 characters (there's no
way to stuff anything else into a byte without converting it), and the
point of ediff-coding-system-for-write is to write out all characters
that can be represented by Emacs in as close to unconverted form as
possible.
I assume this has something to do with diffing buffers, so ediff has
to handle characters created inside of X?Emacs as well as bytes
slurped in from outside.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta