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: Mon, 13 May 2019 09:29:36 -0400 Message-ID: References: <831s1iqclm.fsf@gnu.org> <835zqhdwnk.fsf@gnu.org> <83tve1cd0d.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="43185"; 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: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 13 15:30:21 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 1hQB24-000B5F-VY for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 May 2019 15:30:21 +0200 Original-Received: from localhost ([127.0.0.1]:57514 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQB23-0007y6-WA for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 May 2019 09:30:20 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQB1x-0007xa-BH for bug-gnu-emacs@gnu.org; Mon, 13 May 2019 09:30:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQB1s-0004g0-4e for bug-gnu-emacs@gnu.org; Mon, 13 May 2019 09:30:13 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59149) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hQB1p-0004ee-P6 for bug-gnu-emacs@gnu.org; Mon, 13 May 2019 09:30:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hQB1p-0001m1-9n for bug-gnu-emacs@gnu.org; Mon, 13 May 2019 09:30:05 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 May 2019 13:30:05 +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.15577541836746 (code B ref 35508); Mon, 13 May 2019 13:30:05 +0000 Original-Received: (at 35508) by debbugs.gnu.org; 13 May 2019 13:29:43 +0000 Original-Received: from localhost ([127.0.0.1]:44460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQB1S-0001kk-H6 for submit@debbugs.gnu.org; Mon, 13 May 2019 09:29:42 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:60572) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQB1P-0001ka-42 for 35508@debbugs.gnu.org; Mon, 13 May 2019 09:29:40 -0400 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id x4DDTaxD017750; Mon, 13 May 2019 09:29:37 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 5E46B66227; Mon, 13 May 2019 09:29:36 -0400 (EDT) In-Reply-To: <83tve1cd0d.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 11 May 2019 16:54:42 +0300") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.1 X-NAI-Spam-Rules: 3 Rules triggered TRK_NCM1=0.1, EDT_SA_DN_PASS=0, RV6545=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6545> : inlines <7074> : streams <1821408> : uri <2843991> 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:159176 Archived-At: >> >> Other objections? >> > Thanks. Should we perhaps change 100 to 110 and 90 to 100? >> You mean make it go https://en.wikipedia.org/wiki/Up_to_eleven ? ;-) > Yes. The idea is that 100 is easier to remember than either 90 or > 110. How 'bout 42, then? More seriously: since I don't want `t` to be equivalent to the maximum depth, there are 2 numbers to be "remembered". In order to follow the same convention as add-function, I'd really much prefer to keep 100 as the maximum. As for the value corresponding to `t`, I'm definitely not wedded to 90, it could be any value in the ]0,100[ interval. 66? 50? 10? 99? =CF=80? >> Also I think it's important to use the same convention as for add-functi= on. > We can always document that in comments. Will do. > We could have checkdoc complain about values we don't want to see in > application code. I think that'd be more trouble than it's worth. But I'll warn against using 100 (or -100), in the doc. Stefan