Switch to nlinum Immediately

A lot of headings in your Org-Mode file can make Emacs unusably slow when you collapse all of them.

My original solution was to avoid collapsing them with #+STARTUP: showeverything. Major problem with that approach is that you still can’t use collapsing because if you do, Emacs because again unusable.

Months ago I switched to nlinum and now there are no more performance issues, even on the largest file that I work on.


8 thoughts on “Switch to nlinum Immediately”

  1. I’m giving it a try and it does not seem to work too well with the Leuven theme: the larger font in the headlines prevent the display of the last digit.

  2. ALAN:

    Two ideas:

    1. `nlinum-format’ gives you more columns in the gutter.

    2. Try a fixed-width font like DejaVu Sans Mono.

  3. nlinum-mode makes it impossible to create a new frame when I’m in org-mode. I’ve reproduced the bug with an emacs -q, in a large org-file with nlinum-mode enabled. I’ll be filing a bug report at some point.

Leave a Reply

Your email address will not be published. Required fields are marked *