emacs-devel
[Top][All Lists]
Advanced

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

Re: 3.0.60; Can't paste from files with .arc extensions


From: Kenichi Handa
Subject: Re: 3.0.60; Can't paste from files with .arc extensions
Date: Tue, 08 Apr 2008 15:37:13 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

In article <address@hidden>, Chong Yidong <address@hidden> writes:

> The problem seems to go away with the following patch to
> xselect-convert-to-string, which changes the coding for unibyte string
> from C_STRING back to STRING, the value prior to the Nov 18 change.  But
> I am unfamiliar with this part of the code.  Could someone who knows
> what is going on give an opinion (Handa-san)?

The contents of unibyte buffer is typically binary data, and
according to X's "Inter-Client Communication Conventions
Manual", "STRING as a type or a target specifies the ISO
Latin-1 char- acter set ...".  So I chose C_STRING which is
defined as:
------------------------------------------------------------
There are some text objects where the source or intended
user, as the case may be, does not have a specific character
set for the text, but instead merely requires a zero-termi-
nated sequence of bytes with no other restriction; no ele-
ment of the selection mechanism may assume that any byte
value is forbidden or that any two differing sequences are
equivalent.  For these objects, the type C_STRING should be
used.
------------------------------------------------------------

Why do you have to use a unibyte buffer?

---
Kenichi Handa
address@hidden




reply via email to

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