From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: ojab@ojab.ru Newsgroups: gmane.emacs.bugs Subject: bug#27648: 25.2; ruby-mode doesn't see an `if` block that assigned from newline after '\' Date: Mon, 10 Jul 2017 15:42:45 +0000 Message-ID: <87inj0qowa.fsf@ojab.ru> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1499728100 18606 195.159.176.226 (10 Jul 2017 23:08:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 10 Jul 2017 23:08:20 +0000 (UTC) To: 27648@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 11 01:08:16 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUhmj-0004Jm-FA for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Jul 2017 01:08:09 +0200 Original-Received: from localhost ([::1]:43379 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUhmo-0001fD-O5 for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Jul 2017 19:08:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34582) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUhme-0001f1-4S for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2017 19:08:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUhmd-0003XO-7B for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2017 19:08:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58677) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dUhmc-0003XI-Sc for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2017 19:08:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dUhmc-0000gt-Jz for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2017 19:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: ojab@ojab.ru Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Jul 2017 23:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27648 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.14997280642615 (code B ref -1); Mon, 10 Jul 2017 23:08:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Jul 2017 23:07:44 +0000 Original-Received: from localhost ([127.0.0.1]:33118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUhmJ-0000g5-8I for submit@debbugs.gnu.org; Mon, 10 Jul 2017 19:07:43 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40192) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUar1-00039M-Of for submit@debbugs.gnu.org; Mon, 10 Jul 2017 11:44:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUaqv-0001EP-G9 for submit@debbugs.gnu.org; Mon, 10 Jul 2017 11:44:02 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:50068) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dUaqv-0001EB-C6 for submit@debbugs.gnu.org; Mon, 10 Jul 2017 11:44:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59356) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUaqt-00058a-SQ for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2017 11:44:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUaqs-0001CF-Om for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2017 11:43:59 -0400 Original-Received: from mail-lf0-x22b.google.com ([2a00:1450:4010:c07::22b]:35902) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dUaqs-0000xb-CJ for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2017 11:43:58 -0400 Original-Received: by mail-lf0-x22b.google.com with SMTP id h22so65019253lfk.3 for ; Mon, 10 Jul 2017 08:43:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ojab.ru; s=google; h=from:to:subject:date:message-id:mime-version; bh=69Rckz5hs9NTlM3ZPXpUVFz1mwT7MWsCmP/a5kYNrQ4=; b=DMphWxtieB3mIHu5PWJkSZ+QA2Uyakt81j6AbvuneXSBdrd6O75sqR8L57J2ilejj+ MFOO/qodEiOHTI9DKhzYgfxnsVnE/VLN0Enlm4YkLpasXKqKWzrW5u9EKPfvvqicfIw0 2PImYPpfP1yZyP4KIdhGUIT2rRJG7tH8dega4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=69Rckz5hs9NTlM3ZPXpUVFz1mwT7MWsCmP/a5kYNrQ4=; b=nzRbP+h6tmM8RHt/xSFS4UkgNH9CatKFb0A1bFsWknFgiGljp9aSfUA/UDkYcbEqCW 2UO4Z/o2YUKjC9HobIk9GHmvgR/Z/hBPQOC1f22Q205s01ibM7yjv2di6YHLr7pNHAIl fovjd+Cwdy3Ajpmn1r6nFTe8BX2Z3jjLy68LI7nxZ3DispUY5AaVT2pS1uDLD9fP1vE+ WD7lfoKE/JGIn6jkCj3NKLrtRsmeTWasjWglTGQS9PVgr8s1o+vnAeCbCkuA9PU3jmWm fqoHUUXhLVZV4r8V2JMxjzgNZEb7YGvgQQymdprqCpeVq4Ab1hrI1N7g/hMR9GKvK4XD DpTA== X-Gm-Message-State: AIVw112pnCOnjiB0v5e4WsgkHG8bnlLS69DejizD0RZw8+dIxyXNCQ4l BVmfNB5GXJxPwdbtEn99kw== X-Received: by 10.25.22.212 with SMTP id 81mr1585044lfw.104.1499701413537; Mon, 10 Jul 2017 08:43:33 -0700 (PDT) Original-Received: from ojab.ru (ojab-1-pt.tunnel.tserv24.sto1.ipv6.he.net. [2001:470:27:50c::2]) by smtp.gmail.com with ESMTPSA id q90sm2802169lfb.36.2017.07.10.08.43.31 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 10 Jul 2017 08:43:32 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Mon, 10 Jul 2017 19:07:42 -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" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:134413 Archived-At: `ruby-mode` doesn't see an 'if' block in the following case: ``` def foo bar = \ if true true else end end ``` actual indentation is: ``` def foo bar = \ if true true else end end ``` and the first `end` is recognized as the end of `def` block. In GNU Emacs 25.2.1 (x86_64-unknown-linux-gnu) of 2017-04-26 built on ojab.ru System Description: Linux From Scratch Configured using: 'configure --prefix=/usr --localstatedir=/var --without-all --enable-acl --without-x --with-zlib --with-gnutls --with-xml2 --with-modules --with-file-notification' Configured features: NOTIFY ACL GNUTLS LIBXML2 ZLIB MODULES Important settings: value of $LC_CTYPE: en_US.UTF-8 value of $LANG: en_RU.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... [2 times] Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote inotify multi-tty make-network-process emacs) Memory information: ((conses 16 81921 6346) (symbols 48 18715 0) (miscs 40 41 113) (strings 32 13939 4754) (string-bytes 1 400815) (vectors 16 9337) (vector-slots 8 377183 19278) (floats 8 141 294) (intervals 56 188 8) (buffers 976 19) (heap 1024 34947 1946))