Skip to main content

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
50 views

How to programatically get a list of all packages that can be upgraded?

I'd like to write a function that returns a list of packages that can be upgraded. I know I can use list-package and then type U to search and list all packages that can be upgraded. But this is an ...
PRouleau's user avatar
  • 831
0 votes
0 answers
36 views

package-install RET doom-themes RET no match

I want to install a theme library, the package is already installed but emacs does not recognize it. I have already installed the melpa packages and the gnu packages, as shown in the code below: (add-...
Bruno Ciccarino's user avatar
2 votes
1 answer
45 views

Modify Emacs built-in .el files, but no effect after restarting Emacs

I'd like to debug some Emacs build-in .el source code. For example, start-process in subr.el. I added a log to this function, i.e. (message "Hello") (defun start-process (name buffer program ...
chansey's user avatar
  • 153
0 votes
1 answer
20 views

Can packages rebind keys globally?

I observe a strange behavior in "my" emacs. For some reason the <next> (aka pgdn) key and the <prior> (aka pgup) key are bound to (pager-page-up) and (pager-page-down), ...
Christian Herenz's user avatar
0 votes
0 answers
16 views

projectile not showing files under a .git directory

I had a directory structure like this: .projectile lots of folders onefolder/nested/.git onefolder/bunch of other stuff when locked into the top-level project, none of the files under the .git ...
user129393192's user avatar
0 votes
2 answers
47 views

package.el can't install lsp-mode and now can't upgrade packages anymore

I tried to install lsp-mode from MELPA, but get the following error message: run-hooks: Cannot open load file: No such file or directory, lsp-mode So I thought I'd upgrade my other packages and try ...
Alexander Praehauser's user avatar
0 votes
1 answer
81 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
65 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
37 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
31 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
74 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
38 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
70 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
  • 138
0 votes
0 answers
108 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
82 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
129 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
1k 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
2 votes
0 answers
188 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
  • 21
1 vote
1 answer
54 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
70 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,229
1 vote
1 answer
76 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
226 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
  • 271
1 vote
1 answer
99 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
  • 130
1 vote
4 answers
310 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
644 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
131 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
435 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
5 votes
1 answer
1k 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
  • 451
6 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,174
0 votes
1 answer
65 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
  • 451
1 vote
0 answers
153 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
687 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
58 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,385
1 vote
1 answer
186 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
31 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
212 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
572 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,678
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
48 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
104 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
232 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
185 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
61 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
378 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
124 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
850 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
31 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
2 3 4 5
10