[Top][All Lists]

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

Re: How to stop find-grep-dired?

From: Juri Linkov
Subject: Re: How to stop find-grep-dired?
Date: Sat, 02 Sep 2006 02:47:21 +0300
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

>> Do you know why comint doesn't bind C-c C-k to comint-kill-subjob?
>> Are there any reasons not to do so?
> It's almost always the wrong thing to use, especially for a typical
> comint process [*], so having a handy binding by default seems like
> asking for trouble.
> [*] (1) It send SIGKILL, which is a last-ditch emergency measure, not
>         the way you should ordinarily stop a process
>     (2) Because it sends a _signal_, rather than using pty, it will kill
>         the sub-shell rather than the foreground process, in the case of
>         a shell session (not to mention a telnet session etc).

It could ask for confirmation.  Or behave in a similar way as C-g used
to stop a running command, i.e. to wait for the process to die, and
another C-c C-k again could kill it instantly.

Juri Linkov

reply via email to

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