emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: copying to clipboard silently discards lines


From: Kenichi Handa
Subject: Re: copying to clipboard silently discards lines
Date: Tue, 8 Mar 2005 18:10:26 +0900 (JST)
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3.50 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI)

In article <address@hidden>, Benjamin Riefenstahl <address@hidden> writes:
>>  but we must set 4 for XXX-with-signature. 

> Really?  I thought XXX-with-signature just adds 2 additional bytes,
> regardless how long the string is.  That should be covered by "+
> CONVERSION_BUFFER_EXTRA_ROOM" (== 256) in encoding_buffer_size() and
> similar extra space in other places.  I may be missing something, of
> course.

Those extra 256 bytes were for internal use only, for
instance, to produce some error message of CCL program.
But, as it's too much to require 4 times bigger output
buffer for UTF-16 encoding, I documented those extra 256
bytes in the docstring of define-ccl-prgoram, and changed
ccl-encode-mule-utf-16le/be-with-signature to require only 2
times bigger output buffer.

---
Ken'ichi HANDA
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]