    # File bin/el4r-instance, line 561
        def initialize(conf)
          @conf = conf
          @emacs_in = STDIN
          @emacs_out = STDOUT
          @call_level = 0
          @last_error = nil
          @el4r_is_debug = ENV["EL4R_DEBUG"]
          @el4r_homedir = conf.home_dir
          @elvar = ELVariables.new(self)
          @el4r_rubyobj_stock = ELRubyObjectStock.new(self)
          @el4r_garbage_elobj_ids = []

          @el4r_output = El4rOutput.new self

          log = ENV["EL4R_LOG"]
          @log = case log
                 when "stderr"; STDERR
                 when /^\|/; File.popen($~.post_match, "w")
                 else; File.open(log || "/tmp/el4r-#{`whoami`.chomp}.#{Process.pid}.log", "w")
                 end

          @el_backtrace_reset_threshold = 1 # very nasty hack!
          @el_backtrace = []

          _init_eval_after_load

          $: << el4r_homedir
        end