GNU bug report logs - #49742
28.0.50; previous-single-property-change sometimes wrong?

Previous Next

Package: emacs;

Reported by: "T.V Raman" <raman <at> google.com>

Date: Mon, 26 Jul 2021 15:48:02 UTC

Severity: normal

Tags: notabug

Found in version 28.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #29 received at 49742 <at> debbugs.gnu.org (full text, mbox):

From: "T.V Raman" <raman <at> google.com>
To: eliz <at> gnu.org
Cc: 49742 <at> debbugs.gnu.org, raman <at> google.com
Subject: Re: bug#49742: 28.0.50; previous-single-property-change sometimes
 wrong?
Date: Tue, 27 Jul 2021 07:50:01 -0700
we're talking across one another,   point is on 'H' with face
'transient-heading. previous-single-property-change should return 1 <
(point) since the face property there is nil; instead it's returning a
value that is further back.

Eli Zaretskii writes:
 > On July 27, 2021 6:06:31 AM GMT+03:00, "T.V Raman" <raman <at> google.com> wrote:
 > > Eli Zaretskii <eliz <at> gnu.org> writes:
 > > 
 > > I believe  value returned should be point before the 'H', ie the
 > > newline
 > > where property face is nil.
 > 
 > No, because this function scans back from POSITION, and that is the position between the newline and 'H' in your case, because that's where point is.  So the function must return a position before that.

-- 

Thanks,

--Raman(I Search, I Find, I Misplace, I Research)
♉ Id: kg:/m/0285kf1  🦮

--

Thanks,

--Raman(I Search, I Find, I Misplace, I Research)
♉ Id: kg:/m/0285kf1  🦮




This bug report was last modified 3 years and 301 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.