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


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

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.




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.