From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 GNFPIeaIPWOE1wAAbAwnHQ (envelope-from ) for ; Wed, 05 Oct 2022 15:38:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id Zu4vIeaIPWN2JQEAauVa8A (envelope-from ) for ; Wed, 05 Oct 2022 15:38:46 +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 2BE58398B1 for ; Wed, 5 Oct 2022 15:38:46 +0200 (CEST) Received: from localhost ([::1]:38750 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1og4bk-0007Oy-Mu for larch@yhetil.org; Wed, 05 Oct 2022 09:38:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33910) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1og4LC-0005gX-UO for emacs-orgmode@gnu.org; Wed, 05 Oct 2022 09:21:46 -0400 Received: from mail.hostpark.net ([212.243.197.30]:47116) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1og4L6-00019s-Ap for emacs-orgmode@gnu.org; Wed, 05 Oct 2022 09:21:34 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.hostpark.net (Postfix) with ESMTP id 1053F168E3 for ; Wed, 5 Oct 2022 15:21:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bernoul.li; h= content-transfer-encoding:mime-version:references:in-reply-to :x-mailer:message-id:date:date:subject:subject:from:from :received:received; s=sel2011a; t=1664976085; bh=ioM9Lx9go4aDTh6 c/f9Oz/KSvV/A1b4ASxvdR09hAiI=; b=iLVR2tmWJTH90caAba5B3Uy9g3tF/ZB oTpD2ZqR/v5Cwbeu7kmzCtGwTWO/Ur3YoGl+FY/JcjVOxA15JdjEjLOrAxavXcXs UuN2tJCTFV1iAuXePzIpjtPOdZ7llilE7yvBmL7NhxQzGRF1r8K6lvagYmBXrQZK lXP1F95qupsc= X-Virus-Scanned: by Hostpark/NetZone Mailprotection at hostpark.net Received: from mail.hostpark.net ([127.0.0.1]) by localhost (mail1.hostpark.net [127.0.0.1]) (amavisd-new, port 10224) with ESMTP id SwC1iUAr-_Vb for ; Wed, 5 Oct 2022 15:21:25 +0200 (CEST) Received: from customer (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.hostpark.net (Postfix) with ESMTPSA id D251D162BF for ; Wed, 5 Oct 2022 15:21:25 +0200 (CEST) From: Jonas Bernoulli To: emacs-orgmode@gnu.org Subject: [PATCH 0/1] Allow returning empty list from post-processing block Date: Wed, 5 Oct 2022 15:21:21 +0200 Message-Id: <20221005132122.19212-1-jonas@bernoul.li> X-Mailer: git-send-email 2.37.3 In-Reply-To: <874jwkwb4c.fsf@localhost> References: <874jwkwb4c.fsf@localhost> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=212.243.197.30; envelope-from=jonas@bernoul.li; helo=mail.hostpark.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=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=1664977126; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: 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=C1vw9fCE2XnbyZKNfhDj89jzn+emBe6sz+q0C0NcQpI=; b=PHeLHixoMOl1cWGRbazgNZYAM9Fk6mij0b55fStB64nzcuUBAfMwLBfHy+ku3RLwZ31bLu BKSuag5PiPAaCjbUG9Hb9AluQhnKccvpi10gKGMMod/Tsob5FOFnuLeyHti8Nn/zwBDJVW PAxcXF3w96/pMfdLmO+GzZP879ZPvk4WItonOMTb96RNUVE0zuFNNXw8H2/NP6IYsTC0cD Veb1AkY1jrWhpTCMEQi31DboFKRYoQe3HdRfv2Nw3WXPLq0PJz/WH8LxULFCEm8G4Mpkhl qrcI1gHADVWFXf/AHSumMELk/+Cr4EfhSX/ycK+rVYaRmao2iI8qzJQZzOMSNA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664977126; a=rsa-sha256; cv=none; b=Llecg4FGeHEHyb+Bg9/xxdT9smTr1409XWRe56P7qb3lBNGpSSbBeq/CT4fz3H2y5MmmPG 6GLhcQmsVL0Rjd38y5sa4GHG4RD3CdhFIC+VFFblsARbFr+fAexNIALBvNafGfcTTEd7Xh O7tRP9ZKWdAsANfyDtcvYB/zW8EpqUCHth39YdOW3bGWlhAhpez14vpZWgfWAIs2/Fcl5Z jNtx8eF1qIbgN9n3qAPPGsT+8qxiS/Ro7kvYn5+ePHSfcMqFa7lBRxCVunP8UpU2PDo0k8 7gvH4mYe7NZgqMdFF62PqpnIZGTa1nJGxe9bB10klRGCckeVVOJK0jTFaKO3OQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=bernoul.li header.s=sel2011a header.b=iLVR2tmW; 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: -1.96 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=bernoul.li header.s=sel2011a header.b=iLVR2tmW; 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: 2BE58398B1 X-Spam-Score: -1.96 X-Migadu-Scanner: scn1.migadu.com X-TUID: iTvfF5Sfpdg/ Here's my patch, including a test and a news entry. I didn't know where to put the test so I just put it at the beginning. It should probably be moved. Jonas Bernoulli (1): Allow returning empty list from post-processing block etc/ORG-NEWS | 6 ++++++ lisp/ob-ref.el | 2 +- testing/lisp/test-ob.el | 24 ++++++++++++++++++++++++ 3 files changed, 31 insertions(+), 1 deletion(-) -- 2.37.3