all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* how to tell graphical Emacs to shutdown cleanly from tty1?
@ 2015-11-17  3:23 Tom Roche
  2015-11-17  4:05 ` Emanuel Berg
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Tom Roche @ 2015-11-17  3:23 UTC (permalink / raw)
  To: help-gnu-emacs


Lately I run GNU Emacs mostly as GUI on X/tty7 (which I'll call "the desktop" as opposed to emacs-desktop) on one of my Debian laptops. Occasionally the desktop hangs, in which case I usually can goto tty1 and `sudo shutdown -whatever now`. Unfortunately this does not seem to cause Emacs to shut down as cleanly as I'd like: I'd like Emacs to (e.g.) save any unsaved buffers and save its emacs-desktop, but that doesn't seem to get done. (Am I missing something?)

So I'm thinking that, in this usecase, I should utter something from tty1 (before `shutdown`) to tell Emacs to shutdown cleanly ... but I don't know what to say. How to do this?

TIA, Tom Roche <Tom_Roche@pobox.com>



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-11-17 19:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-17  3:23 how to tell graphical Emacs to shutdown cleanly from tty1? Tom Roche
2015-11-17  4:05 ` Emanuel Berg
2015-11-17  4:34 ` Yuri Khan
2015-11-17 15:32 ` Jorge A. Alfaro-Murillo
2015-11-17 19:01 ` Tom Roche

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.