 (if (file-exists-p "~/.mu4e/mu4e.suse.el")
     (load-file "~/.mu4e/mu4e.suse.el"))
 
+;; Org mode
+(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1)))
+
+;; org-trello major mode for all .trello files
+(add-to-list 'auto-mode-alist '("\\.trello$" . org-mode))
+
+;; add a hook function to check if this is trello file, then activate the org-trello minor mode.
+(add-hook 'org-mode-hook
+          (lambda ()
+            (let ((filename (buffer-file-name (current-buffer))))
+              (when (and filename (string= "trello" (file-name-extension filename)))
+              (org-trello-mode)))))
+
 (provide 'init)
 ;;; init.el ends here

      (buffer-string))))
(defadvice recenter (before backtrace activate)
  (message "Recenter backtrace: \n%s" (yf/light-backtrace)))

(require 'jsx-mode)
(add-to-list 'auto-mode-alist '("\\.jsx\\'" . jsx-mode))

                             (frame-char-height)))))))

(set-frame-size-according-to-resolution)
;(set-face-attribute 'default nil :font "Consolas-11")
(set-face-attribute 'default nil :font "Monospace")

;; the blinking cursor is nothing, but an annoyance
(blink-cursor-mode -1)
