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: Stefan Monnier
Subject: Re: Running elisp code in the middle of re-search-forward
Date: Thu, 08 Sep 2005 17:15:58 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>> On GNU and Unix, quitting happens immediately in the signal handler.
>> That is what immediate_quit is for.

>> Apparently immediate_quit does not work on Windows, or at least
>> someone thinks it does not, and implemented an alternate way to
>> quit instantly from the regexp search.

>     That answers the first and third question.  What about the second?

> 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?

>     then try to interrupt the search with C-g.  In my case at least it
>     doesn't work.  Maybe it's because immediate_quit doesn't work, or
>     maybe it's because immediate_quit is not used in this case, but in any
>     case I find this behavior to be a problem.

> Is the immediate_quit mechanism working at all in your copy?

I wouldn't know, since I'm not really sure it should do.  The test I sent
was run under GNU/Linux with a vanilla Emacs-CVS.


        Stefan




reply via email to

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