Subject: bug#57003: 28.1.90; Can local variables be loaded before loading major mode?

From: Lars Ingebrigtsen <[email-masked]>
Date: Sat, 13 Aug 2022 13:52:52 +0200

Phil Sainty <[email-masked]> writes:

> Just as `kill-all-local-variables' runs `change-major-mode-hook'
> before doing anything else, it could run another hook at the end
> before returning.

I think that may be a promising approach -- it'd allow modes to opt in
to "early file-locals".