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: (no subject) Date: Sat, 23 Feb 2002 13:51:54 -0500 Message-ID: NNTP-Posting-Host: quimby2.netfonds.no X-Trace: quimby2.netfonds.no 1014490586 3166 195.204.10.66 (23 Feb 2002 18:56:26 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 23 Feb 2002 18:56:26 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 16ehLN-0000oy-00 for ; Sat, 23 Feb 2002 19:56:25 +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 16ehJF-00088D-00; Sat, 23 Feb 2002 13:54:13 -0500 Original-Received: from eliz by fencepost.gnu.org with local (Exim 3.33 #1 (Debian)) id 16ehH0-00086R-00; Sat, 23 Feb 2002 13:51:54 -0500 Original-To: Takaaki.Ota@am.sony.com In-reply-to: <20020223.081149.60852929.Takaaki.Ota@am.sony.com> 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:1460 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1460 Tak Ota on Sat, 23 Feb 2002 08:11:49 -0800 (PST)) Subject: Re: ctext-pre-write-conversion barfs Reply-to: Eli Zaretskii References: <20020222.225355.01365596.Takaaki.Ota@am.sony.com> <9743-Sat23Feb2002104842+0200-eliz@is.elta.co.il> <20020223.081149.60852929.Takaaki.Ota@am.sony.com> --text follows this line-- > Date: Sat, 23 Feb 2002 08:11:49 -0800 (PST) > From: Tak Ota > > BTW, I just now tried to save this buffer and noticed that > ctext-pre-write-conversion was invoked. It is called 3 times for > each save-buffer. Here is the output from describe-coding-system. > > Coding system for saving this buffer: > x -- ctext-unix Could you please find out how come the buffer's encoding got set to ctext-unix? It's a very unusual coding system for buffers. Compound-text is normally used for X selections only. The reason I'm asking you to look into this is that the assumption behind the code I wrote for the ctext extensions is that ctext is not normally used for file I/O. There are limitations of the pre-write and post-read conversions that make the modified ctext coding system inappropriate for reading and writing text to/from multibyte buffers. If ctext is used for file I/O, I will have to revert the decision to call the new encoding `ctext', and will find some other name. So please look into this. Thanks in advance. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel