[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: |
Wed, 24 Jul 2024 13:08:15 +0000 |
On Thursday, July 25th, 2024 at 12:49 AM, Eli Zaretskii <eliz@gnu.org> wrote:
> > 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).
How can I do it with elisp code ? I am constructing my own modeline.
- Re: Operation of format-mode-line, (continued)
- Re: Operation of format-mode-line, Eli Zaretskii, 2024/07/23
- Re: Operation of format-mode-line, Heime, 2024/07/23
- Re: Operation of format-mode-line, Eli Zaretskii, 2024/07/23
- Re: Operation of format-mode-line, Eli Zaretskii, 2024/07/23
- Re: Operation of format-mode-line, Heime, 2024/07/24
- Re: Operation of format-mode-line, Eli Zaretskii, 2024/07/24
- Re: Operation of format-mode-line, Heime, 2024/07/24
- Re: Operation of format-mode-line, Eli Zaretskii, 2024/07/24
- Re: Operation of format-mode-line, Heime, 2024/07/24
- Re: Operation of format-mode-line, Eli Zaretskii, 2024/07/24
- Re: Operation of format-mode-line,
Heime <=
- Re: Operation of format-mode-line, Eli Zaretskii, 2024/07/24
- Re: Operation of format-mode-line, Michael Heerdegen, 2024/07/24
- Re: Operation of format-mode-line, Heime, 2024/07/24
- Re: Operation of format-mode-line, Yuri Khan, 2024/07/24
- Re: Operation of format-mode-line, Heime, 2024/07/24
- Re: Operation of format-mode-line, Eli Zaretskii, 2024/07/25
- Re: Operation of format-mode-line, Heime, 2024/07/25
- Re: Operation of format-mode-line, Yuri Khan, 2024/07/25
- Re: Operation of format-mode-line, Heime, 2024/07/25
- Re: Operation of format-mode-line, Yuri Khan, 2024/07/25