GNU bug report logs - #63879
29.0.90; [PATCH] Fix rust-ts-mode indentation for else-if

Previous Next

Package: emacs;

Reported by: Yuan Fu <casouri <at> gmail.com>

Date: Sat, 3 Jun 2023 23:20:02 UTC

Severity: normal

Tags: patch

Found in version 29.0.90

Done: Yuan Fu <casouri <at> gmail.com>

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 63879 in the body.
You can then email your comments to 63879 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 dev <at> rjt.dev, bug-gnu-emacs <at> gnu.org:
bug#63879; Package emacs. (Sat, 03 Jun 2023 23:20:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Yuan Fu <casouri <at> gmail.com>:
New bug report received and forwarded. Copy sent to dev <at> rjt.dev, bug-gnu-emacs <at> gnu.org. (Sat, 03 Jun 2023 23:20:02 GMT) Full text and rfc822 format available.

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

From: Yuan Fu <casouri <at> gmail.com>
To: Bug Report Emacs <bug-gnu-emacs <at> gnu.org>
Subject: 29.0.90; [PATCH] Fix rust-ts-mode indentation for else-if
Date: Sat, 3 Jun 2023 16:18:47 -0700
[Message part 1 (text/plain, inline)]
X-Debbugs-CC: dev <at> rjt.dev

Example:

fn main() {
    if true {
        ()
    } else if true {
            ()
        }
}


Yuan

[rust-ts-mode.patch (application/octet-stream, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#63879; Package emacs. (Sat, 03 Jun 2023 23:59:02 GMT) Full text and rfc822 format available.

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

From: Randy Taylor <dev <at> rjt.dev>
To: Yuan Fu <casouri <at> gmail.com>
Cc: 63879 <at> debbugs.gnu.org
Subject: Re: bug#63879: 29.0.90;
 [PATCH] Fix rust-ts-mode indentation for else-if
Date: Sat, 03 Jun 2023 23:58:16 +0000
On Saturday, June 3rd, 2023 at 19:18, Yuan Fu <casouri <at> gmail.com> wrote: 
> X-Debbugs-CC: dev <at> rjt.dev
> 
> Example:
> 
> fn main() {
> if true {
> ()
> } else if true {
> ()
> }
> }
> 
> 
> Yuan

I can't reproduce this on emacs-29 (with and without -Q) with the example you gave.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#63879; Package emacs. (Sun, 04 Jun 2023 05:12:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Randy Taylor <dev <at> rjt.dev>
Cc: casouri <at> gmail.com, 63879 <at> debbugs.gnu.org
Subject: Re: bug#63879: 29.0.90;
 [PATCH] Fix rust-ts-mode indentation for else-if
Date: Sun, 04 Jun 2023 08:12:18 +0300
> Cc: 63879 <at> debbugs.gnu.org
> Date: Sat, 03 Jun 2023 23:58:16 +0000
> From: Randy Taylor <dev <at> rjt.dev>
> 
> I can't reproduce this on emacs-29 (with and without -Q) with the example you gave.

Neither can I, FWIW.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#63879; Package emacs. (Mon, 05 Jun 2023 07:45:02 GMT) Full text and rfc822 format available.

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

From: Yuan Fu <casouri <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Randy Taylor <dev <at> rjt.dev>, 63879 <at> debbugs.gnu.org,
 63879-done <at> debbugs.gnu.org
Subject: Re: bug#63879: 29.0.90; [PATCH] Fix rust-ts-mode indentation for
 else-if
Date: Mon, 5 Jun 2023 00:43:54 -0700

> On Jun 3, 2023, at 10:12 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:
> 
>> Cc: 63879 <at> debbugs.gnu.org
>> Date: Sat, 03 Jun 2023 23:58:16 +0000
>> From: Randy Taylor <dev <at> rjt.dev>
>> 
>> I can't reproduce this on emacs-29 (with and without -Q) with the example you gave.
> 
> Neither can I, FWIW.

Oh well, I went back and can’t reproduce this anymore either, even with the real code I was writing that prompted this. Sorry for the noise. 

Yuan



Reply sent to Yuan Fu <casouri <at> gmail.com>:
You have taken responsibility. (Mon, 05 Jun 2023 07:45:02 GMT) Full text and rfc822 format available.

Notification sent to Yuan Fu <casouri <at> gmail.com>:
bug acknowledged by developer. (Mon, 05 Jun 2023 07:45:02 GMT) Full text and rfc822 format available.

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

This bug report was last modified 1 year and 350 days ago.

Previous Next


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