You are not logged in.

#1 2009-08-11 08:44:26

jiyunatori
Member
Registered: 2008-07-04
Posts: 54

emacs-23 awfully slow

Hi board.

Since I upgraded to emac-23.1, the thing is very slow.

Example:

I have a orgmode file opened, with several long sections (hundreds lines each) collapsed. When I move from one line to another (thus skipping several hundred lines), there is a clear lag.

Even worse, when I try to move through the file by keeping the down arrow pressed, the CPU usage instantly goes to 100% on one of my cores and emacs is unsuable for several seconds before the cursor appears at the end of the file.

Offline

#2 2009-08-11 14:59:50

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

Re: emacs-23 awfully slow

Weird. I don't have a .org file so big, but I don't notice a lag with a ~130 lines long .org file.

Maybe it's some problem with the font backend you're using? If you open the same file with 'emacs -nw', the lag is still there?


(lambda ())

Offline

#3 2009-08-11 15:40:22

madalu
Member
Registered: 2009-05-05
Posts: 217

Re: emacs-23 awfully slow

No problem here running emacs 23.1-3 on very modest hardware (Asus
1000he/Atom chip).

My org-mode files are thousands of lines long and outline navigation
and the agenda view are instantaneous.

You could always try rebuilding emacs 23 via abs.

Also make sure you are running a recent version of org-mode
(preferably from the git repo). Org-mode's outline navigation was
recently optimized. I believe the version bundled with Emacs 23 does
not include this optimization.

(Even with the optimization, however, if your outline levels are
really deep and contain a lot of lines, you may experience some lag. I
generally try to limit myself to outlines that are 3-4 levels deep.
YMMV.)

Last edited by madalu (2009-08-11 15:42:45)

Offline

#4 2009-08-11 16:43:11

madalu
Member
Registered: 2009-05-05
Posts: 217

Re: emacs-23 awfully slow

@jiyunatori: Please disregard my comment about emacs bundled with emacs-cvs. I see you are the maintainer of the AUR org-mode package.

I did, however, flag the AUR package out of date, as the current version is 6.29c.

Offline

#5 2009-08-13 09:15:08

jiyunatori
Member
Registered: 2008-07-04
Posts: 54

Re: emacs-23 awfully slow

@madalu: thanks for the notice, I upgraded the package yesterday.

By the way, I switched to emacs-nox and then switched back to emacs right now to test it again - now it works perfectly ! In the meantime, I remember editing the .emacs file - maybe I removed some lines that were causing problems. Thanks anyway !

Offline

#6 2009-08-14 12:00:59

madalu
Member
Registered: 2009-05-05
Posts: 217

Re: emacs-23 awfully slow

BTW, thanks for your great work keeping the org-mode package up to date. That's probably one of the most frequently changing packages around here!

Offline

#7 2014-05-18 23:16:02

oracleyue
Member
Registered: 2014-03-18
Posts: 2

Re: emacs-23 awfully slow

Do you use linum minor mode in org-mode? Today I encountered the same problem like you, but I found it is due to linum-mode. If disabling it, emacs will works without any delays.

PS: I know it means nothing for you. But just offer some information for guys like me searching this post for similar problems.

Offline

#8 2014-05-18 23:24:23

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: emacs-23 awfully slow


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB