Questions tagged [straight.el]
The straight.el tag has no summary.
13 questions
2
votes
0
answers
54
views
`use-package` or `straight.el` - which one should I choose in Emacs config (in late 2025)?
I'm trying to switch to writing my own Emacs init-file from using ready-to-use configuration (e.g. doomemacs, spacemacs, purcell), but then a question arises: how to manage Emacs Lisp packages? The ...
0
votes
1
answer
175
views
How can I install from GNU ELPA?
I'm trying to install cursor-undo on GNU ELPA, I just get:
Debugger entered--Lisp error: (error "Could not find package cursor-undo. Updating recip...")
error("Could not find package %...
1
vote
1
answer
604
views
Installing a package with `straight` fails with the error `"use-package: Unrecognized keyword: :straight"`
I have this
(defvar bootstrap-version)
(setq straight-repository-branch "develop") ; Need this for new org-contrib location
(let ((bootstrap-file
(expand-file-name "straight/...
1
vote
1
answer
385
views
Tramp (from straight) fails in emacs 29
After switching to fc39, emacs fails to load tramp via my use-package statement:
(straight-use-package 'use-package)
(setq straight-use-package-by-default t)
...
(use-package tramp)
The error is as ...
0
votes
2
answers
693
views
How do you troubleshoot an .el file not loading even though it's on load-path filepath?
I've copied a file to a path that's definitely listed in load-path symbol. But the file doesn't get loaded when running emacs with --debug-init flag.
How would you find out what causes it? It uses ...
0
votes
1
answer
265
views
command-execute error with straight.el
I have just tried to setup magit using straight.el in my init file as follows:
(use-package magit
:straight t
:bind ("C-x g" . magit-status)
:commands (magit-status ...
5
votes
2
answers
2k
views
Reducing straight.el Bloat
TL;DR: Is there a way to have straight.el not check out a package via git repo, and have it download slim melpa packages like package.el does? Also, is there a way to have it refrain from ...
0
votes
0
answers
174
views
Why does straight have .elc files inside straight/repos/straight.el
My config for straight.el is pretty standard
;; Disable package.el in favor of straight.el
(setq package-enable-at-startup nil)
;; Bootstrap straight.el
(defvar bootstrap-version)
(let ((bootstrap-...
3
votes
1
answer
124
views
Use of defvar in straight.el's bootstrapping
The package straight.el requires the following bootstrapping code in your emacs config:
(defvar bootstrap-version)
(let ((bootstrap-file
(expand-file-name "straight/repos/straight.el/...
0
votes
0
answers
204
views
use-package: How to skip installing/updating packages which are installed by system package manager?
I use use-package with straight.el on NixOS.
Some packages are installed by Nix, such as evil and org-mode.
I see that use-package still clones their repositories and tries to build them.
How to avoid ...
1
vote
1
answer
459
views
Change location for straight.el working directories?
I’d like to put my dotConfig files into DropBox, including my .emacs.d folder. I’d like to use these across computers and across OS’s. I’ve split out part of my init.el into per-computer files (...
0
votes
2
answers
1k
views
Using straight.el to develop your own package which is also on github
I am considering using straight.el, but reading the docs, I have difficulties to understand whether the particular use cases I am interested in are handled as I hope to. Here are the cases:
I have ...
0
votes
0
answers
1k
views
use-package and straight.el: can't load a package that exists locally?
I'm using the awesome use-package and the awesome straight.el to manage packages.
I'd like to use xahk-mode. I've checked in the 'repos' directory of straight and I can see a folder named xahk-mode ...