From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#60830: 30.0.50; The *Compilation* buffer does not recognize Lua errors Date: Mon, 2 Oct 2023 11:37:37 -0700 Message-ID: References: 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="7762"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , 60830@debbugs.gnu.org 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 Mon Oct 02 20:39:14 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 1qnNp4-0001f9-5f for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 02 Oct 2023 20:39:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qnNog-0007Y9-Fv; Mon, 02 Oct 2023 14:38:50 -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 1qnNoc-0007Xq-Fb for bug-gnu-emacs@gnu.org; Mon, 02 Oct 2023 14:38:46 -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 1qnNob-0003Ml-GA for bug-gnu-emacs@gnu.org; Mon, 02 Oct 2023 14:38:46 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qnNos-0003BQ-58 for bug-gnu-emacs@gnu.org; Mon, 02 Oct 2023 14:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Oct 2023 18:39: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.169627188312141 (code B ref 60830); Mon, 02 Oct 2023 18:39:02 +0000 Original-Received: (at 60830) by debbugs.gnu.org; 2 Oct 2023 18:38:03 +0000 Original-Received: from localhost ([127.0.0.1]:37925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qnNnv-00039l-Ax for submit@debbugs.gnu.org; Mon, 02 Oct 2023 14:38:03 -0400 Original-Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]:58606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qnNns-00039F-Lu for 60830@debbugs.gnu.org; Mon, 02 Oct 2023 14:38:01 -0400 Original-Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-50325ce89e9so28751e87.0 for <60830@debbugs.gnu.org>; Mon, 02 Oct 2023 11:37:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696271858; x=1696876658; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:from:to:cc:subject:date :message-id:reply-to; bh=vHFJNo379F/ZbOP5xLMBns1ekLa4rGorEGu4nQfxaGk=; b=ElotvJOlDqh4xN7HU8ohCePbqvttTw4OtUMPs6kHA8SzEY88aXhekGh4d+cAz/yUw4 xjvkMRdy8oRQ7tbUzgcg6rkFXffGaln4yyE3NfSaCDzgkF7EKjqWlfXsrd4UzK66YLMP OjB9e4PG/VdRnCSW7b5ls496GwwKDeA9R8HBeMouS9DmIv8Qp+pBgidPxrEBJkhqxkO+ tvn4vsJkb0LRfAJpbQfeC6h10dQZjm+OFCVLK2WKW4b7+QqviojSUPkODzjmOn+OSW29 fsZUUB0r0QmhoAOUSCmwSNZ2i4DkbQQDNivMax06bnEVOZex3bktqAJYky8PumROUzbt VbFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696271858; x=1696876658; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=vHFJNo379F/ZbOP5xLMBns1ekLa4rGorEGu4nQfxaGk=; b=Wr+lObHu1RpSo97kw+4eq4sM0ZAq+OEVb2I1o4r1ATFnw1DezqqBnl6esGkn2603P5 zMHP9Qb53PtqNHDfh490UDxJTwRdzMs72y0tPYi36pUJcL++QUNqT9ncK8v2WwXKHgwO +MQs3cXxgj0qBawyP+gTBLN5bovK2jm+RG7EnvMlpbKjfo0XQBaaPuRufT9AMKwGzjJP 9tccSiltFwd6TT06/n9y2Aql0l/sfvlbznoHL5f1YS/FHBgbAL5/FdUmh07RHc3QrdMl FfjBqhymzXOxmcRFnR1Lpmft91zNZUBL3ZF5jIKvROpafejI0bWmkNLpWWzM17eISZAw w1/g== X-Gm-Message-State: AOJu0Yw5k3qIYrc3osxEyc9tfr9TEqKvmnaPdSV0TNuf+/q3/0NK5/cB SORR87Pj5FtlR3xzF/uBF8j7mKf6l6KO8BVFDk8= X-Google-Smtp-Source: AGHT+IE/N2zMPL9yd6Ar7fkZBGsL1o1xmV3yz0ZzlRBTitCe0o4xS7qojQ8NvA+wWry+2fkheSLJ+VmMau8Qxdt7IsI= X-Received: by 2002:a19:7110:0:b0:502:9fce:b6da with SMTP id m16-20020a197110000000b005029fceb6damr8602231lfc.21.1696271857822; Mon, 02 Oct 2023 11:37:37 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 2 Oct 2023 11:37:37 -0700 In-Reply-To: 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:271669 Archived-At: Rudolf Adamkovi=C4=8D writes: > Stefan Kangas writes: > >> This breaks because it doesn't follow the GNU standard's >> >> [PROGRAM:]FILE:LINE: MESSAGE >> >> Any chance we could get the lua developers to follow that format, >> instead? > > Thank you for the reply, Stefan. > > So, we seem to have 2 problems here: > > (1) the first line contains a space character after the 'PROGRAM:' > segment, which Lua developers might be willing to change perhaps, > > and > > (2) the stack trace lines are indented, which I doubt Lua developers > would want to change. > > Would it make sense to ask Lua developers about fixing (1) only, or > would fixing (2) in Emacs also "magically" fix (1), if Emacs has to > handle Lua specifically anyway? AFAICT, all that is needed is to fix the formatting you describe in (1). That will give the desired behavior. Regarding (2), I think compilation-mode already detects those as file locations, with no changes. At least it does on current master.