From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Cross Subject: Re: org 9.2.6 and org 9.1.9 Date: Wed, 27 Nov 2019 17:00:05 +1100 Message-ID: References: <7D2A3D8D-CB71-4B0D-8839-9633BD9F9C4B@traduction-libre.org> <874kyqcuup.fsf@alphaville.usersys.redhat.com> <68782497-408D-4E97-8CA0-72B41882FB13@traduction-libre.org> <8325B7BB-3213-4C8D-9925-E6621695918D@traduction-libre.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000f57fb005984db58e" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:43320) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iZqNA-0008Iq-53 for emacs-orgmode@gnu.org; Wed, 27 Nov 2019 01:00:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iZqN8-0007gh-PK for emacs-orgmode@gnu.org; Wed, 27 Nov 2019 01:00:19 -0500 In-Reply-To: <8325B7BB-3213-4C8D-9925-E6621695918D@traduction-libre.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Jean-Christophe Helary Cc: Org-mode , Emacs developers --000000000000f57fb005984db58e Content-Type: text/plain; charset="UTF-8" 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 into the same problems. Bottom line, as org stands now, upgrading when org is already loaded is problematic. On Wed, 27 Nov 2019 at 16:44, Jean-Christophe Helary < jean.christophe.helary@traduction-libre.org> wrote: > 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 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 of > >> whatever comes with emacs and make sure that the older package is > forgotten > >> by emacs. > > > > I think 2 is the right option. package.el was designed such that you > > can have various versions of a given package installed. Only one of the > > can be activated at any given time, because Emacs Lisp doesn't provide > any > > way to do better, but having both Org-9.1.9 and Org-9.2.6 installed > > should be a perfectly normal situation. > > > > Any misbehavior that results from this should be reported as a bug > > (especially if it can be reproduced). > > > > > > Stefan > > -- regards, Tim -- Tim Cross --000000000000f57fb005984db58e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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 issu= es as anyone installing a new major version when an existing version is alr= eady loaded will run into the same problems. Bottom line, as org stands now= , upgrading when org is already loaded is problematic.=C2=A0

<= div class=3D"gmail_quote">
On Wed, 27 = Nov 2019 at 16:44, Jean-Christophe Helary <jean.christophe.helary@traduction-libre.o= rg> wrote:
monnier@iro.umontreal.ca> wrot= e:
>
>> 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 alread= y
>> 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 ins= tead of
>> whatever comes with emacs and make sure that the older package is = forgotten
>> by emacs.
>
> I think 2 is the right option.=C2=A0 package.el was designed such that= you
> can have various versions of a given package installed.=C2=A0 Only one= of the
> can be activated at any given time, because Emacs Lisp doesn't pro= vide any
> way to do better, but having both Org-9.1.9 and Org-9.2.6 installed > should be a perfectly normal situation.
>
> Any misbehavior that results from this should be reported as a bug
> (especially if it can be reproduced).
>
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 Stefan



--
regards,

Tim=

--
Tim Cross

--000000000000f57fb005984db58e--