Re: [O] install confusion

2019-04-23 Thread Tim Cross


The org-plus-contrib package is a little 'odd' in that the name of the
package is not the name of the library being installed. To get around
this, I have a use-package witht he following form

(use-package org
:pin org
:ensure org-plus-contrib 
:init
)

Note the :ensure line. Basically, this tells use-package to install org,
but from the org-plus-contrib package.

HTH

Tim


Lawrence Bottorff  writes:

> I've got this in my init, which is in an org file with embedded elisp
> blocks:
>
> (use-package org-plus-contrib
>   :defer t
>   :ensure t
>   )
>
> then right after I have
>
> (use-package org
> :ensure t
> :bind (("C-c a" . org-agenda)
>("C-c c" . org-capture)
>("C-c l" . org-store-link))
> :config
> (setq org-ellipsis " ")
>. . .
> )
>
> where the use-package org form has extensive config info in it. Am I wrong
> with having both? In my ELPA directory I only see org-plus-contrib-20...
> which has such things as org.el. I'm using "https://orgmode.org/elpa/ BTW.
>
> LB


-- 
Tim Cross



[O] install confusion

2019-04-22 Thread Lawrence Bottorff
I've got this in my init, which is in an org file with embedded elisp
blocks:

(use-package org-plus-contrib
  :defer t
  :ensure t
  )

then right after I have

(use-package org
:ensure t
:bind (("C-c a" . org-agenda)
   ("C-c c" . org-capture)
   ("C-c l" . org-store-link))
:config
(setq org-ellipsis " ")
   . . .
)

where the use-package org form has extensive config info in it. Am I wrong
with having both? In my ELPA directory I only see org-plus-contrib-20...
which has such things as org.el. I'm using "https://orgmode.org/elpa/ BTW.

LB