Questions tagged [straight.el]
9 questions
4
votes
2 answers
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 automatically downloading a lesser-used package until I…

Jun Inoue
- 195
- 6
3
votes
1 answer
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/bootstrap.el" user-emacs-directory))
…

user242007
- 131
- 2
1
vote
1 answer
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 (whose location is specified with an environment…

MikeTheTall
- 659
- 4
- 11
0
votes
2 answers
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 straight.el library via Doom emacs macro:
(package!…

Daniel Krajnik
- 94
- 7
0
votes
1 answer
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 magit-get-current-branch))
However upon restarting emacs…

user4687531
- 143
- 5
0
votes
0 answers
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-file
(expand-file-name…

Tian
- 288
- 1
- 8
0
votes
0 answers
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 that?

andreoss
- 149
- 4
0
votes
2 answers
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 some packages of my own which are hosted on github.…

Public Image Ltd.
- 129
- 7
0
votes
0 answers
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 so I think it's locally available to…

MikeTheTall
- 659
- 4
- 11