       mu4e-view-show-addresses t
       mu4e-sent-messages-behavior 'sent
       mu4e-view-show-images t
-      mu4e-completing-read-function #'ivy-completing-read
+      mu4e-completing-read-function #'completing-read
       mu4e-compose-signature-auto-include nil
       mu4e-headers-leave-behavior 'apply
       mu4e-html2text-command "w3m -I UTF-8 -O UTF-8 -dump -T text/html"  ;; "html2text -utf8 -width 72"

                            (flycheck-select-checker 'wren-lint)
                            (flycheck-mode)))

(require 'ivy-xref)
(when (>= emacs-major-version 27)
  (setq xref-show-definitions-function #'ivy-xref-show-defs))
(setq xref-show-xrefs-function #'ivy-xref-show-xrefs)

(require 'dumb-jump)
(setq dumb-jump-selector 'ivy
      dumb-jump-prefer-searcher 'ag)

(add-to-list 'dumb-jump-language-file-exts '(:language "c++" :ext "mm" :agtype "cpp" :rgtype "cpp"))

(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)

(unless package-archive-contents
  (package-initialize)
  (package-refresh-contents))
(dolist (package package-list)
  (unless (package-installed-p package)
    (package-install package)))
