From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 7dh8JH3jc2G9IgAAgWs5BA (envelope-from ) for ; Sat, 23 Oct 2021 12:27:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id IDiXH33jc2FiPwAAbx9fmQ (envelope-from ) for ; Sat, 23 Oct 2021 10:27:09 +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 ABF611197A for ; Sat, 23 Oct 2021 12:27:08 +0200 (CEST) Received: from localhost ([::1]:48954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1meEF0-00088F-SS for larch@yhetil.org; Sat, 23 Oct 2021 06:27:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37224) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1meEEK-000862-2q for emacs-orgmode@gnu.org; Sat, 23 Oct 2021 06:26:24 -0400 Received: from relay-egress-host.us-east-2.a.mail.umich.edu ([18.217.159.240]:41444 helo=forgiving-culhwch.relay-egress.a.mail.umich.edu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1meEEH-0008CM-S5 for emacs-orgmode@gnu.org; Sat, 23 Oct 2021 06:26:23 -0400 Received: from immense-garuda.authn-relay.a.mail.umich.edu (ip-10-0-74-100.us-east-2.compute.internal [10.0.74.100]) by forgiving-culhwch.relay-egress.a.mail.umich.edu with ESMTPS id 6173E34A.C57E5.7CC496D.1588376; Sat, 23 Oct 2021 06:26:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=relay-2018-08-29; t=1634984778; bh=NGeLIAXMMOuf1DINoMN12e+J8bplX8WDp724KujI0lY=; h=To:cc:From:Subject:In-reply-to:References:Date; b=mm87gvy9ms1XVlQHuu/qd7q3NpxyLD7zPIZgsgWGdpRZs/AtbsoPM/OuAS5OZUQ5i eEIUawj1HLxtezfUovbxTvzTZI77wgL5u7ysplCJXiUF1DrRhO9tMusO+ZafiBPe8W kq5zrJygtbktVXlJMU9eWmkdys+iiA2obpsy1lAYx6jH5AIbfZK2jX3M5s94D+tQOn FPS/AAFyVhRS+7KKoQHu8m/aytUAD8PNEFXzK6oH91jn2pI3bax7QVSo1dtrJanWt+ lt3WRNrxHabdxD2F8JbQbvaZseorCObHTVvw9Y4c/grpRaPrzhYCLd3zZmbR/kZQgi bX0ctbLWfaqig== Received: from localhost (Mismatch [95.14.69.235]) by immense-garuda.authn-relay.a.mail.umich.edu with ESMTPSA id 6173E349.54BC8.498C498C.280128; Sat, 23 Oct 2021 06:26:18 -0400 To: Tim Cross From: Greg Minshall Subject: Re: Fwd: errors when using org-agenda In-reply-to: References: <733d6598-0efd-519d-ba13-08d127256b87@gmail.com> <3dd9032d-c18e-47ec-a26d-a3c2f1e3cbf7@gmail.com> Comments: In-reply-to Tim Cross message dated "Sat, 23 Oct 2021 12:57:13 +1100." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 27.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1366767.1634984772.1@apollo2.minshall.org> Date: Sat, 23 Oct 2021 13:26:12 +0300 Message-ID: <1366768.1634984772@apollo2.minshall.org> Received-SPF: pass client-ip=18.217.159.240; envelope-from=minshall@umich.edu; helo=forgiving-culhwch.relay-egress.a.mail.umich.edu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634984829; 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=NGeLIAXMMOuf1DINoMN12e+J8bplX8WDp724KujI0lY=; b=Vpuh5g6hwHvM7aoFGRXoePZzgOzzJs189JU62zbWDONEVAQMtxW4gGFJk7mzwdFR0Y8/9F HuEgBmj+YSyQyOX3P+yHV2+AdjlTzW+JxcJxgX/uPwHd2yWFxsGxiL1NAxwzxmFRxNyIja CYgk3I1we+FuV1TEElAjufbqt5aYiP+p9BLsl+pYh5wUm0Qhm8Aou43aStnKm54XtLMk9s SgwanZNbdcvh0KbeghxzRVwVmHai/39bbRNg369nvFkh6tvxVnPg3D81vJCl1nIxy+Bhzw sk8zhrgsjMduxrpnkcYhnojqJiXBLklyTXAJDjFhz8lpmoZ09AUd1K/mb1Eqog== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634984829; a=rsa-sha256; cv=none; b=dJPs42IAiO+7z8cwk8C1wIgpmj2/MG8DeC6Q9E6mp+sxBtJGB7EGI3jKNuxQyGCzy909Jm X7L3kcoUg4mQFpqSSEGKyStqrzuu3tWU+mE9rwE3bjiabFqXFFlptt5JZqiXSz8FSQ9ucB /G3qZJWYUd6Vu5T6M+iYQgfNuqRPrKqAzAcVSlbK6RnK8yOhb3KrW0ZZbaHD159BVRY1Zq OxoprCOwO+nGaLLlZtZsYyOshDx52gEIOfDIMdI4y526B4FtNT3L8SIgUfbv8Tw6Fbo8gC ea4eCBsI6KUnNJtW/Zo8d0bjfUX0STVI53UEcuXyvyH7vghYc+fA8ZzwFSA+hw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=umich.edu header.s=relay-2018-08-29 header.b=mm87gvy9; 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: -3.53 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=umich.edu header.s=relay-2018-08-29 header.b=mm87gvy9; dmarc=pass (policy=none) header.from=umich.edu; 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: ABF611197A X-Spam-Score: -3.53 X-Migadu-Scanner: scn1.migadu.com X-TUID: DLvra1wGBHcS Tim, et al., > These types of errors are frequently caused by a 'mixed' installation > of org versions. This will happen if you upgrade org when org is > already loaded in the instance of emacs used to perform the upgrade. a question: is there any way that we can, as org starts up, detect either the actuality, or possibility, of a mixed installation? maybe something like ---- (assert (eq 1 (length (seq-filter (lambda (d) (file-exists-p (concat d "/" "org.el"))) load-path)))) ---- or some such? (well, maybe fail in a more user-friendly way... :) cheers, Greg