help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Operation of format-mode-line


From: Heime
Subject: Re: Operation of format-mode-line
Date: Thu, 25 Jul 2024 19:23:19 +0000





Sent with Proton Mail secure email.

On Friday, July 26th, 2024 at 6:18 AM, Michael Heerdegen via Users list for the 
GNU Emacs text editor <help-gnu-emacs@gnu.org> wrote:

> Heime heimeborgia@protonmail.com writes:
> 
> > (defun vodil-bfnwidth (width)
> > (setq mode-line-buffer-identification
> > (propertized-buffer-identification (format "%%%db" width))))
> > 
> > (defvar vodil-deploy-bfname nil "")
> > 
> > (unless vodil-deploy-bfname
> > (vodil-bfnwidth 5))
> > 
> > (setq-default mode-line-format
> > '( "%e"
> > (:eval (if vodil-deploy-bfname
> > vodil-panelit-bfname
> > mode-line-buffer-identification)))) )
> 
> 
> You only have a visible effect if you add something after the buffer
> identification.
> 
> 
> Michael.

What you mean add something after the buffer identification.
Why all this complication.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]