[Top][All Lists]

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

Re: get-text-property error if narrowed

From: Lennart Borgman (gmail)
Subject: Re: get-text-property error if narrowed
Date: Sun, 30 Dec 2007 02:47:13 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20071031 Thunderbird/ Mnenhy/

Richard Stallman wrote:
I think it happens when there is a property on an overlay. get-char-property finds that and returns it. If there is no overlay with the tested property then I get an error. (Note that I am using a CVS version from 2007-06-04.)

I think it is a bug not to get an error in that case.

However, you said you prefer that behavior.  Could you tell me why?

It is just that I prefer consistency.

I made a mistake when I said that no error should be raised. It is clearly better to get an error since in many cases it would be a mistake to access a point outside the narrowed region.

reply via email to

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