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
1answer
174 views

How to efficiently debug emacs package conflicts (strategies too)

I currently have an emacs package conflict occuring. It is a difficult one to pinpoint as it happens occasionally. I have started using M-x unload-feature to unload packages from memory, get out of ...
0
votes
1answer
362 views

How can I refresh the ELPA directory content without having to select and re-download the packages manually? (for slowed ver. 25.1 in Windows 10)

Hi fellow Emacs users, I'm experience very slower performance of 25.1 but a startup with -Q indicated the problem is probably caused by my old packages. (Similar scenario: https://www.reddit.com/r/...
2
votes
0answers
65 views

Distributing emacs packages with module functionality

How to distribute an emacs package via Elpa that includes OSX and Linux module written in C that needs to be compiled locally?
1
vote
1answer
23 views

Where the `l-pac` abrreviation for `list-packeages defined`?

Recent versions of emacs come with package.el built in and provide the abbreviation M-x l-pac. However, l-pac is not recognized by smex or helm-M-x. M-: (l-pac) also does not work and the help ...
3
votes
3answers
5k views

How to update Org to latest version using package repo's / git clone in Ubuntu

See the image below. . I want to update my org from Version: 2016071 to Version 20161003. It does not give me an option to upgrade when I use the package-list-packages command. An ...
2
votes
1answer
360 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 ...
6
votes
1answer
1k views

Since Emacs 25.1, package-list-packages modifies and writes my .emacs

I've just installed Emacs 25.1. My .emacs works well on Emacs 24.5. But now that I'm on Emacs 25.1, when I do M-x package-list-packages, Emacs modifies and write .emacs in the background with the ...
1
vote
1answer
87 views

how to upgrade packages if init file calls package function?

