emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Cook, Malcolm" <MEC@stowers.org>
To: Loris Bennett <loris.bennett@fu-berlin.de>,
	Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: RE: Unable to get current or via use-package
Date: Wed, 9 Feb 2022 16:28:23 +0000	[thread overview]
Message-ID: <CH0PR20MB394799AC93B9C9F22A55FB27BE2E9@CH0PR20MB3947.namprd20.prod.outlook.com> (raw)
In-Reply-To: <877da4qihk.fsf@hornfels.zedat.fu-berlin.de>

>(use-package org
>:ensure org-contrib)

I believe `:ensure org-contrib` is no longer needed.

I tend to use the org-mode from the package manager, but do not do it interactively from within emacs.  Instead, which when I want to refresh org, I do from the command line:

	emacs -Q -batch -eval "(progn (require 'package) (package-initialize) (package-refresh-contents) (package-install 'org))"

Also, early in my init.el, as extra level of precaution against getting the built-in org-mode, I ensure it never gets loaded:
	(require 'cl-seq) (delete (car (cl-member "lisp/org" load-path :test #'string-match)) load-path)

>
>I moved the old-plus-contrig ELPA folder out the way. However, I now
>just get the built-in version of Org:
>
>Org mode version 9.3 (release_9.3 @ /usr/share/emacs/27.1/lisp/org/)
>
>Is this a problem use-package has with built-in packages, as described here
>
>https://github.com/jwiegley/use-package/issues/319
>
>? Or am I doing something wrong? Or do I just need to install via M-x
>list-packages (bearing in mind the caveat about not visiting an org file
>beforehand)?
>
>Cheers,
>
>Loris
>
>-- 
>This signature is currently under construction.
>

  parent reply	other threads:[~2022-02-09 17:24 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-09 13:25 Unable to get current or via use-package Loris Bennett
2022-02-09 14:02 ` Eric S Fraga
2022-02-09 15:51   ` Loris Bennett
2022-02-09 17:18     ` Greg Minshall
2022-02-10 20:57     ` João Pedro de Amorim Paula
2022-02-10 21:01       ` João Pedro de Amorim Paula
2022-02-17 15:00       ` Loris Bennett
2022-02-18 21:32         ` João Pedro de Amorim Paula
2022-02-18 21:36           ` João Pedro de Amorim Paula
2022-02-21  6:40             ` Loris Bennett
2022-02-09 16:28 ` Cook, Malcolm [this message]
2022-02-10  7:09   ` Loris Bennett
2022-02-10  8:12     ` Tim Cross
2022-02-10  9:01       ` Ihor Radchenko
2022-02-10 18:39         ` Tim Cross
2022-02-10 15:19     ` Cook, Malcolm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CH0PR20MB394799AC93B9C9F22A55FB27BE2E9@CH0PR20MB3947.namprd20.prod.outlook.com \
    --to=mec@stowers.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=loris.bennett@fu-berlin.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).