From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
Received: from mp12.migadu.com ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms5.migadu.com with LMTPS
	id SDhrD+ioHWMxBQAAbAwnHQ
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sun, 11 Sep 2022 11:22:48 +0200
Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp12.migadu.com with LMTPS
	id aL8jD+ioHWM/EwEAauVa8A
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sun, 11 Sep 2022 11:22:48 +0200
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by aspmx1.migadu.com (Postfix) with ESMTPS id F0CDD9347
	for <larch@yhetil.org>; Sun, 11 Sep 2022 11:22:47 +0200 (CEST)
Received: from localhost ([::1]:37814 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	id 1oXJAs-0003FZ-RM
	for larch@yhetil.org; Sun, 11 Sep 2022 05:22:46 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:48202)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <yantar92@gmail.com>)
 id 1oXJA6-0003FQ-MQ
 for emacs-orgmode@gnu.org; Sun, 11 Sep 2022 05:21:59 -0400
Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]:35463)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <yantar92@gmail.com>)
 id 1oXJA1-0001D1-6D
 for emacs-orgmode@gnu.org; Sun, 11 Sep 2022 05:21:58 -0400
Received: by mail-pl1-x632.google.com with SMTP id t3so5851808ply.2
 for <emacs-orgmode@gnu.org>; Sun, 11 Sep 2022 02:21:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:message-id:date:references:in-reply-to:subject:cc:to
 :from:from:to:cc:subject:date;
 bh=iX2x7+n38M8UtY4MvzwmrY+ped1zijp/L1rZTPPm1tY=;
 b=nMvGMOP3ZZeFomThmOOF1WjEOJzdqWJCbwYNo7HUdeM+P1Y34Bi1RZ+yj19S62kI3j
 xOLzsmvsq/PXPlSzLKtROySCZWOevA1S8c5E1Bi/uH4c7J+Lp1RbsLNJcD+GSY9xoGUg
 VevjMR0Pg0+hYQfKj8X64oczlEJ9kxzXknaygMBgHypNZbobJUFMdg3H4tl5NuGXJt5Z
 hflMzoyRlbS5+N9aEPWiW3SNzJPm4485VB6FelGRAo6Nicbz7kWtubqJ5i7a1G/Q7ux8
 6MabpmO0FFZwzIvUKHqJSS//fNJaoXnCaF8HvLvFw/F6hzaKhszlGDc9Ole88Ax5+/YL
 zXVg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=mime-version:message-id:date:references:in-reply-to:subject:cc:to
 :from:x-gm-message-state:from:to:cc:subject:date;
 bh=iX2x7+n38M8UtY4MvzwmrY+ped1zijp/L1rZTPPm1tY=;
 b=Jjwaq3fQp0ptcRa2rDVjxaEuenRDoOrAswEMpTadubWsus9Yd2K6wgxVNoCsgCAnbR
 gPaaW4fsPCR2DaHCuuwNeMek4Yv7xRg+OzUVoXv0A3A+BVPQzrXUIwu7bWZd8vviDhlw
 XG4wWOpgWQUQ7bt/gA56YT5ZU6SzluCdnGAaP3OvsjD2/bceHe9ABV2TpXxYj1tnDe/z
 L/ktXR6RjSTtWaIQ5Fy1rGBmIOXFA8N10HGPsO1xESeeR8yp25q6K2LbatM1ZsM/fcsb
 hcGEOkFUlcbSBgAiQHMCGBvZAvMPMnqOI4YreD5ih3Z8ukxPGuwFhPiI14/kNXqv0txx
 8ddQ==
X-Gm-Message-State: ACgBeo0uVlEaWKfEt2zjk5s1m4Qbod8Z3ajquJbq02JJS5iKJxkKYhEo
 eYg1YxksYbZ5maBkHt4fwAE=
X-Google-Smtp-Source: AA6agR7wb8Brsn47MRdEfMRvwCh91YzQbS2jei1FOPX2MEfsqmSpOenbY1zJ8ZLNllqOgFA0qnf6hQ==
X-Received: by 2002:a17:90a:243:b0:200:80ea:a6f3 with SMTP id
 t3-20020a17090a024300b0020080eaa6f3mr18506463pje.9.1662888111598; 
 Sun, 11 Sep 2022 02:21:51 -0700 (PDT)
