From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 mFzhH32mP2PzQQEAbAwnHQ (envelope-from ) for ; Fri, 07 Oct 2022 06:09:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id cE8NH32mP2MQLgEAG6o9tA (envelope-from ) for ; Fri, 07 Oct 2022 06:09:33 +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 29DEEA146 for ; Fri, 7 Oct 2022 06:09:33 +0200 (CEST) Received: from localhost ([::1]:55942 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ogeg0-0003ZB-Cf for larch@yhetil.org; Fri, 07 Oct 2022 00:09:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47018) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogefE-0003Xi-65 for emacs-orgmode@gnu.org; Fri, 07 Oct 2022 00:08:44 -0400 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]:42928) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ogefC-0007M3-CJ for emacs-orgmode@gnu.org; Fri, 07 Oct 2022 00:08:43 -0400 Received: by mail-pj1-x102f.google.com with SMTP id l1-20020a17090a72c100b0020a6949a66aso3658811pjk.1 for ; Thu, 06 Oct 2022 21:08:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date; bh=z3hG0n4Bo+XIpcYsqWRoJ9p2i+BifE5ATOPdA+OigSY=; b=AfHcxi56quXwEDcrd84DI23veTH6pI6YSr+EDHC818RYiVmQ5+yiFDB0o+m8KB2n3r dk1x/K0U5QoNk57BspB1aNxIhTGaochNAo2X7qlYZg1nsprhq9pUvjCyVbzOjaGmtUVt lXzFOtf/SwJgSjU9FwJCCPm9/DzhZgxTTCQyWxrqFihqSyMHsBqoADo64nJ/GUAB+jXO JAjb8USgwSPv73uT5kOvbZcaOErKsZkdsDNSdvpFKTIF0S5LBQn+qiJepFW8l96cQcMD DMPY1V+PvZJE9Rz8KoOpAqZn/6TfC/JBrTu7Jx12XXe1+YuEbNUZdS3kmm0w3EY8Q7pJ FTjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date; bh=z3hG0n4Bo+XIpcYsqWRoJ9p2i+BifE5ATOPdA+OigSY=; b=f6S/bRrH0QuXIy7hefJ0Bi+WDbX+w6SxkjF46gfAsBTjV7Eo/L0An6+HY7nDoxdFRs M3KQQE6CfHJ52q5qeDl/3d0B2gMgSqf2zRtNYZej9f1DhgnoNKfaZ2V1MidvIHqxttG9 weAfrowVQMUgJWML6ZE1t/xWZa7bx1ywzALW2Sq5+a+/gFev4+RtzubOXGZWaj57tDfM MK6KnAqzyfwVXXGlD6vu4Ezcx2de2xLGvy5h4xgy7NMmHGCOj4lFuyrELESge1JQTxBF TTbzPmezv70FtwT2VyYhs+VBVkr67nh7n9RX4YK2lK2917ChnrrSUjCx5CPZ9WMvqRdo sKZA== X-Gm-Message-State: ACrzQf2hFq6ObNh330uIFtp1D+p7zausEx01t+4G+hnGCe9iIRXvgLqB uA3pO7PeEcEB4UzD3MpHhdECBZbwftUHFFOi X-Google-Smtp-Source: AMsMyM7vD+cJp0GRbTXT5FtqwpVhGiMxs952JdECGdKcGbUgz7yPy8lERr2STsgJ7O1fEhRZ27afRQ== X-Received: by 2002:a17:902:e5c9:b0:178:5a6f:6eb8 with SMTP id u9-20020a170902e5c900b001785a6f6eb8mr3252701plf.42.1665115720458; Thu, 06 Oct 2022 21:08:40 -0700 (PDT) Received: from localhost ([2409:8970:af2:32f:6c23:3ad5:f37d:541b]) by smtp.gmail.com with ESMTPSA id u9-20020a17090341c900b0017f7bef8cfasm403856ple.281.2022.10.06.21.08.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 21:08:39 -0700 (PDT) From: Ihor Radchenko To: Jonas Bernoulli Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH v1] Allow returning empty list from post-processing block In-Reply-To: <20221006111106.22089-1-jonas@bernoul.li> References: <875ygx7id9.fsf@localhost> <20221006111106.22089-1-jonas@bernoul.li> Date: Fri, 07 Oct 2022 12:09:31 +0800 Message-ID: <878rls1dhg.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::102f; envelope-from=yantar92@gmail.com; helo=mail-pj1-x102f.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665115773; 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=z3hG0n4Bo+XIpcYsqWRoJ9p2i+BifE5ATOPdA+OigSY=; b=fYMrsBVhj5mAsxZm5K/BAyFPDjWmqqVeMGRqb7lir0O6J+KbXdwpY3g1Kml1wg42i4lAFd pk5c/H/6FmyN2pi/ZuThI9kROVXAdMFoDRFbdkcQ/W0Ku0eefsvMjjj54ypZppM526C8Nn qtxDkaw6lyOBgEqybJrrR/21sL9Hq21L5a/TmaQ3b9xraWLLHvfwoRTSGLJCZeATCHfS15 VivGmGyE3F3/nmr8GkUeit1bE/ervwPw1T8jZuU/Ea7ngioTCVdfsRXEpu3UWrGifG/yvO b6Oqhf1ttzVdmPIFFrVlrkBQVsZuqCfUeI/tCB9KqURbtblG3D1WOmDmNZ0vnw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665115773; a=rsa-sha256; cv=none; b=CBGCBwAlGtC94RDNbBejb8BZOp0bcTLSOqkvKjJkSqybzAHf/sZ7wlUzEA1hkoOBagEA5o 1Vo7xEewbFWYGbTD5JORIcpo7HD1x7j4jQFvN/4LcslPONiWHHt9J45g+SHODdh8ixV5XR aAW0+lUE6h9jJFIsDAbf5r/SCAbUybd8qqrk++zJagM9q7gU0QEto9BZEy3qNu9mIM9LHm q8M2+sCfRtOw1nvBKGCDbe1jglgu+Ti7S620179O83pk3V7tkdS1kshDCFTJAvXki/eE/h oBDJlTr0Mel/7ubRcj9C/1UPNCOcyQtApAx6T7ZFMgolD3HRie87NSXxVyfdFA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=AfHcxi56; 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: -1.87 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=AfHcxi56; 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: 29DEEA146 X-Spam-Score: -1.87 X-Migadu-Scanner: scn1.migadu.com X-TUID: qtr7TU/Nj8j/ Jonas Bernoulli writes: > * lisp/ob-ref.el (org-babel-ref-resolve): When the result an empty > list, then treat it as a list, not as the symbol nil. > * testing/lisp/test-ob.el (test-ob/post-header-arguments): Add new > test. > * etc/ORG-NEWS (Post-processing code blocks can return an empty list): > Document change in behavior. Applied onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=9b690462a319e4268f15949bba0fe024dca77182 Thanks! -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at