Questions tagged [use-package]
use-package is a macro package to isolate Emacs configuration lines in the init file. By isolating related lines, the configuration performs better and is easier to maintain.
275 questions
0 votes
0 answers
41 views
use-package error with adaptive-wrap
I have a new Mac M4 (Sequoia 15.3.1) and am running GNU Emacs 30.1 (9.0). I have downloaded adaptive-wrap (0.8) via l-pac. In my .emacs I have (use-package 'adaptive-wrap) (setq adaptive-wrap-extra-...
0 votes
0 answers
84 views
Clarification on use-package with :hook
At https://www.gnu.org/software/emacs/manual/html_node/use-package/Hooks.html, the Emacs manual states (use-package company :commands company-mode :init (add-hook 'prog-mode-hook #'company-mode))...
4 votes
0 answers
300 views
No package-vc with my 30.1?
I'm on 30.1 and just tried this in my init (use-package lean4-mode :ensure t :commands lean4-mode :vc (:url "https://giqthub.com/leanprover-community/lean4-mode.git" :rev :last-...
0 votes
1 answer
178 views
override built-in mode with use-package
I am using use-package and straight (with (setq straight-use-package-by-default t)) to load my packages. I would like to use this scss-mode package to work SCSS files. I am loading it with (use-...
0 votes
1 answer
108 views
Specify a key-binding using :bind in use-package with a variable passed in from ORG table
I'm attempting to centralize my key-binds in my org-literate Emacs config, that expands out to a series of use-package declarations. The issue I'm having is with the passing of keys as variables into ...
0 votes
1 answer
202 views
Defining bindings for python(-ts)-mode fails mysteriously
Setting up bindings for Python Mode (and its Tree Sitter variant) with the following use-package form mysteriously fails: (use-package python :bind (:map python-mode-map ("C-x *&...
1 vote
1 answer
178 views
Autocompletion doesn't work and other quirks while setting up AUCTeX with use-package
I've been using Emacs + Spacemacs for writing my LaTeX documents (and some programming) for a long while. As a project for this weekend I'm trying to dig deeper into Emacs fundamentals and write my ...
0 votes
1 answer
107 views
Org-sidebar doesn't do what it's supposed to. Should I expect to get it to work?
I'm new to emacs. I installed the package org-sidebar using (package! org-sidebar) and (use-package org-sidebar) in doom emacs. I then open org-sidebar-tree in my buffer. According to the ...