[Top][All Lists]

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

Unbearably slow editing in .h files (was: patch: add-log.el: changelog f

From: Stefan Monnier
Subject: Unbearably slow editing in .h files (was: patch: add-log.el: changelog find file under point)
Date: Mon, 18 Feb 2008 15:09:42 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> The simple approach is based on searching and comparing the result with
> that of `add-log-current-defun'.  It works pretty well most of the time
> but may exhibit the nasty behavior described in

> http://lists.gnu.org/archive/html/emacs-devel/2007-10/msg00443.html

> On my 1 GHz machine this means that I have to wait some 40 secs until
> I'm told that there are no matches.  I can think of two ways to handle
> this: (1) Convince Alan that the behavior of `c-beginning-of-defun' is
> intolerable - AFAICT this has been tried before.  (2) Fix this within
> `add-log-current-defun' to not use `c-beginning-of-defun' - I'm unable
> to do this myself because I completely fail to understand that part of
> the function.

Nowadays, I find myself regularly using M-x fundamental-mode in .h files
in order to be able to edit them sanely.  We have to do something to
fix it.  Alan?


reply via email to

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