GNU bug report logs - #8657
24.0.50; Emacs code that seems to use `*-single-char-property-change' incorrectly

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Wed, 11 May 2011 20:56:02 UTC

Severity: minor

Tags: notabug

Found in version 24.0.50

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Chong Yidong <cyd <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 8657 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>,
	drew.adams <at> oracle.com
Subject: Re: bug#8657: 24.0.50;
	Emacs code that seems to use `*-single-char-property-change'
	incorrectly
Date: Mon, 06 Feb 2012 22:00:21 +0800
Eli Zaretskii <eliz <at> gnu.org> writes:

>> The behavior might have changed at some point in time, explaining the
>> above code.
>
> Or maybe the author was confusing next-single-char-property-change
> with next-single-property-change.
>
> In any case, those tests are redundant, because
> next-single-char-property-change already returns point-max when it
> finds no change in properties.

I went ahead and fixed them accordingly.




This bug report was last modified 13 years and 107 days ago.

Previous Next


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