From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.devel Subject: Re: ctext-pre-write-conversion barfs Date: Sat, 23 Feb 2002 10:48:42 +0200 Message-ID: <9743-Sat23Feb2002104842+0200-eliz@is.elta.co.il> References: <20020222.225355.01365596.Takaaki.Ota@am.sony.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: quimby2.netfonds.no X-Trace: quimby2.netfonds.no 1014456489 13369 195.204.10.66 (23 Feb 2002 09:28:09 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 23 Feb 2002 09:28:09 GMT Cc: emacs-devel@gnu.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16eYTQ-0003TX-00 for ; Sat, 23 Feb 2002 10:28:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16eXtt-0001XL-00; Sat, 23 Feb 2002 03:51:25 -0500 Original-Received: from balder.inter.net.il ([192.114.186.15]) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16eXtB-0001VY-00 for ; Sat, 23 Feb 2002 03:50:41 -0500 Original-Received: from zaretsky (diup-218-122.inter.net.il [213.8.218.122]) by balder.inter.net.il (Mirapoint) with ESMTP id BFK95433; Sat, 23 Feb 2002 10:50:34 +0200 (IST) Original-To: Takaaki.Ota@am.sony.com X-Mailer: emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: <20020222.225355.01365596.Takaaki.Ota@am.sony.com> (message from Tak Ota on Fri, 22 Feb 2002 22:53:55 -0800 (PST)) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: quimby.gnus.org gmane.emacs.devel:1451 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1451 > From: Tak Ota > 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). _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel