-
Notifications
You must be signed in to change notification settings - Fork 27
expressions inside setq #523
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
related: #520 (leaf scheme
:doc "the universe is made of atoms and pairs"
:setq
`((home-sweet-home . ,(getenv "HOME"))
(scheme-program-name . ,(concat home-sweet-home ".guix-profile/bin/guile")))) but you will get below error. ;;=> Debugger entered--Lisp error: (void-variable home-sweet-home)
;; (concat home-sweet-home ".guix-profile/bin/guile") cus As long as Emacs know the variables during macro expansion, it can evaluate them while expanding the desired S expression. |
(setq home-sweet-home (getenv "HOME"))
(leaf scheme
:doc "the universe is made of atoms and pairs"
:setq
`((scheme-program-name . ,(concat home-sweet-home ".guix-profile/bin/guile")))) or (leaf scheme
:doc "the universe is made of atoms and pairs"
:setq
`((scheme-program-name . ,(concat (getenv "HOME") ".guix-profile/bin/guile")))) |
@jgarte @conao3 I have observed that Leaf can't handle any list except ones whose car is either "quote" ( (leaf scheme
:doc "the universe is made of atoms and pairs"
:setq
((home-sweet-home . `,(getenv "HOME"))
(scheme-program-name . `,(concat home-sweet-home ".guix-profile/bin/guile")))) |
Are you sure that |
Hi, I get this error when opening emacs:
I'd like to do something like the following:
This is what macroexpand outputs:
Or
Do you happen to know what is wrong with my code? Why are the values of setq set to nil...? 🦆
What would be the best way to debug this?
The text was updated successfully, but these errors were encountered: