tonini / alchemist.el

Elixir Tooling Integration Into Emacs
http://www.alchemist-elixir.org
906 stars 102 forks source link

Elisp error when running tests #207

Open pragdave opened 8 years ago

pragdave commented 8 years ago

This have been working without issue for months. Then, over the weekend, I set up a fresh Linux box. Now, when I save an Elixir file, I get

replace-regexp-in-string: Wrong type argument: stringp, (:eval (propertize "Elixir" 
      (quote face) alchemist-test--mode-name-face))

The code in question is https://github.com/tonini/alchemist.el/blob/master/alchemist-test-mode.el#L262-L266

(defun alchemist-test-initialize-modeline ()
  "Initialize the mode-line face."
  (when alchemist-test-status-modeline
    (setq mode-name
          '(:eval (propertize "Elixir" 'face alchemist-test--mode-name-face)))))

Any ideas?

Dave

tonini commented 8 years ago

Hi @pragdave

Thanks for the issue report, I guess I have an idea what's problem is. I'll try to get some time today to work on.

Thanks

tonini commented 8 years ago

@pragdave could you please give this https://github.com/tonini/alchemist.el/pull/208 branch a try?

thomas-consulting commented 8 years ago

It may be a while—I'm away from the Linux machine. I'll try as soon as I can

tonini commented 8 years ago

@thomas-consulting Hi Thomas. Did you had the chance to try it again? Cheers