From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6KaOCpU972Bb1AAAgWs5BA (envelope-from ) for ; Wed, 14 Jul 2021 21:40:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id cJ6NBJU972A0aQAA1q6Kng (envelope-from ) for ; Wed, 14 Jul 2021 19:40:05 +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 A950C23B9D for ; Wed, 14 Jul 2021 21:40:04 +0200 (CEST) Received: from localhost ([::1]:40130 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m3kjj-0004f3-Mx for larch@yhetil.org; Wed, 14 Jul 2021 15:40:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m3kj2-0004es-Ac for emacs-orgmode@gnu.org; Wed, 14 Jul 2021 15:39:20 -0400 Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]:33349) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m3kj0-0005IR-SF for emacs-orgmode@gnu.org; Wed, 14 Jul 2021 15:39:20 -0400 Received: by mail-pf1-x432.google.com with SMTP id m83so2992854pfd.0 for ; Wed, 14 Jul 2021 12:39:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:subject:in-reply-to:message-id:date :mime-version; bh=YRvtZF3KVEfvO/ixHP3I6+4TkYVF/cKlTeyGUveUcL4=; b=KA/dgbBkepmazJZYRzt5eZqxEbKfjFICwHBVc2hn0zxRsvbo8ZAsF8YtlGDL+ABaB+ RaLjhSAZ1FFZ2Ef6oDenT17ztngOQu+WOFiCojQc4kROGtbLE8zQEW9AuI0SivGCzu2d RBcnTzNUYfuIN+fi1Sw/aYW72FAyjJHmAzOUm52Yii+pgzfBEWicgtlFrMiiKyUpaLzF 7FQT3ddV4+L/VqJ78nWlM4P7xDTHgvg0WIqVkVBGP61dgeTQvH7eDvjOyEIyTffBOX6l lro1/6RmiLUaCmUj35kR6iEgh2H1xLQdyGb70kfr1UCWeYQn26/lVTwGRc8RyUzFOQMH eCEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:subject :in-reply-to:message-id:date:mime-version; bh=YRvtZF3KVEfvO/ixHP3I6+4TkYVF/cKlTeyGUveUcL4=; b=MWdccJY49WmAq5qoE2ILgVN4xtPjXpSh/XBxS1rY+qjbY0rYcsAudrz4J4wRs9GNg7 saxJzzcAayBQK5Ph2nPLFqQw6l+aE9T5oALB4yRNC4nZAaNAhOC01gLyOAd1E8EIfrDw UhIwhIJ/ZTo5KKZoaIVUBDDzPQ18GYQJWWCaL5uA6yrh4PGxVa4s8dQ2AvTXNexW75Sm lZo4ZIUmzUzvyEr4LbTIxlL/cBIsEefCYDR1DakbxStClrqXHgBQWkD1dZzpeG/Zi5Hf fvJe6ujXNbT7yb2kpf2Jem0BkBs4aFIBshO5CBIAL9wz9zlAJumi+mgxtFE4ZM68o57l sr7w== X-Gm-Message-State: AOAM530Gbu36BHw8aai1XHVmU6kIP03UQDb4xfiE1/0Jla1otM7IJsC7 qzzNr9PQ4B8BQOTQpzDuKfm17AlvP04= X-Google-Smtp-Source: ABdhPJw3iioytf59RL2WXqc88hFbHXAGWHtvhVzXBjPi1nd4ZJO0RNy+uyCyNxmGw4gE++wY0LeN9w== X-Received: by 2002:a63:5616:: with SMTP id k22mr11054647pgb.211.1626291557271; Wed, 14 Jul 2021 12:39:17 -0700 (PDT) Received: from localhost (180-150-91-8.b4965b.per.nbn.aussiebb.net. [180.150.91.8]) by smtp.gmail.com with ESMTPSA id v10sm3783412pfg.160.2021.07.14.12.39.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Jul 2021 12:39:16 -0700 (PDT) References: <875yxfjthw.fsf@gmail.com> User-agent: mu4e 1.4.15; emacs 28.0.50 From: Timothy To: org-mode-email Subject: Re: [PATCH] be more cautious when setting csl etc dir location In-reply-to: <875yxfjthw.fsf@gmail.com> Message-ID: <87a6mok7mm.fsf@gmail.com> Date: Thu, 15 Jul 2021 03:39:13 +0800 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::432; envelope-from=tecosaur@gmail.com; helo=mail-pf1-x432.google.com 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, 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." 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626291604; 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=YRvtZF3KVEfvO/ixHP3I6+4TkYVF/cKlTeyGUveUcL4=; b=t6Ie5Up24+TlEC9A4puWHYOuCXc1CY+GvkPolHJuj1PAFkzV9OxUkiQVUiST3YGeSsUYVJ l/+O3RtAsXru/3GXfqLzKgZkshC/Bt8dMD3+/75fGmp09j/G2vI8P/gBLDWVo03aI3oFSY kli07UFw5H1OW6IBEYizFZE6kTs18i57VmbnZRIGJJp19nWj3GlSoaxpwvW7oYs3UGuBvI RzyBdLxvMVn7YyQxLh1Jo8HKpL+7/Q8MztbI8i0Evtc6P3hHCebLuk7s5JzqUlNnAuzyGb WQwdl+SZZIzMm57RYgLyQdxt/wuw1sXOgwN/MYI6wX2x1wc9U1QCWYuiVLTUAw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626291604; a=rsa-sha256; cv=none; b=gyW7KRuuo89zVuLfKRIosS9XpT4OEo+r8MtCXu8d00Av3Ad5ABIB52Nz3fc86725ZRN1qU IR92/tmLp+HE0UGN5lCX0Ph2bHMtZ7Ixhzt4XVvHOF4Ot39f6GfWnNONs1CuArsHbTy5IE l/ylFMs7XM1734avPLg6ppwUYW8MqFwA+Ya6WJbt4PkhA8ynIdMFyS5IVgln55pEskmPkN /QNNxdLDD3XDSQTNExM8NXMhO3aqXSB5N40pISg07GVuJ2jvVPoFW3hu4HmLkZDoZT3wlS wGpCZAFmIP5pR/PCNNhY+zZdhiXCOA2HEgJ1FiKwDZyXMjUSsrQ4Jntgbo6U6A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b="KA/dgbBk"; 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: -3.10 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b="KA/dgbBk"; 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: A950C23B9D X-Spam-Score: -3.10 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1AAcQByP06dF Applied. This seems quite simple, so I've taken the liberty of applying the patch. Please don't hesitate to revert it if something seems off. -- Timothy writes: > Hello, > > It's come to my attention that the current value of > org-cite-ctl--etc-dir is problematic for anyone managing Org with > package.el or straight. This patch adds a check to see if the initial > location actually exists, if it doesn't we try the expected location > when using package.el/straight.