bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#38111: 27.0.50; globalized-minor-mode not enabled on get-buffer-crea


From: Lars Ingebrigtsen
Subject: bug#38111: 27.0.50; globalized-minor-mode not enabled on get-buffer-create
Date: Sun, 20 Sep 2020 13:06:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Juri Linkov <juri@linkov.net> writes:

>>> The following patch fixes this, but I'm still not sure if we need
>>> to grep all occurrences of get-buffer-create and add set-buffer-major-mode
>>> everywhere?
>>
>> This is a problem with all globalized minor modes, right?
>
> Yes, with all globalized minor modes.
>
> So I installed the patch that fixes this particular case,
> and leaving this bug report open waiting for a more general solution.

I don't think a general solution is really possible here.  We don't want
any get-buffer-create to run the globalised modes -- that would be slow
and awkward.  We only want those to run in buffers that users actually
end up using, and I think that's something the modes themselves must
somehow decide.

So I don't think there's any realistic progress to be made in this bug
report, and I'm closing it.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]