all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Drew Adams <drew.adams@oracle.com>
Cc: 35508@debbugs.gnu.org
Subject: bug#35508: 27.0.50; Fine-ordering of functions on hooks
Date: Tue, 30 Apr 2019 18:31:02 -0400	[thread overview]
Message-ID: <jwvtvefi10g.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <80d76085-af3c-4b74-b9ae-6f831922aa80@default> (Drew Adams's message of "Tue, 30 Apr 2019 14:37:41 -0700 (PDT)")

> (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	other threads:[~2019-04-30 22:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-30 20:37 bug#35508: 27.0.50; Fine-ordering of functions on hooks Stefan Monnier
2019-04-30 21:37 ` Drew Adams
2019-04-30 22:31   ` Stefan Monnier [this message]
2019-05-01 18:00 ` Eli Zaretskii
2019-05-01 20:29   ` Stefan Monnier
2019-05-08 18:32     ` Stefan Monnier
2019-05-11 12:05       ` Eli Zaretskii
2019-05-11 13:26         ` Stefan Monnier
2019-05-11 13:54           ` Eli Zaretskii
2019-05-13 13:29             ` Stefan Monnier
2019-05-29 19:56               ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvtvefi10g.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=35508@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.