This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-07-24
Channels
- # announcements (2)
- # aws (2)
- # babashka (1)
- # beginners (87)
- # boot (1)
- # calva (42)
- # clj-kondo (18)
- # cljdoc (5)
- # cljsjs (1)
- # cljsrn (1)
- # clojars (16)
- # clojure (222)
- # clojure-dev (30)
- # clojure-europe (17)
- # clojure-gamedev (2)
- # clojure-hungary (10)
- # clojure-italy (6)
- # clojure-nl (21)
- # clojure-spec (9)
- # clojure-uk (111)
- # clojuredesign-podcast (1)
- # clojurescript (99)
- # code-reviews (1)
- # conjure (18)
- # cursive (11)
- # datomic (22)
- # emacs (1)
- # events (3)
- # figwheel-main (3)
- # fulcro (14)
- # graalvm (41)
- # graphql (16)
- # helix (12)
- # juxt (1)
- # kaocha (56)
- # keechma (1)
- # meander (77)
- # observability (1)
- # off-topic (29)
- # pathom (3)
- # re-frame (4)
- # reagent (3)
- # reitit (1)
- # remote-jobs (3)
- # reveal (9)
- # shadow-cljs (45)
- # spacemacs (43)
- # sql (28)
- # tools-deps (14)
- # vim (1)
- # xtdb (26)
- # yada (1)
I'm not sure what happened but suddenly magit key bindings in spacemacs are broken. SPC g s is undefined
, etc.
I haven't changed anything explicitly - the only thing that happened, I think, since it worked is that my computer ran out of battery and was turned off forcibly.
I tried to restore my .emacs.d
from a backup two weeks ago but when I start emacs it shows "deleting 14 orphan packages" and I was able to see that one of them is evil-magit
. Any idea why that happens?
I would start by checking the commands are still there, SPC SPC magit
and see if the commands show the keybindings.
If the commands aren't there, then I'd delete the magit packages and restart Emacs
The commands are there. But also magit-status
doesn't work as before (no evil keybindings just standard emacs -> suggesting that evil-magit and possibly other packages are the problem)
When I try to install evil-magit
manually (via package-list-packages
) I get this error
Compiling file /Users/jumar/.emacs.d/elpa/develop/evil-magit-20200604.110/evil-magit.el at Fri Jul 24 13:57:14 2020
Entering directory '/Users/jumar/.emacs.d/elpa/develop/evil-magit-20200604.110/'
evil-magit.el:53:1:Error: Key sequence j p starts with non-prefix key j
It looked as if no magit package was actually installed.
I've just installed magit
and then tried evil-magit
- all other magit related packages are shown as "available" but not "installed" (not sure if that only means there's a new version)
A possible quick hack would be to set dotspacemacs-install-packages 'all
in .spacemacs
which should keep all packages rather than deleting unused ones. This doesnt fix the underlying problem though.
Btw. I ran a rather old version of develop branch and just tried to update to the latest origin/develop. This is what I get during startup now:
Packages that are not defined in an enabled layer or included in the addtional-packages setting I assume.
Is that the issue with older versions of Emacs? e.g. before 26.3. The RSA key for melpa was updated sometime before Emacs 26.3 and so earlier emacs versions need their key updated.
Yes, it seems it is....
When I had a Mac, I used https://emacsformacosx.com/ to install Emacs. Or you can to an internet search on how to update the keys for Emacs 25. Or install a new version of Emacs using the Spacemacs recommendations https://github.com/syl20bnr/spacemacs/tree/develop#emacs
I ended up downloading new Emacs, switching to the latest develop branch, deleting my .spacemacs file and manually transfering relevant settings from my old .spacemacs file to the new one created by the spacemacs wizard.
SPC f e D
is also useful for comparing your .spacemacs file with the spacemacs.template, opens ediff and j
and k
step through changes. Or in this case using SPC D f f
to select two files to use with ediff
Thanks for the tip. Btw as a side-effect it seems that the upgrade made my emacs way faster
I am trying out Emacs 28 at the moment, it seems a little faster too, although probably not as stable as 26.3. Emacs 27 should be out this year as the next stable release.
I don't suppose anyone knows if I can update my exec-path through Spacemacs, or if there is any particular Spacemacs way of doing it..?
@maleghast If you are using Spacemacs develop
branch, SPC f e e
will open your .spacemacs.env
file which should be automatically populated from your Operating System when Emacs is started.
You can manually add entries to this file too.
If new entries for PATH or other environment variables are added after Emacs is running, then add them manually or restart Emacs
Pleasure. Hope all is fine with you
I am busy bee working on https://practicalli.github.io/ and getting out and about on my bike (although not as much as I should)
It's been a long time since I've seen anyone from the wider community in the flesh, I haven't seen my own team for a few months either....
I am going to start my own bank and make loads of money 🙂 https://practicalli.github.io/clojure-webapps/projects/banking-on-clojure/
Yes, I want some of that action :rolling_on_the_floor_laughing:
Its all for my ever growing books on Clojure. Starting to get them into a much better shape and using lots of deps.edn and Clojure CLI tools.
I am thinking of getting a proper job and moving to Scotland at some point
Would be lovely to see you... Things have changed / moved on a lot at Cervest of late, so we are still on mission, but focusign a lot more on disclosure solutions and that kind fo thing for risk / climate risk to asset bases.
COVID-19 has made us 100% Remote Friendly, I am 100% Remote now, which does not preclude the idea of maybe quarterly visits to the office starting e/o Q1 next year, so I am quite pleased albeit I am missing having regular access to London theatres and my social life down there...
Not sure yet, somewhere pretty, which seems to be most of Scotland. Perth and Inverness look interesting, as I could go cycling over the Cairngorms