              (kui/package-require 'rbenv))
     (add-hook 'ruby-mode-hook 'global-rbenv-mode))
 
-  (with-pkg 'ruby-block
+  (kui/with-pkg 'ruby-block
     (setq ruby-block-highlight-toggle 'overlay)
     (add-hook 'ruby-mode-hook '(lambda () (ruby-block-mode t))))
   )
 
 ;; coffee-mode
-(with-lib "coffee"
+(kui/with-lib "coffee"
   (kui/add-to-list-if-exist 'ac-modes 'coffee-mode)
-  (with-pkg 'col-highlight
+  (kui/with-pkg 'col-highlight
     (add-hook 'coffee-mode-hook 'column-highlight-mode)))
-(after-loaded "coffee"
+(kui/after-loaded "coffee"
   (setq coffee-tab-width 2)
   (setq coffee-debug-mode t)
 

  )

;; yaml-mode
(with-lib "yaml-mode"
  ;; ...
  )

;; ruby-mode
(with-lib "ruby-mode"
  (add-to-list 'auto-mode-alist '("\\.gemspec\\'" . ruby-mode))
  (add-to-list 'auto-mode-alist '("/config\\.ru\\'" . ruby-mode))
  (add-to-list 'auto-mode-alist '("\\(Rake\\|Gem\\|Thor\\|Berks\\|Vagrant\\)file\\'" . ruby-mode))
  (add-to-list 'auto-mode-alist '("\\.builder\\'" . ruby-mode)))
(after-loaded "ruby-mode"
  (setq ruby-deep-indent-paren nil)

  (defun kui/ruby-init ()

(kui/add-to-list-if-exist 'ac-modes 'html-mode)

;; multi-web-mode
(kui/with-lib "multi-web-mode"
  (add-to-list 'auto-mode-alist '("\\.html\\'" . multi-web-mode)))
(kui/after-loaded "multi-web-mode"
  (setq mweb-default-major-mode 'html-mode)
  (setq mweb-tags '((php-mode "<\\?php\\|<\\? \\|<\\?=" "\\?>")
                    (js-mode "<script>" "</script>")
