From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id iGQFMTTOtF8bVgAA0tVLHw (envelope-from ) for ; Wed, 18 Nov 2020 07:33:08 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id QE75LDTOtF8ufgAAB5/wlQ (envelope-from ) for ; Wed, 18 Nov 2020 07:33:08 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 397C39400BF for ; Wed, 18 Nov 2020 07:33:08 +0000 (UTC) Received: from localhost ([::1]:52738 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kfHxg-0007cK-La for larch@yhetil.org; Wed, 18 Nov 2020 02:33:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39696) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kfHwz-0007bq-Hu for emacs-orgmode@gnu.org; Wed, 18 Nov 2020 02:32:23 -0500 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]:37817) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kfHwv-0005y4-LY for emacs-orgmode@gnu.org; Wed, 18 Nov 2020 02:32:21 -0500 Received: by mail-pl1-x630.google.com with SMTP id d3so526668plo.4 for ; Tue, 17 Nov 2020 23:32:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:message-id :date:mime-version; bh=jP53fWL9196bVOXjeoUyjg/ByV4dJJ9vPl+r8r1ZmHk=; b=uARzpnGZ0P3ZupntpBUWLQ6XJz1WYRGjDXp59i7Lbl+9mHeWPjuBF8R8dmYvBNDeMu 2Kit8gDwxhmnk7N7/kkkhsuyA/7+WIowjifk35Nkooua3iRYFTAeCV+5Uwr0oMgjCLjM HAhEjobQTjK7Vc+MF/n2TSqCqaTPlsqxDZbAfm0G3TNrEo03kX0Yej87oGL2KypJKRnc 8+7f0R22zCXINr/kTSmV0rabbGO8IiGzGV92vM2pv2bRMzV6VCr58JtgX6MqL8FCEyEU ukLJBxq6XagXBy0BcAnfGgAxLt/zYjNxdhropGUufWQi5aIVZKTf2SyQbRKOS3FwWleO ncFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:message-id:date:mime-version; bh=jP53fWL9196bVOXjeoUyjg/ByV4dJJ9vPl+r8r1ZmHk=; b=ogi86yo4ti94vWb9JET+QgMBE/R7X3eSLOO8zzd1u4O7VBMrPRIOL3M5kQyYKrWEeM yBBnN2rGMpDTFUmVBkGxeOIugnt1IW0nK/8y2NHhlLehO7hgiyX5arTTrJFvnGMdIKiM 8tiK4BYSx6zRwc72nHEy5hkLeGG7Lp59foja2+NG2lQQxtOxt3lzO2Xo8bIg9Y4Ceb2O fLwTsRn2gfAQTzbunsz/z5yckF+tNrw2iejgFUJFmeTZvzEo/ohGGF4WK9+na3+pIWk7 RGlEVZORYvoCRltobzQm4qJ2J6rTIBocPU7C5ao3wyaWDy1HO+D9q2RzyY2jc8prTxlM UL4g== X-Gm-Message-State: AOAM532s49qsansJwsWc7IsxGVBy4uZ1bqZpuyzWlcRpoe3aRYOwosQC yvuSCEewkDC8mCkGqB6LlXJKKBK8NmZFwQ== X-Google-Smtp-Source: ABdhPJypQPqmxv/V0rNs/gHKsz/RTMZOJgpQ3pckLhqoeDt3fu3+V511z/USg7hYqHvRZ4fS7sX07g== X-Received: by 2002:a17:90a:609:: with SMTP id j9mr2863309pjj.121.1605684734126; Tue, 17 Nov 2020 23:32:14 -0800 (PST) Received: from tim-desktop (106-69-114-95.dyn.iinet.net.au. [106.69.114.95]) by smtp.gmail.com with ESMTPSA id e201sm24161902pfh.73.2020.11.17.23.32.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Nov 2020 23:32:13 -0800 (PST) References: <20201117184130.t67oqxhnkw5rwozx@E15-2016.optimum.net> <7ef0ec5a-276e-ace7-5316-e168373295ec@grinta.net> <878saz48om.fsf@gmail.com> User-agent: mu4e 1.5.7; emacs 27.1.50 From: Tim Cross To: Pankaj Jangid Subject: Re: Ignored bugs In-reply-to: Message-ID: <87o8jv9l3a.fsf@gmail.com> Date: Wed, 18 Nov 2020 18:32:09 +1100 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::630; envelope-from=theophilusx@gmail.com; helo=mail-pl1-x630.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=uARzpnGZ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: J7gHm/aBwQWJ Pankaj Jangid writes: > Tim Cross writes: > >>> I am trying to use `use-package' for package management via the init >>> file. And when I do (use-package org :ensure t) it doesn't install the >>> latest. It uses the builtin package only. Is this a bug in emacs, >>> use-package or elpa? >> >> Not a bug at all. You have to configure your emacs to obtain the latest >> version from the org (or MELPA?) repository. >> >> If you really want the most recent org version, you need to add the org >> ELPA repository to your packages.el repository list. I have the >> following in my setup - >> >> (add-to-list 'package-archives `("melpa" . "https://melpa.org/packages/")) >> (add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/")) > > Okay. I don't have org-elpa in my list. But Org 9.4 is visible in the > `gnu' archive. I have this in my configuration > > (custom-set-variables > '(package-archives '(("melpa" . "https://melpa.org/packages/") > ("gnu" . "https://elpa.gnu.org/packages/")))) > > When I install it manually via package-install it gets installed. But > (use-package org :ensure t) doesn't install it. Probably the order is > affecting it. Have a look at the package.el docs. You can 'pin' a package to a specific repository and version and you can set repository priorities. I would also check to see when the custom section is actually loaded. It could be that your customization is not loaded until after your call to use-package. As I call add-to-lis and that adds entries to the start of the list, I know both melpa and the org repositories are before the gnu one and as I do this in my init file, I know it is processed before the call to use-package, but I also set repository priorities to help protect against reliance on order in the list. My full package config is below. Note that things changed in Emacs 27 and I'm not 100% sure it is correct (actually, I recently switched to using spacemacs, so I don't use that setup anymore!) #+begin_src emacs-lisp :tangle tangle-init.el (require 'package) (setq package-enable-at-startup nil package-archive-priorities '(("org" . 2) ("melpa" . 1) ("gnu" . 0))) (add-to-list 'package-archives `("melpa" . "https://melpa.org/packages/")) (add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/")) (when (< emacs-major-version 27) (package-initialize)) #+end_src -- Tim Cross