nxhtml team mailing list archive
-
nxhtml team
-
Mailing list archive
-
Message #00041
Re: [Question #45721]: How to set nxhtml-mumamo in file
Question #45721 on nXhtml changed:
https://answers.launchpad.net/nxhtml/+question/45721
Status: Open => Answered
lborgman proposed the following answer:
Hi allan,
Yes, multi major modes are different, but that is not the trouble here.
It is rather an unnecessary optimization someone made long ago. If you
look at the message you get it says
Ignoring unknown mode `nxhtml-mumamo-mode'
So someone saved you from typing the five characters "-mode" ... ;-) --
I will try to get this changed in Emacs.
But anyway there is perhaps a much better way to handle this. I have
added something I call "Major Mode Priorities". This reorders the list
Emacs uses to choose major modes. This reordering is done according to
the option majmodpri-mode-priorities. In this list nxhtml-mumamo has
higher priority than php-mode.
You can find "Major Mode Priorities" in the nXhtml menu under "Tools".
Note that there is to ways to do the reordering: manually from the
menus, or by customizing the option majmodpri-sort-after-load.
--
You received this question notification because you are a member of
nXhtml, which is an answer contact for nXhtml.