"Cook, Malcolm" <m...@stowers.org> writes:

>>(use-package org
>>:ensure org-contrib)
>
> I believe `:ensure org-contrib` is no longer needed.

Well, I would need it if I actually wanted anything from org-contrib,
but I really have to check whether this is still the case.

> 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))"

Is that necessary?  Can't I just use the package manager to update Org
along with any other packages?  Or does the issue about not visiting and
.org file before installing via the package manager apply to updates
too?

> 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)

Interesting, although I would generally want at least some version of
Org even if a more recent version is installed but somehow broken.

>>
>>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.
>>

Reply via email to