diff options
| author | Karoly Lorentey | 2004-01-26 07:17:34 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2004-01-26 07:17:34 +0000 |
| commit | bacb6689058e76f47a6f723cd04fa8679944998b (patch) | |
| tree | 279228368014d1fbb7555cc20470906adb3cefcb /README.multi-tty | |
| parent | c3b4957fff207e1b7c92ddc8a1b0401892574fce (diff) | |
| download | emacs-bacb6689058e76f47a6f723cd04fa8679944998b.tar.gz emacs-bacb6689058e76f47a6f723cd04fa8679944998b.zip | |
Don't exit Emacs when the X display is closed during a tty-X combo session.
src/xterm.c (x_delete_display): Fix semantic typo.
(x_connection_closed): When deciding whether or not to shut down
Emacs, check for remaining elements in display_list, not
x_display_list.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-68
Diffstat (limited to 'README.multi-tty')
| -rw-r--r-- | README.multi-tty | 38 |
1 files changed, 31 insertions, 7 deletions
diff --git a/README.multi-tty b/README.multi-tty index cdce445b161..06e069f8019 100644 --- a/README.multi-tty +++ b/README.multi-tty | |||
| @@ -7,7 +7,6 @@ different tty devices and simultaneous X and tty frames from a single | |||
| 7 | Emacs session. | 7 | Emacs session. |
| 8 | 8 | ||
| 9 | Some use cases: | 9 | Some use cases: |
| 10 | |||
| 11 | Emacs is notoriously slow at startup, so most people use another | 10 | Emacs is notoriously slow at startup, so most people use another |
| 12 | editor or emacsclient for quick editing jobs from the console. | 11 | editor or emacsclient for quick editing jobs from the console. |
| 13 | Unfortunately, emacsclient was very awkward to use, because it did not | 12 | Unfortunately, emacsclient was very awkward to use, because it did not |
| @@ -21,7 +20,6 @@ nice if they could connect to this instance from a remote ssh session | |||
| 21 | and check their messages without opening a remote X frame or resorting | 20 | and check their messages without opening a remote X frame or resorting |
| 22 | to gnus-slave. | 21 | to gnus-slave. |
| 23 | 22 | ||
| 24 | |||
| 25 | WHO IS DOING IT | 23 | WHO IS DOING IT |
| 26 | --------------- | 24 | --------------- |
| 27 | 25 | ||
| @@ -56,11 +54,11 @@ to the emacs-devel@gnu.org mailing list. | |||
| 56 | STATUS | 54 | STATUS |
| 57 | ------ | 55 | ------ |
| 58 | 56 | ||
| 59 | Multi-tty support is stable, I think most of the problems were fixed. | 57 | The branch is now very stable and almost full-featured. I hope the |
| 60 | (It still needs testing on other architectures, though.) Simultaneous | 58 | major problems were fixed. (It still needs testing on other |
| 61 | X and tty frame support works fine, although there are some small | 59 | architectures, though.) Both multiple tty device support and |
| 62 | issues. Emacsclient has been extended to support opening a new | 60 | simultaneous X and tty frame support works fine. Emacsclient has been |
| 63 | terminal frame. | 61 | extended to support opening a new terminal frame. |
| 64 | 62 | ||
| 65 | 63 | ||
| 66 | Please let me know if you find any bugs in this branch. | 64 | Please let me know if you find any bugs in this branch. |
| @@ -94,6 +92,20 @@ This is work in progress, and probably full of bugs. You should | |||
| 94 | always run emacs from gdb, so that you'll have a live instance to | 92 | always run emacs from gdb, so that you'll have a live instance to |
| 95 | debug if something goes wrong. Please send me your bug reports. | 93 | debug if something goes wrong. Please send me your bug reports. |
| 96 | 94 | ||
| 95 | I think the best way to use the new Emacs is to have it running inside | ||
| 96 | a disconnected GNU screen session, and always use emacsclient for | ||
| 97 | normal work. This way not a single keystroke of your work will be | ||
| 98 | lost if the display device that you are using crashes, or the network | ||
| 99 | connection times out, or whatever. As long as the server that runs | ||
| 100 | your Emacs remains up, all your buffers remain exactly as they were | ||
| 101 | before the crash, and you can continue working as if nothing had | ||
| 102 | happened. (I had an extremely unstable X server for some time while I | ||
| 103 | was developing these patches, and running Emacs this way has saved me | ||
| 104 | a number of M-x recover-session invocations.) | ||
| 105 | |||
| 106 | (I am thinking about introducing a --daemon option to get rid of the | ||
| 107 | above screen dependency.) | ||
| 108 | |||
| 97 | Problems: | 109 | Problems: |
| 98 | 110 | ||
| 99 | * Suspending Emacs is disabled if there are multiple tty | 111 | * Suspending Emacs is disabled if there are multiple tty |
| @@ -182,6 +194,13 @@ THINGS TO DO | |||
| 182 | extend emacsclient to handle suspend/resume. A `kill -STOP' almost | 194 | extend emacsclient to handle suspend/resume. A `kill -STOP' almost |
| 183 | works right now.) | 195 | works right now.) |
| 184 | 196 | ||
| 197 | ** Clean up the frame-local variable system. I think it's ugly and | ||
| 198 | error-prone. But maybe I just haven't yet fully understood it. | ||
| 199 | |||
| 200 | ** Add an elaborate mechanism for display-local variables. (There are | ||
| 201 | already a few of these; search for `terminal-local' in the Elisp | ||
| 202 | manual.) | ||
| 203 | |||
| 185 | ** Move baud_rate to struct display. | 204 | ** Move baud_rate to struct display. |
| 186 | 205 | ||
| 187 | ** Implement support for starting an interactive Emacs session without | 206 | ** Implement support for starting an interactive Emacs session without |
| @@ -610,4 +629,9 @@ DIARY OF CHANGES | |||
| 610 | 629 | ||
| 611 | (Fixed.) | 630 | (Fixed.) |
| 612 | 631 | ||
| 632 | -- Don't exit Emacs when the last X connection fails during a | ||
| 633 | multi-display session. | ||
| 634 | |||
| 635 | (Fixed.) | ||
| 636 | |||
| 613 | ;;; arch-tag: 8da1619e-2e79-41a8-9ac9-a0485daad17d | 637 | ;;; arch-tag: 8da1619e-2e79-41a8-9ac9-a0485daad17d |