bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#17036: Continuation for Emacs: invoking a process on exit?


From: Reuben Thomas
Subject: bug#17036: Continuation for Emacs: invoking a process on exit?
Date: Thu, 20 Mar 2014 23:10:19 +0000

On 20 March 2014 17:43, Eli Zaretskii <address@hidden> wrote:
> Date: Thu, 20 Mar 2014 12:02:49 +0000
> From: Reuben Thomas <address@hidden>
> Cc: Stefan Monnier <address@hidden>, Andreas Schwab <address@hidden>,
>       address@hidden
>
> I didn't discuss the command (it was Glenn Morris who suggested the name),
> but in my original bug report I said: "This would be useful for restarting
> having updated my configuration...as it would save having manually to issue a
> new 'emacs' command..." For this, a simple "exec emacs" is enough, but why
> not throw in command-line arguments too.

I'm probably missing something, because I don't see how "exec emacs"
will do what you want.

I'm sorry, I seem to have made a total hash of explaining something really simple. In effect, I want kill-emacs-and-exec, which takes a list of arguments, runs kill-emacs, and then execs the argument list.

In fact, since kill-emacs can't currently take a list, it could be extended to do so.

save-buffers-kill-emacs could be likewise extended.

Does that make sense now?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]