GNU bug report logs - #70465
[PATCH] Add font-locking rule for Rust function signatures

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Noah Peart <noah.v.peart@HIDDEN>; Keywords: patch; Done: Yuan Fu <casouri@HIDDEN>; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 70465-done <at> debbugs.gnu.org:


Received: (at 70465-done) by debbugs.gnu.org; 22 Apr 2024 00:04:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 21 20:04:42 2024
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=




Notification sent to Noah Peart <noah.v.peart@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to Yuan Fu <casouri@HIDDEN>:
You have taken responsibility. Full text available.

Message received at 70465 <at> debbugs.gnu.org:


Received: (at 70465) by debbugs.gnu.org; 19 Apr 2024 17:44:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 19 13:44:22 2024
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>
Subject: Re: bug#70465: [PATCH] Add font-locking rule for Rust function
 signatures
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000f69214061676a149"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 70465
Cc: casouri@HIDDEN, 70465 <at> debbugs.gnu.org
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 &lt;<a href=3D"mailto:eliz@HIDDEN">eliz@HIDDEN</a>&gt; 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">&gt; From:=
 Noah Peart &lt;<a href=3D"mailto:noah.v.peart@HIDDEN" target=3D"_blank"=
>noah.v.peart@HIDDEN</a>&gt;<br>
&gt; Date: Fri, 19 Apr 2024 09:47:38 -0700<br>
&gt; Cc: Yuan Fu &lt;<a href=3D"mailto:casouri@HIDDEN" target=3D"_blank"=
>casouri@HIDDEN</a>&gt;, <a href=3D"mailto:70465 <at> debbugs.gnu.org" target=
=3D"_blank">70465 <at> debbugs.gnu.org</a><br>
&gt; <br>
&gt; &gt; Please be sure to add the bug number to the commit log message wh=
en<br>
&gt; you install this.<br>
&gt; <br>
&gt; When submitting a patch, is there an easy way to add the bug number to=
<br>
&gt; 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 &quot;git commit --amend&quot; to edit the commit log message to add the =
bug<br>
number.<br>
</blockquote></div>

--000000000000f69214061676a149--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70465; Package emacs. Full text available.

Message received at 70465 <at> debbugs.gnu.org:


Received: (at 70465) by debbugs.gnu.org; 19 Apr 2024 17:35:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 19 13:35:55 2024
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>
To: Noah Peart <noah.v.peart@HIDDEN>
In-Reply-To: <CAPVBTSeKpumndtkT9DKs6N6NWAy_j+7-nJOr+ZtnYX-owNgi7g@HIDDEN>
 (message from Noah Peart on Fri, 19 Apr 2024 09:47:38 -0700)
Subject: Re: bug#70465: [PATCH] Add font-locking rule for Rust function
 signatures
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-Debbugs-Envelope-To: 70465
Cc: casouri@HIDDEN, 70465 <at> debbugs.gnu.org
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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70465; Package emacs. Full text available.

Message received at 70465 <at> debbugs.gnu.org:


Received: (at 70465) by debbugs.gnu.org; 19 Apr 2024 16:48:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 19 12:48:19 2024
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>
Subject: Re: bug#70465: [PATCH] Add font-locking rule for Rust function
 signatures
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: multipart/alternative; boundary="00000000000016dfa0061675d92d"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 70465
Cc: Yuan Fu <casouri@HIDDEN>, 70465 <at> debbugs.gnu.org
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">&gt; 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 &lt;<a href=3D=
"mailto:eliz@HIDDEN">eliz@HIDDEN</a>&gt; 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">&gt; Cc: <a href=3D"mailto:70465@debbugs.=
gnu.org" target=3D"_blank">70465 <at> debbugs.gnu.org</a><br>
&gt; From: Yuan Fu &lt;<a href=3D"mailto:casouri@HIDDEN" target=3D"_blan=
k">casouri@HIDDEN</a>&gt;<br>
&gt; Date: Fri, 19 Apr 2024 00:24:49 -0700<br>
&gt; <br>
&gt; <br>
&gt; Noah Peart &lt;<a href=3D"mailto:noah.v.peart@HIDDEN" target=3D"_bl=
ank">noah.v.peart@HIDDEN</a>&gt; writes:<br>
&gt; <br>
&gt; &gt; Tags: patch<br>
&gt; &gt;<br>
&gt; &gt; Adds a rule to font-lock Rust function signatures and missing fun=
ction<br>
&gt; &gt; modifier &quot;default&quot; to rust-ts-mode--keywords.<br>
&gt; &gt;<br>
&gt; &gt; The new rule adds font-locking to signatures as in the following<=
br>
&gt; &gt; example:<br>
&gt; &gt;<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0trait Foo {<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0fn foo() -&gt; String;<br>
&gt; &gt; //=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^ font-lock-function-=
name-face<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0}<br>
&gt; <br>
&gt; Thanks!<br>
&gt; <br>
&gt; Eli, for this kind of small fix patches, should it go to emacs-29 or<b=
r>
&gt; master? I don=E2=80=99t think it=E2=80=99ll affect the stability of em=
acs-29, but in the<br>
&gt; 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--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70465; Package emacs. Full text available.

Message received at 70465 <at> debbugs.gnu.org:


Received: (at 70465) by debbugs.gnu.org; 19 Apr 2024 10:48:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 19 06:48:14 2024
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>
To: Yuan Fu <casouri@HIDDEN>
In-Reply-To: <25F19856-6D74-4C71-A249-F9C44CABAF20@HIDDEN> (message from
 Yuan Fu on Fri, 19 Apr 2024 00:24:49 -0700)
Subject: Re: bug#70465: [PATCH] Add font-locking rule for Rust function
 signatures
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-Debbugs-Envelope-To: 70465
Cc: noah.v.peart@HIDDEN, 70465 <at> debbugs.gnu.org
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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70465; Package emacs. Full text available.

Message received at 70465 <at> debbugs.gnu.org:


Received: (at 70465) by debbugs.gnu.org; 19 Apr 2024 07:25:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 19 03:25:25 2024
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\))
Subject: Re: bug#70465: [PATCH] Add font-locking rule for Rust function 
 signatures
Message-Id: <25F19856-6D74-4C71-A249-F9C44CABAF20@HIDDEN>
Date: Fri, 19 Apr 2024 00:24:49 -0700
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
Cc: 70465 <at> debbugs.gnu.org
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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70465; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 19 Apr 2024 02:02:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 18 22:02:45 2024
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 &quot;default&quot; 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() -&gt; 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 &#39;The X.Org Foundation&#39;, version =
11.0.12101004<br>System Description: Ubuntu 22.04.4 LTS<br><br>Configured u=
sing:<br>=C2=A0&#39;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&#39;<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--




Acknowledgement sent to Noah Peart <noah.v.peart@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#70465; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 22 Apr 2024 00:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.