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

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

bug#5153: 23.1.50; define-global-minor-mode and a new fundamental buffer


From: Stefan Monnier
Subject: bug#5153: 23.1.50; define-global-minor-mode and a new fundamental buffer
Date: Tue, 08 Dec 2009 08:53:55 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

> It seems that the global minor mode defined by
> define-global-minor-mode doesn't work in a newly created
> buffer of fundamental mode.

> Isn't this a bug?

I think it's not, tho it's obviously a misfeature.  I think the best
answer is to say that a buffer that is intended to be displayed to the
user should call a major-mode function.  If there's no specific
major-mode for it, it should call fundamental-mode.


        Stefan





reply via email to

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