emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#17097: closed (24.4.50; [ruby-mode] Indentation bu


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#17097: closed (24.4.50; [ruby-mode] Indentation bug)
Date: Thu, 27 Mar 2014 07:08:02 +0000

Your message dated Thu, 27 Mar 2014 09:06:49 +0200
with message-id <address@hidden>
and subject line Re: bug#17097: 24.4.50; [ruby-mode] Indentation bug
has caused the debbugs.gnu.org bug report #17097,
regarding 24.4.50; [ruby-mode] Indentation bug
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
17097: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17097
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.4.50; [ruby-mode] Indentation bug Date: Wed, 26 Mar 2014 14:45:04 +0200
This snippet is incorrectly indented (notice the extra space):

if x == :!=
   something
end

It should actually be indented like this:

if x == :!=
  something
end




In GNU Emacs 24.4.50.1 (x86_64-apple-darwin13.1.0, NS apple-appkit-1265.19)
 of 2014-03-22 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:
  magit-auto-revert-mode: t
  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
  shell-dirtrack-mode: t
  volatile-highlights-mode: t
  global-hl-line-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:
r e p l a c i n g C-f C-f C-b C-d C-d ! x . n i l ? 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> r e m o v i n g SPC n o n - 
n i l C-f C-d C-d C-d c h e c k C-n C-b C-b C-d C-d 
C-d C-d C-p C-b C-b C-b ( ! x . n i l ? C-f SPC C-b 
C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-n C-f C-f 
C-f C-f C-b ! C-f . C-f C-f C-f ? C-n C-x C-s s-f c 
h a n g e <return> <return> * SPC ` N o n N i l C o 
m p a r i s o n ` SPC c o p SPC d o e s SPC a t u <backspace> 
<backspace> u t o - c o r r e c t i o n . SPC ( [ @ 
b b a t s o v ] [ ] ) C-x C-s C-x C-s <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> C-x g C-n s s s 
c c M-p C-p C-p M-f M-f M-f M-f M-f M-b M-d N o n N 
i l C h e c k C-c C-c P P l l q <down-mouse-1> <mouse-1> 
<down-mouse-1> <mouse-1> C-x b t e s t . r b <return> 
C-a C-k C-k C-k C-k C-k C-k i f SPC x SPC = = SPC ! 
<backspace> : ! <backspace> = = <return> <tab> C-p 
C-e C-b C-b C-d ! C-n <tab> s o m e t h i n g C-p C-a 
C-SPC C-n C-n C-n M-w M-x r e p o r t <return>

Recent messages:
When done with a buffer, type C-c C-c
Type C-c C-c to commit (C-c C-k to abort).
Comment 11
Saving file /Users/bozhidar/projects/rubocop/.git/COMMIT_EDITMSG...
Wrote /Users/bozhidar/projects/rubocop/.git/COMMIT_EDITMSG
Git finished
Type a prefix key to toggle it. Run 'actions' with their prefixes. '?' for more 
help.
Running /usr/bin/git push -v origin master:refs/heads/master
Git finished
Type a prefix key to toggle it. Run 'actions' with their prefixes. '?' for more 
help.

Load-path shadows:
/Users/bozhidar/.emacs.d/elpa/tabulated-list-20120406.2251/tabulated-list hides 
/usr/local/Cellar/emacs/HEAD/share/emacs/24.4.50/lisp/emacs-lisp/tabulated-list

Features:
(tabify hippie-exp slim-mode coffee-mode yaml-mode ffap url-parse
url-vars jka-compr mule-util ibuf-ext ibuffer find-dired misearch
multi-isearch magit-key-mode magit epa derived epg epg-config diff-mode
git-rebase-mode git-commit-mode server log-edit pcvs-util vc-annotate vc
vc-dispatcher add-log superword subword ruby-tools inf-ruby
ruby-mode-expansions smartparens-ruby ruby-mode smie eieio-opt speedbar
sb-image ezimage dframe executable markdown-mode qp shadow sort
mail-extr emacsbug message rfc822 mml mml-sec mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mail-utils vc-git noutline outline view
rainbow-mode color rainbow-delimiters elisp-slime-nav guru-mode
prelude-key-chord key-chord prelude-xml nxml-mode-expansions
html-mode-expansions sgml-mode 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 lisp-mnt grep compile s bookmark pp expand-region
text-mode-expansions er-basic-expansions expand-region-core
expand-region-custom flyspell ispell tramp tramp-compat auth-source
gnus-util mm-util mail-prsvr password-cache tramp-loaddefs trampver
shell pcomplete comint ansi-color format-spec etags ring
volatile-highlights hl-line windmove 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 rainbow-delimiters-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)

Memory information:
((conses 16 809961 708658)
 (symbols 48 43552 22)
 (miscs 40 7552 22915)
 (strings 32 98293 177824)
 (string-bytes 1 2984798)
 (vectors 16 102460)
 (vector-slots 8 3592746 465048)
 (floats 8 18948 10770)
 (intervals 56 42444 8060)
 (buffers 960 175))



--- End Message ---
--- Begin Message --- Subject: Re: bug#17097: 24.4.50; [ruby-mode] Indentation bug Date: Thu, 27 Mar 2014 09:06:49 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
Version: 24.4

Bozhidar Batsov <address@hidden> writes:

> This snippet is incorrectly indented (notice the extra space):
>
> if x == :!=
>    something
> end
>
> It should actually be indented like this:
>
> if x == :!=
>   something
> end

Thanks for the report, should be fixed in emacs-24, r116869.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]