GNU bug report logs - #42846
27.1; [ruby-mode] setter symbol treated as assignment

Previous Next

Package: emacs;

Reported by: Nobuyoshi Nakada <nobu.n0kada <at> gmail.com>

Date: Thu, 13 Aug 2020 10:35:03 UTC

Severity: normal

Found in version 27.1

Fixed in version 28.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 42846 in the body.
You can then email your comments to 42846 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 bug-gnu-emacs <at> gnu.org:
bug#42846; Package emacs. (Thu, 13 Aug 2020 10:35:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nobuyoshi Nakada <nobu.n0kada <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 13 Aug 2020 10:35:03 GMT) Full text and rfc822 format available.

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

From: Nobuyoshi Nakada <nobu.n0kada <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.1; [ruby-mode] setter symbol treated as assignment
Date: Thu, 13 Aug 2020 16:41:41 +0900
I found thatruby-mode.el in GNU Emacs 27.1 has a problem with the 
following code.


    :foo=
      # indent here

The setter symbol seems treated as an assignment

Also, the succeeding modifier is treated as the beginning of a block.

    :foo= if true
            # indent here






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#42846; Package emacs. (Sat, 22 Aug 2020 00:30:02 GMT) Full text and rfc822 format available.

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

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Nobuyoshi Nakada <nobu.n0kada <at> gmail.com>, 42846 <at> debbugs.gnu.org
Subject: Re: bug#42846: 27.1; [ruby-mode] setter symbol treated as assignment
Date: Sat, 22 Aug 2020 03:29:20 +0300
Hi!

On 13.08.2020 10:41, Nobuyoshi Nakada wrote:
> I found thatruby-mode.el in GNU Emacs 27.1 has a problem with the 
> following code.
> 
> 
>      :foo=
>        # indent here
> 
> The setter symbol seems treated as an assignment
> 
> Also, the succeeding modifier is treated as the beginning of a block.
> 
>      :foo= if true
>              # indent here

Are you the Nobuyoshi Nakada from the Ruby core team?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#42846; Package emacs. (Wed, 26 Aug 2020 12:41:02 GMT) Full text and rfc822 format available.

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

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Nobuyoshi Nakada <nobu.n0kada <at> gmail.com>, 42846 <at> debbugs.gnu.org
Subject: Re: bug#42846: 27.1; [ruby-mode] setter symbol treated as assignment
Date: Wed, 26 Aug 2020 15:40:18 +0300
Hi again,

On 26.08.2020 03:48, Nobuyoshi Nakada wrote:

>> Are you the Nobuyoshi Nakada from the Ruby core team?
> 
> 
> Yes, I sent from the different address mistakenly, sorry.

I asked this because Emacs <-> Ruby Core communication have been very 
one-sided on all my memory taking care of ruby-mode here.

Here's just one example: https://bugs.ruby-lang.org/issues/6854

And here you are filing a bug report.

Do Ruby core developers still use Emacs?

Can you facilitate fixing problems brought on by recent changes?

In particular, https://github.com/ruby/irb/issues/113 and 
https://github.com/nonsequitur/inf-ruby/issues/137.




Reply sent to Dmitry Gutov <dgutov <at> yandex.ru>:
You have taken responsibility. (Thu, 31 Dec 2020 16:41:02 GMT) Full text and rfc822 format available.

Notification sent to Nobuyoshi Nakada <nobu.n0kada <at> gmail.com>:
bug acknowledged by developer. (Thu, 31 Dec 2020 16:41:03 GMT) Full text and rfc822 format available.

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

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Nobuyoshi Nakada <nobu.n0kada <at> gmail.com>, 42846-done <at> debbugs.gnu.org
Subject: Re: bug#42846: 27.1; [ruby-mode] setter symbol treated as assignment
Date: Thu, 31 Dec 2020 18:40:50 +0200
Version: 28.1

On 13.08.2020 10:41, Nobuyoshi Nakada wrote:
> I found thatruby-mode.el in GNU Emacs 27.1 has a problem with the 
> following code.
> 
> 
>      :foo=
>        # indent here
> 
> The setter symbol seems treated as an assignment
> 
> Also, the succeeding modifier is treated as the beginning of a block.
> 
>      :foo= if true
>              # indent here

Should be fixed in master, commit b47b98bc4b. Thanks for the report.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 29 Jan 2021 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 86 days ago.

Previous Next


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