From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#35508: 27.0.50; Fine-ordering of functions on hooks Date: Tue, 30 Apr 2019 18:31:02 -0400 Message-ID: References: <80d76085-af3c-4b74-b9ae-6f831922aa80@default> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="55674"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 35508@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 01 00:32:10 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hLbII-000EKk-Bv for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 May 2019 00:32:10 +0200 Original-Received: from localhost ([127.0.0.1]:54490 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLbIH-0005dJ-E2 for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Apr 2019 18:32:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53850) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLbIB-0005d2-MX for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 18:32:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hLbIA-0001er-Pk for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 18:32:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57417) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hLbIA-0001ei-Mj for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 18:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hLbIA-0006RK-EZ for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 18:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Apr 2019 22:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35508 X-GNU-PR-Package: emacs Original-Received: via spool by 35508-submit@debbugs.gnu.org id=B35508.155666346724691 (code B ref 35508); Tue, 30 Apr 2019 22:32:02 +0000 Original-Received: (at 35508) by debbugs.gnu.org; 30 Apr 2019 22:31:07 +0000 Original-Received: from localhost ([127.0.0.1]:42728 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLbHH-0006QB-5c for submit@debbugs.gnu.org; Tue, 30 Apr 2019 18:31:07 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:39212) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLbHF-0006Q2-49 for 35508@debbugs.gnu.org; Tue, 30 Apr 2019 18:31:06 -0400 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id x3UMV2xG025291; Tue, 30 Apr 2019 18:31:03 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 26DDE66184; Tue, 30 Apr 2019 18:31:02 -0400 (EDT) In-Reply-To: <80d76085-af3c-4b74-b9ae-6f831922aa80@default> (Drew Adams's message of "Tue, 30 Apr 2019 14:37:41 -0700 (PDT)") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6536=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6536> : inlines <7066> : streams <1820202> : uri <2839045> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:158550 Archived-At: > (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