From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 sMKVBtI+fWLNrgAAbAwnHQ (envelope-from ) for ; Thu, 12 May 2022 19:07:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id eH9/BtI+fWLt+gAAauVa8A (envelope-from ) for ; Thu, 12 May 2022 19:07:30 +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 921919242 for ; Thu, 12 May 2022 19:07:29 +0200 (CEST) Received: from localhost ([::1]:45696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1npCHf-0005XZ-Si for larch@yhetil.org; Thu, 12 May 2022 13:07:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59268) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npCEb-0005Vz-AG for emacs-orgmode@gnu.org; Thu, 12 May 2022 13:04:17 -0400 Received: from mail-pg1-x530.google.com ([2607:f8b0:4864:20::530]:44722) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1npCEX-00019s-SG for emacs-orgmode@gnu.org; Thu, 12 May 2022 13:04:16 -0400 Received: by mail-pg1-x530.google.com with SMTP id v10so5130494pgl.11 for ; Thu, 12 May 2022 10:04:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=berkeley-edu.20210112.gappssmtp.com; s=20210112; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=PpC+wTg2KMRVEiJGXSY8SKcJGh6A0WUMAsfei1u8dgU=; b=YszOXLXgsReUMJ0yRrcCy+3/tLmOx51jaNQC5JOMhwQBF79l+D1aO6our2i73vKBqV gHBE4p+I1rVmdT4Za0pR+t8qzUSZSYm4n1BRbfsnO0eysCyjFzQjaa4ZnGEagvDM34w9 ir8GofKN5WiduoNyaYWIInUBV9G8VtPl/p69Aqwmn0Y2q+fEep0FtD25tG8LqxnqfKAA ugkIYyf8GWtLifye51QUr1dlZLTa+yOSTGSCQHE11s1a+otRhEaNpwGyMmt0/5JLjc8c nnlZZTewWGrpZAEXsCJj5tsSpVFYgxPkMkUPDTJ9iVbcZvUGqjTnbL7z/icQBLQUwPPj l2jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=PpC+wTg2KMRVEiJGXSY8SKcJGh6A0WUMAsfei1u8dgU=; b=CqzcO6KSCwdVnKoBQ9askc/inYT1ZHNw8Ae/rlpSqTQx3wFuC+5IBmnMZ1d3tv/gkh tl3RtvnTRRcz8Ct3+r/d8qc6DF1r+3P2fr5oVIegLHdp9CBFi4m9lhix26efvLWqkyAS AYE4IKd+w8TNhdqNWRUCIFjlLLU99pIfwYN36yVcdLJ24DKvmqZIV0V3OsEUINj81qvL Ofs+j765OG6fgO+bZQVDQnF4epGiOgObunF03sqqXPIgGt4yMfqn1u3K4wo85aFRUcOc jbXKaBjU9J4AWt9/mAGjM+/QJ92Hai8A9qkig8LnonzA7t7l+sgs5pQWuUucjkPDsGkO UNlg== X-Gm-Message-State: AOAM533dp/cX7qXHcwkuaY0OBL9HU/VlOTseGeNp5PB3BD60NExK+ULs sqvWPDtZ1F8bl83jQg2dP/WtpKUcKtXLOw== X-Google-Smtp-Source: ABdhPJyzKv1aEb+fDWhkvEyDN+ZQqdCSYA/rZ+jDzt3NncG90r+lMs0RTaFy04Akoh1kt2FZ0xtXJQ== X-Received: by 2002:a63:8bca:0:b0:3c6:21ac:26f4 with SMTP id j193-20020a638bca000000b003c621ac26f4mr506166pge.540.1652375051006; Thu, 12 May 2022 10:04:11 -0700 (PDT) Received: from smtpclient.apple (mortgage.haas.berkeley.edu. [128.32.75.82]) by smtp.gmail.com with ESMTPSA id a9-20020a62bd09000000b0050dc762818csm74331pff.102.2022.05.12.10.04.09 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 May 2022 10:04:09 -0700 (PDT) Content-Type: text/plain; charset=utf-8 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"? From: "Richard H. Stanton" In-Reply-To: <877d6rhxcf.fsf@localhost> Date: Thu, 12 May 2022 10:04:08 -0700 Cc: orgmode Content-Transfer-Encoding: quoted-printable Message-Id: <9D0BF38C-01A1-4359-B529-7F6EAFC01D47@berkeley.edu> References: <21F026ED-1504-4F33-B596-769CD294AC4A@berkeley.edu> <877d6rhxcf.fsf@localhost> To: Ihor Radchenko X-Mailer: Apple Mail (2.3696.80.82.1.1) Received-SPF: pass client-ip=2607:f8b0:4864:20::530; envelope-from=rhstanton@berkeley.edu; helo=mail-pg1-x530.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=1652375249; 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: 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=PpC+wTg2KMRVEiJGXSY8SKcJGh6A0WUMAsfei1u8dgU=; b=DFGO4FI+I5mL+eA0ASThOVtZxOT+mJBeIR8vSsbjXsuo5vMKyj5IkiS0w1fcPpnbW/3LxD /MUDHVocQ3anabOvUtL+7Xuz7uVFLcsiokz+ZnKZJ8UYZUaxVL+U91yoemrPeCzNXmf4JN yNVwQDFVgPC9HCBN2VwMLI0Gxr6xrX/zpV8otHYicZjtCUcmZ17l4WZYEeEiqBn2yqKvEa IztTsiuco/OkDb+Dyg6OCqTEE5HZFgmo6Ahm5wOJgnht9BD671+dpxu014xJx7hPYzG/H+ HxtUdcZuq0RNxuUCLx1r5VEYG+xUAnPWMCrKuwT/a8cu49yBwd8Gt/8C4GMT9A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652375249; a=rsa-sha256; cv=none; b=DZazzsXbeR3VOMDAqa+Yg5Jj9ypuHX/IkR1UYx9gcPgLwjG69ciF/qsEmagA7eFdvgIk97 yLG7x+rA2Od6mVmsYJMUi291H8NesRgpUQlsLyLBPZnwRHf+4OI2tGOEkhtzx2JOg3l2Go 5rmseUVPY7xBGHOg3SBXcWmqmp6/1AjOTqdjtvpOudO1fcaQ7urBPpg1QVeKRA2/5OzUgl 1zSve54jaMJ6lYlMjEcssz4dvQ90yaXzk5/tzaOKp0Wwi4z9lR6uIG5F4OJiqtMOrVU7UI qH/7GMbf00h9wm3OBLwEWPYempK4SgCPFKAk3iQejycHhSNmLFcylpEKfpOB7Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b=YszOXLXg; 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=YszOXLXg; 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: 921919242 X-Spam-Score: -4.31 X-Migadu-Scanner: scn0.migadu.com X-TUID: dipVrl9X/lYz >> 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 > I think that you are experiencing the same issue with > https://list.orgmode.org/80k0ar1lml.fsf@felesatra.moe/T/#u >=20 > Does it help when you run > M-: (setq org-fold-core-first-unfold-functionsp nil) > before running the code block? >=20 > Best, > Ihor Thanks for the suggestion, Ihor, but like John, this doesn=E2=80=99t = solve my problem. For now, I'm using :wrap flushleft, which allows = exporting to both LaTeX and HTML without errors, allows xenops to = preview my LaTeX output, and doesn=E2=80=99t have any hiding issues. = I=E2=80=99ve also reported the issue to the author of xenops.