Skip to main content

Questions tagged [straight.el]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
81 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/...
Jason Hunter's user avatar
0 votes
1 answer
179 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 ...
Rob Kramer's user avatar
0 votes
0 answers
29 views

change location of straight.el lockfile

I'm using straight.el as a package manager in emacs and would like to make my settings and packages portable and identical over several machines That's why I like to put the default.el file under ...
daeda's user avatar
  • 439
0 votes
2 answers
292 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 ...
Daniel Krajnik's user avatar
0 votes
1 answer
198 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 ...
user4687531's user avatar
4 votes
2 answers
957 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 ...
Jun Inoue's user avatar
  • 195
0 votes
0 answers
145 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-...
Tian's user avatar
  • 288
3 votes
1 answer
82 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/...
user242007's user avatar
0 votes
0 answers
146 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 ...
andreoss's user avatar
1 vote
1 answer
336 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 (...
MikeTheTall's user avatar
0 votes
2 answers
987 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 ...
Public Image Ltd.'s user avatar
0 votes
0 answers
894 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 ...
MikeTheTall's user avatar