diff options
| author | Karoly Lorentey | 2003-12-29 08:28:35 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2003-12-29 08:28:35 +0000 |
| commit | b2af72d2f0da11c271cac6fc823053d0018068b2 (patch) | |
| tree | 3eb8facc529c3360f7c85416cc93249fb9b6a337 /README.multi-tty | |
| parent | 9f729af551e991e5f6d49f329674f6802450d70f (diff) | |
| download | emacs-b2af72d2f0da11c271cac6fc823053d0018068b2.tar.gz emacs-b2af72d2f0da11c271cac6fc823053d0018068b2.zip | |
Make sure secondary frames are deleted when emacsclient quits.
lisp/server.el (server-sentinel): Delete frame if alive. Fix delq
invocation on server-frames.
(server-process-filter, server-buffer-done): Fix delq invocation on
server-frames.
src/cm.c (cmputc): Abort on write error, see what happens.
src/keyboard.c (read_avail_input): Do delete_tty on read errors.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-21
Diffstat (limited to 'README.multi-tty')
| -rw-r--r-- | README.multi-tty | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/README.multi-tty b/README.multi-tty index ffa4b18ba81..391562e4e54 100644 --- a/README.multi-tty +++ b/README.multi-tty | |||
| @@ -198,6 +198,21 @@ DIARY OF CHANGES | |||
| 198 | 198 | ||
| 199 | (Done.) | 199 | (Done.) |
| 200 | 200 | ||
| 201 | -- C-g should work on secondary terminals. | ||
| 202 | |||
| 203 | (Done, but the binding is not configurable.) | ||
| 204 | |||
| 205 | -- Deal with SIGHUP in Emacs and in emacsclient. (After this, the | ||
| 206 | server-frames may be removed from server.el.) | ||
| 207 | |||
| 208 | (Done, nothing to do. It seems that Emacs does not receive SIGHUP | ||
| 209 | from secondary ttys.) | ||
| 210 | |||
| 211 | -- Change emacsclient/server.el to support the -h argument better, | ||
| 212 | i.e. automatically close the socket when the frame is closed. | ||
| 213 | |||
| 214 | (Seems to be working OK.) | ||
| 215 | |||
| 201 | THINGS TO DO | 216 | THINGS TO DO |
| 202 | ------------ | 217 | ------------ |
| 203 | 218 | ||
| @@ -217,15 +232,13 @@ THINGS TO DO | |||
| 217 | Update: yes it does, although it is much rarer. Or maybe it's | 232 | Update: yes it does, although it is much rarer. Or maybe it's |
| 218 | another bug. | 233 | another bug. |
| 219 | 234 | ||
| 220 | ** Change emacsclient/server.el to support the -h argument better, | 235 | ** Make parts of struct tty_output accessible from Lisp. The device |
| 221 | i.e. automatically close the socket when the frame is closed. | 236 | name and the type is sufficient. |
| 222 | 237 | ||
| 223 | ** Export delete_tty to the Lisp environment, for emacsclient. | 238 | ** Export delete_tty to the Lisp environment, for emacsclient. |
| 224 | 239 | ||
| 225 | ** C-g should work on secondary terminals. | 240 | ** Make sure C-g goes to the right frame. This is hard, as SIGINT |
| 226 | 241 | doesn't have a tty parameter. :-( | |
| 227 | ** Make parts of struct tty_output accessible from Lisp. The device | ||
| 228 | name and the type is sufficient. | ||
| 229 | 242 | ||
| 230 | ** Find out why does Emacs abort when it wants to close its | 243 | ** Find out why does Emacs abort when it wants to close its |
| 231 | controlling tty. Hint: chan_process[] array. Hey, maybe | 244 | controlling tty. Hint: chan_process[] array. Hey, maybe |
| @@ -251,9 +264,6 @@ THINGS TO DO | |||
| 251 | ** Find out the best way to support suspending Emacs with multiple | 264 | ** Find out the best way to support suspending Emacs with multiple |
| 252 | ttys. | 265 | ttys. |
| 253 | 266 | ||
| 254 | ** Deal with SIGHUP in Emacs and in emacsclient. (After this, the | ||
| 255 | server-frames may be removed from server.el.) | ||
| 256 | |||
| 257 | ** Do tty output through term_hooks, like all other display backends. | 267 | ** Do tty output through term_hooks, like all other display backends. |
| 258 | 268 | ||
| 259 | ** Fix X support. | 269 | ** Fix X support. |