From: Filipe Silva <filipe.silva@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: relative line numbers and folding: how to make they play along?
Date: Thu, 14 Jul 2016 13:51:13 -0300 [thread overview]
Message-ID: <CAEwkUWP5ZJjenfqKqLQgquCwGX=02BSMUEiEXbz4WTiYtVKmxw@mail.gmail.com> (raw)
In-Reply-To: <83vb086vwj.fsf@gnu.org>
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.
>
>
next prev parent reply other threads:[~2016-07-14 16:51 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-11 15:11 relative line numbers and folding: how to make they play along? Filipe Silva
2016-07-12 4:51 ` Eli Zaretskii
2016-07-13 3:43 ` Filipe Silva
2016-07-13 20:10 ` Stefan Monnier
2016-07-13 20:23 ` Eli Zaretskii
2016-07-13 22:33 ` Filipe Silva
2016-07-14 15:02 ` Eli Zaretskii
[not found] ` <mailman.1359.1468449224.26859.help-gnu-emacs@gnu.org>
2016-07-14 1:29 ` Dan Espen
2016-07-14 2:36 ` Stefan Monnier
2016-07-14 15:06 ` Eli Zaretskii
2016-07-14 15:55 ` Filipe Silva
2016-07-14 15:58 ` Filipe Silva
2016-07-14 16:12 ` Eli Zaretskii
2016-07-14 16:51 ` Filipe Silva [this message]
2016-07-14 18:23 ` Boris
2016-07-14 21:03 ` Stefan Monnier
2016-07-15 0:04 ` Filipe Silva
2016-07-15 0:18 ` Stefan Monnier
2016-07-15 0:41 ` Filipe
2016-07-15 7:07 ` Eli Zaretskii
2016-07-15 13:53 ` Stefan Monnier
2016-07-15 14:22 ` Eli Zaretskii
2016-07-15 14:54 ` Stefan Monnier
2016-07-15 15:34 ` Filipe Silva
[not found] ` <mailman.1414.1468511758.26859.help-gnu-emacs@gnu.org>
2016-07-15 2:02 ` Dan Espen
[not found] ` <mailman.1374.1468463825.26859.help-gnu-emacs@gnu.org>
2016-07-14 3:20 ` Rusi
2016-07-14 12:17 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAEwkUWP5ZJjenfqKqLQgquCwGX=02BSMUEiEXbz4WTiYtVKmxw@mail.gmail.com' \
--to=filipe.silva@gmail.com \
--cc=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).