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
0 answers
17 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
43 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
43 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
59 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
55 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
497 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,782
0 votes
0 answers
75 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
  • 1
0 votes
0 answers
19 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
50 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,167
0 votes
0 answers
25 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 ...
lester's user avatar
  • 101
1 vote
1 answer
54 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
101 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
69 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
  • 129
1 vote
4 answers
206 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
255 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
  • 105
1 vote
1 answer
108 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
236 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
0 votes
0 answers
72 views

gpg failed to verify signature when install queue in offline environment

I am trying to install queue in an offline environment with a local package archive, which is a mirror of melpa and gnu elpa. However, the queue package, and any package depends on it, cannot be ...
ChangXiaoduan's user avatar
4 votes
1 answer
650 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
1 vote
0 answers
618 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
  • 3,906
0 votes
1 answer
44 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
0 votes
0 answers
34 views

needing help installing wanderlust

Environment info: wsl2, Ubuntu 20.04.5 LTS, vanilla Emacs, Windows 10 I've started using Emacs about a week ago, coming from vim, and I wanted to install Wanderlust as a messaging interface. I ...
user avatar
1 vote
0 answers
93 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
194 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
52 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
718 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
254 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,220
1 vote
1 answer
119 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
25 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
116 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
347 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,622
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
  • 353
0 votes
2 answers
42 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
97 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
4 votes
1 answer
183 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
134 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
56 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
238 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
81 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
714 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
27 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
170 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
53 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
  • 457
0 votes
1 answer
78 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
800 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
2 answers
507 views

Org-superstar-mode not enabled from config file

I'm just getting started with emacs, and I'm trying to enable org-superstar-mode automatically upon launching an org file. I've installed org-superstar, and I can run M-x org-superstar-mode when in an ...
ChasingUG's user avatar
0 votes
1 answer
285 views

How to remove leftover packages from unused layers

An easy example is adding themes-megapack to dotspacemacs-configuration-layers in .spacemacs, then running SPC f e R, and then observing all the added *-theme packages in your package-selected-...
mcp's user avatar
  • 526
1 vote
1 answer
2k views

symbol's function definition is void

My dotemacsfile looks like the following. (require 'package) (add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t) (package-initialize) ;load and activate ...
mark leeds's user avatar

1
2 3 4 5
10