From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Tim Cross Newsgroups: gmane.emacs.orgmode,gmane.emacs.devel 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" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="170250"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Org-mode , Emacs developers To: Jean-Christophe Helary Original-X-From: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Wed Nov 27 07:02:01 2019 Return-path: Envelope-to: geo-emacs-orgmode@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iZqOm-000i83-QA for geo-emacs-orgmode@m.gmane.org; Wed, 27 Nov 2019 07:02:00 +0100 Original-Received: from localhost ([::1]:33264 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iZqOl-0008Iy-6x for geo-emacs-orgmode@m.gmane.org; Wed, 27 Nov 2019 01:01:59 -0500 Original-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 Original-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 Original-Received: from mail-oi1-x231.google.com ([2607:f8b0:4864:20::231]:36480) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iZqN8-0007bq-Jp; Wed, 27 Nov 2019 01:00:18 -0500 Original-Received: by mail-oi1-x231.google.com with SMTP id j7so19066248oib.3; Tue, 26 Nov 2019 22:00:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0wV6c+huRElqf4svTmvYi5emG8Sgk118Q+tY5vMsJzk=; b=Z8ZcZsXQ8k+U85XoGi+PndemewoufbeuzasiLzF/vf3TTO4a8ND+WiEEer6VWt+vJV jnJnBiURGpCEQ+Xl5s6oGa8s+lBZoFVYDEYKx9rqBWHHrYh35pXWV1wPlnwhpk7UUcYh 3i6UplCdQTH3UmjuOR5FnGF6IMxKkGs5ADHlZpzJ7JcWmpfrKjNw4G3aRUxoz00wieDu BPbK7/LCwPalDu5rosZTxH/PxNNfbyBYCHUqpJLVHvaMiY6aPNxjtqpR2LJk5YZcv0os c3tSYB6C52ig+T+HVBdclVJsKC+9BwdtjceUN+QarP5iFX7eymQIk7GBeWhM6J6QSR79 NC4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0wV6c+huRElqf4svTmvYi5emG8Sgk118Q+tY5vMsJzk=; b=VSiuorXRQUyxpvaqqdMDX/uzyvX2H8wDD5uObkp7Q4FY/yaxXdxQQjL6tHBU0+rjxo 1XzkQKPfctUsM5mimvNBqpPAK/Ubmoaga3C7nyrNWroZTYyT2IYSuOnta6Kk2mtWBWKd 5bADIcPTzP+g5xHz0dCna1m5y7H3n6oD/oFwHDW+yByoBEC+G1jLS5zn0/0G0rFXWQcz LLeWUXgJhJ1CoSQLZppoDvCNo+ROhWzGCA2vutJbFCAImCH2fagPP3Vpo9/PIbXA2BOF PXK8UyStf+awR+YHYLq4wH95KLd0//PdKn7DNWLEMBn9aLbpW0fYEiR+8Nfbf84ZhO45 MRsA== X-Gm-Message-State: APjAAAV8Tpl4BEzvG/0Xe7AxVCI16PBOf2Z2o4tshF5lmta97JkqKjmm mqOs2w4COAP6KalPOUbO4As46JLVwaGjUYyV4hC+8A== X-Google-Smtp-Source: APXvYqwWI0DbN+HvODz+fP6s1rSuIBM63hPWPPCSl8/0V+eoGcEN7+jMFYGJzdUJtv0ykxXsPf+tlLvu0YGUqUqHYnk= X-Received: by 2002:aca:845:: with SMTP id 66mr2505433oii.137.1574834416220; Tue, 26 Nov 2019 22:00:16 -0800 (PST) In-Reply-To: <8325B7BB-3213-4C8D-9925-E6621695918D@traduction-libre.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::231 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list 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 Original-Sender: "Emacs-orgmode" Xref: news.gmane.org gmane.emacs.orgmode:126144 gmane.emacs.devel:242766 Archived-At: --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--