From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Cook, Malcolm" Newsgroups: gmane.emacs.bugs Subject: bug#59882: Multiple versions of Org in load-path problem Date: Fri, 9 Dec 2022 19:47:59 +0000 Message-ID: References: <87tu27jq7h.fsf@localhost> <87k032nyok.fsf@localhost> <39a5810d-75bc-4ddb-8722-703f762ed4de@app.fastmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28534"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "emacs-orgmode@gnu.org" , "59882@debbugs.gnu.org" <59882@debbugs.gnu.org> To: David Masterson , Michel Schinz Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 09 20:49:21 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p3jN2-0007Bi-QO for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 09 Dec 2022 20:49:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3jMo-0005bT-Mi; Fri, 09 Dec 2022 14:49:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p3jMk-0005XJ-4E for bug-gnu-emacs@gnu.org; Fri, 09 Dec 2022 14:49:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p3jMj-0003WP-S6 for bug-gnu-emacs@gnu.org; Fri, 09 Dec 2022 14:49:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p3jMj-0002Vd-LT for bug-gnu-emacs@gnu.org; Fri, 09 Dec 2022 14:49:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Cook, Malcolm" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Dec 2022 19:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59882 X-GNU-PR-Package: emacs Original-Received: via spool by 59882-submit@debbugs.gnu.org id=B59882.16706152869544 (code B ref 59882); Fri, 09 Dec 2022 19:49:01 +0000 Original-Received: (at 59882) by debbugs.gnu.org; 9 Dec 2022 19:48:06 +0000 Original-Received: from localhost ([127.0.0.1]:38096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3jLp-0002Tq-Sh for submit@debbugs.gnu.org; Fri, 09 Dec 2022 14:48:06 -0500 Original-Received: from us-smtp-delivery-170.mimecast.com ([170.10.133.170]:52287) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3jLn-0002TY-Ty for 59882@debbugs.gnu.org; Fri, 09 Dec 2022 14:48:04 -0500 Original-Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2108.outbound.protection.outlook.com [104.47.58.108]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-84-Lwj4GNbqPMSUcHdFs5dcXw-1; Fri, 09 Dec 2022 14:48:01 -0500 X-MC-Unique: Lwj4GNbqPMSUcHdFs5dcXw-1 Original-Received: from DS7PR20MB4671.namprd20.prod.outlook.com (2603:10b6:8:79::16) by CH0PR20MB3851.namprd20.prod.outlook.com (2603:10b6:610:dd::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.13; Fri, 9 Dec 2022 19:48:00 +0000 Original-Received: from DS7PR20MB4671.namprd20.prod.outlook.com ([fe80::a2ca:ae14:c459:fc31]) by DS7PR20MB4671.namprd20.prod.outlook.com ([fe80::a2ca:ae14:c459:fc31%4]) with mapi id 15.20.5880.016; Fri, 9 Dec 2022 19:48:00 +0000 Thread-Topic: Multiple versions of Org in load-path problem Thread-Index: AQHZCR5eZDy5J6kF+UuTmomTbhGr6K5ibgoAgADrUJ6AAD7mboAAAlGAgAC5oRiAADryuoABbA5g In-Reply-To: Accept-Language: en-US x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DS7PR20MB4671:EE_|CH0PR20MB3851:EE_ x-ms-office365-filtering-correlation-id: 9304fad3-32f7-4301-a67d-08dada1e46ec x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0 x-microsoft-antispam-message-info: 33kYtYfbspyhOnsNf2ys2WeQvewvTfFhy5zQhfD4OcBLusq8d9MOny81i0N3lpFKZZWretA7JJjO7EnGylJXTTbdUAaYS/IMosP1cdko2/R0LMdbgzizeFy+uHrdTOgOcISmMIGZxXegCDMZGXs5xxXWC3gJMNXNzkBN7uJBRiuhNB9xhZCambqtTqsyxMi/HVAEmCEq7nzO5MM9aG23lPJCqWxPgv75z1EZYpnC2asnYp4JFrw9YccNdCzNK8cBQH3zPqbihTZZGKdDW4L6U5x9zrxcssz1aeLW63XNUHTO30sqPe6/q5jOFNY3oGK40kSEyOGtDTtIXAzxuZo0A+gQiflJxsGnmx05pcf/yOCPOnpbkNRLtjGar9OCNu7PZ8HjROeuWd72dAcWRD68kJSFJ1DI2hqA94WiyvRlB0TCkJlInrQ2vHgQbFPHDOBXvqwrZb9TzRonUPqGgQN2bl676rvKVp8tm8biGqYyFAu1T8/C6FyuI7mkIyeJHn3MXLMQavukTO61o9UwQNxiO/m+j30u27tMjzaaSfeDXMRgpEvBoOVH3d/jlgYCs3vzOacHmtj55RQ9xBRK4XB+OAqwP+kyzndf7Q4P/SLK0trCuI4u9+OxPTOK7WaCn/y9PJVu0SuuRRxGfZ8+6ww/6gfC3YmlEJpY7dAm5e42HaivcJTVs7EbvZ+vAKEbp4ibTczIW0Gjvh94F6CFsCTdzJdkcgAfsadg9tuWCJSUv/M= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS7PR20MB4671.namprd20.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(346002)(396003)(376002)(39850400004)(366004)(136003)(451199015)(86362001)(8936002)(41300700001)(478600001)(66476007)(5660300002)(64756008)(66446008)(966005)(66946007)(66556008)(4326008)(54906003)(76116006)(38100700002)(186003)(8676002)(316002)(52536014)(26005)(6506007)(2906002)(83380400001)(786003)(7696005)(38070700005)(55016003)(9686003)(33656002)(110136005)(71200400001)(122000001); DIR:OUT; SFP:1101 x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: vPAR0xiU2oZD44gRlWJKdGHMm5yjWUb0L3VU2vw6Pe9ZF0lEDh0r/D8ouhl3aSHzwdmUG6IJdDwT6mNE+EJhYsNjnVY6I8oM2oJkXIHj2lfrQ4q1+6R6CH5UCS6Agm95Juo5PAW3cu/hmTynPyTN4t3ki/waUj3REzf1H//Xny5W/feVWcYYlFZGGNYMXkNJCk6RLXRVwkaGx2ZzrEMYYxvX7wGvvO+cBY+DB7KWyxziCFmffgT08c36PDe1IT8Q9Ns6AHKlmwRTg81GfUbu/CuwZ/qweio8XWpNsVZ/hr2cvqHl7ffLxtI4niUhXeKY5/BR+UV29UXooM9j8CwJH2WDVgSzHJQzv8aKPASktsDq+SkGCFDMgJuEgUZqJKfFgAunp8TFfeNZnV2qHNxFZvpuQJ6Gqr6ljSgpRb6WhF5XA+T5hYvoI8yAtfR3R7rKPWaLad69wNoa9ukY00J+ncs7pqysY7ATfSKbKFZXcdv1gT9dKH8X6GKwc90l1SEMEzhmfMZMTZB2Hjb9IKOPIgayvTGZm8glRklJzfQDoL60nfkzGG8umHli9dS9pckNw4GVgNKwPPF5W591xUL9lpZLrMDy2IXE1QgqUngA0RER4TiVkD+FnL6Pw27NDY6QdU1WRJ6gTcEL9C69z1Z4D0mdfcKhelh8U52u+/SUJs8Ce4M2UomwZ2gktzcOQ4Fbxi5ORhJZehuZ4uaSiScnhJTojxlhqR+5vr8OWdRU0Wc6bNirhthg8I5bFl OiJTdzNAHpXai4dtcYqK2d7Gv3IIbq2YSbkfRKvB53cHQ2RCCtovFTJ6tr2twihFumw+lDqxEYMWg4KxdpnqKjIBiOUJBhibTM X-OriginatorOrg: stowers.org X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DS7PR20MB4671.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9304fad3-32f7-4301-a67d-08dada1e46ec X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Dec 2022 19:47:59.9509 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3ab7a17c-a0ab-4280-b9f3-bb144eebee49 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: MMtzA4OGk9vIqo8KWdvvpzcocbb73T3jpT+Ah5Nprj1AWPvaHyCduWtiMiTNRi2r X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR20MB3851 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: stowers.org Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:250443 Archived-At: > Adding this to bug #59882 >=20 > "Michel Schinz" writes: >=20 > > Just for the record, I also ran into problems when installing Org 9.6 > > using Emacs' package system on top of an older version that came with > > Emacs. If I tried to install it as usual (M-x list-packages, then > > install the package from there), I had errors during compilation > > related to `org-assert-version`, and then if I restarted Emacs, I > > would get a fatal error in an unrelated package. > > > > I managed to solve that problem by: > > 1. uninstalling Org 9.6 and exiting Emacs, 2. starting Emacs with -q, > > 3. installing Org 9.6 from there (using M-x list-packages as usual), > > 4. restarting Emacs. >=20 > Interesting! I tried this (essentially) and it worked for my case. In m= y case, I > had a built-in Org-9.3 and I was trying to use list-packages to install O= rg-9.6. I > checked that using -q still added Org-9.3 to the load-path, but, since Or= g > wasn't loaded, the install via list-packages worked. >=20 > The question is what's the proper way of doing this without '-q'? >=20 > > I'm not sure this is related to your problem, or whether that helps > > (but I hope it does)... >=20 > I think it does. >=20 > Side note: >=20 > In my testing, I found a strange case where, in *scratch*, I get: >=20 > (message "%s" org-version) > ;; Error undefined > ;; Do 'C-h v org-version' > (message "%s" org-version) > 9.3 >=20 > So, 'describe-variable' on org-version causes Org to be loaded?!? [Cook,= Malcolm]=20 Yes. See https://www.gnu.org/software/emacs/manual/html_node/elisp/Autoloa= d-by-Prefix.html But it will NOT be autoloaded if you first: (clrhash definition-prefixes) HTH & YMMV, Malcolm > Why do I > have a feeling this is related to this bug? Yeah, I'm not sure what you consider the bug to be now. Remind me? >=20 > -- > David Masterson