         (append '("*.gz" "*.pyc" "*.pyo" "*.jar" "*.tar.gz" "*.tgz" "*.zip")
                 projectile-globally-ignored-files))
 
+  ; temporal projectile workaround for slow-rendering buffers
+  (setq projectile-mode-line
+        '(:eval (format " Projectile[%s]"
+                        (projectile-project-name))))
+
   ;; flycheck
   (require-or-install 'flycheck)
   (add-hook 'after-init-hook #'global-flycheck-mode)

    (setq jedi:complete-on-dot t)
    (jedi:setup)
    (ac-flyspell-workaround)
    
    (define-key python-mode-map (kbd "C-<return>") 'jedi:complete)
    (define-key python-mode-map (kbd "C-c .") 'jedi:goto-definition)
    (define-key python-mode-map (kbd "C-c d") 'python-toggle-pudb)

    (require 'bytecomp)
    (if (numberp (string-match "\\.el" buffer-file-name))
        (byte-compile-file (buffer-file-name))))
  ;; (add-hook 'after-save-hook 'autocompile)

  (defun my-elisp-mode-hook ()
    (smartparens-mode))
