From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.bugs Subject: bug#60830: 30.0.50; The *Compilation* buffer does not recognize Lua errors Date: Thu, 5 Oct 2023 13:27:23 +0200 Message-ID: <909EF5E1-6F30-4A35-84E8-2EF4333115FD@gmail.com> References: Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) 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="26788"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60830@debbugs.gnu.org, Stefan Kangas , Stefan Monnier To: Rudolf =?UTF-8?Q?Adamkovi=C4=8D?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 05 13:28:16 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 1qoMWe-0006jA-43 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 Oct 2023 13:28:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qoMWB-0003dC-9M; Thu, 05 Oct 2023 07:27:47 -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 1qoMW8-0003cW-TE for bug-gnu-emacs@gnu.org; Thu, 05 Oct 2023 07:27:45 -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 1qoMW8-000838-Kx for bug-gnu-emacs@gnu.org; Thu, 05 Oct 2023 07:27:44 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qoMWQ-0003RP-HQ for bug-gnu-emacs@gnu.org; Thu, 05 Oct 2023 07:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Oct 2023 11:28:02 +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.169650527213208 (code B ref 60830); Thu, 05 Oct 2023 11:28:02 +0000 Original-Received: (at 60830) by debbugs.gnu.org; 5 Oct 2023 11:27:52 +0000 Original-Received: from localhost ([127.0.0.1]:46137 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoMWF-0003Qx-Lt for submit@debbugs.gnu.org; Thu, 05 Oct 2023 07:27:51 -0400 Original-Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]:55697) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoMWC-0003Qi-NA for 60830@debbugs.gnu.org; Thu, 05 Oct 2023 07:27:50 -0400 Original-Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-50573e85ee0so1067510e87.3 for <60830@debbugs.gnu.org>; Thu, 05 Oct 2023 04:27:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696505244; x=1697110044; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:from:to:cc:subject :date:message-id:reply-to; bh=+U1ZDvd6gPLFxVS6LvGCe/e6wLzbizvjNKBS2wJyhPY=; b=WQSODHd19Em0KSGX7mItRVDqQYMBSfjtJXDKYg91WR+O5sLoEcC3vTlJzwYWC1IOFc LWS7JOQJgE4aoBL4jJYGAa6I1RdmbBxPyY22BMkPC1q3A6bQtJKLUVH1Lr3R0DUhmhlA fGRI0hKV6g1Vp52LAg8FKhqZX/LfCjk+rNlzxaZUDJWTwgCUAihug2fyfmjHf1uffX+N MyXrjDwWgf0Uv2pU597uw5bjNsIZAHnDDCfCEFk0h7Bea97HNzt/otJFFtRniyCKeQPR DjJe1m68votgC9f1s8zfSBxEmfzq45KqzAXpuapN0K2pvifaMTx3X/jXfQcj4yRYqjsb co0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696505244; x=1697110044; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=+U1ZDvd6gPLFxVS6LvGCe/e6wLzbizvjNKBS2wJyhPY=; b=YjrP/SwsC52IFP35e1QPnApwPLgoSt8BSKYUBLhBeZSEJS1SdYAxtFkv7agWIkk+9o xC4gTdW0DjWRAqYeGhq7TYxitQ6t86/xnfuLvHmKY2+z8yInn6jHGL9VevcopfB8iTmI EXi4CKhyM/toYIJT9+m1MPrUiyNdhgZiPRFN0ImER5kcgEMzERAp+YIWlg+OqMGvPdS2 0Wu5HRAkj7c+rR9zDCDWgHTbI8GBMOqPxVGqenVwLOaK8/IjrUitec/NNveFyJpevvJf 32r5K5aFqPd6Nk18rS2NxelSNsNt7wKybGxQ7Wr5V9ROuA+8fAAH+DL+s3ahelXAFPMb ikwg== X-Gm-Message-State: AOJu0Yxut9u3NimCNML1wB/IhJ1h9R6QY4UkfOvGnXIgchCKP40OGc9I VMT1O28k4epbwtB6hNdGLLU= X-Google-Smtp-Source: AGHT+IF8kt46kdpg/hf9JQ4ieVBaoEumX7jkpHz2qsCf2UAn0SINn+crYJY23FAQuU60wvszhgIK+Q== X-Received: by 2002:a05:6512:2512:b0:4fb:740a:81ae with SMTP id be18-20020a056512251200b004fb740a81aemr5374211lfb.16.1696505244003; Thu, 05 Oct 2023 04:27:24 -0700 (PDT) Original-Received: from smtpclient.apple (c188-150-165-235.bredband.tele2.se. [188.150.165.235]) by smtp.gmail.com with ESMTPSA id w11-20020a05651204cb00b004fe3bd81278sm258659lfq.70.2023.10.05.04.27.23 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Oct 2023 04:27:23 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3654.120.0.1.15) 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:271866 Archived-At: 3 okt. 2023 kl. 10.12 skrev Rudolf Adamkovi=C4=8D : > + (lua > + "^[^: \n\t]+: \\([^: \n\t]+\\):\\([0-9]+\\): " 1 2 nil 2 1) This pattern matches some lines normally matched by the `gnu` rule which = comes later in the rule list. I don't know if it's a big problem -- it = may cause misclassification of some messages which should be of = 'warning' or 'info' type. > + (lua-stack > + "^\t\\([^: \n\t]+\\):\\([0-9]+\\): " 1 2 nil 0 1) I'm actually slightly more bothered by this message because it would = conflict with possible future (re-)relaxation of the `gnu` rule with = respect to leading whitespace. The matter does come up from time to = time, and it would be nice to at least have the option to do that. In addition, there's this: > (B) People use older Lua versions, which will work forever, as they = are > written in ANSI C, and so even if (1) is fixed upstream, we must = support > the current error format as well. This also means that we may need to support an open set of Lua message = types. What about adding these rules but not enabling them by default? Is that = too onerous? The 'omake' rule has now been disabled by default for other reasons = (it's something that has been discussed in the past), so there is at = least precedence for doing this.