help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: relative line numbers and folding: how to make they play along?


From: Eli Zaretskii
Subject: Re: relative line numbers and folding: how to make they play along?
Date: Thu, 14 Jul 2016 19:12:44 +0300

> From: Filipe Silva <filipe.silva@gmail.com>
> Date: Thu, 14 Jul 2016 12:58:20 -0300
> Cc: help-gnu-emacs@gnu.org
> 
> "Problem is, I don't really understand what's the desired effect shown
> there, exactly. That's why I asked to explain what do you mean by
> "relative line numbers". Does that mean "count lines that will be
> displayed, skipping the invisible ones"? Or does it mean "count lines
> shown in a window, where the first visible line in the window is
> always line 1"? Or does it mean something else?"
> 
> Eli, thanks. I think now I have described the feature with more clarity in my 
> responde to Dan (I think). If it is not
> clear yet, please let me now. 

Perhaps something like a post-command-hook that measures line numbers
with vertical-motion, and then sets up the corresponding numbers on
the margin, like linum-mode does, could do this.



reply via email to

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