From: "keiju (Keiju Ishitsuka)" Date: 2013-01-10T23:27:55+09:00 Subject: [ruby-core:51358] [ruby-trunk - Bug #7642] IRB indentation is gone Issue #7642 has been updated by keiju (Keiju Ishitsuka). zzak (Zachary Scott) wrote: > Thank you Keiju-san. > > How do you enable auto-indent? For example, .irbrc: IRB.conf[:PROMPT][:AUTO_INDENT] = { :PROMPT_I => "%N(%m):%03n:%i> ", :PROMPT_N => "%N(%m):%03n:%i> ", :PROMPT_S => "%N(%m):%03n:%i%l ", :PROMPT_C => "%N(%m):%03n:%i* ", :RETURN => "=> %s\n", :AUTO_INDENT => true } and, you do: % irb --prompt auto-indent ---------------------------------------- Bug #7642: IRB indentation is gone https://bugs.ruby-lang.org/issues/7642#change-35328 Author: zzak (Zachary Scott) Status: Assigned 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/