From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matt McClure Newsgroups: gmane.emacs.bugs Subject: bug#12203: 24.1.50; *grep* buffer for grep over TRAMP contains shell prompt Date: Wed, 15 Aug 2012 18:15:18 -0400 Message-ID: References: <87has4paa0.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1345068987 28023 80.91.229.3 (15 Aug 2012 22:16:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Aug 2012 22:16:27 +0000 (UTC) Cc: 12203@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 16 00:16:26 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T1lsz-00041D-C8 for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Aug 2012 00:16:21 +0200 Original-Received: from localhost ([::1]:56000 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1lsy-0000lh-5g for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Aug 2012 18:16:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50145) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1lsw-0000lc-0b for bug-gnu-emacs@gnu.org; Wed, 15 Aug 2012 18:16:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T1lsu-00011X-UF for bug-gnu-emacs@gnu.org; Wed, 15 Aug 2012 18:16:17 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50234) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1lsu-00011D-Q6 for bug-gnu-emacs@gnu.org; Wed, 15 Aug 2012 18:16:16 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T1m1N-0007i0-T9 for bug-gnu-emacs@gnu.org; Wed, 15 Aug 2012 18:25:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Matt McClure Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 Aug 2012 22:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12203 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12203-submit@debbugs.gnu.org id=B12203.134506944829569 (code B ref 12203); Wed, 15 Aug 2012 22:25:01 +0000 Original-Received: (at 12203) by debbugs.gnu.org; 15 Aug 2012 22:24:08 +0000 Original-Received: from localhost ([127.0.0.1]:59780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T1m0V-0007gs-TQ for submit@debbugs.gnu.org; Wed, 15 Aug 2012 18:24:08 -0400 Original-Received: from mail-gh0-f172.google.com ([209.85.160.172]:64671) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T1m0T-0007gk-C1 for 12203@debbugs.gnu.org; Wed, 15 Aug 2012 18:24:06 -0400 Original-Received: by ghbg16 with SMTP id g16so2622355ghb.3 for <12203@debbugs.gnu.org>; Wed, 15 Aug 2012 15:15:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=JW1v6cWJ4RilgGMfFmwXKQtpXCgoVp46QdOeut+jeLA=; b=z2b9GKa8An5ilGvGxrHUXHxodVUHcw53kBJX6nAw6oHeDYU383Fj59bCL+upUMIilL UfMENaFmFXHGiguVMPGDm/g1ujFACcnbrqBod+JND0N4liT8obocSWtEl9v6Le7CWQfx 8LdKyHIfOeEIxZv/0tuUUEUgFKdtnouzi7Ad/HPsNUi7QfKuFPHwwcKbf2RkUhw3P299 M0II1PNyVd77AXIQ/zMR4olR4DtqyYmkTGjKXPT9u6qkJjRsp2ZPqZWzgilJbO4MvzFd kEvPzU3fVLHwP5q86I1NOQFkbsnUrMTgwlYa/D+9BzmCqqfvhOFInr963MGQbo926eQk 9+Bg== Original-Received: by 10.50.236.39 with SMTP id ur7mr33051igc.62.1345068918690; Wed, 15 Aug 2012 15:15:18 -0700 (PDT) Original-Received: by 10.50.154.225 with HTTP; Wed, 15 Aug 2012 15:15:18 -0700 (PDT) In-Reply-To: <87has4paa0.fsf@gmx.de> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:63207 On Wed, Aug 15, 2012 at 9:14 AM, Michael Albinus wrote: > Matt McClure 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