Fork me on GitHub

Hm, requiring specter breaks dynamic font locking for me. Look at this ๐Ÿ˜•


Hm, no, not specter maybe, but something strange is going on


I removed all the code from the file, just keeping one call to a function in oskarkv.utils to see if dynamic font locking works, then I tried removing a bunch of namespaces from the (:require ...) declarations. If I remove any one of re-frame, specter or clojure.pprint, dynamic font locking starts working, but not when removing the others.


My best guess as to what is going on is that it just becomes too much somehow, with many required namespaces. I checked with edebug in cider-refresh-dynamic-font-lock and it doesn't seem like anything strange is happening. But of course the values of for example cider--dynamic-font-lock-keywords are so big that it's hard to check what's going on exactly. Or maybe I should check in some other function instead.


Hello I have a newbie question for Jackin to cljs. I checked out the flappy bird repo with figwheel main, but cannot get the connection to the CLJS REPL right. When I start the Jackin command, it asks the usual questions and I choose lein -> fighweel-main -> :dev The log outputs the connection to localhost:63044 is established and the websites opens in the browser. But when I switch to the REPL from the core namespace, it tells me, that no cljs REPL for current session exists. Is there a fool proof example I could test on?

practicalli10:07:13 uses the classic figwheel uses newer figwheel-main Make sure you use the right one they canโ€™t run each otherโ€™s project without changing the project configuration and dependencies


When it asks for the build name, try it without the colon. dev instead of :dev.

๐Ÿ‘ 1

@danielgrosse there is a small project that works for me


Thanks I'll try it

Yehonathan Sharvit07:07:36

Trying to install cider and I get this annoying error:

Error: Cannot open load file: No such file or directory, sesman-browser
What should I do?


How are you installing it?


these steps have never failed me: ๐Ÿ™‚

Yehonathan Sharvit07:07:47

I had a old version of cider

Yehonathan Sharvit07:07:12

M-x package-delete <RET> cider <RET>
and then
M-x package-install <RET> cider <RET>


Are you sure package-delete worked fine? If you have some packages depending on cider (e.g., clj-refactor), I don't think package.el will let you completely remove cider.

Yehonathan Sharvit07:07:24

I also removed clj-refactor

Yehonathan Sharvit07:07:35

How can I check that the package-delete worked fine


you could inspect the .emacs.d/elpa directory and see if cider and any of the packages depending on it (see "Needed by" here: are still there.

Yehonathan Sharvit07:07:41

itโ€™s removed

Yehonathan Sharvit07:07:17

and when I run M-x package-install <RET> cider <RET> I see the error

Error: Cannot open load file: No such file or directory, sesman-browser


ok, then try refreshing the package archives with M-x package-list-packages before installing cider.


sorry, M-x package-refresh-contents


and then M-x package-install cider

Yehonathan Sharvit07:07:09

But still the same errror when installing cider

Yehonathan Sharvit07:07:31

And now I have this folder: /.emacs.d/elpa/cider-20190708.1036


that's what I have too


but I don't see the error on installation


could you try opening a Clojure project and see if jacking-in works?

Yehonathan Sharvit07:07:16

When I run cider-jack-in I get the same error


I'm a bit lost here, sorry. Can you try with a clean .emacs.d? (backing up your original one, of course). The steps on the CIDER documentation always worked for me, so there is something else at play here.


OK, so there is something messy in your original configuration. ๐Ÿ™‚


sesman-browser comes in with sesman, which is a cider dependency that gets automatically installed when you install cider from MELPA. So it has to be there after the installation, that's why I don't understand the error you get.

Yehonathan Sharvit08:07:16

Is there a way to store in a file the list of packages that I want to be installed?


You could just use Spacemacs. It uses layers to define what packages are needed for a major mode, along with any configuration

Yehonathan Sharvit08:07:02

Thanks for your help @manuel


no problem