[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: after-delete-terminal-functions (was: 23.0.60; Emacs should survive
From: |
Richard Stallman |
Subject: |
Re: after-delete-terminal-functions (was: 23.0.60; Emacs should survive a lost X connection) |
Date: |
Wed, 13 Feb 2008 17:00:57 -0500 |
But now I wonder: is DELETE_TERMINAL_EVENT the right thing to do, or
should we use run-at-time instead?
I don't see any reason why run-at-time would work better,
and it certainly is not cleaner. It is less clean.
So, I removed the `error' call, but this makes things worse, apparently:
Emacs then exits abruptly. It seems that it's important to abort
execution at the end of x_connection_closed. So I re[placed the `error'
call by a call to Fthrow. This finally worked.
That seems like a plausible approach to me.
However, another idea is to signal an error and do something special
so that this error doesn't clear the event. Even better, the
top-level loop could queue the event after catching this kind of
error.
Or the top-level loop could call the appropriate hook after catching
this kind of error. That way there would be no event, just a hook.
It could distinguish this error based on an error condition symbol.
That would be clean.
- Re: 23.0.60; Emacs should survive a lost X connection, (continued)
- Re: 23.0.60; Emacs should survive a lost X connection, Dan Nicolaescu, 2008/02/09
- Re: 23.0.60; Emacs should survive a lost X connection, Stefan Monnier, 2008/02/09
- Re: 23.0.60; Emacs should survive a lost X connection, Dan Nicolaescu, 2008/02/10
- Re: 23.0.60; Emacs should survive a lost X connection, Stefan Monnier, 2008/02/10
- Re: 23.0.60; Emacs should survive a lost X connection, Richard Stallman, 2008/02/11
- Re: 23.0.60; Emacs should survive a lost X connection, Stefan Monnier, 2008/02/10
- Re: 23.0.60; Emacs should survive a lost X connection, Dan Nicolaescu, 2008/02/11
- Re: 23.0.60; Emacs should survive a lost X connection, Stefan Monnier, 2008/02/11
- Re: 23.0.60; Emacs should survive a lost X connection, Dan Nicolaescu, 2008/02/11
- after-delete-terminal-functions (was: 23.0.60; Emacs should survive a lost X connection), Stefan Monnier, 2008/02/12
- Re: after-delete-terminal-functions (was: 23.0.60; Emacs should survive a lost X connection),
Richard Stallman <=
- Re: after-delete-terminal-functions, Stefan Monnier, 2008/02/13
- Re: after-delete-terminal-functions, Richard Stallman, 2008/02/18
- Re: 23.0.60; Emacs should survive a lost X connection, Richard Stallman, 2008/02/09
- Re: 23.0.60; Emacs should survive a lost X connection, Dan Nicolaescu, 2008/02/10
- Re: 23.0.60; Emacs should survive a lost X connection, Stefan Monnier, 2008/02/10
- Re: 23.0.60; Emacs should survive a lost X connection, Harald Hanche-Olsen, 2008/02/10
- Re: 23.0.60; Emacs should survive a lost X connection, Miles Bader, 2008/02/10
- Re: 23.0.60; Emacs should survive a lost X connection, Harald Hanche-Olsen, 2008/02/10
- Re: 23.0.60; Emacs should survive a lost X connection, Miles Bader, 2008/02/10
- Re: 23.0.60; Emacs should survive a lost X connection, Harald Hanche-Olsen, 2008/02/10