[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can't stop find-grep-dired when using Cygwin for the inferior proces
From: |
Kim F. Storm |
Subject: |
Re: Can't stop find-grep-dired when using Cygwin for the inferior process |
Date: |
Sun, 27 Aug 2006 00:27:53 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Lennart Borgman <address@hidden> writes:
> Kim F. Storm wrote:
>> Lennart Borgman <address@hidden> writes:
>>
>>
>>> Lennart Borgman wrote:
>>>
>>>> Andreas Schwab wrote:
>>>>
>>>>> Richard Stallman <address@hidden> writes:
>>>>>
>>>>>
>>>>>> I see C-c C-k already has that meaning in the buffers made by M-x grep
>>>>>> and M-x compile. So let's set it up to kill the process of
>>>>>> find-grep-dired as well.
>>>>>>
>>>>> It already does.
>>>>>
>>>>> Andreas.
>>>>>
>>>> Thanks. I did not notice and now I know why. When using Cygwin for
>>>> the inferior process trying to use kill-find just hangs Emacs. So
>>>> there is a bug here.
>>>>
>>>> kill-find now uses `delete-process'. Using `interrupt-process' or
>>>> kill-process' works instead. Is there any reason not to use them? Or
>>>> at least try them first?
>>>>
>>>> Maybe a process killing command should try this one after the other
>>>> until the process is gone? (And then do the mode specific cleanup.)
>>>>
>>
>> Can you propose a specific change that works on cygwin, so we can try
>> it on other platforms (or just make it specific to cygwin)?
>>
> As I wrote both interrupt-process and kill-process works in my case
> here. However I do not know exactly what they do (cleanup etc).
Can you send a patch we can try?
>
> There seem to be another bug on w32 too. I just tried using CMD.EXE
> for the inferior process instead. That does not seem to work at all. I
> got this:
>
> d:/ecvs/:
> find . \( -type f -exec grep -q -e "message" {} \; \) -exec ls -ld {} \;
> find: missing argument to `-exec'
>
> find exited abnormally with code 1 at Sun Aug 27 00:16:20
Sorry, I don't understand. What were you trying to do that gave this error?
Pls. provide an exact test case.
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Can't stop find-grep-dired when using Cygwin for the inferior process, Lennart Borgman, 2006/08/26
- Re: Can't stop find-grep-dired when using Cygwin for the inferior process, Kim F. Storm, 2006/08/26
- Re: Can't stop find-grep-dired when using Cygwin for the inferior process, Lennart Borgman, 2006/08/26
- Re: Can't stop find-grep-dired when using Cygwin for the inferior process, Jason Rumney, 2006/08/27
- Re: Can't stop find-grep-dired when using Cygwin for the inferior process, Lennart Borgman, 2006/08/27
- Re: Can't stop find-grep-dired when using Cygwin for the inferior process - bug in shell-quote-argument?, Lennart Borgman, 2006/08/27
- Re: Can't stop find-grep-dired when using Cygwin for the inferior process - bug in shell-quote-argument?, Jason Rumney, 2006/08/27
- Re: Can't stop find-grep-dired when using Cygwin for the inferior process - bug in shell-quote-argument?, Lennart Borgman, 2006/08/27
- Re: Can't stop find-grep-dired when using Cygwin for the inferior process - bug in shell-quote-argument?, Jason Rumney, 2006/08/27
- Re: Can't stop find-grep-dired when using Cygwin for the inferior process - bug in shell-quote-argument?, Lennart Borgman, 2006/08/28
- Re: Can't stop find-grep-dired when using Cygwin for the inferior process - bug in shell-quote-argument?, Kim F. Storm, 2006/08/28
- Re: Can't stop find-grep-dired when using Cygwin for the inferior process - bug in shell-quote-argument?, Jason Rumney, 2006/08/28