bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#21271: 25.0.5; `field' text-property screws with `line-end-position'


From: Artur Malabarba
Subject: bug#21271: 25.0.5; `field' text-property screws with `line-end-position'
Date: Sat, 15 Aug 2015 22:59:03 +0100

1. In an empty buffer, hit RET and type some text on the second line.
2. Place point at the start of the second line.
3. Run (line-end-position) and verify that the value is correct
(something greater than 3)
4. Run (add-text-properties (1- (point)) (point) '(field 1))
5. Run (line-end-position) and you'll get 2 (which is the poistion of
the end of the field).





reply via email to

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