From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2AjyDr1SfmKYDgEAbAwnHQ (envelope-from ) for ; Fri, 13 May 2022 14:44:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id wN3kDr1SfmJmSQAAauVa8A (envelope-from ) for ; Fri, 13 May 2022 14:44:45 +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 BCB9532661 for ; Fri, 13 May 2022 14:44:44 +0200 (CEST) Received: from localhost ([::1]:42644 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1npUex-0002x6-SL for larch@yhetil.org; Fri, 13 May 2022 08:44:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npU8F-0001Gc-8Z for emacs-orgmode@gnu.org; Fri, 13 May 2022 08:10:56 -0400 Received: from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036]:42770) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1npU7u-0004TE-7w for emacs-orgmode@gnu.org; Fri, 13 May 2022 08:10:50 -0400 Received: by mail-pj1-x1036.google.com with SMTP id l11-20020a17090a49cb00b001d923a9ca99so7621648pjm.1 for ; Fri, 13 May 2022 05:10:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=hZ0T6XEEmzrzkEc641YF0USct5rKJ/1mw/Zsn2YS05I=; b=lRy+T8gSQnvYV+vxTNiJQBEbF3aJIgA32gTAD2FWAR26nx4ldMWrfJW43Aes81F+qK h+n6jWAfgpGMF+RtMmqPu7d6memZw0+HcEa42HuaYq5LRgNlvnpAW64iFPZhpJPc2eN7 hEMnOacn2x3RPacw1w2KE5rgE/VKzfiaF/sfKkYO67E+fdQ0sP74Tz5UZ1a9BW3Jy2AC fqgEqKFtS1skOAk/jlXT8s0WggAFd200J68mHorwDyidygZwxNwIHCNFU2UzOPIKXk4R wYUR3RG8g3cpFXkO3GMmteS/FlxYWSrEjAstgjSd5RfFOIS6OrLmMmsfFy9wtfI4AcI7 vkyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=hZ0T6XEEmzrzkEc641YF0USct5rKJ/1mw/Zsn2YS05I=; b=WWQRuMgC/Bt51qpmb4TtWK2rjssCJ95cxc5LSjtG0e6IHMs0CxloaaoAX9HuMZO6Mb Q2+hOIjEMNu35ifzvAkYldzCm9f8zRe2POSPa3Gyby2RdQ3FF66OqtKPLBjeQMXVOISP +a3kgIV0sXcU6xqprrPjAoP2hzsDV3Sa2ZY42UyZwvyAg+EwAnomJEksS47PLiAkFWbQ yac1EMJjg0+0Kcma9jUYorSyM7r56BJV67QyGK+qiEkIDdlMffVv2Yi7dKj3XS8PhKJj ATd1bHN0GpU8wEJsH33i+uTIUwwrwx/f+EVH3xkQJEmqr12HUbk8dlVyt4oKwQZTyZd7 o49w== X-Gm-Message-State: AOAM530Ic/x92rMnoVMpRQ0SyBjyTZiGS4CKdrxHHFK0vIphB4PeD0T9 lz0h866+PLi8D/nMOFQ8hNg= X-Google-Smtp-Source: ABdhPJw2gAWqKi/6lavvQvHdbvUsyWI+yFsdkNCl/ZP5yiWq5PtPoA2fx3t+m48rITna35AYY/AXSA== X-Received: by 2002:a17:90a:d913:b0:1dd:2739:881c with SMTP id c19-20020a17090ad91300b001dd2739881cmr15868407pjv.207.1652443832782; Fri, 13 May 2022 05:10:32 -0700 (PDT) Received: from localhost ([37.120.210.2]) by smtp.gmail.com with ESMTPSA id s13-20020a170903214d00b0015e8d4eb256sm1641755ple.160.2022.05.13.05.10.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 05:10:31 -0700 (PDT) From: Ihor Radchenko To: John Kitchin Cc: Richard Stanton , emacs-orgmode@gnu.org Subject: Re: How to stop results being hidden when using ":results drawer"? In-Reply-To: References: <21F026ED-1504-4F33-B596-769CD294AC4A@berkeley.edu> <877d6rhxcf.fsf@localhost> Date: Fri, 13 May 2022 20:11:15 +0800 Message-ID: <8735hdr5ss.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1036; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1036.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, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=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=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=1652445884; 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=hZ0T6XEEmzrzkEc641YF0USct5rKJ/1mw/Zsn2YS05I=; b=bQmelqVpfPZbRejCSPLBdpzNbtmLLwkfAzyVbDn9og7/9F23PjDG0+u5hlJvLjU6g3c8Dd 6OtnNjv9WMbSjN3/uG1Xe4wDxOr1xUGz0KXQkvHUBZXDR2UKvJi0zxtZnPAvffy4e8XfyO D+kkbqCQqZfN0/FuqL2WnrZXOdUgYhenz2J9MrSmS+2Av2Os2etsyzN4Vn2G5nKuQofC4H Y/N429mfclyXE7BmvuntAvF07CN9hCnTWqXoDl2ArU4HjrGzmmA32EGmPtfN+oDmBNRzdn u+1pqWMCVDrxAdeGYQZoJnly9LhFigHofrMaMIHdvkxYMtq0EYt9hUhUKANlWg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652445884; a=rsa-sha256; cv=none; b=mta2uMKp4VwAIrQA0LhgqwR9EWdHnQZzlLtPtaBxU+Ssfj2OXc7X++Fe9zJT+FjzkgoRWB +dkKaEMb5mhK3LVq/Wq9amXZYX1D1SE9+GdfnaaG4uPxE64Xt1kQyWG9nBJ3jLchoqDVcQ Hp21SNnhp3xkq4+8lKsf3agqOL7DBTivBNStCA7xdCE8hlzh8S77Xm3iSvygXdCTalT0sc qT5F5lzGZ9AWsraYYLix4hLnfFE4PHhSF9quYlWFVDgiKEXlW8K53io95+Aw6fJ4lLW8SL IjSbk5IzLedyPaec0FQgzzKJE4vYg9Xrp/xiEo1yZ0VgiEAA697hipnkXReqeg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=lRy+T8gS; dmarc=pass (policy=none) header.from=gmail.com; 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: -2.52 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=lRy+T8gS; dmarc=pass (policy=none) header.from=gmail.com; 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: BCB9532661 X-Spam-Score: -2.52 X-Migadu-Scanner: scn1.migadu.com X-TUID: a6sWBxet3Iio John Kitchin writes: > This does not change anything for me. > > The function that causes folding for me is `org-entry-show'. Presumably > because of this line: (org-cycle-hide-drawers 'children) > > My solution was an override advice that makes this function not run when > point is in a src-block > (https://github.com/jkitchin/scimax/blob/master/scimax-jupyter.el#L281). Could you elaborate? I am not sure how `org-entry-show' has anything to do with hiding results. I tried the following Org file with latest Org main (after (require 'ob-python)): * test heading #+begin_src python :results drawer output print(1+2) #+end_src #+RESULTS: :results: 3 :end: The drawer does not get hidden. Best, Ihor