[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: |
Boris |
Subject: |
Re: relative line numbers and folding: how to make they play along? |
Date: |
Thu, 14 Jul 2016 18:23:31 +0000 |
Hey Filipe,
`post-command-hook` exists today and you can verify it by calling `C-h v
post-command-hook`.
~ d12frosted
On Thu, Jul 14, 2016 at 7:51 PM Filipe Silva <filipe.silva@gmail.com> wrote:
> 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.
> >
> >
>
- Re: relative line numbers and folding: how to make they play along?, (continued)
- Message not available
- Re: relative line numbers and folding: how to make they play along?, Dan Espen, 2016/07/13
- Re: relative line numbers and folding: how to make they play along?, Stefan Monnier, 2016/07/13
- Re: relative line numbers and folding: how to make they play along?, Eli Zaretskii, 2016/07/14
- Re: relative line numbers and folding: how to make they play along?, Filipe Silva, 2016/07/14
- Re: relative line numbers and folding: how to make they play along?, Filipe Silva, 2016/07/14
- Re: relative line numbers and folding: how to make they play along?, Eli Zaretskii, 2016/07/14
- Re: relative line numbers and folding: how to make they play along?, Filipe Silva, 2016/07/14
- Re: relative line numbers and folding: how to make they play along?,
Boris <=
- Re: relative line numbers and folding: how to make they play along?, Stefan Monnier, 2016/07/14
- Re: relative line numbers and folding: how to make they play along?, Filipe Silva, 2016/07/14
- Re: relative line numbers and folding: how to make they play along?, Stefan Monnier, 2016/07/14
- Re: relative line numbers and folding: how to make they play along?, Filipe, 2016/07/14
- Re: relative line numbers and folding: how to make they play along?, Eli Zaretskii, 2016/07/15
- Re: relative line numbers and folding: how to make they play along?, Stefan Monnier, 2016/07/15
- Re: relative line numbers and folding: how to make they play along?, Eli Zaretskii, 2016/07/15
- Re: relative line numbers and folding: how to make they play along?, Stefan Monnier, 2016/07/15
- Re: relative line numbers and folding: how to make they play along?, Filipe Silva, 2016/07/15
- Message not available
- Re: relative line numbers and folding: how to make they play along?, Dan Espen, 2016/07/14