Received: from localhost ([2409:8a70:2bc:c850:8ec6:81ff:fe70:339d])
 by smtp.gmail.com with ESMTPSA id
 i1-20020a17090332c100b00172bf229dfdsm3585551plr.97.2022.09.11.02.21.49
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 11 Sep 2022 02:21:50 -0700 (PDT)
From: Ihor Radchenko <yantar92@gmail.com>
To: Max Nikulin <manikulin@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Fwd: errors when using org-agenda
In-Reply-To: <slbvqa$qom$1@ciao.gmane.io>
References: <733d6598-0efd-519d-ba13-08d127256b87@gmail.com>
 <3dd9032d-c18e-47ec-a26d-a3c2f1e3cbf7@gmail.com>
 <m25ytopjg9.fsf@blind-drunk.fritz.box>
 <1366768.1634984772@apollo2.minshall.org> <sl34pn$q98$1@ciao.gmane.io>
 <8735oqvn0y.fsf@localhost> <slbvqa$qom$1@ciao.gmane.io>
Date: Sun, 11 Sep 2022 17:22:45 +0800
Message-ID: <87y1uqw9i2.fsf@localhost>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2607:f8b0:4864:20::632;
 envelope-from=yantar92@gmail.com; helo=mail-pl1-x632.google.com
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: emacs-orgmode@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
X-Migadu-Flow: FLOW_IN
X-Migadu-To: larch@yhetil.org
X-Migadu-Country: US
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1662888168;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-type:content-type:in-reply-to:in-reply-to:
	 references:references:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post:dkim-signature;
	bh=iX2x7+n38M8UtY4MvzwmrY+ped1zijp/L1rZTPPm1tY=;
	b=bskvO6Wz7xYCeZqbUHP5AOY4WfK1Af2PBTeRi9sm8yBgYvTyJzqL6F2kDK130g7A+LHKIM
	Nn8y27uyvhX25kPvszG8hfYBztRuO3OYLpzJnOvblTG8+VfbA8j+ife73yIW2bMwRiX+gm
	D2/OZS0/vDgRUOGjAD6xnkTZuXRcamDoGTkOeCmWZiGa1bugu1EyBc9ehmIveLyPe2gYYh
	7lPIVhonYH9bDevz0ZYxSQaDOeQUtuRfoS41EMVYc4Bgq4GyOUl8M8OObYf+zd/GHCRo7F
	L40ylMFLCDMt/2a5CxU39we9L/4Lta2j+bGAOR6HYp+rlcSGnhHnZYH1VAVXeQ==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662888168; a=rsa-sha256; cv=none;
	b=LQu/0DNBk8chjivqsTSmrPgRtRtJFvsauNcLOZTjEfuD/7s6FS5eLD3Wrh9CuWUucIMsu7
	OVWv37BPqFQsieDESKdhRs3l0itQSzK4TQQrBbyXNbfwOIs/FQ6HaiuhdZ2ocSd1HyXzLb
	2cS8G9yst8v5BQVfEUL4ePo4xRuPt/JIi+t3tg2EPaZ5Np8+AIvOP/P2iO4oSqRn8/tuOl
	gBH7Uppw5nuNYp+NGh7ae27l05A67eiIykCEZgLZSFU6r1rQ9UCBgNmDy3JDFkpFgHGCaC
	I5IEQAT1zDg/HD2Bm3PUas0PC4APN0zcthX0fNcawF4eScJPmu5+5zvwxmQaIA==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=gmail.com header.s=20210112 header.b=nMvGMOP3;
	dmarc=pass (policy=none) header.from=gmail.com;
	spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"
X-Migadu-Spam-Score: -3.31
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=gmail.com header.s=20210112 header.b=nMvGMOP3;
	dmarc=pass (policy=none) header.from=gmail.com;
	spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"
X-Migadu-Queue-Id: F0CDD9347
X-Spam-Score: -3.31
X-Migadu-Scanner: scn1.migadu.com
X-TUID: vvoOxWxoM/WQ

Max Nikulin <manikulin@gmail.com> writes:

>> Yes, but unfortunately it does not handle early Org loading correctly.
>> 
>> Try the following init.el:
>> 
>> (require 'org)
>> (add-to-list 'load-path (expand-file-name "/path/to/newest/org-mode/lisp"))
>> 
>> Then run emacs -Q -l /path/to/init.el
>> 
>> M-x org-version does not report anything suspicious even though
>> M-x org-mode will error on current main because old 'org is trying to
>> load files from the new load-path.
>
> You are right, `org-version' can not catch such case. However 
> improvements of mixed install detection should be incorporated into 
> `org-submit-bug-report'. I would not mind to have more prominent warning 
> in the message body, maybe even with the link to the FAQ entry.

I think that after
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=e81a094383a2e06a80e6dfb5ed0ca1ece44026f2
we do not need to do anything about `org-submit-bug-report'. Org will
simply refuse to load and show warning if user tries to load mixed Org
files.

I consider this thread completed.

-- 
Ihor Radchenko,
Org mode contributor,
Learn more about Org mode at https://orgmode.org/.
Support Org development at https://liberapay.com/org-mode,
or support my work at https://liberapay.com/yantar92