From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id WMiRJdKdVGagWQEAe85BDQ:P1 (envelope-from ) for ; Mon, 27 May 2024 16:50:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id WMiRJdKdVGagWQEAe85BDQ (envelope-from ) for ; Mon, 27 May 2024 16:50:58 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=BgcR7998; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1716821458; 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=mZZPwwKIQCe5NJC2HaKQBPRdXCsykHEpWitFmjSrpdA=; b=LqaSjaXmHKWsoPXzJ4VzT5Xo9/HPbf07oYIteGkGwRfDhqPw05sFLl8U+IrBIo9qcadIKg QTXerp6+x3NDyoNRhIGPtw4XL5xAlD7QEoqDivLcVFAdE/WmCxrPENmCmSXL8LXBXyQ+PC XnpP3O5BaQG9Op7nyB9ncm12Y/dnK/Hi0Y3gJi2G3bvC3HStA0w46R658nh1glRpAE9RQH ZgCo2EqH2yvsFIhq6FtiFwicH/n5IGu8OUAxbSG6FU/MwdYaEB4pIwBumYsOCF2XXNHypM u0vW6zYrsMmkPg0uK2a8PTY5fHt8nS27O5i7fq24DxLvwSHGuPbLlXPEA1a9uw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=BgcR7998; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1716821458; a=rsa-sha256; cv=none; b=IL3wy69zTBuHEwUYdYay2wc7YsUSnAlXDHlO0Dlwq93kCUwwMaGfv6MdK0/hILXgZp8oyc YhpNwzQQtSFDAorhNyoKi3p49IMLMsKaT8bwAIGPL+PREJ3AKkjl9JVyZAnjP3Cf1OJHeG s3jkgAmuJ0E+o5aw1eZHTmmzGKU/qr48VSYqNEzzSN5SM22gIhMMqEptR7I38BXMKeDQCy X/2F14fGZBcUud6kGeYAwGyfrKnReBN45jGyGcIhjuW8j1ebyEqjCLdQugpr89LNiKwC49 MfvA849Aj7sp/i4N9XccBiOWkHxRFMvczeZMduR+MZfwZ6+VKawKIvloiVGi0g== 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 258AF6E08D for ; Mon, 27 May 2024 16:50:58 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sBbfk-0002Mv-Uf; Mon, 27 May 2024 10:50:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sBbfk-0002Mm-2K for emacs-orgmode@gnu.org; Mon, 27 May 2024 10:50:00 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sBbff-0003jx-NM for emacs-orgmode@gnu.org; Mon, 27 May 2024 10:49:59 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 9ABB824002A for ; Mon, 27 May 2024 16:49:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1716821392; bh=tUMw0VwAb2iGMoWYnVA8iqVpCp42ssBrEE2vOkjNUs4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=BgcR7998SAmiWt/ruy58YzzEYevUDYbsxrJ53klZZquOuwhPRe+Wc5kmecry8i+2U L2JDn/hjz7j/zS+qObaer1T2qMtrd4Tpg5DWZiwSSSGdBa0tWVl9lS/W84vEvEAG/a gzVCbudSKPTaWlc2Ql6rvc9dlIyIhQjBW1dnMxyc0tJkBDKOn6SvwOr2xwPBjKGkoV P19fF8RiWNTE9Eeo8McdkIl/ARgHM4DsO31w0vlDWwVi3+PxowTa5JSL/n9ooURclv Kdlfh+NRxvlZ6bSLs5is1mP56f05reGIPENcLueTT0uWhFywgogkKm3eiUl45ucY/M B/Yv7MEEnWtNQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Vnz7z3PXHz6txP; Mon, 27 May 2024 16:49:51 +0200 (CEST) From: Ihor Radchenko To: Psionic K Cc: emacs-orgmode@gnu.org Subject: Re: How should I handle babel configuration of exports & results in Dslide? In-Reply-To: References: Date: Mon, 27 May 2024 14:51:34 +0000 Message-ID: <875xuze2a1.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -8.49 X-Migadu-Queue-Id: 258AF6E08D X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -8.49 X-TUID: V14m1J4jxt31 Psionic K writes: > Because live presentations are a bit different from exporting > documents, I'm not always sure how options should apply. I'm not an > expert on many of these options and am not sure what will feel > consistent for users. > > For context, a user wants :exports results or :exports none to hide > the babel block / results. Issue is here: > https://github.com/positron-solutions/dslide/issues/1 Is their idea > consistent with the expectations and usages elsewhere? In some way, presentation can be viewed as export - if you only display things selectively. So, :exports header argument may indeed be used. Or you can use a custom header argument... > To implement options from the Dslide configuration, how can I > explicitly change babel block behavior from an Elisp program? > What function is best for cleaning up results of a single block? I'm > using `org-babel-remove-result'. Whenever the babel args are :results > replace, I am clearing them on that block both at the start fo the > slide and when going backwards. Should this behavior interact with > :exports? For example, you can use ox-org exporter. Or you can pass PARAMS argument to `org-babel-execute-src-block' to override :results header argument value. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at