[Top][All Lists]

[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 E. Metzger                address@hidden

reply via email to

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