[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 05:26:28 +0300 |
> Date: Tue, 23 Jul 2024 19:13:32 +0000
> From: Heime <heimeborgia@protonmail.com>
> Cc: help-gnu-emacs@gnu.org
>
> On Wednesday, July 24th, 2024 at 7:07 AM, Eli Zaretskii <eliz@gnu.org> wrote:
>
> > > Date: Tue, 23 Jul 2024 18:56:47 +0000
> > > From: Heime heimeborgia@protonmail.com
> > > Cc: help-gnu-emacs@gnu.org
> > >
> > > > > Seems that the text properties are the same for each character.
> > > >
> > > > They are not.
> > >
> > > If the buffer name is provodilac.el, what is the difference in text
> > > proporties
> > > between the different characters ? I see there are faces and code for
> > > mouse
> > > action whether I use position 0, 1, 2, etc.
> >
> >
> > All the characters that belong to the buffer name indeed have the same
> > properties. But not all of the characters of the string returned by
> > format-mode-line.
>
> 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?
- Operation of format-mode-line, Heime, 2024/07/22
- Re: Operation of format-mode-line, Heime, 2024/07/22
- 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, Heime, 2024/07/23
- 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 <=
- 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, 2024/07/24
- 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