|
From: | egarrulo |
Subject: | Re: Emacs doesn't see the most recent version of Company Mode hosted on Elpa |
Date: | Thu, 18 May 2017 19:58:58 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
On 17/05/17 21:47, egarrulo wrote:
I have tried `package-refresh-contents', then `package-list-packages' again, but `company' version 0.9.3 doesn't show up, even when it is listed on the Elpa website. I have the version 0.8.2 installed. I am running Emacs 25.1.1. Thanks for your help.
I have this in my .emacs: (defvar package-enable-at-startup nil) (require 'package)(add-to-list 'package-archives '("melpa-stable" . "http://stable.melpa.org/packages/"))
(add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/") t) (setq package-user-dir (expand-file-name "~/elpa/")) (package-initialize)This code works as expected in `emacs -Q', *as long as* I start with an empty `package-user-dir' directory. My installation in "~/elpa/" must be corrupted. As a side note, even when Emacs doesn't list the last Company version, it correctly identifies the currently installed version as obsolete.
[Prev in Thread] | Current Thread | [Next in Thread] |