emacs-devel
[Top][All Lists]
Advanced

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

Re: Buffer-local variables affect general-purpose functions


From: Paul Eggert
Subject: Re: Buffer-local variables affect general-purpose functions
Date: Fri, 28 Mar 2014 00:46:01 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

Eli Zaretskii wrote:
How to compare bytes, then?

It depends on what kind of comparison one wants. Simplest is to use '='. To ignore case and treat bytes 128-255 as Latin-1 characters, use 'downcase' first. To ignore case and treat bytes 128-255 as uninterpreted bit patterns, use 'unibyte-char-to-multibyte' before downcasing. Etc.

we don't have a way of distinguishing between characters and
bytes, unless we look on something besides the arguments themselves.

Yes, that's right.




reply via email to

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