all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#61093: Indented file names confuse compilation buffer
@ 2023-01-27 11:11 Sascha Ziemann
  2023-01-27 14:34 ` Mattias Engdegård
  2023-01-27 21:00 ` Rudolf Adamkovič via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 2 replies; 4+ messages in thread
From: Sascha Ziemann @ 2023-01-27 11:11 UTC (permalink / raw)
  To: 61093

[-- Attachment #1: Type: text/plain, Size: 684 bytes --]

The Go compiler indents sometimes filenames. I have attached a
htmlfontified compilation buffer showing this. It also shows that the
parser of the compilation buffer gets confused by this. The
problematic line is:

"    ./config.go:10:5: other declaration of config_file"

Some code thinks the whole line is a file name, because the whole line
is a hyperlink (underlined).

Some other code thinks only the beginning of the line is a file name
(red). But this part also thinks the line number is part of the file
name and marks the column number as line number (purple).

I think it might be ok to ignore leading whitespace, because file
names do not start very often with whitespace.

[-- Attachment #2: compilation.html --]
[-- Type: text/html, Size: 10423 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-01-27 21:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-27 11:11 bug#61093: Indented file names confuse compilation buffer Sascha Ziemann
2023-01-27 14:34 ` Mattias Engdegård
2023-01-27 16:23   ` Rudolf Schlatte
2023-01-27 21:00 ` Rudolf Adamkovič via Bug reports for GNU Emacs, the Swiss army knife of text editors

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.