GNU bug report logs - #62112
[PATCH] Add missing rust-ts-mode highlight query for scoped_type_identifiers

Previous Next

Package: emacs;

Reported by: Randy Taylor <dev <at> rjt.dev>

Date: Sat, 11 Mar 2023 02:24:01 UTC

Severity: normal

Tags: patch

Fixed in version 29.1

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 62112 in the body.
You can then email your comments to 62112 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to dgutov <at> yandex.ru, bug-gnu-emacs <at> gnu.org:
bug#62112; Package emacs. (Sat, 11 Mar 2023 02:24:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Randy Taylor <dev <at> rjt.dev>:
New bug report received and forwarded. Copy sent to dgutov <at> yandex.ru, bug-gnu-emacs <at> gnu.org. (Sat, 11 Mar 2023 02:24:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Randy Taylor <dev <at> rjt.dev>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: [PATCH] Add missing rust-ts-mode highlight query for
 scoped_type_identifiers
Date: Sat, 11 Mar 2023 02:23:29 +0000
[Message part 1 (text/plain, inline)]
X-Debbugs-CC: dgutov <at> yandex.ru

Examples:
match &cli.command {
Commands::Run {
a,
b,
c,
d,
} => todo!(), }

Commands should be highlighted as a type.

Likewise for:
match msg {
Message::Quit => {
println!("The Quit variant has no data to destructure.");
}
Message::Move { x, y } => {
println!("Move in the x direction {x} and in the y direction {y}");
}
Message::Write(text) => {
println!("Text message: {text}");
}
Message::ChangeColor(r, g, b) => {
println!("Change the color to red {r}, green {g}, and blue {b}",)
} }

Message::Move should have Message highlighted as a type.

Attached is a patch fixing it.
[Message part 2 (text/html, inline)]
[0001-Add-missing-rust-ts-mode-highlight-query-for-scoped_.patch (text/x-patch, attachment)]

Reply sent to Dmitry Gutov <dgutov <at> yandex.ru>:
You have taken responsibility. (Sat, 11 Mar 2023 13:57:01 GMT) Full text and rfc822 format available.

Notification sent to Randy Taylor <dev <at> rjt.dev>:
bug acknowledged by developer. (Sat, 11 Mar 2023 13:57:01 GMT) Full text and rfc822 format available.

Message #10 received at 62112-done <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Randy Taylor <dev <at> rjt.dev>, 62112-done <at> debbugs.gnu.org
Subject: Re: bug#62112: [PATCH] Add missing rust-ts-mode highlight query for
 scoped_type_identifiers
Date: Sat, 11 Mar 2023 15:56:25 +0200
Version: 29.1

On 11/03/2023 04:23, Randy Taylor wrote:
> X-Debbugs-CC: dgutov <at> yandex.ru
> 
> Examples:
>      match &cli.command {
>          Commands::Run {
>              a,
>              b,
>              c,
>              d,
>          } => todo!(),
>      }
> 
> Commands should be highlighted as a type.
> 
> Likewise for:
>      match msg {
>          Message::Quit => {
>              println!("The Quit variant has no data to destructure.");
>          }
>          Message::Move { x, y } => {
>              println!("Move in the x direction {x} and in the y 
> direction {y}");
>          }
>          Message::Write(text) => {
>              println!("Text message: {text}");
>          }
>          Message::ChangeColor(r, g, b) => {
>              println!("Change the color to red {r}, green {g}, and blue 
> {b}",)
>          }
>      }
> 
> Message::Move should have Message highlighted as a type.
> 
> Attached is a patch fixing it.

Thanks! Installed.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 09 Apr 2023 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 354 days ago.

Previous Next


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