 
 ;; save minibuffer history
 (savehist-mode 1)
+(setq history-length 1500)
 (setq savehist-file "~/.emacs.d/cache/history")
 (setq savehist-additional-variables '(search-ring
                                        regexp-search-ring

;; normal bookmarks
(setq bookmark-default-file "~/.emacs.d/cache/bookmarks")

;; unset unwanted keys
(when (eq window-system 'x)
  (if (eq (key-binding "\C-x\C-z") 'suspend-frame)
      (global-unset-key "\C-x\C-z"))
  (if (eq (key-binding "\C-z") 'suspend-frame)
      (global-unset-key "\C-z")))
(if (eq (key-binding [(insert)]) 'overwrite-mode)
    (global-unset-key [(insert)]))
(if (eq (key-binding [(insertchar)]) 'overwrite-mode)
    (global-unset-key [(insertchar)]))

;; semantic (code parser)
(require 'semantic)

                ido-temp-list))))

;; use y/n instead of yes/no
(fset 'yes-or-no-p 'y-or-n-p)


(setq org-completion-use-ido t)
