This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-05-08
Channels
- # announcements (1)
- # babashka (28)
- # beginners (13)
- # calva (10)
- # clerk (18)
- # clj-on-windows (39)
- # clj-otel (1)
- # cljdoc (17)
- # clojars (12)
- # clojure (40)
- # clojure-austin (11)
- # clojure-brasil (1)
- # clojure-europe (23)
- # clojure-nl (3)
- # clojure-norway (16)
- # clojure-uk (2)
- # clojurescript (28)
- # clr (4)
- # conjure (1)
- # emacs (14)
- # hoplon (6)
- # hyperfiddle (59)
- # interop (2)
- # leiningen (1)
- # off-topic (37)
- # pathom (1)
- # polylith (5)
- # portal (7)
- # reagent (9)
- # releases (3)
- # shadow-cljs (22)
- # spacemacs (6)
- # tools-build (12)
- # tools-deps (51)
- # web-security (6)
- # xtdb (7)
Where should i set variables? I have the expression (setq blah "blah") inside my dotspacemacs/user-config expression, which i thought would be permanently set. However, i keep having to eval it after emacs loads.
If a variable is for a Spacemacs layer, the it can be defined via dotspacemacs-configuration-layers
or in dotspacemacs/user-config
using a setq
Otherwise define the variable in dotspacemacs/user-config
which should over-ride package and init settings.
I believe values are saved in dotspacemacs/emacs-custom-settings
so in theory there could be a conflicting value, but this is unlikely.
This section (or emacs-custom-settings.el
file in the Practicalli Spacemacs config) can be removed and Spacemacs will recreate it from the other values in the Spacemacs config file
NOTE: any changes made by via Emacs customize command will be lost when removing dotspacemacs/macs-custom-setting
or
emacs-custom-settings.el
(create a copy of not sure)
@U05254DQM thanks. Any idea why calling functions inside user-config wouldn't be active after it loads? for example
(require 'gptel)
(setq gptel-model "gpt-4")
My initial guess would be the package is not available, but that should show an error in the *messages*
buffer.
Is the package that provides gtel added via dotspacemacs/additional-packages
It's available, if i run those expressions they work. Maybe i have an error further up and it prevents them from executing.