|
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:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |