emacs-devel
[Top][All Lists]
Advanced

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

Re: RMAIL slows


From: Kim F. Storm
Subject: Re: RMAIL slows
Date: Sat, 09 Apr 2005 01:53:17 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

> ... look up the backtrace to see the value of the `string' argument
> to search_buffer, then do "print string" and then "xstring" to see the
> actual string).

Or just do "pp string".

> Another good thing to do is to say "finish" to let the code run until the
> end of re_match_2_internal.  If it's immediate it means the problem is maybe
> not in the time taken in each call to re_match_2_internal, but rather in the
> number of calls.

The "xbacktrace" command may also give you some ideas in which lisp
function the loop may be.  You can interrupt emacs several times
and see if all calls to regexp happens in the same sequence of
function calls.

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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