Subject: bug#23815: closed (Re: bug#23815: 24.5; Ruby indentation incorrect when class has a member called "module")

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 21 Jun 2016 16:45:02 +0000

Your bug report

#23815: 24.5; Ruby indentation incorrect when class has a member called "module"

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
23815: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23815
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#23815: 24.5; Ruby indentation incorrect when class has a member called "module"
From: Dmitry Gutov <[email-masked]>
To: [email-masked], [email-masked]
Date: Tue, 21 Jun 2016 19:44:10 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 25.1

Hi Jesper,

On 06/21/2016 04:57 PM, [email-masked] wrote:
> If a ruby file contains the following (valid) Ruby code:
>
> class Foo
>   def foo()
>     @module = ""
>      end
>   end
>
> The Ruby emacs mode fails to realize that @module is a member, and
> instead thinks it is a module.

It looks fixed in emacs-25, although I can't fixed the exact commit that 
did it now.

Please try out a pre-release snapshot of Emacs 25 when you have the chance.

Subject: 24.5; Ruby indentation incorrect when class has a member called "module"
From: <[email-masked]>
To: <[email-masked]>
Date: Tue, 21 Jun 2016 15:57:22 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

If a ruby file contains the following (valid) Ruby code:

class Foo
  def foo()
    @module = ""
     end
  end

The Ruby emacs mode fails to realize that @module is a member, and
instead thinks it is a module.

--
Jesper Eskilson
[email-masked]