From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id ZWoCAinTxGIuRAAAbAwnHQ (envelope-from ) for ; Wed, 06 Jul 2022 02:11:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id ABEMASnTxGJB1AAA9RJhRA (envelope-from ) for ; Wed, 06 Jul 2022 02:11:21 +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 A550587D9 for ; Wed, 6 Jul 2022 02:11:20 +0200 (CEST) Received: from localhost ([::1]:53482 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o8sdT-0006IO-M7 for larch@yhetil.org; Tue, 05 Jul 2022 20:11:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40316) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8sc4-0006Gg-OS for emacs-orgmode@gnu.org; Tue, 05 Jul 2022 20:09:53 -0400 Received: from mail-qt1-x834.google.com ([2607:f8b0:4864:20::834]:36813) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o8sc3-0000uh-9V for emacs-orgmode@gnu.org; Tue, 05 Jul 2022 20:09:52 -0400 Received: by mail-qt1-x834.google.com with SMTP id k14so16147401qtm.3 for ; Tue, 05 Jul 2022 17:09:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version; bh=dTfIrYguDRDxagqKoXpOvxU5K67O18SuDLQDL6Emhxg=; b=U0vXpQHhl8vOuqVFWaHyllhk25OU2wDidNMUH2MhFXNtxo4fYXDl7R/sRaY8aYN6eF x6UYfbnFMRECIA7nUh7VWAhX3ZdvdkEBOQGx8XdzvcMP+NtA+Li5RPevqEpsCNhVPuOo qsKZcSqDVh9ptIAg+aiddZCbKlZKo5jaFjFyo8gYwJHmEocc15VbKaeduxMuiYWLPkk9 8dRwY9M/YnholSJi8nWVCdj9JMHH71XcoHnCPg87CiYEepaBKWH35vENwuyZdg0EcFMT OwErE+n0yJZPYmKgDyPHXo7BVyzV2uEli2IjI8WR2xC7Q+yCeeFZMe+ug6/ClKNDVhzl WLXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version; bh=dTfIrYguDRDxagqKoXpOvxU5K67O18SuDLQDL6Emhxg=; b=fdksa2O2SeUdQIzR0kVE3hwxevUKt9Hxx8CrcgR+640VDB0f28X/Drxg7yAUf0y1Sq Xvf/rwVSCft2O1h3BfN8CcGGHIAMal3e+fUrCpmWs1OJJmk3CCAoQXp2vv0bHVDabeYM G2MpyHA2Z/FN5hfb/XZZLozkCUVxP8WfrOw62fFvvgcHj++PrXKXDjbtEIRvlpKRnoMT As0lGex+K+TozIJh3DWyol2LSEM9zSmK7YICQyTbA7eXVaZ9dapjAEwtP3xk6mBSx0fQ ttraqIzv8NT0Zd6Agwz1b74BA0YKZP6cCdhLkFFYu9oCLdBWRT45u+U3IUCMRbDxqHxL ChFg== X-Gm-Message-State: AJIora+2JvaVRFLup4tnKAflApnit2TvRANgN75kPka9A3qfiQEIwd6t TMWCgFd6X6k63HDbCJHO4j+Z3Q+eq8g= X-Google-Smtp-Source: AGRyM1t3Y5JYanGyc5fUKlo8iggJS/2UQZmKg3uny6v5kicsGHd4nMIshQsuX+wvz2hrEc7P6bHxZA== X-Received: by 2002:ac8:7d13:0:b0:31b:24f8:9179 with SMTP id g19-20020ac87d13000000b0031b24f89179mr30857424qtb.231.1657066189794; Tue, 05 Jul 2022 17:09:49 -0700 (PDT) Received: from nbook ([2601:82:c200:166d:7a0:14e6:e26:75bd]) by smtp.gmail.com with ESMTPSA id l26-20020ac848da000000b003177969a48fsm23162206qtr.21.2022.07.05.17.09.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jul 2022 17:09:48 -0700 (PDT) References: <87pmijgn5c.fsf@gmail.com> User-agent: mu4e 1.8.5; emacs 29.0.50 From: No Wayman To: emacs-orgmode@gnu.org Subject: Re: [BUG] [PATCH] Ensure org-babel-temporary-stable-directory bound-and-true [9.6 (9.6-g713598 @ /home/n/.emacs.d/elpaca/builds/org/)] Date: Tue, 05 Jul 2022 20:10:57 -0400 In-reply-to: <87pmijgn5c.fsf@gmail.com> Message-ID: <87let75cc6.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::834; envelope-from=iarchivedmywholelife@gmail.com; helo=mail-qt1-x834.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, 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=1657066280; 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=dTfIrYguDRDxagqKoXpOvxU5K67O18SuDLQDL6Emhxg=; b=ol+xuFVJrrHE8cpauQbWNUtQ3etPyfI0gYwh1OF1r14+K7u9MX8/sYZdHIdPCTP/j6kmTC Y4qnl2z5h2y8dmVlOK9QQNh2R6jFGKKxIwLWSUO+yIrMG+6sMuYVe52IQxfOiT5gDHI1Aq ScvWdier0Kv8JgA0XUWZ9lJAQ2JAqWGFsCJilcSnwWrBLZ5+LyAz4bl9HfTkJPpt86Gr5l LQ7XjPEr2fuehKT52t0byHHRx+NdvrDyNFlr29WCFSFXEUvg2GBhLcWd4EflxfeiHCes9G BgCMziHylD9jSre6o1VOofOiCXZFxxogh5hL3ici71Tnb6l5bY+rXxbQpw3jEA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657066280; a=rsa-sha256; cv=none; b=ZYFzHxxZCAYVLEIpBOZ4gejCFZbXcY+FPOwCZuTdbgq6QL+NJzHKbgKX/B/u6oiFk2cYc1 MFgqefZmTi6QHjVq4/Z5nWvO88AUBnTvYDNYWGF+Tm6sibB0eBFlONWvAvd+aEiDIwI7kM Rum8ffHI5+By3jAzYIgBOQn00MiVR4YsPV8pAHH+2sEWE90/xGZlnS55yFES9ciGvtMPi3 pHE4xjtbL3MISQRocUfEMwpxoMnwx1hGH4V/vk2W5jDowZ9zQYQdsQGN/Wwhd3RfE5YFGK LxkVIIYl6e8Wr/4YyaeD1Nu+yWuFCGFi1vwZEiAlJrNc8g14fu92vQHekzPlFA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=U0vXpQHh; 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.95 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=U0vXpQHh; 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: A550587D9 X-Spam-Score: -3.95 X-Migadu-Scanner: scn1.migadu.com X-TUID: nVIl6LSOukKB --=-=-= Content-Type: text/plain; format=flowed Sorry, that symbol should not be quoted in the patch. Amended attached. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-lisp-ob-core.el-fix-file-exists-p-error.patch Content-Description: take-two >From 87c400fa8cb3ffa9b4fcf1f958feab4506194a81 Mon Sep 17 00:00:00 2001 From: Nicholas Vollmer Date: Tue, 5 Jul 2022 19:03:44 -0400 Subject: [PATCH] lisp/ob-core.el: fix file-exists-p error * ob-core.el (org-babel-remove-temporary-stable-directory): Ensure org-babel-temporary-stable-directory is non-nil before checking if it is on disk. Otherwise an error is thrown during kill-emacs-hook. --- lisp/ob-core.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ob-core.el b/lisp/ob-core.el index 6c379c12..a97c0eba 100644 --- a/lisp/ob-core.el +++ b/lisp/ob-core.el @@ -3264,7 +3264,7 @@ constructed like the following: PREFIXDATAhashSUFFIX." (defun org-babel-remove-temporary-stable-directory () "Remove `org-babel-temporary-stable-directory' and on Emacs shutdown." - (when (and (boundp 'org-babel-temporary-stable-directory) + (when (and (bound-and-true-p org-babel-temporary-stable-directory) (file-exists-p org-babel-temporary-stable-directory)) (let ((org-babel-temporary-directory org-babel-temporary-stable-directory)) -- 2.37.0 --=-=-=--