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.bugs Subject: bug#70671: 30.0.50; mhtml-mode ignores delay-mode-hooks Date: Thu, 02 May 2024 12:51:38 +0300 Message-ID: <86ttjglexh.fsf@gnu.org> References: <87bk5r6kz9.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22974"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70671@debbugs.gnu.org To: Ihor Radchenko , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 02 11:52:51 2024 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 1s2T7S-0005m9-TV for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 May 2024 11:52:50 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s2T7K-0006Iz-U6; Thu, 02 May 2024 05:52:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s2T7J-0006Im-DC for bug-gnu-emacs@gnu.org; Thu, 02 May 2024 05:52:41 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s2T7J-0000IO-5H for bug-gnu-emacs@gnu.org; Thu, 02 May 2024 05:52:41 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s2T7e-0006Kx-Gd for bug-gnu-emacs@gnu.org; Thu, 02 May 2024 05:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 May 2024 09:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70671 X-GNU-PR-Package: emacs Original-Received: via spool by 70671-submit@debbugs.gnu.org id=B70671.171464355124347 (code B ref 70671); Thu, 02 May 2024 09:53:02 +0000 Original-Received: (at 70671) by debbugs.gnu.org; 2 May 2024 09:52:31 +0000 Original-Received: from localhost ([127.0.0.1]:42746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s2T79-0006Kd-7a for submit@debbugs.gnu.org; Thu, 02 May 2024 05:52:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40542) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s2T77-0006KX-HA for 70671@debbugs.gnu.org; Thu, 02 May 2024 05:52:30 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s2T6d-0000Ed-30; Thu, 02 May 2024 05:52:00 -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=8dTiFxc+5Q0zutb9QoeK9Uv5BvJCEgVrCQUhWTy7v2M=; b=a/f2FEawlTek PwhqR+aJUmD/PnL27RqwrmVkGg7ezFxgCqR1AG1C2UXtSTwGKP6XjBUbxcuOZoHoSfHQYnmWnIHJl KKZ+HgEJPWA4Ojow4HRYEqLLkPQKTCcapvbuDJ1paioOsO0biln/rOPIOeY5rAnBaxFT/fRoezykZ O0EJ7hA1Rz4q7/4MOC428VRm7QUUvv9GcTnaGugBMV7yZmtx6261ozfRvoouIp4wTmvIJi8ddRzrv BWkgWAbPn+R7Ol5MCGmcOmvmGL5ZnEKUIEDOED8Hg1b3zB9HP4tLz98uEYYONPbxZxIZZTy3Iee1O 0rg7/3TphFnkfS778+G2Ow==; In-Reply-To: <87bk5r6kz9.fsf@localhost> (message from Ihor Radchenko on Tue, 30 Apr 2024 13:25:30 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:284297 Archived-At: > From: Ihor Radchenko > Date: Tue, 30 Apr 2024 13:25:30 +0000 > > mhtml-mode unconditionally runs prog-mode-hooks: > > ;; This is sort of a prog-mode as well as a text mode. > (run-hooks 'prog-mode-hook) > > As a result, running > > (delay-mode-hooks (mhtml-mode)) does not prevent prog-mode-hook from > being delayed. > > May mhtml-mode be changed to use (run-mode-hooks 'prog-mode-hook) > instead, so that `delay-mode-hooks' is honoured? > > > Original report: > https://orgmode.org/list/87tu21hsuk.fsf@localhost Stefan, WDYT?