[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Proposal: new mode-line `%'-construct %o meaning "Degree of travel o
From: |
Perry E. Metzger |
Subject: |
Re: Proposal: new mode-line `%'-construct %o meaning "Degree of travel of window through buffer". |
Date: |
Thu, 18 May 2017 16:51:24 -0400 |
On Thu, 18 May 2017 23:25:58 +0300 Eli Zaretskii <address@hidden> wrote:
> > Date: Thu, 18 May 2017 16:13:04 -0400
> > From: "Perry E. Metzger" <address@hidden>
> > Cc: address@hidden, address@hidden,
> > address@hidden
> >
> > Perhaps I don't understand the difference. I thought that
> > mode-line-format required that I specify the entire mode line from
> > scratch, while I'm just proposing that if a particular function is
> > bound that %p would override its method of calculating this one
> > value. Am I mistaken on the former matter?
>
> Yes, I think you are mistaken. See bindings.el, the mode line
> already has quite a few variables that together create the
> display. This feature will add another variable, or reuse an
> existing one. That variable can be computed using :eval.
>
Ah, so you're suggesting that what one could do would be to put
the :eval into one of those variables rather than into
mode-line-format itself.
Perry
--
Perry E. Metzger address@hidden
- Re: Proposal: new mode-line `%'-construct %o meaning "Degree of travel of window through buffer"., (continued)
- Re: Proposal: new mode-line `%'-construct %o meaning "Degree of travel of window through buffer"., Clément Pit-Claudel, 2017/05/15
- Re: Proposal: new mode-line `%'-construct %o meaning "Degree of travel of window through buffer"., Perry E. Metzger, 2017/05/17
- Re: Proposal: new mode-line `%'-construct %o meaning "Degree of travel of window through buffer"., Eli Zaretskii, 2017/05/18
- Re: Proposal: new mode-line `%'-construct %o meaning "Degree of travel of window through buffer"., Perry E. Metzger, 2017/05/18
- Re: Proposal: new mode-line `%'-construct %o meaning "Degree of travel of window through buffer"., Eli Zaretskii, 2017/05/18
- Re: Proposal: new mode-line `%'-construct %o meaning "Degree of travel of window through buffer"., Perry E. Metzger, 2017/05/18
- Re: Proposal: new mode-line `%'-construct %o meaning "Degree of travel of window through buffer"., Eli Zaretskii, 2017/05/18
- Re: Proposal: new mode-line `%'-construct %o meaning "Degree of travel of window through buffer"., Perry E. Metzger, 2017/05/18
- Re: Proposal: new mode-line `%'-construct %o meaning "Degree of travel of window through buffer"., Eli Zaretskii, 2017/05/18
- Re: Proposal: new mode-line `%'-construct %o meaning "Degree of travel of window through buffer".,
Perry E. Metzger <=
- Re: Proposal: new mode-line `%'-construct %o meaning "Degree of travel of window through buffer"., Eli Zaretskii, 2017/05/19
- Re: Proposal: new mode-line `%'-construct %o meaning "Degree of travel of window through buffer"., Kaushal Modi, 2017/05/21
- Re: Proposal: new mode-line `%'-construct %o meaning "Degree of travel of window through buffer"., Eli Zaretskii, 2017/05/22
- Re: Proposal: new mode-line `%'-construct %o meaning "Degree of travel of window through buffer"., Kaushal Modi, 2017/05/22
- Re: Proposal: new mode-line `%'-construct %o meaning "Degree of travel of window through buffer"., Alan Mackenzie, 2017/05/22
- Re: Proposal: new mode-line `%'-construct %o meaning "Degree of travel of window through buffer"., Kaushal Modi, 2017/05/22
Re: Proposal: new mode-line `%'-construct %o meaning "Degree of travel of window through buffer"., Eli Zaretskii, 2017/05/15