From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Where has a cool feature gone? Date: Sat, 23 Jul 2022 10:01:09 +0300 Message-ID: <83v8roia8a.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9222"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Davin Pearson Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jul 23 09:04:28 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 1oF9BZ-0002C7-SP for ged-emacs-devel@m.gmane-mx.org; Sat, 23 Jul 2022 09:04:26 +0200 Original-Received: from localhost ([::1]:41728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oF9BY-0005Go-FT for ged-emacs-devel@m.gmane-mx.org; Sat, 23 Jul 2022 03:04:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57644) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oF98S-00040M-1F for emacs-devel@gnu.org; Sat, 23 Jul 2022 03:01:13 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34766) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oF98R-0004Hn-IT; Sat, 23 Jul 2022 03:01:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=2wCckBT5n+xjfcV/8WUa2M9bUJZEejpVR/mR0n95560=; b=RN8lVBz2iGik smVglaKmv7X7i5bFvRgdpmcfWC27SYRp51+hfEVzd2HomNNK75I/XnGRUKjNQdj6Ed9taBY6HXnHA w+9Nz92RrFRqM7/UTbcoS8lh7ghc5QmVKyGIrhYe+Q9JrX6WUXN/eNjq2+uJBDW4Nw9r+x28OKjNm HZiKdVaQ91LO0gLHcS84ocYtmv+DGDIksiqJncTzYidACIxVXYa4ruyNuxxMBuMy2Wydl9sRBO1Sk g/Sntj0/lWwCnnjRmREc2pEYII83OCrXEl/02Gq6M42t0EtLOntgVNHFATB26xLlnSp0Y3tWc1Mf7 F4WK+uyX1Hay5+lleev3QQ==; Original-Received: from [87.69.77.57] (port=1213 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oF98Q-0003KU-SG; Sat, 23 Jul 2022 03:01:11 -0400 In-Reply-To: (message from Davin Pearson on Sat, 23 Jul 2022 17:00:13 +1200) 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:292503 Archived-At: > From: Davin Pearson > Date: Sat, 23 Jul 2022 17:00:13 +1200 > > 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. This is a new feature since Emacs 27.