From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Davin Pearson Newsgroups: gmane.emacs.devel Subject: Where has a cool feature gone? Date: Sat, 23 Jul 2022 17:00:13 +1200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000001e469405e471d429" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13845"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jul 23 07:02:41 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oF7Hk-0003S5-9u for ged-emacs-devel@m.gmane-mx.org; Sat, 23 Jul 2022 07:02:40 +0200 Original-Received: from localhost ([::1]:55036 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oF7Hi-0005M9-W1 for ged-emacs-devel@m.gmane-mx.org; Sat, 23 Jul 2022 01:02:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42762) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oF7Fe-0003wK-8j for emacs-devel@gnu.org; Sat, 23 Jul 2022 01:00:30 -0400 Original-Received: from mail-yw1-x112d.google.com ([2607:f8b0:4864:20::112d]:38408) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oF7Fb-0000Ui-7j for emacs-devel@gnu.org; Sat, 23 Jul 2022 01:00:28 -0400 Original-Received: by mail-yw1-x112d.google.com with SMTP id 00721157ae682-31e45527da5so65395707b3.5 for ; Fri, 22 Jul 2022 22:00:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=UD+wryeLhG+ZeVDe0R46Ol8r+59N2wLOMy9vLJHWfIg=; b=AybxsgUDikhP5aPnw5TOk1L4SOhjkfKjctPGKHnl6h2h2ED1AEFFXzAFJxfLqhXw18 7pQGYXEVifs3KUwlIpiLb9+GhkSG+tIyLNKbn6KTzBBEHwuOfkOzQ+MLv06b/6HYbyfu BRW0qQHiKeC+S+Kubb8KuTxH79gyJl9VfwQ35dFva+rP79hFSbjEkyWPhTXU0Vv4D45J xCZbZXnkPco+ChLONS8owxY59hmLuJuWj0utXZlqA5c4ZkKfBtqnXmxxaZN/2Sm7Tw3t 2fcm+O7PcNbfOQamUZwRYa1Xw2iTavO4TU13olok0ShPiePzGJyRc7GiU+LbTYZcRFyd mreA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=UD+wryeLhG+ZeVDe0R46Ol8r+59N2wLOMy9vLJHWfIg=; b=AbHnpb5W7lvua7EqVOA48xrZiBY2PSVZBgWw19JM3AyQIxjmAtEMGS2W3kWjbekeNv 8CKksBf8JUmyOeKwvufPW0wyZ4A7eWGcqtIxslZ3OHo1SG6zqV7LLmarhFtEBRj+mxh0 kD8KPudGHj8NBCKfficcobQTxD69jRMaG5jUwPWoEztzF/ydJMlJ0E6fLB+jn8TGXb0M hDOLmIxCVl/Whkm5C5Z20/jqSIkCklSbbeLkZdCoY+D562fkAOEludtpe5uSqF7k1FzZ 0T7VlDR6jUk08PuTynZGDzxP78UTFfven7Vpq2CjQYVh/Sw8bf+f7Zi/gXi7v5lpCxNE A4Gw== X-Gm-Message-State: AJIora+JLfiVOMN1ktIxMHQeHblbkbquCRwxbLXS8JMrmStZeooih7y/ nUYhpwhRkeutbKq+itwAuUd/q+IB5+RupwaYK8A7HUUYfMk= X-Google-Smtp-Source: AGRyM1t864yEhkeTPDzoFhCSCBkIK3ptEhYFs7uWJLMmoFYvSxZ/2gY5Z/Lt9pueYAenUR9cgUhz8XGVw2ooO5LeiXI= X-Received: by 2002:a0d:ed83:0:b0:31d:3928:31b6 with SMTP id w125-20020a0ded83000000b0031d392831b6mr2606837ywe.98.1658552424743; Fri, 22 Jul 2022 22:00:24 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::112d; envelope-from=davin.pearson@gmail.com; helo=mail-yw1-x112d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:292496 Archived-At: --0000000000001e469405e471d429 Content-Type: text/plain; charset="UTF-8" In another version of emacs the third argument to add-hook can be a number between -70 and 70, like so: (add-hook 'find-file-hook 'dmp-find-file-hook 70) In the version of emacs that I am currently using (26.3) it turns non nil third arguments to t otherwise leave nil as nil. Having numbers for the third argument seems like you have more flexibility in order of the sequences of hooks to your hook variables. Do I need to upgrade the Emacs version? Ubuntu tells me I am using the most up to date version of Emacs. --0000000000001e469405e471d429 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

In another version of emacs the third argument to add-= hook can be a
number between -70 and 70, like so:

(add-hook '= find-file-hook 'dmp-find-file-hook 70)

In the version of emacs t= hat I am currently using (26.3) it turns non
nil third arguments to t ot= herwise leave nil as nil.

Having numbers for the third argument seem= s like you have more
flexibility in order of the sequences of hooks to y= our hook variables.

Do I need to upgrade the Emacs version?=C2=A0 Ub= untu tells me I am using the
most up to date version of Emacs.
--0000000000001e469405e471d429--