|
From: | GNU bug Tracking System |
Subject: | [debbugs-tracker] bug#15208: closed (24.3; ruby-mode indentation bug when line ends with :==) |
Date: | Tue, 03 Sep 2013 00:33:02 +0000 |
Your message dated Tue, 03 Sep 2013 03:32:32 +0300 with message-id <address@hidden> and subject line Re: bug#15208: 24.3; ruby-mode indentation bug when line ends with :== has caused the debbugs.gnu.org bug report #15208, regarding 24.3; ruby-mode indentation bug when line ends with :== to be marked as done. (If you believe you have received this mail in error, please contact address@hidden) -- 15208: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15208 GNU Bug Tracking System Contact address@hidden with problems
--- Begin Message ---Subject: 24.3; ruby-mode indentation bug when line ends with :== Date: Thu, 29 Aug 2013 18:46:10 +0300 Code like the following breaks the indentation logic of ruby-mode:if something == :==do_somethingendruby-mode wants to indent the code like this:if something == :==do_somethingendClearly the problem is that the `:==` symbol gets interpreted as `==`operator and the second line is treated a statementcontinuation. Probably other operators are affected as well.In GNU Emacs 24.3.1 (x86_64-apple-darwin12.4.0, NS apple-appkit-1187.39)of 2013-08-12 on Bozhidars-MacBook-Pro.localWindowing system distributor `Apple', version 10.3.1187Configured using:`configure '--prefix=/usr/local/Cellar/emacs/24.3' '--without-dbus''--enable-locallisppath=/usr/local/share/emacs/site-lisp''--infodir=/usr/local/Cellar/emacs/24.3/share/info/emacs''--without-gnutls' '--with-ns' '--disable-ns-self-contained' 'CC=cc''--Cheers,Bozhidar
--- End Message ---
--- Begin Message ---Subject: Re: bug#15208: 24.3; ruby-mode indentation bug when line ends with :== Date: Tue, 03 Sep 2013 03:32:32 +0300 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Version 24.4 Stefan Monnier <address@hidden> writes: > I installed a patch which should fix these cases when ruby-use-smie. Also fixed in the default indentation engine.
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |