[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: modeline: move battery indicator as provided by (display-battery-mod
From: |
Uwe Brauer |
Subject: |
Re: modeline: move battery indicator as provided by (display-battery-mode) |
Date: |
Tue, 27 Apr 2021 13:02:04 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
>>> "PK" == Philip Kaludercic <philipk@posteo.net> writes:
> Uwe Brauer <oub@mat.ucm.es> writes:
>> Can I place the battery indicator say just behind the column/line
>> indicator?
> You'd have to customize mode-line-format for that.
> This would move all "auxiliary information" before the major mode
> indicator:
> (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.
I am using a freshly compiled GNU emacs from master (date 25 of April
2021).
smime.p7s
Description: S/MIME cryptographic signature