Re: org 9.2.6 and org 9.1.9

2019-11-27 Thread Stefan Monnier
> [[https://lists.defectivebydesign.org/archive/html/emacs-orgmode/2012-09/msg01365.html][Installing > Org through the new http://orgmode.org ELPA]] > > - > [[https://lists.defectivebydesign.org/archive/html/emacs-orgmode/2015-08/msg00316.html][latest > org from Elpa error: Invalid function: org-ba

Re: org 9.2.6 and org 9.1.9

2019-11-27 Thread Tim Cross
>> But I don't think the issue is with package.el per se. > Maybe it needs fixes elsewhere as well, but it's via package.el that the > problem is usually exposed. Yes, but I think that is mainly because that is the most common way people install it. The manual is fairly clear on this - don't inst

RE: org 9.2.6 and org 9.1.9

2019-11-27 Thread Cook, Malcolm
Hi Stefan, I don’t think I’ve ever seen a root-cause analysis, but I’ve seen many problems that are resolved by some version of a “clean build” of org. Here are some: - [[https://lists.defectivebydesign.org/archive/html/emacs-orgmode/2012-09/msg01365.html][Installing Org through the new h

Re: org 9.2.6 and org 9.1.9

2019-11-27 Thread Eli Zaretskii
> From: Stefan Kangas > Date: Wed, 27 Nov 2019 07:29:24 +0100 > Cc: Jean-Christophe Helary , > Org-mode , Emacs developers > > I disagree with removing Org-mode from Emacs core, as I've explained > elsewhere. I agree. It would go against our previous decisions to have Org in core, for reason

Re: org 9.2.6 and org 9.1.9

2019-11-27 Thread Stefan Monnier
> Here's what I do, at the shell: > > > > emacs -Q -batch -eval "(progn (require 'package) (add-to-list > 'package-archives '(\"org\" . > \"http://orgmode.org/elpa/\";;)) > (package-initialize) (package-refresh-contents) (package-install > 'org-plus-contrib))

Re: org 9.2.6 and org 9.1.9

2019-11-27 Thread Stefan Monnier
> But I don't think the issue is with package.el per se. Maybe it needs fixes elsewhere as well, but it's via package.el that the problem is usually exposed. > You get the same problem if you try to install org-mode manually > without package.el. Depends how you do it. > What is really needed t

Re: org 9.2.6 and org 9.1.9

2019-11-27 Thread Stefan Kangas
Tim Cross writes: > What is really needed to fix this problem is some mechanism which > will ensure all org related definitions are somehow purged from the > running instance before attempting to install and compile a new > version. That could be one way of going about it. Other solutions have

Re: org 9.2.6 and org 9.1.9

2019-11-26 Thread Fraga, Eric
On Wednesday, 27 Nov 2019 at 17:00, Tim Cross wrote: > I would agree that org should be a package in elpa and not bundled into > emacs core. I would argue the opposite! I would like to see org tightly integrated into Emacs, in the same way that gnus now is. Development of org would be in step w

Re: org 9.2.6 and org 9.1.9

2019-11-26 Thread Stefan Kangas
Jean-Christophe Helary writes: > > Yes, it is a bit of dependency hell. > > I see 2 solutions here: > > 1) org is only provided as a built-in package and updated there when necessary Even if we removed it from GNU ELPA, nothing stops unofficial packages from cropping up when users want to run th

Re: org 9.2.6 and org 9.1.9

2019-11-26 Thread Stefan Kangas
Stefan Monnier writes: > > > What should happen is that > > 1) packages.el should see that I'm trying to install a package that requires > > 9.2.6 as a dependency and it should notify me that 9.1.9 is already > > installed and do I really want to do that, etc. > > > > 2) *or* just consider that it

Re: org 9.2.6 and org 9.1.9

2019-11-26 Thread Stefan Kangas
Tim Cross writes: > I would agree that org should be a package in elpa and not bundled into emacs > core. The user can then choose which version to install (ignoring the package > dependency problem). I disagree with removing Org-mode from Emacs core, as I've explained elsewhere. > This won't

Re: org 9.2.6 and org 9.1.9

2019-11-26 Thread Tim Cross
But I don't think the issue is with package.el per se. You get the same problem if you try to install org-mode manually without package.el. What is really needed to fix this problem is some mechanism which will ensure all org related definitions are somehow purged from the running instance before a

Re: org 9.2.6 and org 9.1.9

2019-11-26 Thread Tim Cross
I would agree that org should be a package in elpa and not bundled into emacs core. The user can then choose which version to install (ignoring the package dependency problem). This won't fix all the issues as anyone installing a new major version when an existing version is already loaded will run

Re: org 9.2.6 and org 9.1.9

2019-11-26 Thread Jean-Christophe Helary
Thank you Stefan. I'll try to reproduce the issue and then I'll report. Jean-Christophe > On Nov 27, 2019, at 12:24, Stefan Monnier wrote: > >> What should happen is that >> 1) packages.el should see that I'm trying to install a package that requires >> 9.2.6 as a dependency and it should notif

Re: org 9.2.6 and org 9.1.9

2019-11-26 Thread Stefan Monnier
> What should happen is that > 1) packages.el should see that I'm trying to install a package that requires > 9.2.6 as a dependency and it should notify me that 9.1.9 is already > installed and do I really want to do that, etc. > > 2) *or* just consider that it's better for me to use 9.2.6 instead

Re: org 9.2.6 and org 9.1.9

2019-11-26 Thread Jean-Christophe Helary
l 'org-plus-contrib))" > > HTH, > > Malcolm > > > > From: Emacs-orgmode On Behalf > Of Tim Cross > Sent: Tuesday, November 26, 2019 3:41 PM > To: Nick Dokos > Cc: Org-mode ; Emacs developers > Subject: Re: org 9.2.6 and org 9.1.9 >

RE: org 9.2.6 and org 9.1.9

2019-11-26 Thread Cook, Malcolm
package-refresh-contents) (package-install 'org-plus-contrib))" HTH, Malcolm From: Emacs-orgmode On Behalf Of Tim Cross Sent: Tuesday, November 26, 2019 3:41 PM To: Nick Dokos Cc: Org-mode ; Emacs developers Subject: Re: org 9.2.6 and org 9.1.9 CAUTION: This email was rec

Re: org 9.2.6 and org 9.1.9

2019-11-26 Thread Jean-Christophe Helary
Nick, thank you for your reply. > On Nov 27, 2019, at 4:15, Nick Dokos wrote: > > Jean-Christophe Helary writes: > >> org 9.1.9 is a built-in >> >> but org 9.2.6 comes as a dependency to some packages and having both >> installed creates conflicts. >> > > What conflicts are you seeing? At

Re: org 9.2.6 and org 9.1.9

2019-11-26 Thread Tim Cross
There is a very important rule which must be followed wrt org-mode installation. It is critical that no version of org is already loaded before installing a new version. This can be quite tricky as many of us have org setups which automatically load some org functionality without explicitly opening

Re: org 9.2.6 and org 9.1.9

2019-11-26 Thread Nick Dokos
Jean-Christophe Helary writes: > org 9.1.9 is a built-in > > but org 9.2.6 comes as a dependency to some packages and having both > installed creates conflicts. > What conflicts are you seeing? I have the built-in 9.1.9 org that comes with emacs but I run (close to) latest master and I see no p

org 9.2.6 and org 9.1.9

2019-11-24 Thread Jean-Christophe Helary
org 9.1.9 is a built-in but org 9.2.6 comes as a dependency to some packages and having both installed creates conflicts. Why does that happen ? Can't 9.2.6 override 9.1.9 ? It's not the first time I have issues with that situation and that's extremely confusing. What is the best way to solve