spacemacs

Spacemacs docs: http://develop.spacemacs.org/doc/DOCUMENTATION.html http://develop.spacemacs.org/layers/+lang/clojure/README.html https://practicalli.github.io/spacemacs/
teodorlu 2020-04-03T12:39:16.104400Z

I might have found a bug in the syntax highlighter. Can anyone else reproduce? def-ed strings with quotes seem to be interpreted as docstrings.

OrdoFlammae 2020-04-03T12:43:29.106100Z

Yeah, that happens for me too.

👍 1
mafcocinco 2020-04-03T20:33:02.109Z

Having trouble with Spacemacs. Has been working great for the last 2 years or so but today, for some reason, my *cider-repl* buffer stopped launching for no reason that I have been able to discover. I've tried multiple launching different projects, thinking maybe there was something in the configuration of a specific project, which did not work. I've tried creating a new project, which also did not work. I moved my previous .emacs.d folder to a backup location and create a fresh install of Spacemacs but no luck. Here is the tall end of the *Messages* buffer for the fresh install

mafcocinco 2020-04-03T20:33:25.109300Z

Done (Total of 1 file compiled, 2 skipped)
(Spacemacs) --> installing package: yasnippet@auto-completion... [155/155]
Auto-evilification could not remap these functions in map 'edebug-mode-map':
   - 'edebug-Go-nonstop-mode' originally mapped on 'G'
Auto-evilification could not remap these functions in map 'tar-mode-map':
   - 'tar-chgrp-entry' originally mapped on 'G'
(Spacemacs) Warning: tern binary not found!
Loading /Users/marcusoladell/.emacs.d/layers/+distributions/spacemacs-base/keybindings.el (source)...done
Loading /Users/marcusoladell/.emacs.d/layers/+source-control/version-control/keybindings.el (source)...done
Loading /Users/marcusoladell/.emacs.d/.cache/recentf...done
Saving file /Users/marcusoladell/.spacemacs...
Wrote /Users/marcusoladell/.spacemacs [2 times]
Spacemacs is ready.
Open the quickhelp.
Start checking for new version...
Spacemacs is up to date.
[yas] Check your `yas-snippet-dirs': /Users/marcusoladell/.emacs.d/elpa/yasnippet-20200329.1434/snippets is not a directory
[yas] Prepared just-in-time loading of snippets with some errors.  Check *Messages*.
[nREPL] Starting server via /usr/local/bin/lein update-in :dependencies conj \[nrepl\ \"0.7.0\"\] -- update-in :plugins conj \[refactor-nrepl\ \"2.5.0\"\] -- update-in :plugins conj \[cider/cider-nrepl\ \"0.25.0-SNAPSHOT\"\] -- repl :headless :host localhost
Quit
[nREPL] Starting server via /usr/local/bin/lein update-in :dependencies conj \[nrepl\ \"0.7.0\"\] -- update-in :plugins conj \[refactor-nrepl\ \"2.5.0\"\] -- update-in :plugins conj \[cider/cider-nrepl\ \"0.25.0-SNAPSHOT\"\] -- repl :headless :host localhost
<left-fringe> <drag-mouse-1> is undefined

mafcocinco 2020-04-03T20:33:55.109900Z

Many of these warnings or errors I have seen before things went sideways today. Not sure if they are relevant to what is happening.

mafcocinco 2020-04-03T20:34:28.110600Z

The nrepl-server launches successfully. I just don't get any *cider-nrepl* buffer connected to it. 😕

practicalli-john 2020-04-03T22:21:56.112800Z

@mafcocinco The info from your message buffer suggests you have re-installed Spacemacs, or change Emacs versions or changed from develop to master branch (or vice versa). Specifically these lines

(Spacemacs) --> installing package: yasnippet@auto-completion... [155/155]
Saving file /Users/marcusoladell/.spacemacs...

practicalli-john 2020-04-03T22:24:03.114100Z

Or it could be that you have updated packages after a while, as 155 packages is quite a lot in one go. My monthly package upgrades only have about 20+ packages

practicalli-john 2020-04-03T22:24:13.114400Z

Have you changed anything recently?

practicalli-john 2020-04-03T22:25:33.115600Z

It doesnt seem like Emacs was restarted after all those 155 packages were updates, so that would be the first thing to try.

practicalli-john 2020-04-03T22:27:50.117600Z

You seem to have a newer (probably newest) version of CIDER, as the messages say its adding nrepl 0.7.0. I am only running 0.6.0 and I did upgrade my packages not that long ago.

practicalli-john 2020-04-03T22:47:30.121100Z

I just installed the latest clojure-mode package via the link on the Spacemacs Home buffer and ran a repl. The repl runs find and I can open the repl buffer and see that its connected. The only difference is that I am not using clj-refactor, so I do not have the nrepl-refactor library injected when I run the repl. So yo uhave the extra [refactor-nrepl\ \"2.5.0\"\] library injected. CIDER occasionally has issues with clj-refactor, but that is usually with older versions of both libraries and you are running new versions.

practicalli-john 2020-04-03T22:48:21.122Z

I suggest removing clj-refactor from the clojure layer in your .spacemacs config and see if that narrows down the issue, if a restart of Emacs did not fix the issue.