Don't advice doom-modeline-set-selected-window (also bad performance).
And updating the buffer-file-name after selecting window in focus-in-hook (so
append it to the hook, after doom-modeline-set-selected-window).
See #133 and #114#issuecomment-469060334.
+ Initializes the modeline segment on hack-local-variables-hook, which
is triggered as late as possible in the major mode activation process,
when file/dir-local variables have been processed. This allows users
to exploit file/dir-local variables to modify the behavior of this
mode-line segment.
+ Add doom-modeline-{before,after}-update-env-hook hooks. Useful for
injecting environment detection for things like conda and virtualenv.
+ Add customizable executable variables for each language. e.g.
doom-modeline-env-python-executable
+ Simplify language env definition into a macro.
+ Replaces the version string with "..." while we wait for a new one.
+ Add support for enh-ruby-mode.
This includes a configuration variable that allows the user to customize
the display of the name. The segment is only displayed in the 'special
modeline due to space. Later, we'll add a irc notification for the 'main
modeline.
This is a new segment for `mu4e-alert' that shows unread emails in the
modeline. For now, we enable it where github notifications are enabled
and make it a simple number.
When experimenting with adding an email icon, the modeline seemed a bit
too crowed so there is no icon for this number. We can perhaps add a
flag later to toggle that. Alternatively, we could expose more options
for the `doom-modeline-mu4e-formatter' that could tweak the number and
the icon.