[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: |
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?
- 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, 2005/09/08
- Re: Running elisp code in the middle of re-search-forward,
Richard M. Stallman <=
- 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