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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ihor Radchenko <yantar92 <at> posteo.net>
Subject: bug#70671: closed (Re: bug#70671: 30.0.50; mhtml-mode ignores
 delay-mode-hooks)
Date: Fri, 03 May 2024 15:05:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#70671: 30.0.50; mhtml-mode ignores delay-mode-hooks

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 70671 <at> debbugs.gnu.org.

-- 
70671: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=70671
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Ihor Radchenko <yantar92 <at> posteo.net>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 70671-done <at> debbugs.gnu.org
Subject: Re: bug#70671: 30.0.50; mhtml-mode ignores delay-mode-hooks
Date: Fri, 03 May 2024 11:03:46 -0400
Thanks, pushed to `master`.
Closing,


        Stefan


[Message part 3 (message/rfc822, inline)]
From: Ihor Radchenko <yantar92 <at> posteo.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.50; mhtml-mode ignores delay-mode-hooks
Date: Tue, 30 Apr 2024 13:25:30 +0000
Hello,

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


In GNU Emacs 30.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version
 3.24.41, cairo version 1.18.0) of 2024-04-30 built on localhost
Repository revision: eaaa7b4a1aeaf978d5c12be81c175abcbe62bc02
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101013
System Description: Gentoo Linux


-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



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

Previous Next


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