From: Sascha Ziemann <ceving@gmail.com>
To: 61093@debbugs.gnu.org
Subject: bug#61093: Indented file names confuse compilation buffer
Date: Fri, 27 Jan 2023 12:11:14 +0100 [thread overview]
Message-ID: <CAGUt3y6CYwNMP0YAZiZSNkDXWpXYr44tFjjZp5ki-ZhtUgmuSw@mail.gmail.com> (raw)
[-- 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 --]
next reply other threads:[~2023-01-27 11:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-27 11:11 Sascha Ziemann [this message]
2023-01-27 14:34 ` bug#61093: Indented file names confuse compilation buffer 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
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAGUt3y6CYwNMP0YAZiZSNkDXWpXYr44tFjjZp5ki-ZhtUgmuSw@mail.gmail.com \
--to=ceving@gmail.com \
--cc=61093@debbugs.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).