GNU bug report logs -
#16120
grep and tramp
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 16120 in the body.
You can then email your comments to 16120 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16120
; Package
emacs
.
(Thu, 12 Dec 2013 11:39:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Paul Pogonyshev <pogonyshev <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Thu, 12 Dec 2013 11:39:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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:root <at> localhost', 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
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16120
; Package
emacs
.
(Thu, 12 Dec 2013 14:21:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 16120 <at> debbugs.gnu.org (full text, mbox):
Paul Pogonyshev <pogonyshev <at> gmail.com> 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 :-)
> Paul
Best regards, Michael.
Reply sent
to
Michael Albinus <michael.albinus <at> gmx.de>
:
You have taken responsibility.
(Sat, 08 Feb 2014 13:40:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Paul Pogonyshev <pogonyshev <at> gmail.com>
:
bug acknowledged by developer.
(Sat, 08 Feb 2014 13:40:03 GMT)
Full text and
rfc822 format available.
Message #13 received at 16120-done <at> debbugs.gnu.org (full text, mbox):
Michael Albinus <michael.albinus <at> gmx.de> writes:
> Paul Pogonyshev <pogonyshev <at> gmail.com> 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.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 09 Mar 2014 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 11 years and 161 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.