[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:13:04 -0400 |
On Thu, 18 May 2017 22:43:08 +0300 Eli Zaretskii <address@hidden> wrote:
> > Date: Thu, 18 May 2017 12:45:41 -0400
> > From: "Perry E. Metzger" <address@hidden>
> > Cc: address@hidden, address@hidden,
> > address@hidden
> > > The mode-line format already supports :eval, so this should
> > > already be possible?
> >
> > I meant just having a knob that could be set to a function that
> > would run and produce the value for %p rather than changing
> > mode-line-format with :eval. Though maybe this would be too
> > slow?
>
> I don't mind, I just don't see a lot of difference between having a
> knob and using :eval directly, for someone who can write a Lisp
> function that would work in this context.
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?
--
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"., Kaushal Modi, 2017/05/15
- Re: Proposal: new mode-line `%'-construct %o meaning "Degree of travel of window through buffer"., Noam Postavsky, 2017/05/15
- 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 <=
- 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/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