From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 47024@debbugs.gnu.org
Subject: bug#47024: 28.0.50; [feature/native-comp] Warnings from async compilations truncated
Date: Wed, 10 Mar 2021 06:50:15 +0000 [thread overview]
Message-ID: <xjfsg53sdso.fsf@sdf.org> (raw)
In-Reply-To: <83im5zpu6p.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 10 Mar 2021 05:24:30 +0200")
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Andrea Corallo <akrl@sdf.org>
>> Cc: 47024@debbugs.gnu.org
>> Date: Tue, 09 Mar 2021 20:37:57 +0000
>>
>> > Warning (comp): seq.el:396:16: Warning: `seq-contains' is an obsolete generic function (as of Disable showing Disable logging
>> >
>> > Note the truncation after "(as of".
>> >
>> > Why does this happen? can it be fixed?
>>
>> ATM we capture each Warning (or error) with the following regexp:
>> "^.*+?\\(?:Error\\|Warning\\): .*$"
>>
>> So I expect we match the full line (if is a multi line diagnostic we'll
>> loose what's following).
>
> The message comes from a sub-process, right?
Yes
> Could it be that we
> match prematurely, when only part of the text was received?
That's possible, just before using the regexp we call
`accept-process-output' on the process, I thought this was sufficient to
handle the case but I'm no expert into this area.
Andrea
next prev parent reply other threads:[~2021-03-10 6:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-09 17:47 bug#47024: 28.0.50; [feature/native-comp] Warnings from async compilations truncated Eli Zaretskii
2021-03-09 20:37 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-10 3:24 ` Eli Zaretskii
2021-03-10 6:50 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2021-03-10 13:07 ` Eli Zaretskii
2021-03-10 13:12 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-10 13:51 ` Eli Zaretskii
2021-03-10 15:20 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-12 9:04 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-19 14:16 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-19 14:44 ` Eli Zaretskii
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=xjfsg53sdso.fsf@sdf.org \
--to=bug-gnu-emacs@gnu.org \
--cc=47024@debbugs.gnu.org \
--cc=akrl@sdf.org \
--cc=eliz@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.