[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ctext-pre-write-conversion barfs
From: |
Eli Zaretskii |
Subject: |
Re: ctext-pre-write-conversion barfs |
Date: |
Sat, 23 Feb 2002 10:48:42 +0200 |
> From: Tak Ota <address@hidden>
> Date: Fri, 22 Feb 2002 22:53:55 -0800 (PST)
>
> `ctext-pre-write-conversion' is called from `writ-region' as
>
> annotations = build_annotations_2 (start, end,
> coding.pre_write_conversion, annotations);
>
> As an irregular case write-region sometimes passes a string in
> `start'. It seems like ctext-pre-write-conversion is not prepared to
> receive a string in START.
Thanks, I will look into this.
Do you have any real-life example of using compound-text in a way that
causes it to be called from write-region? Note that compound-text is
generally inappropriate for use in file I/O, as its string says (it
can't DTRT with multibyte text).