[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: text_property_stickiness
From: |
Miles Bader |
Subject: |
Re: text_property_stickiness |
Date: |
Tue, 27 Jun 2006 11:03:24 +0900 |
Chong Yidong <address@hidden> writes:
>> Why do you think an error is the correct thing here?
>>
>> My feeling (when Richard brought this up earlier) was that perhaps the
>> out-of-range value should be constrained to be within BEGV-ZV.
>
> I don't think it's the wrong thing to do. It's also similar to the
> current behavior for other Lisp-visible functions, for example:
>
> C-u 10 a
> M-: (narrow-to-region 3 4)
> M-: (text-properties-at 1)
I just checked the code and since `get_pos_property' is only called with
the initial position being passed by the original caller, I think you're
right, it does make sense to signal an error if it's out of range.
-Miles
--
`Suppose Korea goes to the World Cup final against Japan and wins,' Moon said.
`All the past could be forgiven.' [NYT]
- text_property_stickiness, Chong Yidong, 2006/06/24
- Re: text_property_stickiness, Richard Stallman, 2006/06/25
- Re: text_property_stickiness, Chong Yidong, 2006/06/25
- Re: text_property_stickiness, Miles Bader, 2006/06/26
- Re: text_property_stickiness, Chong Yidong, 2006/06/26
- Re: text_property_stickiness,
Miles Bader <=
- Re: text_property_stickiness, Richard Stallman, 2006/06/27
- Re: text_property_stickiness, Chong Yidong, 2006/06/27
- Re: text_property_stickiness, Richard Stallman, 2006/06/29
- Re: text_property_stickiness, Richard Stallman, 2006/06/27
- Re: text_property_stickiness, Richard Stallman, 2006/06/26