[Top][All Lists]
[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
- Ange-ftp and re-search-forward -- unbelievable behavior, Richard.G.Bielawski, 2005/09/01
- RE: Ange-ftp and re-search-forward -- unbelievable behavior, Richard.G.Bielawski, 2005/09/05
- Re: Ange-ftp and re-search-forward -- unbelievable behavior, Richard.G.Bielawski, 2005/09/05
- Re: Ange-ftp and re-search-forward -- unbelievable behavior, Stefan Monnier, 2005/09/06
- Running elisp code in the middle of re-search-forward, Stefan Monnier, 2005/09/06
- Re: Running elisp code in the middle of re-search-forward, Richard M. Stallman, 2005/09/07
- Re: Running elisp code in the middle of re-search-forward, Stefan Monnier, 2005/09/07
- Re: Running elisp code in the middle of re-search-forward, Richard M. Stallman, 2005/09/08
- Re: Running elisp code in the middle of re-search-forward,
Stefan Monnier <=
- Re: Running elisp code in the middle of re-search-forward, Richard M. Stallman, 2005/09/09
- Re: Running elisp code in the middle of re-search-forward, Stefan Monnier, 2005/09/09
- Re: Running elisp code in the middle of re-search-forward, Richard M. Stallman, 2005/09/09
- Re: Running elisp code in the middle of re-search-forward, Stefan Monnier, 2005/09/07