From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 mDfeJE4tFGOd4wAAbAwnHQ (envelope-from ) for ; Sun, 04 Sep 2022 06:45:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id YKoDJE4tFGMvnwAAG6o9tA (envelope-from ) for ; Sun, 04 Sep 2022 06:45:02 +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 6DE391319B for ; Sun, 4 Sep 2022 06:45:01 +0200 (CEST) Received: from localhost ([::1]:32992 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUhVD-0002EQ-I1 for larch@yhetil.org; Sun, 04 Sep 2022 00:44:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37542) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUhUV-0002EH-El for emacs-orgmode@gnu.org; Sun, 04 Sep 2022 00:44:15 -0400 Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]:44558) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oUhUS-0007N4-Q8 for emacs-orgmode@gnu.org; Sun, 04 Sep 2022 00:44:14 -0400 Received: by mail-pj1-x1035.google.com with SMTP id j9-20020a17090a3e0900b001fd9568b117so5730002pjc.3 for ; Sat, 03 Sep 2022 21:44:12 -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:to:from :from:to:cc:subject:date; bh=bG30NeHnW69Jjl0JmgVZM8eoP07XcdZxj8O4PQxroR0=; b=jEcSZHgkJa/XDQQ5e9xYdW7NHnXmAh/gpHPht11Yy1GIaF7KkFAKpjPJU/ErHLwbKq ouYtGmtW7hVZqRTsz/i/ORKhZOj7NKJj9szoaWHS9L1AP/JILhznEB4AqKUmeAN6Fzfu JzatTRyLtwNa0nUcsCqHHNag8+fSgB+WpqwAKZB/AvR6N6tdGHSSHQWHLq1lBxPo1CgZ otypXh5TBFJl5ZH9pGI2vKbunQ3aop1h343dsnEOgbfNIsLvU8uPSfkU+pEJTLnWi/oH 4gXTjsGYPnD2s6C0DRaJ2VeUg6zn8gt2lo+pE1M8dFkXrxcGq8kK+JrkYb/CK6z4Kr6Y WBCA== 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:to:from :x-gm-message-state:from:to:cc:subject:date; bh=bG30NeHnW69Jjl0JmgVZM8eoP07XcdZxj8O4PQxroR0=; b=a0CYb/XjT5EpRHE5ltU+ihAerxQZhza65WQTVnmRYQ5kCcNcRuWXJjHn/9FsWU828d Uzrn8GRev6f/NFo208mAroqtqIGeEErntTZ07iJ3ceWTHBW1VrRZeGMfJ8FGGYw0Qm/8 R2cBa9jM32HVLBRhddmeINa6JRBr5kOolPJzx41HQAYHt2UgyfSvaX9qX1dYsT0PgS07 FAIB9rDLmbZtFViW9Znx0Y9b7sZDYqoWqmfkNK/0ZLQ7sp42esTmUS/yVn2uZR87In0A zq8DtRVoeHM6bhK9lbwaSvhmFbAjPD/D2wnRY7+85rn8eyvcVCvgROy1di27BOi6jLx5 OtjA== X-Gm-Message-State: ACgBeo1XD6UBs3otuxsdz9qg3HD4yRVUy8msVL7nSr6Z1PWPInMXumeh V7GB2DG6L2CvU2puF6Ji4LnVydcOiceL6w== X-Google-Smtp-Source: AA6agR6hYKxn4gqR5Iu7IzZPh4wapRkVSCDhrl2xmbzsHBrH3gAx6Kt2YqNsy7quHDRX7B22Qli7Ow== X-Received: by 2002:a17:902:7c01:b0:16f:9649:be73 with SMTP id x1-20020a1709027c0100b0016f9649be73mr42783523pll.70.1662266651082; Sat, 03 Sep 2022 21:44:11 -0700 (PDT) Received: from localhost ([2409:8a70:2b2:5800:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id h12-20020a17090a3d0c00b001f262f6f717sm7978194pjc.3.2022.09.03.21.44.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Sep 2022 21:44:10 -0700 (PDT) From: Ihor Radchenko To: emacs-orgmode@gnu.org Subject: Re: [PATCH] Prevent mixed installation In-Reply-To: <87a68ioqle.fsf@localhost> References: <87a68ioqle.fsf@localhost> Date: Sun, 04 Sep 2022 12:45:07 +0800 Message-ID: <875yi3694c.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1035; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1035.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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" 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=1662266701; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=bG30NeHnW69Jjl0JmgVZM8eoP07XcdZxj8O4PQxroR0=; b=BejXa/EoaaKwtQcdmHbI3aOQrEVJuZ7npuy1s8bmEx9qYdT9w4aKGoEiMGm5/TC0A+6MbD /SKFin13CZyZqJ4Mj2adGIiILQumbaJzU2uc2USxVpIEC08BbW0XF++SzcyVzFeB8ONvUS AwBKhTRoipf746v4I+wGMw6DmUHUSLrU25sFf7DQaln178EOaKhElNYpcP254/l01Gsvrc B0sslzob5o+seLKugoWymf8PFy+SdWYIDQLb88hi/ZqJTWJ97yO4soJy1+h7bbWUl09Uzs YCynPEkJPRQgNWmvaaOJ0SdtlGzH4w1u9HM5M6QL0UoS0jwwwrOGSxXJ309dAg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662266701; a=rsa-sha256; cv=none; b=M8hESN46MwKLLGXtUmfkWn9wWVGw46LWjfQTT9OqYJRJ1t157h9SCoWpRyMdT5p92V3CAO IAAr/itXGL4qfSwobCWZ4M0ulKlTrxXflMZ9xuiQXLB7uv4WGHAY1yiCE3/iHtxeqhsK6Q DXCfYoYm++XVLFdTIZ7FjkUZD/A2dMXz6hzIKLm+lCs2zHgE0f++ZnTR4x2/5FO0PdNjP6 jkbmIpnxvnSYUcuQDpP6dC0PSbvpjyF/OgtR1f52hCudHmcDUGcE3gU4e0TnwiJJKCR5RO YiK5cm5fnpRzNNgyxUQKC8wm/OHpkiLBs0pk9cuBj2dce+sM3COdC4imdqp52g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=jEcSZHgk; 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.27 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=jEcSZHgk; 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: 6DE391319B X-Spam-Score: -3.27 X-Migadu-Scanner: scn1.migadu.com X-TUID: i/jBVbWy2U2p Ihor Radchenko writes: > The annoying mixed installation problems keep popping up in the mailing > list and other communication channels. > > The attached is a patch trying to forbid loading multiple Org versions. > The idea is putting a macro that internally expands Org git version at > compile time and later compares the expanded value with the runtime > value. Applied onto main via e81a09438 after amendments. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=e81a094383a2e06a80e6dfb5ed0ca1ece44026f2 -- 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