Look at the bottom of the Emacs frame, there is a distinctive line above the minibuffer, it’s
mode-line. This displays various information about what is going on in the buffer, such as whether there are unsaved changes, the editing modes that are in use, the current line number, and so forth.
After installed several add-ons, you may find that the
mode-line occupied by the
minor-mode indicators. As follow:
Not all of the indicators are useful for me, even more, they (but not the minor mode) pollute the mode-line, so I want to save the limited spaces.
First, you should add this function to your .emacs.
1 2 3
Then, customize the minor mode as follow:
1 2 3 4
diminish is a package that diminishes the amount of space taken on the mode line by the names of minor modes. After installed it handy, costomize as follow:
1 2 3 4