X-Loop: help-debbugs@HIDDEN Subject: bug#70465: [PATCH] Add font-locking rule for Rust function signatures Resent-From: Noah Peart <noah.v.peart@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 19 Apr 2024 02:03:04 +0000 Resent-Message-ID: <handler.70465.B.17134921667641 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 70465 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 70465 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.17134921667641 (code B ref -1); Fri, 19 Apr 2024 02:03:04 +0000 Received: (at submit) by debbugs.gnu.org; 19 Apr 2024 02:02:46 +0000 Received: from localhost ([127.0.0.1]:55897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rxdaN-0001yo-D2 for submit <at> debbugs.gnu.org; Thu, 18 Apr 2024 22:02:45 -0400 Received: from lists.gnu.org ([2001:470:142::17]:54704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <noah.v.peart@HIDDEN>) id 1rxdaJ-0001wy-GR for submit <at> debbugs.gnu.org; Thu, 18 Apr 2024 22:02:42 -0400 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 <noah.v.peart@HIDDEN>) id 1rxdZv-00089m-K4 for bug-gnu-emacs@HIDDEN; Thu, 18 Apr 2024 22:02:16 -0400 Received: from mail-oa1-x36.google.com ([2001:4860:4864:20::36]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <noah.v.peart@HIDDEN>) id 1rxdZr-0004ah-E7 for bug-gnu-emacs@HIDDEN; Thu, 18 Apr 2024 22:02:15 -0400 Received: by mail-oa1-x36.google.com with SMTP id 586e51a60fabf-2351c03438cso521163fac.2 for <bug-gnu-emacs@HIDDEN>; Thu, 18 Apr 2024 19:02:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713492129; x=1714096929; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=n4SBdpB4PJSbOubU91LNCPXD1PcIeCsL2N6h6cMeBFs=; b=bDKSod6W+8ck6kmu5/iWXaMdGQsXDS/zHV0bll3aLeWu26EcHWvqV0r9yIryTizZl7 bSllXu0dNocDxrBg+e0l1QILCOIvSEOj4zj3Mw7xo0wZptw6eM8hnls9UQckg4/oa702 sMrAmXFEhCqhCa0b/NZAeLhQlrv9gG8/uDLgHukfmIqXaPXqWPnzQvh7kNJ/u/Yby8/Y FVk6tSaWeoX2H7LSaiYpBsjg3euPF6fR8LHoIzjeSezi6EWwZ9mUj6Y3ozys0rN6L/pN p9j5wcT5CLzAZg+Kc5RfUyufJeMlfjdOK5rG//oEcxhqHjTFXZGjML6pLDGadTUEpJBK 1f9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713492129; x=1714096929; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=n4SBdpB4PJSbOubU91LNCPXD1PcIeCsL2N6h6cMeBFs=; b=wgdPDBxhfpCwPlI4gpFis/meyOrJbqN9QbZJwF06+J+88lmlKa9nDUaLbXWSw/PXo9 Zcrcqr5BFjLQI6c9lC128FpxHe9yMr6QCoZ4Ftl2MEBWn9xgkVuN9wZBzPO3CNcOIF4i AFVGWibUW5n1gJtB3jXR4nNv87Dx0ofyb68HfBHVgaqcZMXogq6UysWMngL+b7/fe/mv mfiDiHkDanR8W8k+ftVZQgZsrkD8yVmFTde4vvE603+cB+ksdESQK4G3qb3fLpjKrEGZ GIkmq62mgVH+uvh10s3v5RYsnX+KKgAThOAIzFKQ8DeyDK81ThR8+TUHyqzB7SnR7ihb wL+A== X-Gm-Message-State: AOJu0Yyfhc/PncvgzuA8VfRNmbA0ESvO6wk0A/foSFyEby5E9d94UjwI 6zGPHC/OVldrssRD2ej7AXmgipLrLsCSKzRyuJalgzMEOOIEGxr9fd3F+l5qCpxg6oy8iHfhJp2 et+/U8M9OFGWqvs8H3R/Y2uI9Zhdd5RC99Dbr3g== X-Google-Smtp-Source: AGHT+IExPbTqya9buAvQ8W1lhK/RaT8mXvrMNd3mTjYGxR4wd71aF+fgcnlDzhJNajCDu8NS5GwY26NDiTnwF06G5iM= X-Received: by 2002:a05:6870:458e:b0:239:5419:bc74 with SMTP id y14-20020a056870458e00b002395419bc74mr257077oao.27.1713492128912; Thu, 18 Apr 2024 19:02:08 -0700 (PDT) MIME-Version: 1.0 From: Noah Peart <noah.v.peart@HIDDEN> Date: Thu, 18 Apr 2024 19:01:57 -0700 Message-ID: <CAPVBTSdpnpJKEYXckLMCoigPEdsZN+C3zLnYVN35C_3zZ768Dg@HIDDEN> Content-Type: multipart/mixed; boundary="000000000000ab743f06166979e1" Received-SPF: pass client-ip=2001:4860:4864:20::36; envelope-from=noah.v.peart@HIDDEN; helo=mail-oa1-x36.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) --000000000000ab743f06166979e1 Content-Type: multipart/alternative; boundary="000000000000ab743e06166979df" --000000000000ab743e06166979df Content-Type: text/plain; charset="UTF-8" Tags: patch Adds a rule to font-lock Rust function signatures and missing function modifier "default" to rust-ts-mode--keywords. The new rule adds font-locking to signatures as in the following example: trait Foo { fn foo() -> String; // ^ font-lock-function-name-face } In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0) of 2024-04-18 built on noah-X580VD Repository revision: 0a57dfcff8d0abcf4427cfbfd886264bb3b8eaab Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101004 System Description: Ubuntu 22.04.4 LTS Configured using: 'configure --prefix=/usr/local --with-modules --with-tree-sitter --with-threads --with-x-toolkit=gtk3 --with-xwidgets --with-gnutls --with-json --with-mailutils --with-jpeg --with-png --with-rsvg --with-tiff --with-xml2 --with-xpm --with-imagemagick CC=gcc-12 CXX=gcc-12' --000000000000ab743e06166979df Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Tags: patch<br><br><br>Adds a rule to font-lock Rust funct= ion signatures and missing function<br>modifier "default" to rust= -ts-mode--keywords.<br><br>The new rule adds font-locking to signatures as = in the following<br>example:<br><br>=C2=A0 =C2=A0 trait Foo {<br>=C2=A0 =C2= =A0 =C2=A0 =C2=A0 fn foo() -> String;<br>//=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 ^ font-lock-function-name-face<br>=C2=A0 =C2=A0 }<br><br><br>= In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version<br>3.24.33= , cairo version 1.16.0) of 2024-04-18 built on noah-X580VD<br>Repository re= vision: 0a57dfcff8d0abcf4427cfbfd886264bb3b8eaab<br>Repository branch: mast= er<br>Windowing system distributor 'The X.Org Foundation', version = 11.0.12101004<br>System Description: Ubuntu 22.04.4 LTS<br><br>Configured u= sing:<br>=C2=A0'configure --prefix=3D/usr/local --with-modules --with-t= ree-sitter<br>--with-threads --with-x-toolkit=3Dgtk3 --with-xwidgets --with= -gnutls<br>--with-json --with-mailutils --with-jpeg --with-png --with-rsvg<= br>--with-tiff --with-xml2 --with-xpm --with-imagemagick CC=3Dgcc-12<br>CXX= =3Dgcc-12'<br></div> --000000000000ab743e06166979df-- --000000000000ab743f06166979e1 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-Add-font-locking-rule-for-Rust-function-signatures.patch" Content-Disposition: attachment; filename="0001-Add-font-locking-rule-for-Rust-function-signatures.patch" Content-Transfer-Encoding: base64 Content-ID: <f_lv60ygg50> X-Attachment-Id: f_lv60ygg50 RnJvbSAxY2NlNjk2ZWQ4OWFiZTlmYzNiZTVlYTc3YjgzYzM4ZTU1YzhhNzE0IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBOb2FoIFBlYXJ0IDxub2FoLnYucGVhcnRAZ21haWwuY29tPgpE YXRlOiBUaHUsIDE4IEFwciAyMDI0IDE4OjUyOjA2IC0wNzAwClN1YmplY3Q6IFtQQVRDSF0gQWRk IGZvbnQtbG9ja2luZyBydWxlIGZvciBSdXN0IGZ1bmN0aW9uIHNpZ25hdHVyZXMKCiogbGlzcC9w cm9nbW9kZXMvcnVzdC10cy1tb2RlLmVsCihydXN0LXRzLW1vZGUtLWZvbnQtbG9jay1zZXR0aW5n cyk6IEFkZCBmb250LWxvY2sgcnVsZSBmb3IgUnVzdApmdW5jdGlvbiBzaWduYXR1cmVzIGFuZCBt aXNzaW5nIGZ1bmN0aW9uIG1vZGlmaWVyIGtleXdvcmQgJ2RlZmF1bHQnLgotLS0KIGxpc3AvcHJv Z21vZGVzL3J1c3QtdHMtbW9kZS5lbCB8IDMgKystCiAxIGZpbGUgY2hhbmdlZCwgMiBpbnNlcnRp b25zKCspLCAxIGRlbGV0aW9uKC0pCgpkaWZmIC0tZ2l0IGEvbGlzcC9wcm9nbW9kZXMvcnVzdC10 cy1tb2RlLmVsIGIvbGlzcC9wcm9nbW9kZXMvcnVzdC10cy1tb2RlLmVsCmluZGV4IDcxMTJjZWNl ZDU3Li45Mjk3OGRiNjRhZiAxMDA2NDQKLS0tIGEvbGlzcC9wcm9nbW9kZXMvcnVzdC10cy1tb2Rl LmVsCisrKyBiL2xpc3AvcHJvZ21vZGVzL3J1c3QtdHMtbW9kZS5lbApAQCAtMTI5LDcgKzEyOSw3 IEBAIHJ1c3QtdHMtbW9kZS0tYnVpbHRpbi1tYWNyb3MKICAgIlJ1c3QgYnVpbHQtaW4gbWFjcm9z IGZvciB0cmVlLXNpdHRlciBmb250LWxvY2tpbmcuIikKIAogKGRlZnZhciBydXN0LXRzLW1vZGUt LWtleXdvcmRzCi0gICcoImFzIiAiYXN5bmMiICJhd2FpdCIgImJyZWFrIiAiY29uc3QiICJjb250 aW51ZSIgImR5biIgImVsc2UiCisgICcoImFzIiAiYXN5bmMiICJhd2FpdCIgImJyZWFrIiAiY29u c3QiICJjb250aW51ZSIgImRlZmF1bHQiICJkeW4iICJlbHNlIgogICAgICJlbnVtIiAiZXh0ZXJu IiAiZm4iICJmb3IiICJpZiIgImltcGwiICJpbiIgImxldCIgImxvb3AiICJtYXRjaCIKICAgICAi bW9kIiAibW92ZSIgInB1YiIgInJlZiIgInJldHVybiIgInN0YXRpYyIgInN0cnVjdCIgInRyYWl0 IiAidHlwZSIKICAgICAidW5pb24iICJ1bnNhZmUiICJ1c2UiICJ3aGVyZSIgIndoaWxlIiAoY3Jh dGUpIChzZWxmKSAoc3VwZXIpCkBAIC0xNzYsNiArMTc2LDcgQEAgcnVzdC10cy1tb2RlLS1mb250 LWxvY2stc2V0dGluZ3MKICAgIDpsYW5ndWFnZSAncnVzdAogICAgOmZlYXR1cmUgJ2RlZmluaXRp b24KICAgICcoKGZ1bmN0aW9uX2l0ZW0gbmFtZTogKGlkZW50aWZpZXIpIEBmb250LWxvY2stZnVu Y3Rpb24tbmFtZS1mYWNlKQorICAgICAoZnVuY3Rpb25fc2lnbmF0dXJlX2l0ZW0gbmFtZTogKGlk ZW50aWZpZXIpIEBmb250LWxvY2stZnVuY3Rpb24tbmFtZS1mYWNlKQogICAgICAobWFjcm9fZGVm aW5pdGlvbiAibWFjcm9fcnVsZXMhIiBAZm9udC1sb2NrLWNvbnN0YW50LWZhY2UpCiAgICAgICht YWNyb19kZWZpbml0aW9uIChpZGVudGlmaWVyKSBAZm9udC1sb2NrLXByZXByb2Nlc3Nvci1mYWNl KQogICAgICAoZmllbGRfZGVjbGFyYXRpb24gbmFtZTogKGZpZWxkX2lkZW50aWZpZXIpIEBmb250 LWxvY2stcHJvcGVydHktbmFtZS1mYWNlKQotLSAKMi4zNC4xCgo= --000000000000ab743f06166979e1--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Noah Peart <noah.v.peart@HIDDEN> Subject: bug#70465: Acknowledgement ([PATCH] Add font-locking rule for Rust function signatures) Message-ID: <handler.70465.B.17134921667641.ack <at> debbugs.gnu.org> References: <CAPVBTSdpnpJKEYXckLMCoigPEdsZN+C3zLnYVN35C_3zZ768Dg@HIDDEN> X-Gnu-PR-Message: ack 70465 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Reply-To: 70465 <at> debbugs.gnu.org Date: Fri, 19 Apr 2024 02:03:05 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 70465 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 70465: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D70465 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#70465: [PATCH] Add font-locking rule for Rust function signatures References: <CAPVBTSdpnpJKEYXckLMCoigPEdsZN+C3zLnYVN35C_3zZ768Dg@HIDDEN> In-Reply-To: <CAPVBTSdpnpJKEYXckLMCoigPEdsZN+C3zLnYVN35C_3zZ768Dg@HIDDEN> Resent-From: Yuan Fu <casouri@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 19 Apr 2024 07:26:02 +0000 Resent-Message-ID: <handler.70465.B70465.17135115252526 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 70465 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Noah Peart <noah.v.peart@HIDDEN> Cc: 70465 <at> debbugs.gnu.org Received: via spool by 70465-submit <at> debbugs.gnu.org id=B70465.17135115252526 (code B ref 70465); Fri, 19 Apr 2024 07:26:02 +0000 Received: (at 70465) by debbugs.gnu.org; 19 Apr 2024 07:25:25 +0000 Received: from localhost ([127.0.0.1]:57311 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rxice-0000eS-26 for submit <at> debbugs.gnu.org; Fri, 19 Apr 2024 03:25:25 -0400 Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]:44119) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <casouri@HIDDEN>) id 1rxicb-0000dI-Bo for 70465 <at> debbugs.gnu.org; Fri, 19 Apr 2024 03:25:22 -0400 Received: by mail-pj1-x1032.google.com with SMTP id 98e67ed59e1d1-2a53e810f10so1322322a91.0 for <70465 <at> debbugs.gnu.org>; Fri, 19 Apr 2024 00:25:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713511501; x=1714116301; darn=debbugs.gnu.org; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=tNW537JngYxEP4u21SPa0MBaxX0/GLlQCNorxpU+Gdk=; b=FycOA7HWNkL0NQqHJQ3H0F2OfPDf0IlnMZA6AjnZzYG3oIQkOkvtN/Hk9IkTlNFTTL Ty57uUYBSdAR59fXMOWMisxh9sbYPm8C09OIFAKy6rpHKg+eb0XylpHrHV2aQ5LQOwue HDMPSEo001wVxvp5VgS7YD4DS6G418+u2FpEVAE6E2LBiEuMSXphoLVN9jnvKWRNZJ+D a6MXr26u3QeBps1rSg0O+gGTUb5gMI8HYDwcSPlJ17Hy8NWgHwgHic39pKlBgfbKAd/V QTsX+kQXM+4cHwcaD2PnDaCiP4LFB+nx+PaQgvfvXMuFObAPTc76ceUUclPxqnX6aXsR nV6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713511501; x=1714116301; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tNW537JngYxEP4u21SPa0MBaxX0/GLlQCNorxpU+Gdk=; b=uNdLAJ4EhRj/yxQSlKVg0lTvDetk/v2I073GW+yy4+XmfaewK66+l5q+Y+ldKMbus7 gld0G1H+zfHYfJYXjeXDYrz8H3xW9kqgE6/6lhY7Mlpc04fMBY+EI97axHhp1FbzT3sb eCTkVg/Di3HBeURwHc/5ieuK1BUsflp7504vZVu1Dp6tYt7YOEbgqJlxEF6NH76HVPa/ 69GEHA3K24M5Occa2W+RmhlpZ9kBCit1evXMruoyTpAm9b168MCsnkMhY3rUydF+HqPE wbiZsZ22PJlf1JJOHqb9sK1a+Ty9ghxmh3/M/cJYk0pT6ZSM8+dijhsetZ78g82uZnNo 4M/A== X-Gm-Message-State: AOJu0YxoIMMieMxEJDNC97qOKs6UDShLzR5j5WYz+FxzXFen01JU/jf+ IHW4tOfPJlHFlSkzuZlU7TUgrsm/cMu0dWTpxm1BqjcQXmFmfhQZ X-Google-Smtp-Source: AGHT+IGSnNQikeSSGaLrdWRk4y1yULeL/dlvJ1HuKK0uFAVKDclNg82K2AGiSwQwVFOBcnCGB9iyvQ== X-Received: by 2002:a17:90a:a89:b0:2a2:6735:c427 with SMTP id 9-20020a17090a0a8900b002a26735c427mr1242209pjw.17.1713511501170; Fri, 19 Apr 2024 00:25:01 -0700 (PDT) Received: from smtpclient.apple ([2601:641:300:4910:21b4:7382:dc:3202]) by smtp.gmail.com with ESMTPSA id o15-20020a17090ac70f00b002a2d4bf345bsm4254234pjt.55.2024.04.19.00.25.00 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Apr 2024 00:25:00 -0700 (PDT) From: Yuan Fu <casouri@HIDDEN> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.1\)) Message-Id: <25F19856-6D74-4C71-A249-F9C44CABAF20@HIDDEN> Date: Fri, 19 Apr 2024 00:24:49 -0700 X-Mailer: Apple Mail (2.3731.700.6.1.1) X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Noah Peart <noah.v.peart@HIDDEN> writes: > Tags: patch > > Adds a rule to font-lock Rust function signatures and missing function > modifier "default" to rust-ts-mode--keywords. > > The new rule adds font-locking to signatures as in the following > example: > > trait Foo { > fn foo() -> String; > // ^ font-lock-function-name-face > } Thanks! Eli, for this kind of small fix patches, should it go to emacs-29 or master? I don=E2=80=99t think it=E2=80=99ll affect the stability of = emacs-29, but in the same time it isn=E2=80=99t an urgent bug either. Yuan
X-Loop: help-debbugs@HIDDEN Subject: bug#70465: [PATCH] Add font-locking rule for Rust function signatures Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 19 Apr 2024 10:49:01 +0000 Resent-Message-ID: <handler.70465.B70465.171352369416933 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 70465 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Yuan Fu <casouri@HIDDEN> Cc: noah.v.peart@HIDDEN, 70465 <at> debbugs.gnu.org Received: via spool by 70465-submit <at> debbugs.gnu.org id=B70465.171352369416933 (code B ref 70465); Fri, 19 Apr 2024 10:49:01 +0000 Received: (at 70465) by debbugs.gnu.org; 19 Apr 2024 10:48:14 +0000 Received: from localhost ([127.0.0.1]:58050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rxlmw-0004P2-8q for submit <at> debbugs.gnu.org; Fri, 19 Apr 2024 06:48:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60314) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1rxlmt-0004O1-7L for 70465 <at> debbugs.gnu.org; Fri, 19 Apr 2024 06:48:12 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1rxlmZ-000571-I8; Fri, 19 Apr 2024 06:47:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=+EgXNjIX668GaSPDGdS+BHSUuW9m2oNCRIoTvGq2H8U=; b=OD8ULWYgK4r/3u8EMmZ+ NY8FH/7rg+GrHEauOZ9F2+gNcgV1nXdFXYqEHNsOVmtiUOpKwZri5jmXwWQWlLeZbJJx/otY8ZPOv zJbNVnbek0b+WtBsLKqNWm4NLJ1eTbwfOSj/jKLZrf1QsK8p/K9wAxvuZw9TCUawpWStllbDmIb9I nhtwNnx/V9jUuJWFKF3iuIJEBCOmBZey9jyaayQYKyXbjSW70OJPV+vqe5drUp4ZxpiAZ2AtOyX+E 6095mygZmUlp8UnR6v1TeJg+PxexuXVWhoIB9huo/qjrYihPphuVki5VpyPUk/hnJjHWaJodnOHQY jBb5Fe1IUhMt2g==; Date: Fri, 19 Apr 2024 13:47:47 +0300 Message-Id: <86ttjxbpd8.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <25F19856-6D74-4C71-A249-F9C44CABAF20@HIDDEN> (message from Yuan Fu on Fri, 19 Apr 2024 00:24:49 -0700) References: <CAPVBTSdpnpJKEYXckLMCoigPEdsZN+C3zLnYVN35C_3zZ768Dg@HIDDEN> <25F19856-6D74-4C71-A249-F9C44CABAF20@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Cc: 70465 <at> debbugs.gnu.org > From: Yuan Fu <casouri@HIDDEN> > Date: Fri, 19 Apr 2024 00:24:49 -0700 > > > Noah Peart <noah.v.peart@HIDDEN> writes: > > > Tags: patch > > > > Adds a rule to font-lock Rust function signatures and missing function > > modifier "default" to rust-ts-mode--keywords. > > > > The new rule adds font-locking to signatures as in the following > > example: > > > > trait Foo { > > fn foo() -> String; > > // ^ font-lock-function-name-face > > } > > Thanks! > > Eli, for this kind of small fix patches, should it go to emacs-29 or > master? I don’t think it’ll affect the stability of emacs-29, but in the > same time it isn’t an urgent bug either. Since this is an enhancement, not a bugfix, it should go to master. Please be sure to add the bug number to the commit log message when you install this. Thanks.
X-Loop: help-debbugs@HIDDEN Subject: bug#70465: [PATCH] Add font-locking rule for Rust function signatures Resent-From: Noah Peart <noah.v.peart@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 19 Apr 2024 16:49:03 +0000 Resent-Message-ID: <handler.70465.B70465.171354530029498 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 70465 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii <eliz@HIDDEN> Cc: Yuan Fu <casouri@HIDDEN>, 70465 <at> debbugs.gnu.org Received: via spool by 70465-submit <at> debbugs.gnu.org id=B70465.171354530029498 (code B ref 70465); Fri, 19 Apr 2024 16:49:03 +0000 Received: (at 70465) by debbugs.gnu.org; 19 Apr 2024 16:48:20 +0000 Received: from localhost ([127.0.0.1]:59157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rxrPL-0007fF-7u for submit <at> debbugs.gnu.org; Fri, 19 Apr 2024 12:48:19 -0400 Received: from mail-oa1-x2a.google.com ([2001:4860:4864:20::2a]:46424) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <noah.v.peart@HIDDEN>) id 1rxrPF-0007cN-Io for 70465 <at> debbugs.gnu.org; Fri, 19 Apr 2024 12:48:12 -0400 Received: by mail-oa1-x2a.google.com with SMTP id 586e51a60fabf-23489b56559so1236793fac.1 for <70465 <at> debbugs.gnu.org>; Fri, 19 Apr 2024 09:47:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713545269; x=1714150069; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=aQ8SSZQP4SUOWcrybJRc56/WmymaalS1dCw/y7kTy7w=; b=JmCQRZIJlFfypcc2TLMKXAnnjkUZKu+aTd8GXhqVjwOy8OW3TmuNXlgs5cieyz9MtA HR4LZ9YUvy4B3rrOswUBENPGlhVpQS3Y1kcmTyc+HLj1UQzf6gdTf5Cd+KPNUSbmUztN P6a0xaD64tn1orpqc/elVY93dzSLS0aK8IeMDDFxf5UX22T/Qmlx1iMXDXz/3OSv5+x0 +ouSV7U87TPNqOG2JzTep0DF1Co9vIZxOjoBK9YX9OJbzZGuT5PCEqytbHCW7d5y+0Bj o8aiwl0f9GsFHsM1G/hE+goC0AIQGuRqAJmWxp/9bIoFXmhsLhhe5JRGlOOYmoVxS8YU AoaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713545269; x=1714150069; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=aQ8SSZQP4SUOWcrybJRc56/WmymaalS1dCw/y7kTy7w=; b=fM0wiZou7uFMNWJ+PsreZFfPKOHjVGRfvm4ZLIFHWkmlhQHhQ5iO0an8OgK9GBQX1/ qzJ1Pf1eNMrFkyi7KXaPT3y1FeTOXxUPDThKO0IwlkX+xgmfQvKW4v2D4lEKY5zB4fAY z8XdSwwsWqyE38P9uC+EtJIlzbavSEoxKvmPYg66UaNFJkaYhMtZrHQLLSoRZj4z7l9X 4Bqak5voits5owaa/1VqcGfiXNRnTFJy0mHZ/a3ZAS92GYJC5z8k+CDWVNYnfFl6Wm2c crHyXQO1aAYqyvSfgu9AHyr1toBxsL0xf2P6PYr3LOBC3pnOMRsYA2vhHDMMEQsuk09m 8L+A== X-Forwarded-Encrypted: i=1; AJvYcCUm896+fNRRD+/Rl0nyyRDbZbH/oFJo3zVBWhizIkyv7Bq4Ug34QO/7YEdUvKaTMR2j0iQ9e17JVHn7rKiVgrccGC7PEws= X-Gm-Message-State: AOJu0Yy6Rdy8v7AU9zPL+iAeTFOjReR/fpvGiCnjRxFv2VpvnJoydrht c87yEoU2BHtF7N+uM8JEQ8c0abgWOQQ+45GbUPQ20+NSihZT5HgGKHxUphXljKSPrV78VtlgVhJ w3LqMlu1glSjOJieJp4+f/iYGCng= X-Google-Smtp-Source: AGHT+IGEWQ0aMFaZieqXrfOsEip1w1pvC6kON1qqWNn1Rb2W6/fCUHEhosDZh5LrgX/athgJ6a6WRByvfiZjBPK6+tE= X-Received: by 2002:a05:6870:724c:b0:22e:ccb6:7cb6 with SMTP id y12-20020a056870724c00b0022eccb67cb6mr3322721oaf.40.1713545269400; Fri, 19 Apr 2024 09:47:49 -0700 (PDT) MIME-Version: 1.0 References: <CAPVBTSdpnpJKEYXckLMCoigPEdsZN+C3zLnYVN35C_3zZ768Dg@HIDDEN> <25F19856-6D74-4C71-A249-F9C44CABAF20@HIDDEN> <86ttjxbpd8.fsf@HIDDEN> In-Reply-To: <86ttjxbpd8.fsf@HIDDEN> From: Noah Peart <noah.v.peart@HIDDEN> Date: Fri, 19 Apr 2024 09:47:38 -0700 Message-ID: <CAPVBTSeKpumndtkT9DKs6N6NWAy_j+7-nJOr+ZtnYX-owNgi7g@HIDDEN> Content-Type: multipart/alternative; boundary="00000000000016dfa0061675d92d" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --00000000000016dfa0061675d92d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > Please be sure to add the bug number to the commit log message when you install this. When submitting a patch, is there an easy way to add the bug number to the commit? On Fri, Apr 19, 2024 at 3:47=E2=80=AFAM Eli Zaretskii <eliz@HIDDEN> wrote: > > Cc: 70465 <at> debbugs.gnu.org > > From: Yuan Fu <casouri@HIDDEN> > > Date: Fri, 19 Apr 2024 00:24:49 -0700 > > > > > > Noah Peart <noah.v.peart@HIDDEN> writes: > > > > > Tags: patch > > > > > > Adds a rule to font-lock Rust function signatures and missing functio= n > > > modifier "default" to rust-ts-mode--keywords. > > > > > > The new rule adds font-locking to signatures as in the following > > > example: > > > > > > trait Foo { > > > fn foo() -> String; > > > // ^ font-lock-function-name-face > > > } > > > > Thanks! > > > > Eli, for this kind of small fix patches, should it go to emacs-29 or > > master? I don=E2=80=99t think it=E2=80=99ll affect the stability of ema= cs-29, but in the > > same time it isn=E2=80=99t an urgent bug either. > > Since this is an enhancement, not a bugfix, it should go to master. > > Please be sure to add the bug number to the commit log message when > you install this. > > Thanks. > --00000000000016dfa0061675d92d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">> Please be sure to add the bug number to the commit lo= g message when<br>you install this.<br><div><br></div><div>When submitting = a patch, is there an easy way to add the bug number to</div><div>the commit= ?</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail= _attr">On Fri, Apr 19, 2024 at 3:47=E2=80=AFAM Eli Zaretskii <<a href=3D= "mailto:eliz@HIDDEN">eliz@HIDDEN</a>> wrote:<br></div><blockquote clas= s=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid r= gb(204,204,204);padding-left:1ex">> Cc: <a href=3D"mailto:70465@debbugs.= gnu.org" target=3D"_blank">70465 <at> debbugs.gnu.org</a><br> > From: Yuan Fu <<a href=3D"mailto:casouri@HIDDEN" target=3D"_blan= k">casouri@HIDDEN</a>><br> > Date: Fri, 19 Apr 2024 00:24:49 -0700<br> > <br> > <br> > Noah Peart <<a href=3D"mailto:noah.v.peart@HIDDEN" target=3D"_bl= ank">noah.v.peart@HIDDEN</a>> writes:<br> > <br> > > Tags: patch<br> > ><br> > > Adds a rule to font-lock Rust function signatures and missing fun= ction<br> > > modifier "default" to rust-ts-mode--keywords.<br> > ><br> > > The new rule adds font-locking to signatures as in the following<= br> > > example:<br> > ><br> > >=C2=A0 =C2=A0 =C2=A0trait Foo {<br> > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0fn foo() -> String;<br> > > //=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^ font-lock-function-= name-face<br> > >=C2=A0 =C2=A0 =C2=A0}<br> > <br> > Thanks!<br> > <br> > Eli, for this kind of small fix patches, should it go to emacs-29 or<b= r> > master? I don=E2=80=99t think it=E2=80=99ll affect the stability of em= acs-29, but in the<br> > same time it isn=E2=80=99t an urgent bug either.<br> <br> Since this is an enhancement, not a bugfix, it should go to master.<br> <br> Please be sure to add the bug number to the commit log message when<br> you install this.<br> <br> Thanks.<br> </blockquote></div> --00000000000016dfa0061675d92d--
X-Loop: help-debbugs@HIDDEN Subject: bug#70465: [PATCH] Add font-locking rule for Rust function signatures Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 19 Apr 2024 17:36:01 +0000 Resent-Message-ID: <handler.70465.B70465.171354815518804 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 70465 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Noah Peart <noah.v.peart@HIDDEN> Cc: casouri@HIDDEN, 70465 <at> debbugs.gnu.org Received: via spool by 70465-submit <at> debbugs.gnu.org id=B70465.171354815518804 (code B ref 70465); Fri, 19 Apr 2024 17:36:01 +0000 Received: (at 70465) by debbugs.gnu.org; 19 Apr 2024 17:35:55 +0000 Received: from localhost ([127.0.0.1]:59375 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rxs9T-0004tE-Au for submit <at> debbugs.gnu.org; Fri, 19 Apr 2024 13:35:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1rxs9Q-0004sK-Hd for 70465 <at> debbugs.gnu.org; Fri, 19 Apr 2024 13:35:53 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1rxs94-0003bc-Di; Fri, 19 Apr 2024 13:35:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=uzSzMHpGWYxq5oI9VlkZZdIRSy9B+fjh6EjPoimMuHk=; b=DXKAEVVouFBi tdUDgJDnaZkdfRmVxKLYCK9I1bolXbMD+K1sS9riFTMTf1x7U7Y3lBLjWVjSo2EsGu3kJbRGALd5B KI2qSlX48YxiOEnsW0zBS2n1wI3XDpGEFa0zZgdxxX9ZeQsYBUrVzVUtmXYlGKsultZJVnrfOt/gO lz2rBdr8EBjs0TGwfD8manSYx7TIWuUBOeNK2EcZcpMWap+Y0RHNc1rWqNxrF5fPdNs6jsF68l6W1 aUDKW0YxGXrSKYE6pQdktg0ATO3wJ78pAVK1BXJrHvF5uXtSGtUssi+r/7TG/pxkz81g+PRIU1W8B EAAgY5z9ACnABRwWg/bRYA==; Date: Fri, 19 Apr 2024 20:35:19 +0300 Message-Id: <86wmot9rxk.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <CAPVBTSeKpumndtkT9DKs6N6NWAy_j+7-nJOr+ZtnYX-owNgi7g@HIDDEN> (message from Noah Peart on Fri, 19 Apr 2024 09:47:38 -0700) References: <CAPVBTSdpnpJKEYXckLMCoigPEdsZN+C3zLnYVN35C_3zZ768Dg@HIDDEN> <25F19856-6D74-4C71-A249-F9C44CABAF20@HIDDEN> <86ttjxbpd8.fsf@HIDDEN> <CAPVBTSeKpumndtkT9DKs6N6NWAy_j+7-nJOr+ZtnYX-owNgi7g@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Noah Peart <noah.v.peart@HIDDEN> > Date: Fri, 19 Apr 2024 09:47:38 -0700 > Cc: Yuan Fu <casouri@HIDDEN>, 70465 <at> debbugs.gnu.org > > > Please be sure to add the bug number to the commit log message when > you install this. > > When submitting a patch, is there an easy way to add the bug number to > the commit? Only after you get the bug report back from the bug tracker. When you send the first message which creates a new bug report, you cannot know it. So we only ask people to add the bug number if they submit a revised patch, because at that point the number is already known. When an original patch is installed, the person who pushes it must do a "git commit --amend" to edit the commit log message to add the bug number.
X-Loop: help-debbugs@HIDDEN Subject: bug#70465: [PATCH] Add font-locking rule for Rust function signatures Resent-From: Noah Peart <noah.v.peart@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 19 Apr 2024 17:45:01 +0000 Resent-Message-ID: <handler.70465.B70465.171354866322404 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 70465 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii <eliz@HIDDEN> Cc: casouri@HIDDEN, 70465 <at> debbugs.gnu.org Received: via spool by 70465-submit <at> debbugs.gnu.org id=B70465.171354866322404 (code B ref 70465); Fri, 19 Apr 2024 17:45:01 +0000 Received: (at 70465) by debbugs.gnu.org; 19 Apr 2024 17:44:23 +0000 Received: from localhost ([127.0.0.1]:59418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rxsHd-0005p0-6j for submit <at> debbugs.gnu.org; Fri, 19 Apr 2024 13:44:22 -0400 Received: from mail-oo1-xc31.google.com ([2607:f8b0:4864:20::c31]:49399) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <noah.v.peart@HIDDEN>) id 1rxsHb-0005o8-LL for 70465 <at> debbugs.gnu.org; Fri, 19 Apr 2024 13:44:20 -0400 Received: by mail-oo1-xc31.google.com with SMTP id 006d021491bc7-5aa1fe2ad39so1280694eaf.2 for <70465 <at> debbugs.gnu.org>; Fri, 19 Apr 2024 10:44:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713548640; x=1714153440; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=iquksQTULgLFT/ZKQes7CVdsZgLNGTEAZcvUHzn0f2c=; b=ecxfXYEl0o9xGy7nr5Y4MQCzy9YB1PWqHVUy9YjX7y8kkOKfuHAncUYfYBpNjZ0SB8 zc5jh8sdUIKc9OBA3nURONZF9FdwLtVKDM79j9lQbrtBqcEUvY2W8uuvKe7ejbgmyp6Y JUem1nebDQRr2+sCmGwMndZHd/ujFvL0KIlNvJ6emlb4CaqFVjP6O2Yc71dK/DgJ5eWp KdIF7byjrLjGtzc8RLACj8aO3hDSbMcnV9KB0sJ7Zw+JH06IjfqrCpqD+YV8/+Lt4KHT 1ZQ1w5YSM/HhsquYTRuZP/LZ8mh0RMHbaPStvwI9uxRl0l+bRJp2l/lfZ9h6LgFN5Nal Xk/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713548640; x=1714153440; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=iquksQTULgLFT/ZKQes7CVdsZgLNGTEAZcvUHzn0f2c=; b=GTjz2IA85WoPDnlXKy8nLCCAvxE0QgjacZ1E9d81H1I7ZgVa5qcTZmmKqoVvimTP7B BV/ZF3/UJeHR6SGSy9j8TeH9V9PuWRu/GhwZa9jaVs5jn/ZCLJLwyeUDhDPg/gpBS9gD V+Vjr44rcyAfB5Lm108AZSUB++c8008oIvcPm4buQYWJNWq19Sy96t/gNuJHRXISsDlM Im/ZoYcQJIurgvmW7utOzOnWyNUFmXYByvsPCqVEZJZJeO03SqUYBuAhFPgYhyjyH9BE BZ69/xsGdboCsmAZobpF8lS9yqgXDUWsLRm3VcDDNCvA5fDmGiSgFNLcsb6DOigQesxZ tTCw== X-Forwarded-Encrypted: i=1; AJvYcCUkKdP+ka7gFUCz6omCd6+J7KddKhWntLHgtlSKeHhBhtEZnjwemqUw8dKB+M6rTPiVN8f1YlBmpXiuassfeS5LEovX/qY= X-Gm-Message-State: AOJu0Yy8xKNQGPnIbL89rgE79a4leQccobkmBJFJtv3fsMunHo6nyxLI UdcDDvrXA9GHLB7OOxiPpVZmXcSCUY1ogMcB2bFws10b8+vHT4KnuIYG6Kw5W+UTvfggac16YRw KVvh+5F3mXrFTlW9tncK8agYZkDM= X-Google-Smtp-Source: AGHT+IFD0Dey3A+SL7+x6A+Yp6kHGU0k8fzmYDHqKGpc+vEBFrPih4T0Wdt5TpJS6mbY73uUrKOSxIU9IRKHJAYxuHs= X-Received: by 2002:a05:6870:230d:b0:22e:cf0a:34c1 with SMTP id w13-20020a056870230d00b0022ecf0a34c1mr3184324oao.55.1713548639505; Fri, 19 Apr 2024 10:43:59 -0700 (PDT) MIME-Version: 1.0 References: <CAPVBTSdpnpJKEYXckLMCoigPEdsZN+C3zLnYVN35C_3zZ768Dg@HIDDEN> <25F19856-6D74-4C71-A249-F9C44CABAF20@HIDDEN> <86ttjxbpd8.fsf@HIDDEN> <CAPVBTSeKpumndtkT9DKs6N6NWAy_j+7-nJOr+ZtnYX-owNgi7g@HIDDEN> <86wmot9rxk.fsf@HIDDEN> In-Reply-To: <86wmot9rxk.fsf@HIDDEN> From: Noah Peart <noah.v.peart@HIDDEN> Date: Fri, 19 Apr 2024 10:43:48 -0700 Message-ID: <CAPVBTSe95PPb9UV7NU7OmfdFT=_Vt+9ZMXk6H1NfdGMK+VCE0g@HIDDEN> Content-Type: multipart/alternative; boundary="000000000000f69214061676a149" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --000000000000f69214061676a149 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Got it, thanks! On Fri, Apr 19, 2024 at 10:35=E2=80=AFAM Eli Zaretskii <eliz@HIDDEN> wrote= : > > From: Noah Peart <noah.v.peart@HIDDEN> > > Date: Fri, 19 Apr 2024 09:47:38 -0700 > > Cc: Yuan Fu <casouri@HIDDEN>, 70465 <at> debbugs.gnu.org > > > > > Please be sure to add the bug number to the commit log message when > > you install this. > > > > When submitting a patch, is there an easy way to add the bug number to > > the commit? > > Only after you get the bug report back from the bug tracker. When you > send the first message which creates a new bug report, you cannot know > it. So we only ask people to add the bug number if they submit a > revised patch, because at that point the number is already known. > When an original patch is installed, the person who pushes it must do > a "git commit --amend" to edit the commit log message to add the bug > number. > --000000000000f69214061676a149 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Got it,=C2=A0thanks!</div><br><div class=3D"gmail_quote"><= div dir=3D"ltr" class=3D"gmail_attr">On Fri, Apr 19, 2024 at 10:35=E2=80=AF= AM Eli Zaretskii <<a href=3D"mailto:eliz@HIDDEN">eliz@HIDDEN</a>> w= rote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0p= x 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> From:= Noah Peart <<a href=3D"mailto:noah.v.peart@HIDDEN" target=3D"_blank"= >noah.v.peart@HIDDEN</a>><br> > Date: Fri, 19 Apr 2024 09:47:38 -0700<br> > Cc: Yuan Fu <<a href=3D"mailto:casouri@HIDDEN" target=3D"_blank"= >casouri@HIDDEN</a>>, <a href=3D"mailto:70465 <at> debbugs.gnu.org" target= =3D"_blank">70465 <at> debbugs.gnu.org</a><br> > <br> > > Please be sure to add the bug number to the commit log message wh= en<br> > you install this.<br> > <br> > When submitting a patch, is there an easy way to add the bug number to= <br> > the commit?<br> <br> Only after you get the bug report back from the bug tracker.=C2=A0 When you= <br> send the first message which creates a new bug report, you cannot know<br> it.=C2=A0 So we only ask people to add the bug number if they submit a<br> revised patch, because at that point the number is already known.<br> When an original patch is installed, the person who pushes it must do<br> a "git commit --amend" to edit the commit log message to add the = bug<br> number.<br> </blockquote></div> --000000000000f69214061676a149--
MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Yuan Fu <casouri@HIDDEN> Subject: bug#70465: closed ([PATCH] Add font-locking rule for Rust function signatures) CC: tracker <at> debbugs.gnu.org Message-ID: <handler.70465.D70465.171374428228403.ackdone <at> debbugs.gnu.org> References: <12963D05-5585-4CC3-BC33-25B61D0F33CC@HIDDEN> <CAPVBTSdpnpJKEYXckLMCoigPEdsZN+C3zLnYVN35C_3zZ768Dg@HIDDEN> X-Gnu-PR-Message: closed 70465 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Date: Mon, 22 Apr 2024 00:05:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1713744302-28568-0" This is a multi-part message in MIME format... ------------=_1713744302-28568-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sun, 21 Apr 2024 17:03:59 -0700 with message-id <12963D05-5585-4CC3-BC33-25B61D0F33CC@HIDDEN> and subject line Re: bug#70465: [PATCH] Add font-locking rule for Rust func= tion signatures has caused the debbugs.gnu.org bug report #70465, regarding [PATCH] Add font-locking rule for Rust function signatures to be marked as done. (If you believe you have received this mail in error, please contact help-debbugs@HIDDEN) --=20 70465: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D70465 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems ------------=_1713744302-28568-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 19 Apr 2024 02:02:46 +0000 Received: from localhost ([127.0.0.1]:55897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rxdaN-0001yo-D2 for submit <at> debbugs.gnu.org; Thu, 18 Apr 2024 22:02:45 -0400 Received: from lists.gnu.org ([2001:470:142::17]:54704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <noah.v.peart@HIDDEN>) id 1rxdaJ-0001wy-GR for submit <at> debbugs.gnu.org; Thu, 18 Apr 2024 22:02:42 -0400 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 <noah.v.peart@HIDDEN>) id 1rxdZv-00089m-K4 for bug-gnu-emacs@HIDDEN; Thu, 18 Apr 2024 22:02:16 -0400 Received: from mail-oa1-x36.google.com ([2001:4860:4864:20::36]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <noah.v.peart@HIDDEN>) id 1rxdZr-0004ah-E7 for bug-gnu-emacs@HIDDEN; Thu, 18 Apr 2024 22:02:15 -0400 Received: by mail-oa1-x36.google.com with SMTP id 586e51a60fabf-2351c03438cso521163fac.2 for <bug-gnu-emacs@HIDDEN>; Thu, 18 Apr 2024 19:02:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713492129; x=1714096929; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=n4SBdpB4PJSbOubU91LNCPXD1PcIeCsL2N6h6cMeBFs=; b=bDKSod6W+8ck6kmu5/iWXaMdGQsXDS/zHV0bll3aLeWu26EcHWvqV0r9yIryTizZl7 bSllXu0dNocDxrBg+e0l1QILCOIvSEOj4zj3Mw7xo0wZptw6eM8hnls9UQckg4/oa702 sMrAmXFEhCqhCa0b/NZAeLhQlrv9gG8/uDLgHukfmIqXaPXqWPnzQvh7kNJ/u/Yby8/Y FVk6tSaWeoX2H7LSaiYpBsjg3euPF6fR8LHoIzjeSezi6EWwZ9mUj6Y3ozys0rN6L/pN p9j5wcT5CLzAZg+Kc5RfUyufJeMlfjdOK5rG//oEcxhqHjTFXZGjML6pLDGadTUEpJBK 1f9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713492129; x=1714096929; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=n4SBdpB4PJSbOubU91LNCPXD1PcIeCsL2N6h6cMeBFs=; b=wgdPDBxhfpCwPlI4gpFis/meyOrJbqN9QbZJwF06+J+88lmlKa9nDUaLbXWSw/PXo9 Zcrcqr5BFjLQI6c9lC128FpxHe9yMr6QCoZ4Ftl2MEBWn9xgkVuN9wZBzPO3CNcOIF4i AFVGWibUW5n1gJtB3jXR4nNv87Dx0ofyb68HfBHVgaqcZMXogq6UysWMngL+b7/fe/mv mfiDiHkDanR8W8k+ftVZQgZsrkD8yVmFTde4vvE603+cB+ksdESQK4G3qb3fLpjKrEGZ GIkmq62mgVH+uvh10s3v5RYsnX+KKgAThOAIzFKQ8DeyDK81ThR8+TUHyqzB7SnR7ihb wL+A== X-Gm-Message-State: AOJu0Yyfhc/PncvgzuA8VfRNmbA0ESvO6wk0A/foSFyEby5E9d94UjwI 6zGPHC/OVldrssRD2ej7AXmgipLrLsCSKzRyuJalgzMEOOIEGxr9fd3F+l5qCpxg6oy8iHfhJp2 et+/U8M9OFGWqvs8H3R/Y2uI9Zhdd5RC99Dbr3g== X-Google-Smtp-Source: AGHT+IExPbTqya9buAvQ8W1lhK/RaT8mXvrMNd3mTjYGxR4wd71aF+fgcnlDzhJNajCDu8NS5GwY26NDiTnwF06G5iM= X-Received: by 2002:a05:6870:458e:b0:239:5419:bc74 with SMTP id y14-20020a056870458e00b002395419bc74mr257077oao.27.1713492128912; Thu, 18 Apr 2024 19:02:08 -0700 (PDT) MIME-Version: 1.0 From: Noah Peart <noah.v.peart@HIDDEN> Date: Thu, 18 Apr 2024 19:01:57 -0700 Message-ID: <CAPVBTSdpnpJKEYXckLMCoigPEdsZN+C3zLnYVN35C_3zZ768Dg@HIDDEN> Subject: [PATCH] Add font-locking rule for Rust function signatures To: bug-gnu-emacs@HIDDEN Content-Type: multipart/mixed; boundary="000000000000ab743f06166979e1" Received-SPF: pass client-ip=2001:4860:4864:20::36; envelope-from=noah.v.peart@HIDDEN; helo=mail-oa1-x36.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) --000000000000ab743f06166979e1 Content-Type: multipart/alternative; boundary="000000000000ab743e06166979df" --000000000000ab743e06166979df Content-Type: text/plain; charset="UTF-8" Tags: patch Adds a rule to font-lock Rust function signatures and missing function modifier "default" to rust-ts-mode--keywords. The new rule adds font-locking to signatures as in the following example: trait Foo { fn foo() -> String; // ^ font-lock-function-name-face } In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0) of 2024-04-18 built on noah-X580VD Repository revision: 0a57dfcff8d0abcf4427cfbfd886264bb3b8eaab Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101004 System Description: Ubuntu 22.04.4 LTS Configured using: 'configure --prefix=/usr/local --with-modules --with-tree-sitter --with-threads --with-x-toolkit=gtk3 --with-xwidgets --with-gnutls --with-json --with-mailutils --with-jpeg --with-png --with-rsvg --with-tiff --with-xml2 --with-xpm --with-imagemagick CC=gcc-12 CXX=gcc-12' --000000000000ab743e06166979df Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Tags: patch<br><br><br>Adds a rule to font-lock Rust funct= ion signatures and missing function<br>modifier "default" to rust= -ts-mode--keywords.<br><br>The new rule adds font-locking to signatures as = in the following<br>example:<br><br>=C2=A0 =C2=A0 trait Foo {<br>=C2=A0 =C2= =A0 =C2=A0 =C2=A0 fn foo() -> String;<br>//=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 ^ font-lock-function-name-face<br>=C2=A0 =C2=A0 }<br><br><br>= In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version<br>3.24.33= , cairo version 1.16.0) of 2024-04-18 built on noah-X580VD<br>Repository re= vision: 0a57dfcff8d0abcf4427cfbfd886264bb3b8eaab<br>Repository branch: mast= er<br>Windowing system distributor 'The X.Org Foundation', version = 11.0.12101004<br>System Description: Ubuntu 22.04.4 LTS<br><br>Configured u= sing:<br>=C2=A0'configure --prefix=3D/usr/local --with-modules --with-t= ree-sitter<br>--with-threads --with-x-toolkit=3Dgtk3 --with-xwidgets --with= -gnutls<br>--with-json --with-mailutils --with-jpeg --with-png --with-rsvg<= br>--with-tiff --with-xml2 --with-xpm --with-imagemagick CC=3Dgcc-12<br>CXX= =3Dgcc-12'<br></div> --000000000000ab743e06166979df-- --000000000000ab743f06166979e1 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-Add-font-locking-rule-for-Rust-function-signatures.patch" Content-Disposition: attachment; filename="0001-Add-font-locking-rule-for-Rust-function-signatures.patch" Content-Transfer-Encoding: base64 Content-ID: <f_lv60ygg50> X-Attachment-Id: f_lv60ygg50 RnJvbSAxY2NlNjk2ZWQ4OWFiZTlmYzNiZTVlYTc3YjgzYzM4ZTU1YzhhNzE0IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBOb2FoIFBlYXJ0IDxub2FoLnYucGVhcnRAZ21haWwuY29tPgpE YXRlOiBUaHUsIDE4IEFwciAyMDI0IDE4OjUyOjA2IC0wNzAwClN1YmplY3Q6IFtQQVRDSF0gQWRk IGZvbnQtbG9ja2luZyBydWxlIGZvciBSdXN0IGZ1bmN0aW9uIHNpZ25hdHVyZXMKCiogbGlzcC9w cm9nbW9kZXMvcnVzdC10cy1tb2RlLmVsCihydXN0LXRzLW1vZGUtLWZvbnQtbG9jay1zZXR0aW5n cyk6IEFkZCBmb250LWxvY2sgcnVsZSBmb3IgUnVzdApmdW5jdGlvbiBzaWduYXR1cmVzIGFuZCBt aXNzaW5nIGZ1bmN0aW9uIG1vZGlmaWVyIGtleXdvcmQgJ2RlZmF1bHQnLgotLS0KIGxpc3AvcHJv Z21vZGVzL3J1c3QtdHMtbW9kZS5lbCB8IDMgKystCiAxIGZpbGUgY2hhbmdlZCwgMiBpbnNlcnRp b25zKCspLCAxIGRlbGV0aW9uKC0pCgpkaWZmIC0tZ2l0IGEvbGlzcC9wcm9nbW9kZXMvcnVzdC10 cy1tb2RlLmVsIGIvbGlzcC9wcm9nbW9kZXMvcnVzdC10cy1tb2RlLmVsCmluZGV4IDcxMTJjZWNl ZDU3Li45Mjk3OGRiNjRhZiAxMDA2NDQKLS0tIGEvbGlzcC9wcm9nbW9kZXMvcnVzdC10cy1tb2Rl LmVsCisrKyBiL2xpc3AvcHJvZ21vZGVzL3J1c3QtdHMtbW9kZS5lbApAQCAtMTI5LDcgKzEyOSw3 IEBAIHJ1c3QtdHMtbW9kZS0tYnVpbHRpbi1tYWNyb3MKICAgIlJ1c3QgYnVpbHQtaW4gbWFjcm9z IGZvciB0cmVlLXNpdHRlciBmb250LWxvY2tpbmcuIikKIAogKGRlZnZhciBydXN0LXRzLW1vZGUt LWtleXdvcmRzCi0gICcoImFzIiAiYXN5bmMiICJhd2FpdCIgImJyZWFrIiAiY29uc3QiICJjb250 aW51ZSIgImR5biIgImVsc2UiCisgICcoImFzIiAiYXN5bmMiICJhd2FpdCIgImJyZWFrIiAiY29u c3QiICJjb250aW51ZSIgImRlZmF1bHQiICJkeW4iICJlbHNlIgogICAgICJlbnVtIiAiZXh0ZXJu IiAiZm4iICJmb3IiICJpZiIgImltcGwiICJpbiIgImxldCIgImxvb3AiICJtYXRjaCIKICAgICAi bW9kIiAibW92ZSIgInB1YiIgInJlZiIgInJldHVybiIgInN0YXRpYyIgInN0cnVjdCIgInRyYWl0 IiAidHlwZSIKICAgICAidW5pb24iICJ1bnNhZmUiICJ1c2UiICJ3aGVyZSIgIndoaWxlIiAoY3Jh dGUpIChzZWxmKSAoc3VwZXIpCkBAIC0xNzYsNiArMTc2LDcgQEAgcnVzdC10cy1tb2RlLS1mb250 LWxvY2stc2V0dGluZ3MKICAgIDpsYW5ndWFnZSAncnVzdAogICAgOmZlYXR1cmUgJ2RlZmluaXRp b24KICAgICcoKGZ1bmN0aW9uX2l0ZW0gbmFtZTogKGlkZW50aWZpZXIpIEBmb250LWxvY2stZnVu Y3Rpb24tbmFtZS1mYWNlKQorICAgICAoZnVuY3Rpb25fc2lnbmF0dXJlX2l0ZW0gbmFtZTogKGlk ZW50aWZpZXIpIEBmb250LWxvY2stZnVuY3Rpb24tbmFtZS1mYWNlKQogICAgICAobWFjcm9fZGVm aW5pdGlvbiAibWFjcm9fcnVsZXMhIiBAZm9udC1sb2NrLWNvbnN0YW50LWZhY2UpCiAgICAgICht YWNyb19kZWZpbml0aW9uIChpZGVudGlmaWVyKSBAZm9udC1sb2NrLXByZXByb2Nlc3Nvci1mYWNl KQogICAgICAoZmllbGRfZGVjbGFyYXRpb24gbmFtZTogKGZpZWxkX2lkZW50aWZpZXIpIEBmb250 LWxvY2stcHJvcGVydHktbmFtZS1mYWNlKQotLSAKMi4zNC4xCgo= --000000000000ab743f06166979e1-- ------------=_1713744302-28568-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 70465-done) by debbugs.gnu.org; 22 Apr 2024 00:04:42 +0000 Received: from localhost ([127.0.0.1]:45263 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ryhAk-0007NR-E3 for submit <at> debbugs.gnu.org; Sun, 21 Apr 2024 20:04:42 -0400 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]:48509) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <casouri@HIDDEN>) id 1ryhAe-0007Lw-GQ for 70465-done <at> debbugs.gnu.org; Sun, 21 Apr 2024 20:04:36 -0400 Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-6ecff9df447so3704282b3a.1 for <70465-done <at> debbugs.gnu.org>; Sun, 21 Apr 2024 17:04:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713744251; x=1714349051; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=nZsVzFaQypwIIdjduUkeVv9TzWV5+7KHOCvcx/1vBgw=; b=h7yslwQfxP0N7cIpBX9q2oq075kqV/gGT4oj5kCVbPOjR5X3IL6yOgO0aHMaW/mBXK evuYuxhTODpWpR9kzLI9NHgwY5fx4poqw085HXykkl0/qLHOlYBMSQhKIQYaE/pZWdyx bq+byyvncW1YsL/7Lu3Ao1UmGvsgNOM9jkW1+xlEL0OzKrRB+Z1G52lt0rFks94qO738 QCx8djy/ber4OtrSIlyyVtmNVH5SxhoNHOTzmY2daeuLrLHJ65veXpPNVyGpIJUJBtS+ rfXkwANfrqAwBlaBTGNpWR6uukZLma0w2Kle4MGfREucgOCLW96n94GWh09j30Cj+B3e wzSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713744251; x=1714349051; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nZsVzFaQypwIIdjduUkeVv9TzWV5+7KHOCvcx/1vBgw=; b=xAyWhBML2U9p9EnfOTwOw/m000v1qpBGjJ9/K9Wmzo1dfvxr8FuJjfb5RETHIC8ugA kkE6vWiXaEH1YgR43rY+s5hkA5nPiWsWtrxLhf5ldfhlr1rOPwiTtIzb1FXeMVDZG9sk w67D1onrZTVoPKLs+rtEMUNpKXxgeeh1B/vMJ1wmRXyPkKGF4jV9peExnxo9y2EYG/iA z17NQF2cuVMK62Dn+Zum34HplPKKdLXNkXvYgFUsQMramfd0M//WDzQn6T0kYG/GOYSu gpdBaARJIWIybVumJcbvPJiLI0UEMXHTOprTCUJGb+Xh3tsJqbSz6XwjDT5rhvdSc8ow KXUQ== X-Forwarded-Encrypted: i=1; AJvYcCVIu31yPgRYypR4V0PAOaj3yqMGDbDkjFP++DWUDWSUCMZAQpprziD3wrdUjfVTCj2akEpas8iDhR//z07qhjr7qQgEXq/ThNzrRg== X-Gm-Message-State: AOJu0YwS7W92sZ/J6ruCJxZYQNf+27FkVnKgXix5OTraqRp2AZTzphTj aH2WrZOGafdbuiCHQUfhWAkG3jXSnP7RGIqgkDSIctrEFWGYvZw8 X-Google-Smtp-Source: AGHT+IEApYQgnLltEliWXM194TN2YfjROAIZ9tFo5O7Whhr1V4SJhQQLhUi2ChS1iYF5S2N9FMQYWA== X-Received: by 2002:a05:6a00:4650:b0:6ea:b9ef:f482 with SMTP id kp16-20020a056a00465000b006eab9eff482mr12968139pfb.24.1713744251005; Sun, 21 Apr 2024 17:04:11 -0700 (PDT) Received: from smtpclient.apple ([2601:641:300:4910:e4f6:f0b8:c91d:e40b]) by smtp.gmail.com with ESMTPSA id 17-20020a056a00073100b006eadc87233dsm6625894pfm.165.2024.04.21.17.04.10 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Apr 2024 17:04:10 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.1\)) Subject: Re: bug#70465: [PATCH] Add font-locking rule for Rust function signatures From: Yuan Fu <casouri@HIDDEN> In-Reply-To: <CAPVBTSe95PPb9UV7NU7OmfdFT=_Vt+9ZMXk6H1NfdGMK+VCE0g@HIDDEN> Date: Sun, 21 Apr 2024 17:03:59 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <12963D05-5585-4CC3-BC33-25B61D0F33CC@HIDDEN> References: <CAPVBTSdpnpJKEYXckLMCoigPEdsZN+C3zLnYVN35C_3zZ768Dg@HIDDEN> <25F19856-6D74-4C71-A249-F9C44CABAF20@HIDDEN> <86ttjxbpd8.fsf@HIDDEN> <CAPVBTSeKpumndtkT9DKs6N6NWAy_j+7-nJOr+ZtnYX-owNgi7g@HIDDEN> <86wmot9rxk.fsf@HIDDEN> <CAPVBTSe95PPb9UV7NU7OmfdFT=_Vt+9ZMXk6H1NfdGMK+VCE0g@HIDDEN> To: Noah Peart <noah.v.peart@HIDDEN> X-Mailer: Apple Mail (2.3731.700.6.1.1) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 70465-done Cc: 70465-done <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) > On Apr 19, 2024, at 10:43 AM, Noah Peart <noah.v.peart@HIDDEN> = wrote: >=20 > Got it, thanks! >=20 > On Fri, Apr 19, 2024 at 10:35=E2=80=AFAM Eli Zaretskii <eliz@HIDDEN> = wrote: > > From: Noah Peart <noah.v.peart@HIDDEN> > > Date: Fri, 19 Apr 2024 09:47:38 -0700 > > Cc: Yuan Fu <casouri@HIDDEN>, 70465 <at> debbugs.gnu.org > >=20 > > > Please be sure to add the bug number to the commit log message = when > > you install this. > >=20 > > When submitting a patch, is there an easy way to add the bug number = to > > the commit? >=20 > Only after you get the bug report back from the bug tracker. When you > send the first message which creates a new bug report, you cannot know > it. So we only ask people to add the bug number if they submit a > revised patch, because at that point the number is already known. > When an original patch is installed, the person who pushes it must do > a "git commit --amend" to edit the commit log message to add the bug > number. And merged. Yuan= ------------=_1713744302-28568-0--
MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Noah Peart <noah.v.peart@HIDDEN> Subject: bug#70465: closed (Re: bug#70465: [PATCH] Add font-locking rule for Rust function signatures) Message-ID: <handler.70465.D70465.171374428228403.notifdone <at> debbugs.gnu.org> References: <12963D05-5585-4CC3-BC33-25B61D0F33CC@HIDDEN> <CAPVBTSdpnpJKEYXckLMCoigPEdsZN+C3zLnYVN35C_3zZ768Dg@HIDDEN> X-Gnu-PR-Message: they-closed 70465 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Reply-To: 70465 <at> debbugs.gnu.org Date: Mon, 22 Apr 2024 00:05:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1713744302-28568-1" This is a multi-part message in MIME format... ------------=_1713744302-28568-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #70465: [PATCH] Add font-locking rule for Rust function signatures which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 70465 <at> debbugs.gnu.org. --=20 70465: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D70465 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems ------------=_1713744302-28568-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 70465-done) by debbugs.gnu.org; 22 Apr 2024 00:04:42 +0000 Received: from localhost ([127.0.0.1]:45263 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ryhAk-0007NR-E3 for submit <at> debbugs.gnu.org; Sun, 21 Apr 2024 20:04:42 -0400 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]:48509) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <casouri@HIDDEN>) id 1ryhAe-0007Lw-GQ for 70465-done <at> debbugs.gnu.org; Sun, 21 Apr 2024 20:04:36 -0400 Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-6ecff9df447so3704282b3a.1 for <70465-done <at> debbugs.gnu.org>; Sun, 21 Apr 2024 17:04:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713744251; x=1714349051; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=nZsVzFaQypwIIdjduUkeVv9TzWV5+7KHOCvcx/1vBgw=; b=h7yslwQfxP0N7cIpBX9q2oq075kqV/gGT4oj5kCVbPOjR5X3IL6yOgO0aHMaW/mBXK evuYuxhTODpWpR9kzLI9NHgwY5fx4poqw085HXykkl0/qLHOlYBMSQhKIQYaE/pZWdyx bq+byyvncW1YsL/7Lu3Ao1UmGvsgNOM9jkW1+xlEL0OzKrRB+Z1G52lt0rFks94qO738 QCx8djy/ber4OtrSIlyyVtmNVH5SxhoNHOTzmY2daeuLrLHJ65veXpPNVyGpIJUJBtS+ rfXkwANfrqAwBlaBTGNpWR6uukZLma0w2Kle4MGfREucgOCLW96n94GWh09j30Cj+B3e wzSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713744251; x=1714349051; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nZsVzFaQypwIIdjduUkeVv9TzWV5+7KHOCvcx/1vBgw=; b=xAyWhBML2U9p9EnfOTwOw/m000v1qpBGjJ9/K9Wmzo1dfvxr8FuJjfb5RETHIC8ugA kkE6vWiXaEH1YgR43rY+s5hkA5nPiWsWtrxLhf5ldfhlr1rOPwiTtIzb1FXeMVDZG9sk w67D1onrZTVoPKLs+rtEMUNpKXxgeeh1B/vMJ1wmRXyPkKGF4jV9peExnxo9y2EYG/iA z17NQF2cuVMK62Dn+Zum34HplPKKdLXNkXvYgFUsQMramfd0M//WDzQn6T0kYG/GOYSu gpdBaARJIWIybVumJcbvPJiLI0UEMXHTOprTCUJGb+Xh3tsJqbSz6XwjDT5rhvdSc8ow KXUQ== X-Forwarded-Encrypted: i=1; AJvYcCVIu31yPgRYypR4V0PAOaj3yqMGDbDkjFP++DWUDWSUCMZAQpprziD3wrdUjfVTCj2akEpas8iDhR//z07qhjr7qQgEXq/ThNzrRg== X-Gm-Message-State: AOJu0YwS7W92sZ/J6ruCJxZYQNf+27FkVnKgXix5OTraqRp2AZTzphTj aH2WrZOGafdbuiCHQUfhWAkG3jXSnP7RGIqgkDSIctrEFWGYvZw8 X-Google-Smtp-Source: AGHT+IEApYQgnLltEliWXM194TN2YfjROAIZ9tFo5O7Whhr1V4SJhQQLhUi2ChS1iYF5S2N9FMQYWA== X-Received: by 2002:a05:6a00:4650:b0:6ea:b9ef:f482 with SMTP id kp16-20020a056a00465000b006eab9eff482mr12968139pfb.24.1713744251005; Sun, 21 Apr 2024 17:04:11 -0700 (PDT) Received: from smtpclient.apple ([2601:641:300:4910:e4f6:f0b8:c91d:e40b]) by smtp.gmail.com with ESMTPSA id 17-20020a056a00073100b006eadc87233dsm6625894pfm.165.2024.04.21.17.04.10 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Apr 2024 17:04:10 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.1\)) Subject: Re: bug#70465: [PATCH] Add font-locking rule for Rust function signatures From: Yuan Fu <casouri@HIDDEN> In-Reply-To: <CAPVBTSe95PPb9UV7NU7OmfdFT=_Vt+9ZMXk6H1NfdGMK+VCE0g@HIDDEN> Date: Sun, 21 Apr 2024 17:03:59 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <12963D05-5585-4CC3-BC33-25B61D0F33CC@HIDDEN> References: <CAPVBTSdpnpJKEYXckLMCoigPEdsZN+C3zLnYVN35C_3zZ768Dg@HIDDEN> <25F19856-6D74-4C71-A249-F9C44CABAF20@HIDDEN> <86ttjxbpd8.fsf@HIDDEN> <CAPVBTSeKpumndtkT9DKs6N6NWAy_j+7-nJOr+ZtnYX-owNgi7g@HIDDEN> <86wmot9rxk.fsf@HIDDEN> <CAPVBTSe95PPb9UV7NU7OmfdFT=_Vt+9ZMXk6H1NfdGMK+VCE0g@HIDDEN> To: Noah Peart <noah.v.peart@HIDDEN> X-Mailer: Apple Mail (2.3731.700.6.1.1) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 70465-done Cc: 70465-done <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) > On Apr 19, 2024, at 10:43 AM, Noah Peart <noah.v.peart@HIDDEN> = wrote: >=20 > Got it, thanks! >=20 > On Fri, Apr 19, 2024 at 10:35=E2=80=AFAM Eli Zaretskii <eliz@HIDDEN> = wrote: > > From: Noah Peart <noah.v.peart@HIDDEN> > > Date: Fri, 19 Apr 2024 09:47:38 -0700 > > Cc: Yuan Fu <casouri@HIDDEN>, 70465 <at> debbugs.gnu.org > >=20 > > > Please be sure to add the bug number to the commit log message = when > > you install this. > >=20 > > When submitting a patch, is there an easy way to add the bug number = to > > the commit? >=20 > Only after you get the bug report back from the bug tracker. When you > send the first message which creates a new bug report, you cannot know > it. So we only ask people to add the bug number if they submit a > revised patch, because at that point the number is already known. > When an original patch is installed, the person who pushes it must do > a "git commit --amend" to edit the commit log message to add the bug > number. And merged. Yuan= ------------=_1713744302-28568-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 19 Apr 2024 02:02:46 +0000 Received: from localhost ([127.0.0.1]:55897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rxdaN-0001yo-D2 for submit <at> debbugs.gnu.org; Thu, 18 Apr 2024 22:02:45 -0400 Received: from lists.gnu.org ([2001:470:142::17]:54704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <noah.v.peart@HIDDEN>) id 1rxdaJ-0001wy-GR for submit <at> debbugs.gnu.org; Thu, 18 Apr 2024 22:02:42 -0400 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 <noah.v.peart@HIDDEN>) id 1rxdZv-00089m-K4 for bug-gnu-emacs@HIDDEN; Thu, 18 Apr 2024 22:02:16 -0400 Received: from mail-oa1-x36.google.com ([2001:4860:4864:20::36]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <noah.v.peart@HIDDEN>) id 1rxdZr-0004ah-E7 for bug-gnu-emacs@HIDDEN; Thu, 18 Apr 2024 22:02:15 -0400 Received: by mail-oa1-x36.google.com with SMTP id 586e51a60fabf-2351c03438cso521163fac.2 for <bug-gnu-emacs@HIDDEN>; Thu, 18 Apr 2024 19:02:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713492129; x=1714096929; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=n4SBdpB4PJSbOubU91LNCPXD1PcIeCsL2N6h6cMeBFs=; b=bDKSod6W+8ck6kmu5/iWXaMdGQsXDS/zHV0bll3aLeWu26EcHWvqV0r9yIryTizZl7 bSllXu0dNocDxrBg+e0l1QILCOIvSEOj4zj3Mw7xo0wZptw6eM8hnls9UQckg4/oa702 sMrAmXFEhCqhCa0b/NZAeLhQlrv9gG8/uDLgHukfmIqXaPXqWPnzQvh7kNJ/u/Yby8/Y FVk6tSaWeoX2H7LSaiYpBsjg3euPF6fR8LHoIzjeSezi6EWwZ9mUj6Y3ozys0rN6L/pN p9j5wcT5CLzAZg+Kc5RfUyufJeMlfjdOK5rG//oEcxhqHjTFXZGjML6pLDGadTUEpJBK 1f9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713492129; x=1714096929; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=n4SBdpB4PJSbOubU91LNCPXD1PcIeCsL2N6h6cMeBFs=; b=wgdPDBxhfpCwPlI4gpFis/meyOrJbqN9QbZJwF06+J+88lmlKa9nDUaLbXWSw/PXo9 Zcrcqr5BFjLQI6c9lC128FpxHe9yMr6QCoZ4Ftl2MEBWn9xgkVuN9wZBzPO3CNcOIF4i AFVGWibUW5n1gJtB3jXR4nNv87Dx0ofyb68HfBHVgaqcZMXogq6UysWMngL+b7/fe/mv mfiDiHkDanR8W8k+ftVZQgZsrkD8yVmFTde4vvE603+cB+ksdESQK4G3qb3fLpjKrEGZ GIkmq62mgVH+uvh10s3v5RYsnX+KKgAThOAIzFKQ8DeyDK81ThR8+TUHyqzB7SnR7ihb wL+A== X-Gm-Message-State: AOJu0Yyfhc/PncvgzuA8VfRNmbA0ESvO6wk0A/foSFyEby5E9d94UjwI 6zGPHC/OVldrssRD2ej7AXmgipLrLsCSKzRyuJalgzMEOOIEGxr9fd3F+l5qCpxg6oy8iHfhJp2 et+/U8M9OFGWqvs8H3R/Y2uI9Zhdd5RC99Dbr3g== X-Google-Smtp-Source: AGHT+IExPbTqya9buAvQ8W1lhK/RaT8mXvrMNd3mTjYGxR4wd71aF+fgcnlDzhJNajCDu8NS5GwY26NDiTnwF06G5iM= X-Received: by 2002:a05:6870:458e:b0:239:5419:bc74 with SMTP id y14-20020a056870458e00b002395419bc74mr257077oao.27.1713492128912; Thu, 18 Apr 2024 19:02:08 -0700 (PDT) MIME-Version: 1.0 From: Noah Peart <noah.v.peart@HIDDEN> Date: Thu, 18 Apr 2024 19:01:57 -0700 Message-ID: <CAPVBTSdpnpJKEYXckLMCoigPEdsZN+C3zLnYVN35C_3zZ768Dg@HIDDEN> Subject: [PATCH] Add font-locking rule for Rust function signatures To: bug-gnu-emacs@HIDDEN Content-Type: multipart/mixed; boundary="000000000000ab743f06166979e1" Received-SPF: pass client-ip=2001:4860:4864:20::36; envelope-from=noah.v.peart@HIDDEN; helo=mail-oa1-x36.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) --000000000000ab743f06166979e1 Content-Type: multipart/alternative; boundary="000000000000ab743e06166979df" --000000000000ab743e06166979df Content-Type: text/plain; charset="UTF-8" Tags: patch Adds a rule to font-lock Rust function signatures and missing function modifier "default" to rust-ts-mode--keywords. The new rule adds font-locking to signatures as in the following example: trait Foo { fn foo() -> String; // ^ font-lock-function-name-face } In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0) of 2024-04-18 built on noah-X580VD Repository revision: 0a57dfcff8d0abcf4427cfbfd886264bb3b8eaab Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101004 System Description: Ubuntu 22.04.4 LTS Configured using: 'configure --prefix=/usr/local --with-modules --with-tree-sitter --with-threads --with-x-toolkit=gtk3 --with-xwidgets --with-gnutls --with-json --with-mailutils --with-jpeg --with-png --with-rsvg --with-tiff --with-xml2 --with-xpm --with-imagemagick CC=gcc-12 CXX=gcc-12' --000000000000ab743e06166979df Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Tags: patch<br><br><br>Adds a rule to font-lock Rust funct= ion signatures and missing function<br>modifier "default" to rust= -ts-mode--keywords.<br><br>The new rule adds font-locking to signatures as = in the following<br>example:<br><br>=C2=A0 =C2=A0 trait Foo {<br>=C2=A0 =C2= =A0 =C2=A0 =C2=A0 fn foo() -> String;<br>//=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 ^ font-lock-function-name-face<br>=C2=A0 =C2=A0 }<br><br><br>= In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version<br>3.24.33= , cairo version 1.16.0) of 2024-04-18 built on noah-X580VD<br>Repository re= vision: 0a57dfcff8d0abcf4427cfbfd886264bb3b8eaab<br>Repository branch: mast= er<br>Windowing system distributor 'The X.Org Foundation', version = 11.0.12101004<br>System Description: Ubuntu 22.04.4 LTS<br><br>Configured u= sing:<br>=C2=A0'configure --prefix=3D/usr/local --with-modules --with-t= ree-sitter<br>--with-threads --with-x-toolkit=3Dgtk3 --with-xwidgets --with= -gnutls<br>--with-json --with-mailutils --with-jpeg --with-png --with-rsvg<= br>--with-tiff --with-xml2 --with-xpm --with-imagemagick CC=3Dgcc-12<br>CXX= =3Dgcc-12'<br></div> --000000000000ab743e06166979df-- --000000000000ab743f06166979e1 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-Add-font-locking-rule-for-Rust-function-signatures.patch" Content-Disposition: attachment; filename="0001-Add-font-locking-rule-for-Rust-function-signatures.patch" Content-Transfer-Encoding: base64 Content-ID: <f_lv60ygg50> X-Attachment-Id: f_lv60ygg50 RnJvbSAxY2NlNjk2ZWQ4OWFiZTlmYzNiZTVlYTc3YjgzYzM4ZTU1YzhhNzE0IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBOb2FoIFBlYXJ0IDxub2FoLnYucGVhcnRAZ21haWwuY29tPgpE YXRlOiBUaHUsIDE4IEFwciAyMDI0IDE4OjUyOjA2IC0wNzAwClN1YmplY3Q6IFtQQVRDSF0gQWRk IGZvbnQtbG9ja2luZyBydWxlIGZvciBSdXN0IGZ1bmN0aW9uIHNpZ25hdHVyZXMKCiogbGlzcC9w cm9nbW9kZXMvcnVzdC10cy1tb2RlLmVsCihydXN0LXRzLW1vZGUtLWZvbnQtbG9jay1zZXR0aW5n cyk6IEFkZCBmb250LWxvY2sgcnVsZSBmb3IgUnVzdApmdW5jdGlvbiBzaWduYXR1cmVzIGFuZCBt aXNzaW5nIGZ1bmN0aW9uIG1vZGlmaWVyIGtleXdvcmQgJ2RlZmF1bHQnLgotLS0KIGxpc3AvcHJv Z21vZGVzL3J1c3QtdHMtbW9kZS5lbCB8IDMgKystCiAxIGZpbGUgY2hhbmdlZCwgMiBpbnNlcnRp b25zKCspLCAxIGRlbGV0aW9uKC0pCgpkaWZmIC0tZ2l0IGEvbGlzcC9wcm9nbW9kZXMvcnVzdC10 cy1tb2RlLmVsIGIvbGlzcC9wcm9nbW9kZXMvcnVzdC10cy1tb2RlLmVsCmluZGV4IDcxMTJjZWNl ZDU3Li45Mjk3OGRiNjRhZiAxMDA2NDQKLS0tIGEvbGlzcC9wcm9nbW9kZXMvcnVzdC10cy1tb2Rl LmVsCisrKyBiL2xpc3AvcHJvZ21vZGVzL3J1c3QtdHMtbW9kZS5lbApAQCAtMTI5LDcgKzEyOSw3 IEBAIHJ1c3QtdHMtbW9kZS0tYnVpbHRpbi1tYWNyb3MKICAgIlJ1c3QgYnVpbHQtaW4gbWFjcm9z IGZvciB0cmVlLXNpdHRlciBmb250LWxvY2tpbmcuIikKIAogKGRlZnZhciBydXN0LXRzLW1vZGUt LWtleXdvcmRzCi0gICcoImFzIiAiYXN5bmMiICJhd2FpdCIgImJyZWFrIiAiY29uc3QiICJjb250 aW51ZSIgImR5biIgImVsc2UiCisgICcoImFzIiAiYXN5bmMiICJhd2FpdCIgImJyZWFrIiAiY29u c3QiICJjb250aW51ZSIgImRlZmF1bHQiICJkeW4iICJlbHNlIgogICAgICJlbnVtIiAiZXh0ZXJu IiAiZm4iICJmb3IiICJpZiIgImltcGwiICJpbiIgImxldCIgImxvb3AiICJtYXRjaCIKICAgICAi bW9kIiAibW92ZSIgInB1YiIgInJlZiIgInJldHVybiIgInN0YXRpYyIgInN0cnVjdCIgInRyYWl0 IiAidHlwZSIKICAgICAidW5pb24iICJ1bnNhZmUiICJ1c2UiICJ3aGVyZSIgIndoaWxlIiAoY3Jh dGUpIChzZWxmKSAoc3VwZXIpCkBAIC0xNzYsNiArMTc2LDcgQEAgcnVzdC10cy1tb2RlLS1mb250 LWxvY2stc2V0dGluZ3MKICAgIDpsYW5ndWFnZSAncnVzdAogICAgOmZlYXR1cmUgJ2RlZmluaXRp b24KICAgICcoKGZ1bmN0aW9uX2l0ZW0gbmFtZTogKGlkZW50aWZpZXIpIEBmb250LWxvY2stZnVu Y3Rpb24tbmFtZS1mYWNlKQorICAgICAoZnVuY3Rpb25fc2lnbmF0dXJlX2l0ZW0gbmFtZTogKGlk ZW50aWZpZXIpIEBmb250LWxvY2stZnVuY3Rpb24tbmFtZS1mYWNlKQogICAgICAobWFjcm9fZGVm aW5pdGlvbiAibWFjcm9fcnVsZXMhIiBAZm9udC1sb2NrLWNvbnN0YW50LWZhY2UpCiAgICAgICht YWNyb19kZWZpbml0aW9uIChpZGVudGlmaWVyKSBAZm9udC1sb2NrLXByZXByb2Nlc3Nvci1mYWNl KQogICAgICAoZmllbGRfZGVjbGFyYXRpb24gbmFtZTogKGZpZWxkX2lkZW50aWZpZXIpIEBmb250 LWxvY2stcHJvcGVydHktbmFtZS1mYWNlKQotLSAKMi4zNC4xCgo= --000000000000ab743f06166979e1-- ------------=_1713744302-28568-1--
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.