This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-03-05
Channels
- # beginners (229)
- # cider (54)
- # cljs-dev (187)
- # cljsrn (1)
- # clojure (187)
- # clojure-dev (5)
- # clojure-italy (31)
- # clojure-losangeles (1)
- # clojure-russia (3)
- # clojure-spec (76)
- # clojure-uk (29)
- # clojurescript (94)
- # cursive (18)
- # datascript (8)
- # datomic (26)
- # docker (6)
- # emacs (19)
- # figwheel (6)
- # fulcro (41)
- # garden (1)
- # graphql (1)
- # hoplon (33)
- # jobs (1)
- # jobs-discuss (1)
- # lein-figwheel (14)
- # leiningen (7)
- # nrepl (10)
- # nyc (1)
- # off-topic (2)
- # onyx (2)
- # parinfer (25)
- # portkey (6)
- # powderkeg (1)
- # protorepl (1)
- # re-frame (14)
- # reagent (14)
- # shadow-cljs (31)
- # spacemacs (3)
- # test-check (33)
- # uncomplicate (1)
- # unrepl (40)
- # vim (5)
- # yada (16)
i think it may have to do with prog mode. i saw someone say CIDER or clojure mode don't descend from prog mode but form generic mode
i'm guessing it knows you don't want that in a text buffer and so it does a check like that
(defcustom ahs-modes
'( actionscript-mode
apache-mode
bat-generic-mode
c++-mode
c-mode
csharp-mode
css-mode
dos-mode
emacs-lisp-mode
html-mode
ini-generic-mode
java-mode
javascript-mode
js-mode
lisp-interaction-mode
lua-mode
latex-mode
makefile-mode
makefile-gmake-mode
markdown-mode
moccur-edit-mode
nxml-mode
nxhtml-mode
outline-mode
perl-mode cperl-mode
php-mode
python-mode
rc-generic-mode
reg-generic-mode
ruby-mode
sgml-mode
sh-mode
squirrel-mode
text-mode
tcl-mode
visual-basic-mode )
"Major modes `auto-highlight-symbol-mode' can run on."
:group 'auto-highlight-symbol
:type '(repeat symbol))
can I do this using some fancy customize menu in emacs? I haven’t used that part of emacs much
(mapc (lambda (mode)
(add-to-list 'ahs-modes mode))
'(clojure-mode clojurescript-mode cider-repl-mode))
Oh this is a great mode! I was I living without it!
@dpsutton For the record I mentioned that cider-repl-mode
does not derive from prog-mode
and that was causing some issues where some of my settings that hooked into prog-mode
were not being hooked.
I think I open an issue for clojure-mode
as well against prog-mode
no clear which one should derive though (both?)