emacs-devel
[Top][All Lists]
Advanced

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

Re: Compiling Elisp to a native code with a GCC plugin


From: Lars Magne Ingebrigtsen
Subject: Re: Compiling Elisp to a native code with a GCC plugin
Date: Fri, 17 Sep 2010 17:06:21 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

David Kastrup <address@hidden> writes:

> In this case, the byte patterns can be the same and the texts still
> different, and vice versa.

So just to be clear here, you think this is correct:

(equalp (unibyte-string #x68 #xe9 #x6c #x6c #x6f) "héllo")
=> nil

But that this behaviour is incorrect?

(equalp (unibyte-string #x68 #x6c #x6c #x6f) "hllo")
=> t

But that this is correct:

(equalp (unibyte-string #x68 #xc3 #xa9 #x6c #x6c #x6f) "héllo")
=> nil

And this is incorrect?

(looking-at (unibyte-string #x68 #xc3 #xa9 #x6c #x6c #x6f) t)héllo
=> t

*scratches head*  Well, I guess I can see that...

-- 
(domestic pets only, the antidote for overdose, milk.)
  address@hidden * Lars Magne Ingebrigtsen




reply via email to

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