>>> "JK" == Joost Kremers writes: > On Tue, Apr 27 2021, Uwe Brauer wrote: >>> (setq mode-line-format >>> '("%e" mode-line-front-space mode-line-mule-info mode-line-client mode-line-modified mode-line-remote >>> mode-line-frame-identification >>> mode-line-buffer-identification " " >>> mode-line-position >>> (vc-mode vc-mode) mode-line-misc-info " " >>> mode-line-modes mode-line-end-spaces)) >> >> Thanks, I am not entirely sure I understand your setting but I just >> copied in my init file and restarted emacs. >> >> However when I open say a LaTeX file, the battery display is sill at the >> end of the modeline, and therefore not visible. > `mode-line-format` automatically becomes buffer-local when set, so using `setq` > won't set the global value. Try `setq-default`. Ok, thanks, I should have checked before asking, sorry > The battery info is contained in `mode-line-misc-info`, you can move it around > if the above setting doesn't work for you. Note, though, that > `mode-line-misc-info` may contain more information than just the battery status, > which will get moved around as well. Moving just the battery display would be a > bit more involved. Well I think the configuration proposed, rather satisfies my needs. Thanks to both of you