Questions tagged [package]
Emacs includes a facility that lets you easily download and install packages that implement additional features. Each package is a separate Emacs Lisp program, sometimes including other components such as an Info manual.
503 questions
2
votes
0
answers
53
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
0
answers
17
views
customize org-appear to hide inline src block
I found this reddit post which has a config to hide the header context of a inline src block. So, using the config, inline source like src_python{return 123}, becomes {return 123}. I customized it so ...
3
votes
0
answers
63
views
Package loading broke suddenly
Today, all of a sudden (possibly because of a system Emacs version update to 30.1?), loading packages broke for me. Specifically, my .emacs looks like this:
(require 'package)
(setq package-user-dir &...
1
vote
0
answers
46
views
Cannot install some packages via config file, but I can install them manually from package page
I want to use Emacs with emacs -Q without config file and to load a file as config. It have been working very well till now, but today when I load config file manually it say it doesn't find some ...
0
votes
0
answers
37
views
How to resolve warning about invalid function after installing helm package
I installed package helm from M-x package-list-packages.
I then added the minimal configuration:
(require 'helm)
(helm-mode 1)
in my init file. Now when I start emacs, I see the following warning ...
0
votes
1
answer
49
views
Emacs Hierarchy Library Unavailable
I was recently looking for a way to represent a simple hierarchy (directory layout), and came across the emacs hierarchy library by Damien Cassou. The page mentions that it was integrated into Emacs ...
0
votes
0
answers
45
views
New Emacs install, cannot run M-x package-initialize: function definition is void: cl--generic-struct-tag
I compiled Emacs 30.2 with the regular ./configure, make & make install.
I have an existing older Emacs, so I run the new Emacs with --init-directory:
/usr/local/bin/emacs --debug-init --init-...
0
votes
2
answers
83
views
Adding text to speech
I want to add text to speech functionality to Emacs. Are there established packages and workflows for doing this?
What would be the recommended packages and programs that I can use to read aloud a ...
0
votes
0
answers
31
views
Destructuring &rest &whole &option lamda-list with pcase-lambda
I have advice code to prevent the activation of packages that require a newer Emacs version. Destructuring with cl-function lambda &rest &whole &option is the best I've come up with. Is it ...
1
vote
1
answer
157
views
What does this mean, and how do I fix it? package-compute-transaction: Package ‘emacs-28.1’ is unavailable
I'm trying to install markdown-mode from MELPA, and I get the following error:
Package ‘emacs-28.1’ is unavailable.
I'm using:
This is GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24....
0
votes
1
answer
80
views
Extract only package-selected-packages from custom-file
In the config, the custom.el file better be evaluated - in my opinion - at the end of the init process, as it allows its content (made by the end user and more prone to frequent changes) to override ...
1
vote
0
answers
337
views
Massive memory leaks on updates in emacs 30
(I also posted this on the archlinux forum: https://bbs.archlinux.org/viewtopic.php?pid=2228657#p2228657)
Since I updated to emacs-wayland (pgtk) 30.1 every package update (currently on 30.1-3) from ...
0
votes
1
answer
74
views
Install packages without prog-mode-hooks
I have an existing init.el file but an otherwise "clean" Emacs - the .config/emacs directory is empty.
When I start Emacs I naturally get warning messages about missing packages which are ...
0
votes
1
answer
146
views
How to Fix Broken Startup after failed package upgrades?
I tried updating packages doing list-packages and U only to have emacs freeze half way through. I had to kill emacs. When trying to upgrade again, emacs said all packages are up to date.
However, now ...
0
votes
0
answers
52
views
How can I avoid being asked for destination directory with ytdl?
I'm using yt-dl
Is there any way to avoid being asked for destination directory?
It prompts me every time and I just want to download to ~/capture
I'm not really sure where to ask this question or how ...