From unknown Sat Jun 21 10:44:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#16609: 24.3.50; [ruby-mode] Indentation broken after line ending with :+ Resent-From: Bozhidar Batsov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Feb 2014 07:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 16609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 16609@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.13912380771538 (code B ref -1); Sat, 01 Feb 2014 07:02:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Feb 2014 07:01:17 +0000 Received: from localhost ([127.0.0.1]:43633 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W9UZn-0000Oj-LE for submit@debbugs.gnu.org; Sat, 01 Feb 2014 02:01:16 -0500 Received: from eggs.gnu.org ([208.118.235.92]:54377) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W9UZj-0000OX-Sv for submit@debbugs.gnu.org; Sat, 01 Feb 2014 02:01:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W9UZZ-0007L9-VU for submit@debbugs.gnu.org; Sat, 01 Feb 2014 02:01:11 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38700) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9UZZ-0007L3-Rq for submit@debbugs.gnu.org; Sat, 01 Feb 2014 02:01:01 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55817) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9UZS-0006cj-Ex for bug-gnu-emacs@gnu.org; Sat, 01 Feb 2014 02:01:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W9UZJ-0007Ip-1t for bug-gnu-emacs@gnu.org; Sat, 01 Feb 2014 02:00:54 -0500 Received: from mail-ee0-f43.google.com ([74.125.83.43]:52877) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9UZI-0007Ii-OM for bug-gnu-emacs@gnu.org; Sat, 01 Feb 2014 02:00:44 -0500 Received: by mail-ee0-f43.google.com with SMTP id c41so2655828eek.16 for ; Fri, 31 Jan 2014 23:00:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-type; bh=SDk2TCStthbaV4R4rTrkKnLPcSHHZc+YPCm6Sy12uLo=; b=DUpgnoFoj5c+5Hl1ML1KzLGm0gfVGI6WgVuAa0N1usRuEyYku7pZ3NP9gVlJjqza3E wH3L4tM8pKu7jdGyy93aTVChRL9ETAxnnXjRX12csLBfIH8HMSo1QiTKoxrGI9UqTVJa VPELTvG1v+ZMZSrOakmx3/zYYR4nNDENY5QcG3V5UxUGnUyjkmz2eIDKfkUeo1sp+KU/ VTUtgiaRsjFEzG8NZsbg86YGeplqCsE9XGJmNpfOG7yIQsL467tDURQqfNr2TkJ5AwUD g1K0SL+y8sj0PCgiBUyjgnBresNq/LRTSMozKAiG68jWuhNWgPDSkwl7bio0crif0mcn F+9Q== X-Gm-Message-State: ALoCoQkpYiUKs8aeb33UeATKZ6JZfo3qlyXOvDj75RYcv2vEWA3UHCu198UiCSVL3B4Un1v0orqC X-Received: by 10.14.241.142 with SMTP id g14mr29814827eer.40.1391238043426; Fri, 31 Jan 2014 23:00:43 -0800 (PST) Received: from Bozhidars-MacBook-Pro.local (93-152-182-45.ddns.onlinedirect.bg. [93.152.182.45]) by mx.google.com with ESMTPSA id 8sm46155334eeq.15.2014.01.31.23.00.41 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 31 Jan 2014 23:00:42 -0800 (PST) Received: by Bozhidars-MacBook-Pro.local (Postfix, from userid 501) id EA5137DAF5FA; Sat, 1 Feb 2014 09:00:39 +0200 (EET) From: Bozhidar Batsov Date: Sat, 01 Feb 2014 09:00:39 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) The following code breaks the indentation of code following it: return false unless method == :+ x = y + z # bad indentation Other similar operators like *, /, etc exhibit the same problem. In GNU Emacs 24.3.50.1 (x86_64-apple-darwin13.0.0, NS apple-appkit-1265.00) of 2014-01-27 on Bozhidars-MacBook-Pro.local Windowing system distributor `Apple', version 10.3.1265 Configured using: `configure --prefix=/usr/local/Cellar/emacs/HEAD --without-dbus --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs/HEAD/share/info/emacs --without-gnutls --with-ns --disable-ns-self-contained' Important settings: locale-coding-system: utf-8-unix Major mode: Ruby Minor modes in effect: diff-auto-refine-mode: t subword-mode: t ruby-tools-mode: t inf-ruby-minor-mode: t guru-mode: t erc-truncate-mode: t erc-spelling-mode: t erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t global-flycheck-mode: t flycheck-mode: t which-function-mode: t flx-ido-mode: t ido-ubiquitous-mode: t winner-mode: t global-undo-tree-mode: t undo-tree-mode: t whitespace-mode: t global-anzu-mode: t anzu-mode: t projectile-global-mode: t projectile-mode: t flyspell-mode: t volatile-highlights-mode: t global-hl-line-mode: t shell-dirtrack-mode: t recentf-mode: t savehist-mode: t show-smartparens-global-mode: t show-smartparens-mode: t smartparens-mode: t global-auto-revert-mode: t delete-selection-mode: t prelude-global-mode: t prelude-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-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 size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d M-f M-f M-f M-f M-f M-f M-b M-b M-f M-f M-b M-f C-k C-a C-k C-x k C-g C-x k C-c C-k C-x o C-p M-f M-f M-f M-f M-f M-f M-f M-f M-f M-f M-f M-f M-b C-f C-f C-f C-f C-f C-f C-f E n d C-x C-s C-x g C-p C-p C-p s c c C-y M-b M-b M-f C-f C-f C-f C-f C-f C-f C-f C-f E n d C-c C-c P P s-f a n n o t a t i C-x b t e s t . r b s h i t t e s t SPC = SPC s o m e g t h i n g SPC + SPC : = C-b C-b C-b = = C-e C-b C-b C-e = = C-b C-b C-b C-b C-e + C-p C-p C-n C-b C-b C-b C-a C-k C-k C-x b e n d l i n e l i n e e n d C-p C-p C-p C-p C-p C-p C-p C-n C-SPC C-e M-w C-x b C-y m e t h o d SPC = = SPC : + C-p C-a C-SPC C-e M-w M-x r e p o r t Recent messages: unexpected token tCOLON Source files should end with a newline (\n). 1 trailing blank lines detected. Trailing whitespace detected. [2 times] Saving file /Users/bozhidar/projects/test.rb... Wrote /Users/bozhidar/projects/test.rb Mark set [2 times] Indenting region...done Mark activated Load-path shadows: /Users/bozhidar/.emacs.d/elpa/flycheck-20140121.147/.dir-locals hides /usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp/gnus/.dir-locals /Users/bozhidar/.emacs.d/elpa/tabulated-list-20120406.2251/tabulated-list hides /usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp/emacs-lisp/tabulated-list Features: (shadow sort emacsbug ielm pcase mail-extr sgml-mode nxml-uchnm rng-xsd xsd-regexp rng-cmpct vc-annotate vc vc-dispatcher lisp-mnt network-stream starttls tls cider cider-mode cider-repl cider-eldoc cider-version clojure-test-mode cider-interaction arc-mode archive-mode cider-client nrepl-client cider-util ewoc clojure-mode-expansions clojure-mode inf-lisp ibuf-ext ibuffer conf-mode yaml-mode ace-jump-mode find-dired ffap url-parse url-vars hippie-exp misearch multi-isearch eieio-opt speedbar sb-image ezimage dframe mule-util markdown-mode noutline outline executable magit-key-mode magit view epa derived epg epg-config diff-mode git-rebase-mode git-commit-mode server log-edit message sendmail rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log vc-git superword subword ruby-tools inf-ruby ruby-mode-expansions smartparens-ruby ruby-mode smie rainbow-mode color rainbow-delimiters elisp-slime-nav guru-mode prelude-key-chord key-chord prelude-xml nxml-mode-expansions html-mode-expansions smartparens-html rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok prelude-web prelude-scss prelude-scheme prelude-ruby prelude-perl prelude-org prelude-js prelude-erc erc-truncate erc-autoaway erc-spelling erc-notify erc-log erc-list erc-menu erc-join erc-ring erc-networks erc-pcomplete erc-track erc-match erc-button erc-fill erc-stamp erc-netsplit erc-goodies erc erc-backend erc-compat prelude-emacs-lisp prelude-css prelude-common-lisp slime-autoloads prelude-clojure prelude-lisp prelude-c prelude-programming flycheck help-mode rx f which-func imenu prelude-ido smex flx-ido flx ido-ubiquitous warnings ido prelude-osx exec-path-from-shell prelude-global-keybindings prelude-editor winner undo-tree diff esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg eldoc esh-groups eshell esh-module esh-mode esh-util re-builder whitespace browse-kill-ring midnight ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff dired-x dired anzu projectile pkg-info find-func grep compile s bookmark pp expand-region text-mode-expansions er-basic-expansions expand-region-custom expand-region-core flyspell ispell etags volatile-highlights hl-line windmove tramp-cache tramp-sh tramp tramp-compat auth-source gnus-util mm-util mail-prsvr password-cache tramp-loaddefs trampver shell pcomplete comint ansi-color ring format-spec recentf tree-widget wid-edit savehist saveplace diminish smartparens-config smartparens autorevert filenotify delsel prelude-mode easy-mmode edmacro kmacro prelude-core epl advice help-fns dash thingatpt prelude-ui zenburn-theme prelude-packages finder-inf ack-and-a-half-autoloads diminish-autoloads erlang-autoloads flx-ido-autoloads eieio byte-opt bytecomp byte-compile cconv eieio-core grizzl-autoloads key-chord-autoloads logito-autoloads info easymenu cl-macs gv move-text-autoloads paredit-autoloads pkg-info-autoloads puppet-mode-autoloads rainbow-delimiters-autoloads request-autoloads rubocop-autoloads volatile-highlights-autoloads yaml-mode-autoloads package cl cl-loaddefs cl-lib time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer 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 make-network-process cocoa ns multi-tty emacs) From unknown Sat Jun 21 10:44:04 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Bozhidar Batsov Subject: bug#16609: closed (Re: bug#16609: 24.3.50; [ruby-mode] Indentation broken after line ending with :+) Message-ID: References: <87iosyop65.fsf@yandex.ru> X-Gnu-PR-Message: they-closed 16609 X-Gnu-PR-Package: emacs Reply-To: 16609@debbugs.gnu.org Date: Sat, 01 Feb 2014 14:59:09 +0000 Content-Type: multipart/mixed; boundary="----------=_1391266749-22437-1" This is a multi-part message in MIME format... ------------=_1391266749-22437-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #16609: 24.3.50; [ruby-mode] Indentation broken after line ending with :+ 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 16609@debbugs.gnu.org. --=20 16609: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D16609 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1391266749-22437-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 16609-done) by debbugs.gnu.org; 1 Feb 2014 14:58:45 +0000 Received: from localhost ([127.0.0.1]:45241 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W9c1r-0005pb-Pb for submit@debbugs.gnu.org; Sat, 01 Feb 2014 09:58:44 -0500 Received: from mail-ea0-f169.google.com ([209.85.215.169]:35561) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W9c1j-0005pV-O4 for 16609-done@debbugs.gnu.org; Sat, 01 Feb 2014 09:58:36 -0500 Received: by mail-ea0-f169.google.com with SMTP id h10so2915888eak.28 for <16609-done@debbugs.gnu.org>; Sat, 01 Feb 2014 06:58:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=dIUbWMaTLGDieHz+WhWdXcSylOj0fA1DuHGDuuZBkWM=; b=vSMpD34bHvMmACk10EDEPalj/L/LxJqJO6BxXwlikqy+p0iccWBGlCbNfbuiqhT/60 +q5i75jPUlnQcppRWOHl07RmKBEsz3pMbgYgLS2peQk5KYEy/UR4lfdqUATFtiURysGY OTBl5Zpohm0rN/4BLsBvuwFLX3w5aTXoJ7Ju8miFUk35e4NSeO5spEHH3Zf9T/xiwUyf WpKMGFeJlcejyIHEOSy/eEbeoiC8KM6SFjLNJ+Kk87gDy8CNN2s0grSFdoLjTUif0Ot0 Hs0/3gbbesRyG0UFEF0o2Q6DQVprphP9MpCp4fWOgXsOlLOzbqCTPOuiM6qHF1iZUMIn nNRw== X-Received: by 10.15.45.194 with SMTP id b42mr1717269eew.103.1391266714270; Sat, 01 Feb 2014 06:58:34 -0800 (PST) Received: from axl (93-150-41.netrun.cytanet.com.cy. [93.109.150.41]) by mx.google.com with ESMTPSA id l4sm50490746een.13.2014.02.01.06.58.32 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 01 Feb 2014 06:58:33 -0800 (PST) From: Dmitry Gutov To: Bozhidar Batsov Subject: Re: bug#16609: 24.3.50; [ruby-mode] Indentation broken after line ending with :+ References: Date: Sat, 01 Feb 2014 16:58:26 +0200 In-Reply-To: (Bozhidar Batsov's message of "Sat, 01 Feb 2014 09:00:39 +0200") Message-ID: <87iosyop65.fsf@yandex.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 16609-done Cc: 16609-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Version: 24.4 Bozhidar Batsov writes: > The following code breaks the indentation of code following it: > > return false unless method == :+ > x = y + z # bad indentation > > Other similar operators like *, /, etc exhibit the same problem. Thanks, fixed in 116233. ------------=_1391266749-22437-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 1 Feb 2014 07:01:17 +0000 Received: from localhost ([127.0.0.1]:43633 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W9UZn-0000Oj-LE for submit@debbugs.gnu.org; Sat, 01 Feb 2014 02:01:16 -0500 Received: from eggs.gnu.org ([208.118.235.92]:54377) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W9UZj-0000OX-Sv for submit@debbugs.gnu.org; Sat, 01 Feb 2014 02:01:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W9UZZ-0007L9-VU for submit@debbugs.gnu.org; Sat, 01 Feb 2014 02:01:11 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38700) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9UZZ-0007L3-Rq for submit@debbugs.gnu.org; Sat, 01 Feb 2014 02:01:01 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55817) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9UZS-0006cj-Ex for bug-gnu-emacs@gnu.org; Sat, 01 Feb 2014 02:01:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W9UZJ-0007Ip-1t for bug-gnu-emacs@gnu.org; Sat, 01 Feb 2014 02:00:54 -0500 Received: from mail-ee0-f43.google.com ([74.125.83.43]:52877) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9UZI-0007Ii-OM for bug-gnu-emacs@gnu.org; Sat, 01 Feb 2014 02:00:44 -0500 Received: by mail-ee0-f43.google.com with SMTP id c41so2655828eek.16 for ; Fri, 31 Jan 2014 23:00:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-type; bh=SDk2TCStthbaV4R4rTrkKnLPcSHHZc+YPCm6Sy12uLo=; b=DUpgnoFoj5c+5Hl1ML1KzLGm0gfVGI6WgVuAa0N1usRuEyYku7pZ3NP9gVlJjqza3E wH3L4tM8pKu7jdGyy93aTVChRL9ETAxnnXjRX12csLBfIH8HMSo1QiTKoxrGI9UqTVJa VPELTvG1v+ZMZSrOakmx3/zYYR4nNDENY5QcG3V5UxUGnUyjkmz2eIDKfkUeo1sp+KU/ VTUtgiaRsjFEzG8NZsbg86YGeplqCsE9XGJmNpfOG7yIQsL467tDURQqfNr2TkJ5AwUD g1K0SL+y8sj0PCgiBUyjgnBresNq/LRTSMozKAiG68jWuhNWgPDSkwl7bio0crif0mcn F+9Q== X-Gm-Message-State: ALoCoQkpYiUKs8aeb33UeATKZ6JZfo3qlyXOvDj75RYcv2vEWA3UHCu198UiCSVL3B4Un1v0orqC X-Received: by 10.14.241.142 with SMTP id g14mr29814827eer.40.1391238043426; Fri, 31 Jan 2014 23:00:43 -0800 (PST) Received: from Bozhidars-MacBook-Pro.local (93-152-182-45.ddns.onlinedirect.bg. [93.152.182.45]) by mx.google.com with ESMTPSA id 8sm46155334eeq.15.2014.01.31.23.00.41 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 31 Jan 2014 23:00:42 -0800 (PST) Received: by Bozhidars-MacBook-Pro.local (Postfix, from userid 501) id EA5137DAF5FA; Sat, 1 Feb 2014 09:00:39 +0200 (EET) From: Bozhidar Batsov To: bug-gnu-emacs@gnu.org Subject: 24.3.50; [ruby-mode] Indentation broken after line ending with :+ Date: Sat, 01 Feb 2014 09:00:39 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) The following code breaks the indentation of code following it: return false unless method == :+ x = y + z # bad indentation Other similar operators like *, /, etc exhibit the same problem. In GNU Emacs 24.3.50.1 (x86_64-apple-darwin13.0.0, NS apple-appkit-1265.00) of 2014-01-27 on Bozhidars-MacBook-Pro.local Windowing system distributor `Apple', version 10.3.1265 Configured using: `configure --prefix=/usr/local/Cellar/emacs/HEAD --without-dbus --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs/HEAD/share/info/emacs --without-gnutls --with-ns --disable-ns-self-contained' Important settings: locale-coding-system: utf-8-unix Major mode: Ruby Minor modes in effect: diff-auto-refine-mode: t subword-mode: t ruby-tools-mode: t inf-ruby-minor-mode: t guru-mode: t erc-truncate-mode: t erc-spelling-mode: t erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t global-flycheck-mode: t flycheck-mode: t which-function-mode: t flx-ido-mode: t ido-ubiquitous-mode: t winner-mode: t global-undo-tree-mode: t undo-tree-mode: t whitespace-mode: t global-anzu-mode: t anzu-mode: t projectile-global-mode: t projectile-mode: t flyspell-mode: t volatile-highlights-mode: t global-hl-line-mode: t shell-dirtrack-mode: t recentf-mode: t savehist-mode: t show-smartparens-global-mode: t show-smartparens-mode: t smartparens-mode: t global-auto-revert-mode: t delete-selection-mode: t prelude-global-mode: t prelude-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-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 size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d M-f M-f M-f M-f M-f M-f M-b M-b M-f M-f M-b M-f C-k C-a C-k C-x k C-g C-x k C-c C-k C-x o C-p M-f M-f M-f M-f M-f M-f M-f M-f M-f M-f M-f M-f M-b C-f C-f C-f C-f C-f C-f C-f E n d C-x C-s C-x g C-p C-p C-p s c c C-y M-b M-b M-f C-f C-f C-f C-f C-f C-f C-f C-f E n d C-c C-c P P s-f a n n o t a t i C-x b t e s t . r b s h i t t e s t SPC = SPC s o m e g t h i n g SPC + SPC : = C-b C-b C-b = = C-e C-b C-b C-e = = C-b C-b C-b C-b C-e + C-p C-p C-n C-b C-b C-b C-a C-k C-k C-x b e n d l i n e l i n e e n d C-p C-p C-p C-p C-p C-p C-p C-n C-SPC C-e M-w C-x b C-y m e t h o d SPC = = SPC : + C-p C-a C-SPC C-e M-w M-x r e p o r t Recent messages: unexpected token tCOLON Source files should end with a newline (\n). 1 trailing blank lines detected. Trailing whitespace detected. [2 times] Saving file /Users/bozhidar/projects/test.rb... Wrote /Users/bozhidar/projects/test.rb Mark set [2 times] Indenting region...done Mark activated Load-path shadows: /Users/bozhidar/.emacs.d/elpa/flycheck-20140121.147/.dir-locals hides /usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp/gnus/.dir-locals /Users/bozhidar/.emacs.d/elpa/tabulated-list-20120406.2251/tabulated-list hides /usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp/emacs-lisp/tabulated-list Features: (shadow sort emacsbug ielm pcase mail-extr sgml-mode nxml-uchnm rng-xsd xsd-regexp rng-cmpct vc-annotate vc vc-dispatcher lisp-mnt network-stream starttls tls cider cider-mode cider-repl cider-eldoc cider-version clojure-test-mode cider-interaction arc-mode archive-mode cider-client nrepl-client cider-util ewoc clojure-mode-expansions clojure-mode inf-lisp ibuf-ext ibuffer conf-mode yaml-mode ace-jump-mode find-dired ffap url-parse url-vars hippie-exp misearch multi-isearch eieio-opt speedbar sb-image ezimage dframe mule-util markdown-mode noutline outline executable magit-key-mode magit view epa derived epg epg-config diff-mode git-rebase-mode git-commit-mode server log-edit message sendmail rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log vc-git superword subword ruby-tools inf-ruby ruby-mode-expansions smartparens-ruby ruby-mode smie rainbow-mode color rainbow-delimiters elisp-slime-nav guru-mode prelude-key-chord key-chord prelude-xml nxml-mode-expansions html-mode-expansions smartparens-html rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok prelude-web prelude-scss prelude-scheme prelude-ruby prelude-perl prelude-org prelude-js prelude-erc erc-truncate erc-autoaway erc-spelling erc-notify erc-log erc-list erc-menu erc-join erc-ring erc-networks erc-pcomplete erc-track erc-match erc-button erc-fill erc-stamp erc-netsplit erc-goodies erc erc-backend erc-compat prelude-emacs-lisp prelude-css prelude-common-lisp slime-autoloads prelude-clojure prelude-lisp prelude-c prelude-programming flycheck help-mode rx f which-func imenu prelude-ido smex flx-ido flx ido-ubiquitous warnings ido prelude-osx exec-path-from-shell prelude-global-keybindings prelude-editor winner undo-tree diff esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg eldoc esh-groups eshell esh-module esh-mode esh-util re-builder whitespace browse-kill-ring midnight ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff dired-x dired anzu projectile pkg-info find-func grep compile s bookmark pp expand-region text-mode-expansions er-basic-expansions expand-region-custom expand-region-core flyspell ispell etags volatile-highlights hl-line windmove tramp-cache tramp-sh tramp tramp-compat auth-source gnus-util mm-util mail-prsvr password-cache tramp-loaddefs trampver shell pcomplete comint ansi-color ring format-spec recentf tree-widget wid-edit savehist saveplace diminish smartparens-config smartparens autorevert filenotify delsel prelude-mode easy-mmode edmacro kmacro prelude-core epl advice help-fns dash thingatpt prelude-ui zenburn-theme prelude-packages finder-inf ack-and-a-half-autoloads diminish-autoloads erlang-autoloads flx-ido-autoloads eieio byte-opt bytecomp byte-compile cconv eieio-core grizzl-autoloads key-chord-autoloads logito-autoloads info easymenu cl-macs gv move-text-autoloads paredit-autoloads pkg-info-autoloads puppet-mode-autoloads rainbow-delimiters-autoloads request-autoloads rubocop-autoloads volatile-highlights-autoloads yaml-mode-autoloads package cl cl-loaddefs cl-lib time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer 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 make-network-process cocoa ns multi-tty emacs) ------------=_1391266749-22437-1--