Issue #7642 has been updated by keiju (Keiju Ishitsuka).

Status changed from Assigned to Rejected

zzak (Zachary Scott) wrote:

> I also found this method:
> irb_context.auto_indent_mode = true

Yes. other way:

IRB.conf[:AUTO_INDENT] = true

> What do you think about enable this by default?

Shell(bash, zsh) is also not default. 
I do not think this feature is easy to use. 
So, people who want to use this feature may be set it.


----------------------------------------
Bug #7642: IRB indentation is gone
https://bugs.ruby-lang.org/issues/7642#change-35360

Author: zzak (Zachary Scott)
Status: Rejected
Priority: Normal
Assignee: keiju (Keiju Ishitsuka)
Category: lib
Target version: 2.0.0
ruby -v: 2.0.0


This is indentation of irb in 1.9.3-p362:
http://screencloud.net/v/srk8
It is ok, but no out-dent on 'end'. This could be fixed.

Now compare with irb in trunk:
http://screencloud.net/v/5uVd
Indentation is completely missing.



-- 
http://bugs.ruby-lang.org/