From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: egarrulo@gmail.com Newsgroups: gmane.emacs.help Subject: Re: Emacs doesn't see the most recent version of Company Mode hosted on Elpa Date: Thu, 18 May 2017 00:46:44 +0200 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1495084893 31320 195.159.176.226 (18 May 2017 05:21:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 18 May 2017 05:21:33 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 To: Dmitry Gutov , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 18 07:21:27 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dBDsN-000826-D1 for geh-help-gnu-emacs@m.gmane.org; Thu, 18 May 2017 07:21:27 +0200 Original-Received: from localhost ([::1]:51786 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBDsT-0001x2-2x for geh-help-gnu-emacs@m.gmane.org; Thu, 18 May 2017 01:21:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58069) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dB7iV-0002xm-Mt for help-gnu-emacs@gnu.org; Wed, 17 May 2017 18:46:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dB7iS-0000LE-LF for help-gnu-emacs@gnu.org; Wed, 17 May 2017 18:46:51 -0400 Original-Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]:35850) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dB7iS-0000L3-EZ for help-gnu-emacs@gnu.org; Wed, 17 May 2017 18:46:48 -0400 Original-Received: by mail-wm0-x236.google.com with SMTP id 70so26796050wmq.1 for ; Wed, 17 May 2017 15:46:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=fo6TExz2eLxFNHaA8pmy0bVeqnp4P0NcLjc2Hc6zH+4=; b=s04hqYfJxps5BE8yf1fA1VL+nu9uIL8KS/d1Kjg2+8IEV09jYkEwsOaRfdnbV1EB/p CeYD7aVPaPUpSNOrHjle1632Kkp48ZIJc13pkAqB4YRx07VpPsDQvZFIt5GCBrXZiPR9 e/+cNkW6bu0eUsmjOab5/Xu5lmU+k8oLVgIzF42GJwC+dyrMt6LnDC6potIONyo55I2x Rxuh/J65aLmWf0R/LMXMFJqEq2MRtBXqA1YyQWR0BWyv19yXHG18J1maO+FujSSpAX9j uzgrl8S9tf2xDGbM8oT1Plt/wOR0rwyTagN79NPa9nWA/NvRCN65GrZh6ctyE1YvgZid zqIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=fo6TExz2eLxFNHaA8pmy0bVeqnp4P0NcLjc2Hc6zH+4=; b=KRpvs3LIu8D4x2w+smJDpOis88gg8sotp1ZTSu8DYphvKtkLNf4OzWjcD9OszR9uxF j1BexvgUIPV2wpSm3GBcPOdjMWv9nQn50ELOJRJqcO3pTYt2A6OuQS0b4PvRp//u4xLn vFYcj91mhMxPbe3OGve4i5ELc8eeslO8P7Dpk88bRRvX26o0UvRL65Nh7K/5I5m7a5kT KOfS2YJia8j/2k2Ip51jYoPCAQMpGYgz6DXZQLzBuhMp0fkNMS7veijrrhskpnxjeduq dFmwvV/G9pmsrM8lwKbihj4xGwbslWaYWBU9tLYrW5I7ahKUBPk0yWO5lha4J7cw+Nee MagQ== X-Gm-Message-State: AODbwcB9rbm5CIcoOuMIIHIkCgeaQ9PJvnlRhT+Jwa8Xzc14bdDnxg+E ukTIIl36kZ7dn1Qa X-Received: by 10.28.210.5 with SMTP id j5mr11423112wmg.56.1495061206949; Wed, 17 May 2017 15:46:46 -0700 (PDT) Original-Received: from [192.168.1.10] (net-188-152-70-87.cust.vodafonedsl.it. [188.152.70.87]) by smtp.gmail.com with ESMTPSA id o200sm629500wmg.22.2017.05.17.15.46.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 May 2017 15:46:45 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::236 X-Mailman-Approved-At: Thu, 18 May 2017 01:20:49 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:113053 Archived-At: On 17/05/17 22:27, Dmitry Gutov wrote: > On 17.05.2017 23:18, egarrulo wrote: >> The problem does not appear with `emacs -Q', though, that correctly >> sees version 0.9.3. What could be going wrong? > > Did you change the value of `package-archives' somewhere? Yes, but the same code works as expected in `emacs -Q', as long as I start with an empty `package-user-dir' directory: (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) My installation in "~/elpa/" could be corrupted. By the way, even if Emacs doesn't list the last Company version, it correctly identifies the currently installed version as obsolete.