emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#16120: closed (grep and tramp)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#16120: closed (grep and tramp)
Date: Sat, 08 Feb 2014 13:40:02 +0000

Your message dated Sat, 08 Feb 2014 14:39:03 +0100
with message-id <address@hidden>
and subject line Re: bug#16120: grep and tramp
has caused the debbugs.gnu.org bug report #16120,
regarding grep and tramp
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
16120: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16120
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: grep and tramp Date: Thu, 12 Dec 2013 14:38:41 +0300
Grep over tramp fails to insert header in its output buffer. (I remember reporting this bug, but I didn't notice it was about tramp then; I tried with 'emacs -q' now).

For example, run from *scratch*, as 'M-x grep RET grep -nH -e xxx xxx RET':

    -*- mode: grep; default-directory: "~/" -*-
    Grep started at Thu Dec 12 14:33:28
   
    grep -nH -e xxx xxx
    grep: xxx: No such file or directory

    Grep exited abnormally with code 2 at Thu Dec 12 14:33:28

But when run from a "tramped" buffer ('/sudo:address@hidden', but apparently true for any other case too) in the same way:

    grep: xxx: No such file or directory
   
    Grep exited abnormally with code 2 at Thu Dec 12 14:35:53

Version: GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.8.6) of 2013-12-04 on gonzo.localdomain

Paul

--- End Message ---
--- Begin Message --- Subject: Re: bug#16120: grep and tramp Date: Sat, 08 Feb 2014 14:39:03 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
Michael Albinus <address@hidden> writes:

> Paul Pogonyshev <address@hidden> writes:

Hi Paul,

>> Grep over tramp fails to insert header in its output buffer. (I
>> remember reporting this bug, but I didn't notice it was about tramp
>> then; I tried with 'emacs -q' now).
>
> I know that behaviour. The reason is, that the current implementation
> would also include a prompt from the remote machine after that header;
> it's not easy to suppress it. That's why Tramp hides everything before
> the grep output.
>
> I will take this bug report as encouragement to find a proper solution :-)

I've fixed this now, changes committed to the repositories. Closing the bug.

>> Paul

Best regards, Michael.


--- End Message ---

reply via email to

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