GNU bug report logs - #17234
24.3.50; overlay priority : cons cells make an error in ediff

Previous Next

Package: emacs;

Reported by: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>

Date: Thu, 10 Apr 2014 09:38:02 UTC

Severity: important

Found in version 24.3.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 17234 <at> debbugs.gnu.org, rgm <at> gnu.org
Subject: Re: bug#17234: 24.3.50;
 overlay priority : cons cells make an error in ediff
Date: Fri, 11 Apr 2014 20:12:48 +0300
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Cc: rgm <at> gnu.org,  17234 <at> debbugs.gnu.org
> Date: Fri, 11 Apr 2014 11:56:24 -0400
> 
> > Then how can we expect authors of other Lisp packages to be able to
> > fix their code so it works with Emacs 24.4 and later?  We must say
> > _something_ in NEWS.
> 
> It has always been the case that `priority' could be any value.
> 
> Any non-number value was treated as nil by the display engine, whereas
> now some cons values are treated as something else.
> 
> But ediff's bug could already be triggered in Emacs<24.4 by a package
> installing an overlay with a `priority' that's a cons cell.

Sorry, I don't see how all this removes the need to inform Lisp
programmers of the change of a long-time traditional behavior.

I don't understand the reason(s) for hiding this information.  If you
don't want to divulge some internal details, the information can be
conveyed in a purely functional manner ("don't do XXX; instead, do
YYY" or "don't assume that overlay priority is either an integer or
nil) that doesn't require to describe implementation details.  But I
don't see how can we say nothing about this incompatible change.




This bug report was last modified 11 years and 116 days ago.

Previous Next


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