From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Rudolf =?UTF-8?Q?Adamkovi=C4=8D?= via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#60830: 30.0.50; The *Compilation* buffer does not recognize Lua errors Date: Thu, 12 Oct 2023 10:12:05 +0200 Message-ID: References: <909EF5E1-6F30-4A35-84E8-2EF4333115FD@gmail.com> <4996E536-72CE-4E6A-9C75-CF7307A82469@gmail.com> <8170D896-5520-4A5E-83F0-51C99BD54802@gmail.com> Reply-To: Rudolf =?UTF-8?Q?Adamkovi=C4=8D?= Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17064"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60830@debbugs.gnu.org, Stefan Kangas , Stefan Monnier To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 12 10:12:54 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qqqoQ-0004FW-Mg for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 12 Oct 2023 10:12:54 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qqqoE-0000jE-0I; Thu, 12 Oct 2023 04:12:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qqqoB-0000hw-K0 for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2023 04:12:39 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qqqoB-00055P-BT for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2023 04:12:39 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qqqoX-0001Af-Jd for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2023 04:13:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Rudolf =?UTF-8?Q?Adamkovi=C4=8D?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Oct 2023 08:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60830 X-GNU-PR-Package: emacs Original-Received: via spool by 60830-submit@debbugs.gnu.org id=B60830.16970983654475 (code B ref 60830); Thu, 12 Oct 2023 08:13:01 +0000 Original-Received: (at 60830) by debbugs.gnu.org; 12 Oct 2023 08:12:45 +0000 Original-Received: from localhost ([127.0.0.1]:40574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qqqoG-0001A6-PR for submit@debbugs.gnu.org; Thu, 12 Oct 2023 04:12:45 -0400 Original-Received: from pv50p00im-ztdg10021101.me.com ([17.58.6.44]:49936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qqqoB-00019q-PZ for 60830@debbugs.gnu.org; Thu, 12 Oct 2023 04:12:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1697098331; bh=JHO9zG/ryzQ0DaHD8OJvELYNO8Xopu2JCFFQ9KLn8Io=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=kFkciv8OlC4ac6qZQDmFNlPUWVu4s0mOtOHwS5oNLFtRiC5UWjgbr5Klza99H6GvM pSXye07M2Xvi6Q8UQtVqjv+Yyxot3nw+DWVSb7nd+pkB70pBXWuq08q7JjUIGwzp77 WYe2fr0I1Xpje0a68Zlx7C1ii0FHYHxeZLoyODvLQsHyxM9hAyeUZ6+rPVeOpVQGx2 35qsPkCiHyTl31gwDB3d/5Sy4zdVxjkLlKTwNTeNwRI2Aj3K6rRYS0SGW1IUy9fBOA 5gCapwXHQ6EHNLTZcDDC7zQ3uzZ6+NHvLG3ajCRgiOPfcZOWrajukVbRAzHwZyOfJh EURHIUAdemjSQ== Original-Received: from Rudolfs-MacBook-Air.local (pv50p00im-dlb-asmtp-mailmevip.me.com [17.56.9.10]) by pv50p00im-ztdg10021101.me.com (Postfix) with ESMTPSA id 9139AD001C6; Thu, 12 Oct 2023 08:12:09 +0000 (UTC) In-Reply-To: <8170D896-5520-4A5E-83F0-51C99BD54802@gmail.com> X-Proofpoint-GUID: TtJW0ch_I_YMS1xBPZgBz8ii3UM9-VYv X-Proofpoint-ORIG-GUID: TtJW0ch_I_YMS1xBPZgBz8ii3UM9-VYv X-Proofpoint-Virus-Version: vendor=fsecure engine=1.1.170-22c6f66c430a71ce266a39bfe25bc2903e8d5c8f:6.0.138, 18.0.572, 17.0.605.474.0000000 definitions=2020-02-14_11:2020-02-14_02, 2020-02-14_11, 2020-01-23_02 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 mlxscore=0 suspectscore=0 spamscore=0 malwarescore=0 bulkscore=0 phishscore=0 mlxlogscore=999 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2310120069 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:272281 Archived-At: Mattias Engdeg=C3=A5rd writes: > We can help out. To quote you, "That's the spirit!" :) Please see the to-do comment I left in the 'compile-tests.el'. I think we want 'compile--test-error-line' to support both positive and negative test cases. > Only use non-greedy operators [...] I updated everything to my best knowledge. If the regexps are still not good enough, please quote the problematic fragments, so that I know exactly where the problem is. > Maybe you should test it just in case. (You don't need a Windows > machine to do that but it adds authenticity). I do not understand. Are you saying that the tests I wrote are insufficient? If so, could you please elaborate? > Look, it's not a beauty contest. We'll do what we have to. How do false positives and performance tie to "beauty"? I must have miscommunicated badly. What I wanted to say is that I imagine Lua working out of the box, hence my hunch for the most precise regexps. >> We still detect the file path/name, which is useful. > > The point is that it substantially increases the risks of false > matches. Lua needs to be a good neighbour and can't just think of its > own needs over anything else. The sequence of characters is fairly unique, given each stack frame must start with a tab and then contain ": in " after the file name. Rudy --=20 "Programming reliably -- must be an activity of an undeniably mathematical nature [=E2=80=A6] You see, mathematics is about thinking, and doing mathematics is always trying to think as well as possible." -- Edsger W. Dijkstra, 1981 Rudolf Adamkovi=C4=8D [he/him] Studenohorsk=C3=A1 25 84103 Bratislava Slovakia