[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to stop find-grep-dired?
From: |
Ehud Karni |
Subject: |
Re: How to stop find-grep-dired? |
Date: |
Mon, 21 Aug 2006 11:56:02 +0300 |
On Sun, 20 Aug 2006 00:32:30 -0400, Richard Stallman <address@hidden> wrote:
>
> Does M-x kill-grep kill the process for find-grep-dired?
> If not, I think we should make it work.
>
> That could be the case for `grep-find' for example. Why not bind C-g to
> something like this in those buffers (or globally)?
>
> I get a bad feeling about that. People type C-g to try to cancel
> commands, and sometimes do so by mistake in betweeen commands. This
> is a matter of habit. If the habit activates itself while
> find-grep-dired is running, it could kill the process when you
> don't want to.
I suggest to use C-x C-g to kill the buffer's associated process (any,
not just grep) like this:
(defun kill-async-process ()
"Kill the asynchronous process associated with this buffer"
(interactive)
(delete-process nil))
(global-set-key "\C-x\C-g" 'kill-async-process)
This can not harm, because you must use it in the relevant buffer.
Ehud.
--
Ehud Karni Tel: +972-3-7966-561 /"\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
Insurance agencies (USA) voice mail and X Against HTML Mail
http://www.mvs.co.il FAX: 1-815-5509341 / \
GnuPG: 98EA398D <http://www.keyserver.net/> Better Safe Than Sorry
- Re: How to stop find-grep-dired?, (continued)
- Re: How to stop find-grep-dired?, David Kastrup, 2006/08/19
- Re: How to stop find-grep-dired?, Lennart Borgman, 2006/08/19
- Re: How to stop find-grep-dired?, David Kastrup, 2006/08/19
- Re: How to stop find-grep-dired?, Lennart Borgman, 2006/08/19
- Re: How to stop find-grep-dired?, David Kastrup, 2006/08/19
- Re: How to stop find-grep-dired?, Lennart Borgman, 2006/08/19
- Re: How to stop find-grep-dired?, Richard Stallman, 2006/08/20
- Re: How to stop find-grep-dired?, Stuart D. Herring, 2006/08/21
- Re: How to stop find-grep-dired?, Lennart Borgman, 2006/08/21
- Re: How to stop find-grep-dired?, Richard Stallman, 2006/08/20
- Re: How to stop find-grep-dired?,
Ehud Karni <=
- Re: How to stop find-grep-dired?, Lennart Borgman, 2006/08/21
- Re: How to stop find-grep-dired?, Richard Stallman, 2006/08/21
- Re: How to stop find-grep-dired?, Lennart Borgman, 2006/08/22
- RE: How to stop find-grep-dired?, Drew Adams, 2006/08/22
- Re: How to stop find-grep-dired?, Lennart Borgman, 2006/08/22
- Re: How to stop find-grep-dired?, Richard Stallman, 2006/08/22
- Re: How to stop find-grep-dired?, Andreas Schwab, 2006/08/22
- Re: How to stop find-grep-dired?, Lennart Borgman, 2006/08/22
- Re: How to stop find-grep-dired?, Lennart Borgman, 2006/08/24
- Re: How to stop find-grep-dired?, Richard Stallman, 2006/08/23