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#70794: 30.0.50; Add Rust compilation regex Date: Thu, 6 Jun 2024 03:34:42 -0400 Message-ID: References: <16667D6C-F897-4A85-8C7A-0FA2E803FAA6@gmail.com> <86sexukpuh.fsf@gnu.org> <8BC5E59B-63B1-4784-9454-51925E9DBCFC@gmail.com> <86ikyqkmuo.fsf@gnu.org> <09473128-D0DB-442C-8404-EE58A18F5A5B@gmail.com> 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="21901"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70794@debbugs.gnu.org, Randy Taylor , spacibba@aol.com To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 06 09:37:29 2024 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 1sF7ge-0005Ru-K0 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Jun 2024 09:37:28 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sF7g3-0001r0-QU; Thu, 06 Jun 2024 03:36:51 -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 1sF7g1-0001qm-Ao for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2024 03:36:49 -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 1sF7fz-00080c-Ls for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2024 03:36:49 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sF7gD-0004b6-PN for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2024 03:37:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Jun 2024 07:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70794 X-GNU-PR-Package: emacs Original-Received: via spool by 70794-submit@debbugs.gnu.org id=B70794.171765937317536 (code B ref 70794); Thu, 06 Jun 2024 07:37:01 +0000 Original-Received: (at 70794) by debbugs.gnu.org; 6 Jun 2024 07:36:13 +0000 Original-Received: from localhost ([127.0.0.1]:46961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sF7fM-0004YZ-UK for submit@debbugs.gnu.org; Thu, 06 Jun 2024 03:36:13 -0400 Original-Received: from mail-ed1-f45.google.com ([209.85.208.45]:50438) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sF7fI-0004Xm-Q9 for 70794@debbugs.gnu.org; Thu, 06 Jun 2024 03:36:07 -0400 Original-Received: by mail-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-57a2406f951so621905a12.1 for <70794@debbugs.gnu.org>; Thu, 06 Jun 2024 00:35:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717659284; x=1718264084; 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=jTQtBYmh7LcAisqeymzAVviAbaTuGozDrZ8L9tTN6Zg=; b=Ww7uK5iaVWxgoBX2wThymyldXSwgx2szrrUXtOsPeN7tpePCw+GYuO9sJB7+Kc4fLy WmB5CLuYz6twoYgsIt0wYVkug5svrmtanzoqzLoaaXqhkN8P6VSb5UOslTCfqS1ay+Gq x76+JJZgKZyzq+7VVFjsCZfhNloLHM8hAlZngurBbxW30wWPBULPeNYssgcTao6vco6o Wukb3P4XkpXx8Xravt2NxTDap9xn/u4vu3PsjqkBSmhtTqTkxLlxw6P2xgnUwVigiF3J UFj6br5ZWAkm+sCQIUAA9Q8jUtxSgGk+K90ycKLRjyjisDQBMFE0C8oNkc4jIoum35dh hrYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717659284; x=1718264084; 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=jTQtBYmh7LcAisqeymzAVviAbaTuGozDrZ8L9tTN6Zg=; b=GJBDS746DAGUbaAuvaUCtcfBelYTKS350s7xsigjbvF2SnJwpj0yWyO9zcXJqHWxlG DE4oupojXKDKAeC8YcGGc8VipeRGz8XruJHRjfdEaTUhYJwAkaEE+5DUKGyTw6iXQTae a0dzslzHILzipIWaCLDoKAuS1aIe3BcqBTllBOIKf0EgBVbnmJpXXpBggNF++ImPgz9z 4sgs8qyp6KY0OQNJaGV36K1SZ60jAXdhNTpBgAKSfD89qRtjRNlNN5u2ncORHu+LBHjh SAEyw3s10lb+R0kJU31sfe08Ht2pdyw0rfx5bex3Gdl76hncbAecRBUj9qwYVRT573qQ oe+A== X-Gm-Message-State: AOJu0YwO+x3M9SZZx+LOTJe7ZxjhH4WI9mwbVf882UzBHDYLGEp60Zf1 uCY7pUfI4x1NW3ZoxQAS2Rxq1EdKJSLid0gWLYymkOeisODkaLO8zpYarq4wdLjM9MBWxkbvZOj ZYyla8ao4KDCJ96QSQ8lsBdDt0MU= X-Google-Smtp-Source: AGHT+IEUlYYzveMtWwWpa6BZJHLZZsGl6WHPw5TiI/AgZHPzzs2n+Kq1bXls4GND/VhBcEpUWHkCW0eoolZmceIMoOI= X-Received: by 2002:a50:9f4a:0:b0:57a:3114:7d07 with SMTP id 4fb4d7f45d1cf-57a8b6873damr3151647a12.9.1717659283982; Thu, 06 Jun 2024 00:34:43 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 6 Jun 2024 03:34:42 -0400 In-Reply-To: <09473128-D0DB-442C-8404-EE58A18F5A5B@gmail.com> 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:286667 Archived-At: Mattias Engdeg=C3=A5rd writes: > 3 juni 2024 kl. 18.33 skrev Eli Zaretskii : > >> Fine by me (I don't use Rust), but is the rule really broken? What >> happens if you move it to the end? > > It is indeed broken as written because it would match anything > starting with 'warning:' to something that looks like an arrow further > down the log which could be an unrelated message a megabyte away. > > I could try to slap together a guess at what a better one would be but > then again, I wouldn't use it myself (rarely use Rust and when I do > it's one of those external packages which have their own patterns and > more importantly active maintainers). Furthermore I don't have the > time to go poking around in the rustc (or cargo?) source code to see > what the message-emitting parts look like, which is very useful when > adding patterns. > > Even with the obvious fixes, the pattern would still be incomplete and > not even match parts of the examples given. I'm happy to work with > Rust users or package maintainers to work out details but I don't want > to do a rush job now, nor delay Emacs 30. Randy, would you be interested in working with Mattias to create a good `compilation-mode` regexp for Rust?