[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: process sentinel and kill-emacs
From: |
Chong Yidong |
Subject: |
Re: process sentinel and kill-emacs |
Date: |
Tue, 22 May 2007 15:25:42 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (gnu/linux) |
JD Smith <address@hidden> writes:
> On Tue, 2007-05-22 at 10:52 -0400, Richard Stallman wrote:
>> Should a process's sentinel not run when kill-emacs is invoked with
>> running processes? It appears the sentinel is not run (despite the
>> prompting in save-buffer-kill-emacs: "Active processes exist; kill them
>> and exit anyway?"). Any suggested workaround?
>>
>> Why is it vital to run sentinels when you are killing Emacs anyway?
>
> In my case, because the sentinel is writing out a comint input history
> log, which you'd like to preserve even if the shell isn't cleanly
> exited.
Try putting something on kill-emacs-hook.