unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* relative line numbers and folding: how to make they play along?
@ 2016-07-11 15:11 Filipe Silva
  2016-07-12  4:51 ` Eli Zaretskii
  0 siblings, 1 reply; 27+ messages in thread
From: Filipe Silva @ 2016-07-11 15:11 UTC (permalink / raw)
  To: help-gnu-emacs

Hi good people,

there was some discussion in spacemacs about the relative line number
behaviour in emacs:
https://github.com/syl20bnr/spacemacs/issues/6536

In essence, currently relative line numbers in emacs are rendered useless
if folding is applied to the buffer.
Here's a nice example: left is emacs, right is vim:

https://cloud.githubusercontent.com/assets/8352747/16707876/4bd64c22-45b5-11e6-8d13-ae9c994cbb02.png

One of the spacemacs maintainers specifically said: "I should note that due
to how folding and line numbers work in Emacs this would be nigh impossible
to fix."
I find that difficult to believe given how people in emacs community praise
about emacs infinite extensibility.

So I ask you, do we have tools to fix this behaviour or do we need a patch
in emacs itself?

Thanks in advance,

Filipe Silva


^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2016-07-15 15:34 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).