This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-10-02
Channels
- # boot (227)
- # carry (1)
- # cljs-dev (3)
- # cljsjs (2)
- # cljsrn (19)
- # clojars (2)
- # clojure (93)
- # clojure-belgium (1)
- # clojure-dev (2)
- # clojure-italy (1)
- # clojure-spec (22)
- # clojure-uk (5)
- # core-async (15)
- # cursive (33)
- # emacs (8)
- # ethereum (1)
- # hoplon (3)
- # jobs (2)
- # leiningen (1)
- # off-topic (24)
- # om (32)
- # perun (1)
- # protorepl (1)
- # re-frame (13)
- # reagent (53)
- # rethinkdb (4)
- # ring-swagger (1)
- # vim (12)
- # yada (14)
Hey all, Im trying to make some custom faces in emacs, can someone see why this code wont create a box around FIXME:
symbol in emacs?
(defface prufa-face
'((((type graphic)) :box (:color "yellow" :line-width -1))
(t :underline t :background "#066"))
"prufa")
(add-hook 'emacs-lisp-mode-hook
(lambda ()
(font-lock-add-keywords nil '(("\\<\\(FIXME\\):" 1 'prufa-face t)))))
nevermind, I just skip the defface macro and it will work fine
(font-lock-add-keywords nil '(("\\<\\(FIXME2\\):" 1 '(:foreground "red" :box (:color "yellow")) t)))
creates red text in yellow box....I don’t want to learn evil and I’m not sure I like the layers system, but it makes 90% of my config redundant so I’m sort of considering it
i just know converts from vim to spacemacs and they are super happy. Haven't heard too many people going from "vanilla" emacs to such a vim-like experience. I prefer keeping the bindings of emacs as I hear there are a few rough edges in menus and other things