From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Neil Pawson Newsgroups: gmane.emacs.bugs Subject: Missing output in shell buffer Date: Tue, 22 Oct 2002 14:40:33 +0100 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <200210221340.g9MDeXO01321@pepperonium.smallworld.co.uk> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1035293722 5610 80.91.224.249 (22 Oct 2002 13:35:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 22 Oct 2002 13:35:22 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 183zBm-0001Ro-00 for ; Tue, 22 Oct 2002 15:35:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 183zBz-0003bd-00; Tue, 22 Oct 2002 09:35:31 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 183zB2-0002LG-00 for bug-gnu-emacs@gnu.org; Tue, 22 Oct 2002 09:34:32 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 183zAs-0002B8-00 for bug-gnu-emacs@gnu.org; Tue, 22 Oct 2002 09:34:24 -0400 Original-Received: from [194.216.182.133] (helo=ultimate.Smallworld.co.uk) by monty-python.gnu.org with esmtp (Exim 4.10) id 183zAr-0001DA-00 for bug-gnu-emacs@gnu.org; Tue, 22 Oct 2002 09:34:21 -0400 Original-Received: from pepperonium.smallworld.co.uk by ultimate.Smallworld.co.uk (8.8.8+Sun/SWW-2.8-Gateway) id OAA17173; Tue, 22 Oct 2002 14:33:32 +0100 (BST) Original-Received: by pepperonium.smallworld.co.uk (8.11.0/SWW-2.1-Linux-Leaf) id g9MDeXO01321; Tue, 22 Oct 2002 14:40:33 +0100 Original-To: bug-gnu-emacs@gnu.org Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:3745 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3745 This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English, because the Emacs maintainers do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. In GNU Emacs 21.2.1 (i686-pc-linux-gnu, X toolkit) of 2002-07-12 on fluorine configured using `configure --libexecdir=/usr/local/lib --without-xpm --without-jpeg --without-tiff --without-giff --without-png --without-gif --without-toolkit-scroll-bars' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US locale-coding-system: iso-latin-1 default-enable-multibyte-characters: nil Please describe exactly what actions triggered the bug and the precise symptoms of the bug: I'm running a shell within Emacs on a linux box. The shell is rlogged into another machine (I've tested another Linux box and a SunOs 5.7 box). I want to find files containing the word 'foo' so I do: find . -type f -exec grep foo {} \; -print The bug is that if a file contains a ^M at the end of the line (e.g. foo^M) and that line matches my grep then Emacs echos a blank line instead of the grep output. So instead of: ----------------------------------------- find . -type f -exec grep foo {} \; -print foo ./bar ----------------------------------------- I get : ----------------------------------------- find . -type f -exec grep foo {} \; -print ./bar ----------------------------------------- This only happens when the shell is on a remote machine, and only within Emacs 21.2 (normal shells work fine). I tested this on Emacs 20.7 and the line was displayed without problem. New bug? Recent input: Recent messages: History item: 10 Making completion list... Mark saved where search started Making completion list... Mark set [4 times] History item: 1 Mark set History item: 1 [2 times] Mark saved where search started Loading emacsbug...done