[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: |
Wed, 13 Jul 2016 19:33:34 -0300 |
Eli, sorry, I did not answer your question because everybody on other
forums, github, etc... told me that I would need to install a third party
package to do what I showed and even them, it would not play along with
folding.
So I wanted to know if you could, starting from emacs -Q, construct a lisp
code that achieved the effect shown here:
https://cloud.githubusercontent.com/assets/8352747/16707876/4bd64c22-45b5-11e6-8d13-ae9c994cbb02.png
If it can't be done, I think it is the case to issue a feature request for
that.
cheers,
Filipe
On Wed, Jul 13, 2016 at 5:23 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> > From: Stefan Monnier <monnier@iro.umontreal.ca>
> > Date: Wed, 13 Jul 2016 16:10:30 -0400
> >
> > I think to implement relative-visual-linum-mode efficiently, we'd need
> > help from the display engine. E.g.:
> > - First perform redisplay of the window.
> > - then, go through the window, visual-line by visual-line
> > and add something in the margin.
> > - then update the margin part of the matrices.
>
> AFAIU, this would cause a momentary flickering of an incorrect display
> (without the line numbers), until they are computed and displayed.
>
> And I still don't see any answer to my question, alas.
>
>
- relative line numbers and folding: how to make they play along?, Filipe Silva, 2016/07/11
- Re: relative line numbers and folding: how to make they play along?, Eli Zaretskii, 2016/07/12
- 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, 2016/07/14
- Re: relative line numbers and folding: how to make they play along?, Stefan Monnier, 2016/07/14