emacs_config: refine line num display code, make it simple and neat