[Note to folks with itchy 'close' fingers: this is not a duplicate of Noninteractively upgrade all packages, since those answers rely on code or package in one's init.el, which would suffer from the ...
1
vote
0answers
149 views

Error in using “helm-projectile-find-file”

This is my config in init.el: (require 'helm-projectile) (projectile-global-mode) (setq projectile-completion-system 'helm) (helm-projectile-on) (setq projectile-indexing-method 'alien) (setq ...
0
votes
1answer
2k views

emacs: reinstall package after installation error

I'm new to Emacs. I needed to install the elpy package for python (as described here), but as I forgot to install one python package with pip, the installation with M-x package-install RET elpy failed....
6
votes
2answers
1k views

How can I see which version of a package I'm using? [duplicate]

I'm curious to see which version of a package I'm using to see if it is out of date. I don't see a package- function that looks applicable.
0
votes
1answer
53 views

Using code from other packages in your own

I am currently making a package which is for my own use, but it will be publicly available on github. Some of the code is borrowed from another package. How do I properly accredit the copied code to ...
1
vote
1answer
103 views

Conflict in package installed with both package and el-get?

I list my packages: ;; List all packages installed with el-get-install (look for "installed" to find installed packages) (el-get-list-packages) ;; List packages installed with "package-install" (...
1
vote
1answer
3k views

File error: Cannot open load file

I have the following ~/.emacs: ;; Added by Package.el. This must come before configurations of ;; installed packages. Don't delete this line. If you don't want it, ;; just comment it out by adding ...
1
vote
1answer
1k views

How to use a github package instead of the built-in version?

I tried to install verilog-mode from github to replace the version built in to Emacs. I'm using spacemacs. I created a layer for verilog and added verilog-mode in packages.el: (verilog-mode :...
2
votes
2answers
867 views

Get help for a package

Is there a way to get a quick help for a certain package? Something similar you get when you click package description in Paradox. I think it would be interesting a sort of doc package which get the ...
3
votes
1answer
551 views

How do I access a package's info manual?

I installed magit, and it appears to have come with documentation I can access in info-mode: > cd ~/emacs.d/elpa > ls -1 magit-2.8.0/{dir,*.info*} magit-2.8.0/dir magit-2.8.0/magit.info magit-2....
5
votes
2answers
388 views

Use `org-plus-contrib` to satisfy dependency of `org2blog`

Is there a way to tell package.el that the org-plus-contrib package I already have satisfies any dependency on org, so that installing packages that depend on org (such as the afore mentioned org2blog)...
0
votes
3answers
159 views

lazily activate an ELPA package?

I'd like a way to lazily activate certain ~/.emacs.d/elpa packages. I notice some of them have so many autoloads (which require other packages recursively from their *-autoloads.el), that you might as ...
1
vote
1answer
308 views

Is it possible to disable aggressive indent mode per file extension?

Would it be possible to disable aggressive indent package just for some file extensions?. I know it's possible to do it by major mode, but I use web-mode for js,html,php and others. And I just want to ...
1
vote
1answer
834 views

What does package-initialize do with package archives?

I'm reading through the definition of package-initialize to try and understand what goes on under the hood, and part of what it does is to read the package archive files. I see it comparing version ...
1
vote
1answer
148 views

use-package dependecy loop

I use use-package in my init.el and use :ensure to make sure packages are installed. However after every package update via package.el, it tells me some packages are no longer needed and can be ...
0
votes
1answer
311 views

Does installing packages using ELPA or MELPA need some additional steps for installing them manually?

I want to understand the different ways for installing a package, leading to readily using the package. I compared Emacs: How to Install Packages Using ELPA, MELPA and How to Install Emacs Package ...
1
vote
3answers
51 views

Using 'package as a filename in a declare-function statement?

I just saw this line near the top of the file use-package.el: (declare-function package-installed-p 'package) How can 'package be a useful 2nd argument, when the doc for declare-function says that ...
3
votes
2answers
3k 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 ...
2
votes
2answers
554 views

How to install package without install dependencies through “package”?

I am using :ensure t of use-package to install "go-prjectile" package which depends on "go-rename". But I would like to use a local version of "go-rename" and its path is already added to load-path. ...
0
votes
1answer
119 views

emacs interface to ubuntu package management (apt, dpkg)

Is there an emacs library for managing packages on Ubuntu, ie an emacs based alternative to synaptic and aptitude? Presumably this would be an elisp wrapper around apt, dpkg and friends and look ...
3
votes
0answers
241 views

Spacemacs layer where package order matters

I'm trying to make a 'speedbar' layer that uses projectile-speedbar. The problem is projectile-speedbar won't compile unless sr-speedbar has already been compiled. Since spacemakes compiles the ...
0
votes
1answer
253 views

what backend package does spacemacs use for layout managment?

I saw a neat demo of the spacemacs layout feature: demo of the spacemacs layout feature, and another one. What package do they use to do that or another similar vanilla emacs package?
0
votes
1answer
447 views

Unable to install magit via package.el

I've been switching my .emacs.d to load packages via package.el instead of using gitsubmodules but I'm unable to install magit because emacs-24.4 isn't available. Getting the emacs version gives me: $...
1
vote
1answer
243 views

cadr wrong type argument listp

I have this code that used to work fine until today: (let* ((newest-pkg (cadr (assq 'org package-archive-contents))) (installed-pkg (cadr (or (assq 'org package-alist) ...
0
votes
1answer
49 views

How to require/provide a package name with the value of `user-login-name`, without hard coding it?

I am trying to load package depending on a user's login name For example: If a user's login name is "user_foo", I would like to (require 'user_foo). I don't want to hard code the user's login name. ...
3
votes
1answer
783 views

Installing AUCTeX, GNU Emacs 24.5.1

I'm very new to Emacs. I've installed AUCTeX version 11.89.4 using package manager (list-packages, select auctex, install it). It works, at least it shows compiled pdf result from test .tex file in ...
7
votes
1answer
3k views

What does (require 'package) mean for emacs and how does it differ from load-file?

I just began using emacs a few days ago and I read somewhere that (require 'package-name) is not needed when the said package is installed using package-install. But why, what does (require 'package-...
1
vote
1answer
50 views

What causes these extra spaces in front of the package menu header?

I want to get rid of these extra spaces that is in the left. I have tried the following after reading a bit on propertize: (setq-local header-line-format (propertize header-line-format '...
2
votes
1answer
160 views

Sources for Auto-Complete

I still feel a strong disturbance when it comes to auto-complete in emacs. From what I have read in the docs, you can easily extend auto-complete by any syntax you like. Looking through (M)ELPA there ...
11
votes
1answer
1k views

A non-free package in Emacs?

A while ago, I installed Emacs from the Ubuntu repositories, and have been using it occasionally. Recently, just for fun, I installed vrms, a tool designed to detect non-free software according to the ...
1
vote
0answers
54 views

Do Any Hooks for (Specific) Package Installation Exist?

I have a StumpWM configuration that loads a file contained in the SLIME package installed through Emacs (swank-loader.lisp). However, problems arise when my SLIME package is updated, because the ...
3
votes
2answers
145 views

Can I load a single package from a different archive?

For my main package loading, I want to use melpa-stable. There's at least one package (dash) that I know breaks my config if I use the melpa version. That's fine - I've no problem using melpa-stable ...
1
vote
1answer
159 views

(require 'flx-ido) fails, but “M-x flx-ido-mode” succeeds

I installed the flx-ido package from MELPA, and added the following two lines of code to my .emacs file. (require 'flx-ido) (flx-ido-mode 1) Emacs startup fails with the following error: File error:...
1
vote
0answers
54 views

describe-package commentary for non built-in packages

Currently, it seems like describe-package will only show the contents of the 'commentary' section for packages that are builtin. For example (describe-package 'python) show a detailed description of ...
1
vote
2answers
206 views

Info manuals from packages not showing up in info

I was just fooled by an old org info file that was hanging around in my info dir. I assumed that when I call (use-package wanderlust :ensure t) That the current info file would be installed ...
4
votes
1answer
272 views

Ensuring a minimum version with use-package

In my .emacs, I would like to ensure that the s package, version 1.10.0 or newer, is installed. If I use (use-package s :ensure t) it will not upgrade the installation on systems with older versions ...
1
vote
1answer
141 views

Stop “File not found in root path, do you want to change root?” message

When using Spacemacs and neotree, I often see this message pop up File not found in root path, do you want to change root? (y or n) If I say y, it moves neotree to the directory of whatever buffer I ...
7
votes
1answer
117 views

Why is Emacs asking me to save changed buffers, when I install a package?

Every time when I change something in a buffer, and then I decided to install a package from packages.el, Emacs is repeatingly asking me if I want to save the other buffers, because it's changed. I ...
7
votes
1answer
101 views

How should I bundle json with my elisp package?

I wish to distribute an elisp package that uses json.el (http://edward.oconnor.cx/2006/03/json.el). I need this to work for versions of emacs that do not come with json pre-installed (such as OSX, ...
4
votes
1answer
61 views

package-install is “checking” a lot of files

On running (package-install <some-pkg-name>), I am seeing a long list of messages of the form Checking /some/path/to/a/file. What are these checks that package-install does? How can I exclude ...
2
votes
0answers
362 views

Capture template `a': outline-show-all

After updating my Emacs packages, org capture templates fail with Capture template `a': outline-show-all, where a is the capture keystroke. Backtrace: Debugger entered--Lisp error: (error "Capture ...
2
votes
2answers
154 views

Manage packages completely inside emacs config file, not inside the Emacs directory?

i use currently melpa for managing my emacs packages, but I'm not satisfied with that. Melpa seems to manage the packages by dumping them into my emacs.d - which i don't want to store inside my ...
3
votes
3answers
423 views

Edit/fork packages installed via package-install

I would like to make a few changes to a package installed via package-install. What's the canonical way to do so? I understand that it would probably involve: Uninstalling the package via list-...