Re: [O] Org-mode via ELPA and via git in parallel
On 2016-01-28 12:33, Karl Voit 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: 3101 >> >> () >> >> ;;; 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 signature.asc Description: PGP signature
Re: [O] Org-mode via ELPA and via git in parallel
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
Re: [O] Org-mode via ELPA and via git in parallel
Hi Alan, * Alan Schmitt wrote: > > On 2016-01-28 10:48, Karl Voit 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: 3101 > > () > > ;;; 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
Re: [O] Org-mode via ELPA and via git in parallel
Hi Karl, On 2016-01-28 10:48, Karl Voit 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: 3101 () ;;; 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 signature.asc Description: PGP signature
[O] Org-mode via ELPA and via git in parallel
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