[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: |
Fri, 09 Sep 2005 09:00:46 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
>> 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.
Oh, yes, now it makes sense. And it is indeed safe since it's actually
not "within re-search-forward": re-search-forward is still on the backtrace
but we won't return to it since we'll longjmp over it instead.
Funnily I had never seen such a backtrace before.
Stefan
- Re: Ange-ftp and re-search-forward -- unbelievable behavior, (continued)
- Re: Ange-ftp and re-search-forward -- unbelievable behavior, Stefan Monnier, 2005/09/02
- 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, 2005/09/09
- 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/07