Note that there are some explanatory texts on larger screens.

plurals
  1. POEmacs Org-Mode: Turn off line numbers
    text
    copied!<p>I've recently moved from <code>vim</code> to <code>Emacs</code> because I want to use <code>org-mode</code>. I opened a ~10000 line, 50kb file in <code>Emacs23</code> <code>Org-mode</code> and proceeded to add about 10 first-level headings. Performance on a quad-core with 3GB RAM in Emacs23 under Ubuntu 10.04/32bit was so slow that it was unusable. I found <a href="http://thread.gmane.org/gmane.emacs.orgmode/28097/focus=29447" rel="noreferrer">two</a> <a href="http://thread.gmane.org/gmane.emacs.orgmode/37860/focus=37864" rel="noreferrer">threads</a> on the <code>Org-mode</code> email list discussing this. It seems that enabling <code>linum</code> causes the slow performance. I can live without line numbers in <code>.org</code> files if I have to, but I don't want to disable line numbers for all files I edit. If I'm going to "live" in `Emacs', I'll want line numbers for all other files. </p> <p>How can I disable <code>linum</code> for some or all <code>.org</code> files only? Is it possible to do this if I have several files open in <code>Emacs</code> and switch between them? I found some discussion about disabling line numbers for major modes <a href="http://www.emacswiki.org/emacs/LineNumbers#toc8" rel="noreferrer">here</a>, but there was nothing that I could implement (although the <code>linum-off.el</code> script <a href="http://www.emacswiki.org/emacs/linum-off.el" rel="noreferrer">mentioned</a> on the page looks promising, I don't (yet) know (E)Lisp, so I can't change it as I would need).</p> <p>I updated <code>Org-mode</code> from version 6.21b which came with <code>Emacs23</code> to version 7.5, but it made no difference. Performance in <code>Emacs</code> GUI is so bad that the application fails to respond at all. Performance with <code>-nw</code> is "better", but still unusable.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload