unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#17036: Continuation for Emacs: invoking a process on exit?
@ 2014-03-18 22:47 Reuben Thomas
  2014-03-18 22:52 ` Andreas Schwab
  0 siblings, 1 reply; 35+ messages in thread
From: Reuben Thomas @ 2014-03-18 22:47 UTC (permalink / raw)
  To: 17036

[-- Attachment #1: Type: text/plain, Size: 649 bytes --]

Is there a way to give Emacs itself a continuation, i.e. a command to exec
when it exits? Copious searching and cursory examination of the source code
(grepping for atexit, exit, and looking at emacs.c in some more detail)
suggest not.

This would be useful for restarting having updated my configuration (some
of which is non-idempotent), as it would save having manually to issue a
new "emacs" command having waited for it to shut down; overall, up to
several brain-seconds if I don't just sit and watch the process.

It also seems appropriately Lispy to allow a Lisp system's final action to
be to call a continuation...

-- 
http://rrt.sc3d.org

[-- Attachment #2: Type: text/html, Size: 822 bytes --]

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

end of thread, other threads:[~2022-04-18  9:28 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-18 22:47 bug#17036: Continuation for Emacs: invoking a process on exit? Reuben Thomas
2014-03-18 22:52 ` Andreas Schwab
2014-03-18 22:56   ` Reuben Thomas
2014-03-19  6:27     ` Glenn Morris
2014-03-19 13:10       ` Stefan
2014-03-19 13:19         ` Reuben Thomas
2014-03-19 16:51           ` Eli Zaretskii
2014-03-19 21:14             ` Reuben Thomas
2014-03-20  3:45               ` Eli Zaretskii
2014-03-20 12:02                 ` Reuben Thomas
2014-03-20 17:43                   ` Eli Zaretskii
2014-03-20 23:10                     ` Reuben Thomas
2014-03-21  7:53                       ` Eli Zaretskii
2014-03-21 10:09                         ` Reuben Thomas
2014-03-21 10:18                           ` Reuben Thomas
2014-03-21 10:18                           ` Eli Zaretskii
2014-03-21 10:25                             ` Reuben Thomas
2022-04-17 11:38       ` Lars Ingebrigtsen
2022-04-17 11:56         ` Reuben Thomas via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-04-17 11:57         ` Eli Zaretskii
2022-04-17 12:08           ` Lars Ingebrigtsen
2022-04-17 12:34             ` Eli Zaretskii
2022-04-17 12:41               ` Eli Zaretskii
2022-04-17 12:52                 ` Lars Ingebrigtsen
2022-04-17 12:49               ` Lars Ingebrigtsen
2022-04-17 14:37                 ` Eli Zaretskii
2022-04-17 14:49                   ` Lars Ingebrigtsen
2022-04-17 15:51                     ` Eli Zaretskii
2022-04-18  8:48                       ` Lars Ingebrigtsen
2022-04-18  9:28                         ` Eli Zaretskii
2022-04-17 14:29               ` Eli Zaretskii
2022-04-17 15:58                 ` Eli Zaretskii
2022-04-17 16:02                   ` Lars Ingebrigtsen
2022-04-17 17:49                     ` Eli Zaretskii
2022-04-18  8:53                       ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).