emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#42846: closed (27.1; [ruby-mode] setter symbol treated as assignment


From: GNU bug Tracking System
Subject: bug#42846: closed (27.1; [ruby-mode] setter symbol treated as assignment)
Date: Thu, 31 Dec 2020 16:41:02 +0000

Your message dated Thu, 31 Dec 2020 18:40:50 +0200
with message-id <980a7dda-bd7b-f4d2-ebf6-0cbd9923afb3@yandex.ru>
and subject line Re: bug#42846: 27.1; [ruby-mode] setter symbol treated as 
assignment
has caused the debbugs.gnu.org bug report #42846,
regarding 27.1; [ruby-mode] setter symbol treated as assignment
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
42846: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42846
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: 27.1; [ruby-mode] setter symbol treated as assignment Date: Thu, 13 Aug 2020 16:41:41 +0900 User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 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





--- End Message ---
--- Begin Message --- Subject: Re: bug#42846: 27.1; [ruby-mode] setter symbol treated as assignment Date: Thu, 31 Dec 2020 18:40:50 +0200 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0
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.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]