[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: Eli Zaretskii
Subject: Re: Proposal: new mode-line `%'-construct %o meaning "Degree of travel of window through buffer".
Date: Thu, 18 May 2017 23:25:58 +0300

> 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.

reply via email to

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