From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#21563: 24.5; discourage load-hook variables Date: Wed, 15 Jan 2020 17:06:31 -0500 Message-ID: References: <39185.7955.374134.22021@gargle.gargle.HOWL> <87tv4w1poj.fsf@marxist.se> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="95606"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Cc: Roland Winkler , 21563@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 15 23:07:11 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1irqoh-000OoE-9B for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 15 Jan 2020 23:07:11 +0100 Original-Received: from localhost ([::1]:33132 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irqog-0002hj-8U for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 15 Jan 2020 17:07:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32889) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irqoZ-0002hS-28 for bug-gnu-emacs@gnu.org; Wed, 15 Jan 2020 17:07:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1irqoY-0004yH-0e for bug-gnu-emacs@gnu.org; Wed, 15 Jan 2020 17:07:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58686) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1irqoX-0004xr-TJ for bug-gnu-emacs@gnu.org; Wed, 15 Jan 2020 17:07:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1irqoX-0005dQ-NB for bug-gnu-emacs@gnu.org; Wed, 15 Jan 2020 17:07:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 Jan 2020 22:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21563 X-GNU-PR-Package: emacs Original-Received: via spool by 21563-submit@debbugs.gnu.org id=B21563.157912600621638 (code B ref 21563); Wed, 15 Jan 2020 22:07:01 +0000 Original-Received: (at 21563) by debbugs.gnu.org; 15 Jan 2020 22:06:46 +0000 Original-Received: from localhost ([127.0.0.1]:36426 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1irqoG-0005cu-8e for submit@debbugs.gnu.org; Wed, 15 Jan 2020 17:06:46 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1irqoB-0005ce-N6 for 21563@debbugs.gnu.org; Wed, 15 Jan 2020 17:06:43 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44592) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1irqo6-0004ei-CC; Wed, 15 Jan 2020 17:06:34 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1irqo3-0007TR-HB; Wed, 15 Jan 2020 17:06:31 -0500 X-Spook: Air Marshal Authorities Telecommunications Storm PLF X-Ran: v`}B;Po7_1Q%eG'\9;{np^vwWjueLxn-Xft_x'ep40\1[o{Hu9]5}\':bbC^Epv4dbIHa% X-Hue: blue X-Attribution: GM In-Reply-To: <87tv4w1poj.fsf@marxist.se> (Stefan Kangas's message of "Wed, 15 Jan 2020 20:32:12 +0100") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:174676 Archived-At: Stefan Kangas wrote: > This suggests that all such variables should be considered obsolete, > since eval-after-load is cleaner. I think I agree, but I have only > ever used eval-after-load so I might be missing something. > > I would suggest to declare the above variables obsolete and point > users to eval-after-load instead. I did this years ago for a few modes; eg dd210a6, 041e909, but never got round to doing the rest. As I said in https://debbugs.gnu.org/24491#8, I see no need to keep any *-load-hooks.