kuanyui / moe-theme.el

A customizable colorful eye-candy theme for Emacser. Moe, moe, kyun!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`(setq show-paren-style 'expression)` causes "Invalid Face" error

zilti opened this issue · comments

Using (setq show-paren-style 'expression) causes an error:

Debugger entered--Lisp error: (error "Invalid face" rst-level-1-face)
  internal-set-lisp-face-attribute(rst-level-1-face :height 2.0 0)
  set-face-attribute(rst-level-1-face nil :height 2.0)
  moe-theme-resize-font-size()
  moe-dark()
  moe-theme-set-color(purple)
  eval((moe-theme-set-color (quote purple)) nil)
  eval-last-sexp-1(nil)
  eval-last-sexp(nil)
  call-interactively(eval-last-sexp nil nil)
  command-execute(eval-last-sexp)

Thank you, the problem should be resulted from the latest version rst-mode, which changes its faces' names. Now should be fixed: 601fd58

If still not solved, have you ever try the settings under emacs -Q ?

(show-paren-mode t)
(setq show-paren-style 'expression) 

Paste into scratch and M-x eval-buffer.

Yes, your commit solves the problem, perfect! I really like the theme by the way, and it's the first I've come across I like and that works in a shell, too!

Thanks for your using, I made this theme just because I always use Emacs under terminal ;)