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 +ONaGal5jmGyGwAAgWs5BA (envelope-from ) for ; Fri, 12 Nov 2021 15:26:49 +0100 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 YFQYFal5jmEoTgAA1q6Kng (envelope-from ) for ; Fri, 12 Nov 2021 14:26:49 +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 2838EB749 for ; Fri, 12 Nov 2021 15:26:49 +0100 (CET) Received: from localhost ([::1]:56776 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlXVw-0005va-BN for larch@yhetil.org; Fri, 12 Nov 2021 09:26:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48468) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlXVT-0005vH-Rj for emacs-orgmode@gnu.org; Fri, 12 Nov 2021 09:26:19 -0500 Received: from ciao.gmane.io ([116.202.254.214]:47238) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlXVS-0001Tf-3J for emacs-orgmode@gnu.org; Fri, 12 Nov 2021 09:26:19 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mlXVQ-00051L-OB for emacs-orgmode@gnu.org; Fri, 12 Nov 2021 15:26:16 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Max Nikulin Subject: Re: execute src block during export (Re: Worg HTML export problem?) Date: Fri, 12 Nov 2021 21:26:06 +0700 Message-ID: References: <87r1brk2j2.fsf@tsdye.online> <87mtmbk8kq.fsf@tsdye.online> <87lf1uk3m3.fsf@tsdye.online> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 In-Reply-To: <87lf1uk3m3.fsf@tsdye.online> Content-Language: en-US Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -5 X-Spam_score: -0.6 X-Spam_bar: / X-Spam_report: (-0.6 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.248, NICE_REPLY_A=-3.449, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636727209; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=aRZMKVq5kYRGlj3fDAXMuOClXAD/s06wGjK3bsg6P40=; b=KOjGbbome5DOU+ZtG2AT9qCMW3sDGWPjEgVNUhKpdXQ2IaAoMV6/JkXSbZQIf5rk3sqeqC RYpzkYcmE78PQEv+/WUGWI3AlCR5SHau3VxijZAat3Y4GpnYGHbzuAITV/urIpBtqcBNn9 0bFy45U6uHtrGys6QV5OMQCN/j321lXBwolRPib1WFwu6BQPLOcWn8c9KTXHSrAbWITB6Z 46axc/pwxK7Mn3Mq5lgFza55fGPp+eMCWQXp4+4hj+ASnJPLqdoS1XT2kQcN/Kto9AwSP8 p6eEib9J+Jdvj4njDw1rNfrqQHrkO0GnG8wLJpm2w/htY02WDzzu6hgbCRF0CA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636727209; a=rsa-sha256; cv=none; b=dJaTWZV7sgw+tLy/EMeS9BTXsHoNtZVauK91CRbAnZm0d6oc9gKfvmX1DVRISCLpUyGhxS MLhnTy5j6Er84rAzWpJyzf0gLTm6KxQMxTa5rH6ssg4T+6MVXqyGVfft4s3372x3E23uNV lu+NwepYTcII9L46uqxLXd8rS7n+KbqdolCiccD2OABmlitT//geeB9gCXE29vX3KxOFDw +m5GFnNfA6Bqhz6gWGW79grga0y4ENeWXf8DoGHH/RL1synqShkIJaX9tEBXJ2VrMJuIO4 WbpNheOciZAtPc7bV4GJR0Bux1qmYg0aG2eGsddcVQ+jKt9WrMo5F2X8J/MPDQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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: -2.33 Authentication-Results: aspmx1.migadu.com; dkim=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: 2838EB749 X-Spam-Score: -2.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: sm/edBvTnItG On 12/11/2021 00:24, Thomas S. Dye wrote: > > The original problem is likely due to the default header arguments in > ob-org.el, which are unusual. It is great that the problem is solved. I do not think however that something inside ob-org.el may affect processing of a file before this package is loaded. > If I export both, then all is well. > > #+begin_src emacs-lisp :results value none :exports both >  (org-babel-do-load-languages >   'org-babel-load-languages >   '((org . t))) > #+end_src I feel that I have missed something. I do not see the purpose to include this source block in user docs. I expect that for accidental usage it is more convenient to type (require 'ob-org), while as a permanent settings it is possible to do customize-variable org-babel-load-languages or to use `add-to-list'.