emacs-devel
[Top][All Lists]
Advanced

[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 12:45:41 -0400

On Thu, 18 May 2017 19:18:12 +0300 Eli Zaretskii <address@hidden> wrote:
> > Date: Thu, 18 May 2017 12:01:16 -0400
> > From: "Perry E. Metzger" <address@hidden>
> > Cc: address@hidden, address@hidden,
> > address@hidden
> > 
> > It occurs to me that there's another possibility, which is to
> > allow the user to bind a function to do the position calculation
> > so that everyone can get whatever flavor of calculation they
> > want.  
> 
> 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?

Perry
-- 
Perry E. Metzger                address@hidden



reply via email to

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