emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: Running elisp code in the middle of re-search-forward


From: Richard M. Stallman
Subject: Re: Running elisp code in the middle of re-search-forward
Date: Fri, 09 Sep 2005 03:27:58 -0400

    > Sure it is safe--that's what immediate_quit will do in the signal handler.

    But the OP's backtrace seem to indicate that it runs elisp code (via
    process filters).  Does immediate_quit do that as well?

Normally not, but I can think of one way that quitting could do this.
Namely, if it runs an unwind-protect cleanup form.  I suspect that is
how ange-ftp-del-tmp-name got called.  I don't know if it is used in
an unwind-protect cleanup, but it would be natural if it were.

What I don't understand is why this only happens if he adds code for
regexp matching.  Can't quitting happen there anyway?

If something prevents quitting without his regexp matching code,
why doesn't it still prevent quitting with that code?




reply via email to

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