Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
2answers
40 views

package is installed but command not available under M-x

I installed darkroom via the package manager in my GNU Emacs 25.3.1 (x86_64-w64-mingw32). M-x package-list shows the package as installed and in fact are the files in the respective folder, the ...
1
vote
0answers
30 views

Automatically download external packages

How can I configure my init.el download packages that are not in (M)Elpa and install them automatically (if not already installed)? Something like doing it with wget or with git (as you do in vim) ...
4
votes
0answers
26 views

A workflow for managing compiled elisp packages with different versions of emacs

I am using different versions of emacs, on different computers. On some of those (work computers) I don't really have a choice to update, whereas for my personal computers, I like to run the latest ...
2
votes
2answers
105 views

How do I see which packages are loaded?

After quite some hacking I now longer get a warning from a package, did I have success? How do I list all loaded packages? (NOT INSTALLED, installation was not the problem, loading was, eg require).
1
vote
1answer
156 views

require vs. package-initialize?

Ok, this is a noob question but I've digging into this enough that I think it's reasonable to ask :) My question: In one's .emacs / init.el file, can one use require to load packages that were ...
3
votes
1answer
110 views

`org-bullets` - No longer needed

For a while, I've been getting the message Package menu: Operationfinished. 1 package no longer needed, type 'M-x package-autoremove' to remove them The package is org-bullets, very spread package ...
0
votes
2answers
84 views

How to discover all available Emacs packages?

How can I discover all available packages of Emacs? So far, I was under the impression that I could find almost anything through one of these means: The Emacs Manual (C-h r) M-x list-packages C-h p ...
3
votes
1answer
64 views

web-mode not installing?

The short version of my question is how do I install web-mode? Here's what I've tried so far: I'm trying to install web-mode, so I typed in M-x package-install, followed by web-mode. At this point ...
0
votes
0answers
54 views

clang-format malfunctioning(?) Or am I not fully understanding how clang-format works?

I installed the clang-format package from melpa. I then added the following lines to my init file: (require 'clang-format) I then created a test directory, cpp-proj with one file, main.cpp. main....
1
vote
1answer
43 views

Confusing ELPA types

When listing ELPA packages (Mac running Emacs 26.1), I see two status types that beg questions: dependency and incompat. A dependency package does get automagically loaded but it also may be removed ...
0
votes
0answers
92 views

Evil mode not working

Using emacs 25.2.2 on Kubuntu 18.04. Using list-packages I installed evil. Using customize-variable I added (evil-mode t) in my ~/.emacs.d/init.el file. But still when I restart emacs, there is no ...
1
vote
1answer
60 views

Show constructor arguments for c++

Is there a package that can tell me the arguments for c++ constructor? class T1 { public: T1(int x, int y); }; T1::T1(int x, int y) { std::cout << x+y << std::endl; } ...
4
votes
1answer
384 views

Package html2text is obsolete!

I am getting this message during startup of my Emacs, recently (since the update to Emacs 26?). I could not track down where is package is loaded and did not find anything related to this message in ...
2
votes
2answers
28 views

File at a glance feature - how to enable it?

Sublime text has this file at a glance feature, where you see the whole file in miniature. How can I enable this in emacs? How is this feature called?
1
vote
0answers
27 views

Not successful to enter mmm-jinja2 mode after installation using MELPA

So what I have tried is to first install the package by using MELPA: M-x package-install RET mmm-jinja2 I looked up where the package have been installed and found it to be at "~/.emacs.d/elpa/mmm-...
1
vote
1answer
51 views

Delete packages programmatically

I've tried this: (setq pkg-list '(rust-mode lsp-mode)) (dolist (pkg pkg-list) (when (package-installed-p pkg) (package-delete pkg))) But it doesn't work.
0
votes
0answers
20 views

Why ace-window doesn't show sometimes the window id?

