emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* install confusion
@ 2019-04-23  4:50 Lawrence Bottorff
  2019-04-23  7:47 ` Tim Cross
  0 siblings, 1 reply; 2+ messages in thread
From: Lawrence Bottorff @ 2019-04-23  4:50 UTC (permalink / raw)
  To: emacs-orgmode Mailinglist

[-- Attachment #1: Type: text/plain, Size: 580 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1042 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: install confusion
  2019-04-23  4:50 install confusion Lawrence Bottorff
@ 2019-04-23  7:47 ` Tim Cross
  0 siblings, 0 replies; 2+ messages in thread
From: Tim Cross @ 2019-04-23  7:47 UTC (permalink / raw)
  To: emacs-orgmode


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 <borgauf@gmail.com> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-04-23  7:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-23  4:50 install confusion Lawrence Bottorff
2019-04-23  7:47 ` Tim Cross

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