[Top][All Lists]

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

Re: How to stop find-grep-dired?

From: Lennart Borgman
Subject: Re: How to stop find-grep-dired?
Date: Sat, 19 Aug 2006 09:40:22 +0200
User-agent: Thunderbird (Windows/20060719)

Richard Stallman wrote:
How do you stop a command like `find-grep-dired'? I tried C-g and M-ESC-ESC but none of them worked. I looked in the menus, but I found nothing obvious there. (I did this on w32.)

Since the buffer fills asynchronously, C-g won't stop it.
Killing the buffer should do so.  Does that work?

It does, but suppose you want the information that is already there? That could be the case for `grep-find' for example. Why not bind C-g to something like this in those buffers (or globally)?

(defun keyboard-process-quit()
 "Delete buffer process if there is one or signal a `quit' condition."
 (if (get-buffer-process (current-buffer))
     (delete-process (current-buffer))

reply via email to

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