GNU bug report logs - #70671
30.0.50; mhtml-mode ignores delay-mode-hooks

Previous Next

Package: emacs;

Reported by: Ihor Radchenko <yantar92 <at> posteo.net>

Date: Tue, 30 Apr 2024 13:26:01 UTC

Severity: normal

Found in version 30.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ihor Radchenko <yantar92 <at> posteo.net>, Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 70671 <at> debbugs.gnu.org
Subject: bug#70671: 30.0.50; mhtml-mode ignores delay-mode-hooks
Date: Thu, 02 May 2024 12:51:38 +0300
> From: Ihor Radchenko <yantar92 <at> posteo.net>
> 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 <at> localhost

Stefan, WDYT?




This bug report was last modified 1 year and 15 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.