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

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.

0
votes
1answer
28 views

Set a package as predefined to every file

I'm trying to set the package org-bullets as predefined in every *.org file because is kind of redundant to write M-x org-bullets every time I work with the format. Is this possible?
3
votes
2answers
2k views

“no match” error after `M-x package-install` on a package

I want to install https://github.com/syohex/emacs-helm-gtags, and here is the installation instruction: helm-gtags is available on MELPA and MELPA stable You can install helm-gtags with the ...
0
votes
0answers
6 views

package-install hangs despite setting proxy settings in url-proxy-services

I have my url-proxy-services set like this: (("http" . "some-proxy:3128") ("https" . "some-proxy:3128")) However, downloading a package like forge fails. Some of its dependencies like emacsql and ...
3
votes
1answer
43 views

I have package X installed as a dependency. How can I discover which package pulls it in? ie Reverse Dependency

I tried to delete package X (in order to try an older built-in version). But when I restart emacs, it's automatically re-installed. package-list-packages lists it as a dependency so that behaviour ...
0
votes
0answers
28 views

Cannot load the paradox package in Emacs

I am using Emacs 24.5 on Mac OS and trying to install the paradox package through Melpa. When I type the command M-x `package-install' RET paradox I get the response [No match] How can I install ...
3
votes
2answers
137 views

Easy Templates in Org 9.2

Easy templates in Org 9.2 are not working for me on GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) of 2018-05-30. I have changed my elpa/ directory to smelpa/. I load emacs -q and switch to the *...
19
votes
4answers
1k views

Easiest way to downgrade a package installed via MELPA

Sometimes, package updates from MELPA can break some part of emacs and when that happens I'd like to be able to revert back to using an older version of the package. Right now, I can do it in two ...
1
vote
3answers
40 views

Launching emacs with configured packages

Let's say I want to use elisp functions in a script . I rely in my script on some library, dash which I require. #!/usr/local/bin/emacs --script (require 'dash) (message (describe-variable 'load-...
0
votes
2answers
187 views

Install package `auto-latex-completion`

I am totally new to Emacs (I just began some days ago) and my purpose is to use it for Latex. I tried to install package auto-complete-auctex doing this : 1) I copy file auto-complete-auctex.el to ...
0
votes
2answers
152 views

Can't install Plantuml-mode — MELPA Package list Incomplete (Mac)

I'm trying to install plantuml-mode based on the instructions here: https://github.com/skuro/plantuml-mode I'm told to try the following: M-x package-install<RET> plantuml-mode<RET> ...
0
votes
1answer
359 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 ...
5
votes
3answers
60 views

How can I avoid accidentally editing installed packages while still being able to install new packages?

I end up looking at source files of packages I have installed fairly often and want to avoid accidentally editing them while I am viewing them. After looking at https://emacs.stackexchange.com/a/3681/...
2
votes
1answer
326 views

auto-complete Key binding doesn't work in one emacs mode

I have changed the keybindings for yasnippet and autocomplete so that I can use tab for indentation anywhere in a line without accidentally autocompleting or inserting a snippet. I have this in my ...
0
votes
1answer
347 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
1answer
60 views

Cannot install helm from MELPA

For some reason, I am unable to install helm. My configuration is: (require 'package) (add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/")) (package-...
0
votes
2answers
100 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 ...
4
votes
1answer
116 views

Are there license restrictions for Emacs Lisp packages?

GNU Emacs is licensed under the GNU General Public License (GPL). The GPL is a copyleft license that requires any derivative work to also be GPL-licensed. Does that impose restrictions on what license ...
1
vote
1answer
28 views

package-install tries a URL whose content is not found

I want to install the package running: M-x package-install RET markdown-mode RET And I get the following error package-install-from-archive: https://melpa.org/packages/markdown-mode-20180904.1601....
0
votes
3answers
68 views

How to remove the remaining commands of removed built-in packages?

I've read here that you can delete the built-in packages from emacs at /usr/share/emacs/25.2/lisp in order to get rid of their commands which may clutter the minibuffer every time you want to execute ...
1
vote
0answers
23 views

How can I find out which packages were not available?

When I run package-install-selected-packages I see the following message: 1 packages are not available (the rest already installed) But it doesn't say which package was not available. All the ...
3
votes
3answers
92 views

Automatically installing the available version of org

Based on this reply, my code has the following function that installs its dependencies: (defun literef-install-packages() "Install any missing packages. The code is taken from `https://...
0
votes
1answer
57 views

Automatically installing a built-in package from MELPA [duplicate]

This post is asking this question more clearly and concisely. My code contains the following function to install dependencies: (defun literef-install-packages() "Install any missing packages. The ...
1
vote
1answer
56 views

install packages system-wide

I tried to have some Emacs packages from MELPA installed system-wide, following suggestions from this question. I want to have these packages installed under /usr/local/share/emacs/site-lisp/elpa, so ...
2
votes
2answers
473 views

can not access melpa packages- hung up at Contacting host: elpa.gnu.org:80

I am trying to access the melpa packages but when typing: package-refresh-contents emacs gets hung up at: "Contacting host: elpa.gnu.org:80" I am completely new to emacs and fairly new to Linux and ...
7
votes
1answer
1k views

Concerns regarding uninstalling packages

In order to uninstall a package from Emacs I read that I must delete the specific folder from the elpa folder. As the .emacs file is being written by itself when I install a package does that mean ...
0
votes
2answers
54 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 ...
26
votes
2answers
4k views

Is it possible to use both MELPA and MELPA-stable at the same time?

I use melpa-stable as an additional package repository, but one of the packages I like to use (icicles) isn't available on melpa-stable. Is there any way to configure package.el to normally use melpa-...
19
votes
3answers
5k views

How to use skewer-mode?

I am currently struggling to use skewer-mode in Emacs. I downloaded and installed skewer-mode via MELPA, so all the dependencies should be inplace. For testing purposes I even downloaded the boidsjs ...
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
29 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
297 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).
3
votes
2answers
3k views

How to install Auctex

This is how I attempted to install the package: I ran the command list-packages and then tried to install the auctex package in package mode. This was the line showing auctex entry in package mode: ...
1
vote
1answer
526 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
258 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 ...
5
votes
3answers
440 views

Is there a place to look for statistics on most useful packages?

Emacs is a powerful editor (or operating system disguised in a text editor), and some packages are extremely powerful - they improve efficiency diagrammatically. It might be useful to spend limited ...
3
votes
1answer
159 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
1answer
72 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-...
0
votes
0answers
112 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
55 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
162 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 ...
5
votes
1answer
640 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 ...
1
vote
1answer
96 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; } ...
2
votes
2answers
30 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
38 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
56 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.
2
votes
1answer
38 views

Archive field in packages menu buffer

I'd like to remove the Archive field column that appears in my packages menu buffer, but haven't been able to find a setting to allow me to do this. I've tried all I can find in the m-x packages-menu-...
0
votes
0answers
26 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 ...
5
votes
1answer
393 views

How do I set use-package-always-pin?

Emacs noob here, I want to use melpa-stable whenever possible for my packages. use-package has an option for this, use-package-always-pin. By default package.el prefers melpa over melpa-stable due ...
0
votes
1answer
48 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 ...
118
votes
4answers
14k views

What are the practical differences between the various Emacs Package Repositories?

I notice that there are several different repositories that often contain the same software. Why would I want to prefer: GNU ELPA Marmalade MELPA over the others? Since any one repository does not ...