aboutsummaryrefslogtreecommitdiffstats
path: root/README.multi-tty
diff options
context:
space:
mode:
authorKaroly Lorentey2004-01-26 07:17:34 +0000
committerKaroly Lorentey2004-01-26 07:17:34 +0000
commitbacb6689058e76f47a6f723cd04fa8679944998b (patch)
tree279228368014d1fbb7555cc20470906adb3cefcb /README.multi-tty
parentc3b4957fff207e1b7c92ddc8a1b0401892574fce (diff)
downloademacs-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-tty38
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
7Emacs session. 7Emacs session.
8 8
9Some use cases: 9Some use cases:
10
11Emacs is notoriously slow at startup, so most people use another 10Emacs is notoriously slow at startup, so most people use another
12editor or emacsclient for quick editing jobs from the console. 11editor or emacsclient for quick editing jobs from the console.
13Unfortunately, emacsclient was very awkward to use, because it did not 12Unfortunately, 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
21and check their messages without opening a remote X frame or resorting 20and check their messages without opening a remote X frame or resorting
22to gnus-slave. 21to gnus-slave.
23 22
24
25WHO IS DOING IT 23WHO IS DOING IT
26--------------- 24---------------
27 25
@@ -56,11 +54,11 @@ to the emacs-devel@gnu.org mailing list.
56STATUS 54STATUS
57------ 55------
58 56
59Multi-tty support is stable, I think most of the problems were fixed. 57The branch is now very stable and almost full-featured. I hope the
60(It still needs testing on other architectures, though.) Simultaneous 58major problems were fixed. (It still needs testing on other
61X and tty frame support works fine, although there are some small 59architectures, though.) Both multiple tty device support and
62issues. Emacsclient has been extended to support opening a new 60simultaneous X and tty frame support works fine. Emacsclient has been
63terminal frame. 61extended to support opening a new terminal frame.
64 62
65 63
66Please let me know if you find any bugs in this branch. 64Please 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
94always run emacs from gdb, so that you'll have a live instance to 92always run emacs from gdb, so that you'll have a live instance to
95debug if something goes wrong. Please send me your bug reports. 93debug if something goes wrong. Please send me your bug reports.
96 94
95I think the best way to use the new Emacs is to have it running inside
96a disconnected GNU screen session, and always use emacsclient for
97normal work. This way not a single keystroke of your work will be
98lost if the display device that you are using crashes, or the network
99connection times out, or whatever. As long as the server that runs
100your Emacs remains up, all your buffers remain exactly as they were
101before the crash, and you can continue working as if nothing had
102happened. (I had an extremely unstable X server for some time while I
103was developing these patches, and running Emacs this way has saved me
104a number of M-x recover-session invocations.)
105
106(I am thinking about introducing a --daemon option to get rid of the
107above screen dependency.)
108
97Problems: 109Problems:
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