From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
Received: from mp2 ([2001:41d0:2:bcc0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms0.migadu.com with LMTPS
	id sA+eBocadWE2cwEAgWs5BA
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sun, 24 Oct 2021 10:34:15 +0200
Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp2 with LMTPS
	id CBk8AocadWFsfAAAB5/wlQ
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sun, 24 Oct 2021 08:34:15 +0000
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 483C32FF11
	for <larch@yhetil.org>; Sun, 24 Oct 2021 10:34:14 +0200 (CEST)
Received: from localhost ([::1]:34748 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 1meYxJ-0000OU-6h
	for larch@yhetil.org; Sun, 24 Oct 2021 04:34:13 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:39692)
 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 1meYwe-0000OM-Pk
 for emacs-orgmode@gnu.org; Sun, 24 Oct 2021 04:33:32 -0400
Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]:45716)
 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 1meYwc-0004l4-91
 for emacs-orgmode@gnu.org; Sun, 24 Oct 2021 04:33:31 -0400
Received: by mail-pj1-x102a.google.com with SMTP id
 ls14-20020a17090b350e00b001a00e2251c8so6089570pjb.4
 for <emacs-orgmode@gnu.org>; Sun, 24 Oct 2021 01:33:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:to:cc:subject:in-reply-to:references:date:message-id
 :mime-version; bh=syCqBXIIMzA+G7kqIT2bnssKXvTeFVr9E4rIoalUC0M=;
 b=IWShvJJoFTocUxFabipXhqzJANsp2fOEcGLFbBgirHh62c0rKDMn4L8b4fqugau89O
 AnKHtezfAw9QUonFHF4uKfRLZHSYrUjvsKwXgOSpug+XkjgCpHaJpq7oKJ6VyKfO6A1O
 beSw1NWGTNbzbkB2FO5qqcK+PzMutl/rQKJJ9J9OqJZ2mH6h8AcDf5SwG/ejDqi/xN/z
 bD/1tUhOGuij63qXtYCGDQltblMxivfpOA1K2wB0QzIAQxv5uebQ9AMA1CR7f4b4/7HP
 ORrKGjS9zKSRhPP/+4/YyaNdDjcDVm1CK9piMzihhRtuTTeMCLbkTC1jftQqkuL0rHU1
 A2LA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date
 :message-id:mime-version;
 bh=syCqBXIIMzA+G7kqIT2bnssKXvTeFVr9E4rIoalUC0M=;
 b=KDhBim32RkwmSRlBh1CssyLULv2XUOSwHeYubpapTFocDUVscD6iTUugrpLT9RousR
 Zkbk3SNsL7dJ0cKZQk7xPPPcmF8DgaPhsygrWCl0fo8CUMIj9XW07dRiMZARp84Ns0KX
 0rFCoLQx4loR1GWerzWe0u/gPOIrRGby5RoGBNXFaZaE9uKw1z7WNG2IyY0sfd7+EvOo
 +JVw23NtfrjxUUsjceHSYhEfMSdeF58leFrIqEWz5dcbqpxjQA/fd8wL8VzvD8QD4Sj4
 w1MchQhiE5eh5ON+MHWiy/zlaeQmnBQ4GkRSOMU44ExUM1P2nLjPUj8XanQ44h+T+4DA
 xCCg==
X-Gm-Message-State: AOAM533nzlZxTkC2D2akFwbrQL3tA9bvV/cgFtPFC3inua8yQzbuQXHe
 6qpdY89em0hSEUA1NuDHheQ=
X-Google-Smtp-Source: ABdhPJyCRtWNxpxrrJ4uDqVQyxvc5101PoJn+ohQX9LO2KQwLVmQ4M2SXfFo2YHndD8D5VfNCzpYjg==
X-Received: by 2002:a17:90b:341:: with SMTP id
 fh1mr12273612pjb.6.1635064408832; 
 Sun, 24 Oct 2021 01:33:28 -0700 (PDT)
Received: from localhost ([103.125.234.210])
 by smtp.gmail.com with ESMTPSA id y20sm15339331pfp.68.2021.10.24.01.33.27
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 24 Oct 2021 01:33:27 -0700 (PDT)
From: Ihor Radchenko <yantar92@gmail.com>
To: Max Nikulin <manikulin@gmail.com>
Subject: Re: Fwd: errors when using org-agenda
In-Reply-To: <sl34pn$q98$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>
Date: Sun, 24 Oct 2021 16:34:53 +0800
Message-ID: <8735oqvn0y.fsf@localhost>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2607:f8b0:4864:20::102a;
 envelope-from=yantar92@gmail.com; helo=mail-pj1-x102a.google.com
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.8 / 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 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: emacs-orgmode@gnu.org
X-Mailman-Version: 2.1.23
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>
Cc: emacs-orgmode@gnu.org
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
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1635064454;
	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=syCqBXIIMzA+G7kqIT2bnssKXvTeFVr9E4rIoalUC0M=;
	b=N5vbZjI3nXnNa7YJVHri2hVRd0IAK4lX6KOIVdIyMtyyTaowEWEZ1PdiehmFHRD93DGLvD
	ByGi9ovNpm0O8FCNSjfbwLVk3JLkCPpzxtfhMRAmr2PABzJviMIOxtXMoJ6r3fEr72GKxG
	XMe3pdN/eXhVVW0QmniYMaSV5z8NTAVZjvlLCoqkmAyNMSwIYLCP7L4i63Ha5+7fDOZoY9
	9C1G3xBHkZv6DfWlDwfZVKurb1bDfUmAi36h0uosDwL3uSJQsw4PxmwDRJEqUeGrxC95ho
	guHLydXdzQn/01u2liwJCPM6Dl++ws/r1oeoHhjhAtiVKZBHB8bzqUbRNAF8bg==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635064454; a=rsa-sha256; cv=none;
	b=OEEsG0VnGgJf/mG261Nd+eEGTTzpJQTf/lkHnruz8TsqjbCjpcRrWYk+VObyKuL5zfAi2D
	6H4gMBh1o4BZ+5opcRNOm6W2jhphcyIluVZv66VkPBoK0ed7oh5EVN8ERNB8QzdYrGv+Eb
	4EoEE3FLljBO6J0EBKuUTKoyXJ3fP0SCPDHj43D0c+GmCX812atw90thU81dLPdC08GVW1
	ek4mTO07uGvdELWR4DLQqlfMSJVwcRol05wPNRx2nmM/tV+QshIAXACQHW6iMGEzZRgcCT
	IM9w0keuVhOEE1LOfupUh1JdoZWrhXktQ93mHnVI1h2hqJ01YrXls9jiex/UbA==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=gmail.com header.s=20210112 header.b=IWShvJJo;
	dmarc=pass (policy=none) header.from=gmail.com;
	spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org
X-Migadu-Spam-Score: -2.62
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=gmail.com header.s=20210112 header.b=IWShvJJo;
	dmarc=pass (policy=none) header.from=gmail.com;
	spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org
X-Migadu-Queue-Id: 483C32FF11
X-Spam-Score: -2.62
X-Migadu-Scanner: scn0.migadu.com
X-TUID: PA4EewqHUEkS

Max Nikulin <manikulin@gmail.com> writes:

> `org-version' with FULL argument checks whether org and org-loaddedfs 
> are loaded from the same directory and adds "mixed installation!" to the 
> version string. `org-submit-bug-report' puts full version to the message 
> subject but it is easily to miss this warning since it is in the middle 
> of the long string.

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.

Best,
Ihor