all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
Cc: "Jan Djärv" <jan.h.d@swipnet.se>, rms@gnu.org, emacs-devel@gnu.org
Subject: Re: [lennart.borgman.073@student.lu.se: compilation-previous-error fails if first error is at start of buffer]
Date: Mon, 08 Jan 2007 12:11:59 +0100	[thread overview]
Message-ID: <45A226FF.30507@gmail.com> (raw)
In-Reply-To: <17826.570.959259.398020@kahikatea.snap.net.nz>

Nick Roberts wrote:
>  > > If the compilation buffer begins with error lines right at the top:
>  > > 
>  > > c:/EmacsW32/etc/EmacsW32Util.html:7:5: Warning: <link> inserting "type" 
>  > > attribute
>  > > c:/EmacsW32/etc/EmacsW32Util.html:12:19: Warning: <table> lacks 
>  > > "summary" attribute
>  > > c:/EmacsW32/etc/EmacsW32Util.html:29:5: Warning: <table> lacks "summary" 
>  > > attribute
>  > > 
>  > > then if point is on second line compilation-previous-error fails.
>  > > 
>  > 
>  > What is the error message?
> 
> Warnings and errors are equivalent in the compilation buffer.  I don't see how
> Lennart gets error lines right at the top as I always get the following four
> lines:
> 
>     -*- mode: compilation; default-directory: "~/" -*-
>     Compilation started at Mon Jan  8 21:22:48
> 
>     `command used for my compilation'


The output is from a library not included in Emacs (actually a version 
of tidy.el). The output does not have the lines above at the beginning. 
It would be rather inconvenient if it had, but maybe those line still 
should be there for some reason?


> 
> Perhaps this is for his patched version.  Anyway there's not much point fixing
> it when, like the heads of the Lernaean Hydra, two new bugs will take it's
> place in FOR-RELEASE.

I do not send bug report for the patched version, of course. (And I have 
tried to make it clear on download page on my site that you should use 
the unpatched version for bug reports.)

Here is a way to reproduce the error (CVS Emacs from 2007-01-03):

     emacs -Q
     M-: (switch-to-buffer "TEST")

Paste these lines (inside the "cut lines") into the buffer:

 >>>>> cut here >>>>>>>
c:/EmacsW32/nxml/nxhtml/doc/temp.htm:9:5: Warning: missing </h1> before 
</h3>
c:/EmacsW32/nxml/nxhtml/doc/temp.htm:10:5: Warning: discarding 
unexpected </h3>
c:/EmacsW32/nxml/nxhtml/doc/temp.htm:9:5: Warning: trimming empty <h1>
Info: Doctype given is "-//W3C//DTD XHTML 1.1//EN"
Info: Document content looks like XHTML 1.1
3 warnings, 0 errors were found!
<<<<<<<< cut here <<<<<<<<<<<<

so that the first error is on the first line of the buffer TEST, the 
second error on the second line and the third error on the third line. 
(You may have to edit this a bit because of line breaks in this mail 
message.) Now do

     M-x compilation-mode

Go to the beginning of the buffer. Press TAB. The point should move to 
the second error line. Press TAB again -> to third line.

Now press S-TAB. Should go to second line. S-TAB again should go to 
first line, but it does not.

Is this enough to reproduce it for you?

  parent reply	other threads:[~2007-01-08 11:11 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-08  5:32 [lennart.borgman.073@student.lu.se: compilation-previous-error fails if first error is at start of buffer] Richard Stallman
2007-01-08  7:59 ` Jan Djärv
2007-01-08  8:35   ` Nick Roberts
2007-01-08  9:05     ` Jan Djärv
2007-01-08 11:11     ` Lennart Borgman (gmail) [this message]
2007-01-08 14:22       ` Jan Djärv
2007-01-08 14:35         ` Lennart Borgman (gmail)
2007-01-08 15:15         ` Stefan Monnier
2007-01-08 17:37           ` Jan Djärv
2007-01-09  0:01         ` Richard Stallman
2007-01-08 15:14       ` Bug reporting (was: [lennart.borgman.073@student.lu.se: compilation-previous-error fails if first error is at start of buffer]) Stefan Monnier
2007-01-08 17:26         ` Bug reporting Lennart Borgman (gmail)
2007-01-11  4:05       ` [lennart.borgman.073@student.lu.se: compilation-previous-error fails if first error is at start of buffer] Nick Roberts
2007-01-18 21:33         ` Nick Roberts
2007-01-09  0:00     ` Richard Stallman
2007-01-09  1:27       ` Nick Roberts
2007-01-08 13:43 ` Chris Moore
  -- strict thread matches above, loose matches on Subject: below --
2006-12-31 22:13 Richard Stallman
2006-12-25  0:42 Richard Stallman
2006-12-17  5:37 Richard Stallman
2007-01-19  2:33 ` Chong Yidong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45A226FF.30507@gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=jan.h.d@swipnet.se \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.