emacs-devel
[Top][All Lists]
Advanced

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

Re: using empty_string as the only "" string


From: Dmitry Antipov
Subject: Re: using empty_string as the only "" string
Date: Fri, 27 Apr 2007 14:04:01 +0400
User-agent: Thunderbird 1.5.0.7 (X11/20061008)

Richard Stallman wrote:
    Also note that canonicalization of null strings assumes that
    non-null interval can't be attached to empty string regardless of
    it's multibyteness (at a first glance, this is how the stuff ticks
    now, but I'm not sure about this).

Alas, I don't understand those words.

Is it possible that STRING_INTERVALS(s) is not NULL if 's' is an empty string,
unibyte or multibyte ? I believe no (at least, 'set-text-properties' can't
attach properties to empty string).

Otherwise it would be nearly impossible to canonicalize empty strings since each
empty string may have unique intervals.

Dmitry








reply via email to

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