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.

4
votes
0answers
83 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
35 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
94 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
39 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
42 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
277 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
53 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-...
3
votes
1answer
54 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
1k 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
461 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
40 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
176 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
118 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 ...
1
vote
0answers
38 views

How to RPC from External Process to Emacs

How can I RPC from an external application into Emacs then have a function in Emacs handle the RPC? For example, I would like to make a D3.js webpage with a dependency graph of a codebase, view and ...
0
votes
0answers
185 views

No Match on elpy

I am trying to install elpy. I added the lines (require 'package) (add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/") ) (package-initialize) (elpy-...
2
votes
2answers
461 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 ...
0
votes
1answer
81 views

error: Package `xah-fly-keys-' is unavailable

I am setting up a .emacs file that I will be using in Docker containers. I want to include xah-fly-keys but I am getting this error message. Package `xah-fly-keys-' is unavailable When I start ...
0
votes
2answers
112 views

Emacs Package Install Minibuffer

I'm trying to get the same functionality as in spacemacs where package-install gives you a list of packages with fuzzy search. Pretty much smex for package-install. That way even if I don't know the ...
1
vote
2answers
361 views

What does dependency mean in the Status field of a package shown in list-packages

The command list-packages shows the list of available packages. A Status column appears with several possible values: available installed dependency built-in incompat And the packages seem to be ...
1
vote
1answer
199 views

Turn on package-check-signature and install ELPA packages on Mac OS X Emacs

I had my GUI emacs installed by brew cask install emacs. I wanted to strictly check the downloaded package, by its signature, so I put following (as for testing, solely) in ~/.emacs.d/init.el: (...
6
votes
1answer
121 views

package.el: How can I avoid byte-compilation

How can I tell package.el to not byte-compile? It is generally OK to byte-compile installed packages but it makes difficult to test a new Emacs with byte compiler improvements (such as Emacs 26 from ...
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
0answers
57 views

Accidentally deleted Ivy. Now what?

I went to M-x list-packages and accidentally deleted Ivy. How do I get it back in M-x list packages now?
0
votes
0answers
155 views

Why won't packages I've installed load properly?

I'm brand new to emacs coming from vim. I've read GNU Package Installation, and MELPA. I've installed evil via M-x package-install [RET] evil [RET], and it works in the same session when I run it via ...
0
votes
1answer
43 views

Whats the correct structure and way to load libraries / packages?

I have create a quite large emacs package now its split over many files. currently i am running an org block with multiple load calls to load them, this is not idea for redistribution. How should I ...
0
votes
0answers
28 views

Set window layout for Idris mode

Is there a way to set a window layout for idris-mode like Coq Proof General's hybrid layout? I would like to work with idris using the following horizontal layout: < Code > | < Idris ...
0
votes
0answers
128 views

can not use 'package-delete' to remove package

when I use package-delete to delete some unused packages then I restart and every packages I delete above are appearing in the package list is anyone encountered this situation?
0
votes
1answer
80 views

Cannot define keybinding in markdown-mode

I'm trying to use the package checkbox together with markdown-mode. The checkbox documentation gives the following example on how to define a global keybinding for it's functionality: I'd recommend ...
1
vote
1answer
214 views

Configure package manager to use an NTLM Proxy

I've seen a few examples of how to setup Emacs to use Basic Auth proxies - is there a way to configure it to use an NTLM proxy?
0
votes
1answer
69 views

Install package: magit (via package.el) only shows *Completions*

First time package user and magit user. Following the installation instructions, when I enter "package-install magit", a Completions buffer is displayed, (see below). I've tried adding both stable....
1
vote
1answer
65 views

How do I resolve Ubuntu 16.04 emacs v46.1 default versus compiled v25.2-1 “downgrade”? [closed]

I'm working for the first time on an Ubuntu 16.04 LTS machine, and honestly I'm not sure if this is an emacs build/debian package question or if it's an Ubuntu 16.04 question. Please nudge me in the ...
0
votes
2answers
101 views

Automatically break long function signatures, calls, etc

void parse(std::vector<float>& io_vertices, std::vector<unsigned>& io_indices) {} Oftentimes when we code we need to break lines repeatedly as new expressions and statements enter ...
1
vote
1answer
358 views

How to know which packages have been installed?

Currently I am experimenting with Emacs and playing with many el files. Sometimes packages are installed from those el files or I install with a command M-x package-install. But this may cause ...
2
votes
1answer
37 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
1answer
34 views

Filter out entries for the same package in other repositories (melpa, marmelade, etc.)

My package-archive variable is set to: (("melpa-stable" . "http://stable.melpa.org/packages/") ("melpa" . "http://melpa.org/packages/") ("marmalade" . "http://marmalade-repo.org/packages/") ("gnu" ...
1
vote
1answer
79 views

How to find out which package a command belongs to

I have found a command M-x project-find-regexp, how can I find out from where it comes from, ELPA/Melpa package or part of GNU/Emacs?
0
votes
2answers
151 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
2answers
110 views

Error encountered when adding melpa to package-archives

I'm using emacs 25.2.1 (built from source). A strange problem happened after I tried to configure it for editing tex files. The suspicious config file content is listed below. (require 'package) (...
1
vote
1answer
210 views

How to autoload a package without requiring in the init file?

When you install clojure-mode via package-install, you can then open any .clj file and automatically enter the mode. And this works for every subsequent Emacs launch ; Yet, no (require 'clojure-mode) ...
1
vote
1answer
38 views

Requiring user-installed packages from byte-compiled .emacs

I have the following in my .emacs.el: (when (require 'edit-server nil t) (custom-set-variables '(edit-server-default-major-mode 'markdown-mode) '(edit-server-new-frame nil)) (edit-server-...
5
votes
3answers
133 views

How to migrate snippets of scripts into my own packages?

While there are many docs on how to write packages, mirror your own package git repo's ... etc. This seems quite a heavy solution. What would be a good approach to having some local packages which ...
0
votes
0answers
272 views

lsp-rust: require + provide but still void-function

I am trying to use lsp-rust package. I installed it from melpa. After I run it I got message in *Messages*: Error loading autoloads: (void-function lsp-define-stdio-client) There are two packages: ...
1
vote
3answers
277 views

How can I script emacs to install packages from list?

I have a list of packages installed that I would want to install on another computer. How would I use the info in the packages buffer or some other list to generate a script that would be used to ...
1
vote
0answers
78 views

Lisp nesting exceeds max-lisp-eval-depth in python-mode 6.2.3, Emacs 25.2

I have this simple Python test program: #! /usr/bin/env python3 import numpy as np x = np.array([0, 1, 2, 3]) y = np.array([0, 1, 4, 9]) def gen_segments(x, y): for i in range(0, len(x)-1): ...
1
vote
1answer
236 views

Is there a package for moving screen instead of cursor?

I am using emacs for a few months now and it is going ok. I want to know if there is a package out there which can help me move the screen instead of my cursor. For example, if I move one line down(...
4
votes
2answers
199 views

Dired+ hangs emacs in -no window mode

I have this in my init.el file: (use-package dired :init (progn ;; Details toggling is bound to "(" in `dired-mode' by default (setq diredp-hide-details-initially-flag nil)) :config ...
4
votes
1answer
247 views

(file-name-directory #$): How does Emacs know what #$ is?

I see that a few packages, and package.el use (file-name-directory #$). How does Emacs know what directory #$ is? On OSX, that returns Wrong type argument: stringp, nil. Excerpt from cl-lib.el when ...
1
vote
0answers
85 views

Pinning version of a “core” package

How can I pin a version of "smartparens". I thought If I add this to dotspacemacs-additional-packages: (smartparens :location (recipe :fetcher github :repo "Fuco1/smartparens" ...
8
votes
3answers
486 views

How to generate and activate autoloads for local packages?

It is clear that not all local/custom/personal packages should be officially released, and it would be silly to do so just to benefit from built-in package management support. I'm wondering how to ...