Questions tagged [melpa]

MELPA is a growing collection of package.el-compatible Emacs Lisp packages built automatically on the server from the upstream source code using simple recipes.

MELPA is a growing collection of package.el-compatible Lisp packages built automatically on the server from the upstream source code using simple recipes.

The main features of MELPA is

  • Up-to-date packages
  • Installable in any recent Emacs using "package.el"
  • Curated
  • Comprehensive
  • Automatic updates
  • Extensible

To use the MELPA repository, add it to package-archives after and before the call to package-initialize in init.el file. In Emacs version lesser than 24, also need to explicitly include the GNU ELPA archive, which provides important compatibility libraries like cl-lib.

Since package.el doesn't allow locking packages to certain version, MELPA packages will override those available from any other package source, so melpa.el package is provided which contains code to allow restricting packages to specific repositories. This allows someone to blacklist packages that come from a specific repository, or blacklist all packages from a repository and only whitelist certain packages.

You should be using this tag if your question is related to the use of MELPA.

49 questions
1
vote
1 answer

Gitignore not ignoring elpa emacs folder

I'm not sure why the gitignore isn't working, but for some reason it continually tries to add the /elpa/ directory to version control. Here is my gitignore (in the root of my dotfiles…
Steve
  • 679
  • 2
  • 8
  • 14
1
vote
2 answers

MELPA pointing to non-existent version of multi-term?

I am trying to use MELPA to install the emacs package "multi-term". When I do package-install multi-term, I get "http://melpa.org/packages/multi-term-20141203.1658.el: Not found". However, a more recent version…
Andrew
  • 6,295
  • 11
  • 56
  • 95
1
vote
1 answer

Emacs replacing require with autoload

After profiling my Emacs init file, I saw that many of my modes are taking a long time to load, explaining why I've been having slow start times. I am trying to use after-load or autoload to decrease the load time but have been unsuccessful in many…
darksky
  • 20,411
  • 61
  • 165
  • 254
1
vote
2 answers

Why is omnisharp not working?

I have recently installed emacs 24.3.1 I have installed package omnisharp using melpa in Emacs. But, I can't see any effects of omnisharp on my Emacs while programming in C#. Do I need to install something else also, or am I doing something wrong…
Pratik Singhal
  • 6,283
  • 10
  • 55
  • 97
0
votes
1 answer

Upgraded emacs to 28.2, flycheck fails: undefined elisp macros

I just upgraded to emacs 28.2 and my flycheck stopped working. When it loaded it got an error File mode specification error: (void-function -doto) I found -doto in elpa/dash, which was installed when flycheck was upgraded. It does not get loaded…
russell
  • 660
  • 1
  • 10
  • 18
0
votes
0 answers

Packages installed with Melpa disappear after restarting Emacs

When I install a package from Melpa in Emacs (version 27.1 on Ubuntu 22.04), the package status changes from 'available' to 'installed', although in the compilation window it is listed as 'available obsolete', but otherwise it appears to install…
APR
  • 373
  • 1
  • 2
  • 7
0
votes
0 answers

Where is Emacs 28.2 init file?

I want to install ABS language package on Emacs but first i should add melpa to Emacs. It's instruction says "To add MELPA to your package-archives, put this in your init file: (require 'package) (add-to-list 'package-archives '("melpa" .…
Yaser
  • 11
  • 1
0
votes
1 answer

Cannot install MELPA package in Emacs

I'm new to emacs and trying to install the smartparens package from MELPA. I have the package installed (I'm pretty sure) The next step in the docs is to run (require 'smartparens-config). I put this in my ~/.emacs, but it doesn't seem to work. I…
pwasoutside
  • 343
  • 1
  • 10
0
votes
0 answers

How to use Python in Emacs (first time)

When I do M-x and run-python in Emacs, it gives me the following message: "Searching for program: No such file or directory, python3". I've gone through the steps of configuring the .emacs file as such: (require 'package) (add-to-list…
0
votes
1 answer

How to fetch every package from Melpa for Emacs package-install on OS X?

I am on emacs version 26.3 for OS X. This is my ~/.emacs.d/init.el file (require 'package) (add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t) (package-initialize) I have run M-x eval-buffer on this init.el…
BigBoy1337
  • 4,735
  • 16
  • 70
  • 138
0
votes
1 answer

Building a package gives: Single file templates does not match package name

I want to update a package that originally was a single file. Now, it contains a directory with some files. The original recipe was: (tikz :repo "emiliotorres/tikz" :fetcher github) And according to this, I think the new version must be (tikz :repo…
0
votes
2 answers

Can't install some melpa packages in emacs

I'm just trying out emacs (coming from vim). $ emacs --version GNU Emacs 27.2 Copyright (C) 2021 Free Software Foundation, Inc. GNU Emacs comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of GNU Emacs under the terms of the GNU General…
Adam
  • 3,142
  • 4
  • 29
  • 48
0
votes
1 answer

PHP mode for GNU emacs not listed as a MELPA package

I want to install PHP mode for GNU emacs. The documentation says: With GNU Emacs 24 or later then you can use its package feature to install PHP Mode from MELPA. But when I press Alt-x list-packages I do not see this mode listed. Why?
Billal Begueradj
  • 20,717
  • 43
  • 112
  • 130
0
votes
1 answer

Emacs won't list any packages and won't let me install any packages

I have been setting up my emacs on a mac. I haven't been able to install any packages or even list available packages since I have set up my emacs installation on this computer. Every time I try to refresh the contents of the package repositories I…
Archerface
  • 55
  • 1
  • 8
0
votes
0 answers

New to Emacs, issue with Melpa

I followed their guide on github and put the following in my init.el file: (require 'package) ;; You might already have this line (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) (when (< emacs-major-version 24) ;;…
m00t13
  • 65
  • 1
  • 8