> I found this (the first answer) > http://stackoverflow.com/questions/6874516/relative-line-numbers-in-emacs > and it pretty much works as expected, but I want one thing to change. > Instead of showing 0 at the current line I want to show the > actual line number. Why not use the package linum-relative (https://github.com/coldnew/linum-relative) as mentioned in the second answer? I use linum-relative and it works well for me. In order to get linum-relative to show the actual line number on the current line, you need to set linum-relative-current-symbol to "". (setq linum-relative-current-symbol "")