diff options
Diffstat (limited to 'README.multi-tty')
| -rw-r--r-- | README.multi-tty | 24 |
1 files changed, 3 insertions, 21 deletions
diff --git a/README.multi-tty b/README.multi-tty index f637f7a464a..4bbbcbd77b4 100644 --- a/README.multi-tty +++ b/README.multi-tty | |||
| @@ -65,7 +65,7 @@ Known problems: | |||
| 65 | * Mac, Windows and DOS support is broken, probably doesn't | 65 | * Mac, Windows and DOS support is broken, probably doesn't |
| 66 | even compile -- this will be solved later. | 66 | even compile -- this will be solved later. |
| 67 | 67 | ||
| 68 | * Only tested on my GNU/Linux box, Solaris 8 and FreeBSD. | 68 | * Tested on GNU/Linux, Solaris 8, FreeBSD and OpenBSD. |
| 69 | 69 | ||
| 70 | 70 | ||
| 71 | HOW TO GET THE BRANCH | 71 | HOW TO GET THE BRANCH |
| @@ -178,7 +178,7 @@ I use the following two bash functions to handle my Emacs sessions: | |||
| 178 | | | 178 | | |
| 179 | | if [ ! -e "$screendir"/*."$name" ]; then | 179 | | if [ ! -e "$screendir"/*."$name" ]; then |
| 180 | | if [ -e "$serverdir/$name" ]; then | 180 | | if [ -e "$serverdir/$name" ]; then |
| 181 | | # Delete leftover socket (for preload-emacs-wait) | 181 | | # Delete leftover socket (for the wait option) |
| 182 | | rm "$serverdir/$name" | 182 | | rm "$serverdir/$name" |
| 183 | | fi | 183 | | fi |
| 184 | | screen -dmS "$name" "$emacs" -nw --eval "(setq server-name \"$name\")" -f server-start | 184 | | screen -dmS "$name" "$emacs" -nw --eval "(setq server-name \"$name\")" -f server-start |
| @@ -219,25 +219,6 @@ I use the following two bash functions to handle my Emacs sessions: | |||
| 219 | | alias e=edit | 219 | | alias e=edit |
| 220 | `---- | 220 | `---- |
| 221 | 221 | ||
| 222 | The following settings prevent me from accidentally killing the Emacs | ||
| 223 | session. (Maybe this should be the default binding of C-x C-c.) | ||
| 224 | |||
| 225 | ,----[ ~/.emacs | ||
| 226 | | (defun lk-exit-emacs-or-delete-frame (&optional arg) | ||
| 227 | | "If the current frame has a client, kill it; otherwise kill Emacs itself. | ||
| 228 | | Offer to save each buffer before the murder. With prefix arg, | ||
| 229 | | ignore client status and kill Emacs." | ||
| 230 | | (interactive "P") | ||
| 231 | | (let ((proc (frame-parameter (selected-frame) 'client))) | ||
| 232 | | (if (and (not arg) proc) | ||
| 233 | | (progn | ||
| 234 | | (save-some-buffers nil t) | ||
| 235 | | (server-delete-client proc)) | ||
| 236 | | (save-buffers-kill-emacs)))) | ||
| 237 | | | ||
| 238 | | (global-set-key (kbd "C-x C-c") 'lk-exit-emacs-or-delete-frame) | ||
| 239 | `---- | ||
| 240 | |||
| 241 | 222 | ||
| 242 | NEWS | 223 | NEWS |
| 243 | ---- | 224 | ---- |
| @@ -286,6 +267,7 @@ to the project by testing, submitting patches, bug reports, and | |||
| 286 | suggestions. Thanks! | 267 | suggestions. Thanks! |
| 287 | 268 | ||
| 288 | ARISAWA Akihiro <ari at mbf dot ocn dot ne dot jp> | 269 | ARISAWA Akihiro <ari at mbf dot ocn dot ne dot jp> |
| 270 | Han Boetes <han at mijncomputer dot nl> | ||
| 289 | Robert J. Chassell <bob at rattlesnake dot com> | 271 | Robert J. Chassell <bob at rattlesnake dot com> |
| 290 | Romain Francoise <romain at orebokech dot com> | 272 | Romain Francoise <romain at orebokech dot com> |
| 291 | Ami Fischman <ami at fischman dot org> | 273 | Ami Fischman <ami at fischman dot org> |