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 wEoWKi74e2I3GgAAbAwnHQ (envelope-from ) for ; Wed, 11 May 2022 19:53:50 +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 SJbjKS74e2INbQAAauVa8A (envelope-from ) for ; Wed, 11 May 2022 19:53: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 38F4A13CCF for ; Wed, 11 May 2022 19:53:50 +0200 (CEST) Received: from localhost ([::1]:51360 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1noqWz-0001ij-95 for larch@yhetil.org; Wed, 11 May 2022 13:53:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59768) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1noqUd-0001eL-Mb for emacs-orgmode@gnu.org; Wed, 11 May 2022 13:51:23 -0400 Received: from mail-pj1-x1031.google.com ([2607:f8b0:4864:20::1031]:42771) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1noqUb-0004cR-K3 for emacs-orgmode@gnu.org; Wed, 11 May 2022 13:51:23 -0400 Received: by mail-pj1-x1031.google.com with SMTP id l11-20020a17090a49cb00b001d923a9ca99so2737774pjm.1 for ; Wed, 11 May 2022 10:51:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=berkeley-edu.20210112.gappssmtp.com; s=20210112; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=y9E9n0E9btom8eREk4t9er/zSRLyPtjJLCgMdei0Wks=; b=Z2rdi0262PL3xM7xq8+bjP3vqVqdfmBrdjYXiePLqzMbi4CQogLboUY4n9NpAZwfYh E/hAohXvp86JdIy90CFxIYoTMi0B6tcvfUDJuM31YCGnp7RJcGxMK2kJOavftkOxhJsL XpfYaFCuHyWNVHws+j0xIQ39KctWyC35dLqnrYMbG6f4AlrGuBGUMAsbiVbKP5KN7omp JolZBdrX8WqpPqUoWE7pACj3VhNhVPdQE4OvKTkPjHz46IcJljn1N9jYyM60uC0hCyg4 C1ypiNXd2J0aTxb9Dfu0OYkfKZhbQEan9HECZe61fXCjLLB/pW1aqIpIdOtYu7RcZ2kz 894w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=y9E9n0E9btom8eREk4t9er/zSRLyPtjJLCgMdei0Wks=; b=HV3S/4yuhqaW5yRNiEGW+WzpZ5eFb36dNaWgVVU88mo7kkcNuYMRffFGwJ0hGr2lmC PGu65lROEMSeHSg0L1R4p8ekQTUj1SFlfkjIVcYRlNQTCOranImnGy3dQsnXZPy6kQX/ L1BIWNBMl1QJ5DIQ0u3cnVkyTfe4CFY0bDl/Nmzf6eKfjTbUucs+lKIYE12ZSWNNkYHb gMk8mvqniba2ryfnxwOfwVSZLhQYhybicgrT0ZOTcSlnZZoLIRm7Yqbwvw81nDobG3Rl wVDf0ccw7f/+3HhM5kKAntoTadt7lKUFVZ98agvVScsVmHq+5FDzkruFwpyCsLCfTAN0 P8/A== X-Gm-Message-State: AOAM533gSDZV3nCvy8I1OxnLC51C3qVfyGPoa6M4ogeTgujtqqkTld7X /6n5x2NWV4MkKoQb6GJgoKg/fui9POTGDw== X-Google-Smtp-Source: ABdhPJyMfvGtJ6oQasyNr+M1IJIW5SR19pdz6sR5MKeKfV94UzQVsq6MGhJWp2p4ecvuzufoElxh/w== X-Received: by 2002:a17:90a:c908:b0:1dd:1c2e:b1f7 with SMTP id v8-20020a17090ac90800b001dd1c2eb1f7mr6604779pjt.198.1652291478338; Wed, 11 May 2022 10:51:18 -0700 (PDT) Received: from smtpclient.apple (157-131-222-176.fiber.dynamic.sonic.net. [157.131.222.176]) by smtp.gmail.com with ESMTPSA id cp2-20020a170902e78200b0015e8d4eb1dcsm2217496plb.38.2022.05.11.10.51.17 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 May 2022 10:51:17 -0700 (PDT) From: Richard Stanton Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.80.82.1.1\)) Subject: Re: How to stop results being hidden when using ":results drawer"? Date: Wed, 11 May 2022 10:51:16 -0700 References: <21F026ED-1504-4F33-B596-769CD294AC4A@berkeley.edu> To: orgmode In-Reply-To: <21F026ED-1504-4F33-B596-769CD294AC4A@berkeley.edu> Message-Id: <8C3532B6-1AAB-40B9-B640-0C22804A30F0@berkeley.edu> X-Mailer: Apple Mail (2.3696.80.82.1.1) Received-SPF: pass client-ip=2607:f8b0:4864:20::1031; envelope-from=rhstanton@berkeley.edu; helo=mail-pj1-x1031.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, 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=1652291630; 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:dkim-signature; bh=y9E9n0E9btom8eREk4t9er/zSRLyPtjJLCgMdei0Wks=; b=XnuglP9AXu77SKME0tYg//1ohXUPfVEXmRwpTv7kk4wmjUd/ncf+UVjEXnnz84jP5Wdb9h dl1w8bEEk/ZddNbuT0MZibzoQ7qNA3/7WE8I6zTimz4OB1zL1WmoJruPpclAvbjcg8QBWA Je0ntLGEp9xbxAg4RnUHBI5IIOnm7MwkYrtXFEoq7heKFfsFScezgsKZZQPl6gxkW4WZdn flu5XhOB+YyAmI1Wzxvn/mykGs3GTr/WFZ9pHiMMXj01kp+94baAg55OfReF49XkRu3EUV 51RdknhV5zc5krCOSFv0wEPFNOv924Xz2UxG9OFsCTzApobg1lIxrappSHMlmw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652291630; a=rsa-sha256; cv=none; b=YHtLLfhfNlFrByoHZ5GdCaUwEZUZZIpHkhYulUGnEIZiANxnIyvSJAH9dRj5UiiM/nUTf9 sZt3n6zVfKhJ1Ac47hxU5Tren6ihJL0mqPFSkUilJyB2e0mzgFlscOVkBHwwb/rptpS6VP 4hHKlPXEz14yRtjLjtABqr1iLO0tTHl0ZtIKquTvCfZQMXU4YLeTqWrnN1SfQ327tEOk9t Ig8uG0cxkj02kXUdVp3FR74Gebd+dW0aLkYFctzTnYRcbKlL5DtCxLi10pCtGNq6gnQeQm If0EjHeAJZh4GER4/E2T7/enwysw2+LU0MQ4RFJIGctH1fXjnL7eSyqD6yplqA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b=Z2rdi026; dmarc=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.81 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b=Z2rdi026; dmarc=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: 38F4A13CCF X-Spam-Score: -3.81 X-Migadu-Scanner: scn0.migadu.com X-TUID: UrbVCPC07jC9 I see that the same question was asked by John Kitchin in 2016. The = accepted answer back then was either to put #+STARTUP: showeverything at the top of the org file or to use (setq org-startup-folded = "showeverything=E2=80=9D). I don=E2=80=99t know if something has changed in org since then, but = neither of these seems to work for me at the moment. All of my :results: = drawers start out and remain hidden until I click on them and press TAB. > On May 11, 2022, at 9:52 AM, Richard Stanton = wrote: >=20 > I=E2=80=99m creating documents where I run Python code blocks that = create LaTeX mathematical output that I want to be able to export to = either LaTeX/PDF or HTML.=20 >=20 > Using :wrap in the header works fine, except that LaTeX complains = about the unknown environment =E2=80=9Cresults=E2=80=9D (it still = compiles the file to PDF fine). >=20 > Using :wrap export latex works fine for LaTeX export, but I can=E2=80=99= t get HTML that way. >=20 > The recommended method seems to be to use :results drawer. This works = fine from an export perspective to both LaTeX/PDF and to HTML. However, = it has one significant drawback when I=E2=80=99m actually creating the = document: the results drawer starts out hidden and to see what=E2=80=99s = there I have to click on it. This makes debugging the code in the first = place a lot less convenient. >=20 > Is there a way to use :results drawer and have the results NOT hidden = by default? >=20 > Thanks for any suggestions! >=20 > Richard Stanton >=20 >=20