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

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

bug#35508: 27.0.50; Fine-ordering of functions on hooks


From: Stefan Monnier
Subject: bug#35508: 27.0.50; Fine-ordering of functions on hooks
Date: Tue, 30 Apr 2019 18:31:02 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> (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





reply via email to

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