Article View: gnu.emacs.bug
Article #98922Bug/problem with 'next-error command
From: Edward H. Gornish
Date: Tue, 12 Feb 1991 20:39
Date: Tue, 12 Feb 1991 20:39
36 lines
1711 bytes
1711 bytes
I've noticed a bug/problem with the emacs command 'next-error. If I
compile the following program (filename is test.c):
main ()
{
i = j = 0;
k = l = 0;
}
with the command "M-X compile" (giving "cc test.c" as the Compile
command), I get the following output in the *compilation* buffer:
cd /homes/gornish/
cc test.c
"test.c", line 3: i undefined
"test.c", line 3: j undefined
"test.c", line 4: k undefined
"test.c", line 4: l undefined
Compilation exited abnormally with code 1 at Tue Feb 12 14:24:07
If I now type "M-X next-error", the cursor goes to line 4 in the
test.c buffer, and in the *compilation* buffer, the 1st line 4 error
is displayed at the top of the buffer window. In other words, all
errors on the 1st line that contains bugs (in this case, line 3) are
skipped. This behavior is independent of where the cursor is located
when I do the compile, or what buffers are displayed in the various
windows when I do the compile.
thanks
Eddie Gornish
University of Illinois - Center for Supercomputing research & Development
ARPANET: gornish@csrd.uiuc.edu
Technical Details
Message-ID:
<9102122039.AA03538@sp1.csrd.uiuc.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!CSRD.UIUC.EDU!gornishShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,46f69e5f63295728,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1991-02-12 12:39:05 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!CSRD.UIUC.EDU!gornish From: gornish@CSRD.UIUC.EDU (Edward H. Gornish) Newsgroups: gnu.emacs.bug Subject: Bug/problem with 'next-error command Message-ID: <9102122039.AA03538@sp1.csrd.uiuc.edu> Date: 12 Feb 91 20:39:05 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 36 Approved: bug-gnu-emacs@prep.ai.mit.edu