GNU bug report logs - #23815
24.5; Ruby indentation incorrect when class has a member called "module"

Previous Next

Package: emacs;

Reported by: <Jesper.Eskilson <at> iar.com>

Date: Tue, 21 Jun 2016 15:28:01 UTC

Severity: normal

Found in version 24.5

Fixed in version 25.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: <Jesper.Eskilson <at> iar.com>
Subject: bug#23815: closed (Re: bug#23815: 24.5; Ruby indentation
 incorrect when class has a member called "module")
Date: Tue, 21 Jun 2016 16:45:02 +0000
[Message part 1 (text/plain, inline)]
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 23815 <at> debbugs.gnu.org.

-- 
23815: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23815
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Jesper.Eskilson <at> iar.com, 23815-done <at> debbugs.gnu.org
Subject: Re: bug#23815: 24.5; Ruby indentation incorrect when class has a
 member called "module"
Date: Tue, 21 Jun 2016 19:44:10 +0300
Version: 25.1

Hi Jesper,

On 06/21/2016 04:57 PM, Jesper.Eskilson <at> iar.com 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.

[Message part 3 (message/rfc822, inline)]
From: <Jesper.Eskilson <at> iar.com>
To: <bug-gnu-emacs <at> gnu.org>
Subject: 24.5;
 Ruby indentation incorrect when class has a member called "module"
Date: Tue, 21 Jun 2016 15:57:22 +0200
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
jesper.eskilson <at> iar.com



This bug report was last modified 8 years and 337 days ago.

Previous Next


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