[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: utf8 and emacs text/string multibyte representation
From: |
Camm Maguire |
Subject: |
Re: utf8 and emacs text/string multibyte representation |
Date: |
Thu, 30 Oct 2014 12:27:58 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) |
Greetings, and thanks so much for the feedback! Almost done --
Eli Zaretskii <address@hidden> writes:
>> From: Camm Maguire <address@hidden>
>> Cc: address@hidden, address@hidden
>> Date: Thu, 30 Oct 2014 10:13:20 -0400
>>
>> >> Does every string access in emacs proceed through the utf8 decoder?
>> >
>> > If you need to look at the character, yes. E.g., if you need some
>> > property of the character, you need to index the appropriate table by
>> > that character's codepoint. But in most operations that is not
>> > needed. You just need to recognize several specific characters, like
>> > the null character, the slash, etc., most of which are ASCII.
>> >
>>
>> Do you allocate a fresh boxed character on each aref, or output an
>> integer referring to a fixed ~2^22 sized table?
>
> I'm not sure what you mean by a "boxed character". A character in
> Emacs is just an int.
>
Then how do you distinguish integers from characters at the lisp level?
Take care,
--
Camm Maguire address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
- Re: Referring to revisions in the git future., (continued)
- Re: Referring to revisions in the git future., Stefan Monnier, 2014/10/29
- utf8 and emacs text/string multibyte representation, Camm Maguire, 2014/10/29
- Re: utf8 and emacs text/string multibyte representation, Eli Zaretskii, 2014/10/29
- Re: utf8 and emacs text/string multibyte representation, Camm Maguire, 2014/10/29
- Re: utf8 and emacs text/string multibyte representation, Eli Zaretskii, 2014/10/29
- Re: utf8 and emacs text/string multibyte representation, Camm Maguire, 2014/10/31
- Re: utf8 and emacs text/string multibyte representation, Eli Zaretskii, 2014/10/31
- Re: utf8 and emacs text/string multibyte representation,
Camm Maguire <=
- Re: utf8 and emacs text/string multibyte representation, Eli Zaretskii, 2014/10/31
- Re: utf8 and emacs text/string multibyte representation, Camm Maguire, 2014/10/31
- Re: utf8 and emacs text/string multibyte representation, Stephen J. Turnbull, 2014/10/31
- Re: utf8 and emacs text/string multibyte representation, Stefan Monnier, 2014/10/29
- Re: utf8 and emacs text/string multibyte representation, Raymond Toy, 2014/10/29
- Re: [Gcl-devel] utf8 and emacs text/string multibyte representation, Camm Maguire, 2014/10/31
- Re: [Gcl-devel] utf8 and emacs text/string multibyte representation, Stefan Monnier, 2014/10/31
- Message not available
- Re: utf8 and emacs text/string multibyte representation, Andreas Schwab, 2014/10/31
- utf8 and emacs text/string multibyte representation, Stephen J. Turnbull, 2014/10/29
- Re: Referring to revisions in the git future., Eric S. Raymond, 2014/10/29