I want to make names of major modes shorter. No longer than three characters. Is there any packages that do something like that?
It's better to shorten mode names in automatic fashion, so one doesn't need to constantly manage this thing manually. I'm ready to consider any principle of shortening. Most trivial would be to use abbreviations, so emacs-lisp-mode
would become el
, for example. interactive-haskell-mode
would become ih
. Not bad at all for a start.
I also like Unicode characters like Greek letters and other stuff to be mode names, currently I use sort of hack to “rename” modes, but maybe there is full featured package to do it?
Clarification: the question is about mode names (values of variable mode-name
usually), they are displayed in mode line. I want to make major mode “lighters” shorter.
diminish
, but that's for minor modes. For my most frequently used modes, I simply set themode-name
in a mode hook to something very short. That takes care of 90% of my buffers with minimal setup.mode-name
is used in more than the mode-line. There could be solutions to the mode-line problem that do not changemode-name
.