HASM
2020-03-30 14:51:05 UTC
scenario:
- ssh into remote machine
- start "emacs --daemon"
- connect with "emacsclient -nw"
- use normally
- eventually find-file to edit
(in may case it is a draft mh-e message)
- make sure it has some spelling mistakes
- start ispell on that buffer
(in my case triggered by mh-send-letter via hook)
- wait for ispell to suggest a correction in the minibuffer
- have the ssh connection drop
(this may not be needed!)
- start a new ssh
- connect with "emacsclient -nw"
- emacs opens in the *scratch* buffer
- there's a minibuffer message about exiting by deleting the frame
- emacs is totally unresponsive to keyboard
How do I recover, if I don't have access at the original ssh?
(e.g. it was starting from the "office" and I'm not on the "train")
Emacs seems to still respond to "emacsclient -e '(whatever)", but
(keyboard-quit) doesn't do it. Couple of times this happened I had to
kill emacs to restart, which could be a pain to recover from. Next time
maybe I'll try emacs-session-save, save-buffers-kill-emacs, restart
emacs and emacs-session-restore, but some of the shell/ssh session I may
have opened will be gone.
-- HASM
- ssh into remote machine
- start "emacs --daemon"
- connect with "emacsclient -nw"
- use normally
- eventually find-file to edit
(in may case it is a draft mh-e message)
- make sure it has some spelling mistakes
- start ispell on that buffer
(in my case triggered by mh-send-letter via hook)
- wait for ispell to suggest a correction in the minibuffer
- have the ssh connection drop
(this may not be needed!)
- start a new ssh
- connect with "emacsclient -nw"
- emacs opens in the *scratch* buffer
- there's a minibuffer message about exiting by deleting the frame
- emacs is totally unresponsive to keyboard
How do I recover, if I don't have access at the original ssh?
(e.g. it was starting from the "office" and I'm not on the "train")
Emacs seems to still respond to "emacsclient -e '(whatever)", but
(keyboard-quit) doesn't do it. Couple of times this happened I had to
kill emacs to restart, which could be a pain to recover from. Next time
maybe I'll try emacs-session-save, save-buffers-kill-emacs, restart
emacs and emacs-session-restore, but some of the shell/ssh session I may
have opened will be gone.
-- HASM