From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: Re: Standard error output in Emacs Date: Fri, 07 Sep 2007 21:33:46 +0300 Message-ID: References: <222dce70709070714j4870925dkc42438f75fb34e44@mail.gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1189190042 24484 80.91.229.12 (7 Sep 2007 18:34:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 7 Sep 2007 18:34:02 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: "Milind Ganjoo" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 07 20:34:00 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ITieQ-0003x4-9D for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Sep 2007 20:33:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITieN-0000SF-Tr for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Sep 2007 14:33:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ITieL-0000Ny-AF for bug-gnu-emacs@gnu.org; Fri, 07 Sep 2007 14:33:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ITieK-0000MD-NB for bug-gnu-emacs@gnu.org; Fri, 07 Sep 2007 14:33:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITieK-0000Lw-9K for bug-gnu-emacs@gnu.org; Fri, 07 Sep 2007 14:33:48 -0400 Original-Received: from romy.inter.net.il ([213.8.233.24]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ITieJ-0003Ka-Ls for bug-gnu-emacs@gnu.org; Fri, 07 Sep 2007 14:33:47 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-13-121.inter.net.il [80.230.13.121]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id IVK57632 (AUTH halo1); Fri, 7 Sep 2007 21:33:37 +0300 (IDT) In-reply-to: <222dce70709070714j4870925dkc42438f75fb34e44@mail.gmail.com> (milganz@gmail.com) X-Detected-Kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16501 Archived-At: > Date: Fri, 7 Sep 2007 19:44:04 +0530 > From: "Milind Ganjoo" > > The standard error output from programs like DJGPP's gcc is not > captured by Emacs. When compiling a C++ source file using gpp in > Emacs, a compile error results in an abnormal exit code of 2, but the > *Compilation* buffer does not show the exact errors. I cannot reproduce this with the latest DJGPP binaries from www.delorie.com. Do you have the same problem in "emacs -Q"? If the problem goes away with "emacs -Q", maybe something in your .emacs causes this problem. If "emacs -Q" does not help, maybe you have set things so that Emacs invokes the DJGPP commands though some non-standard shell. My system is set up to invoke cmdproxy, which is the default on Windows. Also, I see that you tried to use the `redir' command to redirect stderr. If that's the way you invoked GCC, please try to invoke it without `redir', as the "M-x compile" normally redirects stderr to the "*Compilation*" buffer automatically, so `redir' should not be needed. Finally, if nothing helps or gives a clue, these could be problems specific to Windows Vista (I use XP SP2). In general, I'd suggest to use DJGPP programs only with the DJGPP build of Emacs (Emacs 22.1 should build with DJGPP just fine). If you want to use the Windows version of Emacs, I suggest to install MinGW GCC and development tools and use that instead.