From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Mauro Aranda Newsgroups: gmane.emacs.bugs Subject: bug#21563: 24.5; discourage load-hook variables Date: Thu, 16 Jan 2020 08:49:50 -0300 Message-ID: References: <39185.7955.374134.22021@gargle.gargle.HOWL> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000de7262059c406cc8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="47264"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 21563@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 16 12:51:17 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 1is3gC-000C7k-Ge for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 Jan 2020 12:51:16 +0100 Original-Received: from localhost ([::1]:40462 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1is3gB-0004QF-Dc for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 Jan 2020 06:51:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57698) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1is3g2-0004Q7-2a for bug-gnu-emacs@gnu.org; Thu, 16 Jan 2020 06:51:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1is3fy-0004Z8-8W for bug-gnu-emacs@gnu.org; Thu, 16 Jan 2020 06:51:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59072) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1is3fy-0004Z0-4p for bug-gnu-emacs@gnu.org; Thu, 16 Jan 2020 06:51:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1is3fy-0002qc-15 for bug-gnu-emacs@gnu.org; Thu, 16 Jan 2020 06:51:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <39185.7955.374134.22021@gargle.gargle.HOWL> Resent-From: Mauro Aranda Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Jan 2020 11:51: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.157917541810898 (code B ref 21563); Thu, 16 Jan 2020 11:51:01 +0000 Original-Received: (at 21563) by debbugs.gnu.org; 16 Jan 2020 11:50:18 +0000 Original-Received: from localhost ([127.0.0.1]:36812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1is3fD-0002pf-5E for submit@debbugs.gnu.org; Thu, 16 Jan 2020 06:50:18 -0500 Original-Received: from mail-lj1-f174.google.com ([209.85.208.174]:37154) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1is3f7-0002pE-5J for 21563@debbugs.gnu.org; Thu, 16 Jan 2020 06:50:13 -0500 Original-Received: by mail-lj1-f174.google.com with SMTP id o13so22266239ljg.4 for <21563@debbugs.gnu.org>; Thu, 16 Jan 2020 03:50:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=rbcgWBJ3fXqMwf3enwFhEOkAEjnYOzl+KRip2K8tdws=; b=NTHiXB5S2HeggAMdeqA4rqGRqnuqm2122xguU95oeR/MO9+M9tNnKTa+lm3Ju2c/T+ AG750Bp/mtTRWZ+XhLpKQlFJVur3EwoOD+m2t5LMcXXhp1sK7O9ecHdljM9L/1ryAtof 3wSM2kEoYSqTOYMe+S/yqEWAGrhfs/tQmv/qJz+3DCv+0lE2LG/F9iWmw7y1HVNPLA2A /yNFR20mYX/dbtVJyoNnSSizFWff/NsxDyRdtwlV8mYpd4ZgNU+aNHqNAvzaKy0uHHvM 7hkiDhUXoDvmYgdZUgRg51bAoY/8KCC63RopG629cJ1E1d9+la2PmF0ioQebI181iOiC HSnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=rbcgWBJ3fXqMwf3enwFhEOkAEjnYOzl+KRip2K8tdws=; b=IBkjJsjU9QXYk4bai4exqjE0d//glyKmzLdNfNjqWDY2ZPHG9q9/ZDb1BxjO3ixXvg IfvC4e9XhIG0F7sJ9SBj3mUelkLVFLo6jLPRoMj1zrYXff9gvYBATqj/eui/3gUXrstX +mg2uMQBuW5nXAy+SonDUOe9UXsq1rE1dq78T4/x+bgJzHcD7cl3GxLVrjB5dk9HabxK CTHQkZKEUXyC9UtsZg008EE0GtT3jiGwfz8Mnx/B0yEDyoMw/x27269Q3PM30W+ZBf/e 9ML0TtsjDy/5sQGy4ykODavzW+aPYg5mVhzQ2R8s1C/yHTpC0r1hEA7eo+OThj6x4zjY sNRw== X-Gm-Message-State: APjAAAUcOXpbQFiVFVXVVucikPSKlkNIDHF27Z9W/nvVtj6OTG9ldVhp 5itRK3ZuVbddm09GNy7nY3xOANLX5U+8N/zIJjImyBghJT4= X-Google-Smtp-Source: APXvYqx3jXsFq5PbfMsbinC5KzVYtQ+n3hUoMeTjBjxCrifNYmhqAY+EzbgYr+amzfyS9sbmdEBxgVMBhGGQB2b/SzY= X-Received: by 2002:a2e:98c4:: with SMTP id s4mr2089917ljj.102.1579175401909; Thu, 16 Jan 2020 03:50:01 -0800 (PST) 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:174705 Archived-At: --000000000000de7262059c406cc8 Content-Type: text/plain; charset="UTF-8" Stefan Kangas writes: > I now noticed that there is a bunch of hooks in eshell which seems to > never be called with run-hooks? For example, eshell-alias-load-hook > or eshell-glob-load-hook. > > Am I missing something here? eshell-mode runs every necessary eshell-*-load-hook. Those that belong to eshell modules, like the ones you mentioned, run only if the module is activated (when it is a member of the customizable option eshell-modules-list). --000000000000de7262059c406cc8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Stefan Kangas <ste= fan@marxist.se> writes:

> I now noticed that there is a bu= nch of hooks in eshell which seems to
> never be called with run-hook= s?=C2=A0 For example, eshell-alias-load-hook
> or eshell-glob-load-ho= ok.
>
> Am I missing something here?

eshell-mode runs ev= ery necessary eshell-*-load-hook.=C2=A0 Those that belong
to eshell modu= les, like the ones you mentioned, run only if the module
is activated (w= hen it is a member of the customizable option
eshell-modules-list). --000000000000de7262059c406cc8--