c-submode-indicators at wrong place in minor-mode-alist

From:

Stefan Monnier

Subject:

c-submode-indicators at wrong place in minor-mode-alist

Date:

Wed, 14 Dec 2005 16:41:31 -0500

User-agent:

Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

After opening a C file and activating smerge-mode, I get a modeline
that reads:
............... (C SMerge/l Fly Abbrev)
The /l comes from c-submode-indicators and has nothing to do with SMerge.
The problem is that SMerge was loaded after C mode was turned on so it ended
up in front of c-submode-indicators in minor-mode-alist.
I think that c-submode-indicators should either be put in mode-line-process,
or that c-mode sets mode-name to '("C" c-submode-indicators).
Stefan