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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
38 views

How do I load 3rd party library (`citeproc`, in my case) in to Emacs started with a `emacs -Q` and a custom script?

I am trying to publish a HTML webpage using an Org file. I am using a very standard Lisp script that I execute in the terminal as: emacs -Q --script script.el (require 'ox-publish) (setq org-publish-...
topcat's user avatar
  • 113
0 votes
1 answer
32 views

Better accuracy syntax highlighting

So I spent a bit of time making my own theme for emacs since none of them were quite right for me, and I'm really loving it as a text editor, but I'm wondering if there was a package that would give ...
Alex's user avatar
  • 1
0 votes
0 answers
34 views

cannot use package-list-packages on macos

Problem: cannot install packages in Emacs what i have tried: I have a macbook pro m2 and installed Emacs using brew cask install and then installed Doom Emacs. Before that tried just using normal ...
nsg_2024's user avatar
0 votes
0 answers
30 views

Unable to install packages due to run-hooks error

I'm getting a strange error when installing packages using package-install. I haven't really updated anything in my configs but package installation suddenly stopped working. Any pointers or ...
iwakura1ain's user avatar
0 votes
1 answer
48 views

Emacs 'package-selected-packages' is not get saved in a customization file

I have noticed recently, the Emacs always shows a list of "unneeded" packages, which could be "auto-removed". The packages it suggests as not needed are those that were installed ...
dilettant's user avatar
  • 135
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
1 answer
64 views

Completely, fully utilize/require a "package" from a local Git repository without any package managers, byte-compilation, autoloads, lazy-loading, etc

Problem After executing the following block of "minimal reproducible example" code, helm-mode is not defined thus leading to an error. I have run into these kinds of errors before when ...
David's user avatar
  • 126
0 votes
0 answers
88 views

How to enable evil-mode in Portacle?

I want to start learning Common Lisp and I want to use portacle for an IDE-like experience. As I understand, portacle doesn't provide a normal init.el configuration file. Instead, it uses a file in ...
MySQLInjection's user avatar
0 votes
3 answers
74 views

Method separators

Does anybody know of a function/package/etc. to draw visual separators between "high-level" blocks of code, like class and function definitions? Similar to the horizontal lines in these ...
0x5453's user avatar
  • 329
0 votes
0 answers
102 views

mu4e with elpaca

I'm trying to use elpaca package manager, so far so good except for mu4e which does not install (or launch). My code is the following: (use-package mu4e :elpaca (mu4e :host github ...
Denis's user avatar
  • 93
0 votes
0 answers
931 views

Using (use-package ...) with Emacs 29+

I am using Emacs 29.1, which ships with use-package, and I want to install and load the MELPA bm package through the init file. I am using the following test-init.el init file: (defun my-packages () ...
antonio's user avatar
  • 1,822
1 vote
0 answers
162 views

How do I set package-vc-selected-packages to use a specific commit?

Emacs 29.1 introduced new functions to install packages directly from source. Configuring it to download from the latest commit works fine, but I can't find how to download from a specific commit ...
Balto's user avatar
  • 11
0 votes
0 answers
29 views

Strange issue with dired-subtree

This is my simple config: (use-package dired-subtree :ensure t :bind (:map dired-mode-map ("<tab>" . dired-subtree-toggle))) The first time the ...
user129393192's user avatar
0 votes
0 answers
56 views

Emacs falsely recommends removal of explicitly installed packages - Why?

I am encountering a peculiar issue with Emacs's package management system where it is falsely recommending the removal of packages that I have explicitly installed via package-install. One such ...
Edman's user avatar
  • 1,207
0 votes
0 answers
27 views

How can i remove a single space or tab in the hungry mode?

I use package hungry-delete for deleting whole indentation but I don't know how can I force removing a single space or tab in that mode. Is there any way to do it or do I need to temporarily disable ...
whiteman808's user avatar
1 vote
1 answer
64 views

Cask without pallet

At some point, I found a web page that described using Cask and Pallet to configure emacs. I got that working, and life was good. I recently upgraded my version of Cask to 0.9.0, and now I find this ...
Troy Daniels's user avatar
0 votes
1 answer
172 views

Squelching all byte and native compilation warnings from batch package installation

I have to copy my .emacs.d to different computers a lot, so I keep init.el etc in version control and pair it with a batch Elisp script that re-downloads all of my selected packages. I'd like this ...
zwol's user avatar
  • 272
1 vote
1 answer
83 views

Problem with packages when emacs is run as a daemon

I have a very odd problem when Emacs daemon is started by the system. Currently, I work on: Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.36, cairo version 1.17.6) of 2023-01-03 After ...
Celdor's user avatar
  • 131
1 vote
4 answers
276 views

How does Emacs see the generated autoloads files?

I have some of my own Elisp code in my own directory. Like I have a file /tmp/foo/foo.el with this in it: ;;; foo.el -- Foo ;;;###autoload (defun foo-hello () (message "hello, world")) (...
Lone Learner's user avatar
0 votes
1 answer
453 views

Melpa packages not listed

On Mac OS, Emacs 28.2, I have the following lines at the top of my init.el (require 'package) (add-to-list 'package-archives '("org" . "https://orgmode.org/elpa/") '("...
vpk's user avatar
  • 115
1 vote
1 answer
125 views

Why Emacs as an editor leaves all the ad hoc packages development work to the community rather than professional parties?

I have been using Emacs for daily editing and programming for several years. I am deeply attracted to the fast and efficient input method as well as the customizability. But recently I find that it is ...
yatse's user avatar
  • 13
0 votes
1 answer
34 views

Is there a package that would allow me to colorize non-alphanumeric characters (the symbols)?

By non-alphanumeric characters, it includes the period, comma, colon, semi-colon, plus/minus sign, star sign, slashes, percentage sign, and any other that are normally used for mathematical operators ...
nougako's user avatar
  • 137
2 votes
1 answer
363 views

Error (use-package) : failed to install packages

I'm using Aquamacs Emacs 3.6 for Mac (I've got Ventura 13.4) I am setting up an emacs file for my developing environment, with the following contents : ;;; .emacs --- Emacs conf file -*- coding: utf-8 ...
Tariot's user avatar
  • 23
4 votes
1 answer
993 views

Is package-initialize needed in the init file in Emacs 28.x and higher?

I have this line in the early-init.el file: (setq package-enable-at-startup nil) and these lines in the init.el file: (require 'package) (add-to-list 'package-archives '("melpa" . "...
Zoli's user avatar
  • 421
5 votes
0 answers
1k views

libtool not found. Please install libtool

Linux Mint 21 Emacs 27.1 I want to install package "vterm". Here my init.el (use-package use-package-ensure-system-package :ensure t) (use-package vterm :ensure t :ensure-system-...
a_subscriber's user avatar
  • 4,074
0 votes
1 answer
57 views

How to insert an inactive timestamp with Minad's TempEl package?

I want to insert an inactive date/timestamp in Org mode with Daniel Mendler's TempEl templating system. The same date and time inserted with C-u C-u C-! looks like this [2023-02-20 Mon 19:11]. I tried ...
Zoli's user avatar
  • 421
1 vote
0 answers
132 views

How to have a multi-file emacs package?

Perhaps a beginner question, but I couldn't find a recommended way to split a package to multiple files. It's still a single package, just part of code is in a different file (so no (provide 'sub-...
Cigarette Smoking Man's user avatar
0 votes
0 answers
242 views

Error while verifying signature archive-contents.sig: error and ı can not install gnu-elpa-keyring-update

ı am using emacs 28.2 in manjaro linux and ı got error like this Error while verifying signature archive-contents.sig: when ı install jedi with M-x shortcut ı am looking at to this url How to proceed ...
Tunahan Deniz's user avatar
0 votes
0 answers
55 views

when ı install jedi and melpa package emacs give error about initialization file

(require 'package) (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) ;; Comment/uncomment this line to enable MELPA Stable if desired. See `package-...
Tunahan Deniz's user avatar
1 vote
1 answer
1k views

Why can't I install package yaml-mode on my Emacs via use-package declaration?

I am trying to install a package called yaml-mode on my Emacs. Basically, a syntax highlighting for .yaml files. My current syntax highlighters do not have support for yaml files, apparently. Hence, I ...
Pedro Delfino's user avatar
1 vote
1 answer
255 views

Is it possible to create an Emacs package for the below mentioned use case with little Elisp knowledge?

In my view, Emacs Org-Mode is the best task management tool. Nonetheless, I think it could be improved. Each time I think of something that I should do, I create a todo in Org-Mode, so I now have ...
crocefisso's user avatar
  • 1,306
1 vote
1 answer
157 views

"Package is Unavailable" Warning When Starting Spacemacs

I am getting the following warnings every time I start Spacemacs: Found 2 new package(s) to install... --> refreshing package archive: nongnu... [3/3] --> installing package: ef-spring-theme@...
Tom Purl's user avatar
  • 377
0 votes
1 answer
30 views

How to fix the installation of package clj-refactor?

I am using Emacs on a macOS Monterey 12.5 (M1 hardware). This is my config file. I am trying to install a package called clj-refactor for Clojure development. Following the instructions on the ...
Pedro Delfino's user avatar
0 votes
1 answer
171 views

Windows pdf-tools-install no such program: autoreconf

I'm trying to install pdf-tools on my Windows System, I'm using the same config as for Arch Linux where this error is fixed by installing the arch linux pdf-tools package via pacman. Obviously this is ...
Martin Stuwe's user avatar
0 votes
4 answers
489 views

install packages with one command

I have used some packages in init.el, after setup a new environment and copy init.el to .emacs/init.el, then start emacs will report packages missing. I can install it one by one. but I would like to ...
lucky1928's user avatar
  • 1,666
1 vote
0 answers
26 views

A new version of a package introduced unexpected behavior - how to discover the source of the issue?

My issue There is a small behavior in org-mode that I've grown accustomed to: if there are multiple headlines of the same level (e.g. 3 stars) and they are all folded (i.e. their contents are not ...
Alex's user avatar
  • 363
0 votes
2 answers
45 views

Binding functions associated with package names to H-x

The following function constructed by @dalanicolai has been adapted in a way that allows a user to automatically select a function affix name galaxy, protoc or typex, which is then bound to H-x. What ...
Dilna's user avatar
  • 1
1 vote
1 answer
101 views

How to let AUCTeX automatically detect tcolorbox-environments

When I create a new environment via the \newenvironment-Command, AUCTeX automatically detects it and when I type C-c C-e the new environment is suggested and when I chose it, it asks for the right ...
Sinthoras's user avatar
5 votes
1 answer
215 views

Is it possible to wrap a small package not listed on MELPA/ELPA via use-package? How to do it?

I like this Emacs package called Emacs Centered Point link. I must highlight that it is not listed on MELPA/ELPA. Until now, I have just appended the snippet to my init file with the following and it ...
Pedro Delfino's user avatar
1 vote
0 answers
166 views

How to change this slime configuration on the init file from the classic imperative installation to a declarative approach via use-package?

When I first installed Slime, I used to install things via the classic M-x and package-install. Then, I inserted the following configuration: (slime-setup '(slime-fancy slime-asdf slime-indentation ...
Pedro Delfino's user avatar
0 votes
1 answer
58 views

How to change this wrap-region configuration on the init file from the classic imperative installation to a declarative approach via use-package?

When I first installed wrap-region, I used to install things via the classic M-x and package-install. Then, I inserted the following configuration: ;; Emacs minor mode to wrap region with tag or ...
Pedro Delfino's user avatar
1 vote
0 answers
323 views

How to change this Paredit configuration on the init file from the classic imperative installation to a declarative approach via use-package?

When I first installed Paredit, I used to install things via the classic M-x and package-install. Then, I inserted the following configuration: (autoload 'enable-paredit-mode "paredit" "...
Pedro Delfino's user avatar
0 votes
1 answer
101 views

Can't install code as package

I've recently started to look into the Blazor framework and noticed there is no available major-mode for editing .razor files, which are essentially a mix of C# and HTML. I then started creating a ...
Ariel Serranoni's user avatar
2 votes
2 answers
788 views

After updating my packages, two packages are not working anymore. How to solve this? Downgrading it? Bug reporting to maintainers? Fixing?

This is my config file. As you can see, on line 351, there is: ;; Update my Emacs' packages every week (use-package auto-package-update :custom (auto-package-update-interval 7) (auto-...
Pedro Delfino's user avatar
0 votes
0 answers
30 views

Bug-hunter finds error but it shouldn't (false positive)

I suspect I'm doing something very stupid but I can't figure out what. I have some problems with Eshell, and I was advised to use Bug-hunter. I installed it through Elpa. When I launch it (M-x bug-...
Alessandro Bertulli's user avatar
1 vote
0 answers
249 views

Symbol's function definition is void: package-install-selected-packages

In order to install and remove packages automatically (which is especially useful when using Emacs for the first time on a new computer), I have the following lines in my ~/.emacs: ;; Specify required ...
HelloGoodbye's user avatar
2 votes
0 answers
55 views

list-packages says certificate has expired. What I need to do?

I have not used Emacs for about six months. Today I tried to use M-x list-packages and there is an error, although I remember that there was no such error before: I use Emacs 27.1 on 32-bit Windows 7,...
john c. j.'s user avatar
0 votes
0 answers
31 views

Emacs' CopyWithoutSelectAction EditWithoutSelection

The Intellij's emacsIDEAs plugin say, Porting some great extensions of emacs to Intellij IDEA. such as AceJump, CopyWithoutSelectAction. And new created EditWithoutSelection (Cut/Move/Replace without ...
xpt's user avatar
  • 467
0 votes
1 answer
83 views

While running "package-refresh-content" show me this. Why? Emacs 28.1

Debugger entered--Lisp error: (error "Location https//elpa.gnu.org/packages/ is not a url nor an absolute file name") signal(error ("Location https//elpa.gnu.org/packages/ is not a ...
unixbhaskar's user avatar
4 votes
2 answers
949 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

1
2 3 4 5
10