From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2NzPB68ZfGLfZAAAbAwnHQ (envelope-from ) for ; Wed, 11 May 2022 22:16:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id cFPGB68ZfGLVYAEA9RJhRA (envelope-from ) for ; Wed, 11 May 2022 22:16:47 +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 C760D3FCBB for ; Wed, 11 May 2022 22:16:45 +0200 (CEST) Received: from localhost ([::1]:53982 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1noslI-0005A5-IY for larch@yhetil.org; Wed, 11 May 2022 16:16:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59618) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nosjH-00058Z-Lu for emacs-orgmode@gnu.org; Wed, 11 May 2022 16:14:41 -0400 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]:39571) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nosjF-0008Mh-H6 for emacs-orgmode@gnu.org; Wed, 11 May 2022 16:14:39 -0400 Received: by mail-pl1-x62c.google.com with SMTP id x18so2936165plg.6 for ; Wed, 11 May 2022 13:14:36 -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=HAGYiDUtNFB4k+ytFvHFCXvrD0IkvQvATliTLYtwJAI=; b=A3WImQkYGEcZe5x7kg17I53N914yMfCmlnyuflgq+hlPONchXDXoDKGgbBOEnogQyH s1fQAApGn6NOICb+eNouD8I1lkZdmpFq0C+E3P/c3Kl3sdZ1rTSsTxkFKBPqYx3pVViS aoiJ+5aMnKKmCXM6+7NiCwghuNWNzjQ0IC9w44xEw6Uf4cGzJ2msEuMIjzV3LgEk7Qyp 8v71sRakjatq2Gj8zhG4ksY+YGtfXM/TxghgnckwvFvkyUKF/yOhmV66V0PWNp+ZgCG4 8KZ62Ld2fYgZ/APkGM+9sMWvAEXKuTSTMCPoAtDChu2VPSD+bW3csK5vs/LVAp01ww7l zeXg== 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=HAGYiDUtNFB4k+ytFvHFCXvrD0IkvQvATliTLYtwJAI=; b=0n9h4g/10/yCr+XresB7orBuhwmZXWdco2ac4aS8EG9IN6B7NKXs1TzhD0YdhWG5Qj H4q01DLhM9A9Mv2N0u9T9G6B5GOngnAs4uuy4xHIeEbYu+QaZCuJ8/ay5+cuOUnOVqEq JdzI1DHGNosmy7lJTAaD61zmDuV3YntlnWEjH1fCzxpCcuMAT0DuOrsU2R2gYEs+h6fj UZcd+aTVvJ6Z5sPY7i9uDuZ27Zi+blI0htiFsWC/in2flD2TB2eUad8kHK+BP0VnWYOi n4BCh0PWcg7fltnLEd6VyXbadP/afbNGHK9Y0dO94u7MPmTtmipWsREkR2UdAm/CAo2m Kffg== X-Gm-Message-State: AOAM532PY3jdgFXi0KDDaXGmbDUfU8n+8PrbjZZM15sdqR65z5CbD58W PVEK6q03mtNKTO9TxmpIC3JQoehJed5bgg== X-Google-Smtp-Source: ABdhPJwDyHpcbQ9CUayQNUPjnnUwBSQ+0h96WtPhE8gMBrK8PXEO82uJUOCihKT2Mh3Nth/cFLbyoA== X-Received: by 2002:a17:90b:180d:b0:1dc:6c19:afd3 with SMTP id lw13-20020a17090b180d00b001dc6c19afd3mr7166131pjb.84.1652300074516; Wed, 11 May 2022 13:14:34 -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 z5-20020a656645000000b003c14af5060fsm284655pgv.39.2022.05.11.13.14.33 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 May 2022 13:14:33 -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 13:14:33 -0700 References: <21F026ED-1504-4F33-B596-769CD294AC4A@berkeley.edu> <8C3532B6-1AAB-40B9-B640-0C22804A30F0@berkeley.edu> To: orgmode In-Reply-To: <8C3532B6-1AAB-40B9-B640-0C22804A30F0@berkeley.edu> Message-Id: <6A4F12EC-0E11-476B-A6AD-B11133A12441@berkeley.edu> X-Mailer: Apple Mail (2.3696.80.82.1.1) Received-SPF: pass client-ip=2607:f8b0:4864:20::62c; envelope-from=rhstanton@berkeley.edu; helo=mail-pl1-x62c.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=1652300206; 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=HAGYiDUtNFB4k+ytFvHFCXvrD0IkvQvATliTLYtwJAI=; b=PUq2lfXmukSvRKRDFLzsmbOzErQ3phvmLHzhBq8726nT8KXFRYIxwrQnwoVXR/wpCdtImy WEA74hmC9OT3HKF5czDfWEpFYUJVy+/vDXtTYPDaAFNhLYwgQeOgCKhnJOBPsD7ZUVGbG7 murQvsogTBURogZWNlW3Yx8Y/8t0RgpOsg3x/2puljJ4MPxwGOj9CFtRGXgxnSFJtkwl5L C6BlalI5GPrdLZBl0FHIZwCiy9dC2vYO3kZW9A2Rnhkf/+TBPkHfked/dGVuv01+GHbwJf Y4C/gxddxuWaqIMa2piyCKnGtoJr+CAr068z6X5bCO7fF7lMHmi0C/QHJBrjZw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652300206; a=rsa-sha256; cv=none; b=M5bN4qLxhh9xSrH8qqC+N03AUWIeBs1ic5Z/My+UMhbTLS6xWzmXWISO2XHuIXScfxQDje nMiq799gHAclphrR7XxX7Vb/dVg994vVhjqZ7Gy80x7UefOYFao9G/b4OUyL5DTQUxAAeF VsWnC+teRrRrS7LBIu+SyevM6WjaJd+QvDkCW/ViTPHDCCWbcv5duMj6Jx0Ee5zAwu2GWr 0ZWGtC1FBwufBtozXp49zC1p6IwfEHL3gre9FRBEJiNrgwH+Tny9l5k79YN+5bPWFN4Wsm CgjLU4pbppCCk4myl6Lj5Xi4LnFzAegjPrm1ojfH3PQ2Q78uk3Xs+O28gOL88Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b=A3WImQkY; 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: -4.31 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b=A3WImQkY; 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: C760D3FCBB X-Spam-Score: -4.31 X-Migadu-Scanner: scn0.migadu.com X-TUID: SApG3XKG4GKS It works fine when I use emacs -Q, so I did some hunting around and = discovered that it=E2=80=99s a bad interaction with the xenops package. = A shame, as this package does a great job of almost-real-time previewing = of LaTeX equations, figure and tables. > On May 11, 2022, at 10:51 AM, Richard Stanton = wrote: >=20 > I see that the same question was asked by John Kitchin in 2016. The = accepted answer back then was either to put >=20 > #+STARTUP: showeverything >=20 > at the top of the org file or to use (setq org-startup-folded = "showeverything=E2=80=9D). >=20 > 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. >=20 >=20 >> 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 >=20