emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unbearably slow editing in .h files


From: Alan Mackenzie
Subject: Re: Unbearably slow editing in .h files
Date: Wed, 2 Apr 2008 22:07:10 +0000
User-agent: Mutt/1.5.9i

Hi, Martin and Stefan,

On Sat, Feb 23, 2008 at 11:51:34PM +0100, martin rudalics wrote:
> Evening Alan,

> > What is add-log-current-defun using c-beginning-of-defun for?

> Visit lisp.h, go to the end of the buffer, and do

> M-x RET c-beginning-of-defun RET

> Convincing?

I have just fixed this problem (I hope!) in both the Emacs-22 branch and
the trunk.  Basically, the contorted functionality in add-log.el has
been superseded by optimised routines in cc-cmds.el.

On my 1.2 GHz Athlon machine, C-x 4 a now takes around 4 seconds at the
end of lisp.h, in the trunk.  It's somewhat faster in the Emacs-22
branch, but I don't know why.

I think this is fast enough.

-- 
Alan Mackenzie (Nuremberg, Germany).
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]