spacemacs

murtaza52 2022-04-28T11:34:49.064699Z

I updated my packages yesterday (manjaro linux), my emacs version is 28.1, and now spacemacs no longer works - the error I get is No such file or directory use-package I tried reinstalling spacemacs, did not work, any leads on how to debug this ?

practicalli-johnny 2022-04-28T11:44:12.557429Z

Was the .spacemacs file or .spacemac.d/ directory moved out of the way? If they were, sounds like a manjaro issue. it could be a bad packaging of Emacs. Or maybe something important was split into another package If using an earlier version of Emacs, the main difference is probably native compilation, so maybe some of those libraries are causing the issue. I assumed you rebooted manjaro after updating its packages. I'm using Spacemacs with Emacs 29.0.50 on Linux (Ubuntu) without any issues.

murtaza52 2022-04-28T13:11:43.073289Z

thanks, installed 29.0.5 and everything again, seems to be working now

2022-04-28T12:54:36.945789Z

Hi everyone, I need to set the DISPLAY environment variable for my spacemacs. In order to avoid getting https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwiGvvq45rb3AhUkhP0HHVbAAjEQFnoECAsQAQ&url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F10165761%2Fjava-cant-connect-to-x11-window-server-using-localhost10-0-as-the-value-of-t&usg=AOvVaw2gxFis9vJ0EYk8hwMx8GTB. How can I do that ? Adding it to .profile .bash/.zsh_rc or the likes doesn't seem to work.

2022-04-30T13:54:07.678909Z

It worked. I added export DISPLAY= to .spacemacs.env Thanks a lot @jr0cket

👍 1
practicalli-johnny 2022-04-28T15:58:18.017049Z

SPC f e e should open the .spacemacs.env file, environment variables can be added to that file for use in Emacs

practicalli-johnny 2022-04-28T16:30:06.093519Z

SPC f e E will reload the variables in that file and pick up any new variables from the file or the Operating System environment. However, the Clojure REPL (or any Java Process) will need to be restarted to pick up an environment variables added (after that java process started).

practicalli-johnny 2022-04-28T16:33:51.030549Z

I am not sure if this will work for DISPLAY environment variable though, its not clear to me from the link provided as what is actually requiring I usually add something like DISPLAY to .bashrc for bash (and source .bashrc from .profile , or for Zsh I would add environment variables to .zshenv