From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 cFHdHyKK/2Kw8AAAbAwnHQ (envelope-from ) for ; Fri, 19 Aug 2022 15:03:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GOyVHyKK/2JgBgAAauVa8A (envelope-from ) for ; Fri, 19 Aug 2022 15:03:30 +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 2355E2DA00 for ; Fri, 19 Aug 2022 15:03:30 +0200 (CEST) Received: from localhost ([::1]:48768 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oP1er-0003aM-5H for larch@yhetil.org; Fri, 19 Aug 2022 09:03:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33774) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oP1cF-0003ZH-P4 for emacs-orgmode@gnu.org; Fri, 19 Aug 2022 09:00:51 -0400 Received: from [2409:8a28:603f:af40:52d2:f5ff:fe16:c591] (port=60594 helo=Mac-mini.local) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oP1cB-0005lw-Gf for emacs-orgmode@gnu.org; Fri, 19 Aug 2022 09:00:46 -0400 Received: by Mac-mini.local (Postfix, from userid 501) id A8E795F6E52B; Fri, 19 Aug 2022 21:00:34 +0800 (CST) References: <87pmhag3ua.fsf@ucl.ac.uk> <87y1vy1yyz.fsf@ucl.ac.uk> <87iln14mlz.fsf@localhost> <87bkstzigt.fsf@ucl.ac.uk> <87fsi4efqr.fsf@localhost> <87ilmsqrjv.fsf@ucl.ac.uk> <87mtc41fzt.fsf@localhost> <87k078w4tu.fsf@ucl.ac.uk> <62fc0be2.050a0220.306c1.e3baSMTPIN_ADDED_BROKEN@mx.google.com> <8735dv19li.fsf@localhost> <62fd5dc7.050a0220.96139.b7e7SMTPIN_ADDED_BROKEN@mx.google.com> <878rnkpy7n.fsf@localhost> User-agent: mu4e 1.8.6; emacs 28.1 From: "Christopher M. Miles" To: Ihor Radchenko Cc: "Christopher M. Miles" , "Fraga, Eric" , Bill Burdick , emacs-orgmode@gnu.org Subject: Re: Show a warning/message when loading Org modules requiring external packages (was: :session for Julia in org babel?) Date: Fri, 19 Aug 2022 20:58:50 +0800 In-reply-to: <878rnkpy7n.fsf@localhost> Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2409:8a28:603f:af40:52d2:f5ff:fe16:c591 (deferred) Received-SPF: softfail client-ip=2409:8a28:603f:af40:52d2:f5ff:fe16:c591; envelope-from=numbchild@gmail.com; helo=Mac-mini.local X-Spam_score_int: 25 X-Spam_score: 2.5 X-Spam_bar: ++ X-Spam_report: (2.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FROM=0.001, MSGID_MULTIPLE_AT=1, NML_ADSP_CUSTOM_MED=0.9, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, SPOOFED_FREEMAIL_NO_RDNS=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: , Reply-To: numbchild@gmail.com 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=1660914210; h=from:from:sender:sender:reply-to: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; bh=lptczCVQQh2NRA5htEUkFL69OvL+IWqr+uuOZWyzYkI=; b=GHfNNuvxDSWBpAZAZHu7Xr/V/b/IC706j8yrKe+TnHVu0xzA81z0mPRYMvcGnEgd9QnBHd zlg0bFU30vyy3T6G0+EkOno9custEQYrEHweG0L96QDsX+Hbv7d49pC8QPb/9eh2DGfYos MSArKRbPsld0bD4RFG0JzVCO+WaW+FIAL7B5Ptqan/YMgtC1rpQYNKHudlcs1C64UoSGIx 2o/3UYB8KTRleXPaIgPLSpesMVKVYpesIFI3pFi1UrFzTrnn8HTaxwOriiXykDXfYOacn9 BRuloK5qq0RAarSQMdzrprIqInHTfbEkuUkaq1Vk9tH7kKx9OXO+8xDOnXdXBQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660914210; a=rsa-sha256; cv=none; b=a2ZdwAQRO+y8DmnXhefaq4kYEgr+pruXNoqUbqvlw4JfizMzt1lYt4LK10s0JFZD0tvpTO PcHn8FeQj2C6HnGIYBnukR4dmtRnZwKKOkQjLKVWHmCE8syJzRDEVMHFWed76eJC6G4ajU yIg0l5ui2hwFqo/FRPC9hlGhNDJNV1Aqtc/KPusAT9i6Fcpk+WWFLNOefyvh5f8wJZCChR 8nR302CDEpua7owwhntixRc3VqRCcG3clYy8kBsz24UkS4BfDBWhacKSiNQ7rQo3iSKrtx B+21BMwoGCdkOdHJ2Cdknb3dziUcNLYIlApIb8mzjhkqmvZ5sF7fKZIbsvwxag== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); 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.25 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); 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: 2355E2DA00 X-Spam-Score: 3.25 X-Migadu-Scanner: scn1.migadu.com X-TUID: XB2EDRRufuZ/ --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> I found ~org-load-modules-maybe~ load modules from ~org-modules~, it's a >> list of ob-* or ol-* elisp modules. Not Julia modules. I searched >> ~org-load-modules-maybe~ function invocation code in org-mode source >> code, have not relative examples. Don't know how to use >> ~org-load-modules-maybe~ to detect whether Julia modules exist and raise >> helpful warning message. > > That was what I was actually referring to. ob-julia also requires two > Elisp packages: julia-mode and ESS > (https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-julia.html) Oh, I misunderstand your meaning. > Now I see that you were referring to the actual Julia packages. Those > may be caught by Julia session code (org-babel-prep-session:julia) and > then a warning may be displayed. Yes, that's what I mean. Well, if ob-julia session can display warning. That's fine. I have not realized that scene. =2D-=20 [ stardiviner ] I try to make every word tell the meaning that I want to express without mi= sunderstanding. Blog: https://stardiviner.github.io/ IRC(libera.chat, freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAmL/iXIACgkQG13xyVro msMDfQf/RRLOihY9xVp/T5VefCooSGptgYskYZsRqZTFjIBB1ibZTtYfEEN/MbEY MYt2pJsLxQMJIQikfpFZSCqC0mN4KHz/eHgpP8msTxPpj6nIATZWBfFf7rxpW2Py mEiJu41O5I+D3Au9fIXr6R+263O0jEQaGwD9JBR7Ttw6xWZKHFgNokV0vnKU2CY3 aWL8xExT2khMeR78wX8jNuHnR3+rJZC7BLwzMaeL4ER8i4gBs6/AV7C+MTv4LHaT FB0hpcuP0F+jEU9D5tEliKlF1rqPAZAoWn7xnP1ieNGQDqqiDvg/b0RXhRbBfGvS r8gqpW93JAO6ZRzOuyOc+2aAxZh1/w== =/fll -----END PGP SIGNATURE----- --=-=-=--