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: Eli Zaretskii
Subject: Re: Operation of format-mode-line
Date: Wed, 24 Jul 2024 15:49:30 +0300

> Date: Wed, 24 Jul 2024 12:45:50 +0000
> From: Heime <heimeborgia@protonmail.com>
> Cc: help-gnu-emacs@gnu.org
> 
> > > > > > > Returning the text properties from position 0 would ensure that 
> > > > > > > the properties one gets are associated with the the buffer name. 
> > > > > > > Is this correct when doing
> > > > > > > 
> > > > > > > (text-properties-at 0 (format-mode-line 
> > > > > > > mode-line-buffer-identification))
> > > > > > 
> > > > > > I don't understand your question, sorry. Is what correct?
> > > > > 
> > > > > I want to have buffer identification in the modeline without the 
> > > > > "%12b"
> > > > > so that the buffer name does not get truncated. What can I do ? Have
> > > > > been copying the text properties.
> > > > 
> > > > It depends on what you replace "%12b" with.
> > > 
> > > I want to replace it to a larger value.
> > 
> > 
> > You mean, instead of "%12b" something like "%20b"? Then you shouldn't
> > need to do anything.
> 
> Yes.  Maybe I do not need to do a lot, but the number is not going to change 
> all by itself.

I meant you don't need to do anything _except_ change the number,
i.e. replace "12" with "20" (or whatever number you want there).



reply via email to

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