[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12203: 24.1.50; *grep* buffer for grep over TRAMP contains shell pro
From: |
Matt McClure |
Subject: |
bug#12203: 24.1.50; *grep* buffer for grep over TRAMP contains shell prompt |
Date: |
Wed, 15 Aug 2012 18:15:18 -0400 |
On Wed, Aug 15, 2012 at 9:14 AM, Michael Albinus <michael.albinus@gmx.de> wrote:
> Matt McClure <matthewlmcclure@gmail.com> writes:
>
>> When I use `M-x grep` in a TRAMP directory, the output in the `*grep*`
>> buffer contains the remote shell prompt.
>
> There's
> no simple fix, because some `start-file-process' invocations do
> appreciate a prompt. Maybe we shall check, whether the process is still
> alive. If it isn't, the prompt should be suppressed.
In case it's an easier change, if there were a newline after the
prompt it wouldn't break navigation to the first match.
--
Matt McClure
http://www.matthewlmcclure.com
http://www.mapmyfitness.com/profile/matthewlmcclure