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
2answers
192 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
166 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
238 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
47 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
153 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
407 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
417 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 ...
2
votes
0answers
123 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
349 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
214 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
275 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
112 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" ...
9
votes
3answers
713 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 ...
5
votes
1answer
947 views

How can I remove an incompatible package?

I recently checked my package menu, and found a large number of packages labelled incompat. I can't delete them by typing d on the package menu or running M-x package-menu-mark-delete. Are these ...
6
votes
2answers
247 views

How to view package Full Description (commentary section) inside Emacs

I'm looking for a way to visualize inside Emacs the Full Description of a package as shown in Elpa index page. For example the undo-tree package has a nice and comprehensive help page/description ...
1
vote
1answer
172 views

What's the format of a `package-desc` for `package-install`?

The documentation of package-install says: "Install the package PKG. PKG can be a package-desc [...]", but then it doesn't explain what is the format of a package-desc.
1
vote
1answer
76 views

Installing a package via `package-install' in Lisp?

The documentation of package-install says: "Install the package PKG. PKG can be [...] a symbol naming one of the available packages in an archive in ‘package-archives’." To install the latest ...
0
votes
1answer
85 views

Json-Mode / Puppet-Mode unset common functions when installed with use-package

I'm facing a weird issue in my init.el. Installing packages such as json-mode or puppet-mode (from MELPA Stable) with use-package unsets common functions like forward-word or backward-kill-word. The ...
0
votes
1answer
76 views

Emacs - How “package management tool” got installed? [closed]

In emacs 24.5.1, M-x package-list-packages shows the list of packages. My understanding is, below elisp code should be part of my .emacs, (require 'package) (package-initialize) (add-to-list '...
2
votes
2answers
347 views

Use-package doesn't find autoload

I expect the package to be require'd as soon as mdi-insert is called but I get: Error (use-package): spaceline :config: Symbol’s function definition is void: mdi-insert ~/.emacs.d/init.el (let ((...
2
votes
2answers
784 views

Disable package without uninstalling

I installed package from M-x package-list-packages and want to disable this package without uninstalling. UPDATE With (setq package-load-list '((company nil))) I have in *Packages* buffer: company ...
3
votes
2answers
610 views

how do you disable all keybinding for a package?

Sometimes, packages override a whole host of existing keybindings from other packages. The keybindings get associated with infrequently used functions, so I don't even want to rebind them. This is a ...
2
votes
2answers
567 views

Defer loading packages with use-package and package manager

How can I defer loading a package when it is installed using package.el with use-package? Basically, I want the package I use to only be activated using use-package instead of package-initialize so ...
2
votes
1answer
59 views

What is the name of the package for quickly switching between windows by using some key and then a, b, c or d?

I remember using a package to quickly switch between windows, it was a key like C-something and then on each window a letter appeared for example if you have 4 windows then you have a, b, c and d. ...
0
votes
1answer
942 views

Uninstalling a package and all of its dependencies

Magit doesn't work on my system. I'd like to remove it and everything that came with it when I installed the package. How can I do this? What packages, beside Magit, were installed on my emacs when I ...
2
votes
2answers
76 views

Autoloads for “generated” functions?

I have a file that I want to turn into a (local) package containing (inter alia) the code: (defun tl-sort-regexp-fields (reverse record-regexp key-regexp beg end) "Extended sort function." (...
2
votes
2answers
3k views

Can't Install org Through Package Manager

I'm trying to upgrade org in my setup by following the instructions here but I don't see org listed as an option. The instructions say to report it as a discrepancy but I'm thinking it's more likely ...
0
votes
1answer
160 views

(require 'package) is newly very slow on Windows

In recent weeks, (require 'package) takes minutes. This only happens on Windows, not on macOS or GNU/Linux. What is going on? emacs-version is GNU Emacs 25.1.1 (x86_64-w64-mingw32) of 2016-11-15. ...
5
votes
3answers
240 views

Package manager: which files not to add to git?

I'm keeping my config-files in a git repository to use it on multiple different machines. I'm using the emacs package manager, but I don't want to add the packages to git, because which packages have ...
4
votes
1answer
95 views

Does package-install do byte-compilation?

When installing a package from the package menu, can/will package-install do automatic byte compilation of the installed package files? Or is this something the user must do manually himself ...
2
votes
1answer
58 views

how can I make a selectable list?

I'm working on a package and I want to present a list to the users that they can select from. The package allows editing of remote Dokuwiki pages from Emacs which can be found here: https://github....
0
votes
2answers
920 views

How to stop a minor mode from auto-loading in Spacemacs?

The smartparens minor mode is quite annoying to me, so I want to have it disabled on default. However, I don't want to uninstall it, in case I need it someday. Can I disable a minor mode without ...
0
votes
0answers
90 views

Cannot install auto-complete-auctex

I just installed auto-complete-auctex from melpa repository. At package documentation says to enable by putting in my .init file the following command (require 'auto-complete-auctex) However, when ...
1
vote
0answers
251 views

Adding package from non-standard ELPA Repository to Layer

So I have a package I would like to add from an ELPA repository different than MELPA. The repository is called "billpiel" and the link is http://billpiel.com/emacs-packages/. I would like to add the ...
3
votes
1answer
2k views

How to use clang-format package?

I installed clang-format package from the MELPA repository. I added it to the load-path in my init file. Whenever I try to use it it says: Searching for program: No such file or directory, clang-...
2
votes
1answer
67 views

Which archive did an installed package come from?

When I use list-packages it shows the archive for packages that are not installed, but not for ones that are. The same for package descriptions. Is there any way to find out which archive an installed ...
1
vote
0answers
54 views

Match paren problem in the GUI version of Emacs

I use the built in parentheses match (show-paren-mode t). But there seems to be somewhat of a glitch when it highlights the matching parentheses, because it moves the bottom lines further apart when ...
1
vote
1answer
121 views

Minimap package line highlight always on

I've installed a minimap package and when I disable and save 'show minimap line highlight' it keeps showing the line highlight anyway: Any obvious fixes, or is it just a bug in the package?
0
votes
1answer
247 views

Missing function in CEDET?

I get this error message when trying to configure CEDET: Symbol's function definition is void: ´cedet-gnu-global-version-check´ This is my elisp code: (require 'auto-complete) ; start auto-...
2
votes
1answer
474 views

Specifying local package loading order in spacemacs

I'm trying to create a layer where one package in the layer depends on the functionality of another package in the same layer. As spacemacs loads the packages alphabetically (I assume) this only works ...
2
votes
1answer
1k views

Setting up private layer with local files in spacemacs

I'm trying to get the unicode-math-input package up and running in spacemacs; the package depends on math-symbol-lists. Both packages are not featured in the official repositories. From what I know ...
1
vote
1answer
69 views

How to read proper formatted documentation for bookmark+ package?

I am trying to learn about the bookmark+ package. I installed the package from M-x list-packages and I am using Emacs 25.1. It looks like a great package, the only difficulty I have so far, is that ...
7
votes
2answers
2k views

How to automate installation of packages with .emacs file?

My ~/.emacs (which you can find on GitHub) file loads several different Emacs packages and I would like them to be automatically installed as soon as Emacs starts up, if they are not already installed....
2
votes
2answers
143 views

Coedit mode on Emacs

I often use the web service Kobra.io, in which we can edit a specific file with some people together at the same time. Is there such a package on Emacs? I'd like to edit a specific lisp code at the ...
20
votes
4answers
2k 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 ...
3
votes
1answer
235 views

Emacs (spacemacs) not keeping extensions

I installed emacs 25.1.1 on fedora and cloned the spacemacs environment. Then, I launch emacs and install some packages (e.g. magit). When I close and reopen emacs all my extensions must be ...
1
vote
1answer
119 views

What is disabling the dash package?

I'm trying to install the smartparens package, but I'm having trouble. When I go to M-x list-packages, mark smartparens for installation, and hit x (execute) y (yes), I get the error message: ...
3
votes
1answer
317 views

Emacs hangs after describe-variable on package-archive-contents

When I try run describe-variable on package-archive-contents C-h v package-archive-contents emacs hangs. It hangs at least 5 minutes, maybe forever (I did not wait any longer). Seems like Esc : (...
0
votes
2answers
279 views

Problems loading packages from repos in another emacs directory

I want to test a new configuration from emacs for that case I begin with this: emacs -q --load ".emacs.jesus.d/init.el" --debug-init it works and I load the emacs file, until I started to download ...
1
vote
2answers
110 views

Why does a package archive produce error “not an absolute file name”?

When starting an older Emacs (23.4, say) for testing, I get an error from package initialisation a certain package is not available for installation. list-packages also shows a failure but with no ...