From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 CE8yF8Yn/2IvOAAAbAwnHQ (envelope-from ) for ; Fri, 19 Aug 2022 08:03:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id UO9FFsYn/2KqIgEAG6o9tA (envelope-from ) for ; Fri, 19 Aug 2022 08:03:50 +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 14A2535568 for ; Fri, 19 Aug 2022 08:03:50 +0200 (CEST) Received: from localhost ([::1]:55172 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oOv6j-0000Rl-9F for larch@yhetil.org; Fri, 19 Aug 2022 02:03:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36464) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOv4p-0000OQ-3F for emacs-orgmode@gnu.org; Fri, 19 Aug 2022 02:01:51 -0400 Received: from mail-oa1-x2f.google.com ([2001:4860:4864:20::2f]:43596) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oOv4n-0007IS-BW for emacs-orgmode@gnu.org; Fri, 19 Aug 2022 02:01:50 -0400 Received: by mail-oa1-x2f.google.com with SMTP id 586e51a60fabf-11c9af8dd3eso3835215fac.10 for ; Thu, 18 Aug 2022 23:01:48 -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:cc:to :from:from:to:cc; bh=JwVgUgahNqarZnHW2MjFmhvSTfdITEIX+HdlrOUoNWU=; b=PX8RQY5E6DBiD8Bo8u6//UD+Ptxo6PccXUo8bVqSYDf+nlXMlmYpUxudFWyHOxg9nm iRe8EUb4CK4GTyXecaYPHt3fxZO1F8iJFJluVYAt7lnUcii2Y/GU3ZYh7rx7YG0MaIj8 P1sStf+W3eLC7mpixL/qETGAHbHrOp78Q6P7Ve1U2kEJny3eWQGHsLuxz2lokGgJvXun NSRmGCamZ3C2AilTu5LzcPx2ybvFaYbfyRH6JCrfHHn+WkxrGJojYfFIystxrOjPEwjH erqlqaehxOu0WxbAx+nL2bED8eGULS23SzArLHLErtEmrt+DvP0Fycu5Blm8LvlJsKOF ZmMw== 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:cc:to :from:x-gm-message-state:from:to:cc; bh=JwVgUgahNqarZnHW2MjFmhvSTfdITEIX+HdlrOUoNWU=; b=kBHnw+mxchHIQayNAz9q4rYz2otdNYM07S3w4ztHnL/UilQq/kLyP1dXyN9Zl0TeA7 mFaOidfAaC4Au8b4WhcszpR8c/c90E21WoKlxY1MXjpI65YsABJ2MAyC5StDPVFCyQ6i HsLXSKb5KEZkfeBmABXJE0wgW4GLxAmpo/j731z2mX6cmex6433ZYuxF4Nnrk1KSXlg7 YoD44i5afWQHa69jFbJJ5e9Cg6YfCoHwKehQ4G00bUsAsy4Q9HSK182NLoR6VaINPr+v YA6ThYjlkViqHy45BAb4lJ+Yp0MKOvSogsFdUmI45+4jyLPeCfSX390lsS91UvQW7454 8l3g== X-Gm-Message-State: ACgBeo0fc2TU1qYkVyFRB/rQnLdM/rG13giURuca1x03leM6/FKiuGYu QnV8UtV0WCkJ3a6XRS7yrA4= X-Google-Smtp-Source: AA6agR4nOLfy7mC+ZjDiwZ7fq0j6cVgOmBsxQeakvOsyZHVbgVPR5Z8muzrJZeZB7ck4CT6b5NjDsA== X-Received: by 2002:a05:6870:8289:b0:11c:b3ca:6b53 with SMTP id q9-20020a056870828900b0011cb3ca6b53mr1651594oae.18.1660888907061; Thu, 18 Aug 2022 23:01:47 -0700 (PDT) Received: from localhost ([115.154.175.57]) by smtp.gmail.com with ESMTPSA id e21-20020a0568301f3500b006371e46f04dsm943219oth.24.2022.08.18.23.01.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Aug 2022 23:01:46 -0700 (PDT) From: Ihor Radchenko To: "Christopher M. Miles" Cc: "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?) In-Reply-To: <62fd5dc7.050a0220.96139.b7e7SMTPIN_ADDED_BROKEN@mx.google.com> 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> Date: Fri, 19 Aug 2022 14:02:52 +0800 Message-ID: <878rnkpy7n.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2001:4860:4864:20::2f; envelope-from=yantar92@gmail.com; helo=mail-oa1-x2f.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=1660889030; 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=JwVgUgahNqarZnHW2MjFmhvSTfdITEIX+HdlrOUoNWU=; b=dUYuVZcOeAOpXpERH9VtW4xcHW0lL1BFkdx4j2JtFxRREZLZuLA4B5QrBRW/2aRoW30D/1 JSmRGYhmhkPeih0jjd0PJBWg/qOaGeQCgv571OAf27DVzmQxY6aGWk0xm5UvJr3Kiv34ra sOinWPaHk/OLxYwLOr7P9WElFbfdS9HfB17lKxxoBVKrQgsbHPPDO3ZAGVdW9OTsqOZUO+ Rr5vXhrkQSZrZdRjxkfJ0xVYx10DV63nZCE4+SQdEmNTevdF8BVbRiwOHbxK7rdOj6zIcS jSyI5teZ7nrssW8ZL7MAsXmS0u9j/a22Gnc6UZdSnItc/IQFsWD8T4koNRkPMQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660889030; a=rsa-sha256; cv=none; b=DUas7ygDOB9BVF5ZOMFX9O23PQyujQ70WauvGItnpb+rKOR0vg9J7kVhixzVVOm9SK+QO9 njMhEBvbxbwGRFWqJHgRUhfO0zlipTdgUXD4yfcrrTwQm+UJlKQbtCZIpXvn7cgk4qju1B 4fUlm1OZ5KWEsrU5xWvWUo+WwDJrVimKMJfNa7lZ6Y4jD2t2QclFzVxIcA/xeX2ldlD/7o izx9uwn/icnON0/yPVn8Zkt2L3znoQoy4Kpkf0Hm+B7iJNAVmp475FeYVeWaNvuvTIXOQw JQWfbeAoscJPz6GMJzRa4H7PZLjUbda7c5X9dwadoSyI1MJhyw9Q7FfIEuurUQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=PX8RQY5E; 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: -1.85 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=PX8RQY5E; 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: 14A2535568 X-Spam-Score: -1.85 X-Migadu-Scanner: scn1.migadu.com X-TUID: jVYQETVYDNPB "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) 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. -- 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