Stefan Monnier <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> http://www.cua.dk _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel