From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 uOEpD1wafGIxUAEAbAwnHQ (envelope-from ) for ; Wed, 11 May 2022 22:19:40 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id OH81DlwafGLulQAAG6o9tA (envelope-from ) for ; Wed, 11 May 2022 22:19:40 +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 230423FF11 for ; Wed, 11 May 2022 22:19:39 +0200 (CEST) Received: from localhost ([::1]:58772 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1noso5-0000Bi-M0 for larch@yhetil.org; Wed, 11 May 2022 16:19:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60378) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nosmv-00083v-9d for emacs-orgmode@gnu.org; Wed, 11 May 2022 16:18:25 -0400 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]:37413) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nosmt-0000hM-5o for emacs-orgmode@gnu.org; Wed, 11 May 2022 16:18:25 -0400 Received: by mail-ed1-x531.google.com with SMTP id k27so3871999edk.4 for ; Wed, 11 May 2022 13:18:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=andrew.cmu.edu; s=google-2021; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JK7Ms22ezRO12zTpBHtCypiNp0F6onnX9MFwpjLODbQ=; b=CT1ipRU8u0l6Rg8ITsOjORsxBd4iIQ4oX0Itj4m35VYEq2EGlizgsGG8C3yS0WbRnd amrh76W+q+gCTn5M+vjA/b+GvhKG2VM18/usyYac8ThQ1xnybGUV/lJEj3yK+Z4QeyKJ SjRdhO4X9H5ufGFhyM62cD6iB3Y82TpgAFAAw5SDnIQ9S8Azs+DabuSkQ7374JHHs8Y1 qvpVtK6FbWlWV+rPGGmmZfhgtsSzGVB+AeCyWJ/SP8xssn7BvgnMmphmTQVJ0mNyYuq4 GWJtQFsW/c6exu5nxh2GxvzW7Pv5kxQ+KVqaM8kDAjfF8JFgZkfi8gD0nxM3jON/VGc0 1JoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JK7Ms22ezRO12zTpBHtCypiNp0F6onnX9MFwpjLODbQ=; b=DKK7r0fDC3SYs2ilthgcZeaMF0GAglWJ/cIsvcuHSrsfxi+jlV9gEJbq2Sj19S6DaO D9Uu1anx7fmvCeX7joBGwVAxpjA9xHMzacUcBsU+jN3nU6IBJ9xhPCAOABJ59tefhwEm wN1P6tXO53ihXVy4ZwuzS8xRMs6HyKeorFloZz11es3DReqUvLIOPDNDjf2u7WdEKxG7 R1pvcEZNeNrOwP8VvnCe1sJDxGnnKPr4PZTd3xpypQCsE0qF+u0GGv+bC6GYvy8nkjoT bJFHa2HeNv2bCQGyl1QrAROOZ+XSzrU8tHeSnLG3Klfd2Hj2hYkovO5UCl2lEldUY/pX N9hg== X-Gm-Message-State: AOAM532IL8EAUfmR2wNWS1VRExxPQId9tWpwUIfPuJQUFKc8X2qyIxT+ iYm8E9GGXapwHAbpbRHVuv2Mqx+vlOfOUIOs4/k= X-Google-Smtp-Source: ABdhPJx2WFrF/z0k/a9HFPF6md5tZzBUw2euq1yL6lvCBzEguarBE47Et6lnanmVaW0cIRWxuPLTK56T/c8inr5IUzU= X-Received: by 2002:a05:6402:5242:b0:427:cade:4737 with SMTP id t2-20020a056402524200b00427cade4737mr31371505edd.398.1652300301118; Wed, 11 May 2022 13:18:21 -0700 (PDT) MIME-Version: 1.0 References: <21F026ED-1504-4F33-B596-769CD294AC4A@berkeley.edu> <8C3532B6-1AAB-40B9-B640-0C22804A30F0@berkeley.edu> <6A4F12EC-0E11-476B-A6AD-B11133A12441@berkeley.edu> In-Reply-To: <6A4F12EC-0E11-476B-A6AD-B11133A12441@berkeley.edu> From: John Kitchin Date: Wed, 11 May 2022 16:18:09 -0400 Message-ID: Subject: Re: How to stop results being hidden when using ":results drawer"? To: Richard Stanton Cc: orgmode Content-Type: multipart/alternative; boundary="00000000000082b25205dec224eb" Received-SPF: pass client-ip=2a00:1450:4864:20::531; envelope-from=johnrkitchin@gmail.com; helo=mail-ed1-x531.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=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=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-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=1652300380; 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=JK7Ms22ezRO12zTpBHtCypiNp0F6onnX9MFwpjLODbQ=; b=BfaUGPM8QsqojxAC5YAXKkca/ETH6HWmNM1yoaD3K6nu5TuiZ28muqxJ68GbsTr5wqcUa6 xa/1lMQq5cMz9Rr1IWRLrTLJcW4Xh3HQQjrhVjTDgVTSb4WX9XDHzBHoPNdss2dss8OXxT eZuVEs7bCNB9fjFixU1LKtlRxhK3/iw2rMgL4xoaXshnOy4XwrtbH08ArhdDPmpwsMJbEU 3COM9f975H4Mg3lJZpj3p/iaYnjKMEhR2vZUQyOOBidWm+gBwKvMJrP5mfY4v7FjaSiojP gf7dMAPc0tz/FcpZsBGYZYSN/SoKsPawHNx2GtkYzv5zWMXRXcta1NXZx/y5tg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652300380; a=rsa-sha256; cv=none; b=ju6C07lPIbiHVJWswkEkeC+oj5J4ogkPaEq4k/FXvGOygaoiW5eOaxH58qOLVJWPl/gGLN mQi8Ed/I9M3a75u0VT0qK0LHkl48am1YjLcGNsok5pu8/PamLQQdvGD8J628zzkaamAjHb aHfF7ki6eTAcIo5yUk+xLkkX37az5uwpGzgPnArKdiRY6CU+MR36l+9Ujtto/28wIT/jzN XRud1OwOqqyHwuycBSlYE7xb3Rehu4mKh8UPMhXcFo08JkQlQGa6eWj2TrebDFaHS9vI24 4aimsr/RYJxnBuxxVXPz1Nf3wfBbwJYwnucIApXE1MoHbF+Alm9wZRkQEFFX7Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=andrew.cmu.edu header.s=google-2021 header.b=CT1ipRU8; dmarc=pass (policy=none) header.from=andrew.cmu.edu; 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: -8.31 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=andrew.cmu.edu header.s=google-2021 header.b=CT1ipRU8; dmarc=pass (policy=none) header.from=andrew.cmu.edu; 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: 230423FF11 X-Spam-Score: -8.31 X-Migadu-Scanner: scn0.migadu.com X-TUID: ezVjaT8Zctox --00000000000082b25205dec224eb Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable hm. what is xenops doing? That isn't a package I use, but my results drawers are also closed when opening a file. John ----------------------------------- Professor John Kitchin (he/him/his) Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu On Wed, May 11, 2022 at 4:16 PM Richard Stanton wrote: > 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: > > > > 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 ne= ither of > these seems to work for me at the moment. All of my :results: drawers sta= rt > out and remain hidden until I click on them and press TAB. > > > > > >> On May 11, 2022, at 9:52 AM, Richard Stanton > wrote: > >> > >> I=E2=80=99m creating documents where I run Python code blocks that cre= ate LaTeX > mathematical output that I want to be able to export to either LaTeX/PDF = or > HTML. > >> > >> Using :wrap in the header works fine, except that LaTeX complains abou= t > the unknown environment =E2=80=9Cresults=E2=80=9D (it still compiles the = file to PDF fine). > >> > >> Using :wrap export latex works fine for LaTeX export, but I can=E2=80= =99t get > HTML that way. > >> > >> 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, i= t > has one significant drawback when I=E2=80=99m actually creating the docum= ent: the > results drawer starts out hidden and to see what=E2=80=99s there I have t= o click on > it. This makes debugging the code in the first place a lot less convenien= t. > >> > >> Is there a way to use :results drawer and have the results NOT hidden > by default? > >> > >> Thanks for any suggestions! > >> > >> Richard Stanton > >> > >> > > > > > --00000000000082b25205dec224eb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
hm. what is xenops doing? That isn't a package I use, = but my results drawers are also closed when opening a file.

John

-------= ----------------------------
Professor John Kitchin (he/him/his)
Dohe= rty Hall A207F
Department of Chemical Engineering
Carnegie Mellon Uni= versity
Pittsburgh, PA 15213
412-268-7803
=

On Wed, May 11, 2022 at 4:16 PM Richard Stanton <rhstanton@berkeley.edu> wrote:
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 gr= eat job of almost-real-time previewing of LaTeX equations, figure and table= s.


> On May 11, 2022, at 10:51 AM, Richard Stanton <rhstanton@berkeley.edu> wrot= e:
>
> I see that the same question was asked by John Kitchin in 2016. The ac= cepted answer back then was either to put
>
> #+STARTUP: showeverything
>
> at the top of the org file or to use (setq org-startup-folded "sh= oweverything=E2=80=9D).
>
> I don=E2=80=99t know if something has changed in org since then, but n= either of these seems to work for me at the moment. All of my :results: dra= wers start out and remain hidden until I click on them and press TAB.
>
>
>> On May 11, 2022, at 9:52 AM, Richard Stanton <rhstanton@berkeley.edu> w= rote:
>>
>> 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 eithe= r LaTeX/PDF or HTML.
>>
>> 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).
>>
>> Using :wrap export latex works fine for LaTeX export, but I can=E2= =80=99t get HTML that way.
>>
>> The recommended method seems to be to use :results drawer. This wo= rks 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 doc= ument: 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.
>>
>> Is there a way to use :results drawer and have the results NOT hid= den by default?
>>
>> Thanks for any suggestions!
>>
>> Richard Stanton
>>
>>
>


--00000000000082b25205dec224eb--