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:40:17 +0000 Message-ID: References: <87tu27jq7h.fsf@localhost> <87k032nyok.fsf@localhost> <39a5810d-75bc-4ddb-8722-703f762ed4de@app.fastmail.com> <835yel11x8.fsf@gnu.org> 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="29941"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "emacs-orgmode@gnu.org" , "michel@schi.nz" , "59882@debbugs.gnu.org" <59882@debbugs.gnu.org> To: David Masterson , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 09 20:41:52 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 1p3jFo-0007cq-KG for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 09 Dec 2022 20:41:52 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3jF3-0001oe-55; Fri, 09 Dec 2022 14:41:05 -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 1p3jF1-0001nW-FV for bug-gnu-emacs@gnu.org; Fri, 09 Dec 2022 14:41:03 -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 1p3jF1-00074i-7f for bug-gnu-emacs@gnu.org; Fri, 09 Dec 2022 14:41:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p3jF0-0002NZ-Oc for bug-gnu-emacs@gnu.org; Fri, 09 Dec 2022 14:41:02 -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:41:02 +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.16706148279123 (code B ref 59882); Fri, 09 Dec 2022 19:41:02 +0000 Original-Received: (at 59882) by debbugs.gnu.org; 9 Dec 2022 19:40:27 +0000 Original-Received: from localhost ([127.0.0.1]:38057 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3jEQ-0002N5-Kl for submit@debbugs.gnu.org; Fri, 09 Dec 2022 14:40:26 -0500 Original-Received: from us-smtp-delivery-170.mimecast.com ([170.10.133.170]:53201) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3jEP-0002Mz-E2 for 59882@debbugs.gnu.org; Fri, 09 Dec 2022 14:40:25 -0500 Original-Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2173.outbound.protection.outlook.com [104.47.57.173]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-288--ddFJfVyPRenuYdu09v42w-2; Fri, 09 Dec 2022 14:40:22 -0500 X-MC-Unique: -ddFJfVyPRenuYdu09v42w-2 Original-Received: from DS7PR20MB4671.namprd20.prod.outlook.com (2603:10b6:8:79::16) by MW5PR20MB4427.namprd20.prod.outlook.com (2603:10b6:303:1a2::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.14; Fri, 9 Dec 2022 19:40:17 +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:40:17 +0000 Thread-Topic: bug#59882: Multiple versions of Org in load-path problem Thread-Index: AQHZCR5eZDy5J6kF+UuTmomTbhGr6K5ibgoAgADrUJ6AAD7mboAAAlGAgAC5oRiAADryuoAAm71hgAAHAgWAAKo6wA== In-Reply-To: Accept-Language: en-US x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DS7PR20MB4671:EE_|MW5PR20MB4427:EE_ x-ms-office365-filtering-correlation-id: a7a35249-99e0-4848-dfb4-08dada1d3330 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0 x-microsoft-antispam-message-info: F7m+llPe/4nHmzUicYrYsw/dLOTE3g00Yk57kqHm65ckwj6EWQSjUpU8GYVMzfif4tknSOXe9vf723j8wme0VRFiQNX2AzTIWzAoS0wg9ELLus4BQsACz42gFyghLs1KT7XScyNCcDBWWwL9v2RQkAHp+OrYeff95OkVKwCfGeB4fBGyoBMCJtZY7k83pi8ndeHtHGCH2MiR4DU+MgSe2XXEl7wMWdMNgxuSTlEdCXaPcvVAfyZHDqHBsitpnX8rmQBUXZ2moCDqLCc1Run8LBtN6mQ5RklY9R76fkvOxU4HlDYR2UKvt5mHnDDSEWwIpSl3ZyIYGPTFXHZ3vvE9+h6zvjtLrb7bijRHM36EzVB+8pDfUAqU63tZ2oGLWKezw0q/fKBXMnmVIHKOdTxYJ3W1gLSDlA7uueoH/AJnz96Y5cthpL7mZzSCkqOORA6aoMH1vtCUEqwom58qM8SoZYZgs/hddd2Cc24BK09VzOMUG+QOZuBR0Milw5l5kYkoIqZar+Z8+JNW32Yc+o4cYbhtSxm//HDRAs1jpWfGj5ViyTjG3NfEqIlVWkTyEAR4xjTKQKy4a2dANcC6ppYa5ngZMf7acYOX6zUntQcmXiw+kh8wyoLmxZtgDHDpXsmaUXoyzUjQus0bo0osOdtzxGcgj0M/QMLeEfdW/W0MTyGmKSRs3MqPLN8xni+8qfQXiDt+Wb0XmGPlnndOKYmGrNwFL6H8czkipjbMHbhuIgQ= 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)(39850400004)(376002)(346002)(136003)(396003)(366004)(451199015)(26005)(786003)(86362001)(316002)(9686003)(76116006)(2906002)(54906003)(110136005)(83380400001)(33656002)(8936002)(55016003)(52536014)(5660300002)(66556008)(8676002)(66476007)(4326008)(64756008)(66946007)(66446008)(41300700001)(71200400001)(38100700002)(966005)(478600001)(122000001)(186003)(7696005)(6506007)(38070700005); DIR:OUT; SFP:1101 x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: De9R+iUGSD0vRn2JNbQNEah9zX4WeHlm4/oblGjEcl/qUfAd5ZrEpAC+xbkXoTdoBR/XbySLzKXD+zaYJxU3JqDnQNC1JcBt7wURJcML6Cema5NArN834pYD4UDmm5IjGEqyvgn2MwHm6/zGydRIZ1Rzb80I/DVAK7YkbBz4ii6uTbKCyV8yDM3Ys788hLVziR0vyoA96kCyutGXXnI6Pf3YhJUSr7H4US3NB4r5zQgFJ8wjra8kAh86g+Zi141M4hUDkxEFm69jet1tZid0eWAL18bUlT9A56RYx3CbN9dWhsMPDZNmHCIt7k007xno2M9TAgLmQFcm+xnvkIIVxvRtcT9vakn8kbwDS7IVGojABb4sMxp897naULSlyS0DRKAmpPGnqGZys1Q3BbdwfH7csEBtNKNCjiRum5YFgfdEgnOk5uaG2FnvUaFeLC6X0+TY4nOqKnCXBPxnp802QLo+AjURuPif9U+2E1N8YlXoJTfQ5OIB8eTLl7OGWBBnkEZZNepKKDkS6FceaCKkkt/bsm28tB11E/3x+f5ORf1b+tYuH5B9iEVePw5bXrBQJ3F/bkgdlEUNRfiw468FxyvRe0F+W+3ptGwt8q1sdIsqEeXK4a9RHxOFNSmlW7hzJv02x3Nsv6f4bes4Cye2+pF4i+aXlDB0W2zGIqi2wAljZ4fH71B4PrczX+8w0GCIs4r5FxdOPKqy6zRANAeEYO7KpSIVY3jKpZLQ4+YTfHmheV74mplsjJMU0Q k7zgyyofidXdqVpegEtJsgZI/4fRkWhmPm/Fe0VxtMNE0KNcmBuwTkrpvzqNHke6E2eNVC55G8hDzWabApE2nVst9EgIjgTyFC 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: a7a35249-99e0-4848-dfb4-08dada1d3330 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Dec 2022 19:40:17.3625 (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: 9MSqg0jf4diUuKgF7lhyqr1vV23zlOr0khgqYwHzFVyY1l8p+cCKYIwbfM9MDXzy X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW5PR20MB4427 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:250441 Archived-At: > Eli Zaretskii writes: >=20 > >> Cc: emacs-orgmode@gnu.org, 59882@debbugs.gnu.org > >> From: David Masterson > >> Date: Thu, 08 Dec 2022 13:56:03 -0800 > >> > >> In my testing, I found a strange case where, in *scratch*, I get: > >> > >> (message "%s" org-version) > >> ;; Error undefined > >> ;; Do 'C-h v org-version' > >> (message "%s" org-version) > >> 9.3 > >> > >> So, 'describe-variable' on org-version causes Org to be loaded?!? > > > > Why is it so surprising? Is this the first time you see that a Help > > command loads something to do its job? >=20 > Yes, it is surprising. How did Emacs know to load Org to find org-versio= n?=20 This is provided for via emacs' autoload by prefix mechanism. See: https://www.gnu.org/software/emacs/manual/html_node/elisp/Autoload-by-Prefi= x.html What you observed will NOT happen if you first run: =09(clrhash definition-prefixes) > didn't request it to by this action. Or did it do a package-activate-all= (or > similar) to ensure that everything was loaded? > That would be overkill. Sometimes the best answer is 'nil'. >=20 > -- > David Masterson