[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#16413: 24.3.50; Inconsistent behavior of text property functions in
From: |
Nathan Trapuzzano |
Subject: |
bug#16413: 24.3.50; Inconsistent behavior of text property functions in narrowed buffer |
Date: |
Sat, 11 Jan 2014 15:13:44 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Nathan Trapuzzano <nbtrap@nbtrap.com>
>> Cc: 16413@debbugs.gnu.org
>> Date: Sat, 11 Jan 2014 14:44:28 -0500
>>
>> Eli Zaretskii <eliz@gnu.org> writes:
>>
>> >> But when dealing with text properties (and apparently only when dealing
>> >> with text properties), there are _two_ special cases: (point-max) in a
>> >> narrowed buffer, and (point-max) in a widened buffer.
>> >
>> > Not if you never look at the properties when you hit the limit of the
>> > search for previous/next property change.
>>
>> That may be true for searching, but the problem for fetching
>> (`get-text-property', etc.) remains.
>
> You need to fetch after searching, and never do that when the search
> hits the limit.
I'm sorry, but this just seems totally contrived. Are people actually
supposed to know this? And who's to say there's searching involved?
What if I just want to look at the text properties at point? It
shouldn't matter whether the buffer is narrowed. (If you think it
_should_ matter, then why shouldn't it also matter for `char-after',
etc. It's a consistency problem.)
- bug#16413: 24.3.50; Inconsistent behavior of text property functions in narrowed buffer, (continued)
- bug#16413: 24.3.50; Inconsistent behavior of text property functions in narrowed buffer, Nathan Trapuzzano, 2014/01/11
- bug#16413: 24.3.50; Inconsistent behavior of text property functions in narrowed buffer, Eli Zaretskii, 2014/01/11
- bug#16413: 24.3.50; Inconsistent behavior of text property functions in narrowed buffer, Nathan Trapuzzano, 2014/01/11
- bug#16413: 24.3.50; Inconsistent behavior of text property functions in narrowed buffer, Eli Zaretskii, 2014/01/11
- bug#16413: 24.3.50; Inconsistent behavior of text property functions in narrowed buffer, Nathan Trapuzzano, 2014/01/11
- bug#16413: 24.3.50; Inconsistent behavior of text property functions in narrowed buffer, Eli Zaretskii, 2014/01/11
- bug#16413: 24.3.50; Inconsistent behavior of text property functions in narrowed buffer,
Nathan Trapuzzano <=
- bug#16413: 24.3.50; Inconsistent behavior of text property functions in narrowed buffer, Eli Zaretskii, 2014/01/11
- bug#16413: 24.3.50; Inconsistent behavior of text property functions in narrowed buffer, Nathan Trapuzzano, 2014/01/11
- bug#16413: 24.3.50; Inconsistent behavior of text property functions in narrowed buffer, Eli Zaretskii, 2014/01/11