emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Org-mode via ELPA and via git in parallel
@ 2016-01-28  9:48 Karl Voit
  2016-01-28 10:21 ` Alan Schmitt
  2016-01-28 17:53 ` Achim Gratz
  0 siblings, 2 replies; 5+ messages in thread
From: Karl Voit @ 2016-01-28  9:48 UTC (permalink / raw)
  To: emacs-orgmode

Hi!

I am using Org-mode version 8.3.3 (release_8.3.3-17-gce80a0 @
c:/Users/karl.voit/.emacs.d/contrib/org-mode/lisp/)[fn:1] which is
the maint branch from the git repo. And this is the version I intend
to use.

As I noticed yesterday, in my ELPA-directory there is
"org-20160125/" which I never installed on purpose.

Since I am using use-package[fn:up] to install most of my emacs
add-ons, I do think that any other package may have org-mode
installed via ELPA (dependency-rule?).

The output of 
   cd ~/.emacs.d/elpa && du |sed 's#./##'|grep -v "/"
is published on [fn:elpa-packages]


Two questions:

1. Do I have to care about the ELPA Org-mode folder (ignoring the
occupied disk space) or might this ELPA Org-mode interfere with my
git Org-mode?

2. How am I able to find out why the ELPA Org-mode folder exists in
my setup?


Thanks!


[fn:1] at least this is what "M-x org-version" says
[fn:up] https://github.com/jwiegley/use-package
[fn:elpa-packages] http://karl-voit.at/temp/2016-01-28-du-elpa.log

-- 
mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode:
       > get Memacs from https://github.com/novoid/Memacs <

https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github

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

* Re: Org-mode via ELPA and via git in parallel
  2016-01-28  9:48 Org-mode via ELPA and via git in parallel Karl Voit
@ 2016-01-28 10:21 ` Alan Schmitt
  2016-01-28 11:33   ` Karl Voit
  2016-01-28 17:53 ` Achim Gratz
  1 sibling, 1 reply; 5+ messages in thread
From: Alan Schmitt @ 2016-01-28 10:21 UTC (permalink / raw)
  To: Karl Voit; +Cc: Karl Voit, emacs-orgmode

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

Hi Karl,

On 2016-01-28 10:48, Karl Voit <devnull@Karl-Voit.at> writes:

> Since I am using use-package[fn:up] to install most of my emacs
> add-ons, I do think that any other package may have org-mode
> installed via ELPA (dependency-rule?).

I have observed this in the past as well.

> Two questions:
>
> 1. Do I have to care about the ELPA Org-mode folder (ignoring the
> occupied disk space) or might this ELPA Org-mode interfere with my
> git Org-mode?

I’ve had issues with this in the past (I also use org for git). To make
sure org is never installed with elpa, I manually install
(`package-install-file') this org.el file:

#+begin_src emacs-lisp
;;; org.el --- Dummy org mode package

;; Copyright (C) 2014 Alan Schmitt

;; Version: 30000101

()

;;; org.el ends here
#+end_src

If you use it, don’t forget to change the copyright ;)

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Athmospheric CO₂ (Updated January 27, 2016, Mauna Loa Obs.): 403.69 ppm

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]

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

* Re: Org-mode via ELPA and via git in parallel
  2016-01-28 10:21 ` Alan Schmitt
@ 2016-01-28 11:33   ` Karl Voit
  2016-01-29 11:05     ` Alan Schmitt
  0 siblings, 1 reply; 5+ messages in thread
From: Karl Voit @ 2016-01-28 11:33 UTC (permalink / raw)
  To: emacs-orgmode

Hi Alan,

* Alan Schmitt <alan.schmitt@polytechnique.org> wrote:
>
> On 2016-01-28 10:48, Karl Voit <devnull@Karl-Voit.at> writes:
>
>> Since I am using use-package[fn:up] to install most of my emacs
>> add-ons, I do think that any other package may have org-mode
>> installed via ELPA (dependency-rule?).
>
> I have observed this in the past as well.
>
>> Two questions:
>>
>> 1. Do I have to care about the ELPA Org-mode folder (ignoring the
>> occupied disk space) or might this ELPA Org-mode interfere with my
>> git Org-mode?
>
> I=E2=80=99ve had issues with this in the past (I also use org for git). To =
> make
> sure org is never installed with elpa, I manually install
> (`package-install-file') this org.el file:
>
> #+begin_src emacs-lisp
> ;;; org.el --- Dummy org mode package
>
> ;; Copyright (C) 2014 Alan Schmitt
>
> ;; Version: 30000101
>
> ()
>
> ;;; org.el ends here
> #+end_src

There is no "(provide 'org)" or so?

> If you use it, don=E2=80=99t forget to change the copyright ;)

*ggg*

-- 
mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode:
       > get Memacs from https://github.com/novoid/Memacs <

https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github

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

* Re: Org-mode via ELPA and via git in parallel
  2016-01-28  9:48 Org-mode via ELPA and via git in parallel Karl Voit
  2016-01-28 10:21 ` Alan Schmitt
@ 2016-01-28 17:53 ` Achim Gratz
  1 sibling, 0 replies; 5+ messages in thread
From: Achim Gratz @ 2016-01-28 17:53 UTC (permalink / raw)
  To: emacs-orgmode

Karl Voit writes:
> As I noticed yesterday, in my ELPA-directory there is
> "org-20160125/" which I never installed on purpose.

It's probably been pulled in by some dependency.  Package manager is not
very smart with this.  You need to drop a dummy org package with a high
enough version so that Org never gets upgraded via package manager.

> 1. Do I have to care about the ELPA Org-mode folder (ignoring the
> occupied disk space) or might this ELPA Org-mode interfere with my
> git Org-mode?

No, you shouldn't have it installed via ELPA.  It may work one day and
stop working another depending on which patch your initializations
actually take.

> 2. How am I able to find out why the ELPA Org-mode folder exists in
> my setup?

Some other package pulls it in as a dependency.  Package manager
operates on the assumption that you install everything via ELPA.  If you
don't, then you have to take care of that yourself.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf rackAttack:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

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

* Re: Org-mode via ELPA and via git in parallel
  2016-01-28 11:33   ` Karl Voit
@ 2016-01-29 11:05     ` Alan Schmitt
  0 siblings, 0 replies; 5+ messages in thread
From: Alan Schmitt @ 2016-01-29 11:05 UTC (permalink / raw)
  To: Karl Voit; +Cc: emacs-orgmode

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

On 2016-01-28 12:33, Karl Voit <devnull@Karl-Voit.at> writes:

>> I’ve had issues with this in the past (I also use org for git). To
>> make sure org is never installed with elpa, I manually install
>> (`package-install-file') this org.el file:
>>
>> #+begin_src emacs-lisp
>> ;;; org.el --- Dummy org mode package
>>
>> ;; Copyright (C) 2014 Alan Schmitt
>>
>> ;; Version: 30000101
>>
>> ()
>>
>> ;;; org.el ends here
>> #+end_src
>
> There is no "(provide 'org)" or so?

I have not found it necessary. I make sure I load org before
initializing packages, and everything works.

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Athmospheric CO₂ (Updated January 27, 2016, Mauna Loa Obs.): 403.69 ppm

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]

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

end of thread, other threads:[~2016-01-29 11:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-28  9:48 Org-mode via ELPA and via git in parallel Karl Voit
2016-01-28 10:21 ` Alan Schmitt
2016-01-28 11:33   ` Karl Voit
2016-01-29 11:05     ` Alan Schmitt
2016-01-28 17:53 ` Achim Gratz

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