I initialize the package ace-window with this code: (use-package ace-window :ensure t :config (global-set-key (kbd "M-p") 'ace-window) (custom-set-faces '(aw-leading-char-face ((t ...
0
votes
1answer
41 views

How to disable PLT Package

When I open a file with extension .plt, emacs behaves in a strange way. For example, I cannot type a space. I believe it has to do with something called the "PLT Package" because that name is ...
0
votes
1answer
196 views

When to call package-refresh-contents in init.el

I have found the following lisp code in an init.el file. I am wondering if this code logic is correct. I am learning Elisp and have reviewed the documentation and searched Stack Overflow. If this is ...
0
votes
2answers
37 views

Installing with package-install-file

I am trying to install the gauche-mode. Running the M-x package-install-file and giving the /path/to/gacuhe-mode/ directory gives the Read error: is a directory, /path/to/gacuhe-mode/. How can i ...
0
votes
0answers
38 views

Trying to use magit fails with `require: Symbol’s value as variable is void: git-commit-mode-map`

The first post-installation task in magit manual is to check the version: M-x magit-version RET This gives the error: require: Symbol’s value as variable is void: git-commit-mode-map Predictably, ...
0
votes
0answers
95 views

Spacemacs install package : error package lacks a version

I would like to use the org-books package in spacemacs. As suggested by spacemacs' documentation I edited my .spacemacs file as follows: dotspacemacs-additional-packages '((org-books :location (...
0
votes
1answer
279 views

use-package and package-initialize problem with emacs27

I'm having quite a bit of trouble getting use-package to automatically install packages in emacs27 I deleted a package using package-delete and restarted emacs. On emacs26, use-package would ...
0
votes
1answer
56 views

How to automatically install Auctex if certain package is unable to be activated on startup?

every time I git clone my configuration of Emacs into a new machine and start Emacs, there will be error message in Emacs: error: Unable to activate package 'company-auctex'. Required package 'auctex-...
6
votes
1answer
96 views

When to specify a package name in use-package's :ensure tag?

use-package lets you automatically install packages by using the :ensure tag. You can do that as follows (use-package <package> :ensure t) But for some packages that doesn't work, such as ...
3
votes
3answers
90 views

How to paste-then-copy?

I'm not sure whether anyone has ever implemented what I'm looking for, but maybe I'm just using the wrong terms to search for it. What I want to achieve is essentially a reverse copy and paste: I'm ...
1
vote
0answers
48 views

Are there any lisp projects like jazz band?

I was curious is there anything like https://jazzband.co/ but for emacs lisp where you can submit packages so that they can be submitted / maintained by a group rather than an individual ?
2
votes
0answers
64 views

How to list all the packages installed from source

Is there a way to list all the packages originally installed via package-install-file? Looking at the results of package-list-packages, it doesn't differentiate between different installation methods....
0
votes
0answers
69 views

Package init and refresh problems

Due to unknown reason(s), the package manager in my Emacs 25.3 cannot refresh properly anymore: whenever I try to do M-x list-packages it throws an error: error in process filter: package-read-...
0
votes
0answers
53 views

Debugging Wrong type argument error in custom Emacs package [duplicate]

Im trying to make my own package and spacemacs layer. I would like to get the minimal package working so currently it is just one line of code in a file named mypackage/mypackage.el with the content: ...
0
votes
0answers
37 views

Combine use-package and list-packages

Is it possible to automatically add use-package statement into .emacs file after installation through list-packages? I think it should be done through hooks, but maybe already exist solution from ...
0
votes
1answer
77 views

What is the “preferred” way to use Emacs' packages facility?

Emacs has list-packages and related functions to manage packages. That's great. However, packages installed via this command changes my .emacs and does a custom-set-variables. So is the preferred ...
1
vote
1answer
83 views

Error with org-fstree: Symbol's function definition is void: reduce

I want to use the package org-fstree (MELPA Link). But in a file when I press C-c C-c at #+BEGIN_FSTREE: ~/ I get the following error: Symbol's function definition is void: reduce I am not sure ...
1
vote
0answers
69 views

Package lacks a “Version” or “Package-Version” error, even if the “Version” info exists

After upgrading cask the error message changed. Wrong type argument: sequencep, pinyin-mode Original Question I want to use my elisp through cask. But it failed with error: Dependency pinyin-mode ...
1
vote
1answer
84 views

Remove unused modes

Is there a list with all the modes and packages that come with emacs? I actually want to remove some of the unused packages and modes in emacs.
4
votes
0answers
64 views

Info basics: where is package Info?

I just grabbed csv from elpa (melpa) and, of course, the install buffer had the blurb about csv. I take it that blurb is an Info file somewhere? Or is it just a section of the csv.el comments? In ...
18
votes
2answers
2k views

How can I improve startup time despite many packages?

TL;DR I have such a huge amount of packages that it's hurting my startup time. If you don't believe that could be the case, read on. My Emacs startup time is quite small. I don't use use-package, I ...
0
votes
0answers
27 views

How to delete auto-complete package?

I don't understand emacs packages very well so the following has me confused. I installed the package "auto-complete" using M-x package-install [ret] auto-complete [ret]. Now I want to remove it so I ...
0
votes
1answer
76 views

Upgrading packages automatically

I'm trying to write a command that upgrades all packages, no questions asked. It looks like: (defun *-package-upgrade () "Upgrade all packages" (interactive) (save-window-excursion (package-...
0
votes
1answer
38 views

How to disable diff-hl when browsing remote files?

When using Tramp and while browsing remote files diff-hl hangs Emacs. How is it possible to disable this package only when accessing remote files?
2
votes
0answers
37 views

Error when I try to re-install package after deleting it

I used package-install to install the pamparam package. It worked. But in playing with it, I got it into a weird state and decided to uninstall and re-install. I uninstalled by deleting its dir in ....
0
votes
0answers
198 views

Warning on initialization

I recently started using Emacs (the GUI version for OS X). I've just done some minor configuration in my ~/.emacs file, and, after installing the paradox package, this warning popped out: Warning (...
2
votes
1answer
48 views

How should I test that autoloads work properly with package.el?

I've added some autoloads to PACKAGE with the ;;;###autoload cookie and I've run M-x update-directory-autoloads which generated PACKAGE-autoloads.el. I have the following form in my init: (package-...
0
votes
1answer
96 views

Refreshing package archives fails with (wrong-number-of-arguments (1 . 1) 0) error

After not having updated my emacs packages for a while (a few months), I decided it was time to do it. I'm running GNU Emacs 25.3.1. Running M-x package-refresh-contents fails however with the ...
3
votes
1answer
47 views

Tell package.el that dependency is already taken care of

Let's say I'm following the master branch of Org mode. So, I have it under ~/src/org-mode add tell my Emacs to load it by adding "~/src/org-mode/lisp" to load-path. I use ELPA and MELPA to install ...
2
votes
1answer
740 views

How do I work out what the problem is with the emacs package system?

I am trying to set up emacs (on cygwin / Win10) to handle JSON. I started with joshwnj/json-mode and was stoked to discover that emacs will now install its own dependencies from online repos. Fab ...
5
votes
1answer
386 views

M-x list-package fails with error “certificate could not be verified”

My environment: Linux Mint 17.3 (based on Ubuntu 14.04) Emacs 25.3.1 The value of package-archives: (("gnu" . "https://elpa.gnu.org/packages/") ("melpa" . "https://melpa.org/packages/") ("...
0
votes
0answers
35 views

Can't customize xah-fly-keys

I've read the documentation about customizing but I think my knowledge of Lisp is limiting things a bit. I want to bind a in command mode to move-beginning-of-line and QWERTY q (Dvorak) to move-end-of-...
3
votes
2answers
136 views

How to update a magit install

I am trying to update my Magit install. The Magit manual has install instructions on https://magit.vc/manual/magit/Installing-from-an-Elpa-Archive.html#Installing-from-an-Elpa-Archive M-x package-...
1
vote
1answer
103 views

My emacs installation does not initialise

I don't know what happened but now I cannot initialise my emacs installation. emacs --debug-init gives this answer: Debugger entered--Lisp error: (error "Unable to activate package ‘org-ac’. Required ...