GNU bug report logs - #35508
27.0.50; Fine-ordering of functions on hooks

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Tue, 30 Apr 2019 20:38:02 UTC

Severity: wishlist

Found in version 27.0.50

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

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 35508 <at> debbugs.gnu.org
Subject: Re: bug#35508: 27.0.50; Fine-ordering of functions on hooks
Date: Tue, 30 Apr 2019 18:31:02 -0400
> (I'm curious, for example, never having come across the need.)

Just look at the patch, it includes an example.

> The way you describe it makes it seem like it will be
> common to supply a specific number rather than just
> appending (i.e. at the end).  Will it be common to need
> a number other than 100?

100 (resp -100) should almost never be used, since they basically mean that
noone should ever have the right to come after (resp before), which is
rather presumptuous.

> BTW, do similar considerations not apply to advice?

As the NEWS entry mentions, this semantics mimics that already existing
in add-function (and hence advice-add).


        Stefan




This bug report was last modified 5 years and 353 days ago.

Previous Next


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