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: Filipe Silva
Subject: Re: relative line numbers and folding: how to make they play along?
Date: Thu, 14 Jul 2016 13:51:13 -0300

Great Eli. Does that post-command-hook exist today in stock emacs?

Do you agree with the usefulness of the feature?

On Thu, Jul 14, 2016 at 1:12 PM, Eli Zaretskii <eliz@gnu.org> wrote:

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