unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
Cc: cyd@stupidchicken.com, emacs-devel@gnu.org
Subject: Re: copying to clipboard silently discards lines
Date: Tue, 8 Mar 2005 18:10:26 +0900 (JST)	[thread overview]
Message-ID: <200503080910.SAA23882@etlken.m17n.org> (raw)
In-Reply-To: <m3fyzgxztb.fsf@seneca.benny.turtle-trading.net> (message from Benjamin Riefenstahl on Mon, 28 Feb 2005 20:13:52 +0100)

In article <m3fyzgxztb.fsf@seneca.benny.turtle-trading.net>, Benjamin Riefenstahl <b.riefenstahl@turtle-trading.net> 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
handa@m17n.org

      reply	other threads:[~2005-03-08  9:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <2150.220.255.172.231.1109220271.squirrel@220.255.172.231>
     [not found] ` <1515.220.255.172.231.1109259901.squirrel@220.255.172.231>
2005-02-25 15:09   ` copying to clipboard silently discards lines Chong Yidong
2005-02-25 17:24     ` Benjamin Riefenstahl
2005-02-26  2:53       ` Chong Yidong
2005-02-28  7:20         ` Kenichi Handa
2005-02-28 19:13           ` Benjamin Riefenstahl
2005-03-08  9:10             ` Kenichi Handa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200503080910.SAA23882@etlken.m17n.org \
    --to=handa@m17n.org \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).