From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: <Jesper.Eskilson@iar.com>
Newsgroups: gmane.emacs.bugs
Subject: bug#23815: 24.5;
	Ruby indentation incorrect when class has a member called "module"
Date: Tue, 21 Jun 2016 15:57:22 +0200
Message-ID: <87k2hihcfx.fsf@seupp-jesperes4.i-did-not-set--mail-host-address--so-tickle-me>
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: ger.gmane.org 1466522907 24159 80.91.229.3 (21 Jun 2016 15:28:27 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Tue, 21 Jun 2016 15:28:27 +0000 (UTC)
To: 23815@debbugs.gnu.org
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 21 17:28:16 2016
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>
Envelope-to: geb-bug-gnu-emacs@m.gmane.org
Original-Received: from lists.gnu.org ([208.118.235.17])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1bFNb0-0004b0-IE
	for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Jun 2016 17:28:10 +0200
Original-Received: from localhost ([::1]:52549 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1bFNaz-0001vI-Ox
	for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Jun 2016 11:28:09 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55779)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1bFNau-0001vA-OJ
	for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2016 11:28:05 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1bFNar-0007om-VK
	for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2016 11:28:04 -0400
Original-Received: from debbugs.gnu.org ([208.118.235.43]:37596)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1bFNar-0007oi-Sj
	for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2016 11:28:01 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1bFNar-0006lS-LC
	for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2016 11:28:01 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: <Jesper.Eskilson@iar.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Tue, 21 Jun 2016 15:28:01 +0000
Resent-Message-ID: <handler.23815.B.146652284625947@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: report 23815
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
X-Debbugs-Original-To: <bug-gnu-emacs@gnu.org>
Original-Received: via spool by submit@debbugs.gnu.org id=B.146652284625947
	(code B ref -1); Tue, 21 Jun 2016 15:28:01 +0000
Original-Received: (at submit) by debbugs.gnu.org; 21 Jun 2016 15:27:26 +0000
Original-Received: from localhost ([127.0.0.1]:49933 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1bFNaG-0006kP-Vw
	for submit@debbugs.gnu.org; Tue, 21 Jun 2016 11:27:26 -0400
Original-Received: from eggs.gnu.org ([208.118.235.92]:35491)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <Jesper.Eskilson@iar.com>) id 1bFMBV-0004WB-VV
	for submit@debbugs.gnu.org; Tue, 21 Jun 2016 09:57:46 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Jesper.Eskilson@iar.com>) id 1bFMBQ-0002mv-1I
	for submit@debbugs.gnu.org; Tue, 21 Jun 2016 09:57:40 -0400
Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:47507)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Jesper.Eskilson@iar.com>) id 1bFMBP-0002me-V4
	for submit@debbugs.gnu.org; Tue, 21 Jun 2016 09:57:39 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54682)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Jesper.Eskilson@iar.com>) id 1bFMBN-0002uP-Mg
	for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2016 09:57:38 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Jesper.Eskilson@iar.com>) id 1bFMBK-0002lW-3v
	for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2016 09:57:36 -0400
Original-Received: from gw1.iar.com ([213.136.49.54]:38340 helo=relay1.iar.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Jesper.Eskilson@iar.com>) id 1bFMBJ-0002i6-T8
	for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2016 09:57:34 -0400
Original-Received: from SEUPP-S-MS01.ad.iar.com (seupp-s-ms01.ad.iar.com
	[10.200.10.150])
	by relay1.iar.com (Postfix) with ESMTPS id 766699968F
	for <bug-gnu-emacs@gnu.org>; Tue, 21 Jun 2016 15:57:22 +0200 (CEST)
Original-Received: from SEUPP-S-MS01.ad.iar.com (10.200.10.150) by
	SEUPP-S-MS01.ad.iar.com (10.200.10.150) with Microsoft SMTP Server
	(TLS) id 15.0.1130.7; Tue, 21 Jun 2016 15:57:22 +0200
Original-Received: from seupp-jesperes4 (10.200.20.94) by SEUPP-S-MS01.ad.iar.com
	(10.200.10.150) with Microsoft SMTP Server id 15.0.1130.7 via Frontend
	Transport; Tue, 21 Jun 2016 15:57:22 +0200
Original-Received: by seupp-jesperes4 (Postfix, from userid 1000)
	id 42403E09BF; Tue, 21 Jun 2016 15:57:22 +0200 (CEST)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Mailman-Approved-At: Tue, 21 Jun 2016 11:27:24 -0400
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 208.118.235.43
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
	the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-gnu-emacs/>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org
Original-Sender: "bug-gnu-emacs"
	<bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>
Xref: news.gmane.org gmane.emacs.bugs:119894
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/119894>

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@iar.com